2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for log4cplus 1.0.4.
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
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || 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.
568 PACKAGE_NAME
='log4cplus'
569 PACKAGE_TARNAME
='log4cplus'
570 PACKAGE_VERSION
='1.0.4'
571 PACKAGE_STRING
='log4cplus 1.0.4'
575 ac_unique_file
="src/logger.cxx"
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>
612 ac_subst_vars
='am__EXEEXT_FALSE
649 WINSOCK_SOCKETS_FALSE
678 INSTALL_STRIP_PROGRAM
732 program_transform_name
745 enable_option_checking
749 enable_dependency_tracking
759 ac_precious_vars
='build_alias
777 # Initialize some variables set by options.
779 ac_init_version
=false
780 ac_unrecognized_opts
=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
791 program_transform_name
=s
,x
,x
,
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir
='${exec_prefix}/bin'
806 sbindir
='${exec_prefix}/sbin'
807 libexecdir
='${exec_prefix}/libexec'
808 datarootdir
='${prefix}/share'
809 datadir
='${datarootdir}'
810 sysconfdir
='${prefix}/etc'
811 sharedstatedir
='${prefix}/com'
812 localstatedir
='${prefix}/var'
813 includedir
='${prefix}/include'
814 oldincludedir
='/usr/include'
815 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
816 infodir
='${datarootdir}/info'
821 libdir
='${exec_prefix}/lib'
822 localedir
='${datarootdir}/locale'
823 mandir
='${datarootdir}/man'
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\
$ac_option
837 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
850 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
853 -build |
--build |
--buil |
--bui |
--bu)
854 ac_prev
=build_alias
;;
855 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
859 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
860 ac_prev
=cache_file
;;
861 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
862 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir |
--datadir |
--datadi |
--datad)
870 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
874 |
--dataroo |
--dataro |
--datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
877 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* |
--disable-*)
881 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
884 as_fn_error $?
"invalid feature name: $ac_useropt"
885 ac_useropt_orig
=$ac_useropt
886 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep
=', ';;
894 eval enable_
$ac_useropt=no
;;
896 -docdir |
--docdir |
--docdi |
--doc |
--do)
898 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
901 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
903 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
906 -enable-* |
--enable-*)
907 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
910 as_fn_error $?
"invalid feature name: $ac_useropt"
911 ac_useropt_orig
=$ac_useropt
912 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep
=', ';;
920 eval enable_
$ac_useropt=\
$ac_optarg ;;
922 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
923 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
924 |
--exec |
--exe |
--ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
927 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
928 |
--exec=* |
--exe=* |
--ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas |
--gas |
--ga |
--g)
932 # Obsolete; use --with-gas.
935 -help |
--help |
--hel |
--he |
-h)
937 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
940 ac_init_help
=short
;;
942 -host |
--host |
--hos |
--ho)
943 ac_prev
=host_alias
;;
944 -host=* |
--host=* |
--hos=* |
--ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
949 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir |
--includedir |
--includedi |
--included |
--include \
954 |
--includ |
--inclu |
--incl |
--inc)
955 ac_prev
=includedir
;;
956 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
957 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
962 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir |
--libdir |
--libdi |
--libd)
967 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
970 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
971 |
--libexe |
--libex |
--libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
974 |
--libexe=* |
--libex=* |
--libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir |
--localedir |
--localedi |
--localed |
--locale)
979 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
983 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
986 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
991 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
995 # Obsolete; use --without-fp.
998 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
999 |
--no-cr |
--no-c |
-n)
1002 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1003 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1006 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1007 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1008 |
--oldin |
--oldi |
--old |
--ol |
--o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1011 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1012 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1017 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1021 |
--program-pre |
--program-pr |
--program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1024 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1028 |
--program-suf |
--program-su |
--program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1031 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name |
--program-transform-name \
1035 |
--program-transform-nam |
--program-transform-na \
1036 |
--program-transform-n |
--program-transform- \
1037 |
--program-transform |
--program-transfor \
1038 |
--program-transfo |
--program-transf \
1039 |
--program-trans |
--program-tran \
1040 |
--progr-tra |
--program-tr |
--program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* |
--program-transform-name=* \
1043 |
--program-transform-nam=* |
--program-transform-na=* \
1044 |
--program-transform-n=* |
--program-transform-=* \
1045 |
--program-transform=* |
--program-transfor=* \
1046 |
--program-transfo=* |
--program-transf=* \
1047 |
--program-trans=* |
--program-tran=* \
1048 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1053 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1058 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1062 |
-silent |
--silent |
--silen |
--sile |
--sil)
1065 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1067 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1072 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1073 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1077 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1078 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site |
--site |
--sit)
1084 -site=* |
--site=* |
--sit=*)
1087 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1089 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1093 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1096 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1100 ac_prev
=target_alias
;;
1101 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1107 -version |
--version |
--versio |
--versi |
--vers |
-V)
1108 ac_init_version
=: ;;
1111 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1114 as_fn_error $?
"invalid package name: $ac_useropt"
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval with_
$ac_useropt=\
$ac_optarg ;;
1126 -without-* |
--without-*)
1127 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 as_fn_error $?
"invalid package name: $ac_useropt"
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=no
;;
1143 # Obsolete; use --with-x.
1146 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1147 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1148 ac_prev
=x_includes
;;
1149 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1150 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1151 x_includes
=$ac_optarg ;;
1153 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1154 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1155 ac_prev
=x_libraries
;;
1156 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1157 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1158 x_libraries
=$ac_optarg ;;
1160 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1165 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1169 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\
$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1185 if test -n "$ac_prev"; then
1186 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error $?
"missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val
=\$
$ac_var
1205 # Remove trailing slashes.
1208 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\
$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$
]* | ?
:[\\/]* ) continue;;
1214 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1216 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target
=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x
; then
1228 if test "x$build_alias" = x
; then
1229 cross_compiling
=maybe
1230 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1231 If a cross compiler is detected then cross compile mode will be used" >&2
1232 elif test "x$build_alias" != "x$host_alias"; then
1238 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1240 test "$silent" = yes && exec 6>/dev
/null
1243 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di
=`ls -di .` &&
1245 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1246 as_fn_error $?
"working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248 as_fn_error $?
"pwd does not report name of working directory"
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253 ac_srcdir_defaulted
=yes
1254 # Try the directory containing this script, then the parent directory.
1255 ac_confdir
=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257 X"$as_myself" : 'X\(//\)[^/]' \| \
1258 X"$as_myself" : 'X\(//\)$' \| \
1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1283 ac_srcdir_defaulted
=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1287 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1289 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1301 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1303 for ac_var
in $ac_precious_vars; do
1304 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1306 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1307 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314 # Omit some internal or obsolete options to make the list less imposing.
1315 # This message is too long to be a string in the A/UX 3.1 sh.
1317 \`configure' configures log4cplus 1.0.4 to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE. See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1327 -h, --help display this help and exit
1328 --help=short display options specific to this package
1329 --help=recursive display the short help of all the included packages
1330 -V, --version display version information and exit
1331 -q, --quiet, --silent do not print \`checking ...' messages
1332 --cache-file=FILE cache test results in FILE [disabled]
1333 -C, --config-cache alias for \`--cache-file=config.cache'
1334 -n, --no-create do not create output files
1335 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338 --prefix=PREFIX install architecture-independent files in PREFIX
1339 [$ac_default_prefix]
1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351 --bindir=DIR user executables [EPREFIX/bin]
1352 --sbindir=DIR system admin executables [EPREFIX/sbin]
1353 --libexecdir=DIR program executables [EPREFIX/libexec]
1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root [DATAROOTDIR/doc/log4cplus]
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1375 --program-prefix=PREFIX prepend PREFIX to installed program names
1376 --program-suffix=SUFFIX append SUFFIX to installed program names
1377 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1380 --build=BUILD configure
for building on BUILD
[guessed
]
1381 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1382 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1386 if test -n "$ac_init_help"; then
1387 case $ac_init_help in
1388 short | recursive
) echo "Configuration of log4cplus 1.0.4:";;
1393 --disable-option-checking ignore unrecognized
--enable/--with options
1394 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1395 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1396 --enable-debugging Turns off optimization and adds switches that
1397 generate debugging information.
1398 --enable-warnings Use compiler warnings option
, e.g.
-Wall. Enabled by
1400 --disable-dependency-tracking speeds up one-time build
1401 --enable-dependency-tracking do not reject slow dependency extractors
1402 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1403 --enable-static[=PKGS
] build static libraries
[default
=yes]
1404 --enable-fast-install[=PKGS
]
1405 optimize
for fast installation
[default
=yes]
1406 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1407 --enable-threads=yes
/no Use this option to create a singled-threaded version
1411 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1412 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1413 --with-working-locale Use std
::locale
for char-
>wchar_t conversion.
1414 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1416 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1418 Some influential environment variables
:
1419 CXX C
++ compiler
command
1420 CXXFLAGS C
++ compiler flags
1421 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1422 nonstandard directory
<lib dir
>
1423 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1424 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1425 you have headers
in a nonstandard directory
<include dir
>
1426 CXXCPP C
++ preprocessor
1427 CC C compiler
command
1428 CFLAGS C compiler flags
1431 Use these variables to override the choices made by
`configure' or to help
1432 it to find libraries and programs with nonstandard names/locations.
1434 Report bugs to the package provider.
1439 if test "$ac_init_help" = "recursive"; then
1440 # If there are subdirs, report their specific --help.
1441 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1442 test -d "$ac_dir" ||
1443 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1448 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1451 # A ".." for each directory in $ac_dir_suffix.
1452 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1453 case $ac_top_builddir_sub in
1454 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1455 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1458 ac_abs_top_builddir=$ac_pwd
1459 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1460 # for backward compatibility:
1461 ac_top_builddir=$ac_top_build_prefix
1464 .) # We are building in place.
1466 ac_top_srcdir=$ac_top_builddir_sub
1467 ac_abs_top_srcdir=$ac_pwd ;;
1468 [\\/]* | ?:[\\/]* ) # Absolute name.
1469 ac_srcdir=$srcdir$ac_dir_suffix;
1470 ac_top_srcdir=$srcdir
1471 ac_abs_top_srcdir=$srcdir ;;
1473 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1474 ac_top_srcdir=$ac_top_build_prefix$srcdir
1475 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1477 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1479 cd "$ac_dir" || { ac_status=$?; continue; }
1480 # Check for guested configure.
1481 if test -f "$ac_srcdir/configure.gnu"; then
1483 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1484 elif test -f "$ac_srcdir/configure"; then
1486 $SHELL "$ac_srcdir/configure" --help=recursive
1488 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1490 cd "$ac_pwd" || { ac_status=$?; break; }
1494 test -n "$ac_init_help" && exit $ac_status
1495 if $ac_init_version; then
1497 log4cplus configure 1.0.4
1498 generated by GNU Autoconf 2.68
1500 Copyright (C) 2010 Free Software Foundation, Inc.
1501 This configure script is free software; the Free Software Foundation
1502 gives unlimited permission to copy, distribute and modify it.
1507 ## ------------------------ ##
1508 ## Autoconf initialization. ##
1509 ## ------------------------ ##
1511 # ac_fn_cxx_try_compile LINENO
1512 # ----------------------------
1513 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1514 ac_fn_cxx_try_compile ()
1516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1517 rm -f conftest.$ac_objext
1518 if { { ac_try="$ac_compile"
1520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1521 *) ac_try_echo
=$ac_try;;
1523 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1524 $as_echo "$ac_try_echo"; } >&5
1525 (eval "$ac_compile") 2>conftest.err
1527 if test -s conftest.err
; then
1528 grep -v '^ *+' conftest.err
>conftest.er1
1529 cat conftest.er1
>&5
1530 mv -f conftest.er1 conftest.err
1532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1533 test $ac_status = 0; } && {
1534 test -z "$ac_cxx_werror_flag" ||
1535 test ! -s conftest.err
1536 } && test -s conftest.
$ac_objext; then :
1539 $as_echo "$as_me: failed program was:" >&5
1540 sed 's/^/| /' conftest.
$ac_ext >&5
1544 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1545 as_fn_set_status
$ac_retval
1547 } # ac_fn_cxx_try_compile
1549 # ac_fn_cxx_try_cpp LINENO
1550 # ------------------------
1551 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1552 ac_fn_cxx_try_cpp
()
1554 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1555 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } > conftest.i && {
1571 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1572 test ! -s conftest.err
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582 as_fn_set_status $ac_retval
1584 } # ac_fn_cxx_try_cpp
1586 # ac_fn_c_try_compile LINENO
1587 # --------------------------
1588 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1589 ac_fn_c_try_compile ()
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 rm -f conftest.$ac_objext
1593 if { { ac_try="$ac_compile"
1595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1596 *) ac_try_echo
=$ac_try;;
1598 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599 $as_echo "$ac_try_echo"; } >&5
1600 (eval "$ac_compile") 2>conftest.err
1602 if test -s conftest.err
; then
1603 grep -v '^ *+' conftest.err
>conftest.er1
1604 cat conftest.er1
>&5
1605 mv -f conftest.er1 conftest.err
1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608 test $ac_status = 0; } && {
1609 test -z "$ac_c_werror_flag" ||
1610 test ! -s conftest.err
1611 } && test -s conftest.
$ac_objext; then :
1614 $as_echo "$as_me: failed program was:" >&5
1615 sed 's/^/| /' conftest.
$ac_ext >&5
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620 as_fn_set_status
$ac_retval
1622 } # ac_fn_c_try_compile
1624 # ac_fn_c_try_link LINENO
1625 # -----------------------
1626 # Try to link conftest.$ac_ext, and return whether this succeeded.
1629 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1630 rm -f conftest.
$ac_objext conftest
$ac_exeext
1631 if { { ac_try
="$ac_link"
1633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_link") 2>conftest.err
1640 if test -s conftest.err; then
1641 grep -v '^ *+' conftest.err >conftest.er1
1642 cat conftest.er1 >&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } && {
1647 test -z "$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1649 } && test -s conftest$ac_exeext && {
1650 test "$cross_compiling" = yes ||
1651 $as_test_x conftest$ac_exeext
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1660 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1661 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1662 # interfere with the next link command; also delete a directory that is
1663 # left behind by Apple's compiler. We do this before executing the actions.
1664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 as_fn_set_status $ac_retval
1668 } # ac_fn_c_try_link
1670 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1671 # -------------------------------------------------------
1672 # Tests whether HEADER exists and can be compiled using the include files in
1673 # INCLUDES, setting the cache variable VAR accordingly.
1674 ac_fn_c_check_header_compile ()
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683 /* end confdefs.h. */
1687 if ac_fn_c_try_compile "$LINENO"; then :
1692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1696 $as_echo "$ac_res" >&6; }
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 } # ac_fn_c_check_header_compile
1701 # ac_fn_c_try_cpp LINENO
1702 # ----------------------
1703 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 if { { ac_try="$ac_cpp conftest.$ac_ext"
1709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1710 *) ac_try_echo
=$ac_try;;
1712 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1716 if test -s conftest.err
; then
1717 grep -v '^ *+' conftest.err
>conftest.er1
1718 cat conftest.er1
>&5
1719 mv -f conftest.er1 conftest.err
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } > conftest.i
&& {
1723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1724 test ! -s conftest.err
1728 $as_echo "$as_me: failed program was:" >&5
1729 sed 's/^/| /' conftest.
$ac_ext >&5
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 as_fn_set_status
$ac_retval
1738 # ac_fn_c_try_run LINENO
1739 # ----------------------
1740 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1741 # that executables *can* be run.
1744 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1745 if { { ac_try
="$ac_link"
1747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1748 *) ac_try_echo=$ac_try;;
1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1751 $as_echo "$ac_try_echo"; } >&5
1752 (eval "$ac_link") 2>&5
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1756 { { case "(($ac_try" in
1757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1758 *) ac_try_echo
=$ac_try;;
1760 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_try") 2>&5
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; }; }; then :
1768 $as_echo "$as_me: program exited with status $ac_status" >&5
1769 $as_echo "$as_me: failed program was:" >&5
1770 sed 's/^/| /' conftest.
$ac_ext >&5
1772 ac_retval
=$ac_status
1774 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776 as_fn_set_status
$ac_retval
1780 # ac_fn_c_check_func LINENO FUNC VAR
1781 # ----------------------------------
1782 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1783 ac_fn_c_check_func
()
1785 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 $as_echo_n "checking for $2... " >&6; }
1788 if eval \
${$3+:} false
; then :
1789 $as_echo_n "(cached) " >&6
1791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1793 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1795 #define $2 innocuous_$2
1797 /* System header to define __stub macros and hopefully few prototypes,
1798 which can conflict with char $2 (); below.
1799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1800 <limits.h> exists even on freestanding compilers. */
1803 # include <limits.h>
1805 # include <assert.h>
1810 /* Override any GCC internal prototype to avoid an error.
1811 Use char because int might match the return type of a GCC
1812 builtin and then its argument prototype would still apply. */
1817 /* The GNU C library defines this for functions which it implements
1818 to always fail with ENOSYS. Some functions are actually named
1819 something starting with __ and the normal name is an alias. */
1820 #if defined __stub_$2 || defined __stub___$2
1832 if ac_fn_c_try_link
"$LINENO"; then :
1837 rm -f core conftest.err conftest.
$ac_objext \
1838 conftest
$ac_exeext conftest.
$ac_ext
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1842 $as_echo "$ac_res" >&6; }
1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845 } # ac_fn_c_check_func
1847 # ac_fn_cxx_try_link LINENO
1848 # -------------------------
1849 # Try to link conftest.$ac_ext, and return whether this succeeded.
1850 ac_fn_cxx_try_link
()
1852 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1853 rm -f conftest.
$ac_objext conftest
$ac_exeext
1854 if { { ac_try
="$ac_link"
1856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_link") 2>conftest.err
1863 if test -s conftest.err; then
1864 grep -v '^ *+' conftest.err >conftest.er1
1865 cat conftest.er1 >&5
1866 mv -f conftest.er1 conftest.err
1868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869 test $ac_status = 0; } && {
1870 test -z "$ac_cxx_werror_flag" ||
1871 test ! -s conftest.err
1872 } && test -s conftest$ac_exeext && {
1873 test "$cross_compiling" = yes ||
1874 $as_test_x conftest$ac_exeext
1878 $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1883 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1884 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1885 # interfere with the next link command; also delete a directory that is
1886 # left behind by Apple's compiler. We do this before executing the actions.
1887 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 as_fn_set_status $ac_retval
1891 } # ac_fn_cxx_try_link
1893 # ac_fn_cxx_try_run LINENO
1894 # ------------------------
1895 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1896 # that executables *can* be run.
1897 ac_fn_cxx_try_run ()
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 if { { ac_try="$ac_link"
1902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1903 *) ac_try_echo
=$ac_try;;
1905 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_link") 2>&5
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1911 { { case "(($ac_try" in
1912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1913 *) ac_try_echo=$ac_try;;
1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1916 $as_echo "$ac_try_echo"; } >&5
1917 (eval "$ac_try") 2>&5
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; }; }; then :
1923 $as_echo "$as_me: program exited with status $ac_status" >&5
1924 $as_echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.$ac_ext >&5
1927 ac_retval=$ac_status
1929 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 as_fn_set_status $ac_retval
1933 } # ac_fn_cxx_try_run
1935 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1936 # ---------------------------------------------------------
1937 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1938 # the include files in INCLUDES and setting the cache variable VAR
1940 ac_fn_cxx_check_header_mongrel ()
1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943 if eval \${$3+:} false; then :
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1945 $as_echo_n "checking for $2... " >&6; }
1946 if eval \${$3+:} false; then :
1947 $as_echo_n "(cached) " >&6
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1951 $as_echo "$ac_res" >&6; }
1953 # Is the header compilable?
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1955 $as_echo_n "checking $2 usability... " >&6; }
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1961 if ac_fn_cxx_try_compile "$LINENO"; then :
1962 ac_header_compiler=yes
1964 ac_header_compiler=no
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1968 $as_echo "$ac_header_compiler" >&6; }
1970 # Is the header present?
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1972 $as_echo_n "checking $2 presence... " >&6; }
1973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974 /* end confdefs.h. */
1977 if ac_fn_cxx_try_cpp "$LINENO"; then :
1978 ac_header_preproc=yes
1980 ac_header_preproc=no
1982 rm -f conftest.err conftest.i conftest.$ac_ext
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1984 $as_echo "$ac_header_preproc" >&6; }
1986 # So? What about this header?
1987 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1990 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1992 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1996 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1998 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2000 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2002 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2004 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2008 $as_echo_n "checking for $2... " >&6; }
2009 if eval \${$3+:} false; then :
2010 $as_echo_n "(cached) " >&6
2012 eval "$3=\$ac_header_compiler"
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 $as_echo "$ac_res" >&6; }
2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2020 } # ac_fn_cxx_check_header_mongrel
2022 # ac_fn_cxx_check_func LINENO FUNC VAR
2023 # ------------------------------------
2024 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2025 ac_fn_cxx_check_func ()
2027 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2029 $as_echo_n "checking for $2... " >&6; }
2030 if eval \${$3+:} false; then :
2031 $as_echo_n "(cached) " >&6
2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2035 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2037 #define $2 innocuous_$2
2039 /* System header to define __stub macros and hopefully few prototypes,
2040 which can conflict with char $2 (); below.
2041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2042 <limits.h> exists even on freestanding compilers. */
2045 # include <limits.h>
2047 # include <assert.h>
2052 /* Override any GCC internal prototype to avoid an error.
2053 Use char because int might match the return type of a GCC
2054 builtin and then its argument prototype would still apply. */
2059 /* The GNU C library defines this for functions which it implements
2060 to always fail with ENOSYS. Some functions are actually named
2061 something starting with __ and the normal name is an alias. */
2062 #if defined __stub_$2 || defined __stub___$2
2074 if ac_fn_cxx_try_link "$LINENO"; then :
2079 rm -f core conftest.err conftest.$ac_objext \
2080 conftest$ac_exeext conftest.$ac_ext
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084 $as_echo "$ac_res" >&6; }
2085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2087 } # ac_fn_cxx_check_func
2088 cat >config.log <<_ACEOF
2089 This file contains any messages produced by compilers while
2090 running configure, to aid debugging if configure makes a mistake.
2092 It was created by log4cplus $as_me 1.0.4, which was
2093 generated by GNU Autoconf 2.68. Invocation command line was
2105 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2106 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2107 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2108 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2109 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2111 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2112 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2114 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2115 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2116 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2117 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2118 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2119 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2120 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir=.
2129 $as_echo "PATH: $as_dir"
2145 # Keep a trace of the command line.
2146 # Strip out --no-create and --no-recursion so they do not pile up.
2147 # Strip out --silent because we don't want to record it for future runs.
2148 # Also quote any args containing shell meta-characters.
2149 # Make two passes to allow for proper duplicate-argument suppression.
2153 ac_must_keep_next=false
2159 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2160 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2161 | -silent | --silent | --silen | --sile | --sil)
2164 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2167 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2169 as_fn_append ac_configure_args1 " '$ac_arg'"
2170 if test $ac_must_keep_next = true; then
2171 ac_must_keep_next=false # Got value, back to normal.
2174 *=* | --config-cache | -C | -disable-* | --disable-* \
2175 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2176 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2177 | -with-* | --with-* | -without-* | --without-* | --x)
2178 case "$ac_configure_args0 " in
2179 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2182 -* ) ac_must_keep_next=true ;;
2185 as_fn_append ac_configure_args " '$ac_arg'"
2190 { ac_configure_args0=; unset ac_configure_args0;}
2191 { ac_configure_args1=; unset ac_configure_args1;}
2193 # When interrupted or exit'd, cleanup temporary files, and complete
2194 # config.log. We remove comments because anyway the quotes in there
2195 # would cause problems or look ugly.
2196 # WARNING: Use '\'' to represent an apostrophe within the trap.
2197 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2198 trap 'exit_status=$?
2199 # Save into config.log some information that might help in debugging.
2203 $as_echo "## ---------------- ##
2204 ## Cache variables. ##
2205 ## ---------------- ##"
2207 # The following way of writing the cache mishandles newlines in values,
2209 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2210 eval ac_val=\$$ac_var
2214 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2215 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2218 _ | IFS | as_nl) ;; #(
2219 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2220 *) { eval $ac_var=; unset $ac_var;} ;;
2225 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2226 *${as_nl}ac_space=\ *)
2228 "s/'\''/'\''\\\\'\'''\''/g;
2229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2232 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2239 $as_echo "## ----------------- ##
2240 ## Output variables. ##
2241 ## ----------------- ##"
2243 for ac_var in $ac_subst_vars
2245 eval ac_val=\$$ac_var
2247 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2249 $as_echo "$ac_var='\''$ac_val'\''"
2253 if test -n "$ac_subst_files"; then
2254 $as_echo "## ------------------- ##
2255 ## File substitutions. ##
2256 ## ------------------- ##"
2258 for ac_var in $ac_subst_files
2260 eval ac_val=\$$ac_var
2262 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 $as_echo "$ac_var='\''$ac_val'\''"
2269 if test -s confdefs.h; then
2270 $as_echo "## ----------- ##
2277 test "$ac_signal" != 0 &&
2278 $as_echo "$as_me: caught signal $ac_signal"
2279 $as_echo "$as_me: exit $exit_status"
2281 rm -f core *.core core.conftest.* &&
2282 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2285 for ac_signal in 1 2 13 15; do
2286 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2290 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2291 rm -f -r conftest* confdefs.h
2293 $as_echo "/* confdefs.h */" > confdefs.h
2295 # Predefined preprocessor variables.
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_NAME "$PACKAGE_NAME"
2301 cat >>confdefs.h <<_ACEOF
2302 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2305 cat >>confdefs.h <<_ACEOF
2306 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2309 cat >>confdefs.h <<_ACEOF
2310 #define PACKAGE_STRING "$PACKAGE_STRING"
2313 cat >>confdefs.h <<_ACEOF
2314 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2317 cat >>confdefs.h <<_ACEOF
2318 #define PACKAGE_URL "$PACKAGE_URL"
2322 # Let the site file select an alternate cache file if it wants to.
2323 # Prefer an explicitly selected file to automatically selected ones.
2326 if test -n "$CONFIG_SITE"; then
2327 # We do not want a PATH search for config.site.
2328 case $CONFIG_SITE in #((
2329 -*) ac_site_file1=./$CONFIG_SITE;;
2330 */*) ac_site_file1=$CONFIG_SITE;;
2331 *) ac_site_file1=./$CONFIG_SITE;;
2333 elif test "x$prefix" != xNONE; then
2334 ac_site_file1=$prefix/share/config.site
2335 ac_site_file2=$prefix/etc/config.site
2337 ac_site_file1=$ac_default_prefix/share/config.site
2338 ac_site_file2=$ac_default_prefix/etc/config.site
2340 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2342 test "x$ac_site_file" = xNONE && continue
2343 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2345 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2346 sed 's/^/| /' "$ac_site_file" >&5
2348 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350 as_fn_error $? "failed to load site
script $ac_site_file
2351 See \
`config.log' for more details" "$LINENO" 5; }
2355 if test -r "$cache_file"; then
2356 # Some versions of bash will fail to source /dev/null (special files
2357 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2358 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2360 $as_echo "$as_me: loading cache $cache_file" >&6;}
2362 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2363 *) . "./$cache_file";;
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2368 $as_echo "$as_me: creating cache $cache_file" >&6;}
2372 # Check that the precious variables saved in the cache have kept the same
2374 ac_cache_corrupted=false
2375 for ac_var in $ac_precious_vars; do
2376 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2377 eval ac_new_set=\$ac_env_${ac_var}_set
2378 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2379 eval ac_new_val=\$ac_env_${ac_var}_value
2380 case $ac_old_set,$ac_new_set in
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2383 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2384 ac_cache_corrupted=: ;;
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2387 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2388 ac_cache_corrupted=: ;;
2391 if test "x$ac_old_val" != "x$ac_new_val"; then
2392 # differences in whitespace do not lead to failure.
2393 ac_old_val_w=`echo x
$ac_old_val`
2394 ac_new_val_w=`echo x
$ac_new_val`
2395 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2397 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2398 ac_cache_corrupted=:
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2401 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2402 eval $ac_var=\$ac_old_val
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2405 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2407 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2410 # Pass precious variables to config.status.
2411 if test "$ac_new_set" = set; then
2413 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2414 *) ac_arg=$ac_var=$ac_new_val ;;
2416 case " $ac_configure_args " in
2417 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2418 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2422 if $ac_cache_corrupted; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2426 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2427 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2429 ## -------------------- ##
2430 ## Main body of script. ##
2431 ## -------------------- ##
2434 ac_cpp='$CPP $CPPFLAGS'
2435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2441 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2442 if test -f "$ac_dir/install-sh"; then
2444 ac_install_sh="$ac_aux_dir/install-sh -c"
2446 elif test -f "$ac_dir/install.sh"; then
2448 ac_install_sh="$ac_aux_dir/install.sh -c"
2450 elif test -f "$ac_dir/shtool"; then
2452 ac_install_sh="$ac_aux_dir/shtool install -c"
2456 if test -z "$ac_aux_dir"; then
2457 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2460 # These three variables are undocumented and unsupported,
2461 # and are intended to be withdrawn in a future Autoconf release.
2462 # They can cause serious problems if a builder's source tree is in a directory
2463 # whose full name contains unusual characters.
2464 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2465 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2466 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2469 # Make sure we can run config.sub.
2470 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2471 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2474 $as_echo_n "checking build system type... " >&6; }
2475 if ${ac_cv_build+:} false; then :
2476 $as_echo_n "(cached) " >&6
2478 ac_build_alias=$build_alias
2479 test "x$ac_build_alias" = x &&
2480 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2481 test "x$ac_build_alias" = x &&
2482 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2483 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2484 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2488 $as_echo "$ac_cv_build" >&6; }
2489 case $ac_cv_build in
2491 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2494 ac_save_IFS=$IFS; IFS='-'
2500 # Remember, the first character of IFS is used to create $*,
2501 # except with old shells:
2504 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2508 $as_echo_n "checking host system type... " >&6; }
2509 if ${ac_cv_host+:} false; then :
2510 $as_echo_n "(cached) " >&6
2512 if test "x$host_alias" = x; then
2513 ac_cv_host=$ac_cv_build
2515 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2516 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2521 $as_echo "$ac_cv_host" >&6; }
2524 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2527 ac_save_IFS=$IFS; IFS='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2541 $as_echo_n "checking target system type... " >&6; }
2542 if ${ac_cv_target+:} false; then :
2543 $as_echo_n "(cached) " >&6
2545 if test "x$target_alias" = x; then
2546 ac_cv_target=$ac_cv_host
2548 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2549 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2554 $as_echo "$ac_cv_target" >&6; }
2555 case $ac_cv_target in
2557 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2559 target=$ac_cv_target
2560 ac_save_IFS=$IFS; IFS='-'
2566 # Remember, the first character of IFS is used to create $*,
2567 # except with old shells:
2570 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2573 # The aliases save the names the user supplied, while $host etc.
2574 # will get canonicalized.
2575 test -n "$target_alias" &&
2576 test "$program_prefix$program_suffix$program_transform_name" = \
2578 program_prefix=${target_alias}-
2581 am__api_version='1.11'
2583 # Find a good install program. We prefer a C program (faster),
2584 # so one script is as good as another. But avoid the broken or
2585 # incompatible versions:
2586 # SysV /etc/install, /usr/sbin/install
2587 # SunOS /usr/etc/install
2588 # IRIX /sbin/install
2590 # AmigaOS /C/install, which installs bootblocks on floppy discs
2591 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2592 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2593 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2594 # OS/2's system install, which has a completely different semantic
2595 # ./install, which can be erroneously created by make from ./install.sh.
2596 # Reject install programs that cannot install multiple files.
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2598 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2599 if test -z "$INSTALL"; then
2600 if ${ac_cv_path_install+:} false; then :
2601 $as_echo_n "(cached) " >&6
2603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607 test -z "$as_dir" && as_dir=.
2608 # Account for people who put trailing slashes in PATH elements.
2609 case $as_dir/ in #((
2610 ./ | .// | /[cC]/* | \
2611 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2612 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2615 # OSF1 and SCO ODT 3.0 have their own names for install.
2616 # Don't use installbsd from OSF since it installs stuff as root
2618 for ac_prog in ginstall scoinst install; do
2619 for ac_exec_ext in '' $ac_executable_extensions; do
2620 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2621 if test $ac_prog = install &&
2622 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2623 # AIX install. It has an incompatible calling convention.
2625 elif test $ac_prog = install &&
2626 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2627 # program-specific install script used by HP pwplus--don't use.
2630 rm -rf conftest.one conftest.two conftest.dir
2631 echo one > conftest.one
2632 echo two > conftest.two
2634 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2635 test -s conftest.one && test -s conftest.two &&
2636 test -s conftest.dir/conftest.one &&
2637 test -s conftest.dir/conftest.two
2639 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2652 rm -rf conftest.one conftest.two conftest.dir
2655 if test "${ac_cv_path_install+set}" = set; then
2656 INSTALL=$ac_cv_path_install
2658 # As a last resort, use the slow shell script. Don't cache a
2659 # value for INSTALL within a source directory, because that will
2660 # break other packages using the cache if that directory is
2661 # removed, or if the value is a relative name.
2662 INSTALL=$ac_install_sh
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2666 $as_echo "$INSTALL" >&6; }
2668 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2669 # It thinks the first close brace ends the variable substitution.
2670 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2672 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2674 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2677 $as_echo_n "checking whether build environment is sane... " >&6; }
2680 echo timestamp > conftest.file
2681 # Reject unsafe characters in $srcdir or the absolute working directory
2682 # name. Accept space and tab only in the latter.
2686 *[\\\"\#\$\&\'\`$am_lf]*)
2687 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2690 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2691 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2694 # Do `set' in a subshell so we don't clobber the current shell's
2695 # arguments. Must try -L first in case configure is actually a
2696 # symlink; some systems play weird games with the mod time of symlinks
2697 # (eg FreeBSD returns the mod time of the symlink's containing
2700 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2701 if test "$*" = "X"; then
2703 set X
`ls -t "$srcdir/configure" conftest.file`
2706 if test "$*" != "X $srcdir/configure conftest.file" \
2707 && test "$*" != "X conftest.file $srcdir/configure"; then
2709 # If neither matched, then we have a broken ls. This can happen
2710 # if, for instance, CONFIG_SHELL is bash and it inherits a
2711 # broken ls alias from the environment. This has actually
2712 # happened. Such a system could not be considered "sane".
2713 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2714 alias in your environment" "$LINENO" 5
2717 test "$2" = conftest.
file
2723 as_fn_error $?
"newly created file is older than distributed files!
2724 Check your system clock" "$LINENO" 5
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2727 $as_echo "yes" >&6; }
2728 test "$program_prefix" != NONE
&&
2729 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2730 # Use a double $ so make ignores it.
2731 test "$program_suffix" != NONE
&&
2732 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2733 # Double any \ or $.
2734 # By default was `s,x,x', remove it if useless.
2735 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2736 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2738 # expand $ac_aux_dir to an absolute path
2739 am_aux_dir
=`cd $ac_aux_dir && pwd`
2741 if test x
"${MISSING+set}" != xset
; then
2744 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2746 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2749 # Use eval to expand $SHELL
2750 if eval "$MISSING --run true"; then
2751 am_missing_run
="$MISSING --run "
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2755 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2758 if test x
"${install_sh}" != xset
; then
2761 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2763 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2767 # Installed binaries are usually stripped using `strip' when the user
2768 # run `make install-strip'. However `strip' might not be the right
2769 # tool to use in cross-compilation environments, therefore Automake
2770 # will honor the `STRIP' environment variable to overrule this program.
2771 if test "$cross_compiling" != no
; then
2772 if test -n "$ac_tool_prefix"; then
2773 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2774 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776 $as_echo_n "checking for $ac_word... " >&6; }
2777 if ${ac_cv_prog_STRIP+:} false
; then :
2778 $as_echo_n "(cached) " >&6
2780 if test -n "$STRIP"; then
2781 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir
=.
2788 for ac_exec_ext
in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 STRIP
=$ac_cv_prog_STRIP
2801 if test -n "$STRIP"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2803 $as_echo "$STRIP" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2811 if test -z "$ac_cv_prog_STRIP"; then
2813 # Extract the first word of "strip", so it can be a program name with args.
2814 set dummy strip
; ac_word
=$2
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2816 $as_echo_n "checking for $ac_word... " >&6; }
2817 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2818 $as_echo_n "(cached) " >&6
2820 if test -n "$ac_ct_STRIP"; then
2821 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir
=.
2828 for ac_exec_ext
in '' $ac_executable_extensions; do
2829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2830 ac_cv_prog_ac_ct_STRIP
="strip"
2831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2841 if test -n "$ac_ct_STRIP"; then
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2843 $as_echo "$ac_ct_STRIP" >&6; }
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2846 $as_echo "no" >&6; }
2849 if test "x$ac_ct_STRIP" = x
; then
2852 case $cross_compiling:$ac_tool_warned in
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2856 ac_tool_warned
=yes ;;
2861 STRIP
="$ac_cv_prog_STRIP"
2865 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2868 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2869 if test -z "$MKDIR_P"; then
2870 if ${ac_cv_path_mkdir+:} false
; then :
2871 $as_echo_n "(cached) " >&6
2873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2874 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2877 test -z "$as_dir" && as_dir
=.
2878 for ac_prog
in mkdir gmkdir
; do
2879 for ac_exec_ext
in '' $ac_executable_extensions; do
2880 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2881 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2882 'mkdir (GNU coreutils) '* | \
2883 'mkdir (coreutils) '* | \
2884 'mkdir (fileutils) '4.1*)
2885 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2895 test -d .
/--version && rmdir .
/--version
2896 if test "${ac_cv_path_mkdir+set}" = set; then
2897 MKDIR_P
="$ac_cv_path_mkdir -p"
2899 # As a last resort, use the slow shell script. Don't cache a
2900 # value for MKDIR_P within a source directory, because that will
2901 # break other packages using the cache if that directory is
2902 # removed, or if the value is a relative name.
2903 MKDIR_P
="$ac_install_sh -d"
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2907 $as_echo "$MKDIR_P" >&6; }
2911 [\\/$
]* | ?
:[\\/]*) ;;
2912 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2915 for ac_prog
in gawk mawk nawk
awk
2917 # Extract the first word of "$ac_prog", so it can be a program name with args.
2918 set dummy
$ac_prog; ac_word
=$2
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920 $as_echo_n "checking for $ac_word... " >&6; }
2921 if ${ac_cv_prog_AWK+:} false
; then :
2922 $as_echo_n "(cached) " >&6
2924 if test -n "$AWK"; then
2925 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir
=.
2932 for ac_exec_ext
in '' $ac_executable_extensions; do
2933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2934 ac_cv_prog_AWK
="$ac_prog"
2935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 if test -n "$AWK"; then
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2947 $as_echo "$AWK" >&6; }
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 $as_echo "no" >&6; }
2954 test -n "$AWK" && break
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2958 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2960 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2961 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2962 $as_echo_n "(cached) " >&6
2964 cat >conftest.
make <<\_ACEOF
2967 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2969 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2970 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2972 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2974 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2978 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2980 $as_echo "yes" >&6; }
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 $as_echo "no" >&6; }
2985 SET_MAKE
="MAKE=${MAKE-make}"
2988 rm -rf .tst
2>/dev
/null
2989 mkdir .tst
2>/dev
/null
2990 if test -d .tst
; then
2995 rmdir .tst
2>/dev
/null
2997 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2998 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2999 # is not polluted with repeated "-I."
3000 am__isrc
=' -I$(srcdir)'
3001 # test to see if srcdir already configured
3002 if test -f $srcdir/config.status
; then
3003 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3007 # test whether we have cygpath
3008 if test -z "$CYGPATH_W"; then
3009 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3010 CYGPATH_W
='cygpath -w'
3017 # Define the identity of the package.
3022 # Some tools Automake needs.
3024 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3027 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3030 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3033 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3036 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3038 # We need awk for the "check" target. The system "awk" is bad on
3040 # Always define AMTAR for backward compatibility.
3042 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3044 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3052 # +1 : ? : +1 == new interface that does not break old one
3053 # +1 : ? : 0 == new interfac that breaks old one
3054 # ? : ? : 0 == no new interfaces, but breaks apps
3055 # ? :+1 : ? == just some internal changes, nothing breaks but might work
3057 # CURRENT : REVISION : AGE
3065 # Check whether --with-working-locale was given.
3066 if test "${with_working_locale+set}" = set; then :
3067 withval
=$with_working_locale;
3069 with_working_locale
=no
3073 if test "x$with_working_locale" = "xyes"; then :
3074 $as_echo "#define LOG4CPLUS_WORKING_LOCALE 1" >>confdefs.h
3079 # Check whether --enable-debugging was given.
3080 if test "${enable_debugging+set}" = set; then :
3081 enableval
=$enable_debugging;
3089 if test "x$enable_debugging" = "xyes"; then :
3090 $as_echo "#define LOG4CPLUS_DEBUGGING 1" >>confdefs.h
3092 LOG4CPLUS_NDEBUG
=-UNDEBUG
3094 LOG4CPLUS_NDEBUG
=-DNDEBUG
3099 # Check whether --enable-warnings was given.
3100 if test "${enable_warnings+set}" = set; then :
3101 enableval
=$enable_warnings;
3108 ac_cpp
='$CXXCPP $CPPFLAGS'
3109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3112 if test -z "$CXX"; then
3113 if test -n "$CCC"; then
3116 if test -n "$ac_tool_prefix"; then
3117 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3120 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122 $as_echo_n "checking for $ac_word... " >&6; }
3123 if ${ac_cv_prog_CXX+:} false
; then :
3124 $as_echo_n "(cached) " >&6
3126 if test -n "$CXX"; then
3127 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3133 test -z "$as_dir" && as_dir
=.
3134 for ac_exec_ext
in '' $ac_executable_extensions; do
3135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3136 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3147 if test -n "$CXX"; then
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3149 $as_echo "$CXX" >&6; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152 $as_echo "no" >&6; }
3156 test -n "$CXX" && break
3159 if test -z "$CXX"; then
3161 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3163 # Extract the first word of "$ac_prog", so it can be a program name with args.
3164 set dummy
$ac_prog; ac_word
=$2
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3166 $as_echo_n "checking for $ac_word... " >&6; }
3167 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3168 $as_echo_n "(cached) " >&6
3170 if test -n "$ac_ct_CXX"; then
3171 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3177 test -z "$as_dir" && as_dir
=.
3178 for ac_exec_ext
in '' $ac_executable_extensions; do
3179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3180 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3190 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3191 if test -n "$ac_ct_CXX"; then
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3193 $as_echo "$ac_ct_CXX" >&6; }
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3196 $as_echo "no" >&6; }
3200 test -n "$ac_ct_CXX" && break
3203 if test "x$ac_ct_CXX" = x
; then
3206 case $cross_compiling:$ac_tool_warned in
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3210 ac_tool_warned
=yes ;;
3218 # Provide some information about the compiler.
3219 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3222 for ac_option
in --version -v -V -qversion; do
3223 { { ac_try
="$ac_compiler $ac_option >&5"
3225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229 $as_echo "$ac_try_echo"; } >&5
3230 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3232 if test -s conftest.err; then
3234 ... rest of stderr output deleted ...
3235 10q' conftest.err >conftest.er1
3236 cat conftest.er1 >&5
3238 rm -f conftest.er1 conftest.err
3239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240 test $ac_status = 0; }
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3254 ac_clean_files_save=$ac_clean_files
3255 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3256 # Try to create an executable without -o first, disregard a.out.
3257 # It will help us diagnose broken compilers, and finding out an intuition
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3260 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3261 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3263 # The possible output files:
3264 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3267 for ac_file in $ac_files
3270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3271 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3276 if { { ac_try="$ac_link_default"
3278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3279 *) ac_try_echo
=$ac_try;;
3281 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282 $as_echo "$ac_try_echo"; } >&5
3283 (eval "$ac_link_default") 2>&5
3285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286 test $ac_status = 0; }; then :
3287 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3288 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3289 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3290 # so that the user can short-circuit this test for compilers unknown to
3292 for ac_file
in $ac_files ''
3294 test -f "$ac_file" ||
continue
3296 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3299 # We found the default executable, but exeext='' is most
3303 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3305 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3307 # We set ac_cv_exeext here because the later test for it is not
3308 # safe: cross compilers may not add the suffix if given an `-o'
3309 # argument, so we may need to know it at that point already.
3310 # Even if this section looks crufty: it has the advantage of
3317 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3322 if test -z "$ac_file"; then :
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3325 $as_echo "$as_me: failed program was:" >&5
3326 sed 's/^/| /' conftest.
$ac_ext >&5
3328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3330 as_fn_error
77 "C++ compiler cannot create executables
3331 See \`config.log' for more details" "$LINENO" 5; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3334 $as_echo "yes" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3337 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3339 $as_echo "$ac_file" >&6; }
3340 ac_exeext
=$ac_cv_exeext
3342 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3343 ac_clean_files
=$ac_clean_files_save
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3345 $as_echo_n "checking for suffix of executables... " >&6; }
3346 if { { ac_try
="$ac_link"
3348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_link") 2>&5
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; then :
3357 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3358 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3359 # work properly (i.e., refer to `conftest.exe'), while it won't with
3361 for ac_file
in conftest.exe conftest conftest.
*; do
3362 test -f "$ac_file" ||
continue
3364 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3365 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3374 See \`config.log' for more details" "$LINENO" 5; }
3376 rm -f conftest conftest
$ac_cv_exeext
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3378 $as_echo "$ac_cv_exeext" >&6; }
3380 rm -f conftest.
$ac_ext
3381 EXEEXT
=$ac_cv_exeext
3383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3389 FILE *f = fopen ("conftest.out", "w");
3390 return ferror (f) || fclose (f) != 0;
3396 ac_clean_files
="$ac_clean_files conftest.out"
3397 # Check that the compiler produces executables we can run. If not, either
3398 # the compiler is broken, or we cross compile.
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3400 $as_echo_n "checking whether we are cross compiling... " >&6; }
3401 if test "$cross_compiling" != yes; then
3402 { { ac_try
="$ac_link"
3404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3405 *) ac_try_echo=$ac_try;;
3407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408 $as_echo "$ac_try_echo"; } >&5
3409 (eval "$ac_link") 2>&5
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }
3413 if { ac_try='./conftest$ac_cv_exeext'
3414 { { case "(($ac_try" in
3415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3416 *) ac_try_echo
=$ac_try;;
3418 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419 $as_echo "$ac_try_echo"; } >&5
3420 (eval "$ac_try") 2>&5
3422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423 test $ac_status = 0; }; }; then
3426 if test "$cross_compiling" = maybe
; then
3429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 as_fn_error $?
"cannot run C++ compiled programs.
3432 If you meant to cross compile, use \`--host'.
3433 See \`config.log' for more details" "$LINENO" 5; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3438 $as_echo "$cross_compiling" >&6; }
3440 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3441 ac_clean_files
=$ac_clean_files_save
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3443 $as_echo_n "checking for suffix of object files... " >&6; }
3444 if ${ac_cv_objext+:} false
; then :
3445 $as_echo_n "(cached) " >&6
3447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3458 rm -f conftest.o conftest.obj
3459 if { { ac_try
="$ac_compile"
3461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466 (eval "$ac_compile") 2>&5
3468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469 test $ac_status = 0; }; then :
3470 for ac_file in conftest.o conftest.obj conftest.*; do
3471 test -f "$ac_file" || continue;
3473 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3474 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3479 $as_echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3484 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3485 See \
`config.log' for more details" "$LINENO" 5; }
3487 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3490 $as_echo "$ac_cv_objext" >&6; }
3491 OBJEXT=$ac_cv_objext
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3494 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3495 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3496 $as_echo_n "(cached) " >&6
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3512 if ac_fn_cxx_try_compile "$LINENO"; then :
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3522 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3523 if test $ac_compiler_gnu = yes; then
3528 ac_test_CXXFLAGS=${CXXFLAGS+set}
3529 ac_save_CXXFLAGS=$CXXFLAGS
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3531 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3532 if ${ac_cv_prog_cxx_g+:} false; then :
3533 $as_echo_n "(cached) " >&6
3535 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3536 ac_cxx_werror_flag=yes
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3550 if ac_fn_cxx_try_compile "$LINENO"; then :
3551 ac_cv_prog_cxx_g=yes
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 if ac_fn_cxx_try_compile "$LINENO"; then :
3568 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3581 if ac_fn_cxx_try_compile "$LINENO"; then :
3582 ac_cv_prog_cxx_g=yes
3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3592 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3593 if test "$ac_test_CXXFLAGS" = set; then
3594 CXXFLAGS=$ac_save_CXXFLAGS
3595 elif test $ac_cv_prog_cxx_g = yes; then
3596 if test "$GXX" = yes; then
3602 if test "$GXX" = yes; then
3609 ac_cpp='$CPP $CPPFLAGS'
3610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3613 DEPDIR="${am__leading_dot}deps"
3615 ac_config_commands="$ac_config_commands depfiles"
3618 am_make=${MAKE-make}
3619 cat > confinc << 'END'
3621 @echo this is the am__doit target
3624 # If we don't find an include directive, just comment out the code.
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3626 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3630 # First try GNU make style include.
3631 echo "include confinc" > confmf
3632 # Ignore all kinds of additional output from `make'.
3633 case `$am_make -s -f confmf 2> /dev/null` in #(
3634 *the\ am__doit\ target*)
3640 # Now try BSD make style include.
3641 if test "$am__include" = "#"; then
3642 echo '.include
"confinc"' > confmf
3643 case `$am_make -s -f confmf 2> /dev/null` in #(
3644 *the\ am__doit\ target*)
3645 am__include=.include
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3654 $as_echo "$_am_result" >&6; }
3655 rm -f confinc confmf
3657 # Check whether --enable-dependency-tracking was given.
3658 if test "${enable_dependency_tracking+set}" = set; then :
3659 enableval=$enable_dependency_tracking;
3662 if test "x$enable_dependency_tracking" != xno; then
3663 am_depcomp="$ac_aux_dir/depcomp"
3666 if test "x$enable_dependency_tracking" != xno
; then
3676 depcc
="$CXX" am_compiler_list
=
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3679 $as_echo_n "checking dependency style of $depcc... " >&6; }
3680 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
3681 $as_echo_n "(cached) " >&6
3683 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3684 # We make a subdir and do the tests there. Otherwise we can end up
3685 # making bogus files that we don't know about and never remove. For
3686 # instance it was reported that on HP-UX the gcc test will end up
3687 # making a dummy file named `D' -- because `-MD' means `put the output
3690 # Copy depcomp to subdir because otherwise we won't find it if we're
3691 # using a relative directory.
3692 cp "$am_depcomp" conftest.dir
3694 # We will build objects and dependencies in a subdirectory because
3695 # it helps to detect inapplicable dependency modes. For instance
3696 # both Tru64's cc and ICC support -MD to output dependencies as a
3697 # side effect of compilation, but ICC will put the dependencies in
3698 # the current directory while Tru64 will put them in the object
3702 am_cv_CXX_dependencies_compiler_type
=none
3703 if test "$am_compiler_list" = ""; then
3704 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3707 case " $depcc " in #(
3708 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3711 for depmode
in $am_compiler_list; do
3712 # Setup a source with many dependencies, because some compilers
3713 # like to wrap large dependency lists on column 80 (with \), and
3714 # we should not choose a depcomp mode which is confused by this.
3716 # We need to recreate these files for each test, as the compiler may
3717 # overwrite some of them when testing with obscure command lines.
3718 # This happens at least with the AIX C compiler.
3720 for i
in 1 2 3 4 5 6; do
3721 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3722 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3723 # Solaris 8's {/usr,}/bin/sh.
3724 touch sub
/conftst
$i.h
3726 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3728 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3729 # mode. It turns out that the SunPro C++ compiler does not properly
3730 # handle `-M -o', and we need to detect this. Also, some Intel
3731 # versions had trouble with output in subdirs
3732 am__obj
=sub
/conftest.
${OBJEXT-o}
3733 am__minus_obj
="-o $am__obj"
3736 # This depmode causes a compiler race in universal mode.
3737 test "$am__universal" = false ||
continue
3740 # after this tag, mechanisms are not by side-effect, so they'll
3741 # only be used when explicitly requested
3742 if test "x$enable_dependency_tracking" = xyes
; then
3748 msvisualcpp | msvcmsys
)
3749 # This compiler won't grok `-c -o', but also, the minuso test has
3750 # not run yet. These depmodes are late enough in the game, and
3751 # so weak that their functioning should not be impacted.
3752 am__obj
=conftest.
${OBJEXT-o}
3757 if depmode
=$depmode \
3758 source=sub
/conftest.c object
=$am__obj \
3759 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3760 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3761 >/dev
/null
2>conftest.err
&&
3762 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3763 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3764 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3765 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3766 # icc doesn't choke on unknown options, it will just issue warnings
3767 # or remarks (even with -Werror). So we grep stderr for any message
3768 # that says an option was ignored or not supported.
3769 # When given -MP, icc 7.0 and 7.1 complain thusly:
3770 # icc: Command line warning: ignoring option '-M'; no argument required
3771 # The diagnosis changed in icc 8.0:
3772 # icc: Command line remark: option '-MP' not supported
3773 if (grep 'ignoring option' conftest.err ||
3774 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3775 am_cv_CXX_dependencies_compiler_type
=$depmode
3784 am_cv_CXX_dependencies_compiler_type
=none
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3789 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3790 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3793 test "x$enable_dependency_tracking" != xno \
3794 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3795 am__fastdepCXX_TRUE
=
3796 am__fastdepCXX_FALSE
='#'
3798 am__fastdepCXX_TRUE
='#'
3799 am__fastdepCXX_FALSE
=
3804 ac_cpp
='$CXXCPP $CPPFLAGS'
3805 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3809 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3810 if test -z "$CXXCPP"; then
3811 if ${ac_cv_prog_CXXCPP+:} false
; then :
3812 $as_echo_n "(cached) " >&6
3814 # Double quotes because CXXCPP needs to be expanded
3815 for CXXCPP
in "$CXX -E" "/lib/cpp"
3818 for ac_cxx_preproc_warn_flag
in '' yes
3820 # Use a header file that comes with gcc, so configuring glibc
3821 # with a fresh cross-compiler works.
3822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3823 # <limits.h> exists even on freestanding compilers.
3824 # On the NeXT, cc -E runs the code through the compiler's parser,
3825 # not just through cpp. "Syntax error" is here to catch this case.
3826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3829 # include <limits.h>
3831 # include <assert.h>
3835 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3838 # Broken: fails on valid input.
3841 rm -f conftest.err conftest.i conftest.
$ac_ext
3843 # OK, works on sane cases. Now check whether nonexistent headers
3844 # can be detected and how.
3845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3846 /* end confdefs.h. */
3847 #include <ac_nonexistent.h>
3849 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3850 # Broken: success on invalid input.
3853 # Passes both tests.
3857 rm -f conftest.err conftest.i conftest.
$ac_ext
3860 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3861 rm -f conftest.i conftest.err conftest.
$ac_ext
3862 if $ac_preproc_ok; then :
3867 ac_cv_prog_CXXCPP
=$CXXCPP
3870 CXXCPP
=$ac_cv_prog_CXXCPP
3872 ac_cv_prog_CXXCPP
=$CXXCPP
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3875 $as_echo "$CXXCPP" >&6; }
3877 for ac_cxx_preproc_warn_flag
in '' yes
3879 # Use a header file that comes with gcc, so configuring glibc
3880 # with a fresh cross-compiler works.
3881 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3882 # <limits.h> exists even on freestanding compilers.
3883 # On the NeXT, cc -E runs the code through the compiler's parser,
3884 # not just through cpp. "Syntax error" is here to catch this case.
3885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3886 /* end confdefs.h. */
3888 # include <limits.h>
3890 # include <assert.h>
3894 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3897 # Broken: fails on valid input.
3900 rm -f conftest.err conftest.i conftest.
$ac_ext
3902 # OK, works on sane cases. Now check whether nonexistent headers
3903 # can be detected and how.
3904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3906 #include <ac_nonexistent.h>
3908 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3909 # Broken: success on invalid input.
3912 # Passes both tests.
3916 rm -f conftest.err conftest.i conftest.
$ac_ext
3919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3920 rm -f conftest.i conftest.err conftest.
$ac_ext
3921 if $ac_preproc_ok; then :
3924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
3927 See \`config.log' for more details" "$LINENO" 5; }
3931 ac_cpp
='$CPP $CPPFLAGS'
3932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3937 ac_cpp
='$CXXCPP $CPPFLAGS'
3938 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3943 case "$target_os" in #(
3945 CPPFLAGS
="${CPPFLAGS} -U__STRICT_ANSI__"
3946 CPPFLAGS
="${CPPFLAGS} -DWIN32 -D_WIN32"
3947 use_winsock_sockets
=yes ;; #(
3952 if test "x$use_winsock_sockets" = "xyes"; then
3953 WINSOCK_SOCKETS_TRUE
=
3954 WINSOCK_SOCKETS_FALSE
='#'
3956 WINSOCK_SOCKETS_TRUE
='#'
3957 WINSOCK_SOCKETS_FALSE
=
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3966 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3971 macro_version
='2.2.10'
3972 macro_revision
='1.3175'
3986 ltmain
="$ac_aux_dir/ltmain.sh"
3988 # Backslashify metacharacters that are still active within
3989 # double-quoted strings.
3990 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3992 # Same as above, but do not quote variable references.
3993 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3995 # Sed substitution to delay expansion of an escaped shell variable in a
3996 # double_quote_subst'ed string.
3997 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3999 # Sed substitution to delay expansion of an escaped single quote.
4000 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4002 # Sed substitution to avoid accidental globbing in evaled expressions
4003 no_glob_subst
='s/\*/\\\*/g'
4005 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4006 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4007 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4010 $as_echo_n "checking how to print strings... " >&6; }
4011 # Test print first, because it will be a builtin if present.
4012 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4013 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4015 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4018 # Use this function as a fallback that always works.
4019 func_fallback_echo ()
4021 eval 'cat <<_LTECHO_EOF
4025 ECHO='func_fallback_echo
'
4028 # func_echo_all arg...
4029 # Invoke $ECHO with all args, space-separated.
4036 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4037 $as_echo "printf" >&6; } ;;
4038 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4039 $as_echo "print -r" >&6; } ;;
4040 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4041 $as_echo "cat" >&6; } ;;
4058 ac_cpp='$CPP $CPPFLAGS'
4059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4060 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4062 if test -n "$ac_tool_prefix"; then
4063 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4064 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4066 $as_echo_n "checking for $ac_word... " >&6; }
4067 if ${ac_cv_prog_CC+:} false; then :
4068 $as_echo_n "(cached) " >&6
4070 if test -n "$CC"; then
4071 ac_cv_prog_CC="$CC" # Let the user override the test.
4073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4077 test -z "$as_dir" && as_dir=.
4078 for ac_exec_ext in '' $ac_executable_extensions; do
4079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4080 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4091 if test -n "$CC"; then
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4093 $as_echo "$CC" >&6; }
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4096 $as_echo "no" >&6; }
4101 if test -z "$ac_cv_prog_CC"; then
4103 # Extract the first word of "gcc", so it can be a program name with args.
4104 set dummy gcc; ac_word=$2
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4106 $as_echo_n "checking for $ac_word... " >&6; }
4107 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4108 $as_echo_n "(cached) " >&6
4110 if test -n "$ac_ct_CC"; then
4111 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117 test -z "$as_dir" && as_dir=.
4118 for ac_exec_ext in '' $ac_executable_extensions; do
4119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4120 ac_cv_prog_ac_ct_CC="gcc"
4121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4131 if test -n "$ac_ct_CC"; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4133 $as_echo "$ac_ct_CC" >&6; }
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4136 $as_echo "no" >&6; }
4139 if test "x$ac_ct_CC" = x; then
4142 case $cross_compiling:$ac_tool_warned in
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4146 ac_tool_warned=yes ;;
4154 if test -z "$CC"; then
4155 if test -n "$ac_tool_prefix"; then
4156 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4157 set dummy ${ac_tool_prefix}cc; ac_word=$2
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4159 $as_echo_n "checking for $ac_word... " >&6; }
4160 if ${ac_cv_prog_CC+:} false; then :
4161 $as_echo_n "(cached) " >&6
4163 if test -n "$CC"; then
4164 ac_cv_prog_CC="$CC" # Let the user override the test.
4166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170 test -z "$as_dir" && as_dir=.
4171 for ac_exec_ext in '' $ac_executable_extensions; do
4172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4173 ac_cv_prog_CC="${ac_tool_prefix}cc"
4174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 if test -n "$CC"; then
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4186 $as_echo "$CC" >&6; }
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4189 $as_echo "no" >&6; }
4195 if test -z "$CC"; then
4196 # Extract the first word of "cc", so it can be a program name with args.
4197 set dummy cc; ac_word=$2
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4199 $as_echo_n "checking for $ac_word... " >&6; }
4200 if ${ac_cv_prog_CC+:} false; then :
4201 $as_echo_n "(cached) " >&6
4203 if test -n "$CC"; then
4204 ac_cv_prog_CC="$CC" # Let the user override the test.
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4211 test -z "$as_dir" && as_dir=.
4212 for ac_exec_ext in '' $ac_executable_extensions; do
4213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4214 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4215 ac_prog_rejected=yes
4219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4226 if test $ac_prog_rejected = yes; then
4227 # We found a bogon in the path, so make sure we never use it.
4228 set dummy $ac_cv_prog_CC
4230 if test $# != 0; then
4231 # We chose a different compiler from the bogus one.
4232 # However, it has the same basename, so the bogon will be chosen
4233 # first if we set CC to just the basename; use the full file name.
4235 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4241 if test -n "$CC"; then
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4243 $as_echo "$CC" >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246 $as_echo "no" >&6; }
4251 if test -z "$CC"; then
4252 if test -n "$ac_tool_prefix"; then
4253 for ac_prog in cl.exe
4255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4258 $as_echo_n "checking for $ac_word... " >&6; }
4259 if ${ac_cv_prog_CC+:} false; then :
4260 $as_echo_n "(cached) " >&6
4262 if test -n "$CC"; then
4263 ac_cv_prog_CC="$CC" # Let the user override the test.
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 test -z "$as_dir" && as_dir=.
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4272 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 if test -n "$CC"; then
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4285 $as_echo "$CC" >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4288 $as_echo "no" >&6; }
4292 test -n "$CC" && break
4295 if test -z "$CC"; then
4297 for ac_prog in cl.exe
4299 # Extract the first word of "$ac_prog", so it can be a program name with args.
4300 set dummy $ac_prog; ac_word=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4304 $as_echo_n "(cached) " >&6
4306 if test -n "$ac_ct_CC"; then
4307 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir=.
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4316 ac_cv_prog_ac_ct_CC="$ac_prog"
4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4327 if test -n "$ac_ct_CC"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4329 $as_echo "$ac_ct_CC" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4336 test -n "$ac_ct_CC" && break
4339 if test "x$ac_ct_CC" = x; then
4342 case $cross_compiling:$ac_tool_warned in
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4346 ac_tool_warned=yes ;;
4355 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4356 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
4357 as_fn_error $? "no acceptable C compiler found in \$PATH
4358 See \`config.log
' for more details" "$LINENO" 5; }
4360 # Provide some information about the compiler.
4361 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4364 for ac_option in --version -v -V -qversion; do
4365 { { ac_try="$ac_compiler $ac_option >&5"
4367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4368 *) ac_try_echo=$ac_try;;
4370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4371 $as_echo "$ac_try_echo"; } >&5
4372 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4374 if test -s conftest.err; then
4376 ... rest of stderr output deleted ...
4377 10q
' conftest.err >conftest.er1
4378 cat conftest.er1 >&5
4380 rm -f conftest.er1 conftest.err
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4386 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4387 if ${ac_cv_c_compiler_gnu+:} false; then :
4388 $as_echo_n "(cached) " >&6
4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4404 if ac_fn_c_try_compile "$LINENO"; then :
4409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4414 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4415 if test $ac_compiler_gnu = yes; then
4420 ac_test_CFLAGS=${CFLAGS+set}
4421 ac_save_CFLAGS=$CFLAGS
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4423 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4424 if ${ac_cv_prog_cc_g+:} false; then :
4425 $as_echo_n "(cached) " >&6
4427 ac_save_c_werror_flag=$ac_c_werror_flag
4428 ac_c_werror_flag=yes
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4442 if ac_fn_c_try_compile "$LINENO"; then :
4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4447 /* end confdefs.h. */
4457 if ac_fn_c_try_compile "$LINENO"; then :
4460 ac_c_werror_flag=$ac_save_c_werror_flag
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4473 if ac_fn_c_try_compile "$LINENO"; then :
4476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4481 ac_c_werror_flag=$ac_save_c_werror_flag
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4484 $as_echo "$ac_cv_prog_cc_g" >&6; }
4485 if test "$ac_test_CFLAGS" = set; then
4486 CFLAGS=$ac_save_CFLAGS
4487 elif test $ac_cv_prog_cc_g = yes; then
4488 if test "$GCC" = yes; then
4494 if test "$GCC" = yes; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4501 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4502 if ${ac_cv_prog_cc_c89+:} false; then :
4503 $as_echo_n "(cached) " >&6
4505 ac_cv_prog_cc_c89=no
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4511 #include <sys/types.h>
4512 #include <sys/stat.h>
4513 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4514 struct buf
{ int x
; };
4515 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4516 static char
*e
(p
, i
)
4522 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4527 s
= g
(p
, va_arg
(v
,int
));
4532 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4533 function prototypes and stuff
, but not
'\xHH' hex character constants.
4534 These don
't provoke an error unfortunately, instead are silently treated
4535 as 'x
'. The following induces an error, until -std is added to get
4536 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4537 array size at least. It's necessary to
write '\x00'==0 to get something
4538 that
's true only with -std. */
4539 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4541 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4542 inside strings and character constants. */
4544 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4546 int test (int i, double x);
4547 struct s1 {int (*f) (int a);};
4548 struct s2 {int (*f) (double a);};
4549 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4555 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4560 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4561 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4563 CC="$ac_save_CC $ac_arg"
4564 if ac_fn_c_try_compile "$LINENO"; then :
4565 ac_cv_prog_cc_c89=$ac_arg
4567 rm -f core conftest.err conftest.$ac_objext
4568 test "x$ac_cv_prog_cc_c89" != "xno" && break
4570 rm -f conftest.$ac_ext
4575 case "x$ac_cv_prog_cc_c89" in
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4578 $as_echo "none needed" >&6; } ;;
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4581 $as_echo "unsupported" >&6; } ;;
4583 CC="$CC $ac_cv_prog_cc_c89"
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4585 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4587 if test "x$ac_cv_prog_cc_c89" != xno; then :
4592 ac_cpp='$CXXCPP $CPPFLAGS'
4593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4594 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4597 depcc="$CC" am_compiler_list=
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4600 $as_echo_n "checking dependency style of $depcc... " >&6; }
4601 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4605 # We make a subdir and do the tests there. Otherwise we can end up
4606 # making bogus files that we don't know about and never remove. For
4607 # instance it was reported that on HP-UX the gcc test will end up
4608 # making a dummy file named `D' -- because `-MD' means `put the output
4611 # Copy depcomp to subdir because otherwise we won't find it if we're
4612 # using a relative directory.
4613 cp "$am_depcomp" conftest.dir
4615 # We will build objects and dependencies in a subdirectory because
4616 # it helps to detect inapplicable dependency modes. For instance
4617 # both Tru64's cc and ICC support -MD to output dependencies as a
4618 # side effect of compilation, but ICC will put the dependencies in
4619 # the current directory while Tru64 will put them in the object
4623 am_cv_CC_dependencies_compiler_type
=none
4624 if test "$am_compiler_list" = ""; then
4625 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4628 case " $depcc " in #(
4629 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4632 for depmode
in $am_compiler_list; do
4633 # Setup a source with many dependencies, because some compilers
4634 # like to wrap large dependency lists on column 80 (with \), and
4635 # we should not choose a depcomp mode which is confused by this.
4637 # We need to recreate these files for each test, as the compiler may
4638 # overwrite some of them when testing with obscure command lines.
4639 # This happens at least with the AIX C compiler.
4641 for i
in 1 2 3 4 5 6; do
4642 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4643 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4644 # Solaris 8's {/usr,}/bin/sh.
4645 touch sub
/conftst
$i.h
4647 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4649 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4650 # mode. It turns out that the SunPro C++ compiler does not properly
4651 # handle `-M -o', and we need to detect this. Also, some Intel
4652 # versions had trouble with output in subdirs
4653 am__obj
=sub
/conftest.
${OBJEXT-o}
4654 am__minus_obj
="-o $am__obj"
4657 # This depmode causes a compiler race in universal mode.
4658 test "$am__universal" = false ||
continue
4661 # after this tag, mechanisms are not by side-effect, so they'll
4662 # only be used when explicitly requested
4663 if test "x$enable_dependency_tracking" = xyes
; then
4669 msvisualcpp | msvcmsys
)
4670 # This compiler won't grok `-c -o', but also, the minuso test has
4671 # not run yet. These depmodes are late enough in the game, and
4672 # so weak that their functioning should not be impacted.
4673 am__obj
=conftest.
${OBJEXT-o}
4678 if depmode
=$depmode \
4679 source=sub
/conftest.c object
=$am__obj \
4680 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4681 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4682 >/dev
/null
2>conftest.err
&&
4683 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4684 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4685 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4686 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4687 # icc doesn't choke on unknown options, it will just issue warnings
4688 # or remarks (even with -Werror). So we grep stderr for any message
4689 # that says an option was ignored or not supported.
4690 # When given -MP, icc 7.0 and 7.1 complain thusly:
4691 # icc: Command line warning: ignoring option '-M'; no argument required
4692 # The diagnosis changed in icc 8.0:
4693 # icc: Command line remark: option '-MP' not supported
4694 if (grep 'ignoring option' conftest.err ||
4695 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4696 am_cv_CC_dependencies_compiler_type
=$depmode
4705 am_cv_CC_dependencies_compiler_type
=none
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4710 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4711 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4714 test "x$enable_dependency_tracking" != xno \
4715 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4717 am__fastdepCC_FALSE
='#'
4719 am__fastdepCC_TRUE
='#'
4720 am__fastdepCC_FALSE
=
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4725 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4726 if ${ac_cv_path_SED+:} false
; then :
4727 $as_echo_n "(cached) " >&6
4729 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4730 for ac_i
in 1 2 3 4 5 6 7; do
4731 ac_script
="$ac_script$as_nl$ac_script"
4733 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4734 { ac_script
=; unset ac_script
;}
4735 if test -z "$SED"; then
4736 ac_path_SED_found
=false
4737 # Loop through the user's path and test for each of PROGNAME-LIST
4738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir
=.
4743 for ac_prog
in sed gsed
; do
4744 for ac_exec_ext
in '' $ac_executable_extensions; do
4745 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4746 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4747 # Check for GNU ac_path_SED and select it if it is found.
4748 # Check for GNU $ac_path_SED
4749 case `"$ac_path_SED" --version 2>&1` in
4751 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4754 $as_echo_n 0123456789 >"conftest.in"
4757 cat "conftest.in" "conftest.in" >"conftest.tmp"
4758 mv "conftest.tmp" "conftest.in"
4759 cp "conftest.in" "conftest.nl"
4760 $as_echo '' >> "conftest.nl"
4761 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4762 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4763 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4764 if test $ac_count -gt ${ac_path_SED_max-0}; then
4765 # Best one so far, save it but keep looking for a better one
4766 ac_cv_path_SED
="$ac_path_SED"
4767 ac_path_SED_max
=$ac_count
4769 # 10*(2^10) chars as input seems more than enough
4770 test $ac_count -gt 10 && break
4772 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4775 $ac_path_SED_found && break 3
4780 if test -z "$ac_cv_path_SED"; then
4781 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4789 $as_echo "$ac_cv_path_SED" >&6; }
4790 SED
="$ac_cv_path_SED"
4793 test -z "$SED" && SED
=sed
4794 Xsed
="$SED -e 1s/^X//"
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4807 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4808 if ${ac_cv_path_GREP+:} false
; then :
4809 $as_echo_n "(cached) " >&6
4811 if test -z "$GREP"; then
4812 ac_path_GREP_found
=false
4813 # Loop through the user's path and test for each of PROGNAME-LIST
4814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4815 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4818 test -z "$as_dir" && as_dir
=.
4819 for ac_prog
in grep ggrep
; do
4820 for ac_exec_ext
in '' $ac_executable_extensions; do
4821 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4822 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4823 # Check for GNU ac_path_GREP and select it if it is found.
4824 # Check for GNU $ac_path_GREP
4825 case `"$ac_path_GREP" --version 2>&1` in
4827 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4830 $as_echo_n 0123456789 >"conftest.in"
4833 cat "conftest.in" "conftest.in" >"conftest.tmp"
4834 mv "conftest.tmp" "conftest.in"
4835 cp "conftest.in" "conftest.nl"
4836 $as_echo 'GREP' >> "conftest.nl"
4837 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4838 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4839 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4840 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4841 # Best one so far, save it but keep looking for a better one
4842 ac_cv_path_GREP
="$ac_path_GREP"
4843 ac_path_GREP_max
=$ac_count
4845 # 10*(2^10) chars as input seems more than enough
4846 test $ac_count -gt 10 && break
4848 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4851 $ac_path_GREP_found && break 3
4856 if test -z "$ac_cv_path_GREP"; then
4857 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4860 ac_cv_path_GREP
=$GREP
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4865 $as_echo "$ac_cv_path_GREP" >&6; }
4866 GREP
="$ac_cv_path_GREP"
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4870 $as_echo_n "checking for egrep... " >&6; }
4871 if ${ac_cv_path_EGREP+:} false
; then :
4872 $as_echo_n "(cached) " >&6
4874 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4875 then ac_cv_path_EGREP
="$GREP -E"
4877 if test -z "$EGREP"; then
4878 ac_path_EGREP_found
=false
4879 # Loop through the user's path and test for each of PROGNAME-LIST
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4881 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_prog
in egrep; do
4886 for ac_exec_ext
in '' $ac_executable_extensions; do
4887 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4888 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4889 # Check for GNU ac_path_EGREP and select it if it is found.
4890 # Check for GNU $ac_path_EGREP
4891 case `"$ac_path_EGREP" --version 2>&1` in
4893 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4896 $as_echo_n 0123456789 >"conftest.in"
4899 cat "conftest.in" "conftest.in" >"conftest.tmp"
4900 mv "conftest.tmp" "conftest.in"
4901 cp "conftest.in" "conftest.nl"
4902 $as_echo 'EGREP' >> "conftest.nl"
4903 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4904 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4905 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4906 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4907 # Best one so far, save it but keep looking for a better one
4908 ac_cv_path_EGREP
="$ac_path_EGREP"
4909 ac_path_EGREP_max
=$ac_count
4911 # 10*(2^10) chars as input seems more than enough
4912 test $ac_count -gt 10 && break
4914 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4917 $ac_path_EGREP_found && break 3
4922 if test -z "$ac_cv_path_EGREP"; then
4923 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4926 ac_cv_path_EGREP
=$EGREP
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4932 $as_echo "$ac_cv_path_EGREP" >&6; }
4933 EGREP
="$ac_cv_path_EGREP"
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4937 $as_echo_n "checking for fgrep... " >&6; }
4938 if ${ac_cv_path_FGREP+:} false
; then :
4939 $as_echo_n "(cached) " >&6
4941 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4942 then ac_cv_path_FGREP
="$GREP -F"
4944 if test -z "$FGREP"; then
4945 ac_path_FGREP_found
=false
4946 # Loop through the user's path and test for each of PROGNAME-LIST
4947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4948 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4951 test -z "$as_dir" && as_dir
=.
4952 for ac_prog
in fgrep
; do
4953 for ac_exec_ext
in '' $ac_executable_extensions; do
4954 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4955 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4956 # Check for GNU ac_path_FGREP and select it if it is found.
4957 # Check for GNU $ac_path_FGREP
4958 case `"$ac_path_FGREP" --version 2>&1` in
4960 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4963 $as_echo_n 0123456789 >"conftest.in"
4966 cat "conftest.in" "conftest.in" >"conftest.tmp"
4967 mv "conftest.tmp" "conftest.in"
4968 cp "conftest.in" "conftest.nl"
4969 $as_echo 'FGREP' >> "conftest.nl"
4970 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4971 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4972 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4973 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4974 # Best one so far, save it but keep looking for a better one
4975 ac_cv_path_FGREP
="$ac_path_FGREP"
4976 ac_path_FGREP_max
=$ac_count
4978 # 10*(2^10) chars as input seems more than enough
4979 test $ac_count -gt 10 && break
4981 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4984 $ac_path_FGREP_found && break 3
4989 if test -z "$ac_cv_path_FGREP"; then
4990 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4993 ac_cv_path_FGREP
=$FGREP
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4999 $as_echo "$ac_cv_path_FGREP" >&6; }
5000 FGREP
="$ac_cv_path_FGREP"
5003 test -z "$GREP" && GREP
=grep
5023 # Check whether --with-gnu-ld was given.
5024 if test "${with_gnu_ld+set}" = set; then :
5025 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5031 if test "$GCC" = yes; then
5032 # Check if gcc -print-prog-name=ld gives a path.
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5034 $as_echo_n "checking for ld used by $CC... " >&6; }
5037 # gcc leaves a trailing carriage return which upsets mingw
5038 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5040 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5043 # Accept absolute paths.
5045 re_direlt
='/[^/][^/]*/\.\./'
5046 # Canonicalize the pathname of ld
5047 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5048 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5049 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5051 test -z "$LD" && LD
="$ac_prog"
5054 # If it fails, then pretend we aren't using GCC.
5058 # If it is relative, then search for the first ld in PATH.
5062 elif test "$with_gnu_ld" = yes; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5064 $as_echo_n "checking for GNU ld... " >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5067 $as_echo_n "checking for non-GNU ld... " >&6; }
5069 if ${lt_cv_path_LD+:} false
; then :
5070 $as_echo_n "(cached) " >&6
5072 if test -z "$LD"; then
5073 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5074 for ac_dir
in $PATH; do
5076 test -z "$ac_dir" && ac_dir
=.
5077 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5078 lt_cv_path_LD
="$ac_dir/$ac_prog"
5079 # Check to see if the program is GNU ld. I'd rather use --version,
5080 # but apparently some variants of GNU ld only accept -v.
5081 # Break only if it was the GNU/non-GNU ld that we prefer.
5082 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5083 *GNU
* |
*'with BFD'*)
5084 test "$with_gnu_ld" != no
&& break
5087 test "$with_gnu_ld" != yes && break
5094 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5099 if test -n "$LD"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5101 $as_echo "$LD" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5106 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5108 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5109 if ${lt_cv_prog_gnu_ld+:} false
; then :
5110 $as_echo_n "(cached) " >&6
5112 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5113 case `$LD -v 2>&1 </dev/null` in
5114 *GNU
* |
*'with BFD'*)
5115 lt_cv_prog_gnu_ld
=yes
5118 lt_cv_prog_gnu_ld
=no
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5123 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5124 with_gnu_ld
=$lt_cv_prog_gnu_ld
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5135 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5136 if ${lt_cv_path_NM+:} false
; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$NM"; then
5140 # Let the user override the test.
5143 lt_nm_to_check
="${ac_tool_prefix}nm"
5144 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5145 lt_nm_to_check
="$lt_nm_to_check nm"
5147 for lt_tmp_nm
in $lt_nm_to_check; do
5148 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5149 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5151 test -z "$ac_dir" && ac_dir
=.
5152 tmp_nm
="$ac_dir/$lt_tmp_nm"
5153 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5154 # Check to see if the nm accepts a BSD-compat flag.
5155 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5156 # nm: unknown option "B" ignored
5157 # Tru64's nm complains that /dev/null is an invalid object file
5158 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5159 */dev
/null
* |
*'Invalid file or object type'*)
5160 lt_cv_path_NM
="$tmp_nm -B"
5164 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5166 lt_cv_path_NM
="$tmp_nm -p"
5170 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5171 continue # so that we can try to find one that supports BSD flags
5180 : ${lt_cv_path_NM=no}
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5184 $as_echo "$lt_cv_path_NM" >&6; }
5185 if test "$lt_cv_path_NM" != "no"; then
5188 # Didn't find any BSD compatible name lister, look for dumpbin.
5189 if test -n "$DUMPBIN"; then :
5190 # Let the user override the test.
5192 if test -n "$ac_tool_prefix"; then
5193 for ac_prog
in dumpbin
"link -dump"
5195 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5196 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5200 $as_echo_n "(cached) " >&6
5202 if test -n "$DUMPBIN"; then
5203 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5209 test -z "$as_dir" && as_dir
=.
5210 for ac_exec_ext
in '' $ac_executable_extensions; do
5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 DUMPBIN
=$ac_cv_prog_DUMPBIN
5223 if test -n "$DUMPBIN"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5225 $as_echo "$DUMPBIN" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5232 test -n "$DUMPBIN" && break
5235 if test -z "$DUMPBIN"; then
5236 ac_ct_DUMPBIN
=$DUMPBIN
5237 for ac_prog
in dumpbin
"link -dump"
5239 # Extract the first word of "$ac_prog", so it can be a program name with args.
5240 set dummy
$ac_prog; ac_word
=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5244 $as_echo_n "(cached) " >&6
5246 if test -n "$ac_ct_DUMPBIN"; then
5247 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5253 test -z "$as_dir" && as_dir
=.
5254 for ac_exec_ext
in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5267 if test -n "$ac_ct_DUMPBIN"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5269 $as_echo "$ac_ct_DUMPBIN" >&6; }
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5276 test -n "$ac_ct_DUMPBIN" && break
5279 if test "x$ac_ct_DUMPBIN" = x
; then
5282 case $cross_compiling:$ac_tool_warned in
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5286 ac_tool_warned
=yes ;;
5288 DUMPBIN
=$ac_ct_DUMPBIN
5292 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5294 DUMPBIN
="$DUMPBIN -symbols"
5302 if test "$DUMPBIN" != ":"; then
5306 test -z "$NM" && NM
=nm
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5314 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5315 if ${lt_cv_nm_interface+:} false
; then :
5316 $as_echo_n "(cached) " >&6
5318 lt_cv_nm_interface
="BSD nm"
5319 echo "int some_variable = 0;" > conftest.
$ac_ext
5320 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5321 (eval "$ac_compile" 2>conftest.err
)
5322 cat conftest.err
>&5
5323 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5324 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5325 cat conftest.err
>&5
5326 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5327 cat conftest.out
>&5
5328 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5329 lt_cv_nm_interface
="MS dumpbin"
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5334 $as_echo "$lt_cv_nm_interface" >&6; }
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5337 $as_echo_n "checking whether ln -s works... " >&6; }
5339 if test "$LN_S" = "ln -s"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5341 $as_echo "yes" >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5344 $as_echo "no, using $LN_S" >&6; }
5347 # find the maximum length of command line arguments
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5349 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5350 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5351 $as_echo_n "(cached) " >&6
5358 # On DJGPP, this test can blow up pretty badly due to problems in libc
5359 # (any single argument exceeding 2000 bytes causes a buffer overrun
5360 # during glob expansion). Even if it were fixed, the result of this
5361 # check would be larger than it should be.
5362 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5366 # Under GNU Hurd, this test is not required because there is
5367 # no limit to the length of command line arguments.
5368 # Libtool will interpret -1 as no limit whatsoever
5369 lt_cv_sys_max_cmd_len
=-1;
5372 cygwin
* | mingw
* | cegcc
*)
5373 # On Win9x/ME, this test blows up -- it succeeds, but takes
5374 # about 5 minutes as the teststring grows exponentially.
5375 # Worse, since 9x/ME are not pre-emptively multitasking,
5376 # you end up with a "frozen" computer, even though with patience
5377 # the test eventually succeeds (with a max line length of 256k).
5378 # Instead, let's just punt: use the minimum linelength reported by
5379 # all of the supported platforms: 8192 (on NT/2K/XP).
5380 lt_cv_sys_max_cmd_len
=8192;
5384 # On MiNT this can take a long time and run out of memory.
5385 lt_cv_sys_max_cmd_len
=8192;
5389 # On AmigaOS with pdksh, this test takes hours, literally.
5390 # So we just punt and use a minimum line length of 8192.
5391 lt_cv_sys_max_cmd_len
=8192;
5394 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5395 # This has been around since 386BSD, at least. Likely further.
5396 if test -x /sbin
/sysctl
; then
5397 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5398 elif test -x /usr
/sbin
/sysctl
; then
5399 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5401 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5403 # And add a safety zone
5404 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5405 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5409 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5410 lt_cv_sys_max_cmd_len
=196608
5414 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5415 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5416 # nice to cause kernel panics so lets avoid the loop below.
5417 # First set a reasonable default.
5418 lt_cv_sys_max_cmd_len
=16384
5420 if test -x /sbin
/sysconfig
; then
5421 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5422 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5427 lt_cv_sys_max_cmd_len
=102400
5429 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5430 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5431 if test -n "$kargmax"; then
5432 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5434 lt_cv_sys_max_cmd_len
=32768
5438 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5439 if test -n "$lt_cv_sys_max_cmd_len"; then
5440 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5441 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5443 # Make teststring a little bigger before we do anything with it.
5444 # a 1K string should be a reasonable start.
5445 for i
in 1 2 3 4 5 6 7 8 ; do
5446 teststring
=$teststring$teststring
5448 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5449 # If test is not a shell built-in, we'll probably end up computing a
5450 # maximum length that is only half of the actual maximum length, but
5452 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5453 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5454 test $i != 17 # 1/2 MB should be enough
5457 teststring
=$teststring$teststring
5459 # Only check the string length outside the loop.
5460 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5462 # Add a significant safety factor because C++ compilers can tack on
5463 # massive amounts of additional arguments before passing them to the
5464 # linker. It appears as though 1/2 is a usable value.
5465 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5472 if test -n $lt_cv_sys_max_cmd_len ; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5474 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5477 $as_echo "none" >&6; }
5479 max_cmd_len
=$lt_cv_sys_max_cmd_len
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5491 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5492 # Try some XSI features
5495 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5497 && eval 'test $(( 1 + 1 )) -eq 2 \
5498 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5501 $as_echo "$xsi_shell" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5505 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5507 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5509 && lt_shell_append=yes
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5511 $as_echo "$lt_shell_append" >&6; }
5514 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5524 # test EBCDIC or ASCII
5525 case `echo X|tr X '\101'` in
5526 A) # ASCII based system
5527 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5528 lt_SP2NL='tr \040 \012'
5529 lt_NL2SP='tr \015\012 \040\040'
5531 *) # EBCDIC based system
5532 lt_SP2NL='tr \100 \n'
5533 lt_NL2SP='tr \r\n \100\100'
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5546 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5547 if ${lt_cv_ld_reload_flag+:} false; then :
5548 $as_echo_n "(cached
) " >&6
5550 lt_cv_ld_reload_flag='-r'
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5553 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5554 reload_flag=$lt_cv_ld_reload_flag
5555 case $reload_flag in
5557 *) reload_flag=" $reload_flag" ;;
5559 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5562 if test "$GCC" = yes; then
5563 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5565 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5578 if test -n "$ac_tool_prefix"; then
5579 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5580 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5582 $as_echo_n "checking
for $ac_word...
" >&6; }
5583 if ${ac_cv_prog_OBJDUMP+:} false; then :
5584 $as_echo_n "(cached
) " >&6
5586 if test -n "$OBJDUMP"; then
5587 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 test -z "$as_dir" && as_dir=.
5594 for ac_exec_ext in '' $ac_executable_extensions; do
5595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5596 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5597 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5606 OBJDUMP=$ac_cv_prog_OBJDUMP
5607 if test -n "$OBJDUMP"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5609 $as_echo "$OBJDUMP" >&6; }
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5612 $as_echo "no
" >&6; }
5617 if test -z "$ac_cv_prog_OBJDUMP"; then
5618 ac_ct_OBJDUMP=$OBJDUMP
5619 # Extract the first word of "objdump
", so it can be a program name with args.
5620 set dummy objdump; ac_word=$2
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5622 $as_echo_n "checking
for $ac_word...
" >&6; }
5623 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5624 $as_echo_n "(cached
) " >&6
5626 if test -n "$ac_ct_OBJDUMP"; then
5627 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 test -z "$as_dir" && as_dir=.
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5636 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5646 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5647 if test -n "$ac_ct_OBJDUMP"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5649 $as_echo "$ac_ct_OBJDUMP" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5652 $as_echo "no
" >&6; }
5655 if test "x
$ac_ct_OBJDUMP" = x; then
5658 case $cross_compiling:$ac_tool_warned in
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5661 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5662 ac_tool_warned=yes ;;
5664 OBJDUMP=$ac_ct_OBJDUMP
5667 OBJDUMP="$ac_cv_prog_OBJDUMP"
5670 test -z "$OBJDUMP" && OBJDUMP=objdump
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5678 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5679 if ${lt_cv_deplibs_check_method+:} false; then :
5680 $as_echo_n "(cached
) " >&6
5682 lt_cv_file_magic_cmd='$MAGIC_CMD'
5683 lt_cv_file_magic_test_file=
5684 lt_cv_deplibs_check_method='unknown'
5685 # Need to set the preceding variable on all platforms that support
5686 # interlibrary dependencies.
5687 # 'none' -- dependencies not supported.
5688 # `unknown' -- same as none, but documents that we really don't know.
5689 # 'pass_all' -- all dependencies passed with no checks.
5690 # 'test_compile' -- check by making test program.
5691 # 'file_magic [[regex]]' -- check by looking for files in library path
5692 # which responds to the $file_magic_cmd with a given extended regex.
5693 # If you have `file' or equivalent on your system and you're not sure
5694 # whether `pass_all' will *always* work, you probably want this one.
5698 lt_cv_deplibs_check_method=pass_all
5702 lt_cv_deplibs_check_method=pass_all
5706 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5707 lt_cv_file_magic_cmd='/usr/bin/file -L'
5708 lt_cv_file_magic_test_file=/shlib/libc.so
5712 # func_win32_libid is a shell function defined in ltmain.sh
5713 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5714 lt_cv_file_magic_cmd='func_win32_libid'
5718 # Base MSYS/MinGW do not provide the 'file' command needed by
5719 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5720 # unless we find 'file', for example because we are cross-compiling.
5721 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5722 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5723 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5724 lt_cv_file_magic_cmd='func_win32_libid'
5726 # Keep this pattern in sync with the one in func_win32_libid.
5727 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5728 lt_cv_file_magic_cmd='$OBJDUMP -f'
5733 # use the weaker test based on 'objdump'. See mingw*.
5734 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5735 lt_cv_file_magic_cmd='$OBJDUMP -f'
5738 darwin* | rhapsody*)
5739 lt_cv_deplibs_check_method=pass_all
5742 freebsd* | dragonfly*)
5743 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5746 # Not sure whether the presence of OpenBSD here was a mistake.
5747 # Let's accept both of them until this is cleared up.
5748 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5749 lt_cv_file_magic_cmd=/usr/bin/file
5750 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5754 lt_cv_deplibs_check_method=pass_all
5759 lt_cv_deplibs_check_method=pass_all
5763 lt_cv_deplibs_check_method=pass_all
5766 hpux10.20* | hpux11*)
5767 lt_cv_file_magic_cmd=/usr/bin/file
5770 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5771 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5774 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]'
5775 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5778 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5779 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5785 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5786 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5789 irix5* | irix6* | nonstopux*)
5791 *-32|*"-32 ") libmagic=32-bit;;
5792 *-n32|*"-n32 ") libmagic=N32;;
5793 *-64|*"-64 ") libmagic=64-bit;;
5794 *) libmagic=never-match;;
5796 lt_cv_deplibs_check_method=pass_all
5799 # This must be Linux ELF.
5800 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5801 lt_cv_deplibs_check_method=pass_all
5805 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5806 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5808 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5813 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5814 lt_cv_file_magic_cmd=/usr/bin/file
5815 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5819 lt_cv_deplibs_check_method=pass_all
5823 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5824 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5826 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5830 osf3* | osf4* | osf5*)
5831 lt_cv_deplibs_check_method=pass_all
5835 lt_cv_deplibs_check_method=pass_all
5839 lt_cv_deplibs_check_method=pass_all
5842 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5843 lt_cv_deplibs_check_method=pass_all
5847 case $host_vendor in
5849 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]'
5850 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5853 lt_cv_deplibs_check_method=pass_all
5856 lt_cv_file_magic_cmd='/bin/file'
5857 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5860 lt_cv_file_magic_cmd='/bin/file'
5861 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5862 lt_cv_file_magic_test_file=/lib/libc.so
5865 lt_cv_deplibs_check_method=pass_all
5868 lt_cv_deplibs_check_method=pass_all
5874 lt_cv_deplibs_check_method=pass_all
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5880 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5881 file_magic_cmd=$lt_cv_file_magic_cmd
5882 deplibs_check_method=$lt_cv_deplibs_check_method
5883 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5896 if test -n "$ac_tool_prefix"; then
5897 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5898 set dummy ${ac_tool_prefix}ar; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5900 $as_echo_n "checking
for $ac_word...
" >&6; }
5901 if ${ac_cv_prog_AR+:} false; then :
5902 $as_echo_n "(cached
) " >&6
5904 if test -n "$AR"; then
5905 ac_cv_prog_AR="$AR" # Let the user override the test.
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5914 ac_cv_prog_AR="${ac_tool_prefix}ar"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5925 if test -n "$AR"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5927 $as_echo "$AR" >&6; }
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5930 $as_echo "no
" >&6; }
5935 if test -z "$ac_cv_prog_AR"; then
5937 # Extract the first word of "ar", so it can be a program name with args.
5938 set dummy ar; ac_word=$2
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5940 $as_echo_n "checking
for $ac_word...
" >&6; }
5941 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5942 $as_echo_n "(cached
) " >&6
5944 if test -n "$ac_ct_AR"; then
5945 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5951 test -z "$as_dir" && as_dir=.
5952 for ac_exec_ext in '' $ac_executable_extensions; do
5953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5954 ac_cv_prog_ac_ct_AR="ar"
5955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5964 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5965 if test -n "$ac_ct_AR"; then
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5967 $as_echo "$ac_ct_AR" >&6; }
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5970 $as_echo "no
" >&6; }
5973 if test "x
$ac_ct_AR" = x; then
5976 case $cross_compiling:$ac_tool_warned in
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5979 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5980 ac_tool_warned=yes ;;
5988 test -z "$AR" && AR=ar
5989 test -z "$AR_FLAGS" && AR_FLAGS=cru
6001 if test -n "$ac_tool_prefix"; then
6002 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6003 set dummy ${ac_tool_prefix}strip; ac_word=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6005 $as_echo_n "checking
for $ac_word...
" >&6; }
6006 if ${ac_cv_prog_STRIP+:} false; then :
6007 $as_echo_n "(cached
) " >&6
6009 if test -n "$STRIP"; then
6010 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6029 STRIP=$ac_cv_prog_STRIP
6030 if test -n "$STRIP"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6032 $as_echo "$STRIP" >&6; }
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6035 $as_echo "no
" >&6; }
6040 if test -z "$ac_cv_prog_STRIP"; then
6042 # Extract the first word of "strip
", so it can be a program name with args.
6043 set dummy strip; ac_word=$2
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6045 $as_echo_n "checking
for $ac_word...
" >&6; }
6046 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6047 $as_echo_n "(cached
) " >&6
6049 if test -n "$ac_ct_STRIP"; then
6050 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 test -z "$as_dir" && as_dir=.
6057 for ac_exec_ext in '' $ac_executable_extensions; do
6058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6059 ac_cv_prog_ac_ct_STRIP="strip
"
6060 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6069 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6070 if test -n "$ac_ct_STRIP"; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6072 $as_echo "$ac_ct_STRIP" >&6; }
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6075 $as_echo "no
" >&6; }
6078 if test "x
$ac_ct_STRIP" = x; then
6081 case $cross_compiling:$ac_tool_warned in
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6084 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6085 ac_tool_warned=yes ;;
6090 STRIP="$ac_cv_prog_STRIP"
6093 test -z "$STRIP" && STRIP=:
6100 if test -n "$ac_tool_prefix"; then
6101 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6102 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6104 $as_echo_n "checking
for $ac_word...
" >&6; }
6105 if ${ac_cv_prog_RANLIB+:} false; then :
6106 $as_echo_n "(cached
) " >&6
6108 if test -n "$RANLIB"; then
6109 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 test -z "$as_dir" && as_dir=.
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6118 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6128 RANLIB=$ac_cv_prog_RANLIB
6129 if test -n "$RANLIB"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6131 $as_echo "$RANLIB" >&6; }
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6134 $as_echo "no
" >&6; }
6139 if test -z "$ac_cv_prog_RANLIB"; then
6140 ac_ct_RANLIB=$RANLIB
6141 # Extract the first word of "ranlib
", so it can be a program name with args.
6142 set dummy ranlib; ac_word=$2
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6144 $as_echo_n "checking
for $ac_word...
" >&6; }
6145 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6146 $as_echo_n "(cached
) " >&6
6148 if test -n "$ac_ct_RANLIB"; then
6149 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6158 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6168 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6169 if test -n "$ac_ct_RANLIB"; then
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6171 $as_echo "$ac_ct_RANLIB" >&6; }
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6174 $as_echo "no
" >&6; }
6177 if test "x
$ac_ct_RANLIB" = x; then
6180 case $cross_compiling:$ac_tool_warned in
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6183 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6184 ac_tool_warned=yes ;;
6186 RANLIB=$ac_ct_RANLIB
6189 RANLIB="$ac_cv_prog_RANLIB"
6192 test -z "$RANLIB" && RANLIB=:
6199 # Determine commands to create old-style static archives.
6200 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6201 old_postinstall_cmds='chmod 644 $oldlib'
6202 old_postuninstall_cmds=
6204 if test -n "$RANLIB"; then
6207 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6210 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6213 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6218 lock_old_archive_extraction=yes ;;
6220 lock_old_archive_extraction=no ;;
6261 # If no C compiler was specified, use CC.
6264 # If no C compiler flags were specified, use CFLAGS.
6265 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6267 # Allow CC to be a program name with arguments.
6271 # Check for command to grab the raw symbol name followed by C symbol from nm.
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6273 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6274 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6275 $as_echo_n "(cached
) " >&6
6278 # These are sane defaults that work on at least a few old systems.
6279 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6281 # Character class describing NM global symbol codes.
6282 symcode='[BCDEGRST]'
6284 # Regexp to match symbols that can be accessed directly from C.
6285 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6287 # Define system-specific variables.
6292 cygwin* | mingw* | pw32* | cegcc*)
6293 symcode='[ABCDGISTW]'
6296 if test "$host_cpu" = ia64; then
6297 symcode='[ABCDEGRST]'
6301 symcode='[BCDEGRST]'
6304 symcode='[BCDEGQRST]'
6315 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6323 # If we're using GNU nm, then use its standard symbol codes.
6324 case `$NM -V 2>&1` in
6325 *GNU* | *'with BFD'*)
6326 symcode='[ABCDGIRSTW]' ;;
6329 # Transform an extracted symbol line into a proper C declaration.
6330 # Some systems (esp. on ia64) link data and code symbols differently,
6331 # so use this general approach.
6332 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6334 # Transform an extracted symbol line into symbol name and symbol address
6335 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6336 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'"
6338 # Handle CRLF in mingw tool chain
6342 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6346 # Try without a prefix underscore, then with it.
6347 for ac_symprfx in "" "_
"; do
6349 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6350 symxfrm="\\1 $ac_symprfx\\2 \\2"
6352 # Write the raw and C identifiers.
6353 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6354 # Fake it for dumpbin and say T for any non-static function
6355 # and D for any global variable.
6356 # Also find C++ and __fastcall symbols from MSVC++,
6357 # which start with @ or ?.
6358 lt_cv_sys_global_symbol_pipe="$AWK '"\
6359 " {last_section=section; section=\$ 3};"\
6360 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6361 " \$ 0!~/External *\|/{next};"\
6362 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6363 " {if(hide[section]) next};"\
6364 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6365 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6366 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6367 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6368 " ' prfx
=^
$ac_symprfx"
6370 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6373 # Check to see that the pipe works correctly.
6377 cat > conftest.$ac_ext <<_LT_EOF
6382 void nm_test_func(void);
6383 void nm_test_func(void){}
6387 int main(){nm_test_var='a';nm_test_func();return(0);}
6390 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6391 (eval $ac_compile) 2>&5
6393 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6394 test $ac_status = 0; }; then
6395 # Now try to grab the symbols.
6397 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6398 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6400 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6401 test $ac_status = 0; } && test -s "$nlist"; then
6402 # Try sorting and uniquifying the output.
6403 if sort "$nlist" | uniq > "$nlist"T; then
6404 mv -f "$nlist"T "$nlist"
6409 # Make sure that we snagged all the symbols we need.
6410 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6411 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6412 cat <<_LT_EOF > conftest.$ac_ext
6418 # Now generate the symbol file.
6419 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6421 cat <<_LT_EOF >> conftest.$ac_ext
6423 /* The mapping between symbol names and symbols. */
6428 lt__PROGRAM__LTX_preloaded_symbols[] =
6430 { "@PROGRAM@
", (void *) 0 },
6432 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6433 cat <<\_LT_EOF >> conftest.$ac_ext
6437 /* This works around a problem in FreeBSD linker */
6438 #ifdef FREEBSD_WORKAROUND
6439 static const void *lt_preloaded_setup() {
6440 return lt__PROGRAM__LTX_preloaded_symbols;
6448 # Now try linking the two files.
6449 mv conftest.$ac_objext conftstm.$ac_objext
6450 lt_save_LIBS="$LIBS"
6451 lt_save_CFLAGS="$CFLAGS"
6452 LIBS="conftstm.
$ac_objext"
6453 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6454 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6455 (eval $ac_link) 2>&5
6457 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6458 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6461 LIBS="$lt_save_LIBS"
6462 CFLAGS="$lt_save_CFLAGS"
6464 echo "cannot
find nm_test_func
in $nlist" >&5
6467 echo "cannot
find nm_test_var
in $nlist" >&5
6470 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6473 echo "$progname: failed program was
:" >&5
6474 cat conftest.$ac_ext >&5
6476 rm -rf conftest* conftst*
6478 # Do not use the global_symbol_pipe unless it works.
6479 if test "$pipe_works" = yes; then
6482 lt_cv_sys_global_symbol_pipe=
6488 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6489 lt_cv_sys_global_symbol_to_cdecl=
6491 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6493 $as_echo "failed
" >&6; }
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6496 $as_echo "ok
" >&6; }
6521 # Check whether --enable-libtool-lock was given.
6522 if test "${enable_libtool_lock+set}" = set; then :
6523 enableval=$enable_libtool_lock;
6526 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6528 # Some flags need to be propagated to the compiler or linker for good
6532 # Find out which ABI we are using.
6533 echo 'int i;' > conftest.$ac_ext
6534 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6535 (eval $ac_compile) 2>&5
6537 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6538 test $ac_status = 0; }; then
6539 case `/usr/bin/file conftest.$ac_objext` in
6551 # Find out which ABI we are using.
6552 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6553 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6554 (eval $ac_compile) 2>&5
6556 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6557 test $ac_status = 0; }; then
6558 if test "$lt_cv_prog_gnu_ld" = yes; then
6559 case `/usr/bin/file conftest.$ac_objext` in
6561 LD="${LD-ld} -melf32bsmip"
6564 LD="${LD-ld} -melf32bmipn32"
6567 LD="${LD-ld} -melf64bmip"
6571 case `/usr/bin/file conftest.$ac_objext` in
6587 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6588 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6589 # Find out which ABI we are using.
6590 echo 'int i;' > conftest.$ac_ext
6591 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6592 (eval $ac_compile) 2>&5
6594 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6595 test $ac_status = 0; }; then
6596 case `/usr/bin/file conftest.o` in
6599 x86_64-*kfreebsd*-gnu)
6600 LD="${LD-ld} -m elf_i386_fbsd
"
6603 LD="${LD-ld} -m elf_i386
"
6605 ppc64-*linux*|powerpc64-*linux*)
6606 LD="${LD-ld} -m elf32ppclinux
"
6609 LD="${LD-ld} -m elf_s390
"
6612 LD="${LD-ld} -m elf32_sparc
"
6618 x86_64-*kfreebsd*-gnu)
6619 LD="${LD-ld} -m elf_x86_64_fbsd
"
6622 LD="${LD-ld} -m elf_x86_64
"
6624 ppc*-*linux*|powerpc*-*linux*)
6625 LD="${LD-ld} -m elf64ppc
"
6627 s390*-*linux*|s390*-*tpf*)
6628 LD="${LD-ld} -m elf64_s390
"
6631 LD="${LD-ld} -m elf64_sparc
"
6641 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6642 SAVE_CFLAGS="$CFLAGS"
6643 CFLAGS="$CFLAGS -belf"
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6645 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6646 if ${lt_cv_cc_needs_belf+:} false; then :
6647 $as_echo_n "(cached
) " >&6
6650 ac_cpp='$CPP $CPPFLAGS'
6651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6656 /* end confdefs.h. */
6666 if ac_fn_c_try_link "$LINENO"; then :
6667 lt_cv_cc_needs_belf=yes
6669 lt_cv_cc_needs_belf=no
6671 rm -f core conftest.err conftest.$ac_objext \
6672 conftest$ac_exeext conftest.$ac_ext
6674 ac_cpp='$CPP $CPPFLAGS'
6675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6681 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6682 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6683 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6684 CFLAGS="$SAVE_CFLAGS"
6688 # Find out which ABI we are using.
6689 echo 'int i;' > conftest.$ac_ext
6690 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6691 (eval $ac_compile) 2>&5
6693 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6694 test $ac_status = 0; }; then
6695 case `/usr/bin/file conftest.o` in
6697 case $lt_cv_prog_gnu_ld in
6698 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6700 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6712 need_locks="$enable_libtool_lock"
6716 rhapsody* | darwin*)
6717 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6719 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6721 $as_echo_n "checking
for $ac_word...
" >&6; }
6722 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6723 $as_echo_n "(cached
) " >&6
6725 if test -n "$DSYMUTIL"; then
6726 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6745 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6746 if test -n "$DSYMUTIL"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6748 $as_echo "$DSYMUTIL" >&6; }
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6751 $as_echo "no
" >&6; }
6756 if test -z "$ac_cv_prog_DSYMUTIL"; then
6757 ac_ct_DSYMUTIL=$DSYMUTIL
6758 # Extract the first word of "dsymutil
", so it can be a program name with args.
6759 set dummy dsymutil; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6761 $as_echo_n "checking
for $ac_word...
" >&6; }
6762 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6763 $as_echo_n "(cached
) " >&6
6765 if test -n "$ac_ct_DSYMUTIL"; then
6766 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6785 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6786 if test -n "$ac_ct_DSYMUTIL"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6788 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6791 $as_echo "no
" >&6; }
6794 if test "x
$ac_ct_DSYMUTIL" = x; then
6797 case $cross_compiling:$ac_tool_warned in
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6800 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6801 ac_tool_warned=yes ;;
6803 DSYMUTIL=$ac_ct_DSYMUTIL
6806 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6809 if test -n "$ac_tool_prefix"; then
6810 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6811 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6813 $as_echo_n "checking
for $ac_word...
" >&6; }
6814 if ${ac_cv_prog_NMEDIT+:} false; then :
6815 $as_echo_n "(cached
) " >&6
6817 if test -n "$NMEDIT"; then
6818 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824 test -z "$as_dir" && as_dir=.
6825 for ac_exec_ext in '' $ac_executable_extensions; do
6826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6827 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6837 NMEDIT=$ac_cv_prog_NMEDIT
6838 if test -n "$NMEDIT"; then
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6840 $as_echo "$NMEDIT" >&6; }
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6843 $as_echo "no
" >&6; }
6848 if test -z "$ac_cv_prog_NMEDIT"; then
6849 ac_ct_NMEDIT=$NMEDIT
6850 # Extract the first word of "nmedit
", so it can be a program name with args.
6851 set dummy nmedit; ac_word=$2
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6853 $as_echo_n "checking
for $ac_word...
" >&6; }
6854 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6855 $as_echo_n "(cached
) " >&6
6857 if test -n "$ac_ct_NMEDIT"; then
6858 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6864 test -z "$as_dir" && as_dir=.
6865 for ac_exec_ext in '' $ac_executable_extensions; do
6866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6867 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6877 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6878 if test -n "$ac_ct_NMEDIT"; then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6880 $as_echo "$ac_ct_NMEDIT" >&6; }
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6883 $as_echo "no
" >&6; }
6886 if test "x
$ac_ct_NMEDIT" = x; then
6889 case $cross_compiling:$ac_tool_warned in
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6892 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6893 ac_tool_warned=yes ;;
6895 NMEDIT=$ac_ct_NMEDIT
6898 NMEDIT="$ac_cv_prog_NMEDIT"
6901 if test -n "$ac_tool_prefix"; then
6902 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6903 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6905 $as_echo_n "checking
for $ac_word...
" >&6; }
6906 if ${ac_cv_prog_LIPO+:} false; then :
6907 $as_echo_n "(cached
) " >&6
6909 if test -n "$LIPO"; then
6910 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6916 test -z "$as_dir" && as_dir=.
6917 for ac_exec_ext in '' $ac_executable_extensions; do
6918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6919 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6920 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6929 LIPO=$ac_cv_prog_LIPO
6930 if test -n "$LIPO"; then
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6932 $as_echo "$LIPO" >&6; }
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6935 $as_echo "no
" >&6; }
6940 if test -z "$ac_cv_prog_LIPO"; then
6942 # Extract the first word of "lipo
", so it can be a program name with args.
6943 set dummy lipo; ac_word=$2
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6945 $as_echo_n "checking
for $ac_word...
" >&6; }
6946 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6947 $as_echo_n "(cached
) " >&6
6949 if test -n "$ac_ct_LIPO"; then
6950 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 test -z "$as_dir" && as_dir=.
6957 for ac_exec_ext in '' $ac_executable_extensions; do
6958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6959 ac_cv_prog_ac_ct_LIPO="lipo
"
6960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6969 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6970 if test -n "$ac_ct_LIPO"; then
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6972 $as_echo "$ac_ct_LIPO" >&6; }
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6975 $as_echo "no
" >&6; }
6978 if test "x
$ac_ct_LIPO" = x; then
6981 case $cross_compiling:$ac_tool_warned in
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6984 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6985 ac_tool_warned=yes ;;
6990 LIPO="$ac_cv_prog_LIPO"
6993 if test -n "$ac_tool_prefix"; then
6994 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6995 set dummy ${ac_tool_prefix}otool; ac_word=$2
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6997 $as_echo_n "checking
for $ac_word...
" >&6; }
6998 if ${ac_cv_prog_OTOOL+:} false; then :
6999 $as_echo_n "(cached
) " >&6
7001 if test -n "$OTOOL"; then
7002 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7008 test -z "$as_dir" && as_dir=.
7009 for ac_exec_ext in '' $ac_executable_extensions; do
7010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7011 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7021 OTOOL=$ac_cv_prog_OTOOL
7022 if test -n "$OTOOL"; then
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7024 $as_echo "$OTOOL" >&6; }
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7027 $as_echo "no
" >&6; }
7032 if test -z "$ac_cv_prog_OTOOL"; then
7034 # Extract the first word of "otool
", so it can be a program name with args.
7035 set dummy otool; ac_word=$2
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7037 $as_echo_n "checking
for $ac_word...
" >&6; }
7038 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7039 $as_echo_n "(cached
) " >&6
7041 if test -n "$ac_ct_OTOOL"; then
7042 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 test -z "$as_dir" && as_dir=.
7049 for ac_exec_ext in '' $ac_executable_extensions; do
7050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7051 ac_cv_prog_ac_ct_OTOOL="otool
"
7052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7061 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7062 if test -n "$ac_ct_OTOOL"; then
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7064 $as_echo "$ac_ct_OTOOL" >&6; }
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7067 $as_echo "no
" >&6; }
7070 if test "x
$ac_ct_OTOOL" = x; then
7073 case $cross_compiling:$ac_tool_warned in
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7076 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7077 ac_tool_warned=yes ;;
7082 OTOOL="$ac_cv_prog_OTOOL"
7085 if test -n "$ac_tool_prefix"; then
7086 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7087 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7089 $as_echo_n "checking
for $ac_word...
" >&6; }
7090 if ${ac_cv_prog_OTOOL64+:} false; then :
7091 $as_echo_n "(cached
) " >&6
7093 if test -n "$OTOOL64"; then
7094 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7103 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7113 OTOOL64=$ac_cv_prog_OTOOL64
7114 if test -n "$OTOOL64"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7116 $as_echo "$OTOOL64" >&6; }
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7119 $as_echo "no
" >&6; }
7124 if test -z "$ac_cv_prog_OTOOL64"; then
7125 ac_ct_OTOOL64=$OTOOL64
7126 # Extract the first word of "otool64
", so it can be a program name with args.
7127 set dummy otool64; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7129 $as_echo_n "checking
for $ac_word...
" >&6; }
7130 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7131 $as_echo_n "(cached
) " >&6
7133 if test -n "$ac_ct_OTOOL64"; then
7134 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7143 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7153 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7154 if test -n "$ac_ct_OTOOL64"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7156 $as_echo "$ac_ct_OTOOL64" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7159 $as_echo "no
" >&6; }
7162 if test "x
$ac_ct_OTOOL64" = x; then
7165 case $cross_compiling:$ac_tool_warned in
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7168 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7169 ac_tool_warned=yes ;;
7171 OTOOL64=$ac_ct_OTOOL64
7174 OTOOL64="$ac_cv_prog_OTOOL64"
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7204 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7205 if ${lt_cv_apple_cc_single_mod+:} false; then :
7206 $as_echo_n "(cached
) " >&6
7208 lt_cv_apple_cc_single_mod=no
7209 if test -z "${LT_MULTI_MODULE}"; then
7210 # By default we will add the -single_module flag. You can override
7211 # by either setting the environment variable LT_MULTI_MODULE
7212 # non-empty at configure time, or by adding -multi_module to the
7214 rm -rf libconftest.dylib*
7215 echo "int foo
(void
){return 1;}" > conftest.c
7216 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7217 -dynamiclib -Wl,-single_module conftest.c
" >&5
7218 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7219 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7221 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7222 lt_cv_apple_cc_single_mod=yes
7224 cat conftest.err >&5
7226 rm -rf libconftest.dylib*
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7231 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7233 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7234 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7235 $as_echo_n "(cached
) " >&6
7237 lt_cv_ld_exported_symbols_list=no
7238 save_LDFLAGS=$LDFLAGS
7239 echo "_main
" > conftest.sym
7240 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h. */
7252 if ac_fn_c_try_link "$LINENO"; then :
7253 lt_cv_ld_exported_symbols_list=yes
7255 lt_cv_ld_exported_symbols_list=no
7257 rm -f core conftest.err conftest.$ac_objext \
7258 conftest$ac_exeext conftest.$ac_ext
7259 LDFLAGS="$save_LDFLAGS"
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7263 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7265 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7266 if ${lt_cv_ld_force_load+:} false; then :
7267 $as_echo_n "(cached
) " >&6
7269 lt_cv_ld_force_load=no
7270 cat > conftest.c << _LT_EOF
7271 int forced_loaded() { return 2;}
7273 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7274 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7275 echo "$AR cru libconftest.a conftest.o
" >&5
7276 $AR cru libconftest.a conftest.o 2>&5
7277 echo "$RANLIB libconftest.a
" >&5
7278 $RANLIB libconftest.a 2>&5
7279 cat > conftest.c << _LT_EOF
7280 int main() { return 0;}
7282 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7283 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7285 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7286 lt_cv_ld_force_load=yes
7288 cat conftest.err >&5
7290 rm -f conftest.err libconftest.a conftest conftest.c
7291 rm -rf conftest.dSYM
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7295 $as_echo "$lt_cv_ld_force_load" >&6; }
7297 rhapsody* | darwin1.[012])
7298 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7300 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7301 darwin*) # darwin 5.x on
7302 # if running on 10.5 or later, the deployment target defaults
7303 # to the OS version, if on x86, and 10.4, the deployment
7304 # target defaults to 10.4. Don't you love it?
7305 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7306 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7307 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7309 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7311 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7315 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7316 _lt_dar_single_mod='$single_module'
7318 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7319 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7321 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7323 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7324 _lt_dsymutil='~$DSYMUTIL $lib || :'
7332 ac_cpp='$CPP $CPPFLAGS'
7333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7337 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7338 # On Suns, sometimes $CPP names a directory.
7339 if test -n "$CPP" && test -d "$CPP"; then
7342 if test -z "$CPP"; then
7343 if ${ac_cv_prog_CPP+:} false; then :
7344 $as_echo_n "(cached
) " >&6
7346 # Double quotes because CPP needs to be expanded
7347 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7350 for ac_c_preproc_warn_flag in '' yes
7352 # Use a header file that comes with gcc, so configuring glibc
7353 # with a fresh cross-compiler works.
7354 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7355 # <limits.h> exists even on freestanding compilers.
7356 # On the NeXT, cc -E runs the code through the compiler's parser,
7357 # not just through cpp. "Syntax error
" is here to catch this case.
7358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7359 /* end confdefs.h. */
7361 # include <limits.h>
7363 # include <assert.h>
7367 if ac_fn_c_try_cpp "$LINENO"; then :
7370 # Broken: fails on valid input.
7373 rm -f conftest.err conftest.i conftest.$ac_ext
7375 # OK, works on sane cases. Now check whether nonexistent headers
7376 # can be detected and how.
7377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7378 /* end confdefs.h. */
7379 #include <ac_nonexistent.h>
7381 if ac_fn_c_try_cpp "$LINENO"; then :
7382 # Broken: success on invalid input.
7385 # Passes both tests.
7389 rm -f conftest.err conftest.i conftest.$ac_ext
7392 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7393 rm -f conftest.i conftest.err conftest.$ac_ext
7394 if $ac_preproc_ok; then :
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7407 $as_echo "$CPP" >&6; }
7409 for ac_c_preproc_warn_flag in '' yes
7411 # Use a header file that comes with gcc, so configuring glibc
7412 # with a fresh cross-compiler works.
7413 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7414 # <limits.h> exists even on freestanding compilers.
7415 # On the NeXT, cc -E runs the code through the compiler's parser,
7416 # not just through cpp. "Syntax error
" is here to catch this case.
7417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7418 /* end confdefs.h. */
7420 # include <limits.h>
7422 # include <assert.h>
7426 if ac_fn_c_try_cpp "$LINENO"; then :
7429 # Broken: fails on valid input.
7432 rm -f conftest.err conftest.i conftest.$ac_ext
7434 # OK, works on sane cases. Now check whether nonexistent headers
7435 # can be detected and how.
7436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7437 /* end confdefs.h. */
7438 #include <ac_nonexistent.h>
7440 if ac_fn_c_try_cpp "$LINENO"; then :
7441 # Broken: success on invalid input.
7444 # Passes both tests.
7448 rm -f conftest.err conftest.i conftest.$ac_ext
7451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7452 rm -f conftest.i conftest.err conftest.$ac_ext
7453 if $ac_preproc_ok; then :
7456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7458 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7459 See \`config.log' for more details
" "$LINENO" 5; }
7463 ac_cpp='$CPP $CPPFLAGS'
7464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7470 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7471 if ${ac_cv_header_stdc+:} false; then :
7472 $as_echo_n "(cached
) " >&6
7474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7475 /* end confdefs.h. */
7489 if ac_fn_c_try_compile "$LINENO"; then :
7490 ac_cv_header_stdc=yes
7492 ac_cv_header_stdc=no
7494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7496 if test $ac_cv_header_stdc = yes; then
7497 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7499 /* end confdefs.h. */
7503 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7504 $EGREP "memchr
" >/dev/null 2>&1; then :
7507 ac_cv_header_stdc=no
7513 if test $ac_cv_header_stdc = yes; then
7514 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7516 /* end confdefs.h. */
7520 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7521 $EGREP "free
" >/dev/null 2>&1; then :
7524 ac_cv_header_stdc=no
7530 if test $ac_cv_header_stdc = yes; then
7531 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7532 if test "$cross_compiling" = yes; then :
7535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7536 /* end confdefs.h. */
7539 #if ((' ' & 0x0FF) == 0x020)
7540 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7541 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7543 # define ISLOWER(c) \
7544 (('a' <= (c) && (c) <= 'i') \
7545 || ('j' <= (c) && (c) <= 'r') \
7546 || ('s' <= (c) && (c) <= 'z'))
7547 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7550 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7555 for (i = 0; i < 256; i++)
7556 if (XOR (islower (i), ISLOWER (i))
7557 || toupper (i) != TOUPPER (i))
7562 if ac_fn_c_try_run "$LINENO"; then :
7565 ac_cv_header_stdc=no
7567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7568 conftest.$ac_objext conftest.beam conftest.$ac_ext
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7574 $as_echo "$ac_cv_header_stdc" >&6; }
7575 if test $ac_cv_header_stdc = yes; then
7577 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7581 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7582 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7583 inttypes.h stdint.h unistd.h
7585 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7586 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7588 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7589 cat >>confdefs.h
<<_ACEOF
7590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7598 for ac_header
in dlfcn.h
7600 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7602 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7603 cat >>confdefs.h
<<_ACEOF
7604 #define HAVE_DLFCN_H 1
7617 enable_win32_dll
=yes
7620 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
7621 if test -n "$ac_tool_prefix"; then
7622 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7623 set dummy
${ac_tool_prefix}as
; ac_word
=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if ${ac_cv_prog_AS+:} false
; then :
7627 $as_echo_n "(cached) " >&6
7629 if test -n "$AS"; then
7630 ac_cv_prog_AS
="$AS" # Let the user override the test.
7632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7636 test -z "$as_dir" && as_dir
=.
7637 for ac_exec_ext
in '' $ac_executable_extensions; do
7638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639 ac_cv_prog_AS
="${ac_tool_prefix}as"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7650 if test -n "$AS"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7652 $as_echo "$AS" >&6; }
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7660 if test -z "$ac_cv_prog_AS"; then
7662 # Extract the first word of "as", so it can be a program name with args.
7663 set dummy as
; ac_word
=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 $as_echo_n "checking for $ac_word... " >&6; }
7666 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
7667 $as_echo_n "(cached) " >&6
7669 if test -n "$ac_ct_AS"; then
7670 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
7672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7676 test -z "$as_dir" && as_dir
=.
7677 for ac_exec_ext
in '' $ac_executable_extensions; do
7678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7679 ac_cv_prog_ac_ct_AS
="as"
7680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
7690 if test -n "$ac_ct_AS"; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7692 $as_echo "$ac_ct_AS" >&6; }
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695 $as_echo "no" >&6; }
7698 if test "x$ac_ct_AS" = x
; then
7701 case $cross_compiling:$ac_tool_warned in
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7705 ac_tool_warned
=yes ;;
7713 if test -n "$ac_tool_prefix"; then
7714 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7715 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7717 $as_echo_n "checking for $ac_word... " >&6; }
7718 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7719 $as_echo_n "(cached) " >&6
7721 if test -n "$DLLTOOL"; then
7722 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7728 test -z "$as_dir" && as_dir
=.
7729 for ac_exec_ext
in '' $ac_executable_extensions; do
7730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7731 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7741 DLLTOOL
=$ac_cv_prog_DLLTOOL
7742 if test -n "$DLLTOOL"; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7744 $as_echo "$DLLTOOL" >&6; }
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7747 $as_echo "no" >&6; }
7752 if test -z "$ac_cv_prog_DLLTOOL"; then
7753 ac_ct_DLLTOOL
=$DLLTOOL
7754 # Extract the first word of "dlltool", so it can be a program name with args.
7755 set dummy dlltool
; ac_word
=$2
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7757 $as_echo_n "checking for $ac_word... " >&6; }
7758 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7759 $as_echo_n "(cached) " >&6
7761 if test -n "$ac_ct_DLLTOOL"; then
7762 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7768 test -z "$as_dir" && as_dir
=.
7769 for ac_exec_ext
in '' $ac_executable_extensions; do
7770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7771 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7781 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7782 if test -n "$ac_ct_DLLTOOL"; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7784 $as_echo "$ac_ct_DLLTOOL" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7790 if test "x$ac_ct_DLLTOOL" = x
; then
7793 case $cross_compiling:$ac_tool_warned in
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7797 ac_tool_warned
=yes ;;
7799 DLLTOOL
=$ac_ct_DLLTOOL
7802 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7805 if test -n "$ac_tool_prefix"; then
7806 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7807 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7809 $as_echo_n "checking for $ac_word... " >&6; }
7810 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7811 $as_echo_n "(cached) " >&6
7813 if test -n "$OBJDUMP"; then
7814 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7820 test -z "$as_dir" && as_dir
=.
7821 for ac_exec_ext
in '' $ac_executable_extensions; do
7822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7823 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7833 OBJDUMP
=$ac_cv_prog_OBJDUMP
7834 if test -n "$OBJDUMP"; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7836 $as_echo "$OBJDUMP" >&6; }
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7839 $as_echo "no" >&6; }
7844 if test -z "$ac_cv_prog_OBJDUMP"; then
7845 ac_ct_OBJDUMP
=$OBJDUMP
7846 # Extract the first word of "objdump", so it can be a program name with args.
7847 set dummy objdump
; ac_word
=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7851 $as_echo_n "(cached) " >&6
7853 if test -n "$ac_ct_OBJDUMP"; then
7854 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7860 test -z "$as_dir" && as_dir
=.
7861 for ac_exec_ext
in '' $ac_executable_extensions; do
7862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7863 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7874 if test -n "$ac_ct_OBJDUMP"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7876 $as_echo "$ac_ct_OBJDUMP" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7882 if test "x$ac_ct_OBJDUMP" = x
; then
7885 case $cross_compiling:$ac_tool_warned in
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7889 ac_tool_warned
=yes ;;
7891 OBJDUMP
=$ac_ct_OBJDUMP
7894 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7900 test -z "$AS" && AS
=as
7906 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7912 test -z "$OBJDUMP" && OBJDUMP
=objdump
7924 # Check whether --enable-shared was given.
7925 if test "${enable_shared+set}" = set; then :
7926 enableval
=$enable_shared; p
=${PACKAGE-default}
7928 yes) enable_shared
=yes ;;
7929 no
) enable_shared
=no
;;
7932 # Look at the argument we got. We use all the common list separators.
7933 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7934 for pkg
in $enableval; do
7936 if test "X$pkg" = "X$p"; then
7955 # Check whether --enable-static was given.
7956 if test "${enable_static+set}" = set; then :
7957 enableval
=$enable_static; p
=${PACKAGE-default}
7959 yes) enable_static
=yes ;;
7960 no
) enable_static
=no
;;
7963 # Look at the argument we got. We use all the common list separators.
7964 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7965 for pkg
in $enableval; do
7967 if test "X$pkg" = "X$p"; then
7987 # Check whether --with-pic was given.
7988 if test "${with_pic+set}" = set; then :
7989 withval
=$with_pic; pic_mode
="$withval"
7995 test -z "$pic_mode" && pic_mode
=default
8003 # Check whether --enable-fast-install was given.
8004 if test "${enable_fast_install+set}" = set; then :
8005 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8007 yes) enable_fast_install
=yes ;;
8008 no
) enable_fast_install
=no
;;
8010 enable_fast_install
=no
8011 # Look at the argument we got. We use all the common list separators.
8012 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8013 for pkg
in $enableval; do
8015 if test "X$pkg" = "X$p"; then
8016 enable_fast_install
=yes
8023 enable_fast_install
=yes
8036 # This can be used to rebuild libtool when needed
8037 LIBTOOL_DEPS
="$ltmain"
8039 # Always use our own libtool.
8040 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8067 test -z "$LN_S" && LN_S
="ln -s"
8082 if test -n "${ZSH_VERSION+set}" ; then
8083 setopt NO_GLOB_SUBST
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8087 $as_echo_n "checking for objdir... " >&6; }
8088 if ${lt_cv_objdir+:} false
; then :
8089 $as_echo_n "(cached) " >&6
8091 rm -f .libs
2>/dev
/null
8092 mkdir .libs
2>/dev
/null
8093 if test -d .libs
; then
8096 # MS-DOS does not allow filenames that begin with a dot.
8099 rmdir .libs
2>/dev
/null
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8102 $as_echo "$lt_cv_objdir" >&6; }
8103 objdir
=$lt_cv_objdir
8109 cat >>confdefs.h
<<_ACEOF
8110 #define LT_OBJDIR "$lt_cv_objdir/"
8118 # AIX sometimes has problems with the GCC collect2 program. For some
8119 # reason, if we set the COLLECT_NAMES environment variable, the problems
8120 # vanish in a puff of smoke.
8121 if test "X${COLLECT_NAMES+set}" != Xset
; then
8123 export COLLECT_NAMES
8130 can_build_shared
=yes
8132 # All known linkers require a `.a' archive for static linking (except MSVC,
8133 # which needs '.lib').
8136 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8139 old_CFLAGS
="$CFLAGS"
8141 # Set sane defaults for various variables
8142 test -z "$CC" && CC
=cc
8143 test -z "$LTCC" && LTCC
=$CC
8144 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8145 test -z "$LD" && LD
=ld
8146 test -z "$ac_objext" && ac_objext
=o
8148 for cc_temp
in $compiler""; do
8150 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8151 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8156 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8159 # Only perform the check for file, if the check method requires it
8160 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8161 case $deplibs_check_method in
8163 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8165 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8166 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8167 $as_echo_n "(cached) " >&6
8171 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8174 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8175 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8176 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8177 for ac_dir
in $ac_dummy; do
8179 test -z "$ac_dir" && ac_dir
=.
8180 if test -f $ac_dir/${ac_tool_prefix}file; then
8181 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8182 if test -n "$file_magic_test_file"; then
8183 case $deplibs_check_method in
8185 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8186 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8187 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8188 $EGREP "$file_magic_regex" > /dev
/null
; then
8193 *** Warning: the command libtool uses to detect shared libraries,
8194 *** $file_magic_cmd, produces output that libtool cannot recognize.
8195 *** The result is that libtool may fail to recognize shared libraries
8196 *** as such. This will affect the creation of libtool libraries that
8197 *** depend on shared libraries, but programs linked with such libtool
8198 *** libraries will work regardless of this problem. Nevertheless, you
8199 *** may want to report the problem to your system manager and/or to
8200 *** bug-libtool@gnu.org
8210 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8215 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8216 if test -n "$MAGIC_CMD"; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8218 $as_echo "$MAGIC_CMD" >&6; }
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221 $as_echo "no" >&6; }
8228 if test -z "$lt_cv_path_MAGIC_CMD"; then
8229 if test -n "$ac_tool_prefix"; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8231 $as_echo_n "checking for file... " >&6; }
8232 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8233 $as_echo_n "(cached) " >&6
8237 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8240 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8241 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8242 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8243 for ac_dir
in $ac_dummy; do
8245 test -z "$ac_dir" && ac_dir
=.
8246 if test -f $ac_dir/file; then
8247 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8248 if test -n "$file_magic_test_file"; then
8249 case $deplibs_check_method in
8251 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8252 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8253 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8254 $EGREP "$file_magic_regex" > /dev
/null
; then
8259 *** Warning: the command libtool uses to detect shared libraries,
8260 *** $file_magic_cmd, produces output that libtool cannot recognize.
8261 *** The result is that libtool may fail to recognize shared libraries
8262 *** as such. This will affect the creation of libtool libraries that
8263 *** depend on shared libraries, but programs linked with such libtool
8264 *** libraries will work regardless of this problem. Nevertheless, you
8265 *** may want to report the problem to your system manager and/or to
8266 *** bug-libtool@gnu.org
8276 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8281 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8282 if test -n "$MAGIC_CMD"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8284 $as_echo "$MAGIC_CMD" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287 $as_echo "no" >&6; }
8300 # Use C for the default configuration in the libtool script
8304 ac_cpp
='$CPP $CPPFLAGS'
8305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8310 # Source file extension for C test sources.
8313 # Object file extension for compiled C test sources.
8317 # Code to be used in simple compile tests
8318 lt_simple_compile_test_code
="int some_variable = 0;"
8320 # Code to be used in simple link tests
8321 lt_simple_link_test_code
='int main(){return(0);}'
8329 # If no C compiler was specified, use CC.
8332 # If no C compiler flags were specified, use CFLAGS.
8333 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8335 # Allow CC to be a program name with arguments.
8338 # Save the default compiler, since it gets overwritten when the other
8339 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8340 compiler_DEFAULT
=$CC
8342 # save warnings/boilerplate of simple test code
8343 ac_outfile
=conftest.
$ac_objext
8344 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8345 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8346 _lt_compiler_boilerplate
=`cat conftest.err`
8349 ac_outfile
=conftest.
$ac_objext
8350 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8351 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8352 _lt_linker_boilerplate
=`cat conftest.err`
8357 ## There is no encapsulation within the following macros, do not change
8358 ## the running order or otherwise move them around unless you know exactly
8359 ## what you are doing...
8360 if test -n "$compiler"; then
8362 lt_prog_compiler_no_builtin_flag
=
8364 if test "$GCC" = yes; then
8365 case $cc_basename in
8367 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8369 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8373 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8374 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8375 $as_echo_n "(cached) " >&6
8377 lt_cv_prog_compiler_rtti_exceptions
=no
8378 ac_outfile
=conftest.
$ac_objext
8379 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8380 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8381 # Insert the option either (1) after the last *FLAGS variable, or
8382 # (2) before a word containing "conftest.", or (3) at the end.
8383 # Note that $ac_compile itself does not contain backslashes and begins
8384 # with a dollar sign (not a hyphen), so the echo should work correctly.
8385 # The option is referenced via a variable to avoid confusing sed.
8386 lt_compile
=`echo "$ac_compile" | $SED \
8387 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8388 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8389 -e 's:$: $lt_compiler_flag:'`
8390 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8391 (eval "$lt_compile" 2>conftest.err
)
8393 cat conftest.err
>&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 if (exit $ac_status) && test -s "$ac_outfile"; then
8396 # The compiler can only warn and ignore the option if not recognized
8397 # So say no if there are warnings other than the usual output.
8398 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8399 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8400 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8401 lt_cv_prog_compiler_rtti_exceptions
=yes
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8408 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8410 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8411 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8423 lt_prog_compiler_wl
=
8424 lt_prog_compiler_pic
=
8425 lt_prog_compiler_static
=
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8428 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8430 if test "$GCC" = yes; then
8431 lt_prog_compiler_wl
='-Wl,'
8432 lt_prog_compiler_static
='-static'
8436 # All AIX code is PIC.
8437 if test "$host_cpu" = ia64
; then
8438 # AIX 5 now supports IA64 processor
8439 lt_prog_compiler_static
='-Bstatic'
8446 # see comment about AmigaOS4 .so support
8447 lt_prog_compiler_pic
='-fPIC'
8450 # FIXME: we need at least 68020 code to build shared libraries, but
8451 # adding the `-m68020' flag to GCC prevents building anything better,
8453 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8458 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8459 # PIC is the default for these OSes.
8462 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8463 # This hack is so that the source file can tell whether it is being
8464 # built for inclusion in a dll (and should export symbols for example).
8465 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8466 # (--disable-auto-import) libraries
8467 lt_prog_compiler_pic
='-DDLL_EXPORT'
8470 darwin
* | rhapsody
*)
8471 # PIC is the default on this platform
8472 # Common symbols not allowed in MH_DYLIB files
8473 lt_prog_compiler_pic
='-fno-common'
8477 # PIC is the default for Haiku.
8478 # The "-static" flag exists, but is broken.
8479 lt_prog_compiler_static
=
8483 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8484 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8485 # sets the default TLS model and affects inlining.
8491 lt_prog_compiler_pic
='-fPIC'
8497 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8498 # Instead, we relocate shared libraries at runtime.
8502 # Just because we use GCC doesn't mean we suddenly get shared libraries
8503 # on systems that don't support them.
8504 lt_prog_compiler_can_build_shared
=no
8509 # QNX uses GNU C++, but need to define -shared option too, otherwise
8511 lt_prog_compiler_pic
='-fPIC -shared'
8515 if test -d /usr
/nec
; then
8516 lt_prog_compiler_pic
=-Kconform_pic
8521 lt_prog_compiler_pic
='-fPIC'
8525 case $cc_basename in
8526 nvcc
*) # Cuda Compiler Driver 2.2
8527 lt_prog_compiler_wl
='-Xlinker '
8528 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8532 # PORTME Check for flag to pass linker flags through the system compiler.
8535 lt_prog_compiler_wl
='-Wl,'
8536 if test "$host_cpu" = ia64
; then
8537 # AIX 5 now supports IA64 processor
8538 lt_prog_compiler_static
='-Bstatic'
8540 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8544 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8545 # This hack is so that the source file can tell whether it is being
8546 # built for inclusion in a dll (and should export symbols for example).
8547 lt_prog_compiler_pic
='-DDLL_EXPORT'
8550 hpux9
* | hpux10
* | hpux11
*)
8551 lt_prog_compiler_wl
='-Wl,'
8552 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8559 lt_prog_compiler_pic
='+Z'
8562 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8563 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8566 irix5
* | irix6
* | nonstopux
*)
8567 lt_prog_compiler_wl
='-Wl,'
8568 # PIC (with -KPIC) is the default.
8569 lt_prog_compiler_static
='-non_shared'
8572 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8573 case $cc_basename in
8574 # old Intel for x86_64 which still supported -KPIC.
8576 lt_prog_compiler_wl
='-Wl,'
8577 lt_prog_compiler_pic
='-KPIC'
8578 lt_prog_compiler_static
='-static'
8580 # icc used to be incompatible with GCC.
8581 # ICC 10 doesn't accept -KPIC any more.
8583 lt_prog_compiler_wl
='-Wl,'
8584 lt_prog_compiler_pic
='-fPIC'
8585 lt_prog_compiler_static
='-static'
8587 # Lahey Fortran 8.1.
8589 lt_prog_compiler_wl
='-Wl,'
8590 lt_prog_compiler_pic
='--shared'
8591 lt_prog_compiler_static
='--static'
8593 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8594 # Portland Group compilers (*not* the Pentium gcc compiler,
8595 # which looks to be a dead project)
8596 lt_prog_compiler_wl
='-Wl,'
8597 lt_prog_compiler_pic
='-fpic'
8598 lt_prog_compiler_static
='-Bstatic'
8601 lt_prog_compiler_wl
='-Wl,'
8602 # All Alpha code is PIC.
8603 lt_prog_compiler_static
='-non_shared'
8605 xl
* | bgxl
* | bgf
* | mpixl
*)
8606 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8607 lt_prog_compiler_wl
='-Wl,'
8608 lt_prog_compiler_pic
='-qpic'
8609 lt_prog_compiler_static
='-qstaticlink'
8612 case `$CC -V 2>&1 | sed 5q` in
8613 *Sun\ F
* |
*Sun
*Fortran
*)
8614 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8615 lt_prog_compiler_pic
='-KPIC'
8616 lt_prog_compiler_static
='-Bstatic'
8617 lt_prog_compiler_wl
=''
8621 lt_prog_compiler_pic
='-KPIC'
8622 lt_prog_compiler_static
='-Bstatic'
8623 lt_prog_compiler_wl
='-Wl,'
8631 lt_prog_compiler_pic
='-KPIC'
8632 lt_prog_compiler_static
='-Bstatic'
8636 # QNX uses GNU C++, but need to define -shared option too, otherwise
8638 lt_prog_compiler_pic
='-fPIC -shared'
8641 osf3
* | osf4
* | osf5
*)
8642 lt_prog_compiler_wl
='-Wl,'
8643 # All OSF/1 code is PIC.
8644 lt_prog_compiler_static
='-non_shared'
8648 lt_prog_compiler_static
='-non_shared'
8652 lt_prog_compiler_pic
='-KPIC'
8653 lt_prog_compiler_static
='-Bstatic'
8654 case $cc_basename in
8655 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8656 lt_prog_compiler_wl
='-Qoption ld ';;
8658 lt_prog_compiler_wl
='-Wl,';;
8663 lt_prog_compiler_wl
='-Qoption ld '
8664 lt_prog_compiler_pic
='-PIC'
8665 lt_prog_compiler_static
='-Bstatic'
8668 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8669 lt_prog_compiler_wl
='-Wl,'
8670 lt_prog_compiler_pic
='-KPIC'
8671 lt_prog_compiler_static
='-Bstatic'
8675 if test -d /usr
/nec
;then
8676 lt_prog_compiler_pic
='-Kconform_pic'
8677 lt_prog_compiler_static
='-Bstatic'
8681 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8682 lt_prog_compiler_wl
='-Wl,'
8683 lt_prog_compiler_pic
='-KPIC'
8684 lt_prog_compiler_static
='-Bstatic'
8688 lt_prog_compiler_wl
='-Wl,'
8689 lt_prog_compiler_can_build_shared
=no
8693 lt_prog_compiler_pic
='-pic'
8694 lt_prog_compiler_static
='-Bstatic'
8698 lt_prog_compiler_can_build_shared
=no
8704 # For platforms which do not support PIC, -DPIC is meaningless:
8706 lt_prog_compiler_pic
=
8709 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8713 $as_echo "$lt_prog_compiler_pic" >&6; }
8721 # Check to make sure the PIC flag actually works.
8723 if test -n "$lt_prog_compiler_pic"; then
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8725 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8726 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8727 $as_echo_n "(cached) " >&6
8729 lt_cv_prog_compiler_pic_works
=no
8730 ac_outfile
=conftest.
$ac_objext
8731 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8732 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8733 # Insert the option either (1) after the last *FLAGS variable, or
8734 # (2) before a word containing "conftest.", or (3) at the end.
8735 # Note that $ac_compile itself does not contain backslashes and begins
8736 # with a dollar sign (not a hyphen), so the echo should work correctly.
8737 # The option is referenced via a variable to avoid confusing sed.
8738 lt_compile
=`echo "$ac_compile" | $SED \
8739 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8740 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8741 -e 's:$: $lt_compiler_flag:'`
8742 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8743 (eval "$lt_compile" 2>conftest.err
)
8745 cat conftest.err
>&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 if (exit $ac_status) && test -s "$ac_outfile"; then
8748 # The compiler can only warn and ignore the option if not recognized
8749 # So say no if there are warnings other than the usual output.
8750 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8751 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8752 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8753 lt_cv_prog_compiler_pic_works
=yes
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8760 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8762 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8763 case $lt_prog_compiler_pic in
8765 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8768 lt_prog_compiler_pic
=
8769 lt_prog_compiler_can_build_shared
=no
8780 # Check to make sure the static flag actually works.
8782 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8784 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8785 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8786 $as_echo_n "(cached) " >&6
8788 lt_cv_prog_compiler_static_works
=no
8789 save_LDFLAGS
="$LDFLAGS"
8790 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8791 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8792 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8793 # The linker can only warn and ignore the option if not recognized
8794 # So say no if there are warnings
8795 if test -s conftest.err
; then
8796 # Append any errors to the config.log.
8797 cat conftest.err
1>&5
8798 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8799 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8800 if diff conftest.exp conftest.er2
>/dev
/null
; then
8801 lt_cv_prog_compiler_static_works
=yes
8804 lt_cv_prog_compiler_static_works
=yes
8808 LDFLAGS
="$save_LDFLAGS"
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8812 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8814 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8817 lt_prog_compiler_static
=
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8827 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8828 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8829 $as_echo_n "(cached) " >&6
8831 lt_cv_prog_compiler_c_o
=no
8832 $RM -r conftest
2>/dev
/null
8836 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8838 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8839 # Insert the option either (1) after the last *FLAGS variable, or
8840 # (2) before a word containing "conftest.", or (3) at the end.
8841 # Note that $ac_compile itself does not contain backslashes and begins
8842 # with a dollar sign (not a hyphen), so the echo should work correctly.
8843 lt_compile
=`echo "$ac_compile" | $SED \
8844 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8845 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8846 -e 's:$: $lt_compiler_flag:'`
8847 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8848 (eval "$lt_compile" 2>out
/conftest.err
)
8850 cat out
/conftest.err
>&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8854 # The compiler can only warn and ignore the option if not recognized
8855 # So say no if there are warnings
8856 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8857 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8858 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8859 lt_cv_prog_compiler_c_o
=yes
8864 # SGI C++ compiler will create directory out/ii_files/ for
8865 # template instantiation
8866 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8867 $RM out
/* && rmdir out
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8874 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8882 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8883 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8884 $as_echo_n "(cached) " >&6
8886 lt_cv_prog_compiler_c_o
=no
8887 $RM -r conftest
2>/dev
/null
8891 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8893 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8894 # Insert the option either (1) after the last *FLAGS variable, or
8895 # (2) before a word containing "conftest.", or (3) at the end.
8896 # Note that $ac_compile itself does not contain backslashes and begins
8897 # with a dollar sign (not a hyphen), so the echo should work correctly.
8898 lt_compile
=`echo "$ac_compile" | $SED \
8899 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8901 -e 's:$: $lt_compiler_flag:'`
8902 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8903 (eval "$lt_compile" 2>out
/conftest.err
)
8905 cat out
/conftest.err
>&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8909 # The compiler can only warn and ignore the option if not recognized
8910 # So say no if there are warnings
8911 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8912 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8913 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8914 lt_cv_prog_compiler_c_o
=yes
8919 # SGI C++ compiler will create directory out/ii_files/ for
8920 # template instantiation
8921 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8922 $RM out
/* && rmdir out
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8929 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8934 hard_links
="nottested"
8935 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8936 # do not overwrite the value of need_locks provided by the user
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8938 $as_echo_n "checking if we can lock with hard links... " >&6; }
8941 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8943 ln conftest.a conftest.b
2>&5 || hard_links
=no
8944 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8946 $as_echo "$hard_links" >&6; }
8947 if test "$hard_links" = no
; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8949 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8962 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8965 allow_undefined_flag
=
8966 always_export_symbols
=no
8968 archive_expsym_cmds
=
8969 compiler_needs_object
=no
8970 enable_shared_with_static_runtimes
=no
8971 export_dynamic_flag_spec
=
8972 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8973 hardcode_automatic
=no
8975 hardcode_direct_absolute
=no
8976 hardcode_libdir_flag_spec
=
8977 hardcode_libdir_flag_spec_ld
=
8978 hardcode_libdir_separator
=
8980 hardcode_shlibpath_var
=unsupported
8982 link_all_deplibs
=unknown
8985 old_archive_from_new_cmds
=
8986 old_archive_from_expsyms_cmds
=
8987 thread_safe_flag_spec
=
8988 whole_archive_flag_spec
=
8989 # include_expsyms should be a list of space-separated symbols to be *always*
8990 # included in the symbol list
8992 # exclude_expsyms can be an extended regexp of symbols to exclude
8993 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8994 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8995 # as well as any symbol that contains `d'.
8996 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8997 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8998 # platforms (ab)use it in PIC code, but their linkers get confused if
8999 # the symbol is explicitly referenced. Since portable code cannot
9000 # rely on this symbol name, it's probably fine to never include it in
9001 # preloaded symbol tables.
9002 # Exclude shared library initialization/finalization symbols.
9003 extract_expsyms_cmds
=
9006 cygwin
* | mingw
* | pw32
* | cegcc
*)
9007 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9008 # When not using gcc, we currently assume that we are using
9009 # Microsoft Visual C++.
9010 if test "$GCC" != yes; then
9015 # we just hope/assume this is gcc and not c89 (= MSVC++)
9025 # On some targets, GNU ld is compatible enough with the native linker
9026 # that we're better off using the native interface for both.
9027 lt_use_gnu_ld_interface
=no
9028 if test "$with_gnu_ld" = yes; then
9031 # The AIX port of GNU ld has always aspired to compatibility
9032 # with the native linker. However, as the warning in the GNU ld
9033 # block says, versions before 2.19.5* couldn't really create working
9034 # shared libraries, regardless of the interface used.
9035 case `$LD -v 2>&1` in
9036 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9037 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9038 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9040 lt_use_gnu_ld_interface
=yes
9045 lt_use_gnu_ld_interface
=yes
9050 if test "$lt_use_gnu_ld_interface" = yes; then
9051 # If archive_cmds runs LD, not CC, wlarc should be empty
9054 # Set some defaults for GNU ld with shared library support. These
9055 # are reset later if shared libraries are not supported. Putting them
9056 # here allows them to be overridden if necessary.
9057 runpath_var
=LD_RUN_PATH
9058 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9059 export_dynamic_flag_spec
='${wl}--export-dynamic'
9060 # ancient GNU ld didn't support --whole-archive et. al.
9061 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9062 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9064 whole_archive_flag_spec
=
9066 supports_anon_versioning
=no
9067 case `$LD -v 2>&1` in
9068 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9069 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9070 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9071 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9072 *\
2.11.
*) ;; # other 2.11 versions
9073 *) supports_anon_versioning
=yes ;;
9076 # See if GNU ld supports shared libraries.
9079 # On AIX/PPC, the GNU linker is very broken
9080 if test "$host_cpu" != ia64
; then
9084 *** Warning: the GNU linker, at least up to release 2.19, is reported
9085 *** to be unable to reliably create shared libraries on AIX.
9086 *** Therefore, libtool is disabling shared libraries support. If you
9087 *** really care for shared libraries, you may want to install binutils
9088 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9089 *** You will then need to restart the configuration process.
9098 # see comment about AmigaOS4 .so support
9099 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9100 archive_expsym_cmds
=''
9103 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)'
9104 hardcode_libdir_flag_spec
='-L$libdir'
9105 hardcode_minus_L
=yes
9111 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9112 allow_undefined_flag
=unsupported
9113 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9114 # support --undefined. This deserves some investigation. FIXME
9115 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9121 cygwin
* | mingw
* | pw32
* | cegcc
*)
9122 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9123 # as there is no search path for DLLs.
9124 hardcode_libdir_flag_spec
='-L$libdir'
9125 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9126 allow_undefined_flag
=unsupported
9127 always_export_symbols
=no
9128 enable_shared_with_static_runtimes
=yes
9129 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9131 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9132 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9133 # If the export-symbols file already is a .def file (1st line
9134 # is EXPORTS), use it as is; otherwise, prepend...
9135 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9136 cp $export_symbols $output_objdir/$soname.def;
9138 echo EXPORTS > $output_objdir/$soname.def;
9139 cat $export_symbols >> $output_objdir/$soname.def;
9141 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9148 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9149 link_all_deplibs
=yes
9154 hardcode_shlibpath_var
=no
9155 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9156 export_dynamic_flag_spec
='${wl}-E'
9157 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9158 # Instead, shared libraries are loaded at an image base (0x10000000 by
9159 # default) and relocated if they conflict, which is a slow very memory
9160 # consuming and fragmenting process. To avoid this, we pick a random,
9161 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9162 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9163 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9164 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'
9167 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9169 if test "$host_os" = linux-dietlibc
; then
9170 case $cc_basename in
9171 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9174 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9175 && test "$tmp_diet" = no
9178 tmp_sharedflag
='-shared'
9179 case $cc_basename,$host_cpu in
9180 pgcc
*) # Portland Group C compiler
9181 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'
9182 tmp_addflag
=' $pic_flag'
9184 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9185 # Portland Group f77 and f90 compilers
9186 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'
9187 tmp_addflag
=' $pic_flag -Mnomain' ;;
9188 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9189 tmp_addflag
=' -i_dynamic' ;;
9190 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9191 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9192 ifc
* | ifort
*) # Intel Fortran compiler
9193 tmp_addflag
=' -nofor_main' ;;
9194 lf95
*) # Lahey Fortran 8.1
9195 whole_archive_flag_spec
=
9196 tmp_sharedflag
='--shared' ;;
9197 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9198 tmp_sharedflag
='-qmkshrobj'
9200 nvcc
*) # Cuda Compiler Driver 2.2
9201 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'
9202 compiler_needs_object
=yes
9205 case `$CC -V 2>&1 | sed 5q` in
9206 *Sun\ C
*) # Sun C 5.9
9207 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'
9208 compiler_needs_object
=yes
9209 tmp_sharedflag
='-G' ;;
9210 *Sun\ F
*) # Sun Fortran 8.3
9211 tmp_sharedflag
='-G' ;;
9213 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215 if test "x$supports_anon_versioning" = xyes
; then
9216 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9217 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9218 echo "local: *; };" >> $output_objdir/$libname.ver~
9219 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9222 case $cc_basename in
9223 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9224 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9225 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9226 hardcode_libdir_flag_spec
=
9227 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9228 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9229 if test "x$supports_anon_versioning" = xyes
; then
9230 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9231 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9232 echo "local: *; };" >> $output_objdir/$libname.ver~
9233 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9243 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9244 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9247 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9248 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9253 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9257 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9258 *** create shared libraries on Solaris systems. Therefore, libtool
9259 *** is disabling shared libraries support. We urge you to upgrade GNU
9260 *** binutils to release 2.9.1 or newer. Another option is to modify
9261 *** your PATH or compiler configuration so that the native linker is
9262 *** used, and then restart.
9265 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9266 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9267 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9273 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9274 case `$LD -v 2>&1` in
9275 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9279 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9280 *** reliably create shared libraries on SCO systems. Therefore, libtool
9281 *** is disabling shared libraries support. We urge you to upgrade GNU
9282 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9283 *** your PATH or compiler configuration so that the native linker is
9284 *** used, and then restart.
9289 # For security reasons, it is highly recommended that you always
9290 # use absolute paths for naming shared libraries, and exclude the
9291 # DT_RUNPATH tag from executables and libraries. But doing so
9292 # requires that you compile everything twice, which is a pain.
9293 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9294 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9295 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9305 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9308 hardcode_shlibpath_var
=no
9312 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9313 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9314 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9321 if test "$ld_shlibs" = no
; then
9323 hardcode_libdir_flag_spec
=
9324 export_dynamic_flag_spec
=
9325 whole_archive_flag_spec
=
9328 # PORTME fill in a description of your system's linker (not GNU ld)
9331 allow_undefined_flag
=unsupported
9332 always_export_symbols
=yes
9333 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'
9334 # Note: this linker hardcodes the directories in LIBPATH if there
9335 # are no directories specified by -L.
9336 hardcode_minus_L
=yes
9337 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9338 # Neither direct hardcoding nor static linking is supported with a
9340 hardcode_direct
=unsupported
9345 if test "$host_cpu" = ia64
; then
9346 # On IA64, the linker does run time linking by default, so we don't
9347 # have to do anything special.
9348 aix_use_runtimelinking
=no
9349 exp_sym_flag
='-Bexport'
9352 # If we're using GNU nm, then we don't want the "-C" option.
9353 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9354 # Also, AIX nm treats weak defined symbols like other global
9355 # defined symbols, whereas GNU nm marks them as "W".
9356 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9357 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'
9359 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'
9361 aix_use_runtimelinking
=no
9363 # Test if we are trying to use run time linking or normal
9364 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9365 # need to do runtime linking.
9366 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9367 for ld_flag
in $LDFLAGS; do
9368 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9369 aix_use_runtimelinking
=yes
9376 exp_sym_flag
='-bexport'
9377 no_entry_flag
='-bnoentry'
9380 # When large executables or shared objects are built, AIX ld can
9381 # have problems creating the table of contents. If linking a library
9382 # or program results in "error TOC overflow" add -mminimal-toc to
9383 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9384 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9388 hardcode_direct_absolute
=yes
9389 hardcode_libdir_separator
=':'
9390 link_all_deplibs
=yes
9391 file_list_spec
='${wl}-f,'
9393 if test "$GCC" = yes; then
9394 case $host_os in aix4.
[012]|aix4.
[012].
*)
9395 # We only want to do this on AIX 4.2 and lower, the check
9396 # below for broken collect2 doesn't work under 4.3+
9397 collect2name
=`${CC} -print-prog-name=collect2`
9398 if test -f "$collect2name" &&
9399 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9401 # We have reworked collect2
9404 # We have old collect2
9405 hardcode_direct
=unsupported
9406 # It fails to find uninstalled libraries when the uninstalled
9407 # path is not listed in the libpath. Setting hardcode_minus_L
9408 # to unsupported forces relinking
9409 hardcode_minus_L
=yes
9410 hardcode_libdir_flag_spec
='-L$libdir'
9411 hardcode_libdir_separator
=
9415 shared_flag
='-shared'
9416 if test "$aix_use_runtimelinking" = yes; then
9417 shared_flag
="$shared_flag "'${wl}-G'
9421 if test "$host_cpu" = ia64
; then
9422 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9423 # chokes on -Wl,-G. The following line is correct:
9426 if test "$aix_use_runtimelinking" = yes; then
9427 shared_flag
='${wl}-G'
9429 shared_flag
='${wl}-bM:SRE'
9434 export_dynamic_flag_spec
='${wl}-bexpall'
9435 # It seems that -bexpall does not export symbols beginning with
9436 # underscore (_), so it is better to generate a list of symbols to export.
9437 always_export_symbols
=yes
9438 if test "$aix_use_runtimelinking" = yes; then
9439 # Warning - without using the other runtime loading flags (-brtl),
9440 # -berok will link without error, but may produce a broken library.
9441 allow_undefined_flag
='-berok'
9442 # Determine the default libpath from the value encoded in an
9444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9455 if ac_fn_c_try_link
"$LINENO"; then :
9457 lt_aix_libpath_sed
='
9458 /Import File Strings/,/^$/ {
9464 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9465 # Check for a 64-bit object if we didn't find anything.
9466 if test -z "$aix_libpath"; then
9467 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9470 rm -f core conftest.err conftest.
$ac_objext \
9471 conftest
$ac_exeext conftest.
$ac_ext
9472 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9474 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9475 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"
9477 if test "$host_cpu" = ia64
; then
9478 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9479 allow_undefined_flag
="-z nodefs"
9480 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"
9482 # Determine the default libpath from the value encoded in an
9484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9495 if ac_fn_c_try_link
"$LINENO"; then :
9497 lt_aix_libpath_sed
='
9498 /Import File Strings/,/^$/ {
9504 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9505 # Check for a 64-bit object if we didn't find anything.
9506 if test -z "$aix_libpath"; then
9507 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9510 rm -f core conftest.err conftest.
$ac_objext \
9511 conftest
$ac_exeext conftest.
$ac_ext
9512 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9514 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9515 # Warning - without using the other run time loading flags,
9516 # -berok will link without error, but may produce a broken library.
9517 no_undefined_flag
=' ${wl}-bernotok'
9518 allow_undefined_flag
=' ${wl}-berok'
9519 if test "$with_gnu_ld" = yes; then
9520 # We only use this code for GNU lds that support --whole-archive.
9521 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9523 # Exported symbols can be pulled into shared objects from archives
9524 whole_archive_flag_spec
='$convenience'
9526 archive_cmds_need_lc
=yes
9527 # This is similar to how AIX traditionally builds its shared libraries.
9528 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'
9536 # see comment about AmigaOS4 .so support
9537 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9538 archive_expsym_cmds
=''
9541 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)'
9542 hardcode_libdir_flag_spec
='-L$libdir'
9543 hardcode_minus_L
=yes
9549 export_dynamic_flag_spec
=-rdynamic
9552 cygwin
* | mingw
* | pw32
* | cegcc
*)
9553 # When not using gcc, we currently assume that we are using
9554 # Microsoft Visual C++.
9555 # hardcode_libdir_flag_spec is actually meaningless, as there is
9556 # no search path for DLLs.
9557 hardcode_libdir_flag_spec
=' '
9558 allow_undefined_flag
=unsupported
9559 # Tell ltmain to make .lib files, not .a files.
9561 # Tell ltmain to make .dll files, not .so files.
9563 # FIXME: Setting linknames here is a bad hack.
9564 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9565 # The linker will automatically build a .lib file if we build a DLL.
9566 old_archive_from_new_cmds
='true'
9567 # FIXME: Should let the user specify the lib program.
9568 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9569 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9570 enable_shared_with_static_runtimes
=yes
9573 darwin
* | rhapsody
*)
9576 archive_cmds_need_lc
=no
9578 hardcode_automatic
=yes
9579 hardcode_shlibpath_var
=unsupported
9580 if test "$lt_cv_ld_force_load" = "yes"; then
9581 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\"`'
9583 whole_archive_flag_spec
=''
9585 link_all_deplibs
=yes
9586 allow_undefined_flag
="$_lt_dar_allow_undefined"
9587 case $cc_basename in
9588 ifort
*) _lt_dar_can_shared
=yes ;;
9589 *) _lt_dar_can_shared
=$GCC ;;
9591 if test "$_lt_dar_can_shared" = "yes"; then
9592 output_verbose_link_cmd
=func_echo_all
9593 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9594 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9595 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}"
9596 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}"
9605 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9606 hardcode_libdir_flag_spec
='-L$libdir'
9607 hardcode_shlibpath_var
=no
9614 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9615 # support. Future versions do this automatically, but an explicit c++rt0.o
9616 # does not break anything, and helps significantly (at the cost of a little
9619 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9620 hardcode_libdir_flag_spec
='-R$libdir'
9622 hardcode_shlibpath_var
=no
9625 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9627 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9629 hardcode_minus_L
=yes
9630 hardcode_shlibpath_var
=no
9633 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9634 freebsd
* | dragonfly
*)
9635 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9636 hardcode_libdir_flag_spec
='-R$libdir'
9638 hardcode_shlibpath_var
=no
9642 if test "$GCC" = yes; then
9643 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9645 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'
9647 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9648 hardcode_libdir_separator
=:
9651 # hardcode_minus_L: Not really in the search PATH,
9652 # but as the default location of the library.
9653 hardcode_minus_L
=yes
9654 export_dynamic_flag_spec
='${wl}-E'
9658 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9659 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9661 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9663 if test "$with_gnu_ld" = no
; then
9664 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9665 hardcode_libdir_flag_spec_ld
='+b $libdir'
9666 hardcode_libdir_separator
=:
9668 hardcode_direct_absolute
=yes
9669 export_dynamic_flag_spec
='${wl}-E'
9670 # hardcode_minus_L: Not really in the search PATH,
9671 # but as the default location of the library.
9672 hardcode_minus_L
=yes
9677 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9680 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9683 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9686 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9692 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9695 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9699 # Older versions of the 11.00 compiler do not understand -b yet
9700 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9702 $as_echo_n "checking if $CC understands -b... " >&6; }
9703 if ${lt_cv_prog_compiler__b+:} false
; then :
9704 $as_echo_n "(cached) " >&6
9706 lt_cv_prog_compiler__b
=no
9707 save_LDFLAGS
="$LDFLAGS"
9708 LDFLAGS
="$LDFLAGS -b"
9709 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9710 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9711 # The linker can only warn and ignore the option if not recognized
9712 # So say no if there are warnings
9713 if test -s conftest.err
; then
9714 # Append any errors to the config.log.
9715 cat conftest.err
1>&5
9716 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9717 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9718 if diff conftest.exp conftest.er2
>/dev
/null
; then
9719 lt_cv_prog_compiler__b
=yes
9722 lt_cv_prog_compiler__b
=yes
9726 LDFLAGS
="$save_LDFLAGS"
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9730 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9732 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9733 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9735 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9741 if test "$with_gnu_ld" = no
; then
9742 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9743 hardcode_libdir_separator
=:
9748 hardcode_shlibpath_var
=no
9752 hardcode_direct_absolute
=yes
9753 export_dynamic_flag_spec
='${wl}-E'
9755 # hardcode_minus_L: Not really in the search PATH,
9756 # but as the default location of the library.
9757 hardcode_minus_L
=yes
9763 irix5
* | irix6
* | nonstopux
*)
9764 if test "$GCC" = yes; then
9765 archive_cmds
='$CC -shared $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'
9766 # Try to use the -exported_symbol ld option, if it does not
9767 # work, assume that -exports_file does not work either and
9768 # implicitly export all symbols.
9769 save_LDFLAGS
="$LDFLAGS"
9770 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9772 /* end confdefs.h. */
9775 if ac_fn_c_try_link
"$LINENO"; then :
9776 archive_expsym_cmds
='$CC -shared $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'
9779 rm -f core conftest.err conftest.
$ac_objext \
9780 conftest
$ac_exeext conftest.
$ac_ext
9781 LDFLAGS
="$save_LDFLAGS"
9783 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'
9784 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'
9786 archive_cmds_need_lc
='no'
9787 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9788 hardcode_libdir_separator
=:
9790 link_all_deplibs
=yes
9794 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9795 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9797 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9799 hardcode_libdir_flag_spec
='-R$libdir'
9801 hardcode_shlibpath_var
=no
9805 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9807 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9808 hardcode_libdir_separator
=:
9809 hardcode_shlibpath_var
=no
9816 if test -f /usr
/libexec
/ld.so
; then
9818 hardcode_shlibpath_var
=no
9819 hardcode_direct_absolute
=yes
9820 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9821 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9822 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9823 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9824 export_dynamic_flag_spec
='${wl}-E'
9827 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9828 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9829 hardcode_libdir_flag_spec
='-R$libdir'
9832 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9833 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9843 hardcode_libdir_flag_spec
='-L$libdir'
9844 hardcode_minus_L
=yes
9845 allow_undefined_flag
=unsupported
9846 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'
9847 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9851 if test "$GCC" = yes; then
9852 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9853 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'
9855 allow_undefined_flag
=' -expect_unresolved \*'
9856 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'
9858 archive_cmds_need_lc
='no'
9859 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9860 hardcode_libdir_separator
=:
9863 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9864 if test "$GCC" = yes; then
9865 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9866 archive_cmds
='$CC -shared${allow_undefined_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'
9867 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9869 allow_undefined_flag
=' -expect_unresolved \*'
9870 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'
9871 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~
9872 $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'
9874 # Both c and cxx compiler support -rpath directly
9875 hardcode_libdir_flag_spec
='-rpath $libdir'
9877 archive_cmds_need_lc
='no'
9878 hardcode_libdir_separator
=:
9882 no_undefined_flag
=' -z defs'
9883 if test "$GCC" = yes; then
9885 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9886 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9887 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9889 case `$CC -V 2>&1` in
9892 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9894 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9898 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9899 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9900 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9904 hardcode_libdir_flag_spec
='-R$libdir'
9905 hardcode_shlibpath_var
=no
9907 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9909 # The compiler driver will combine and reorder linker options,
9910 # but understands `-z linker_flag'. GCC discards it without `$wl',
9911 # but is careful enough not to reorder.
9912 # Supported since Solaris 2.6 (maybe 2.5.1?)
9913 if test "$GCC" = yes; then
9914 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9916 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9920 link_all_deplibs
=yes
9924 if test "x$host_vendor" = xsequent
; then
9925 # Use $CC to link under sequent, because it throws in some extra .o
9926 # files that make .init and .fini sections work.
9927 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9931 hardcode_libdir_flag_spec
='-L$libdir'
9933 hardcode_minus_L
=yes
9934 hardcode_shlibpath_var
=no
9938 case $host_vendor in
9940 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9941 hardcode_direct
=yes # is this really true???
9944 ## LD is ld it makes a PLAMLIB
9945 ## CC just makes a GrossModule.
9946 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9947 reload_cmds
='$CC -r -o $output$reload_objs'
9951 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9952 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9955 runpath_var
='LD_RUN_PATH'
9956 hardcode_shlibpath_var
=no
9960 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9961 hardcode_shlibpath_var
=no
9962 export_dynamic_flag_spec
='-Bexport'
9966 if test -d /usr
/nec
; then
9967 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9968 hardcode_shlibpath_var
=no
9969 runpath_var
=LD_RUN_PATH
9970 hardcode_runpath_var
=yes
9975 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9976 no_undefined_flag
='${wl}-z,text'
9977 archive_cmds_need_lc
=no
9978 hardcode_shlibpath_var
=no
9979 runpath_var
='LD_RUN_PATH'
9981 if test "$GCC" = yes; then
9982 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9983 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9985 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9986 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9990 sysv5
* | sco3.2v5
* | sco5v6
*)
9991 # Note: We can NOT use -z defs as we might desire, because we do not
9992 # link with -lc, and that would cause any symbols used from libc to
9993 # always be unresolved, which means just about no library would
9994 # ever link correctly. If we're not using GNU ld we use -z text
9995 # though, which does catch some bad symbols but isn't as heavy-handed
9997 no_undefined_flag
='${wl}-z,text'
9998 allow_undefined_flag
='${wl}-z,nodefs'
9999 archive_cmds_need_lc
=no
10000 hardcode_shlibpath_var
=no
10001 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10002 hardcode_libdir_separator
=':'
10003 link_all_deplibs
=yes
10004 export_dynamic_flag_spec
='${wl}-Bexport'
10005 runpath_var
='LD_RUN_PATH'
10007 if test "$GCC" = yes; then
10008 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10009 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10011 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10017 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10018 hardcode_libdir_flag_spec
='-L$libdir'
10019 hardcode_shlibpath_var
=no
10027 if test x
$host_vendor = xsni
; then
10029 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10030 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10037 $as_echo "$ld_shlibs" >&6; }
10038 test "$ld_shlibs" = no
&& can_build_shared
=no
10040 with_gnu_ld
=$with_gnu_ld
10057 # Do we need to explicitly link libc?
10059 case "x$archive_cmds_need_lc" in
10061 # Assume -lc should be added
10062 archive_cmds_need_lc
=yes
10064 if test "$enable_shared" = yes && test "$GCC" = yes; then
10065 case $archive_cmds in
10067 # FIXME: we may have to deal with multi-command sequences.
10070 # Test whether the compiler implicitly links with -lc since on some
10071 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10072 # to ld, don't add -lc before -lgcc.
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10074 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10075 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10076 $as_echo_n "(cached) " >&6
10079 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10082 (eval $ac_compile) 2>&5
10084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10085 test $ac_status = 0; } 2>conftest.err
; then
10088 libobjs
=conftest.
$ac_objext
10090 wl
=$lt_prog_compiler_wl
10091 pic_flag
=$lt_prog_compiler_pic
10097 lt_save_allow_undefined_flag
=$allow_undefined_flag
10098 allow_undefined_flag
=
10099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10100 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10103 test $ac_status = 0; }
10105 lt_cv_archive_cmds_need_lc
=no
10107 lt_cv_archive_cmds_need_lc
=yes
10109 allow_undefined_flag
=$lt_save_allow_undefined_flag
10111 cat conftest.err
1>&5
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10117 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10118 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10282 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10284 if test "$GCC" = yes; then
10286 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10287 *) lt_awk_arg
="/^libraries:/" ;;
10290 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10291 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10293 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10294 case $lt_search_path_spec in
10296 # if the path contains ";" then we assume it to be the separator
10297 # otherwise default to the standard path separator (i.e. ":") - it is
10298 # assumed that no part of a normal pathname contains ";" but that should
10299 # okay in the real world where ";" in dirpaths is itself problematic.
10300 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10303 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10306 # Ok, now we have the path, separated by spaces, we can step through it
10307 # and add multilib dir if necessary.
10308 lt_tmp_lt_search_path_spec
=
10309 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10310 for lt_sys_path
in $lt_search_path_spec; do
10311 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10312 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10314 test -d "$lt_sys_path" && \
10315 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10318 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10319 BEGIN {RS=" "; FS="/|\n";} {
10322 for (lt_i = NF; lt_i > 0; lt_i--) {
10323 if ($lt_i != "" && $lt_i != ".") {
10324 if ($lt_i == "..") {
10327 if (lt_count == 0) {
10328 lt_foo="/" $lt_i lt_foo;
10335 if (lt_foo != "") { lt_freq[lt_foo]++; }
10336 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10338 # AWK program above erroneously prepends '/' to C:/dos/paths
10341 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10342 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10344 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10346 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10348 library_names_spec
=
10349 libname_spec
='lib$name'
10353 postuninstall_cmds
=
10357 shlibpath_overrides_runpath
=unknown
10359 dynamic_linker
="$host_os ld.so"
10360 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10361 need_lib_prefix
=unknown
10362 hardcode_into_libs
=no
10364 # when you set need_version to no, make sure it does not cause -set_version
10365 # flags to be left without arguments
10366 need_version
=unknown
10371 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10372 shlibpath_var
=LIBPATH
10374 # AIX 3 has no versioning support, so we append a major version to the name.
10375 soname_spec
='${libname}${release}${shared_ext}$major'
10382 hardcode_into_libs
=yes
10383 if test "$host_cpu" = ia64
; then
10384 # AIX 5 supports IA64
10385 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10386 shlibpath_var
=LD_LIBRARY_PATH
10388 # With GCC up to 2.95.x, collect2 would create an import file
10389 # for dependence libraries. The import file would start with
10390 # the line `#! .'. This would cause the generated library to
10391 # depend on `.', always an invalid library. This was fixed in
10392 # development snapshots of GCC prior to 3.0.
10394 aix4 | aix4.
[01] | aix4.
[01].
*)
10395 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10397 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10400 can_build_shared
=no
10404 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10405 # soname into executable. Probably we can add versioning support to
10406 # collect2, so additional links can be useful in future.
10407 if test "$aix_use_runtimelinking" = yes; then
10408 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10409 # instead of lib<name>.a to let people know that these are not
10410 # typical AIX shared libraries.
10411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10413 # We preserve .a as extension for shared libraries through AIX4.2
10414 # and later when we are not doing run time linking.
10415 library_names_spec
='${libname}${release}.a $libname.a'
10416 soname_spec
='${libname}${release}${shared_ext}$major'
10418 shlibpath_var
=LIBPATH
10425 # Since July 2007 AmigaOS4 officially supports .so libraries.
10426 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10430 library_names_spec
='$libname.ixlibrary $libname.a'
10431 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10432 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'
10438 library_names_spec
='${libname}${shared_ext}'
10439 dynamic_linker
="$host_os ld.so"
10440 shlibpath_var
=LIBRARY_PATH
10446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10447 soname_spec
='${libname}${release}${shared_ext}$major'
10448 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10449 shlibpath_var
=LD_LIBRARY_PATH
10450 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10451 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10452 # the default ld.so.conf also contains /usr/contrib/lib and
10453 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10454 # libtool to hard-code these into programs
10457 cygwin
* | mingw
* | pw32
* | cegcc
*)
10458 version_type
=windows
10463 case $GCC,$host_os in
10464 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10465 library_names_spec
='$libname.dll.a'
10466 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10467 postinstall_cmds
='base_file=`basename \${file}`~
10468 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10469 dldir=$destdir/`dirname \$dlpath`~
10470 test -d \$dldir || mkdir -p \$dldir~
10471 $install_prog $dir/$dlname \$dldir/$dlname~
10472 chmod a+x \$dldir/$dlname~
10473 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10474 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10476 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10477 dlpath=$dir/\$dldll~
10479 shlibpath_overrides_runpath
=yes
10483 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10484 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10486 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10489 # MinGW DLLs use traditional 'lib' prefix
10490 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10493 # pw32 DLLs use 'pw' prefix rather than 'lib'
10494 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10500 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10503 dynamic_linker
='Win32 ld.exe'
10504 # FIXME: first we should search . and the directory the executable is in
10508 darwin
* | rhapsody
*)
10509 dynamic_linker
="$host_os dyld"
10510 version_type
=darwin
10513 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10514 soname_spec
='${libname}${release}${major}$shared_ext'
10515 shlibpath_overrides_runpath
=yes
10516 shlibpath_var
=DYLD_LIBRARY_PATH
10517 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10519 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10520 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10528 soname_spec
='${libname}${release}${shared_ext}$major'
10529 shlibpath_var
=LD_LIBRARY_PATH
10536 freebsd
* | dragonfly
*)
10537 # DragonFly does not have aout. When/if they implement a new
10538 # versioning mechanism, adjust this.
10539 if test -x /usr
/bin
/objformat
; then
10540 objformat
=`/usr/bin/objformat`
10543 freebsd
[123]*) objformat
=aout
;;
10544 *) objformat
=elf
;;
10547 version_type
=freebsd-
$objformat
10548 case $version_type in
10550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10555 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10559 shlibpath_var
=LD_LIBRARY_PATH
10562 shlibpath_overrides_runpath
=yes
10564 freebsd3.
[01]* | freebsdelf3.
[01]*)
10565 shlibpath_overrides_runpath
=yes
10566 hardcode_into_libs
=yes
10568 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10569 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10570 shlibpath_overrides_runpath
=no
10571 hardcode_into_libs
=yes
10573 *) # from 4.6 on, and DragonFly
10574 shlibpath_overrides_runpath
=yes
10575 hardcode_into_libs
=yes
10584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10585 soname_spec
='${libname}${release}${shared_ext}$major'
10586 shlibpath_var
=LD_LIBRARY_PATH
10587 hardcode_into_libs
=yes
10594 dynamic_linker
="$host_os runtime_loader"
10595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10596 soname_spec
='${libname}${release}${shared_ext}$major'
10597 shlibpath_var
=LIBRARY_PATH
10598 shlibpath_overrides_runpath
=yes
10599 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10600 hardcode_into_libs
=yes
10603 hpux9
* | hpux10
* | hpux11
*)
10604 # Give a soname corresponding to the major version so that dld.sl refuses to
10605 # link against other versions.
10612 hardcode_into_libs
=yes
10613 dynamic_linker
="$host_os dld.so"
10614 shlibpath_var
=LD_LIBRARY_PATH
10615 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10617 soname_spec
='${libname}${release}${shared_ext}$major'
10618 if test "X$HPUX_IA64_MODE" = X32
; then
10619 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10621 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10623 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10627 hardcode_into_libs
=yes
10628 dynamic_linker
="$host_os dld.sl"
10629 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10630 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10632 soname_spec
='${libname}${release}${shared_ext}$major'
10633 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10634 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10638 dynamic_linker
="$host_os dld.sl"
10639 shlibpath_var
=SHLIB_PATH
10640 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10642 soname_spec
='${libname}${release}${shared_ext}$major'
10645 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10646 postinstall_cmds
='chmod 555 $lib'
10647 # or fails outright, so override atomically:
10648 install_override_mode
=555
10655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10656 soname_spec
='${libname}${release}${shared_ext}$major'
10657 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10658 shlibpath_var
=LD_LIBRARY_PATH
10659 shlibpath_overrides_runpath
=no
10660 hardcode_into_libs
=yes
10663 irix5
* | irix6
* | nonstopux
*)
10665 nonstopux
*) version_type
=nonstopux
;;
10667 if test "$lt_cv_prog_gnu_ld" = yes; then
10675 soname_spec
='${libname}${release}${shared_ext}$major'
10676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10678 irix5
* | nonstopux
*)
10679 libsuff
= shlibsuff
=
10682 case $LD in # libtool.m4 will add one of these switches to LD
10683 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10684 libsuff
= shlibsuff
= libmagic
=32-bit;;
10685 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10686 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10687 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10688 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10689 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10693 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10694 shlibpath_overrides_runpath
=no
10695 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10696 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10697 hardcode_into_libs
=yes
10700 # No shared lib support for Linux oldld, aout, or coff.
10701 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10705 # This must be Linux ELF.
10706 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 soname_spec
='${libname}${release}${shared_ext}$major'
10712 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10713 shlibpath_var
=LD_LIBRARY_PATH
10714 shlibpath_overrides_runpath
=no
10716 # Some binutils ld are patched to set DT_RUNPATH
10717 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10718 $as_echo_n "(cached) " >&6
10720 lt_cv_shlibpath_overrides_runpath
=no
10721 save_LDFLAGS
=$LDFLAGS
10722 save_libdir
=$libdir
10723 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10724 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10736 if ac_fn_c_try_link
"$LINENO"; then :
10737 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10738 lt_cv_shlibpath_overrides_runpath
=yes
10741 rm -f core conftest.err conftest.
$ac_objext \
10742 conftest
$ac_exeext conftest.
$ac_ext
10743 LDFLAGS
=$save_LDFLAGS
10744 libdir
=$save_libdir
10748 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10750 # This implies no fast_install, which is unacceptable.
10751 # Some rework will be needed to allow for fast_install
10752 # before this can be enabled.
10753 hardcode_into_libs
=yes
10755 # Append ld.so.conf contents to the search path
10756 if test -f /etc
/ld.so.conf
; then
10757 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' ' '`
10758 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10761 # We used to test for /lib/ld.so.1 and disable shared libraries on
10762 # powerpc, because MkLinux only supported shared libraries with the
10763 # GNU dynamic linker. Since this was broken with cross compilers,
10764 # most powerpc-linux boxes support dynamic linking these days and
10765 # people can always --disable-shared, the test was removed, and we
10766 # assume the GNU/Linux dynamic linker is in use.
10767 dynamic_linker
='GNU/Linux ld.so'
10774 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10776 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10777 dynamic_linker
='NetBSD (a.out) ld.so'
10779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10780 soname_spec
='${libname}${release}${shared_ext}$major'
10781 dynamic_linker
='NetBSD ld.elf_so'
10783 shlibpath_var
=LD_LIBRARY_PATH
10784 shlibpath_overrides_runpath
=yes
10785 hardcode_into_libs
=yes
10790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10791 shlibpath_var
=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath
=yes
10799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10800 soname_spec
='${libname}${release}${shared_ext}$major'
10801 shlibpath_var
=LD_LIBRARY_PATH
10802 shlibpath_overrides_runpath
=no
10803 hardcode_into_libs
=yes
10804 dynamic_linker
='ldqnx.so'
10809 sys_lib_dlsearch_path_spec
="/usr/lib"
10811 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10813 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10814 *) need_version
=no
;;
10816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10817 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10818 shlibpath_var
=LD_LIBRARY_PATH
10819 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10821 openbsd2.
[89] | openbsd2.
[89].
*)
10822 shlibpath_overrides_runpath
=no
10825 shlibpath_overrides_runpath
=yes
10829 shlibpath_overrides_runpath
=yes
10834 libname_spec
='$name'
10837 library_names_spec
='$libname${shared_ext} $libname.a'
10838 dynamic_linker
='OS/2 ld.exe'
10839 shlibpath_var
=LIBPATH
10842 osf3
* | osf4
* | osf5
*)
10846 soname_spec
='${libname}${release}${shared_ext}$major'
10847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10848 shlibpath_var
=LD_LIBRARY_PATH
10849 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10850 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10862 soname_spec
='${libname}${release}${shared_ext}$major'
10863 shlibpath_var
=LD_LIBRARY_PATH
10864 shlibpath_overrides_runpath
=yes
10865 hardcode_into_libs
=yes
10866 # ldd complains unless libraries are executable
10867 postinstall_cmds
='chmod +x $lib'
10872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10873 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10874 shlibpath_var
=LD_LIBRARY_PATH
10875 shlibpath_overrides_runpath
=yes
10876 if test "$with_gnu_ld" = yes; then
10884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885 soname_spec
='${libname}${release}${shared_ext}$major'
10886 shlibpath_var
=LD_LIBRARY_PATH
10887 case $host_vendor in
10889 shlibpath_overrides_runpath
=no
10891 runpath_var
=LD_RUN_PATH
10899 shlibpath_overrides_runpath
=no
10900 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10906 if test -d /usr
/nec
;then
10908 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10909 soname_spec
='$libname${shared_ext}.$major'
10910 shlibpath_var
=LD_LIBRARY_PATH
10914 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10915 version_type
=freebsd-elf
10918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10919 soname_spec
='${libname}${release}${shared_ext}$major'
10920 shlibpath_var
=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath
=yes
10922 hardcode_into_libs
=yes
10923 if test "$with_gnu_ld" = yes; then
10924 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10926 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10929 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10933 sys_lib_dlsearch_path_spec
='/usr/lib'
10937 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942 shlibpath_var
=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath
=no
10944 hardcode_into_libs
=yes
10949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10950 soname_spec
='${libname}${release}${shared_ext}$major'
10951 shlibpath_var
=LD_LIBRARY_PATH
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10959 $as_echo "$dynamic_linker" >&6; }
10960 test "$dynamic_linker" = no
&& can_build_shared
=no
10962 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10963 if test "$GCC" = yes; then
10964 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10967 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10968 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10970 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10971 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11066 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11068 if test -n "$hardcode_libdir_flag_spec" ||
11069 test -n "$runpath_var" ||
11070 test "X$hardcode_automatic" = "Xyes" ; then
11072 # We can hardcode non-existent directories.
11073 if test "$hardcode_direct" != no
&&
11074 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11075 # have to relink, otherwise we might link with an installed library
11076 # when we should be linking with a yet-to-be-installed one
11077 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11078 test "$hardcode_minus_L" != no
; then
11079 # Linking always hardcodes the temporary library directory.
11080 hardcode_action
=relink
11082 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11083 hardcode_action
=immediate
11086 # We cannot hardcode anything, or else we can only hardcode existing
11088 hardcode_action
=unsupported
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11091 $as_echo "$hardcode_action" >&6; }
11093 if test "$hardcode_action" = relink ||
11094 test "$inherit_rpath" = yes; then
11095 # Fast installation is not supported
11096 enable_fast_install
=no
11097 elif test "$shlibpath_overrides_runpath" = yes ||
11098 test "$enable_shared" = no
; then
11099 # Fast installation is not necessary
11100 enable_fast_install
=needless
11108 if test "x$enable_dlopen" != xyes
; then
11109 enable_dlopen
=unknown
11110 enable_dlopen_self
=unknown
11111 enable_dlopen_self_static
=unknown
11118 lt_cv_dlopen
="load_add_on"
11120 lt_cv_dlopen_self
=yes
11123 mingw
* | pw32
* | cegcc
*)
11124 lt_cv_dlopen
="LoadLibrary"
11129 lt_cv_dlopen
="dlopen"
11134 # if libdl is installed we need to link against it
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11136 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11137 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11138 $as_echo_n "(cached) " >&6
11140 ac_check_lib_save_LIBS
=$LIBS
11142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11160 if ac_fn_c_try_link
"$LINENO"; then :
11161 ac_cv_lib_dl_dlopen
=yes
11163 ac_cv_lib_dl_dlopen
=no
11165 rm -f core conftest.err conftest.
$ac_objext \
11166 conftest
$ac_exeext conftest.
$ac_ext
11167 LIBS
=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11170 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11171 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11172 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11175 lt_cv_dlopen
="dyld"
11177 lt_cv_dlopen_self
=yes
11184 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11185 if test "x$ac_cv_func_shl_load" = xyes
; then :
11186 lt_cv_dlopen
="shl_load"
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11189 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11190 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11191 $as_echo_n "(cached) " >&6
11193 ac_check_lib_save_LIBS
=$LIBS
11195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11198 /* Override any GCC internal prototype to avoid an error.
11199 Use char because int might match the return type of a GCC
11200 builtin and then its argument prototype would still apply. */
11208 return shl_load ();
11213 if ac_fn_c_try_link
"$LINENO"; then :
11214 ac_cv_lib_dld_shl_load
=yes
11216 ac_cv_lib_dld_shl_load
=no
11218 rm -f core conftest.err conftest.
$ac_objext \
11219 conftest
$ac_exeext conftest.
$ac_ext
11220 LIBS
=$ac_check_lib_save_LIBS
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11223 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11224 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11225 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11227 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11228 if test "x$ac_cv_func_dlopen" = xyes
; then :
11229 lt_cv_dlopen
="dlopen"
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11232 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11233 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11234 $as_echo_n "(cached) " >&6
11236 ac_check_lib_save_LIBS
=$LIBS
11238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11256 if ac_fn_c_try_link
"$LINENO"; then :
11257 ac_cv_lib_dl_dlopen
=yes
11259 ac_cv_lib_dl_dlopen
=no
11261 rm -f core conftest.err conftest.
$ac_objext \
11262 conftest
$ac_exeext conftest.
$ac_ext
11263 LIBS
=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11266 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11267 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11268 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11271 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11272 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11273 $as_echo_n "(cached) " >&6
11275 ac_check_lib_save_LIBS
=$LIBS
11276 LIBS
="-lsvld $LIBS"
11277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11295 if ac_fn_c_try_link
"$LINENO"; then :
11296 ac_cv_lib_svld_dlopen
=yes
11298 ac_cv_lib_svld_dlopen
=no
11300 rm -f core conftest.err conftest.
$ac_objext \
11301 conftest
$ac_exeext conftest.
$ac_ext
11302 LIBS
=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11305 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11306 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11307 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11310 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11311 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11312 $as_echo_n "(cached) " >&6
11314 ac_check_lib_save_LIBS
=$LIBS
11316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11319 /* Override any GCC internal prototype to avoid an error.
11320 Use char because int might match the return type of a GCC
11321 builtin and then its argument prototype would still apply. */
11329 return dld_link ();
11334 if ac_fn_c_try_link
"$LINENO"; then :
11335 ac_cv_lib_dld_dld_link
=yes
11337 ac_cv_lib_dld_dld_link
=no
11339 rm -f core conftest.err conftest.
$ac_objext \
11340 conftest
$ac_exeext conftest.
$ac_ext
11341 LIBS
=$ac_check_lib_save_LIBS
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11344 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11345 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11346 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11367 if test "x$lt_cv_dlopen" != xno
; then
11373 case $lt_cv_dlopen in
11375 save_CPPFLAGS
="$CPPFLAGS"
11376 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11378 save_LDFLAGS
="$LDFLAGS"
11379 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11382 LIBS
="$lt_cv_dlopen_libs $LIBS"
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11385 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11386 if ${lt_cv_dlopen_self+:} false
; then :
11387 $as_echo_n "(cached) " >&6
11389 if test "$cross_compiling" = yes; then :
11390 lt_cv_dlopen_self
=cross
11392 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11393 lt_status
=$lt_dlunknown
11394 cat > conftest.
$ac_ext <<_LT_EOF
11395 #line $LINENO "configure"
11396 #include "confdefs.h"
11405 # define LT_DLGLOBAL RTLD_GLOBAL
11408 # define LT_DLGLOBAL DL_GLOBAL
11410 # define LT_DLGLOBAL 0
11414 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11415 find out it does not work in some platform. */
11416 #ifndef LT_DLLAZY_OR_NOW
11418 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11421 # define LT_DLLAZY_OR_NOW DL_LAZY
11424 # define LT_DLLAZY_OR_NOW RTLD_NOW
11427 # define LT_DLLAZY_OR_NOW DL_NOW
11429 # define LT_DLLAZY_OR_NOW 0
11436 /* When -fvisbility=hidden is used, assume the code has been annotated
11437 correspondingly for the symbols needed. */
11438 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11439 void fnord () __attribute__((visibility("default")));
11442 void fnord () { int i=42; }
11445 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11446 int status = $lt_dlunknown;
11450 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11453 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11454 else puts (dlerror ());
11456 /* dlclose (self); */
11464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11465 (eval $ac_link) 2>&5
11467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11468 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11469 (.
/conftest
; exit; ) >&5 2>/dev
/null
11471 case x
$lt_status in
11472 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11473 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11474 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11477 # compilation failed
11478 lt_cv_dlopen_self
=no
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11486 $as_echo "$lt_cv_dlopen_self" >&6; }
11488 if test "x$lt_cv_dlopen_self" = xyes
; then
11489 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11491 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11492 if ${lt_cv_dlopen_self_static+:} false
; then :
11493 $as_echo_n "(cached) " >&6
11495 if test "$cross_compiling" = yes; then :
11496 lt_cv_dlopen_self_static
=cross
11498 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11499 lt_status
=$lt_dlunknown
11500 cat > conftest.
$ac_ext <<_LT_EOF
11501 #line $LINENO "configure"
11502 #include "confdefs.h"
11511 # define LT_DLGLOBAL RTLD_GLOBAL
11514 # define LT_DLGLOBAL DL_GLOBAL
11516 # define LT_DLGLOBAL 0
11520 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11521 find out it does not work in some platform. */
11522 #ifndef LT_DLLAZY_OR_NOW
11524 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11527 # define LT_DLLAZY_OR_NOW DL_LAZY
11530 # define LT_DLLAZY_OR_NOW RTLD_NOW
11533 # define LT_DLLAZY_OR_NOW DL_NOW
11535 # define LT_DLLAZY_OR_NOW 0
11542 /* When -fvisbility=hidden is used, assume the code has been annotated
11543 correspondingly for the symbols needed. */
11544 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11545 void fnord () __attribute__((visibility("default")));
11548 void fnord () { int i=42; }
11551 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11552 int status = $lt_dlunknown;
11556 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11559 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11560 else puts (dlerror ());
11562 /* dlclose (self); */
11570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11571 (eval $ac_link) 2>&5
11573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11574 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11575 (.
/conftest
; exit; ) >&5 2>/dev
/null
11577 case x
$lt_status in
11578 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11579 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11580 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11583 # compilation failed
11584 lt_cv_dlopen_self_static
=no
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11592 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11595 CPPFLAGS
="$save_CPPFLAGS"
11596 LDFLAGS
="$save_LDFLAGS"
11601 case $lt_cv_dlopen_self in
11602 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11603 *) enable_dlopen_self
=unknown
;;
11606 case $lt_cv_dlopen_self_static in
11607 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11608 *) enable_dlopen_self_static
=unknown
;;
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11631 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11632 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11633 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11634 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11636 $as_echo "yes" >&6; }
11638 # FIXME - insert some real tests, host_os isn't really good enough
11641 if test -n "$STRIP" ; then
11642 striplib
="$STRIP -x"
11643 old_striplib
="$STRIP -S"
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11645 $as_echo "yes" >&6; }
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11648 $as_echo "no" >&6; }
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11653 $as_echo "no" >&6; }
11669 # Report which library types will actually be built
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11671 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11673 $as_echo "$can_build_shared" >&6; }
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11676 $as_echo_n "checking whether to build shared libraries... " >&6; }
11677 test "$can_build_shared" = "no" && enable_shared
=no
11679 # On AIX, shared libraries and static libraries use the same namespace, and
11680 # are all built from PIC.
11683 test "$enable_shared" = yes && enable_static
=no
11684 if test -n "$RANLIB"; then
11685 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11686 postinstall_cmds
='$RANLIB $lib'
11691 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11692 test "$enable_shared" = yes && enable_static
=no
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11697 $as_echo "$enable_shared" >&6; }
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11700 $as_echo_n "checking whether to build static libraries... " >&6; }
11701 # Make sure either enable_shared or enable_static is yes.
11702 test "$enable_shared" = yes || enable_static
=yes
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11704 $as_echo "$enable_static" >&6; }
11711 ac_cpp
='$CXXCPP $CPPFLAGS'
11712 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11713 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11714 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11718 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11719 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11720 (test "X$CXX" != "Xg++"))) ; then
11722 ac_cpp
='$CXXCPP $CPPFLAGS'
11723 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11724 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11725 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11727 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11728 if test -z "$CXXCPP"; then
11729 if ${ac_cv_prog_CXXCPP+:} false
; then :
11730 $as_echo_n "(cached) " >&6
11732 # Double quotes because CXXCPP needs to be expanded
11733 for CXXCPP
in "$CXX -E" "/lib/cpp"
11735 ac_preproc_ok
=false
11736 for ac_cxx_preproc_warn_flag
in '' yes
11738 # Use a header file that comes with gcc, so configuring glibc
11739 # with a fresh cross-compiler works.
11740 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11741 # <limits.h> exists even on freestanding compilers.
11742 # On the NeXT, cc -E runs the code through the compiler's parser,
11743 # not just through cpp. "Syntax error" is here to catch this case.
11744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11747 # include <limits.h>
11749 # include <assert.h>
11753 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11756 # Broken: fails on valid input.
11759 rm -f conftest.err conftest.i conftest.
$ac_ext
11761 # OK, works on sane cases. Now check whether nonexistent headers
11762 # can be detected and how.
11763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11764 /* end confdefs.h. */
11765 #include <ac_nonexistent.h>
11767 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11768 # Broken: success on invalid input.
11771 # Passes both tests.
11775 rm -f conftest.err conftest.i conftest.
$ac_ext
11778 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11779 rm -f conftest.i conftest.err conftest.
$ac_ext
11780 if $ac_preproc_ok; then :
11785 ac_cv_prog_CXXCPP
=$CXXCPP
11788 CXXCPP
=$ac_cv_prog_CXXCPP
11790 ac_cv_prog_CXXCPP
=$CXXCPP
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11793 $as_echo "$CXXCPP" >&6; }
11794 ac_preproc_ok
=false
11795 for ac_cxx_preproc_warn_flag
in '' yes
11797 # Use a header file that comes with gcc, so configuring glibc
11798 # with a fresh cross-compiler works.
11799 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11800 # <limits.h> exists even on freestanding compilers.
11801 # On the NeXT, cc -E runs the code through the compiler's parser,
11802 # not just through cpp. "Syntax error" is here to catch this case.
11803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 # include <limits.h>
11808 # include <assert.h>
11812 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11815 # Broken: fails on valid input.
11818 rm -f conftest.err conftest.i conftest.
$ac_ext
11820 # OK, works on sane cases. Now check whether nonexistent headers
11821 # can be detected and how.
11822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11824 #include <ac_nonexistent.h>
11826 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11827 # Broken: success on invalid input.
11830 # Passes both tests.
11834 rm -f conftest.err conftest.i conftest.
$ac_ext
11837 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11838 rm -f conftest.i conftest.err conftest.
$ac_ext
11839 if $ac_preproc_ok; then :
11842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11844 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11845 See \`config.log' for more details" "$LINENO" 5; }
11849 ac_cpp
='$CXXCPP $CPPFLAGS'
11850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11855 _lt_caught_CXX_error
=yes
11859 ac_cpp
='$CXXCPP $CPPFLAGS'
11860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11864 archive_cmds_need_lc_CXX
=no
11865 allow_undefined_flag_CXX
=
11866 always_export_symbols_CXX
=no
11867 archive_expsym_cmds_CXX
=
11868 compiler_needs_object_CXX
=no
11869 export_dynamic_flag_spec_CXX
=
11870 hardcode_direct_CXX
=no
11871 hardcode_direct_absolute_CXX
=no
11872 hardcode_libdir_flag_spec_CXX
=
11873 hardcode_libdir_flag_spec_ld_CXX
=
11874 hardcode_libdir_separator_CXX
=
11875 hardcode_minus_L_CXX
=no
11876 hardcode_shlibpath_var_CXX
=unsupported
11877 hardcode_automatic_CXX
=no
11878 inherit_rpath_CXX
=no
11880 module_expsym_cmds_CXX
=
11881 link_all_deplibs_CXX
=unknown
11882 old_archive_cmds_CXX
=$old_archive_cmds
11883 reload_flag_CXX
=$reload_flag
11884 reload_cmds_CXX
=$reload_cmds
11885 no_undefined_flag_CXX
=
11886 whole_archive_flag_spec_CXX
=
11887 enable_shared_with_static_runtimes_CXX
=no
11889 # Source file extension for C++ test sources.
11892 # Object file extension for compiled C++ test sources.
11896 # No sense in running all these tests if we already determined that
11897 # the CXX compiler isn't working. Some variables (like enable_shared)
11898 # are currently assumed to apply to all compilers on this platform,
11899 # and will be corrupted by setting them based on a non-working compiler.
11900 if test "$_lt_caught_CXX_error" != yes; then
11901 # Code to be used in simple compile tests
11902 lt_simple_compile_test_code
="int some_variable = 0;"
11904 # Code to be used in simple link tests
11905 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11907 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11914 # If no C compiler was specified, use CC.
11917 # If no C compiler flags were specified, use CFLAGS.
11918 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11920 # Allow CC to be a program name with arguments.
11924 # save warnings/boilerplate of simple test code
11925 ac_outfile
=conftest.
$ac_objext
11926 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11927 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11928 _lt_compiler_boilerplate
=`cat conftest.err`
11931 ac_outfile
=conftest.
$ac_objext
11932 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11933 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11934 _lt_linker_boilerplate
=`cat conftest.err`
11938 # Allow CC to be a program name with arguments.
11943 lt_save_with_gnu_ld
=$with_gnu_ld
11944 lt_save_path_LD
=$lt_cv_path_LD
11945 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11946 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11948 $as_unset lt_cv_prog_gnu_ld
11950 if test -n "${lt_cv_path_LDCXX+set}"; then
11951 lt_cv_path_LD
=$lt_cv_path_LDCXX
11953 $as_unset lt_cv_path_LD
11955 test -z "${LDCXX+set}" || LD
=$LDCXX
11959 for cc_temp
in $compiler""; do
11961 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11962 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11967 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11970 if test -n "$compiler"; then
11971 # We don't want -fno-exception when compiling C++ code, so set the
11972 # no_builtin_flag separately
11973 if test "$GXX" = yes; then
11974 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11976 lt_prog_compiler_no_builtin_flag_CXX
=
11979 if test "$GXX" = yes; then
11980 # Set up default GNU C++ configuration
11984 # Check whether --with-gnu-ld was given.
11985 if test "${with_gnu_ld+set}" = set; then :
11986 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11992 if test "$GCC" = yes; then
11993 # Check if gcc -print-prog-name=ld gives a path.
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11995 $as_echo_n "checking for ld used by $CC... " >&6; }
11998 # gcc leaves a trailing carriage return which upsets mingw
11999 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12001 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12004 # Accept absolute paths.
12006 re_direlt
='/[^/][^/]*/\.\./'
12007 # Canonicalize the pathname of ld
12008 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12009 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12010 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12012 test -z "$LD" && LD
="$ac_prog"
12015 # If it fails, then pretend we aren't using GCC.
12019 # If it is relative, then search for the first ld in PATH.
12020 with_gnu_ld
=unknown
12023 elif test "$with_gnu_ld" = yes; then
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12025 $as_echo_n "checking for GNU ld... " >&6; }
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12028 $as_echo_n "checking for non-GNU ld... " >&6; }
12030 if ${lt_cv_path_LD+:} false
; then :
12031 $as_echo_n "(cached) " >&6
12033 if test -z "$LD"; then
12034 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12035 for ac_dir
in $PATH; do
12037 test -z "$ac_dir" && ac_dir
=.
12038 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12039 lt_cv_path_LD
="$ac_dir/$ac_prog"
12040 # Check to see if the program is GNU ld. I'd rather use --version,
12041 # but apparently some variants of GNU ld only accept -v.
12042 # Break only if it was the GNU/non-GNU ld that we prefer.
12043 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12044 *GNU
* |
*'with BFD'*)
12045 test "$with_gnu_ld" != no
&& break
12048 test "$with_gnu_ld" != yes && break
12055 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12059 LD
="$lt_cv_path_LD"
12060 if test -n "$LD"; then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12062 $as_echo "$LD" >&6; }
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065 $as_echo "no" >&6; }
12067 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12069 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12070 if ${lt_cv_prog_gnu_ld+:} false
; then :
12071 $as_echo_n "(cached) " >&6
12073 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12074 case `$LD -v 2>&1 </dev/null` in
12075 *GNU
* |
*'with BFD'*)
12076 lt_cv_prog_gnu_ld
=yes
12079 lt_cv_prog_gnu_ld
=no
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12084 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12085 with_gnu_ld
=$lt_cv_prog_gnu_ld
12093 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12094 # archiving commands below assume that GNU ld is being used.
12095 if test "$with_gnu_ld" = yes; then
12096 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12097 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12099 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12100 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12102 # If archive_cmds runs LD, not CC, wlarc should be empty
12103 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12104 # investigate it a little bit more. (MM)
12107 # ancient GNU ld didn't support --whole-archive et. al.
12108 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12109 $GREP 'no-whole-archive' > /dev
/null
; then
12110 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12112 whole_archive_flag_spec_CXX
=
12118 # A generic and very simple default shared library creation
12119 # command for GNU C++ for the case where it uses the native
12120 # linker, instead of GNU ld. If possible, this setting should
12121 # overridden to take advantage of the native linker features on
12122 # the platform it is being used on.
12123 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12126 # Commands to make compiler produce verbose output that lists
12127 # what "hidden" libraries, object files and flags are used when
12128 # linking a shared library.
12129 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12137 # PORTME: fill in a description of your system's C++ link characteristics
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12139 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12143 # FIXME: insert proper C++ library support
12147 if test "$host_cpu" = ia64
; then
12148 # On IA64, the linker does run time linking by default, so we don't
12149 # have to do anything special.
12150 aix_use_runtimelinking
=no
12151 exp_sym_flag
='-Bexport'
12154 aix_use_runtimelinking
=no
12156 # Test if we are trying to use run time linking or normal
12157 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12158 # need to do runtime linking.
12159 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12160 for ld_flag
in $LDFLAGS; do
12163 aix_use_runtimelinking
=yes
12171 exp_sym_flag
='-bexport'
12172 no_entry_flag
='-bnoentry'
12175 # When large executables or shared objects are built, AIX ld can
12176 # have problems creating the table of contents. If linking a library
12177 # or program results in "error TOC overflow" add -mminimal-toc to
12178 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12179 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12181 archive_cmds_CXX
=''
12182 hardcode_direct_CXX
=yes
12183 hardcode_direct_absolute_CXX
=yes
12184 hardcode_libdir_separator_CXX
=':'
12185 link_all_deplibs_CXX
=yes
12186 file_list_spec_CXX
='${wl}-f,'
12188 if test "$GXX" = yes; then
12189 case $host_os in aix4.
[012]|aix4.
[012].
*)
12190 # We only want to do this on AIX 4.2 and lower, the check
12191 # below for broken collect2 doesn't work under 4.3+
12192 collect2name
=`${CC} -print-prog-name=collect2`
12193 if test -f "$collect2name" &&
12194 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12196 # We have reworked collect2
12199 # We have old collect2
12200 hardcode_direct_CXX
=unsupported
12201 # It fails to find uninstalled libraries when the uninstalled
12202 # path is not listed in the libpath. Setting hardcode_minus_L
12203 # to unsupported forces relinking
12204 hardcode_minus_L_CXX
=yes
12205 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12206 hardcode_libdir_separator_CXX
=
12209 shared_flag
='-shared'
12210 if test "$aix_use_runtimelinking" = yes; then
12211 shared_flag
="$shared_flag "'${wl}-G'
12215 if test "$host_cpu" = ia64
; then
12216 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12217 # chokes on -Wl,-G. The following line is correct:
12220 if test "$aix_use_runtimelinking" = yes; then
12221 shared_flag
='${wl}-G'
12223 shared_flag
='${wl}-bM:SRE'
12228 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12229 # It seems that -bexpall does not export symbols beginning with
12230 # underscore (_), so it is better to generate a list of symbols to
12232 always_export_symbols_CXX
=yes
12233 if test "$aix_use_runtimelinking" = yes; then
12234 # Warning - without using the other runtime loading flags (-brtl),
12235 # -berok will link without error, but may produce a broken library.
12236 allow_undefined_flag_CXX
='-berok'
12237 # Determine the default libpath from the value encoded in an empty
12239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12240 /* end confdefs.h. */
12250 if ac_fn_cxx_try_link
"$LINENO"; then :
12252 lt_aix_libpath_sed
='
12253 /Import File Strings/,/^$/ {
12259 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12260 # Check for a 64-bit object if we didn't find anything.
12261 if test -z "$aix_libpath"; then
12262 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12265 rm -f core conftest.err conftest.
$ac_objext \
12266 conftest
$ac_exeext conftest.
$ac_ext
12267 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12269 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12271 archive_expsym_cmds_CXX
='$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"
12273 if test "$host_cpu" = ia64
; then
12274 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12275 allow_undefined_flag_CXX
="-z nodefs"
12276 archive_expsym_cmds_CXX
="\$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"
12278 # Determine the default libpath from the value encoded in an
12279 # empty executable.
12280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12291 if ac_fn_cxx_try_link
"$LINENO"; then :
12293 lt_aix_libpath_sed
='
12294 /Import File Strings/,/^$/ {
12300 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12301 # Check for a 64-bit object if we didn't find anything.
12302 if test -z "$aix_libpath"; then
12303 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12306 rm -f core conftest.err conftest.
$ac_objext \
12307 conftest
$ac_exeext conftest.
$ac_ext
12308 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12310 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12311 # Warning - without using the other run time loading flags,
12312 # -berok will link without error, but may produce a broken library.
12313 no_undefined_flag_CXX
=' ${wl}-bernotok'
12314 allow_undefined_flag_CXX
=' ${wl}-berok'
12315 if test "$with_gnu_ld" = yes; then
12316 # We only use this code for GNU lds that support --whole-archive.
12317 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12319 # Exported symbols can be pulled into shared objects from archives
12320 whole_archive_flag_spec_CXX
='$convenience'
12322 archive_cmds_need_lc_CXX
=yes
12323 # This is similar to how AIX traditionally builds its shared
12325 archive_expsym_cmds_CXX
="\$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'
12331 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12332 allow_undefined_flag_CXX
=unsupported
12333 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12334 # support --undefined. This deserves some investigation. FIXME
12335 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12342 case $cc_basename in
12344 # FIXME: insert proper C++ library support
12350 cygwin
* | mingw
* | pw32
* | cegcc
*)
12351 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12352 # as there is no search path for DLLs.
12353 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12354 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12355 allow_undefined_flag_CXX
=unsupported
12356 always_export_symbols_CXX
=no
12357 enable_shared_with_static_runtimes_CXX
=yes
12359 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12360 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12361 # If the export-symbols file already is a .def file (1st line
12362 # is EXPORTS), use it as is; otherwise, prepend...
12363 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12364 cp $export_symbols $output_objdir/$soname.def;
12366 echo EXPORTS > $output_objdir/$soname.def;
12367 cat $export_symbols >> $output_objdir/$soname.def;
12369 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12374 darwin
* | rhapsody
*)
12377 archive_cmds_need_lc_CXX
=no
12378 hardcode_direct_CXX
=no
12379 hardcode_automatic_CXX
=yes
12380 hardcode_shlibpath_var_CXX
=unsupported
12381 if test "$lt_cv_ld_force_load" = "yes"; then
12382 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12384 whole_archive_flag_spec_CXX
=''
12386 link_all_deplibs_CXX
=yes
12387 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12388 case $cc_basename in
12389 ifort
*) _lt_dar_can_shared
=yes ;;
12390 *) _lt_dar_can_shared
=$GCC ;;
12392 if test "$_lt_dar_can_shared" = "yes"; then
12393 output_verbose_link_cmd
=func_echo_all
12394 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12395 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12396 archive_expsym_cmds_CXX
="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}"
12397 module_expsym_cmds_CXX
="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}"
12398 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12399 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12400 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12410 case $cc_basename in
12412 # FIXME: insert proper C++ library support
12416 # Green Hills C++ Compiler
12417 # FIXME: insert proper C++ library support
12421 # FIXME: insert proper C++ library support
12428 # C++ shared libraries reported to be fairly broken before
12434 archive_cmds_need_lc_CXX
=no
12437 freebsd
* | dragonfly
*)
12438 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12447 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12448 link_all_deplibs_CXX
=yes
12452 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12453 hardcode_libdir_separator_CXX
=:
12454 export_dynamic_flag_spec_CXX
='${wl}-E'
12455 hardcode_direct_CXX
=yes
12456 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12457 # but as the default
12458 # location of the library.
12460 case $cc_basename in
12462 # FIXME: insert proper C++ library support
12466 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12467 # Commands to make compiler produce verbose output that lists
12468 # what "hidden" libraries, object files and flags are used when
12469 # linking a shared library.
12471 # There doesn't appear to be a way to prevent this compiler from
12472 # explicitly linking system object files so we need to strip them
12473 # from the output so that they don't get included in the library
12475 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12478 if test "$GXX" = yes; then
12479 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12481 # FIXME: insert proper C++ library support
12489 if test $with_gnu_ld = no
; then
12490 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12491 hardcode_libdir_separator_CXX
=:
12497 export_dynamic_flag_spec_CXX
='${wl}-E'
12503 hardcode_direct_CXX
=no
12504 hardcode_shlibpath_var_CXX
=no
12507 hardcode_direct_CXX
=yes
12508 hardcode_direct_absolute_CXX
=yes
12509 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12510 # but as the default
12511 # location of the library.
12515 case $cc_basename in
12517 # FIXME: insert proper C++ library support
12523 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12526 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12529 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12532 # Commands to make compiler produce verbose output that lists
12533 # what "hidden" libraries, object files and flags are used when
12534 # linking a shared library.
12536 # There doesn't appear to be a way to prevent this compiler from
12537 # explicitly linking system object files so we need to strip them
12538 # from the output so that they don't get included in the library
12540 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12543 if test "$GXX" = yes; then
12544 if test $with_gnu_ld = no
; then
12547 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12550 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12553 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12558 # FIXME: insert proper C++ library support
12566 hardcode_direct_CXX
=no
12567 hardcode_shlibpath_var_CXX
=no
12568 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12569 export_dynamic_flag_spec_CXX
='${wl}-E'
12570 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12571 # Instead, shared libraries are loaded at an image base (0x10000000 by
12572 # default) and relocated if they conflict, which is a slow very memory
12573 # consuming and fragmenting process. To avoid this, we pick a random,
12574 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12575 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12576 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12577 archive_expsym_cmds_CXX
='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'
12580 case $cc_basename in
12583 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12585 # Archives containing C++ object files must be created using
12586 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12587 # necessary to make sure instantiated templates are included
12589 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12592 if test "$GXX" = yes; then
12593 if test "$with_gnu_ld" = no
; then
12594 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
12596 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12599 link_all_deplibs_CXX
=yes
12602 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12603 hardcode_libdir_separator_CXX
=:
12604 inherit_rpath_CXX
=yes
12607 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12608 case $cc_basename in
12610 # Kuck and Associates, Inc. (KAI) C++ Compiler
12612 # KCC will only create a shared library if the output file
12613 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12614 # to its proper name (with version) after linking.
12615 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12616 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12617 # Commands to make compiler produce verbose output that lists
12618 # what "hidden" libraries, object files and flags are used when
12619 # linking a shared library.
12621 # There doesn't appear to be a way to prevent this compiler from
12622 # explicitly linking system object files so we need to strip them
12623 # from the output so that they don't get included in the library
12625 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12627 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12628 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12630 # Archives containing C++ object files must be created using
12631 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12632 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12637 # version 8.0 and above of icpc choke on multiply defined symbols
12638 # if we add $predep_objects and $postdep_objects, however 7.1 and
12639 # earlier do not add the objects themselves.
12640 case `$CC -V 2>&1` in
12642 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12643 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12645 *) # Version 8.0 or newer
12648 ia64
*) tmp_idyn
=' -i_dynamic';;
12650 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12651 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12654 archive_cmds_need_lc_CXX
=no
12655 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12656 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12657 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12660 # Portland Group C++ compiler
12662 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12663 prelink_cmds_CXX
='tpldir=Template.dir~
12665 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12666 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12667 old_archive_cmds_CXX
='tpldir=Template.dir~
12669 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12670 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12672 archive_cmds_CXX
='tpldir=Template.dir~
12674 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12675 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12676 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12678 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12679 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12681 *) # Version 6 and above use weak symbols
12682 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12683 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12687 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12688 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12689 whole_archive_flag_spec_CXX
='${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'
12693 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12694 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12696 runpath_var
=LD_RUN_PATH
12697 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12698 hardcode_libdir_separator_CXX
=:
12700 # Commands to make compiler produce verbose output that lists
12701 # what "hidden" libraries, object files and flags are used when
12702 # linking a shared library.
12704 # There doesn't appear to be a way to prevent this compiler from
12705 # explicitly linking system object files so we need to strip them
12706 # from the output so that they don't get included in the library
12708 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12710 xl
* | mpixl
* | bgxl
*)
12711 # IBM XL 8.0 on PPC, with GNU ld
12712 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12713 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12714 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12715 if test "x$supports_anon_versioning" = xyes
; then
12716 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12717 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12718 echo "local: *; };" >> $output_objdir/$libname.ver~
12719 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12723 case `$CC -V 2>&1 | sed 5q` in
12726 no_undefined_flag_CXX
=' -zdefs'
12727 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12728 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12729 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12730 whole_archive_flag_spec_CXX
='${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'
12731 compiler_needs_object_CXX
=yes
12733 # Not sure whether something based on
12734 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12736 output_verbose_link_cmd
='func_echo_all'
12738 # Archives containing C++ object files must be created using
12739 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12740 # necessary to make sure instantiated templates are included
12742 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12750 # FIXME: insert proper C++ library support
12755 # FIXME: insert proper C++ library support
12760 case $cc_basename in
12762 # FIXME: insert proper C++ library support
12766 # FIXME: insert proper C++ library support
12773 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12774 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12776 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12777 hardcode_direct_CXX
=yes
12778 hardcode_shlibpath_var_CXX
=no
12780 # Workaround some broken pre-1.5 toolchains
12781 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12789 # C++ shared libraries are fairly broken
12794 if test -f /usr
/libexec
/ld.so
; then
12795 hardcode_direct_CXX
=yes
12796 hardcode_shlibpath_var_CXX
=no
12797 hardcode_direct_absolute_CXX
=yes
12798 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12799 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12800 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12801 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12802 export_dynamic_flag_spec_CXX
='${wl}-E'
12803 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12805 output_verbose_link_cmd
=func_echo_all
12811 osf3
* | osf4
* | osf5
*)
12812 case $cc_basename in
12814 # Kuck and Associates, Inc. (KAI) C++ Compiler
12816 # KCC will only create a shared library if the output file
12817 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12818 # to its proper name (with version) after linking.
12819 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12821 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12822 hardcode_libdir_separator_CXX
=:
12824 # Archives containing C++ object files must be created using
12825 # the KAI C++ compiler.
12827 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12828 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12832 # Rational C++ 2.4.1
12833 # FIXME: insert proper C++ library support
12839 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12840 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12841 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12844 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12845 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12846 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12847 echo "-hidden">> $lib.exp~
12848 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12850 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12854 hardcode_libdir_separator_CXX
=:
12856 # Commands to make compiler produce verbose output that lists
12857 # what "hidden" libraries, object files and flags are used when
12858 # linking a shared library.
12860 # There doesn't appear to be a way to prevent this compiler from
12861 # explicitly linking system object files so we need to strip them
12862 # from the output so that they don't get included in the library
12864 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12867 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12868 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12871 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
12874 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
12878 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12879 hardcode_libdir_separator_CXX
=:
12881 # Commands to make compiler produce verbose output that lists
12882 # what "hidden" libraries, object files and flags are used when
12883 # linking a shared library.
12884 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12887 # FIXME: insert proper C++ library support
12895 # FIXME: insert proper C++ library support
12900 case $cc_basename in
12903 # FIXME: insert proper C++ library support
12908 # FIXME: insert proper C++ library support
12912 # FIXME: insert proper C++ library support
12919 case $cc_basename in
12921 # Sun C++ 4.2, 5.x and Centerline C++
12922 archive_cmds_need_lc_CXX
=yes
12923 no_undefined_flag_CXX
=' -zdefs'
12924 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12925 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12926 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12928 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12929 hardcode_shlibpath_var_CXX
=no
12931 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12933 # The compiler driver will combine and reorder linker options,
12934 # but understands `-z linker_flag'.
12935 # Supported since Solaris 2.6 (maybe 2.5.1?)
12936 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12939 link_all_deplibs_CXX
=yes
12941 output_verbose_link_cmd
='func_echo_all'
12943 # Archives containing C++ object files must be created using
12944 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12945 # necessary to make sure instantiated templates are included
12947 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12950 # Green Hills C++ Compiler
12951 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12953 # The C++ compiler must be used to create the archive.
12954 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12957 # GNU C++ compiler with Solaris linker
12958 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12959 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12960 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12961 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12962 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12963 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12965 # Commands to make compiler produce verbose output that lists
12966 # what "hidden" libraries, object files and flags are used when
12967 # linking a shared library.
12968 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12970 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12972 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12973 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12974 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12976 # Commands to make compiler produce verbose output that lists
12977 # what "hidden" libraries, object files and flags are used when
12978 # linking a shared library.
12979 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12982 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12984 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12986 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12994 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12995 no_undefined_flag_CXX
='${wl}-z,text'
12996 archive_cmds_need_lc_CXX
=no
12997 hardcode_shlibpath_var_CXX
=no
12998 runpath_var
='LD_RUN_PATH'
13000 case $cc_basename in
13002 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13003 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13006 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13007 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13012 sysv5
* | sco3.2v5
* | sco5v6
*)
13013 # Note: We can NOT use -z defs as we might desire, because we do not
13014 # link with -lc, and that would cause any symbols used from libc to
13015 # always be unresolved, which means just about no library would
13016 # ever link correctly. If we're not using GNU ld we use -z text
13017 # though, which does catch some bad symbols but isn't as heavy-handed
13019 no_undefined_flag_CXX
='${wl}-z,text'
13020 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13021 archive_cmds_need_lc_CXX
=no
13022 hardcode_shlibpath_var_CXX
=no
13023 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13024 hardcode_libdir_separator_CXX
=':'
13025 link_all_deplibs_CXX
=yes
13026 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13027 runpath_var
='LD_RUN_PATH'
13029 case $cc_basename in
13031 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13032 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13033 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13034 '"$old_archive_cmds_CXX"
13035 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13036 '"$reload_cmds_CXX"
13039 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13040 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13046 case $cc_basename in
13048 # NonStop-UX NCC 3.20
13049 # FIXME: insert proper C++ library support
13053 # FIXME: insert proper C++ library support
13060 # FIXME: insert proper C++ library support
13065 # FIXME: insert proper C++ library support
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13071 $as_echo "$ld_shlibs_CXX" >&6; }
13072 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13078 ## There is no encapsulation within the following macros, do not change
13079 ## the running order or otherwise move them around unless you know exactly
13080 ## what you are doing...
13081 # Dependencies to place before and after the object being linked:
13082 predep_objects_CXX
=
13083 postdep_objects_CXX
=
13086 compiler_lib_search_path_CXX
=
13088 cat > conftest.
$ac_ext <<_LT_EOF
13092 Foo (void) { a = 0; }
13098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13099 (eval $ac_compile) 2>&5
13101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13102 test $ac_status = 0; }; then
13103 # Parse the compiler output and extract the necessary
13104 # objects, libraries and library flags.
13106 # Sentinel used to keep track of whether or not we are before
13107 # the conftest object file.
13108 pre_test_object_deps_done
=no
13110 for p
in `eval "$output_verbose_link_cmd"`; do
13114 # Some compilers place space between "-{L,R}" and the path.
13115 # Remove the space.
13116 if test $p = "-L" ||
13117 test $p = "-R"; then
13124 if test "$pre_test_object_deps_done" = no
; then
13127 # Internal compiler library paths should come after those
13128 # provided the user. The postdeps already come after the
13129 # user supplied libs so there is no need to process them.
13130 if test -z "$compiler_lib_search_path_CXX"; then
13131 compiler_lib_search_path_CXX
="${prev}${p}"
13133 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13136 # The "-l" case would never come before the object being
13137 # linked, so don't bother handling this case.
13140 if test -z "$postdeps_CXX"; then
13141 postdeps_CXX
="${prev}${p}"
13143 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13149 # This assumes that the test object file only shows up
13150 # once in the compiler output.
13151 if test "$p" = "conftest.$objext"; then
13152 pre_test_object_deps_done
=yes
13156 if test "$pre_test_object_deps_done" = no
; then
13157 if test -z "$predep_objects_CXX"; then
13158 predep_objects_CXX
="$p"
13160 predep_objects_CXX
="$predep_objects_CXX $p"
13163 if test -z "$postdep_objects_CXX"; then
13164 postdep_objects_CXX
="$p"
13166 postdep_objects_CXX
="$postdep_objects_CXX $p"
13171 *) ;; # Ignore the rest.
13179 echo "libtool.m4: error: problem compiling CXX test program"
13182 $RM -f confest.
$objext
13184 # PORTME: override above test on systems where it is broken
13187 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13188 # hack all around it, let's just trust "g++" to DTRT.
13189 predep_objects_CXX
=
13190 postdep_objects_CXX
=
13195 case `$CC -V 2>&1 | sed 5q` in
13199 # The more standards-conforming stlport4 library is
13200 # incompatible with the Cstd library. Avoid specifying
13201 # it if it's in CXXFLAGS. Ignore libCrun as
13202 # -library=stlport4 depends on it.
13203 case " $CXX $CXXFLAGS " in
13204 *" -library=stlport4 "*)
13205 solaris_use_stlport4
=yes
13209 if test "$solaris_use_stlport4" != yes; then
13210 postdeps_CXX
='-library=Cstd -library=Crun'
13217 case $cc_basename in
13219 # The more standards-conforming stlport4 library is
13220 # incompatible with the Cstd library. Avoid specifying
13221 # it if it's in CXXFLAGS. Ignore libCrun as
13222 # -library=stlport4 depends on it.
13223 case " $CXX $CXXFLAGS " in
13224 *" -library=stlport4 "*)
13225 solaris_use_stlport4
=yes
13229 # Adding this requires a known-good setup of shared libraries for
13230 # Sun compiler versions before 5.6, else PIC objects from an old
13231 # archive will be linked into the output, leading to subtle bugs.
13232 if test "$solaris_use_stlport4" != yes; then
13233 postdeps_CXX
='-library=Cstd -library=Crun'
13241 case " $postdeps_CXX " in
13242 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13244 compiler_lib_search_dirs_CXX
=
13245 if test -n "${compiler_lib_search_path_CXX}"; then
13246 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13279 lt_prog_compiler_wl_CXX
=
13280 lt_prog_compiler_pic_CXX
=
13281 lt_prog_compiler_static_CXX
=
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13284 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13286 # C++ specific cases for pic, static, wl, etc.
13287 if test "$GXX" = yes; then
13288 lt_prog_compiler_wl_CXX
='-Wl,'
13289 lt_prog_compiler_static_CXX
='-static'
13293 # All AIX code is PIC.
13294 if test "$host_cpu" = ia64
; then
13295 # AIX 5 now supports IA64 processor
13296 lt_prog_compiler_static_CXX
='-Bstatic'
13303 # see comment about AmigaOS4 .so support
13304 lt_prog_compiler_pic_CXX
='-fPIC'
13307 # FIXME: we need at least 68020 code to build shared libraries, but
13308 # adding the `-m68020' flag to GCC prevents building anything better,
13310 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13315 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13316 # PIC is the default for these OSes.
13318 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13319 # This hack is so that the source file can tell whether it is being
13320 # built for inclusion in a dll (and should export symbols for example).
13321 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13322 # (--disable-auto-import) libraries
13323 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13325 darwin
* | rhapsody
*)
13326 # PIC is the default on this platform
13327 # Common symbols not allowed in MH_DYLIB files
13328 lt_prog_compiler_pic_CXX
='-fno-common'
13331 # DJGPP does not support shared libraries at all
13332 lt_prog_compiler_pic_CXX
=
13335 # PIC is the default for Haiku.
13336 # The "-static" flag exists, but is broken.
13337 lt_prog_compiler_static_CXX
=
13340 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13341 # Instead, we relocate shared libraries at runtime.
13344 if test -d /usr
/nec
; then
13345 lt_prog_compiler_pic_CXX
=-Kconform_pic
13349 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13350 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13351 # sets the default TLS model and affects inlining.
13356 lt_prog_compiler_pic_CXX
='-fPIC'
13361 # QNX uses GNU C++, but need to define -shared option too, otherwise
13362 # it will coredump.
13363 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13366 lt_prog_compiler_pic_CXX
='-fPIC'
13372 # All AIX code is PIC.
13373 if test "$host_cpu" = ia64
; then
13374 # AIX 5 now supports IA64 processor
13375 lt_prog_compiler_static_CXX
='-Bstatic'
13377 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13381 case $cc_basename in
13383 # Green Hills C++ Compiler
13384 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13389 case $cc_basename in
13391 lt_prog_compiler_pic_CXX
='-KPIC'
13394 # Green Hills C++ Compiler
13395 lt_prog_compiler_pic_CXX
='-pic'
13401 freebsd
* | dragonfly
*)
13402 # FreeBSD uses GNU C++
13404 hpux9
* | hpux10
* | hpux11
*)
13405 case $cc_basename in
13407 lt_prog_compiler_wl_CXX
='-Wl,'
13408 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13409 if test "$host_cpu" != ia64
; then
13410 lt_prog_compiler_pic_CXX
='+Z'
13414 lt_prog_compiler_wl_CXX
='-Wl,'
13415 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13421 lt_prog_compiler_pic_CXX
='+Z'
13430 # This is c89, which is MS Visual C++ (no shared libs)
13431 # Anyone wants to do a port?
13433 irix5
* | irix6
* | nonstopux
*)
13434 case $cc_basename in
13436 lt_prog_compiler_wl_CXX
='-Wl,'
13437 lt_prog_compiler_static_CXX
='-non_shared'
13438 # CC pic flag -KPIC is the default.
13444 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13445 case $cc_basename in
13448 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13449 lt_prog_compiler_pic_CXX
='-fPIC'
13452 # old Intel C++ for x86_64 which still supported -KPIC.
13453 lt_prog_compiler_wl_CXX
='-Wl,'
13454 lt_prog_compiler_pic_CXX
='-KPIC'
13455 lt_prog_compiler_static_CXX
='-static'
13458 # Intel C++, used to be incompatible with GCC.
13459 # ICC 10 doesn't accept -KPIC any more.
13460 lt_prog_compiler_wl_CXX
='-Wl,'
13461 lt_prog_compiler_pic_CXX
='-fPIC'
13462 lt_prog_compiler_static_CXX
='-static'
13465 # Portland Group C++ compiler
13466 lt_prog_compiler_wl_CXX
='-Wl,'
13467 lt_prog_compiler_pic_CXX
='-fpic'
13468 lt_prog_compiler_static_CXX
='-Bstatic'
13472 # Make sure the PIC flag is empty. It appears that all Alpha
13473 # Linux and Compaq Tru64 Unix objects are PIC.
13474 lt_prog_compiler_pic_CXX
=
13475 lt_prog_compiler_static_CXX
='-non_shared'
13477 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13478 # IBM XL 8.0, 9.0 on PPC and BlueGene
13479 lt_prog_compiler_wl_CXX
='-Wl,'
13480 lt_prog_compiler_pic_CXX
='-qpic'
13481 lt_prog_compiler_static_CXX
='-qstaticlink'
13484 case `$CC -V 2>&1 | sed 5q` in
13487 lt_prog_compiler_pic_CXX
='-KPIC'
13488 lt_prog_compiler_static_CXX
='-Bstatic'
13489 lt_prog_compiler_wl_CXX
='-Qoption ld '
13500 case $cc_basename in
13502 lt_prog_compiler_pic_CXX
='-W c,exportall'
13511 # QNX uses GNU C++, but need to define -shared option too, otherwise
13512 # it will coredump.
13513 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13515 osf3
* | osf4
* | osf5
*)
13516 case $cc_basename in
13518 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13521 # Rational C++ 2.4.1
13522 lt_prog_compiler_pic_CXX
='-pic'
13525 # Digital/Compaq C++
13526 lt_prog_compiler_wl_CXX
='-Wl,'
13527 # Make sure the PIC flag is empty. It appears that all Alpha
13528 # Linux and Compaq Tru64 Unix objects are PIC.
13529 lt_prog_compiler_pic_CXX
=
13530 lt_prog_compiler_static_CXX
='-non_shared'
13539 case $cc_basename in
13541 # Sun C++ 4.2, 5.x and Centerline C++
13542 lt_prog_compiler_pic_CXX
='-KPIC'
13543 lt_prog_compiler_static_CXX
='-Bstatic'
13544 lt_prog_compiler_wl_CXX
='-Qoption ld '
13547 # Green Hills C++ Compiler
13548 lt_prog_compiler_pic_CXX
='-PIC'
13555 case $cc_basename in
13558 lt_prog_compiler_pic_CXX
='-pic'
13559 lt_prog_compiler_static_CXX
='-Bstatic'
13563 lt_prog_compiler_pic_CXX
='-pic'
13569 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13570 case $cc_basename in
13572 lt_prog_compiler_wl_CXX
='-Wl,'
13573 lt_prog_compiler_pic_CXX
='-KPIC'
13574 lt_prog_compiler_static_CXX
='-Bstatic'
13579 case $cc_basename in
13581 # NonStop-UX NCC 3.20
13582 lt_prog_compiler_pic_CXX
='-KPIC'
13591 lt_prog_compiler_can_build_shared_CXX
=no
13597 # For platforms which do not support PIC, -DPIC is meaningless:
13599 lt_prog_compiler_pic_CXX
=
13602 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13606 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13611 # Check to make sure the PIC flag actually works.
13613 if test -n "$lt_prog_compiler_pic_CXX"; then
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13615 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13616 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13617 $as_echo_n "(cached) " >&6
13619 lt_cv_prog_compiler_pic_works_CXX
=no
13620 ac_outfile
=conftest.
$ac_objext
13621 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13622 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13623 # Insert the option either (1) after the last *FLAGS variable, or
13624 # (2) before a word containing "conftest.", or (3) at the end.
13625 # Note that $ac_compile itself does not contain backslashes and begins
13626 # with a dollar sign (not a hyphen), so the echo should work correctly.
13627 # The option is referenced via a variable to avoid confusing sed.
13628 lt_compile
=`echo "$ac_compile" | $SED \
13629 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13631 -e 's:$: $lt_compiler_flag:'`
13632 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13633 (eval "$lt_compile" 2>conftest.err
)
13635 cat conftest.err
>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 if (exit $ac_status) && test -s "$ac_outfile"; then
13638 # The compiler can only warn and ignore the option if not recognized
13639 # So say no if there are warnings other than the usual output.
13640 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13641 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13642 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13643 lt_cv_prog_compiler_pic_works_CXX
=yes
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13650 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13652 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13653 case $lt_prog_compiler_pic_CXX in
13655 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13658 lt_prog_compiler_pic_CXX
=
13659 lt_prog_compiler_can_build_shared_CXX
=no
13667 # Check to make sure the static flag actually works.
13669 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13671 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13672 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13673 $as_echo_n "(cached) " >&6
13675 lt_cv_prog_compiler_static_works_CXX
=no
13676 save_LDFLAGS
="$LDFLAGS"
13677 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13678 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13679 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13680 # The linker can only warn and ignore the option if not recognized
13681 # So say no if there are warnings
13682 if test -s conftest.err
; then
13683 # Append any errors to the config.log.
13684 cat conftest.err
1>&5
13685 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13686 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13687 if diff conftest.exp conftest.er2
>/dev
/null
; then
13688 lt_cv_prog_compiler_static_works_CXX
=yes
13691 lt_cv_prog_compiler_static_works_CXX
=yes
13695 LDFLAGS
="$save_LDFLAGS"
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13699 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13701 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13704 lt_prog_compiler_static_CXX
=
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13711 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13712 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13713 $as_echo_n "(cached) " >&6
13715 lt_cv_prog_compiler_c_o_CXX
=no
13716 $RM -r conftest
2>/dev
/null
13720 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13722 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13723 # Insert the option either (1) after the last *FLAGS variable, or
13724 # (2) before a word containing "conftest.", or (3) at the end.
13725 # Note that $ac_compile itself does not contain backslashes and begins
13726 # with a dollar sign (not a hyphen), so the echo should work correctly.
13727 lt_compile
=`echo "$ac_compile" | $SED \
13728 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13730 -e 's:$: $lt_compiler_flag:'`
13731 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13732 (eval "$lt_compile" 2>out
/conftest.err
)
13734 cat out
/conftest.err
>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13738 # The compiler can only warn and ignore the option if not recognized
13739 # So say no if there are warnings
13740 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13741 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13742 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13743 lt_cv_prog_compiler_c_o_CXX
=yes
13748 # SGI C++ compiler will create directory out/ii_files/ for
13749 # template instantiation
13750 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13751 $RM out
/* && rmdir out
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13758 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13763 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13764 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13765 $as_echo_n "(cached) " >&6
13767 lt_cv_prog_compiler_c_o_CXX
=no
13768 $RM -r conftest
2>/dev
/null
13772 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13774 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13775 # Insert the option either (1) after the last *FLAGS variable, or
13776 # (2) before a word containing "conftest.", or (3) at the end.
13777 # Note that $ac_compile itself does not contain backslashes and begins
13778 # with a dollar sign (not a hyphen), so the echo should work correctly.
13779 lt_compile
=`echo "$ac_compile" | $SED \
13780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13782 -e 's:$: $lt_compiler_flag:'`
13783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13784 (eval "$lt_compile" 2>out
/conftest.err
)
13786 cat out
/conftest.err
>&5
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13790 # The compiler can only warn and ignore the option if not recognized
13791 # So say no if there are warnings
13792 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13793 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13794 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13795 lt_cv_prog_compiler_c_o_CXX
=yes
13800 # SGI C++ compiler will create directory out/ii_files/ for
13801 # template instantiation
13802 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13803 $RM out
/* && rmdir out
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13810 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13815 hard_links
="nottested"
13816 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13817 # do not overwrite the value of need_locks provided by the user
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13819 $as_echo_n "checking if we can lock with hard links... " >&6; }
13822 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13824 ln conftest.a conftest.b
2>&5 || hard_links
=no
13825 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13827 $as_echo "$hard_links" >&6; }
13828 if test "$hard_links" = no
; then
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13830 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13840 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13842 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13845 # If we're using GNU nm, then we don't want the "-C" option.
13846 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13847 # Also, AIX nm treats weak defined symbols like other global defined
13848 # symbols, whereas GNU nm marks them as "W".
13849 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13850 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13852 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13856 export_symbols_cmds_CXX
="$ltdll_cmds"
13858 cygwin
* | mingw
* | cegcc
*)
13859 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13862 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13865 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13868 $as_echo "$ld_shlibs_CXX" >&6; }
13869 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13871 with_gnu_ld_CXX
=$with_gnu_ld
13879 # Do we need to explicitly link libc?
13881 case "x$archive_cmds_need_lc_CXX" in
13883 # Assume -lc should be added
13884 archive_cmds_need_lc_CXX
=yes
13886 if test "$enable_shared" = yes && test "$GCC" = yes; then
13887 case $archive_cmds_CXX in
13889 # FIXME: we may have to deal with multi-command sequences.
13892 # Test whether the compiler implicitly links with -lc since on some
13893 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13894 # to ld, don't add -lc before -lgcc.
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13896 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13897 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
13898 $as_echo_n "(cached) " >&6
13901 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13904 (eval $ac_compile) 2>&5
13906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13907 test $ac_status = 0; } 2>conftest.err
; then
13910 libobjs
=conftest.
$ac_objext
13912 wl
=$lt_prog_compiler_wl_CXX
13913 pic_flag
=$lt_prog_compiler_pic_CXX
13919 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13920 allow_undefined_flag_CXX
=
13921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13922 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13925 test $ac_status = 0; }
13927 lt_cv_archive_cmds_need_lc_CXX
=no
13929 lt_cv_archive_cmds_need_lc_CXX
=yes
13931 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13933 cat conftest.err
1>&5
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13939 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13940 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14011 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14013 library_names_spec
=
14014 libname_spec
='lib$name'
14018 postuninstall_cmds
=
14022 shlibpath_overrides_runpath
=unknown
14024 dynamic_linker
="$host_os ld.so"
14025 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14026 need_lib_prefix
=unknown
14027 hardcode_into_libs
=no
14029 # when you set need_version to no, make sure it does not cause -set_version
14030 # flags to be left without arguments
14031 need_version
=unknown
14036 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14037 shlibpath_var
=LIBPATH
14039 # AIX 3 has no versioning support, so we append a major version to the name.
14040 soname_spec
='${libname}${release}${shared_ext}$major'
14047 hardcode_into_libs
=yes
14048 if test "$host_cpu" = ia64
; then
14049 # AIX 5 supports IA64
14050 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14051 shlibpath_var
=LD_LIBRARY_PATH
14053 # With GCC up to 2.95.x, collect2 would create an import file
14054 # for dependence libraries. The import file would start with
14055 # the line `#! .'. This would cause the generated library to
14056 # depend on `.', always an invalid library. This was fixed in
14057 # development snapshots of GCC prior to 3.0.
14059 aix4 | aix4.
[01] | aix4.
[01].
*)
14060 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14062 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14065 can_build_shared
=no
14069 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14070 # soname into executable. Probably we can add versioning support to
14071 # collect2, so additional links can be useful in future.
14072 if test "$aix_use_runtimelinking" = yes; then
14073 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14074 # instead of lib<name>.a to let people know that these are not
14075 # typical AIX shared libraries.
14076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14078 # We preserve .a as extension for shared libraries through AIX4.2
14079 # and later when we are not doing run time linking.
14080 library_names_spec
='${libname}${release}.a $libname.a'
14081 soname_spec
='${libname}${release}${shared_ext}$major'
14083 shlibpath_var
=LIBPATH
14090 # Since July 2007 AmigaOS4 officially supports .so libraries.
14091 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14095 library_names_spec
='$libname.ixlibrary $libname.a'
14096 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14097 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'
14103 library_names_spec
='${libname}${shared_ext}'
14104 dynamic_linker
="$host_os ld.so"
14105 shlibpath_var
=LIBRARY_PATH
14111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14112 soname_spec
='${libname}${release}${shared_ext}$major'
14113 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14114 shlibpath_var
=LD_LIBRARY_PATH
14115 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14116 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14117 # the default ld.so.conf also contains /usr/contrib/lib and
14118 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14119 # libtool to hard-code these into programs
14122 cygwin
* | mingw
* | pw32
* | cegcc
*)
14123 version_type
=windows
14128 case $GCC,$host_os in
14129 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14130 library_names_spec
='$libname.dll.a'
14131 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14132 postinstall_cmds
='base_file=`basename \${file}`~
14133 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14134 dldir=$destdir/`dirname \$dlpath`~
14135 test -d \$dldir || mkdir -p \$dldir~
14136 $install_prog $dir/$dlname \$dldir/$dlname~
14137 chmod a+x \$dldir/$dlname~
14138 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14139 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14141 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14142 dlpath=$dir/\$dldll~
14144 shlibpath_overrides_runpath
=yes
14148 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14149 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14153 # MinGW DLLs use traditional 'lib' prefix
14154 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14157 # pw32 DLLs use 'pw' prefix rather than 'lib'
14158 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14164 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14167 dynamic_linker
='Win32 ld.exe'
14168 # FIXME: first we should search . and the directory the executable is in
14172 darwin
* | rhapsody
*)
14173 dynamic_linker
="$host_os dyld"
14174 version_type
=darwin
14177 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14178 soname_spec
='${libname}${release}${major}$shared_ext'
14179 shlibpath_overrides_runpath
=yes
14180 shlibpath_var
=DYLD_LIBRARY_PATH
14181 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14183 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14191 soname_spec
='${libname}${release}${shared_ext}$major'
14192 shlibpath_var
=LD_LIBRARY_PATH
14199 freebsd
* | dragonfly
*)
14200 # DragonFly does not have aout. When/if they implement a new
14201 # versioning mechanism, adjust this.
14202 if test -x /usr
/bin
/objformat
; then
14203 objformat
=`/usr/bin/objformat`
14206 freebsd
[123]*) objformat
=aout
;;
14207 *) objformat
=elf
;;
14210 version_type
=freebsd-
$objformat
14211 case $version_type in
14213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14218 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14222 shlibpath_var
=LD_LIBRARY_PATH
14225 shlibpath_overrides_runpath
=yes
14227 freebsd3.
[01]* | freebsdelf3.
[01]*)
14228 shlibpath_overrides_runpath
=yes
14229 hardcode_into_libs
=yes
14231 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14232 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14233 shlibpath_overrides_runpath
=no
14234 hardcode_into_libs
=yes
14236 *) # from 4.6 on, and DragonFly
14237 shlibpath_overrides_runpath
=yes
14238 hardcode_into_libs
=yes
14247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14248 soname_spec
='${libname}${release}${shared_ext}$major'
14249 shlibpath_var
=LD_LIBRARY_PATH
14250 hardcode_into_libs
=yes
14257 dynamic_linker
="$host_os runtime_loader"
14258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14259 soname_spec
='${libname}${release}${shared_ext}$major'
14260 shlibpath_var
=LIBRARY_PATH
14261 shlibpath_overrides_runpath
=yes
14262 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14263 hardcode_into_libs
=yes
14266 hpux9
* | hpux10
* | hpux11
*)
14267 # Give a soname corresponding to the major version so that dld.sl refuses to
14268 # link against other versions.
14275 hardcode_into_libs
=yes
14276 dynamic_linker
="$host_os dld.so"
14277 shlibpath_var
=LD_LIBRARY_PATH
14278 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14280 soname_spec
='${libname}${release}${shared_ext}$major'
14281 if test "X$HPUX_IA64_MODE" = X32
; then
14282 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14284 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14286 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14290 hardcode_into_libs
=yes
14291 dynamic_linker
="$host_os dld.sl"
14292 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14293 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14295 soname_spec
='${libname}${release}${shared_ext}$major'
14296 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14297 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14301 dynamic_linker
="$host_os dld.sl"
14302 shlibpath_var
=SHLIB_PATH
14303 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14305 soname_spec
='${libname}${release}${shared_ext}$major'
14308 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14309 postinstall_cmds
='chmod 555 $lib'
14310 # or fails outright, so override atomically:
14311 install_override_mode
=555
14318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14319 soname_spec
='${libname}${release}${shared_ext}$major'
14320 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14321 shlibpath_var
=LD_LIBRARY_PATH
14322 shlibpath_overrides_runpath
=no
14323 hardcode_into_libs
=yes
14326 irix5
* | irix6
* | nonstopux
*)
14328 nonstopux
*) version_type
=nonstopux
;;
14330 if test "$lt_cv_prog_gnu_ld" = yes; then
14338 soname_spec
='${libname}${release}${shared_ext}$major'
14339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14341 irix5
* | nonstopux
*)
14342 libsuff
= shlibsuff
=
14345 case $LD in # libtool.m4 will add one of these switches to LD
14346 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14347 libsuff
= shlibsuff
= libmagic
=32-bit;;
14348 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14349 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14350 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14351 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14352 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14356 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14357 shlibpath_overrides_runpath
=no
14358 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14359 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14360 hardcode_into_libs
=yes
14363 # No shared lib support for Linux oldld, aout, or coff.
14364 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14368 # This must be Linux ELF.
14369 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14374 soname_spec
='${libname}${release}${shared_ext}$major'
14375 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14376 shlibpath_var
=LD_LIBRARY_PATH
14377 shlibpath_overrides_runpath
=no
14379 # Some binutils ld are patched to set DT_RUNPATH
14380 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14381 $as_echo_n "(cached) " >&6
14383 lt_cv_shlibpath_overrides_runpath
=no
14384 save_LDFLAGS
=$LDFLAGS
14385 save_libdir
=$libdir
14386 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14387 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14399 if ac_fn_cxx_try_link
"$LINENO"; then :
14400 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14401 lt_cv_shlibpath_overrides_runpath
=yes
14404 rm -f core conftest.err conftest.
$ac_objext \
14405 conftest
$ac_exeext conftest.
$ac_ext
14406 LDFLAGS
=$save_LDFLAGS
14407 libdir
=$save_libdir
14411 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14413 # This implies no fast_install, which is unacceptable.
14414 # Some rework will be needed to allow for fast_install
14415 # before this can be enabled.
14416 hardcode_into_libs
=yes
14418 # Append ld.so.conf contents to the search path
14419 if test -f /etc
/ld.so.conf
; then
14420 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' ' '`
14421 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14424 # We used to test for /lib/ld.so.1 and disable shared libraries on
14425 # powerpc, because MkLinux only supported shared libraries with the
14426 # GNU dynamic linker. Since this was broken with cross compilers,
14427 # most powerpc-linux boxes support dynamic linking these days and
14428 # people can always --disable-shared, the test was removed, and we
14429 # assume the GNU/Linux dynamic linker is in use.
14430 dynamic_linker
='GNU/Linux ld.so'
14437 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14439 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14440 dynamic_linker
='NetBSD (a.out) ld.so'
14442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec
='${libname}${release}${shared_ext}$major'
14444 dynamic_linker
='NetBSD ld.elf_so'
14446 shlibpath_var
=LD_LIBRARY_PATH
14447 shlibpath_overrides_runpath
=yes
14448 hardcode_into_libs
=yes
14453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14454 shlibpath_var
=LD_LIBRARY_PATH
14455 shlibpath_overrides_runpath
=yes
14462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14463 soname_spec
='${libname}${release}${shared_ext}$major'
14464 shlibpath_var
=LD_LIBRARY_PATH
14465 shlibpath_overrides_runpath
=no
14466 hardcode_into_libs
=yes
14467 dynamic_linker
='ldqnx.so'
14472 sys_lib_dlsearch_path_spec
="/usr/lib"
14474 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14476 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14477 *) need_version
=no
;;
14479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14480 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14481 shlibpath_var
=LD_LIBRARY_PATH
14482 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14484 openbsd2.
[89] | openbsd2.
[89].
*)
14485 shlibpath_overrides_runpath
=no
14488 shlibpath_overrides_runpath
=yes
14492 shlibpath_overrides_runpath
=yes
14497 libname_spec
='$name'
14500 library_names_spec
='$libname${shared_ext} $libname.a'
14501 dynamic_linker
='OS/2 ld.exe'
14502 shlibpath_var
=LIBPATH
14505 osf3
* | osf4
* | osf5
*)
14509 soname_spec
='${libname}${release}${shared_ext}$major'
14510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 shlibpath_var
=LD_LIBRARY_PATH
14512 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14513 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14525 soname_spec
='${libname}${release}${shared_ext}$major'
14526 shlibpath_var
=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath
=yes
14528 hardcode_into_libs
=yes
14529 # ldd complains unless libraries are executable
14530 postinstall_cmds
='chmod +x $lib'
14535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14536 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14537 shlibpath_var
=LD_LIBRARY_PATH
14538 shlibpath_overrides_runpath
=yes
14539 if test "$with_gnu_ld" = yes; then
14547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14548 soname_spec
='${libname}${release}${shared_ext}$major'
14549 shlibpath_var
=LD_LIBRARY_PATH
14550 case $host_vendor in
14552 shlibpath_overrides_runpath
=no
14554 runpath_var
=LD_RUN_PATH
14562 shlibpath_overrides_runpath
=no
14563 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14569 if test -d /usr
/nec
;then
14571 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14572 soname_spec
='$libname${shared_ext}.$major'
14573 shlibpath_var
=LD_LIBRARY_PATH
14577 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14578 version_type
=freebsd-elf
14581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14582 soname_spec
='${libname}${release}${shared_ext}$major'
14583 shlibpath_var
=LD_LIBRARY_PATH
14584 shlibpath_overrides_runpath
=yes
14585 hardcode_into_libs
=yes
14586 if test "$with_gnu_ld" = yes; then
14587 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14589 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14592 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14596 sys_lib_dlsearch_path_spec
='/usr/lib'
14600 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14605 shlibpath_var
=LD_LIBRARY_PATH
14606 shlibpath_overrides_runpath
=no
14607 hardcode_into_libs
=yes
14612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14613 soname_spec
='${libname}${release}${shared_ext}$major'
14614 shlibpath_var
=LD_LIBRARY_PATH
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14622 $as_echo "$dynamic_linker" >&6; }
14623 test "$dynamic_linker" = no
&& can_build_shared
=no
14625 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14626 if test "$GCC" = yes; then
14627 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14630 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14631 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14633 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14634 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14675 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14676 hardcode_action_CXX
=
14677 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14678 test -n "$runpath_var_CXX" ||
14679 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14681 # We can hardcode non-existent directories.
14682 if test "$hardcode_direct_CXX" != no
&&
14683 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14684 # have to relink, otherwise we might link with an installed library
14685 # when we should be linking with a yet-to-be-installed one
14686 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14687 test "$hardcode_minus_L_CXX" != no
; then
14688 # Linking always hardcodes the temporary library directory.
14689 hardcode_action_CXX
=relink
14691 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14692 hardcode_action_CXX
=immediate
14695 # We cannot hardcode anything, or else we can only hardcode existing
14697 hardcode_action_CXX
=unsupported
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14700 $as_echo "$hardcode_action_CXX" >&6; }
14702 if test "$hardcode_action_CXX" = relink ||
14703 test "$inherit_rpath_CXX" = yes; then
14704 # Fast installation is not supported
14705 enable_fast_install
=no
14706 elif test "$shlibpath_overrides_runpath" = yes ||
14707 test "$enable_shared" = no
; then
14708 # Fast installation is not necessary
14709 enable_fast_install
=needless
14718 fi # test -n "$compiler"
14724 with_gnu_ld
=$lt_save_with_gnu_ld
14725 lt_cv_path_LDCXX
=$lt_cv_path_LD
14726 lt_cv_path_LD
=$lt_save_path_LD
14727 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14728 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14729 fi # test "$_lt_caught_CXX_error" != yes
14732 ac_cpp
='$CXXCPP $CPPFLAGS'
14733 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14734 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14735 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14749 ac_config_commands
="$ac_config_commands libtool"
14754 # Only expand once:
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the C++ compiler vendor" >&5
14762 $as_echo_n "checking the C++ compiler vendor... " >&6; }
14763 if ${ac_cv_cxx_compiler_vendor+:} false
; then :
14764 $as_echo_n "(cached) " >&6
14767 ac_cpp
='$CXXCPP $CPPFLAGS'
14768 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14769 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14770 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14776 # error "Macro __GNUG__ is undefined!"
14777 /* For some compilers (eg. SGI's CC), #error is not
14782 if ac_fn_cxx_try_compile
"$LINENO"; then :
14783 ac_cv_cxx_compiler_vendor
=gnu
14785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14788 # error "Macro __DECCXX is undefined!"
14789 /* For some compilers (eg. SGI's CC), #error is not
14794 if ac_fn_cxx_try_compile
"$LINENO"; then :
14795 ac_cv_cxx_compiler_vendor
=compaq
14797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14800 # error "Macro __HP_aCC is undefined!"
14801 /* For some compilers (eg. SGI's CC), #error is not
14806 if ac_fn_cxx_try_compile
"$LINENO"; then :
14807 ac_cv_cxx_compiler_vendor
=hp
14809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14811 #ifndef __SUNPRO_CC
14812 # error "Macro __SUNPRO_CC is undefined!"
14813 /* For some compilers (eg. SGI's CC), #error is not
14818 if ac_fn_cxx_try_compile
"$LINENO"; then :
14819 ac_cv_cxx_compiler_vendor
=sun
14821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14822 /* end confdefs.h. */
14824 # error "Macro __sgi is undefined!"
14825 /* For some compilers (eg. SGI's CC), #error is not
14830 if ac_fn_cxx_try_compile
"$LINENO"; then :
14831 ac_cv_cxx_compiler_vendor
=sgi
14834 ac_cpp
='$CPP $CPPFLAGS'
14835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14842 # error "Macro _MSC_VER is undefined!"
14843 /* For some compilers (eg. SGI's CC), #error is not
14848 if ac_fn_c_try_compile
"$LINENO"; then :
14849 ac_cv_cxx_compiler_vendor
=microsoft
14851 ac_cv_cxx_compiler_vendor
=unknown
14853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14855 ac_cpp
='$CXXCPP $CPPFLAGS'
14856 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14857 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14858 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14872 ac_cpp
='$CXXCPP $CPPFLAGS'
14873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_vendor" >&5
14879 $as_echo "$ac_cv_cxx_compiler_vendor" >&6; }
14880 ac_cxx_compiler_vendor
="$ac_cv_cxx_compiler_vendor"
14884 case $ac_cxx_compiler_vendor in #(
14886 if test "x$enable_warnings" = "xyes"; then :
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for gcc -Wall" >&5
14888 $as_echo_n "checking CXXFLAGS for gcc -Wall... " >&6; }
14889 if ${ax_cv_cxxflags_gcc_option__Wall+:} false
; then :
14890 $as_echo_n "(cached) " >&6
14892 ax_cv_cxxflags_gcc_option__Wall
="no, unknown"
14895 ac_cpp
='$CXXCPP $CPPFLAGS'
14896 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14897 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14898 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14900 ac_save_CXXFLAGS
="$CXXFLAGS"
14901 for ac_arg
in "-pedantic -Werror % -Wall" "-pedantic % -Wall %% no, obsolete" #
14902 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14914 if ac_fn_cxx_try_compile
"$LINENO"; then :
14915 ax_cv_cxxflags_gcc_option__Wall
=`echo $ac_arg | sed -e 's,.*% *,,'`; break
14917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14919 CXXFLAGS
="$ac_save_CXXFLAGS"
14921 ac_cpp
='$CXXCPP $CPPFLAGS'
14922 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14923 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14924 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxxflags_gcc_option__Wall" >&5
14929 $as_echo "$ax_cv_cxxflags_gcc_option__Wall" >&6; }
14930 var
=$ax_cv_cxxflags_gcc_option__Wall
14935 if echo " $CXXFLAGS " |
grep " $var " 2>&1 >/dev
/null
14936 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$var"; } >&5
14937 (: CXXFLAGS does contain
$var) 2>&5
14939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14940 test $ac_status = 0; }
14941 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$var\""; } >&5
14942 (: CXXFLAGS
="$CXXFLAGS $var") 2>&5
14944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14945 test $ac_status = 0; }
14946 CXXFLAGS
="$CXXFLAGS $var"
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for gcc -Wextra" >&5
14952 $as_echo_n "checking CXXFLAGS for gcc -Wextra... " >&6; }
14953 if ${ax_cv_cxxflags_gcc_option__Wextra+:} false
; then :
14954 $as_echo_n "(cached) " >&6
14956 ax_cv_cxxflags_gcc_option__Wextra
="no, unknown"
14959 ac_cpp
='$CXXCPP $CPPFLAGS'
14960 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14961 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14962 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14964 ac_save_CXXFLAGS
="$CXXFLAGS"
14965 for ac_arg
in "-pedantic -Werror % -Wextra" "-pedantic % -Wextra %% no, obsolete" #
14966 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14978 if ac_fn_cxx_try_compile
"$LINENO"; then :
14979 ax_cv_cxxflags_gcc_option__Wextra
=`echo $ac_arg | sed -e 's,.*% *,,'`; break
14981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14983 CXXFLAGS
="$ac_save_CXXFLAGS"
14985 ac_cpp
='$CXXCPP $CPPFLAGS'
14986 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxxflags_gcc_option__Wextra" >&5
14993 $as_echo "$ax_cv_cxxflags_gcc_option__Wextra" >&6; }
14994 var
=$ax_cv_cxxflags_gcc_option__Wextra
14999 if echo " $CXXFLAGS " |
grep " $var " 2>&1 >/dev
/null
15000 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$var"; } >&5
15001 (: CXXFLAGS does contain
$var) 2>&5
15003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004 test $ac_status = 0; }
15005 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$var\""; } >&5
15006 (: CXXFLAGS
="$CXXFLAGS $var") 2>&5
15008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15009 test $ac_status = 0; }
15010 CXXFLAGS
="$CXXFLAGS $var"
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for gcc -pedantic" >&5
15016 $as_echo_n "checking CXXFLAGS for gcc -pedantic... " >&6; }
15017 if ${ax_cv_cxxflags_gcc_option__pedantic+:} false
; then :
15018 $as_echo_n "(cached) " >&6
15020 ax_cv_cxxflags_gcc_option__pedantic
="no, unknown"
15023 ac_cpp
='$CXXCPP $CPPFLAGS'
15024 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15025 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15026 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15028 ac_save_CXXFLAGS
="$CXXFLAGS"
15029 for ac_arg
in "-pedantic -Werror % -pedantic" "-pedantic % -pedantic %% no, obsolete" #
15030 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
15031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15042 if ac_fn_cxx_try_compile
"$LINENO"; then :
15043 ax_cv_cxxflags_gcc_option__pedantic
=`echo $ac_arg | sed -e 's,.*% *,,'`; break
15045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15047 CXXFLAGS
="$ac_save_CXXFLAGS"
15049 ac_cpp
='$CXXCPP $CPPFLAGS'
15050 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15051 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15052 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxxflags_gcc_option__pedantic" >&5
15057 $as_echo "$ax_cv_cxxflags_gcc_option__pedantic" >&6; }
15058 var
=$ax_cv_cxxflags_gcc_option__pedantic
15063 if echo " $CXXFLAGS " |
grep " $var " 2>&1 >/dev
/null
15064 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$var"; } >&5
15065 (: CXXFLAGS does contain
$var) 2>&5
15067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15068 test $ac_status = 0; }
15069 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$var\""; } >&5
15070 (: CXXFLAGS
="$CXXFLAGS $var") 2>&5
15072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15073 test $ac_status = 0; }
15074 CXXFLAGS
="$CXXFLAGS $var"
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for gcc -Wshadow" >&5
15080 $as_echo_n "checking CXXFLAGS for gcc -Wshadow... " >&6; }
15081 if ${ax_cv_cxxflags_gcc_option__Wshadow+:} false
; then :
15082 $as_echo_n "(cached) " >&6
15084 ax_cv_cxxflags_gcc_option__Wshadow
="no, unknown"
15087 ac_cpp
='$CXXCPP $CPPFLAGS'
15088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15092 ac_save_CXXFLAGS
="$CXXFLAGS"
15093 for ac_arg
in "-pedantic -Werror % -Wshadow" "-pedantic % -Wshadow %% no, obsolete" #
15094 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
15095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15106 if ac_fn_cxx_try_compile
"$LINENO"; then :
15107 ax_cv_cxxflags_gcc_option__Wshadow
=`echo $ac_arg | sed -e 's,.*% *,,'`; break
15109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15111 CXXFLAGS
="$ac_save_CXXFLAGS"
15113 ac_cpp
='$CXXCPP $CPPFLAGS'
15114 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxxflags_gcc_option__Wshadow" >&5
15121 $as_echo "$ax_cv_cxxflags_gcc_option__Wshadow" >&6; }
15122 var
=$ax_cv_cxxflags_gcc_option__Wshadow
15127 if echo " $CXXFLAGS " |
grep " $var " 2>&1 >/dev
/null
15128 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$var"; } >&5
15129 (: CXXFLAGS does contain
$var) 2>&5
15131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15132 test $ac_status = 0; }
15133 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$var\""; } >&5
15134 (: CXXFLAGS
="$CXXFLAGS $var") 2>&5
15136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15137 test $ac_status = 0; }
15138 CXXFLAGS
="$CXXFLAGS $var"
15145 if test "x$enable_debugging" = "xyes"; then :
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for gcc -g3" >&5
15147 $as_echo_n "checking CXXFLAGS for gcc -g3... " >&6; }
15148 if ${ax_cv_cxxflags_gcc_option__g3+:} false
; then :
15149 $as_echo_n "(cached) " >&6
15151 ax_cv_cxxflags_gcc_option__g3
="no, unknown"
15154 ac_cpp
='$CXXCPP $CPPFLAGS'
15155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15159 ac_save_CXXFLAGS
="$CXXFLAGS"
15160 for ac_arg
in "-pedantic -Werror % -g3" "-pedantic % -g3 %% no, obsolete" #
15161 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
15162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15173 if ac_fn_cxx_try_compile
"$LINENO"; then :
15174 ax_cv_cxxflags_gcc_option__g3
=`echo $ac_arg | sed -e 's,.*% *,,'`; break
15176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15178 CXXFLAGS
="$ac_save_CXXFLAGS"
15180 ac_cpp
='$CXXCPP $CPPFLAGS'
15181 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15182 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15183 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxxflags_gcc_option__g3" >&5
15188 $as_echo "$ax_cv_cxxflags_gcc_option__g3" >&6; }
15189 var
=$ax_cv_cxxflags_gcc_option__g3
15194 if echo " $CXXFLAGS " |
grep " $var " 2>&1 >/dev
/null
15195 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$var"; } >&5
15196 (: CXXFLAGS does contain
$var) 2>&5
15198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15199 test $ac_status = 0; }
15200 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$var\""; } >&5
15201 (: CXXFLAGS
="$CXXFLAGS $var") 2>&5
15203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15204 test $ac_status = 0; }
15205 CXXFLAGS
="$CXXFLAGS $var"
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for gcc -fkeep-inline-functions" >&5
15211 $as_echo_n "checking CXXFLAGS for gcc -fkeep-inline-functions... " >&6; }
15212 if ${ax_cv_cxxflags_gcc_option__fkeep_inline_functions+:} false
; then :
15213 $as_echo_n "(cached) " >&6
15215 ax_cv_cxxflags_gcc_option__fkeep_inline_functions
="no, unknown"
15218 ac_cpp
='$CXXCPP $CPPFLAGS'
15219 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15220 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15221 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15223 ac_save_CXXFLAGS
="$CXXFLAGS"
15224 for ac_arg
in "-pedantic -Werror % -fkeep-inline-functions" "-pedantic % -fkeep-inline-functions %% no, obsolete" #
15225 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
15226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15237 if ac_fn_cxx_try_compile
"$LINENO"; then :
15238 ax_cv_cxxflags_gcc_option__fkeep_inline_functions
=`echo $ac_arg | sed -e 's,.*% *,,'`; break
15240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15242 CXXFLAGS
="$ac_save_CXXFLAGS"
15244 ac_cpp
='$CXXCPP $CPPFLAGS'
15245 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15246 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15247 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxxflags_gcc_option__fkeep_inline_functions" >&5
15252 $as_echo "$ax_cv_cxxflags_gcc_option__fkeep_inline_functions" >&6; }
15253 var
=$ax_cv_cxxflags_gcc_option__fkeep_inline_functions
15258 if echo " $CXXFLAGS " |
grep " $var " 2>&1 >/dev
/null
15259 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$var"; } >&5
15260 (: CXXFLAGS does contain
$var) 2>&5
15262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15263 test $ac_status = 0; }
15264 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$var\""; } >&5
15265 (: CXXFLAGS
="$CXXFLAGS $var") 2>&5
15267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15268 test $ac_status = 0; }
15269 CXXFLAGS
="$CXXFLAGS $var"
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for gcc -O2" >&5
15276 $as_echo_n "checking CXXFLAGS for gcc -O2... " >&6; }
15277 if ${ax_cv_cxxflags_gcc_option__O2+:} false
; then :
15278 $as_echo_n "(cached) " >&6
15280 ax_cv_cxxflags_gcc_option__O2
="no, unknown"
15283 ac_cpp
='$CXXCPP $CPPFLAGS'
15284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15288 ac_save_CXXFLAGS
="$CXXFLAGS"
15289 for ac_arg
in "-pedantic -Werror % -O2" "-pedantic % -O2 %% no, obsolete" #
15290 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
15291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15302 if ac_fn_cxx_try_compile
"$LINENO"; then :
15303 ax_cv_cxxflags_gcc_option__O2
=`echo $ac_arg | sed -e 's,.*% *,,'`; break
15305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15307 CXXFLAGS
="$ac_save_CXXFLAGS"
15309 ac_cpp
='$CXXCPP $CPPFLAGS'
15310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxxflags_gcc_option__O2" >&5
15317 $as_echo "$ax_cv_cxxflags_gcc_option__O2" >&6; }
15318 var
=$ax_cv_cxxflags_gcc_option__O2
15323 if echo " $CXXFLAGS " |
grep " $var " 2>&1 >/dev
/null
15324 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$var"; } >&5
15325 (: CXXFLAGS does contain
$var) 2>&5
15327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15328 test $ac_status = 0; }
15329 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$var\""; } >&5
15330 (: CXXFLAGS
="$CXXFLAGS $var") 2>&5
15332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15333 test $ac_status = 0; }
15334 CXXFLAGS
="$CXXFLAGS $var"
15341 case "$target_os" in #(
15343 LDFLAGS
="${LDFLAGS} -Wl,--enable-auto-import"
15344 LDFLAGS
="${LDFLAGS} -Wl,--enable-runtime-pseudo-reloc" ;; #(
15349 if test "x$enable_warnings" = "xyes"; then :
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for sun/cc +w" >&5
15351 $as_echo_n "checking CXXFLAGS for sun/cc +w... " >&6; }
15352 if ${ax_cv_cxxflags_sun_option_pw+:} false
; then :
15353 $as_echo_n "(cached) " >&6
15355 ax_cv_cxxflags_sun_option_pw
="no, unknown"
15358 ac_cpp
='$CXXCPP $CPPFLAGS'
15359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15363 ac_save_CXXFLAGS
="$CXXFLAGS"
15364 for ac_arg
in "+xstrconst -Xc % +w" #
15365 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
15366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15367 /* end confdefs.h. */
15377 if ac_fn_cxx_try_compile
"$LINENO"; then :
15378 ax_cv_cxxflags_sun_option_pw
=`echo $ac_arg | sed -e 's,.*% *,,'`; break
15380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15382 CXXFLAGS
="$ac_save_CXXFLAGS"
15384 ac_cpp
='$CXXCPP $CPPFLAGS'
15385 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15386 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15387 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxxflags_sun_option_pw" >&5
15392 $as_echo "$ax_cv_cxxflags_sun_option_pw" >&6; }
15393 var
=$ax_cv_cxxflags_sun_option_pw
15398 if echo " $CXXFLAGS " |
grep " $var " 2>&1 >/dev
/null
15399 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$var"; } >&5
15400 (: CXXFLAGS does contain
$var) 2>&5
15402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15403 test $ac_status = 0; }
15404 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$var\""; } >&5
15405 (: CXXFLAGS
="$CXXFLAGS $var") 2>&5
15407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15408 test $ac_status = 0; }
15409 CXXFLAGS
="$CXXFLAGS $var"
15415 as_VAR
=`$as_echo "ax_cv_cxxflags_sun_option_-library=stlport4" | $as_tr_sh`
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for sun/cc -library=stlport4" >&5
15417 $as_echo_n "checking CXXFLAGS for sun/cc -library=stlport4... " >&6; }
15418 if eval \
${$as_VAR+:} false
; then :
15419 $as_echo_n "(cached) " >&6
15421 eval "$as_VAR=\"no, unknown\""
15424 ac_cpp
='$CXXCPP $CPPFLAGS'
15425 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15426 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15427 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15429 ac_save_CXXFLAGS
="$CXXFLAGS"
15430 for ac_arg
in "+xstrconst -Xc % -library=stlport4" #
15431 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
15432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15433 /* end confdefs.h. */
15443 if ac_fn_cxx_try_compile
"$LINENO"; then :
15444 eval "$as_VAR=\`echo \$ac_arg | sed -e 's,.*% *,,'\`"; break
15446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15448 CXXFLAGS
="$ac_save_CXXFLAGS"
15450 ac_cpp
='$CXXCPP $CPPFLAGS'
15451 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15452 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15453 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15457 eval ac_res
=\$
$as_VAR
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15459 $as_echo "$ac_res" >&6; }
15465 if echo " $CXXFLAGS " |
grep " $var " 2>&1 >/dev
/null
15466 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$var"; } >&5
15467 (: CXXFLAGS does contain
$var) 2>&5
15469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15470 test $ac_status = 0; }
15471 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$var\""; } >&5
15472 (: CXXFLAGS
="$CXXFLAGS $var") 2>&5
15474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15475 test $ac_status = 0; }
15476 CXXFLAGS
="$CXXFLAGS $var"
15481 as_VAR
=`$as_echo "ax_cv_cxxflags_sun_option_-library=Crun" | $as_tr_sh`
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for sun/cc -library=Crun" >&5
15483 $as_echo_n "checking CXXFLAGS for sun/cc -library=Crun... " >&6; }
15484 if eval \
${$as_VAR+:} false
; then :
15485 $as_echo_n "(cached) " >&6
15487 eval "$as_VAR=\"no, unknown\""
15490 ac_cpp
='$CXXCPP $CPPFLAGS'
15491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15495 ac_save_CXXFLAGS
="$CXXFLAGS"
15496 for ac_arg
in "+xstrconst -Xc % -library=Crun" #
15497 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
15498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h. */
15509 if ac_fn_cxx_try_compile
"$LINENO"; then :
15510 eval "$as_VAR=\`echo \$ac_arg | sed -e 's,.*% *,,'\`"; break
15512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15514 CXXFLAGS
="$ac_save_CXXFLAGS"
15516 ac_cpp
='$CXXCPP $CPPFLAGS'
15517 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15518 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15519 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15523 eval ac_res
=\$
$as_VAR
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15525 $as_echo "$ac_res" >&6; }
15531 if echo " $CXXFLAGS " |
grep " $var " 2>&1 >/dev
/null
15532 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$var"; } >&5
15533 (: CXXFLAGS does contain
$var) 2>&5
15535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15536 test $ac_status = 0; }
15537 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$var\""; } >&5
15538 (: CXXFLAGS
="$CXXFLAGS $var") 2>&5
15540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15541 test $ac_status = 0; }
15542 CXXFLAGS
="$CXXFLAGS $var"
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __declspec(dllexport)" >&5
15556 $as_echo_n "checking for __declspec(dllexport)... " >&6; }
15557 if ${ac_cv_declspec+:} false
; then :
15558 $as_echo_n "(cached) " >&6
15561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15562 /* end confdefs.h. */
15563 __declspec(dllexport) int x = 0;
15564 __declspec(dllexport) int foo ();
15565 int foo () { return 0; }
15566 __declspec(dllexport) int bar () { return x; }
15576 if ac_fn_cxx_try_compile
"$LINENO"; then :
15581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_declspec" >&5
15585 $as_echo "$ac_cv_declspec" >&6; }
15587 if test "x$ac_cv_declspec" = "xyes"; then :
15588 $as_echo "#define LOG4CPLUS_DECLSPEC_IMPORT __declspec(dllimport)" >>confdefs.h
15590 $as_echo "#define LOG4CPLUS_DECLSPEC_EXPORT __declspec(dllexport)" >>confdefs.h
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"default\")))" >&5
15595 $as_echo_n "checking for __attribute__((visibility(\"default\")))... " >&6; }
15596 if ${ac_cv__attribute__visibility+:} false
; then :
15597 $as_echo_n "(cached) " >&6
15600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15601 /* end confdefs.h. */
15603 #if defined (__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 1))
15604 # error Please fail.
15605 And extra please fail.
15607 __attribute__((visibility("default"))) int x = 0;
15608 __attribute__((visibility("default"))) int foo ();
15609 int foo () { return 0; }
15610 __attribute__((visibility("default"))) int bar () { return x; }
15611 __attribute__((visibility("hidden"))) int baz () { return 1; }
15622 if ac_fn_cxx_try_compile
"$LINENO"; then :
15623 ac_cv__attribute__visibility
=yes
15625 ac_cv__attribute__visibility
=no
15627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv__attribute__visibility" >&5
15631 $as_echo "$ac_cv__attribute__visibility" >&6; }
15633 if test "x$ac_cv__attribute__visibility" = "xyes"; then :
15634 $as_echo "#define LOG4CPLUS_DECLSPEC_IMPORT /**/" >>confdefs.h
15636 $as_echo "#define LOG4CPLUS_DECLSPEC_EXPORT __attribute__ ((visibility(\"default\")))" >>confdefs.h
15642 if test "x$ac_cv__attribute__visibility" = "xno" && test "x$ac_cv_declspec" = "xno"; then :
15643 $as_echo "#define LOG4CPLUS_DECLSPEC_IMPORT /**/" >>confdefs.h
15645 $as_echo "#define LOG4CPLUS_DECLSPEC_EXPORT /**/" >>confdefs.h
15650 if test "x$ac_cv_declspec" = "xyes" ||
test "x$ac_cv__attribute__visibility" = "xyes"; then :
15651 case $ac_cxx_compiler_vendor in #(
15653 if test "x$ac_cv_declspec" = "xyes" ||
test "x$ac_cv__attribute__visibility" = "xyes"; then :
15654 as_VAR
=`$as_echo "ax_cv_cxxflags_gcc_option_-fvisibility=hidden" | $as_tr_sh`
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for gcc -fvisibility=hidden" >&5
15656 $as_echo_n "checking CXXFLAGS for gcc -fvisibility=hidden... " >&6; }
15657 if eval \
${$as_VAR+:} false
; then :
15658 $as_echo_n "(cached) " >&6
15660 eval "$as_VAR=\"no, unknown\""
15663 ac_cpp
='$CXXCPP $CPPFLAGS'
15664 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15665 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15666 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15668 ac_save_CXXFLAGS
="$CXXFLAGS"
15669 for ac_arg
in "-pedantic -Werror % -fvisibility=hidden" "-pedantic % -fvisibility=hidden %% no, obsolete" #
15670 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
15671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h. */
15682 if ac_fn_cxx_try_compile
"$LINENO"; then :
15683 eval "$as_VAR=\`echo \$ac_arg | sed -e 's,.*% *,,'\`"; break
15685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15687 CXXFLAGS
="$ac_save_CXXFLAGS"
15689 ac_cpp
='$CXXCPP $CPPFLAGS'
15690 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15691 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15692 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15696 eval ac_res
=\$
$as_VAR
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15698 $as_echo "$ac_res" >&6; }
15704 if echo " $CXXFLAGS " |
grep " $var " 2>&1 >/dev
/null
15705 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$var"; } >&5
15706 (: CXXFLAGS does contain
$var) 2>&5
15708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15709 test $ac_status = 0; }
15710 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$var\""; } >&5
15711 (: CXXFLAGS
="$CXXFLAGS $var") 2>&5
15713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15714 test $ac_status = 0; }
15715 CXXFLAGS
="$CXXFLAGS $var"
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
15728 $as_echo_n "checking for library containing strerror... " >&6; }
15729 if ${ac_cv_search_strerror+:} false
; then :
15730 $as_echo_n "(cached) " >&6
15732 ac_func_search_save_LIBS
=$LIBS
15733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15736 /* Override any GCC internal prototype to avoid an error.
15737 Use char because int might match the return type of a GCC
15738 builtin and then its argument prototype would still apply. */
15746 return strerror ();
15751 for ac_lib
in '' cposix
; do
15752 if test -z "$ac_lib"; then
15753 ac_res
="none required"
15756 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15758 if ac_fn_cxx_try_link
"$LINENO"; then :
15759 ac_cv_search_strerror
=$ac_res
15761 rm -f core conftest.err conftest.
$ac_objext \
15763 if ${ac_cv_search_strerror+:} false
; then :
15767 if ${ac_cv_search_strerror+:} false
; then :
15770 ac_cv_search_strerror
=no
15772 rm conftest.
$ac_ext
15773 LIBS
=$ac_func_search_save_LIBS
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
15776 $as_echo "$ac_cv_search_strerror" >&6; }
15777 ac_res
=$ac_cv_search_strerror
15778 if test "$ac_res" != no
; then :
15779 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15784 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15785 if ${ac_cv_search_clock_gettime+:} false
; then :
15786 $as_echo_n "(cached) " >&6
15788 ac_func_search_save_LIBS
=$LIBS
15789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15790 /* end confdefs.h. */
15792 /* Override any GCC internal prototype to avoid an error.
15793 Use char because int might match the return type of a GCC
15794 builtin and then its argument prototype would still apply. */
15798 char clock_gettime ();
15802 return clock_gettime ();
15807 for ac_lib
in '' posix4
; do
15808 if test -z "$ac_lib"; then
15809 ac_res
="none required"
15812 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15814 if ac_fn_cxx_try_link
"$LINENO"; then :
15815 ac_cv_search_clock_gettime
=$ac_res
15817 rm -f core conftest.err conftest.
$ac_objext \
15819 if ${ac_cv_search_clock_gettime+:} false
; then :
15823 if ${ac_cv_search_clock_gettime+:} false
; then :
15826 ac_cv_search_clock_gettime
=no
15828 rm conftest.
$ac_ext
15829 LIBS
=$ac_func_search_save_LIBS
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15832 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15833 ac_res
=$ac_cv_search_clock_gettime
15834 if test "$ac_res" != no
; then :
15835 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
15840 $as_echo_n "checking for library containing nanosleep... " >&6; }
15841 if ${ac_cv_search_nanosleep+:} false
; then :
15842 $as_echo_n "(cached) " >&6
15844 ac_func_search_save_LIBS
=$LIBS
15845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15846 /* end confdefs.h. */
15848 /* Override any GCC internal prototype to avoid an error.
15849 Use char because int might match the return type of a GCC
15850 builtin and then its argument prototype would still apply. */
15858 return nanosleep ();
15863 for ac_lib
in '' rt
; do
15864 if test -z "$ac_lib"; then
15865 ac_res
="none required"
15868 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15870 if ac_fn_cxx_try_link
"$LINENO"; then :
15871 ac_cv_search_nanosleep
=$ac_res
15873 rm -f core conftest.err conftest.
$ac_objext \
15875 if ${ac_cv_search_nanosleep+:} false
; then :
15879 if ${ac_cv_search_nanosleep+:} false
; then :
15882 ac_cv_search_nanosleep
=no
15884 rm conftest.
$ac_ext
15885 LIBS
=$ac_func_search_save_LIBS
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
15888 $as_echo "$ac_cv_search_nanosleep" >&6; }
15889 ac_res
=$ac_cv_search_nanosleep
15890 if test "$ac_res" != no
; then :
15891 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
15896 $as_echo_n "checking for library containing gethostent... " >&6; }
15897 if ${ac_cv_search_gethostent+:} false
; then :
15898 $as_echo_n "(cached) " >&6
15900 ac_func_search_save_LIBS
=$LIBS
15901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15904 /* Override any GCC internal prototype to avoid an error.
15905 Use char because int might match the return type of a GCC
15906 builtin and then its argument prototype would still apply. */
15910 char gethostent ();
15914 return gethostent ();
15919 for ac_lib
in '' nsl
; do
15920 if test -z "$ac_lib"; then
15921 ac_res
="none required"
15924 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15926 if ac_fn_cxx_try_link
"$LINENO"; then :
15927 ac_cv_search_gethostent
=$ac_res
15929 rm -f core conftest.err conftest.
$ac_objext \
15931 if ${ac_cv_search_gethostent+:} false
; then :
15935 if ${ac_cv_search_gethostent+:} false
; then :
15938 ac_cv_search_gethostent
=no
15940 rm conftest.
$ac_ext
15941 LIBS
=$ac_func_search_save_LIBS
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
15944 $as_echo "$ac_cv_search_gethostent" >&6; }
15945 ac_res
=$ac_cv_search_gethostent
15946 if test "$ac_res" != no
; then :
15947 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
15952 $as_echo_n "checking for library containing setsockopt... " >&6; }
15953 if ${ac_cv_search_setsockopt+:} false
; then :
15954 $as_echo_n "(cached) " >&6
15956 ac_func_search_save_LIBS
=$LIBS
15957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15958 /* end confdefs.h. */
15960 /* Override any GCC internal prototype to avoid an error.
15961 Use char because int might match the return type of a GCC
15962 builtin and then its argument prototype would still apply. */
15966 char setsockopt ();
15970 return setsockopt ();
15975 for ac_lib
in '' socket
; do
15976 if test -z "$ac_lib"; then
15977 ac_res
="none required"
15980 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15982 if ac_fn_cxx_try_link
"$LINENO"; then :
15983 ac_cv_search_setsockopt
=$ac_res
15985 rm -f core conftest.err conftest.
$ac_objext \
15987 if ${ac_cv_search_setsockopt+:} false
; then :
15991 if ${ac_cv_search_setsockopt+:} false
; then :
15994 ac_cv_search_setsockopt
=no
15996 rm conftest.
$ac_ext
15997 LIBS
=$ac_func_search_save_LIBS
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
16000 $as_echo "$ac_cv_search_setsockopt" >&6; }
16001 ac_res
=$ac_cv_search_setsockopt
16002 if test "$ac_res" != no
; then :
16003 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16010 ac_cpp
='$CPP $CPPFLAGS'
16011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkernel32" >&5
16016 $as_echo_n "checking for main in -lkernel32... " >&6; }
16017 if ${ac_cv_lib_kernel32_main+:} false
; then :
16018 $as_echo_n "(cached) " >&6
16020 ac_check_lib_save_LIBS
=$LIBS
16021 LIBS
="-lkernel32 $LIBS"
16022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16023 /* end confdefs.h. */
16034 if ac_fn_c_try_link
"$LINENO"; then :
16035 ac_cv_lib_kernel32_main
=yes
16037 ac_cv_lib_kernel32_main
=no
16039 rm -f core conftest.err conftest.
$ac_objext \
16040 conftest
$ac_exeext conftest.
$ac_ext
16041 LIBS
=$ac_check_lib_save_LIBS
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kernel32_main" >&5
16044 $as_echo "$ac_cv_lib_kernel32_main" >&6; }
16045 if test "x$ac_cv_lib_kernel32_main" = xyes
; then :
16046 cat >>confdefs.h
<<_ACEOF
16047 #define HAVE_LIBKERNEL32 1
16050 LIBS
="-lkernel32 $LIBS"
16053 ac_cv_lib_kernel32
=ac_cv_lib_kernel32_main
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ladvapi32" >&5
16056 $as_echo_n "checking for main in -ladvapi32... " >&6; }
16057 if ${ac_cv_lib_advapi32_main+:} false
; then :
16058 $as_echo_n "(cached) " >&6
16060 ac_check_lib_save_LIBS
=$LIBS
16061 LIBS
="-ladvapi32 $LIBS"
16062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16063 /* end confdefs.h. */
16074 if ac_fn_c_try_link
"$LINENO"; then :
16075 ac_cv_lib_advapi32_main
=yes
16077 ac_cv_lib_advapi32_main
=no
16079 rm -f core conftest.err conftest.
$ac_objext \
16080 conftest
$ac_exeext conftest.
$ac_ext
16081 LIBS
=$ac_check_lib_save_LIBS
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_advapi32_main" >&5
16084 $as_echo "$ac_cv_lib_advapi32_main" >&6; }
16085 if test "x$ac_cv_lib_advapi32_main" = xyes
; then :
16086 cat >>confdefs.h
<<_ACEOF
16087 #define HAVE_LIBADVAPI32 1
16090 LIBS
="-ladvapi32 $LIBS"
16093 ac_cv_lib_advapi32
=ac_cv_lib_advapi32_main
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
16096 $as_echo_n "checking for main in -lws2_32... " >&6; }
16097 if ${ac_cv_lib_ws2_32_main+:} false
; then :
16098 $as_echo_n "(cached) " >&6
16100 ac_check_lib_save_LIBS
=$LIBS
16101 LIBS
="-lws2_32 $LIBS"
16102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16103 /* end confdefs.h. */
16114 if ac_fn_c_try_link
"$LINENO"; then :
16115 ac_cv_lib_ws2_32_main
=yes
16117 ac_cv_lib_ws2_32_main
=no
16119 rm -f core conftest.err conftest.
$ac_objext \
16120 conftest
$ac_exeext conftest.
$ac_ext
16121 LIBS
=$ac_check_lib_save_LIBS
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
16124 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
16125 if test "x$ac_cv_lib_ws2_32_main" = xyes
; then :
16126 cat >>confdefs.h
<<_ACEOF
16127 #define HAVE_LIBWS2_32 1
16130 LIBS
="-lws2_32 $LIBS"
16133 ac_cv_lib_ws2_32
=ac_cv_lib_ws2_32_main
16136 ac_cpp
='$CXXCPP $CPPFLAGS'
16137 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16138 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16139 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16145 $as_echo_n "checking for ANSI C header files... " >&6; }
16146 if ${ac_cv_header_stdc+:} false
; then :
16147 $as_echo_n "(cached) " >&6
16149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16150 /* end confdefs.h. */
16151 #include <stdlib.h>
16152 #include <stdarg.h>
16153 #include <string.h>
16164 if ac_fn_cxx_try_compile
"$LINENO"; then :
16165 ac_cv_header_stdc
=yes
16167 ac_cv_header_stdc
=no
16169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16171 if test $ac_cv_header_stdc = yes; then
16172 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16175 #include <string.h>
16178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16179 $EGREP "memchr" >/dev
/null
2>&1; then :
16182 ac_cv_header_stdc
=no
16188 if test $ac_cv_header_stdc = yes; then
16189 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16192 #include <stdlib.h>
16195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16196 $EGREP "free" >/dev
/null
2>&1; then :
16199 ac_cv_header_stdc
=no
16205 if test $ac_cv_header_stdc = yes; then
16206 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16207 if test "$cross_compiling" = yes; then :
16210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h. */
16213 #include <stdlib.h>
16214 #if ((' ' & 0x0FF) == 0x020)
16215 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16216 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16218 # define ISLOWER(c) \
16219 (('a' <= (c) && (c) <= 'i') \
16220 || ('j' <= (c) && (c) <= 'r') \
16221 || ('s' <= (c) && (c) <= 'z'))
16222 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16225 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16230 for (i = 0; i < 256; i++)
16231 if (XOR (islower (i), ISLOWER (i))
16232 || toupper (i) != TOUPPER (i))
16237 if ac_fn_cxx_try_run
"$LINENO"; then :
16240 ac_cv_header_stdc
=no
16242 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16243 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16249 $as_echo "$ac_cv_header_stdc" >&6; }
16250 if test $ac_cv_header_stdc = yes; then
16252 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16258 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
16259 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
16260 $as_echo "#define LOG4CPLUS_HAVE_SYS_TYPES_H 1" >>confdefs.h
16266 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
16267 if test "x$ac_cv_header_sys_socket_h" = xyes
; then :
16268 $as_echo "#define LOG4CPLUS_HAVE_SYS_SOCKET_H 1" >>confdefs.h
16274 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
16275 if test "x$ac_cv_header_sys_time_h" = xyes
; then :
16276 $as_echo "#define LOG4CPLUS_HAVE_SYS_TIME_H 1" >>confdefs.h
16282 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
16283 if test "x$ac_cv_header_sys_timeb_h" = xyes
; then :
16284 $as_echo "#define LOG4CPLUS_HAVE_SYS_TIMEB_H 1" >>confdefs.h
16290 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
16291 if test "x$ac_cv_header_sys_stat_h" = xyes
; then :
16292 $as_echo "#define LOG4CPLUS_HAVE_SYS_STAT_H 1" >>confdefs.h
16298 ac_fn_cxx_check_header_mongrel
"$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
16299 if test "x$ac_cv_header_syslog_h" = xyes
; then :
16300 $as_echo "#define LOG4CPLUS_HAVE_SYSLOG_H 1" >>confdefs.h
16306 ac_fn_cxx_check_header_mongrel
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
16307 if test "x$ac_cv_header_netinet_in_h" = xyes
; then :
16308 $as_echo "#define LOG4CPLUS_HAVE_NETINET_IN_H 1" >>confdefs.h
16314 ac_fn_cxx_check_header_mongrel
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
16315 if test "x$ac_cv_header_netdb_h" = xyes
; then :
16316 $as_echo "#define LOG4CPLUS_HAVE_NETDB_H 1" >>confdefs.h
16322 ac_fn_cxx_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
16323 if test "x$ac_cv_header_unistd_h" = xyes
; then :
16324 $as_echo "#define LOG4CPLUS_HAVE_UNISTD_H 1" >>confdefs.h
16330 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
16331 if test "x$ac_cv_header_stdio_h" = xyes
; then :
16332 $as_echo "#define LOG4CPLUS_HAVE_STDIO_H 1" >>confdefs.h
16338 ac_fn_cxx_check_header_mongrel
"$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16339 if test "x$ac_cv_header_wchar_h" = xyes
; then :
16340 $as_echo "#define LOG4CPLUS_HAVE_WCHAR_H 1" >>confdefs.h
16346 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
16347 if test "x$ac_cv_header_stdarg_h" = xyes
; then :
16348 $as_echo "#define LOG4CPLUS_HAVE_STDARG_H 1" >>confdefs.h
16354 ac_fn_cxx_check_header_mongrel
"$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
16355 if test "x$ac_cv_header_time_h" = xyes
; then :
16356 $as_echo "#define LOG4CPLUS_HAVE_TIME_H 1" >>confdefs.h
16362 ac_fn_cxx_check_header_mongrel
"$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
16363 if test "x$ac_cv_header_errno_h" = xyes
; then :
16364 $as_echo "#define LOG4CPLUS_HAVE_ERRNO_H 1" >>confdefs.h
16372 for ac_func
in gmtime_r
16374 ac_fn_cxx_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
16375 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
16376 cat >>confdefs.h
<<_ACEOF
16377 #define HAVE_GMTIME_R 1
16379 $as_echo "#define LOG4CPLUS_HAVE_GMTIME_R 1" >>confdefs.h
16385 for ac_func
in localtime_r
16387 ac_fn_cxx_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
16388 if test "x$ac_cv_func_localtime_r" = xyes
; then :
16389 cat >>confdefs.h
<<_ACEOF
16390 #define HAVE_LOCALTIME_R 1
16392 $as_echo "#define LOG4CPLUS_HAVE_LOCALTIME_R 1" >>confdefs.h
16398 for ac_func
in gettimeofday
16400 ac_fn_cxx_check_func
"$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
16401 if test "x$ac_cv_func_gettimeofday" = xyes
; then :
16402 cat >>confdefs.h
<<_ACEOF
16403 #define HAVE_GETTIMEOFDAY 1
16405 $as_echo "#define LOG4CPLUS_HAVE_GETTIMEOFDAY 1" >>confdefs.h
16411 for ac_func
in clock_gettime
16413 ac_fn_cxx_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
16414 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
16415 cat >>confdefs.h
<<_ACEOF
16416 #define HAVE_CLOCK_GETTIME 1
16418 $as_echo "#define LOG4CPLUS_HAVE_CLOCK_GETTIME 1" >>confdefs.h
16424 for ac_func
in getpid
16426 ac_fn_cxx_check_func
"$LINENO" "getpid" "ac_cv_func_getpid"
16427 if test "x$ac_cv_func_getpid" = xyes
; then :
16428 cat >>confdefs.h
<<_ACEOF
16429 #define HAVE_GETPID 1
16431 $as_echo "#define LOG4CPLUS_HAVE_GETPID 1" >>confdefs.h
16437 for ac_func
in ftime
16439 ac_fn_cxx_check_func
"$LINENO" "ftime" "ac_cv_func_ftime"
16440 if test "x$ac_cv_func_ftime" = xyes
; then :
16441 cat >>confdefs.h
<<_ACEOF
16442 #define HAVE_FTIME 1
16444 $as_echo "#define LOG4CPLUS_HAVE_FTIME 1" >>confdefs.h
16450 for ac_func
in stat
16452 ac_fn_cxx_check_func
"$LINENO" "stat" "ac_cv_func_stat"
16453 if test "x$ac_cv_func_stat" = xyes
; then :
16454 cat >>confdefs.h
<<_ACEOF
16455 #define HAVE_STAT 1
16457 $as_echo "#define LOG4CPLUS_HAVE_STAT 1" >>confdefs.h
16463 for ac_func
in lstat
16465 ac_fn_cxx_check_func
"$LINENO" "lstat" "ac_cv_func_lstat"
16466 if test "x$ac_cv_func_lstat" = xyes
; then :
16467 cat >>confdefs.h
<<_ACEOF
16468 #define HAVE_LSTAT 1
16470 $as_echo "#define LOG4CPLUS_HAVE_LSTAT 1" >>confdefs.h
16476 for ac_func
in htons
16478 ac_fn_cxx_check_func
"$LINENO" "htons" "ac_cv_func_htons"
16479 if test "x$ac_cv_func_htons" = xyes
; then :
16480 cat >>confdefs.h
<<_ACEOF
16481 #define HAVE_HTONS 1
16483 $as_echo "#define LOG4CPLUS_HAVE_HTONS 1" >>confdefs.h
16489 for ac_func
in ntohs
16491 ac_fn_cxx_check_func
"$LINENO" "ntohs" "ac_cv_func_ntohs"
16492 if test "x$ac_cv_func_ntohs" = xyes
; then :
16493 cat >>confdefs.h
<<_ACEOF
16494 #define HAVE_NTOHS 1
16496 $as_echo "#define LOG4CPLUS_HAVE_NTOHS 1" >>confdefs.h
16502 for ac_func
in htonl
16504 ac_fn_cxx_check_func
"$LINENO" "htonl" "ac_cv_func_htonl"
16505 if test "x$ac_cv_func_htonl" = xyes
; then :
16506 cat >>confdefs.h
<<_ACEOF
16507 #define HAVE_HTONL 1
16509 $as_echo "#define LOG4CPLUS_HAVE_HTONL 1" >>confdefs.h
16515 for ac_func
in ntohl
16517 ac_fn_cxx_check_func
"$LINENO" "ntohl" "ac_cv_func_ntohl"
16518 if test "x$ac_cv_func_ntohl" = xyes
; then :
16519 cat >>confdefs.h
<<_ACEOF
16520 #define HAVE_NTOHL 1
16522 $as_echo "#define LOG4CPLUS_HAVE_NTOHL 1" >>confdefs.h
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENAMETOOLONG" >&5
16530 $as_echo_n "checking for ENAMETOOLONG... " >&6; }
16531 if ${ax_cv_have_enametoolong+:} false
; then :
16532 $as_echo_n "(cached) " >&6
16534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16540 int value = ENAMETOOLONG;
16545 if ac_fn_cxx_try_compile
"$LINENO"; then :
16546 ax_cv_have_enametoolong
=yes
16548 ax_cv_have_enametoolong
=no
16550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_enametoolong" >&5
16553 $as_echo "$ax_cv_have_enametoolong" >&6; }
16554 if test "x$ax_cv_have_enametoolong" = "xyes"; then :
16555 $as_echo "#define LOG4CPLUS_HAVE_ENAMETOOLONG 1" >>confdefs.h
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
16563 $as_echo_n "checking for getaddrinfo... " >&6; }
16564 if ${ax_cv_have_getaddrinfo+:} false
; then :
16565 $as_echo_n "(cached) " >&6
16567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16573 #include <stddef.h>
16576 #include <sys/types.h>
16577 #include <sys/socket.h>
16584 getaddrinfo (NULL, NULL, NULL, NULL);
16590 if ac_fn_cxx_try_compile
"$LINENO"; then :
16591 ax_cv_have_getaddrinfo
=yes
16593 ax_cv_have_getaddrinfo
=no
16595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_getaddrinfo" >&5
16598 $as_echo "$ax_cv_have_getaddrinfo" >&6; }
16600 if test "x$ax_cv_have_getaddrinfo" = "xyes"; then :
16601 $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
16605 if test "x$ax_cv_have_getaddrinfo" = "xyes"; then :
16606 $as_echo "#define LOG4CPLUS_HAVE_GETADDRINFO 1" >>confdefs.h
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname_r" >&5
16614 $as_echo_n "checking for gethostbyname_r... " >&6; }
16615 if ${ax_cv_have_gethostbyname_r+:} false
; then :
16616 $as_echo_n "(cached) " >&6
16618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16619 /* end confdefs.h. */
16624 #include <stddef.h>
16627 #include <sys/types.h>
16628 #include <sys/socket.h>
16635 gethostbyname_r (NULL, NULL, NULL, 0, NULL, NULL);
16641 if ac_fn_cxx_try_compile
"$LINENO"; then :
16642 ax_cv_have_gethostbyname_r
=yes
16644 ax_cv_have_gethostbyname_r
=no
16646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_gethostbyname_r" >&5
16649 $as_echo "$ax_cv_have_gethostbyname_r" >&6; }
16651 if test "x$ax_cv_have_gethostbyname_r" = "xyes"; then :
16652 $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
16656 if test "x$ax_cv_have_gethostbyname_r" = "xyes"; then :
16657 $as_echo "#define LOG4CPLUS_HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
16664 $as_echo_n "checking for socklen_t... " >&6; }
16665 if ${ac_cv_type_socklen_t+:} false
; then :
16666 $as_echo_n "(cached) " >&6
16669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16670 /* end confdefs.h. */
16671 #include <sys/types.h>
16672 #include <sys/socket.h>
16676 socklen_t len = 42; return 0;
16681 if ac_fn_cxx_try_compile
"$LINENO"; then :
16682 ac_cv_type_socklen_t
=yes
16684 ac_cv_type_socklen_t
=no
16686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5
16690 $as_echo "$ac_cv_type_socklen_t" >&6; }
16691 if test $ac_cv_type_socklen_t != yes; then
16692 $as_echo "#define socklen_t int" >>confdefs.h
16701 # Check whether --enable-threads was given.
16702 if test "${enable_threads+set}" = set; then :
16703 enableval
=$enable_threads; case "${enableval}" in #(
16709 as_fn_error $?
"bad value ${enableval} for --enable-threads" "$LINENO" 5 ;;
16716 if test x
$enable_threads = xyes
; then :
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: Creating a multi-threaded library." >&5
16718 $as_echo "$as_me: Creating a multi-threaded library." >&6;}
16720 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
16722 case "$target_os" in #(
16730 ac_cpp
='$CPP $CPPFLAGS'
16731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16737 # We used to check for pthread.h first, but this fails if pthread.h
16738 # requires special compiler flags (e.g. on True64 or Sequent).
16739 # It gets checked for in the link test anyway.
16741 # First of all, check if the user has set any of the PTHREAD_LIBS,
16742 # etcetera environment variables, and if threads linking works using
16744 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
16745 save_CFLAGS
="$CFLAGS"
16746 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
16748 LIBS
="$PTHREAD_LIBS $LIBS"
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
16750 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
16751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16754 /* Override any GCC internal prototype to avoid an error.
16755 Use char because int might match the return type of a GCC
16756 builtin and then its argument prototype would still apply. */
16760 char pthread_join ();
16764 return pthread_join ();
16769 if ac_fn_c_try_link
"$LINENO"; then :
16772 rm -f core conftest.err conftest.
$ac_objext \
16773 conftest
$ac_exeext conftest.
$ac_ext
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
16775 $as_echo "$ax_pthread_ok" >&6; }
16776 if test x
"$ax_pthread_ok" = xno
; then
16781 CFLAGS
="$save_CFLAGS"
16784 # We must check for the threads library under a number of different
16785 # names; the ordering is very important because some systems
16786 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
16787 # libraries is broken (non-POSIX).
16789 # Create a list of thread flags to try. Items starting with a "-" are
16790 # C compiler flags, and other items are library names, except for "none"
16791 # which indicates that we try without any flags at all, and "pthread-config"
16792 # which is a program returning the flags for the Pth emulation library.
16794 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
16796 # The ordering *is* (sometimes) important. Some notes on the
16797 # individual items follow:
16799 # pthreads: AIX (must check this before -lpthread)
16800 # none: in case threads are in libc; should be tried before -Kthread and
16801 # other compiler flags to prevent continual compiler warnings
16802 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
16803 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
16804 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
16805 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
16806 # -pthreads: Solaris/gcc
16807 # -mthreads: Mingw32/gcc, Lynx/gcc
16808 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
16809 # doesn't hurt to check since this sometimes defines pthreads too;
16810 # also defines -D_REENTRANT)
16811 # ... -mt is also the pthreads flag for HP/aCC
16812 # pthread: Linux, etcetera
16813 # --thread-safe: KAI C++
16814 # pthread-config: use pthread-config program (for GNU Pth library)
16816 case "${host_cpu}-${host_os}" in
16819 # On Solaris (at least, for some versions), libc contains stubbed
16820 # (non-functional) versions of the pthreads routines, so link-based
16821 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
16822 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
16823 # a function called by this macro, so we could check for that, but
16824 # who knows whether they'll stub that too in a future libc.) So,
16825 # we'll just look for -pthreads and -lpthread first:
16827 ax_pthread_flags
="-pthreads pthread -mt -pthread $ax_pthread_flags"
16831 acx_pthread_flags
="-pthread $acx_pthread_flags"
16835 if test x
"$ax_pthread_ok" = xno
; then
16836 for flag
in $ax_pthread_flags; do
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
16841 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
16846 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
16847 PTHREAD_CFLAGS
="$flag"
16851 # Extract the first word of "pthread-config", so it can be a program name with args.
16852 set dummy pthread-config
; ac_word
=$2
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16854 $as_echo_n "checking for $ac_word... " >&6; }
16855 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
16856 $as_echo_n "(cached) " >&6
16858 if test -n "$ax_pthread_config"; then
16859 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
16861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16862 for as_dir
in $PATH
16865 test -z "$as_dir" && as_dir
=.
16866 for ac_exec_ext
in '' $ac_executable_extensions; do
16867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16868 ac_cv_prog_ax_pthread_config
="yes"
16869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16876 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
16879 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
16880 if test -n "$ax_pthread_config"; then
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
16882 $as_echo "$ax_pthread_config" >&6; }
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16885 $as_echo "no" >&6; }
16889 if test x
"$ax_pthread_config" = xno
; then continue; fi
16890 PTHREAD_CFLAGS
="`pthread-config --cflags`"
16891 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
16896 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
16897 PTHREAD_LIBS
="-l$flag"
16902 save_CFLAGS
="$CFLAGS"
16903 LIBS
="$PTHREAD_LIBS $LIBS"
16904 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
16906 # Check for various functions. We must include pthread.h,
16907 # since some functions may be macros. (On the Sequent, we
16908 # need a special flag -Kthread to make this header compile.)
16909 # We check for pthread_join because it is in -lpthread on IRIX
16910 # while pthread_create is in libc. We check for pthread_attr_init
16911 # due to DEC craziness with -lpthreads. We check for
16912 # pthread_cleanup_push because it is one of the few pthread
16913 # functions on Solaris that doesn't have a non-functional libc stub.
16914 # We try pthread_create on general principles.
16915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16917 #include <pthread.h>
16918 static void routine(void* a) {a=0;}
16919 static void* start_routine(void* a) {return a;}
16923 pthread_t th; pthread_attr_t attr;
16924 pthread_join(th, 0);
16925 pthread_attr_init(&attr);
16926 pthread_cleanup_push(routine, 0);
16927 pthread_create(&th,0,start_routine,0);
16928 pthread_cleanup_pop(0);
16933 if ac_fn_c_try_link
"$LINENO"; then :
16936 rm -f core conftest.err conftest.
$ac_objext \
16937 conftest
$ac_exeext conftest.
$ac_ext
16940 CFLAGS
="$save_CFLAGS"
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
16943 $as_echo "$ax_pthread_ok" >&6; }
16944 if test "x$ax_pthread_ok" = xyes
; then
16953 # Various other checks:
16954 if test "x$ax_pthread_ok" = xyes
; then
16956 LIBS
="$PTHREAD_LIBS $LIBS"
16957 save_CFLAGS
="$CFLAGS"
16958 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
16960 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
16962 $as_echo_n "checking for joinable pthread attribute... " >&6; }
16964 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
16965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16966 /* end confdefs.h. */
16967 #include <pthread.h>
16971 int attr=$attr; return attr;
16976 if ac_fn_c_try_link
"$LINENO"; then :
16977 attr_name
=$attr; break
16979 rm -f core conftest.err conftest.
$ac_objext \
16980 conftest
$ac_exeext conftest.
$ac_ext
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
16983 $as_echo "$attr_name" >&6; }
16984 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
16986 cat >>confdefs.h
<<_ACEOF
16987 #define PTHREAD_CREATE_JOINABLE $attr_name
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
16993 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
16995 case "${host_cpu}-${host_os}" in
16996 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
16997 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17000 $as_echo "${flag}" >&6; }
17001 if test "x$flag" != xno
; then
17002 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
17006 CFLAGS
="$save_CFLAGS"
17008 # More AIX lossage: must compile with xlc_r or cc_r
17009 if test x
"$GCC" != xyes
; then
17010 for ac_prog
in xlc_r cc_r
17012 # Extract the first word of "$ac_prog", so it can be a program name with args.
17013 set dummy
$ac_prog; ac_word
=$2
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17015 $as_echo_n "checking for $ac_word... " >&6; }
17016 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
17017 $as_echo_n "(cached) " >&6
17019 if test -n "$PTHREAD_CC"; then
17020 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
17022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17023 for as_dir
in $PATH
17026 test -z "$as_dir" && as_dir
=.
17027 for ac_exec_ext
in '' $ac_executable_extensions; do
17028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17029 ac_cv_prog_PTHREAD_CC
="$ac_prog"
17030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17039 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
17040 if test -n "$PTHREAD_CC"; then
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17042 $as_echo "$PTHREAD_CC" >&6; }
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17045 $as_echo "no" >&6; }
17049 test -n "$PTHREAD_CC" && break
17051 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
17064 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17065 if test x
"$ax_pthread_ok" = xyes
; then
17067 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17072 as_fn_error $?
"Requested threads support but no threads were found." "$LINENO" 5
17075 ac_cpp
='$CXXCPP $CPPFLAGS'
17076 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17077 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17078 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17083 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17084 CXXFLAGS
="$CXXFLAGS $PTHREAD_CFLAGS"
17085 LIBS
="$PTHREAD_LIBS $LIBS"
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: Creating a single-threaded library" >&5
17088 $as_echo "$as_me: Creating a single-threaded library" >&6;}
17090 $as_echo "#define LOG4CPLUS_SINGLE_THREADED 1" >>confdefs.h
17094 if test x
$enable_threads = xyes
; then
17095 MULTI_THREADED_TRUE
=
17096 MULTI_THREADED_FALSE
='#'
17098 MULTI_THREADED_TRUE
='#'
17099 MULTI_THREADED_FALSE
=
17107 ac_config_headers
="$ac_config_headers include/log4cplus/config.h"
17109 ac_config_headers
="$ac_config_headers include/log4cplus/config/defines.hxx"
17111 ac_config_files
="$ac_config_files Makefile include/Makefile src/Makefile loggingserver/Makefile tests/Makefile tests/appender_test/Makefile tests/configandwatch_test/Makefile tests/customloglevel_test/Makefile tests/fileappender_test/Makefile tests/filter_test/Makefile tests/hierarchy_test/Makefile tests/loglog_test/Makefile tests/ndc_test/Makefile tests/ostream_test/Makefile tests/patternlayout_test/Makefile tests/performance_test/Makefile tests/priority_test/Makefile tests/propertyconfig_test/Makefile tests/socket_test/Makefile tests/thread_test/Makefile tests/timeformat_test/Makefile"
17113 cat >confcache
<<\_ACEOF
17114 # This file is a shell script that caches the results of configure
17115 # tests run on this system so they can be shared between configure
17116 # scripts and configure runs, see configure's option --config-cache.
17117 # It is not useful on other systems. If it contains results you don't
17118 # want to keep, you may remove or edit it.
17120 # config.status only pays attention to the cache file if you give it
17121 # the --recheck option to rerun configure.
17123 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17124 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17125 # following values.
17129 # The following way of writing the cache mishandles newlines in values,
17130 # but we know of no workaround that is simple, portable, and efficient.
17131 # So, we kill variables containing newlines.
17132 # Ultrix sh set writes to stderr and can't be redirected directly,
17133 # and sets the high bit in the cache file unless we assign to the vars.
17135 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17136 eval ac_val
=\$
$ac_var
17140 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17141 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17144 _ | IFS | as_nl
) ;; #(
17145 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17146 *) { eval $ac_var=; unset $ac_var;} ;;
17152 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17153 *${as_nl}ac_space
=\
*)
17154 # `set' does not quote correctly, so add quotes: double-quote
17155 # substitution turns \\\\ into \\, and sed turns \\ into \.
17158 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17161 # `set' quotes correctly as required by POSIX, so do not add quotes.
17162 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17171 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17173 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17175 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17176 if test -w "$cache_file"; then
17177 if test "x$cache_file" != "x/dev/null"; then
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17179 $as_echo "$as_me: updating cache $cache_file" >&6;}
17180 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17181 cat confcache
>"$cache_file"
17183 case $cache_file in #(
17185 mv -f confcache
"$cache_file"$$
&&
17186 mv -f "$cache_file"$$
"$cache_file" ;; #(
17188 mv -f confcache
"$cache_file" ;;
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17194 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17199 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17200 # Let make expand exec_prefix.
17201 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17203 DEFS
=-DHAVE_CONFIG_H
17208 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17209 # 1. Remove the extension, and $U if already installed.
17210 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17211 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17212 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17213 # will be set to the directory where LIBOBJS objects are built.
17214 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17215 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17217 LIBOBJS
=$ac_libobjs
17219 LTLIBOBJS
=$ac_ltlibobjs
17222 if test -n "$EXEEXT"; then
17224 am__EXEEXT_FALSE
='#'
17226 am__EXEEXT_TRUE
='#'
17230 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17231 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17234 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17235 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
17236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17238 if test -z "${WINSOCK_SOCKETS_TRUE}" && test -z "${WINSOCK_SOCKETS_FALSE}"; then
17239 as_fn_error $?
"conditional \"WINSOCK_SOCKETS\" was never defined.
17240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17242 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17243 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17246 if test -z "${MULTI_THREADED_TRUE}" && test -z "${MULTI_THREADED_FALSE}"; then
17247 as_fn_error $?
"conditional \"MULTI_THREADED\" was never defined.
17248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17251 : "${CONFIG_STATUS=./config.status}"
17253 ac_clean_files_save
=$ac_clean_files
17254 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17256 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17258 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17260 # Generated by $as_me.
17261 # Run this file to recreate the current configuration.
17262 # Compiler output produced by configure, useful for debugging
17263 # configure, is in config.log if it exists.
17266 ac_cs_recheck=false
17269 SHELL=\${CONFIG_SHELL-$SHELL}
17272 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17273 ## -------------------- ##
17274 ## M4sh Initialization. ##
17275 ## -------------------- ##
17277 # Be more Bourne compatible
17278 DUALCASE
=1; export DUALCASE
# for MKS sh
17279 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17282 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17283 # is contrary to our usage. Disable this feature.
17284 alias -g '${1+"$@"}'='"$@"'
17285 setopt NO_GLOB_SUBST
17287 case `(set -o) 2>/dev/null` in #(
17299 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17300 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17301 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17302 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17303 # Prefer a ksh shell builtin over an external printf program on Solaris,
17304 # but without wasting forks for bash or zsh.
17305 if test -z "$BASH_VERSION$ZSH_VERSION" \
17306 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17307 as_echo='print
-r --'
17308 as_echo_n='print
-rn --'
17309 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17310 as_echo='printf %s
\n'
17311 as_echo_n='printf %s
'
17313 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17314 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17315 as_echo_n='/usr
/ucb
/echo -n'
17317 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17318 as_echo_n_body='eval
17322 expr "X$arg" : "X\\(.*\\)$as_nl";
17323 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17325 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17327 export as_echo_n_body
17328 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17330 export as_echo_body
17331 as_echo='sh
-c $as_echo_body as_echo
'
17334 # The user is always right.
17335 if test "${PATH_SEPARATOR+set}" != set; then
17337 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17338 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17345 # We need space, tab and new line, in precisely that order. Quoting is
17346 # there to prevent editors from complaining about space-tab.
17347 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17348 # splitting by setting IFS to empty value.)
17351 # Find who we are. Look in the path if we contain no directory separator.
17354 *[\\/]* ) as_myself=$0 ;;
17355 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17356 for as_dir in $PATH
17359 test -z "$as_dir" && as_dir=.
17360 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17366 # We did not find ourselves, most probably we were run as `sh COMMAND'
17367 # in which case we are not to be found in the path.
17368 if test "x$as_myself" = x
; then
17371 if test ! -f "$as_myself"; then
17372 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17376 # Unset variables that we do not need and which cause bugs (e.g. in
17377 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17378 # suppresses any "Segmentation fault" message there. '((' could
17379 # trigger a bug in pdksh 5.2.14.
17380 for as_var
in BASH_ENV ENV MAIL MAILPATH
17381 do eval test x\
${$as_var+set} = xset \
17382 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17395 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17398 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17399 # ----------------------------------------
17400 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17401 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17402 # script with STATUS, using 1 if that was 0.
17405 as_status
=$1; test $as_status -eq 0 && as_status
=1
17407 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17408 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17410 $as_echo "$as_me: error: $2" >&2
17411 as_fn_exit
$as_status
17415 # as_fn_set_status STATUS
17416 # -----------------------
17417 # Set $? to STATUS, without forking.
17418 as_fn_set_status
()
17421 } # as_fn_set_status
17423 # as_fn_exit STATUS
17424 # -----------------
17425 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17429 as_fn_set_status
$1
17435 # Portably unset VAR.
17438 { eval $1=; unset $1;}
17440 as_unset
=as_fn_unset
17441 # as_fn_append VAR VALUE
17442 # ----------------------
17443 # Append the text in VALUE to the end of the definition contained in VAR. Take
17444 # advantage of any shell optimizations that allow amortized linear growth over
17445 # repeated appends, instead of the typical quadratic growth present in naive
17447 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17448 eval 'as_fn_append ()
17459 # as_fn_arith ARG...
17460 # ------------------
17461 # Perform arithmetic evaluation on the ARGs, and store the result in the
17462 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17463 # must be portable across $(()) and expr.
17464 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17465 eval 'as_fn_arith ()
17472 as_val
=`expr "$@" || test $? -eq 1`
17477 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17478 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17484 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17485 as_basename
=basename
17490 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17496 as_me
=`$as_basename -- "$0" ||
17497 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17498 X"$0" : 'X\(//\)$' \| \
17499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17501 sed '/^.*\/\([^/][^/]*\)\/*$/{
17515 # Avoid depending upon Character Ranges.
17516 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17517 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17518 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17519 as_cr_digits
='0123456789'
17520 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17522 ECHO_C
= ECHO_N
= ECHO_T
=
17523 case `echo -n x` in #(((((
17525 case `echo 'xy\c'` in
17526 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17528 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17535 rm -f conf$$ conf$$.exe conf$$.
file
17536 if test -d conf$$.dir
; then
17537 rm -f conf$$.dir
/conf$$.
file
17540 mkdir conf$$.dir
2>/dev
/null
17542 if (echo >conf$$.
file) 2>/dev
/null
; then
17543 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17545 # ... but there are two gotchas:
17546 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17547 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17548 # In both cases, we have to default to `cp -p'.
17549 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17551 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17559 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17560 rmdir conf$$.dir
2>/dev
/null
17565 # Create "$as_dir" as a directory, including parents if necessary.
17570 -*) as_dir
=.
/$as_dir;;
17572 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17576 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17577 *) as_qdir
=$as_dir;;
17579 as_dirs
="'$as_qdir' $as_dirs"
17580 as_dir
=`$as_dirname -- "$as_dir" ||
17581 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17582 X"$as_dir" : 'X\(//\)[^/]' \| \
17583 X"$as_dir" : 'X\(//\)$' \| \
17584 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17585 $as_echo X"$as_dir" |
17586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17590 /^X\(\/\/\)[^/].*/{
17603 test -d "$as_dir" && break
17605 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17606 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17610 if mkdir
-p .
2>/dev
/null
; then
17611 as_mkdir_p
='mkdir -p "$as_dir"'
17613 test -d .
/-p && rmdir .
/-p
17617 if test -x / >/dev
/null
2>&1; then
17618 as_test_x
='test -x'
17620 if ls -dL / >/dev
/null
2>&1; then
17627 if test -d "$1"; then
17633 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17634 ???[sx]*):;;*)false;;esac;fi
17638 as_executable_p
=$as_test_x
17640 # Sed expression to map a string onto a valid CPP name.
17641 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17643 # Sed expression to map a string onto a valid variable name.
17644 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17648 ## ----------------------------------- ##
17649 ## Main body of $CONFIG_STATUS script. ##
17650 ## ----------------------------------- ##
17652 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17655 # Save the log message, to keep $0 and so on meaningful, and to
17656 # report actual input values of CONFIG_FILES etc. instead of their
17657 # values after options handling.
17659 This file was extended by log4cplus $as_me 1.0.4, which was
17660 generated by GNU Autoconf 2.68. Invocation command line was
17662 CONFIG_FILES = $CONFIG_FILES
17663 CONFIG_HEADERS = $CONFIG_HEADERS
17664 CONFIG_LINKS = $CONFIG_LINKS
17665 CONFIG_COMMANDS = $CONFIG_COMMANDS
17668 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17673 case $ac_config_files in *"
17674 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17677 case $ac_config_headers in *"
17678 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17683 # Files that config.status was made for.
17684 config_files="$ac_config_files"
17685 config_headers="$ac_config_headers"
17686 config_commands="$ac_config_commands"
17690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17692 \`$as_me' instantiates files and other configuration actions
17693 from templates according to the current configuration. Unless the files
17694 and actions are specified as TAGs, all are instantiated by default.
17696 Usage: $0 [OPTION]... [TAG]...
17698 -h, --help print this help, then exit
17699 -V, --version print version number and configuration settings, then exit
17700 --config print configuration, then exit
17701 -q, --quiet, --silent
17702 do not print progress messages
17703 -d, --debug don't remove temporary files
17704 --recheck update $as_me by reconfiguring in the same conditions
17705 --file=FILE[:TEMPLATE]
17706 instantiate the configuration file FILE
17707 --header=FILE[:TEMPLATE]
17708 instantiate the configuration header FILE
17710 Configuration files:
17713 Configuration headers:
17716 Configuration commands:
17719 Report bugs to the package provider."
17722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17723 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17725 log4cplus config.status 1.0.4
17726 configured by $0, generated by GNU Autoconf 2.68,
17727 with options \\"\$ac_cs_config\\"
17729 Copyright (C) 2010 Free Software Foundation, Inc.
17730 This config.status script is free software; the Free Software Foundation
17731 gives unlimited permission to copy, distribute and modify it."
17738 test -n "\$AWK" || AWK=awk
17741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17742 # The default lists apply if the user does not specify any file.
17748 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17749 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17753 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17765 # Handling of the options.
17766 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17768 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17769 $as_echo "$ac_cs_version"; exit ;;
17770 --config |
--confi |
--conf |
--con |
--co |
--c )
17771 $as_echo "$ac_cs_config"; exit ;;
17772 --debug |
--debu |
--deb |
--de |
--d |
-d )
17774 --file |
--fil |
--fi |
--f )
17777 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17778 '') as_fn_error $?
"missing file argument" ;;
17780 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17781 ac_need_defaults
=false
;;
17782 --header |
--heade |
--head |
--hea )
17785 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17787 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17788 ac_need_defaults
=false
;;
17790 # Conflict between --help and --header
17791 as_fn_error $?
"ambiguous option: \`$1'
17792 Try \`$0 --help' for more information.";;
17793 --help |
--hel |
-h )
17794 $as_echo "$ac_cs_usage"; exit ;;
17795 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17796 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17799 # This is an error.
17800 -*) as_fn_error $?
"unrecognized option: \`$1'
17801 Try \`$0 --help' for more information." ;;
17803 *) as_fn_append ac_config_targets
" $1"
17804 ac_need_defaults
=false
;;
17810 ac_configure_extra_args
=
17812 if $ac_cs_silent; then
17814 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17819 if \$ac_cs_recheck; then
17820 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17822 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17823 CONFIG_SHELL='$SHELL'
17824 export CONFIG_SHELL
17829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17833 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17834 ## Running $as_me. ##
17840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17844 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17847 # The HP-UX ksh and POSIX shell print the target directory to stdout
17848 # if CDPATH is set.
17849 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17851 sed_quote_subst='$sed_quote_subst'
17852 double_quote_subst='$double_quote_subst'
17853 delay_variable_subst='$delay_variable_subst'
17854 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17855 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17856 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17857 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17858 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17859 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17860 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17861 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17862 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17863 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17864 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17865 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17866 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17867 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17868 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17869 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17870 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17871 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17872 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17873 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17874 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17875 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17876 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17877 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17878 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17879 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17880 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17881 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17882 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17883 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17884 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17885 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17886 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17887 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17888 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17889 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17890 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17891 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17892 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17893 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17894 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17895 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17896 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17897 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17898 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17899 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17900 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17901 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17902 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17903 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17904 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"`'
17905 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17906 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17907 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17908 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17909 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17910 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17911 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17912 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17913 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17914 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17915 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17916 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17917 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17918 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17919 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17920 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17921 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17922 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17923 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17924 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17925 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17926 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17927 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17928 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17929 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17930 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17931 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17932 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17933 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17934 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17935 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17936 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17937 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17938 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17939 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17940 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17941 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17942 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17943 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17944 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17945 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17946 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17947 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17948 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17949 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17950 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17951 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17952 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17953 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17954 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17955 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17956 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17957 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17958 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17959 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17960 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17961 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17962 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17963 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17964 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17965 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17966 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17967 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17968 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17969 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17970 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17971 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17972 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17973 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17974 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17975 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17976 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17977 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17978 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17979 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17980 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17981 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17982 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17983 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17984 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17985 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17986 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17987 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17988 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17989 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17990 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17991 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17992 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17993 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17994 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17995 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17996 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17997 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17998 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17999 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18000 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18001 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18002 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18003 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18004 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18005 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18006 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18007 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18008 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18009 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18010 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18011 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18012 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18013 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18014 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18015 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18016 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18017 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18018 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18019 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18020 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18021 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18022 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18023 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18024 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18025 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18026 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18027 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18028 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18029 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18030 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18033 LTCFLAGS='$LTCFLAGS'
18034 compiler='$compiler_DEFAULT'
18036 # A function that is used when there is no print builtin or printf.
18037 func_fallback_echo ()
18039 eval 'cat <<_LTECHO_EOF
18044 # Quote evaled strings.
18060 deplibs_check_method \
18069 lt_cv_sys_global_symbol_pipe \
18070 lt_cv_sys_global_symbol_to_cdecl \
18071 lt_cv_sys_global_symbol_to_c_name_address \
18072 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18073 lt_prog_compiler_no_builtin_flag \
18074 lt_prog_compiler_wl \
18075 lt_prog_compiler_pic \
18076 lt_prog_compiler_static \
18077 lt_cv_prog_compiler_c_o \
18085 export_dynamic_flag_spec \
18086 whole_archive_flag_spec \
18087 compiler_needs_object \
18089 allow_undefined_flag \
18090 no_undefined_flag \
18091 hardcode_libdir_flag_spec \
18092 hardcode_libdir_flag_spec_ld \
18093 hardcode_libdir_separator \
18098 variables_saved_for_relink \
18100 library_names_spec \
18102 install_override_mode \
18106 compiler_lib_search_dirs \
18111 compiler_lib_search_path \
18115 lt_prog_compiler_no_builtin_flag_CXX \
18116 lt_prog_compiler_wl_CXX \
18117 lt_prog_compiler_pic_CXX \
18118 lt_prog_compiler_static_CXX \
18119 lt_cv_prog_compiler_c_o_CXX \
18120 export_dynamic_flag_spec_CXX \
18121 whole_archive_flag_spec_CXX \
18122 compiler_needs_object_CXX \
18124 allow_undefined_flag_CXX \
18125 no_undefined_flag_CXX \
18126 hardcode_libdir_flag_spec_CXX \
18127 hardcode_libdir_flag_spec_ld_CXX \
18128 hardcode_libdir_separator_CXX \
18129 fix_srcfile_path_CXX \
18130 exclude_expsyms_CXX \
18131 include_expsyms_CXX \
18132 file_list_spec_CXX \
18133 compiler_lib_search_dirs_CXX \
18134 predep_objects_CXX \
18135 postdep_objects_CXX \
18138 compiler_lib_search_path_CXX; do
18139 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18140 *[\\\\\\\`\\"\\\$]*)
18141 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18144 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18149 # Double-quote double-evaled strings.
18150 for var in reload_cmds \
18151 old_postinstall_cmds \
18152 old_postuninstall_cmds \
18154 extract_expsyms_cmds \
18155 old_archive_from_new_cmds \
18156 old_archive_from_expsyms_cmds \
18158 archive_expsym_cmds \
18160 module_expsym_cmds \
18161 export_symbols_cmds \
18164 postuninstall_cmds \
18166 sys_lib_search_path_spec \
18167 sys_lib_dlsearch_path_spec \
18169 old_archive_cmds_CXX \
18170 old_archive_from_new_cmds_CXX \
18171 old_archive_from_expsyms_cmds_CXX \
18173 archive_expsym_cmds_CXX \
18175 module_expsym_cmds_CXX \
18176 export_symbols_cmds_CXX \
18177 prelink_cmds_CXX; do
18178 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18179 *[\\\\\\\`\\"\\\$]*)
18180 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18183 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18188 ac_aux_dir='$ac_aux_dir'
18189 xsi_shell='$xsi_shell'
18190 lt_shell_append='$lt_shell_append'
18192 # See if we are running on zsh, and set the options which allow our
18193 # commands through without removal of \ escapes INIT.
18194 if test -n "\${ZSH_VERSION+set}" ; then
18195 setopt NO_GLOB_SUBST
18201 TIMESTAMP='$TIMESTAMP'
18212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18214 # Handling of arguments.
18215 for ac_config_target
in $ac_config_targets
18217 case $ac_config_target in
18218 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18219 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18220 "include/log4cplus/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/log4cplus/config.h" ;;
18221 "include/log4cplus/config/defines.hxx") CONFIG_HEADERS
="$CONFIG_HEADERS include/log4cplus/config/defines.hxx" ;;
18222 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18223 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
18224 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
18225 "loggingserver/Makefile") CONFIG_FILES
="$CONFIG_FILES loggingserver/Makefile" ;;
18226 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
18227 "tests/appender_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/appender_test/Makefile" ;;
18228 "tests/configandwatch_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/configandwatch_test/Makefile" ;;
18229 "tests/customloglevel_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/customloglevel_test/Makefile" ;;
18230 "tests/fileappender_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/fileappender_test/Makefile" ;;
18231 "tests/filter_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/filter_test/Makefile" ;;
18232 "tests/hierarchy_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/hierarchy_test/Makefile" ;;
18233 "tests/loglog_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/loglog_test/Makefile" ;;
18234 "tests/ndc_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/ndc_test/Makefile" ;;
18235 "tests/ostream_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/ostream_test/Makefile" ;;
18236 "tests/patternlayout_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/patternlayout_test/Makefile" ;;
18237 "tests/performance_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/performance_test/Makefile" ;;
18238 "tests/priority_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/priority_test/Makefile" ;;
18239 "tests/propertyconfig_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/propertyconfig_test/Makefile" ;;
18240 "tests/socket_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/socket_test/Makefile" ;;
18241 "tests/thread_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/thread_test/Makefile" ;;
18242 "tests/timeformat_test/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/timeformat_test/Makefile" ;;
18244 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18249 # If the user did not use the arguments to specify the items to instantiate,
18250 # then the envvar interface is used. Set only those that are not.
18251 # We use the long form for the default assignment because of an extremely
18252 # bizarre bug on SunOS 4.1.3.
18253 if $ac_need_defaults; then
18254 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18255 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18256 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18259 # Have a temporary directory for convenience. Make it in the build tree
18260 # simply because there is no reason against having it here, and in addition,
18261 # creating and moving files from /tmp can sometimes cause problems.
18262 # Hook for its removal unless debugging.
18263 # Note that there is a small window in which the directory will not be cleaned:
18264 # after its creation but before its name has been assigned to `$tmp'.
18268 trap 'exit_status=$?
18269 : "${ac_tmp:=$tmp}"
18270 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18272 trap 'as_fn_exit 1' 1 2 13 15
18274 # Create a (secure) tmp directory for tmp files.
18277 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18281 tmp
=.
/conf$$
-$RANDOM
18282 (umask 077 && mkdir
"$tmp")
18283 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18286 # Set up the scripts for CONFIG_FILES section.
18287 # No need to generate them if there are no CONFIG_FILES.
18288 # This happens for instance with `./config.status config.h'.
18289 if test -n "$CONFIG_FILES"; then
18292 ac_cr
=`echo X | tr X '\015'`
18293 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18294 # But we know of no other shell where ac_cr would be empty at this
18295 # point, so we can use a bashism as a fallback.
18296 if test "x$ac_cr" = x
; then
18297 eval ac_cr
=\$
\'\\r
\'
18299 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18300 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18303 ac_cs_awk_cr
=$ac_cr
18306 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18311 echo "cat >conf$$subs.awk <<_ACEOF" &&
18312 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18314 } >conf$$subs.sh ||
18315 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18316 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18318 for ac_last_try in false false false false false :; do
18319 . ./conf$$subs.sh ||
18320 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18322 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18323 if test $ac_delim_n = $ac_delim_num; then
18325 elif $ac_last_try; then
18326 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18328 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18331 rm -f conf$$subs.sh
18333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18334 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18338 s/^/S["/; s
/!.
*/"]=/
18348 s/\(.\{148\}\)..*/\1/
18350 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18355 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18362 s/\(.\{148\}\)..*/\1/
18364 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18368 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18373 ' <conf$$subs.awk | sed '
18378 ' >>$CONFIG_STATUS || ac_write_fail=1
18379 rm -f conf$$subs.awk
18380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18382 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18383 for (key in S) S_is_set[key] = 1
18389 nfields = split(line, field, "@
")
18391 len = length(field[1])
18392 for (i = 2; i < nfields; i++) {
18394 keylen = length(key)
18395 if (S_is_set[key]) {
18397 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18398 len += length(value) + length(field[++i])
18409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18410 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18411 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18414 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18415 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18418 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18419 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18420 # trailing colons and then remove the whole line if VPATH becomes empty
18421 # (actually we leave an empty line to preserve line numbers).
18422 if test "x
$srcdir" = x.; then
18423 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18442 fi # test -n "$CONFIG_FILES"
18444 # Set up the scripts for CONFIG_HEADERS section.
18445 # No need to generate them if there are no CONFIG_HEADERS.
18446 # This happens for instance with `./config.status Makefile'.
18447 if test -n "$CONFIG_HEADERS"; then
18448 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18452 # Transform confdefs.h into an awk script `defines.awk', embedded as
18453 # here-document in config.status, that substitutes the proper values into
18454 # config.h.in to produce config.h.
18456 # Create a delimiter string that does not exist in confdefs.h, to ease
18457 # handling of long lines.
18459 for ac_last_try in false false :; do
18460 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18461 if test -z "$ac_tt"; then
18463 elif $ac_last_try; then
18464 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18466 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18470 # For the awk script, D is an array of macro values keyed by name,
18471 # likewise P contains macro parameters if any. Preserve backslash
18472 # newline sequences.
18474 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18476 s/.\{148\}/&'"$ac_delim"'/g
18479 s/^[ ]*#[ ]*define[ ][ ]*/ /
18486 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18488 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18492 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18493 D["\
1"]=" \
3\\\\\\n
"\\/p
18495 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18500 s/.\{148\}/&'"$ac_delim"'/g
18505 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18508 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18510 ' <confdefs.h | sed '
18511 s/'"$ac_delim"'/"\\\
18512 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18515 for (key in D) D_is_set[key] = 1
18518 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18520 split(line, arg, " ")
18521 if (arg[1] == "#") {
18525 defundef
= substr
(arg
[1], 2)
18528 split(mac1
, mac2
, "(") #)
18530 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18531 if (D_is_set
[macro
]) {
18532 # Preserve the white space surrounding the "#".
18533 print prefix
"define", macro P
[macro
] D
[macro
]
18536 # Replace #undef with comments. This is necessary, for example,
18537 # in the case of _POSIX_SOURCE, which is predefined and required
18538 # on some systems where configure will not decide to define it.
18539 if (defundef
== "undef") {
18540 print
"/*", prefix defundef
, macro
, "*/"
18548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18549 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18550 fi # test -n "$CONFIG_HEADERS"
18553 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18558 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18560 case $ac_mode$ac_tag in
18562 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18563 :[FH
]-) ac_tag
=-:-;;
18564 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18581 -) ac_f
="$ac_tmp/stdin";;
18582 *) # Look for the file first in the build tree, then in the source tree
18583 # (if the path is not absolute). The absolute path cannot be DOS-style,
18584 # because $ac_f cannot contain `:'.
18588 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18590 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18592 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18593 as_fn_append ac_file_inputs
" '$ac_f'"
18596 # Let's still pretend it is `configure' which instantiates (i.e., don't
18597 # use $as_me), people would be surprised to read:
18598 # /* config.h. Generated by config.status. */
18599 configure_input
='Generated from '`
18600 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18602 if test x
"$ac_file" != x-
; then
18603 configure_input
="$ac_file. $configure_input"
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18605 $as_echo "$as_me: creating $ac_file" >&6;}
18607 # Neutralize special characters interpreted by sed in replacement strings.
18608 case $configure_input in #(
18609 *\
&* |
*\|
* |
*\\* )
18610 ac_sed_conf_input
=`$as_echo "$configure_input" |
18611 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18612 *) ac_sed_conf_input
=$configure_input;;
18616 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18617 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18622 ac_dir
=`$as_dirname -- "$ac_file" ||
18623 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18624 X"$ac_file" : 'X\(//\)[^/]' \| \
18625 X"$ac_file" : 'X\(//\)$' \| \
18626 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18627 $as_echo X"$ac_file" |
18628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18632 /^X\(\/\/\)[^/].*/{
18645 as_dir
="$ac_dir"; as_fn_mkdir_p
18649 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18651 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18652 # A ".." for each directory in $ac_dir_suffix.
18653 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18654 case $ac_top_builddir_sub in
18655 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18656 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18659 ac_abs_top_builddir
=$ac_pwd
18660 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18661 # for backward compatibility:
18662 ac_top_builddir
=$ac_top_build_prefix
18665 .
) # We are building in place.
18667 ac_top_srcdir
=$ac_top_builddir_sub
18668 ac_abs_top_srcdir
=$ac_pwd ;;
18669 [\\/]* | ?
:[\\/]* ) # Absolute name.
18670 ac_srcdir
=$srcdir$ac_dir_suffix;
18671 ac_top_srcdir
=$srcdir
18672 ac_abs_top_srcdir
=$srcdir ;;
18673 *) # Relative name.
18674 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18675 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18676 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18678 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18688 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18689 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18691 ac_MKDIR_P
=$MKDIR_P
18693 [\\/$
]* | ?
:[\\/]* ) ;;
18694 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18699 # If the template does not know about datarootdir, expand it.
18700 # FIXME: This hack should be removed a few years after 2.60.
18701 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18712 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18713 *datarootdir
*) ac_datarootdir_seen
=yes;;
18714 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18716 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18719 ac_datarootdir_hack='
18720 s&@datadir@&$datadir&g
18721 s&@docdir@&$docdir&g
18722 s&@infodir@&$infodir&g
18723 s&@localedir@&$localedir&g
18724 s&@mandir@&$mandir&g
18725 s&\\\${datarootdir}&$datarootdir&g' ;;
18729 # Neutralize VPATH when `$srcdir' = `.'.
18730 # Shell code in configure.ac might set extrasub.
18731 # FIXME: do we really want to maintain this feature?
18732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18733 ac_sed_extra="$ac_vpsub
18736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18738 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18739 s|@configure_input@|
$ac_sed_conf_input|
;t t
18740 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18741 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18742 s
&@srcdir@
&$ac_srcdir&;t t
18743 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18744 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18745 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18746 s
&@builddir@
&$ac_builddir&;t t
18747 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18748 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18749 s
&@INSTALL@
&$ac_INSTALL&;t t
18750 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18751 $ac_datarootdir_hack
18753 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18754 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18756 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18757 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18758 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18759 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18761 which seems to be undefined. Please make sure it is defined" >&5
18762 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18763 which seems to be undefined. Please make sure it is defined" >&2;}
18765 rm -f "$ac_tmp/stdin"
18767 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18768 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18770 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18776 if test x"$ac_file" != x-; then
18778 $as_echo "/* $configure_input */" \
18779 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18780 } >"$ac_tmp/config.h" \
18781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18782 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18784 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18787 mv "$ac_tmp/config.h" "$ac_file" \
18788 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18791 $as_echo "/* $configure_input */" \
18792 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18793 || as_fn_error $? "could not create -" "$LINENO" 5
18795 # Compute "$ac_file"'s index
in $config_headers.
18798 for _am_header
in $config_headers :; do
18799 case $_am_header in
18800 $_am_arg |
$_am_arg:* )
18803 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18806 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18807 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18808 X"$_am_arg" : 'X\(//\)[^/]' \| \
18809 X"$_am_arg" : 'X\(//\)$' \| \
18810 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18811 $as_echo X"$_am_arg" |
18812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18816 /^X\(\/\/\)[^/].*/{
18828 s/.*/./; q'`/stamp-h
$_am_stamp_count
18831 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18832 $as_echo "$as_me: executing $ac_file commands" >&6;}
18837 case $ac_file$ac_mode in
18838 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18839 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18840 # are listed without --file. Let's play safe and only enable the eval
18841 # if we detect the quoting.
18842 case $CONFIG_FILES in
18843 *\'*) eval set x
"$CONFIG_FILES" ;;
18844 *) set x
$CONFIG_FILES ;;
18849 # Strip MF so we end up with the name of the file.
18850 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18851 # Check whether this is an Automake generated Makefile or not.
18852 # We used to match only the files named `Makefile.in', but
18853 # some people rename them; so instead we look at the file content.
18854 # Grep'ing the first line is not enough: some people post-process
18855 # each Makefile.in and add a new line on top of each file to say so.
18856 # Grep'ing the whole file is not good either: AIX grep has a line
18857 # limit of 2048, but all sed's we know have understand at least 4000.
18858 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18859 dirpart
=`$as_dirname -- "$mf" ||
18860 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18861 X"$mf" : 'X\(//\)[^/]' \| \
18862 X"$mf" : 'X\(//\)$' \| \
18863 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18869 /^X\(\/\/\)[^/].*/{
18885 # Extract the definition of DEPDIR, am__include, and am__quote
18886 # from the Makefile without running `make'.
18887 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18888 test -z "$DEPDIR" && continue
18889 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18890 test -z "am__include" && continue
18891 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18892 # When using ansi2knr, U may be empty or an underscore; expand it
18893 U
=`sed -n 's/^U = //p' < "$mf"`
18894 # Find all dependency output files, they are included files with
18895 # $(DEPDIR) in their names. We invoke sed twice because it is the
18896 # simplest approach to changing $(DEPDIR) to its actual value in the
18898 for file in `sed -n "
18899 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18900 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18901 # Make sure the directory exists.
18902 test -f "$dirpart/$file" && continue
18903 fdir
=`$as_dirname -- "$file" ||
18904 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18905 X"$file" : 'X\(//\)[^/]' \| \
18906 X"$file" : 'X\(//\)$' \| \
18907 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18908 $as_echo X"$file" |
18909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18913 /^X\(\/\/\)[^/].*/{
18926 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18927 # echo "creating $dirpart/$file"
18928 echo '# dummy' > "$dirpart/$file"
18935 # See if we are running on zsh, and set the options which allow our
18936 # commands through without removal of \ escapes.
18937 if test -n "${ZSH_VERSION+set}" ; then
18938 setopt NO_GLOB_SUBST
18941 cfgfile
="${ofile}T"
18942 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18945 cat <<_LT_EOF >> "$cfgfile"
18948 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18949 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18950 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18951 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18953 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18954 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
18956 # Written by Gordon Matzigkeit, 1996
18958 # This file is part of GNU Libtool.
18960 # GNU Libtool is free software; you can redistribute it and/or
18961 # modify it under the terms of the GNU General Public License as
18962 # published by the Free Software Foundation; either version 2 of
18963 # the License, or (at your option) any later version.
18965 # As a special exception to the GNU General Public License,
18966 # if you distribute this file as part of a program or library that
18967 # is built using GNU Libtool, you may include this file under the
18968 # same distribution terms that you use for the rest of that program.
18970 # GNU Libtool is distributed in the hope that it will be useful,
18971 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18972 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18973 # GNU General Public License for more details.
18975 # You should have received a copy of the GNU General Public License
18976 # along with GNU Libtool; see the file COPYING. If not, a copy
18977 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18978 # obtained by writing to the Free Software Foundation, Inc.,
18979 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18982 # The names of the tagged configurations supported by this script.
18983 available_tags="CXX "
18985 # ### BEGIN LIBTOOL CONFIG
18987 # Which release of libtool.m4 was used?
18988 macro_version=$macro_version
18989 macro_revision=$macro_revision
18991 # Assembler program.
18994 # DLL creation program.
18995 DLLTOOL=$lt_DLLTOOL
18997 # Object dumper program.
18998 OBJDUMP=$lt_OBJDUMP
19000 # Whether or not to build shared libraries.
19001 build_libtool_libs=$enable_shared
19003 # Whether or not to build static libraries.
19004 build_old_libs=$enable_static
19006 # What type of objects to build.
19009 # Whether or not to optimize for fast installation.
19010 fast_install=$enable_fast_install
19012 # Shell to use when invoking shell scripts.
19015 # An echo program that protects backslashes.
19019 host_alias=$host_alias
19023 # The build system.
19024 build_alias=$build_alias
19028 # A sed program that does not truncate output.
19031 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19032 Xsed="\$SED -e 1s/^X//"
19034 # A grep program that handles long lines.
19040 # A literal string matcher.
19043 # A BSD- or MS-compatible name lister.
19046 # Whether we need soft or hard links.
19049 # What is the maximum length of a command?
19050 max_cmd_len=$max_cmd_len
19052 # Object file suffix (normally "o").
19055 # Executable file suffix (normally "").
19058 # whether the shell understands "unset".
19061 # turn spaces into newlines.
19064 # turn newlines into spaces.
19067 # Method to check whether dependent libraries are shared objects.
19068 deplibs_check_method=$lt_deplibs_check_method
19070 # Command to use when deplibs_check_method == "file_magic".
19071 file_magic_cmd=$lt_file_magic_cmd
19075 AR_FLAGS=$lt_AR_FLAGS
19077 # A symbol stripping program.
19080 # Commands used to install an old-style archive.
19082 old_postinstall_cmds=$lt_old_postinstall_cmds
19083 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19085 # Whether to use a lock for old archive extraction.
19086 lock_old_archive_extraction=$lock_old_archive_extraction
19091 # LTCC compiler flags.
19092 LTCFLAGS=$lt_CFLAGS
19094 # Take the output of nm and produce a listing of raw symbols and C names.
19095 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19097 # Transform the output of nm in a proper C declaration.
19098 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19100 # Transform the output of nm in a C name address pair.
19101 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19103 # Transform the output of nm in a C name address pair when lib prefix is needed.
19104 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19106 # The name of the directory that contains temporary libtool files.
19109 # Used to examine libraries when file_magic_cmd begins with "file".
19110 MAGIC_CMD=$MAGIC_CMD
19112 # Must we lock files when doing compilation?
19113 need_locks=$lt_need_locks
19115 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19116 DSYMUTIL=$lt_DSYMUTIL
19118 # Tool to change global to local symbols on Mac OS X.
19121 # Tool to manipulate fat objects and archives on Mac OS X.
19124 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19127 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19128 OTOOL64=$lt_OTOOL64
19130 # Old archive suffix (normally "a").
19133 # Shared library suffix (normally ".so").
19134 shrext_cmds=$lt_shrext_cmds
19136 # The commands to extract the exported symbol list from a shared archive.
19137 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19139 # Variables whose values should be saved in libtool wrapper scripts and
19140 # restored at link time.
19141 variables_saved_for_relink=$lt_variables_saved_for_relink
19143 # Do we need the "lib" prefix for modules?
19144 need_lib_prefix=$need_lib_prefix
19146 # Do we need a version for libraries?
19147 need_version=$need_version
19149 # Library versioning type.
19150 version_type=$version_type
19152 # Shared library runtime path variable.
19153 runpath_var=$runpath_var
19155 # Shared library path variable.
19156 shlibpath_var=$shlibpath_var
19158 # Is shlibpath searched before the hard-coded library search path?
19159 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19161 # Format of library name prefix.
19162 libname_spec=$lt_libname_spec
19164 # List of archive names. First name is the real one, the rest are links.
19165 # The last name is the one that the linker finds with -lNAME
19166 library_names_spec=$lt_library_names_spec
19168 # The coded name of the library, if different from the real name.
19169 soname_spec=$lt_soname_spec
19171 # Permission mode override for installation of shared libraries.
19172 install_override_mode=$lt_install_override_mode
19174 # Command to use after installation of a shared archive.
19175 postinstall_cmds=$lt_postinstall_cmds
19177 # Command to use after uninstallation of a shared archive.
19178 postuninstall_cmds=$lt_postuninstall_cmds
19180 # Commands used to finish a libtool library installation in a directory.
19181 finish_cmds=$lt_finish_cmds
19183 # As "finish_cmds", except a single script fragment to be evaled but
19185 finish_eval=$lt_finish_eval
19187 # Whether we should hardcode library paths into libraries.
19188 hardcode_into_libs=$hardcode_into_libs
19190 # Compile-time system search path for libraries.
19191 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19193 # Run-time system search path for libraries.
19194 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19196 # Whether dlopen is supported.
19197 dlopen_support=$enable_dlopen
19199 # Whether dlopen of programs is supported.
19200 dlopen_self=$enable_dlopen_self
19202 # Whether dlopen of statically linked programs is supported.
19203 dlopen_self_static=$enable_dlopen_self_static
19205 # Commands to strip libraries.
19206 old_striplib=$lt_old_striplib
19207 striplib=$lt_striplib
19210 # The linker used to build libraries.
19213 # How to create reloadable object files.
19214 reload_flag=$lt_reload_flag
19215 reload_cmds=$lt_reload_cmds
19217 # Commands used to build an old-style archive.
19218 old_archive_cmds=$lt_old_archive_cmds
19220 # A language specific compiler.
19223 # Is the compiler the GNU compiler?
19226 # Compiler flag to turn off builtin functions.
19227 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19229 # How to pass a linker flag through the compiler.
19230 wl=$lt_lt_prog_compiler_wl
19232 # Additional compiler flags for building library objects.
19233 pic_flag=$lt_lt_prog_compiler_pic
19235 # Compiler flag to prevent dynamic linking.
19236 link_static_flag=$lt_lt_prog_compiler_static
19238 # Does compiler simultaneously support -c and -o options?
19239 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19241 # Whether or not to add -lc for building shared libraries.
19242 build_libtool_need_lc=$archive_cmds_need_lc
19244 # Whether or not to disallow shared libs when runtime libs are static.
19245 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19247 # Compiler flag to allow reflexive dlopens.
19248 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19250 # Compiler flag to generate shared objects directly from archives.
19251 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19253 # Whether the compiler copes with passing no objects directly.
19254 compiler_needs_object=$lt_compiler_needs_object
19256 # Create an old-style archive from a shared archive.
19257 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19259 # Create a temporary old-style archive to link instead of a shared archive.
19260 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19262 # Commands used to build a shared archive.
19263 archive_cmds=$lt_archive_cmds
19264 archive_expsym_cmds=$lt_archive_expsym_cmds
19266 # Commands used to build a loadable module if different from building
19267 # a shared archive.
19268 module_cmds=$lt_module_cmds
19269 module_expsym_cmds=$lt_module_expsym_cmds
19271 # Whether we are building with GNU ld or not.
19272 with_gnu_ld=$lt_with_gnu_ld
19274 # Flag that allows shared libraries with undefined symbols to be built.
19275 allow_undefined_flag=$lt_allow_undefined_flag
19277 # Flag that enforces no undefined symbols.
19278 no_undefined_flag=$lt_no_undefined_flag
19280 # Flag to hardcode \$libdir into a binary during linking.
19281 # This must work even if \$libdir does not exist
19282 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19284 # If ld is used when linking, flag to hardcode \$libdir into a binary
19285 # during linking. This must work even if \$libdir does not exist.
19286 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19288 # Whether we need a single "-rpath" flag with a separated argument.
19289 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19291 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19292 # DIR into the resulting binary.
19293 hardcode_direct=$hardcode_direct
19295 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19296 # DIR into the resulting binary and the resulting library dependency is
19297 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19298 # library is relocated.
19299 hardcode_direct_absolute=$hardcode_direct_absolute
19301 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19302 # into the resulting binary.
19303 hardcode_minus_L=$hardcode_minus_L
19305 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19306 # into the resulting binary.
19307 hardcode_shlibpath_var=$hardcode_shlibpath_var
19309 # Set to "yes" if building a shared library automatically hardcodes DIR
19310 # into the library and all subsequent libraries and executables linked
19312 hardcode_automatic=$hardcode_automatic
19314 # Set to yes if linker adds runtime paths of dependent libraries
19315 # to runtime path list.
19316 inherit_rpath=$inherit_rpath
19318 # Whether libtool must link a program against all its dependency libraries.
19319 link_all_deplibs=$link_all_deplibs
19321 # Fix the shell variable \$srcfile for the compiler.
19322 fix_srcfile_path=$lt_fix_srcfile_path
19324 # Set to "yes" if exported symbols are required.
19325 always_export_symbols=$always_export_symbols
19327 # The commands to list exported symbols.
19328 export_symbols_cmds=$lt_export_symbols_cmds
19330 # Symbols that should not be listed in the preloaded symbols.
19331 exclude_expsyms=$lt_exclude_expsyms
19333 # Symbols that must always be exported.
19334 include_expsyms=$lt_include_expsyms
19336 # Commands necessary for linking programs (against libraries) with templates.
19337 prelink_cmds=$lt_prelink_cmds
19339 # Specify filename containing input files.
19340 file_list_spec=$lt_file_list_spec
19342 # How to hardcode a shared library path into an executable.
19343 hardcode_action=$hardcode_action
19345 # The directories searched by this compiler when creating a shared library.
19346 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19348 # Dependencies to place before and after the objects being linked to
19349 # create a shared library.
19350 predep_objects=$lt_predep_objects
19351 postdep_objects=$lt_postdep_objects
19352 predeps=$lt_predeps
19353 postdeps=$lt_postdeps
19355 # The library search path used internally by the compiler when linking
19356 # a shared library.
19357 compiler_lib_search_path=$lt_compiler_lib_search_path
19359 # ### END LIBTOOL CONFIG
19365 cat <<\_LT_EOF
>> "$cfgfile"
19366 # AIX sometimes has problems with the GCC collect2 program. For some
19367 # reason, if we set the COLLECT_NAMES environment variable, the problems
19368 # vanish in a puff of smoke.
19369 if test "X${COLLECT_NAMES+set}" != Xset
; then
19371 export COLLECT_NAMES
19378 ltmain
="$ac_aux_dir/ltmain.sh"
19381 # We use sed instead of cat because bash on DJGPP gets confused if
19382 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19383 # text mode, it properly converts lines to CR/LF. This bash problem
19384 # is reportedly fixed, but why not run on old versions too?
19385 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19386 ||
(rm -f "$cfgfile"; exit 1)
19390 cat << \_LT_EOF
>> "$cfgfile"
19392 # func_dirname file append nondir_replacement
19393 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19394 # otherwise set result to NONDIR_REPLACEMENT.
19398 */*) func_dirname_result
="${1%/*}${2}" ;;
19399 * ) func_dirname_result
="${3}" ;;
19403 # func_basename file
19406 func_basename_result
="${1##*/}"
19409 # func_dirname_and_basename file append nondir_replacement
19410 # perform func_basename and func_dirname in a single function
19412 # dirname: Compute the dirname of FILE. If nonempty,
19413 # add APPEND to the result, otherwise set result
19414 # to NONDIR_REPLACEMENT.
19415 # value returned in "$func_dirname_result"
19416 # basename: Compute filename of FILE.
19417 # value retuned in "$func_basename_result"
19418 # Implementation must be kept synchronized with func_dirname
19419 # and func_basename. For efficiency, we do not delegate to
19420 # those functions but instead duplicate the functionality here.
19421 func_dirname_and_basename
()
19424 */*) func_dirname_result
="${1%/*}${2}" ;;
19425 * ) func_dirname_result
="${3}" ;;
19427 func_basename_result
="${1##*/}"
19430 # func_stripname prefix suffix name
19431 # strip PREFIX and SUFFIX off of NAME.
19432 # PREFIX and SUFFIX must not contain globbing or regex special
19433 # characters, hashes, percent signs, but SUFFIX may contain a leading
19434 # dot (in which case that matches only a dot).
19437 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19438 # positional parameters, so assign one to ordinary parameter first.
19439 func_stripname_result
=${3}
19440 func_stripname_result
=${func_stripname_result#"${1}"}
19441 func_stripname_result
=${func_stripname_result%"${2}"}
19447 func_opt_split_opt
=${1%%=*}
19448 func_opt_split_arg
=${1#*=}
19455 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19456 *) func_lo2o_result
=${1} ;;
19460 # func_xform libobj-or-source
19463 func_xform_result
=${1%.*}.lo
19466 # func_arith arithmetic-term...
19469 func_arith_result
=$
(( $
* ))
19473 # STRING may not start with a hyphen.
19476 func_len_result
=${#1}
19481 *) # Bourne compatible functions.
19482 cat << \_LT_EOF
>> "$cfgfile"
19484 # func_dirname file append nondir_replacement
19485 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19486 # otherwise set result to NONDIR_REPLACEMENT.
19489 # Extract subdirectory from the argument.
19490 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19491 if test "X$func_dirname_result" = "X${1}"; then
19492 func_dirname_result
="${3}"
19494 func_dirname_result
="$func_dirname_result${2}"
19498 # func_basename file
19501 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19505 # func_stripname prefix suffix name
19506 # strip PREFIX and SUFFIX off of NAME.
19507 # PREFIX and SUFFIX must not contain globbing or regex special
19508 # characters, hashes, percent signs, but SUFFIX may contain a leading
19509 # dot (in which case that matches only a dot).
19510 # func_strip_suffix prefix name
19514 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19515 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19520 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19521 my_sed_long_arg
='1s/^-[^=]*=//'
19526 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19527 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19533 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19536 # func_xform libobj-or-source
19539 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19542 # func_arith arithmetic-term...
19545 func_arith_result
=`expr "$@"`
19549 # STRING may not start with a hyphen.
19552 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19558 case $lt_shell_append in
19560 cat << \_LT_EOF
>> "$cfgfile"
19562 # func_append var value
19563 # Append VALUE to the end of shell variable VAR.
19571 cat << \_LT_EOF
>> "$cfgfile"
19573 # func_append var value
19574 # Append VALUE to the end of shell variable VAR.
19585 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19586 ||
(rm -f "$cfgfile"; exit 1)
19588 mv -f "$cfgfile" "$ofile" ||
19589 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19593 cat <<_LT_EOF >> "$ofile"
19595 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19597 # The linker used to build libraries.
19600 # How to create reloadable object files.
19601 reload_flag=$lt_reload_flag_CXX
19602 reload_cmds=$lt_reload_cmds_CXX
19604 # Commands used to build an old-style archive.
19605 old_archive_cmds=$lt_old_archive_cmds_CXX
19607 # A language specific compiler.
19608 CC=$lt_compiler_CXX
19610 # Is the compiler the GNU compiler?
19613 # Compiler flag to turn off builtin functions.
19614 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19616 # How to pass a linker flag through the compiler.
19617 wl=$lt_lt_prog_compiler_wl_CXX
19619 # Additional compiler flags for building library objects.
19620 pic_flag=$lt_lt_prog_compiler_pic_CXX
19622 # Compiler flag to prevent dynamic linking.
19623 link_static_flag=$lt_lt_prog_compiler_static_CXX
19625 # Does compiler simultaneously support -c and -o options?
19626 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19628 # Whether or not to add -lc for building shared libraries.
19629 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19631 # Whether or not to disallow shared libs when runtime libs are static.
19632 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19634 # Compiler flag to allow reflexive dlopens.
19635 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19637 # Compiler flag to generate shared objects directly from archives.
19638 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19640 # Whether the compiler copes with passing no objects directly.
19641 compiler_needs_object=$lt_compiler_needs_object_CXX
19643 # Create an old-style archive from a shared archive.
19644 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19646 # Create a temporary old-style archive to link instead of a shared archive.
19647 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19649 # Commands used to build a shared archive.
19650 archive_cmds=$lt_archive_cmds_CXX
19651 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19653 # Commands used to build a loadable module if different from building
19654 # a shared archive.
19655 module_cmds=$lt_module_cmds_CXX
19656 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19658 # Whether we are building with GNU ld or not.
19659 with_gnu_ld=$lt_with_gnu_ld_CXX
19661 # Flag that allows shared libraries with undefined symbols to be built.
19662 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19664 # Flag that enforces no undefined symbols.
19665 no_undefined_flag=$lt_no_undefined_flag_CXX
19667 # Flag to hardcode \$libdir into a binary during linking.
19668 # This must work even if \$libdir does not exist
19669 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19671 # If ld is used when linking, flag to hardcode \$libdir into a binary
19672 # during linking. This must work even if \$libdir does not exist.
19673 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19675 # Whether we need a single "-rpath" flag with a separated argument.
19676 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19678 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19679 # DIR into the resulting binary.
19680 hardcode_direct=$hardcode_direct_CXX
19682 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19683 # DIR into the resulting binary and the resulting library dependency is
19684 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19685 # library is relocated.
19686 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19688 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19689 # into the resulting binary.
19690 hardcode_minus_L=$hardcode_minus_L_CXX
19692 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19693 # into the resulting binary.
19694 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19696 # Set to "yes" if building a shared library automatically hardcodes DIR
19697 # into the library and all subsequent libraries and executables linked
19699 hardcode_automatic=$hardcode_automatic_CXX
19701 # Set to yes if linker adds runtime paths of dependent libraries
19702 # to runtime path list.
19703 inherit_rpath=$inherit_rpath_CXX
19705 # Whether libtool must link a program against all its dependency libraries.
19706 link_all_deplibs=$link_all_deplibs_CXX
19708 # Fix the shell variable \$srcfile for the compiler.
19709 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19711 # Set to "yes" if exported symbols are required.
19712 always_export_symbols=$always_export_symbols_CXX
19714 # The commands to list exported symbols.
19715 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19717 # Symbols that should not be listed in the preloaded symbols.
19718 exclude_expsyms=$lt_exclude_expsyms_CXX
19720 # Symbols that must always be exported.
19721 include_expsyms=$lt_include_expsyms_CXX
19723 # Commands necessary for linking programs (against libraries) with templates.
19724 prelink_cmds=$lt_prelink_cmds_CXX
19726 # Specify filename containing input files.
19727 file_list_spec=$lt_file_list_spec_CXX
19729 # How to hardcode a shared library path into an executable.
19730 hardcode_action=$hardcode_action_CXX
19732 # The directories searched by this compiler when creating a shared library.
19733 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19735 # Dependencies to place before and after the objects being linked to
19736 # create a shared library.
19737 predep_objects=$lt_predep_objects_CXX
19738 postdep_objects=$lt_postdep_objects_CXX
19739 predeps=$lt_predeps_CXX
19740 postdeps=$lt_postdeps_CXX
19742 # The library search path used internally by the compiler when linking
19743 # a shared library.
19744 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19746 # ### END LIBTOOL TAG CONFIG: CXX
19757 ac_clean_files
=$ac_clean_files_save
19759 test $ac_write_fail = 0 ||
19760 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19763 # configure is writing to config.log, and then calls config.status.
19764 # config.status does its own redirection, appending to config.log.
19765 # Unfortunately, on DOS this fails, as config.log is still kept open
19766 # by configure, so config.status won't be able to write to it; its
19767 # output is simply discarded. So we exec the FD to /dev/null,
19768 # effectively closing config.log, so it can be properly (re)opened and
19769 # appended to by config.status. When coming back to configure, we
19770 # need to make the FD available again.
19771 if test "$no_create" != yes; then
19773 ac_config_status_args
=
19774 test "$silent" = yes &&
19775 ac_config_status_args
="$ac_config_status_args --quiet"
19777 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19779 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19780 # would make configure fail if this is the last instruction.
19781 $ac_cs_success || as_fn_exit
1
19783 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19785 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}