2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for PCRE 8.32.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1
177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 PATH=/empty FPATH=/empty; export PATH FPATH
182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
184 if (eval "$as_required") 2>/dev
/null
; then :
189 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
194 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir
=.
201 for as_base
in sh bash ksh sh5
; do
202 # Try only shells that exist, to save several forks.
203 as_shell
=$as_dir/$as_base
204 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$as_shell as_have_required
=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
215 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
217 CONFIG_SHELL
=$SHELL as_have_required
=yes
222 if test "x$CONFIG_SHELL" != x
; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
232 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x
$as_have_required = xno
; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x
${ZSH_VERSION+set} = xset
; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL
=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE
= GREP_OPTIONS
=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir
=.
/$as_dir;;
301 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
305 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs
="'$as_qdir' $as_dirs"
309 as_dir
=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
335 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
370 as_val
=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status
=$1; test $as_status -eq 0 && as_status
=1
384 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit
$as_status
391 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
398 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
410 as_me
=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits
='0123456789'
434 as_cr_alnum
=$as_cr_Letters$as_cr_digits
437 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
438 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x
"$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C
= ECHO_N
= ECHO_T
=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
481 rm -f conf$$ conf$$.exe conf$$.
file
482 if test -d conf$$.dir
; then
483 rm -f conf$$.dir
/conf$$.
file
486 mkdir conf$$.dir
2>/dev
/null
488 if (echo >conf$$.
file) 2>/dev
/null
; then
489 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
497 elif ln conf$$.
file conf$$
2>/dev
/null
; then
505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
506 rmdir conf$$.dir
2>/dev
/null
508 if mkdir
-p .
2>/dev
/null
; then
509 as_mkdir_p
='mkdir -p "$as_dir"'
511 test -d .
/-p && rmdir .
/-p
515 if test -x / >/dev
/null
2>&1; then
518 if ls -dL / >/dev
/null
2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p
=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL
=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix
=/usr
/local
560 ac_config_libobj_dir
=.
567 # Identity of this package.
569 PACKAGE_TARNAME
='pcre'
570 PACKAGE_VERSION
='8.32'
571 PACKAGE_STRING
='PCRE 8.32'
575 ac_unique_file
="pcre.h.in"
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
631 DISTCHECK_CONFIGURE_FLAGS
632 EXTRA_LIBPCRECPP_LDFLAGS
633 EXTRA_LIBPCREPOSIX_LDFLAGS
634 EXTRA_LIBPCRE32_LDFLAGS
635 EXTRA_LIBPCRE16_LDFLAGS
636 EXTRA_LIBPCRE_LDFLAGS
649 WITH_REBUILD_CHARTABLES_FALSE
650 WITH_REBUILD_CHARTABLES_TRUE
659 pcre_have_bits_type_traits
660 pcre_have_type_traits
741 INSTALL_STRIP_PROGRAM
783 program_transform_name
796 enable_option_checking
798 enable_dependency_tracking
812 enable_rebuild_chartables
815 enable_unicode_properties
818 enable_newline_is_crlf
819 enable_newline_is_anycrlf
820 enable_newline_is_any
824 enable_stack_for_recursion
826 enable_pcregrep_libbz2
827 with_pcregrep_bufsize
828 enable_pcretest_libedit
829 enable_pcretest_libreadline
830 with_posix_malloc_threshold
833 with_match_limit_recursion
837 ac_precious_vars
='build_alias
859 # Initialize some variables set by options.
861 ac_init_version
=false
862 ac_unrecognized_opts
=
864 # The variables have the same names as the options, with
865 # dashes changed to underlines.
873 program_transform_name
=s
,x
,x
,
881 # Installation directory options.
882 # These are left unexpanded so users can "make install exec_prefix=/foo"
883 # and all the variables that are supposed to be based on exec_prefix
884 # by default will actually change.
885 # Use braces instead of parens because sh, perl, etc. also accept them.
886 # (The list follows the same order as the GNU Coding Standards.)
887 bindir
='${exec_prefix}/bin'
888 sbindir
='${exec_prefix}/sbin'
889 libexecdir
='${exec_prefix}/libexec'
890 datarootdir
='${prefix}/share'
891 datadir
='${datarootdir}'
892 sysconfdir
='${prefix}/etc'
893 sharedstatedir
='${prefix}/com'
894 localstatedir
='${prefix}/var'
895 includedir
='${prefix}/include'
896 oldincludedir
='/usr/include'
897 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
898 infodir
='${datarootdir}/info'
903 libdir
='${exec_prefix}/lib'
904 localedir
='${datarootdir}/locale'
905 mandir
='${datarootdir}/man'
911 # If the previous option needs an argument, assign it.
912 if test -n "$ac_prev"; then
913 eval $ac_prev=\
$ac_option
919 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
924 # Accept the important Cygnus configure options, so we can diagnose typos.
926 case $ac_dashdash$ac_option in
930 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
932 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
935 -build |
--build |
--buil |
--bui |
--bu)
936 ac_prev
=build_alias
;;
937 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
938 build_alias
=$ac_optarg ;;
940 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
941 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
942 ac_prev
=cache_file
;;
943 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
944 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
945 cache_file
=$ac_optarg ;;
948 cache_file
=config.cache
;;
950 -datadir |
--datadir |
--datadi |
--datad)
952 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
953 datadir
=$ac_optarg ;;
955 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
956 |
--dataroo |
--dataro |
--datar)
957 ac_prev
=datarootdir
;;
958 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
959 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
960 datarootdir
=$ac_optarg ;;
962 -disable-* |
--disable-*)
963 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
966 as_fn_error $?
"invalid feature name: $ac_useropt"
967 ac_useropt_orig
=$ac_useropt
968 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
974 ac_unrecognized_sep
=', ';;
976 eval enable_
$ac_useropt=no
;;
978 -docdir |
--docdir |
--docdi |
--doc |
--do)
980 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
983 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
985 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
988 -enable-* |
--enable-*)
989 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
992 as_fn_error $?
"invalid feature name: $ac_useropt"
993 ac_useropt_orig
=$ac_useropt
994 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1000 ac_unrecognized_sep
=', ';;
1002 eval enable_
$ac_useropt=\
$ac_optarg ;;
1004 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1005 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1006 |
--exec |
--exe |
--ex)
1007 ac_prev
=exec_prefix
;;
1008 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1009 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1010 |
--exec=* |
--exe=* |
--ex=*)
1011 exec_prefix
=$ac_optarg ;;
1013 -gas |
--gas |
--ga |
--g)
1014 # Obsolete; use --with-gas.
1017 -help |
--help |
--hel |
--he |
-h)
1018 ac_init_help
=long
;;
1019 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1020 ac_init_help
=recursive
;;
1021 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1022 ac_init_help
=short
;;
1024 -host |
--host |
--hos |
--ho)
1025 ac_prev
=host_alias
;;
1026 -host=* |
--host=* |
--hos=* |
--ho=*)
1027 host_alias
=$ac_optarg ;;
1029 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1031 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1033 htmldir
=$ac_optarg ;;
1035 -includedir |
--includedir |
--includedi |
--included |
--include \
1036 |
--includ |
--inclu |
--incl |
--inc)
1037 ac_prev
=includedir
;;
1038 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1039 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1040 includedir
=$ac_optarg ;;
1042 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1044 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1045 infodir
=$ac_optarg ;;
1047 -libdir |
--libdir |
--libdi |
--libd)
1049 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1050 libdir
=$ac_optarg ;;
1052 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1053 |
--libexe |
--libex |
--libe)
1054 ac_prev
=libexecdir
;;
1055 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1056 |
--libexe=* |
--libex=* |
--libe=*)
1057 libexecdir
=$ac_optarg ;;
1059 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1060 ac_prev
=localedir
;;
1061 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1062 localedir
=$ac_optarg ;;
1064 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1065 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1066 ac_prev
=localstatedir
;;
1067 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1068 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1069 localstatedir
=$ac_optarg ;;
1071 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1073 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1074 mandir
=$ac_optarg ;;
1076 -nfp |
--nfp |
--nf)
1077 # Obsolete; use --without-fp.
1080 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1081 |
--no-cr |
--no-c |
-n)
1084 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1085 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1088 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1089 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1090 |
--oldin |
--oldi |
--old |
--ol |
--o)
1091 ac_prev
=oldincludedir
;;
1092 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1093 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1094 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1095 oldincludedir
=$ac_optarg ;;
1097 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1099 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1100 prefix
=$ac_optarg ;;
1102 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1103 |
--program-pre |
--program-pr |
--program-p)
1104 ac_prev
=program_prefix
;;
1105 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1106 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1107 program_prefix
=$ac_optarg ;;
1109 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1110 |
--program-suf |
--program-su |
--program-s)
1111 ac_prev
=program_suffix
;;
1112 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1113 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1114 program_suffix
=$ac_optarg ;;
1116 -program-transform-name |
--program-transform-name \
1117 |
--program-transform-nam |
--program-transform-na \
1118 |
--program-transform-n |
--program-transform- \
1119 |
--program-transform |
--program-transfor \
1120 |
--program-transfo |
--program-transf \
1121 |
--program-trans |
--program-tran \
1122 |
--progr-tra |
--program-tr |
--program-t)
1123 ac_prev
=program_transform_name
;;
1124 -program-transform-name=* |
--program-transform-name=* \
1125 |
--program-transform-nam=* |
--program-transform-na=* \
1126 |
--program-transform-n=* |
--program-transform-=* \
1127 |
--program-transform=* |
--program-transfor=* \
1128 |
--program-transfo=* |
--program-transf=* \
1129 |
--program-trans=* |
--program-tran=* \
1130 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1131 program_transform_name
=$ac_optarg ;;
1133 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1135 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1136 pdfdir
=$ac_optarg ;;
1138 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1140 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1143 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1144 |
-silent |
--silent |
--silen |
--sile |
--sil)
1147 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1149 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1151 sbindir
=$ac_optarg ;;
1153 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1154 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1155 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1157 ac_prev
=sharedstatedir
;;
1158 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1159 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1160 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1162 sharedstatedir
=$ac_optarg ;;
1164 -site |
--site |
--sit)
1166 -site=* |
--site=* |
--sit=*)
1169 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1171 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1172 srcdir
=$ac_optarg ;;
1174 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1175 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1176 ac_prev
=sysconfdir
;;
1177 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1178 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1179 sysconfdir
=$ac_optarg ;;
1181 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1182 ac_prev
=target_alias
;;
1183 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1184 target_alias
=$ac_optarg ;;
1186 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1189 -version |
--version |
--versio |
--versi |
--vers |
-V)
1190 ac_init_version
=: ;;
1193 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error $?
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=\
$ac_optarg ;;
1208 -without-* |
--without-*)
1209 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1212 as_fn_error $?
"invalid package name: $ac_useropt"
1213 ac_useropt_orig
=$ac_useropt
1214 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1215 case $ac_user_opts in
1219 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1220 ac_unrecognized_sep
=', ';;
1222 eval with_
$ac_useropt=no
;;
1225 # Obsolete; use --with-x.
1228 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1229 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1230 ac_prev
=x_includes
;;
1231 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1232 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1233 x_includes
=$ac_optarg ;;
1235 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1236 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1237 ac_prev
=x_libraries
;;
1238 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1239 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1240 x_libraries
=$ac_optarg ;;
1242 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1243 Try \`$0 --help' for more information"
1247 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1248 # Reject names that are not valid shell variable names.
1249 case $ac_envvar in #(
1250 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1251 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1253 eval $ac_envvar=\
$ac_optarg
1254 export $ac_envvar ;;
1257 # FIXME: should be removed in autoconf 3.0.
1258 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1259 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1260 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1261 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1267 if test -n "$ac_prev"; then
1268 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1269 as_fn_error $?
"missing argument to $ac_option"
1272 if test -n "$ac_unrecognized_opts"; then
1273 case $enable_option_checking in
1275 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1276 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1280 # Check all directory arguments for consistency.
1281 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1282 datadir sysconfdir sharedstatedir localstatedir includedir \
1283 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1284 libdir localedir mandir
1286 eval ac_val
=\$
$ac_var
1287 # Remove trailing slashes.
1290 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1291 eval $ac_var=\
$ac_val;;
1293 # Be sure to have absolute directory names.
1295 [\\/$
]* | ?
:[\\/]* ) continue;;
1296 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1298 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1301 # There might be people who depend on the old broken behavior: `$host'
1302 # used to hold the argument of --host etc.
1303 # FIXME: To remove some day.
1306 target
=$target_alias
1308 # FIXME: To remove some day.
1309 if test "x$host_alias" != x
; then
1310 if test "x$build_alias" = x
; then
1311 cross_compiling
=maybe
1312 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1313 If a cross compiler is detected then cross compile mode will be used" >&2
1314 elif test "x$build_alias" != "x$host_alias"; then
1320 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1322 test "$silent" = yes && exec 6>/dev
/null
1325 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1326 ac_ls_di
=`ls -di .` &&
1327 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1328 as_fn_error $?
"working directory cannot be determined"
1329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1330 as_fn_error $?
"pwd does not report name of working directory"
1333 # Find the source files, if location was not specified.
1334 if test -z "$srcdir"; then
1335 ac_srcdir_defaulted
=yes
1336 # Try the directory containing this script, then the parent directory.
1337 ac_confdir
=`$as_dirname -- "$as_myself" ||
1338 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1339 X"$as_myself" : 'X\(//\)[^/]' \| \
1340 X"$as_myself" : 'X\(//\)$' \| \
1341 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1342 $as_echo X"$as_myself" |
1343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1365 ac_srcdir_defaulted
=no
1367 if test ! -r "$srcdir/$ac_unique_file"; then
1368 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1369 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1371 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1373 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1375 # When building in place, set srcdir=.
1376 if test "$ac_abs_confdir" = "$ac_pwd"; then
1379 # Remove unnecessary trailing slashes from srcdir.
1380 # Double slashes in file names in object file debugging info
1381 # mess up M-x gdb in Emacs.
1383 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1385 for ac_var
in $ac_precious_vars; do
1386 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1388 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1389 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1393 # Report the --help message.
1395 if test "$ac_init_help" = "long"; then
1396 # Omit some internal or obsolete options to make the list less imposing.
1397 # This message is too long to be a string in the A/UX 3.1 sh.
1399 \`configure' configures PCRE 8.32 to adapt to many kinds of systems.
1401 Usage: $0 [OPTION]... [VAR=VALUE]...
1403 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1404 VAR=VALUE. See below for descriptions of some of the useful variables.
1406 Defaults for the options are specified in brackets.
1409 -h, --help display this help and exit
1410 --help=short display options specific to this package
1411 --help=recursive display the short help of all the included packages
1412 -V, --version display version information and exit
1413 -q, --quiet, --silent do not print \`checking ...' messages
1414 --cache-file=FILE cache test results in FILE [disabled]
1415 -C, --config-cache alias for \`--cache-file=config.cache'
1416 -n, --no-create do not create output files
1417 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1419 Installation directories:
1420 --prefix=PREFIX install architecture-independent files in PREFIX
1421 [$ac_default_prefix]
1422 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1425 By default, \`make install' will install all the files in
1426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1427 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1428 for instance \`--prefix=\$HOME'.
1430 For better control, use the options below.
1432 Fine tuning of the installation directories:
1433 --bindir=DIR user executables [EPREFIX/bin]
1434 --sbindir=DIR system admin executables [EPREFIX/sbin]
1435 --libexecdir=DIR program executables [EPREFIX/libexec]
1436 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1437 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1438 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1439 --libdir=DIR object code libraries [EPREFIX/lib]
1440 --includedir=DIR C header files [PREFIX/include]
1441 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1442 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1443 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1444 --infodir=DIR info documentation [DATAROOTDIR/info]
1445 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1446 --mandir=DIR man documentation [DATAROOTDIR/man]
1447 --docdir=DIR documentation root [DATAROOTDIR/doc/pcre]
1448 --htmldir=DIR html documentation [DOCDIR]
1449 --dvidir=DIR dvi documentation [DOCDIR]
1450 --pdfdir=DIR pdf documentation [DOCDIR]
1451 --psdir=DIR ps documentation [DOCDIR]
1457 --program-prefix=PREFIX prepend PREFIX to installed program names
1458 --program-suffix=SUFFIX append SUFFIX to installed program names
1459 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1462 --build=BUILD configure
for building on BUILD
[guessed
]
1463 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1467 if test -n "$ac_init_help"; then
1468 case $ac_init_help in
1469 short | recursive
) echo "Configuration of PCRE 8.32:";;
1474 --disable-option-checking ignore unrecognized
--enable/--with options
1475 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1476 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1477 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1478 --disable-silent-rules verbose build output (undo: `make V
=0')
1479 --disable-dependency-tracking speeds up one-time build
1480 --enable-dependency-tracking do not reject slow dependency extractors
1481 --enable-shared[=PKGS] build shared libraries [default=yes]
1482 --enable-static[=PKGS] build static libraries [default=yes]
1483 --enable-fast-install[=PKGS]
1484 optimize for fast installation [default=yes]
1485 --disable-libtool-lock avoid locking (might break parallel builds)
1486 --disable-pcre8 disable 8 bit character support
1487 --enable-pcre16 enable 16 bit character support
1488 --enable-pcre32 enable 32 bit character support
1489 --disable-cpp disable C++ support
1490 --enable-jit enable Just-In-Time compiling support
1491 --disable-pcregrep-jit disable JIT support in pcregrep
1492 --enable-rebuild-chartables
1493 rebuild character tables in current locale
1494 --enable-utf8 another name for --enable-utf. Kept only for
1495 compatibility reasons
1496 --enable-utf enable UTF-8/16/32 support (incompatible with
1498 --enable-unicode-properties
1499 enable Unicode properties support (implies
1501 --enable-newline-is-cr use CR as newline character
1502 --enable-newline-is-lf use LF as newline character (default)
1503 --enable-newline-is-crlf
1504 use CRLF as newline sequence
1505 --enable-newline-is-anycrlf
1506 use CR, LF, or CRLF as newline sequence
1507 --enable-newline-is-any use any valid Unicode newline sequence
1508 --enable-bsr-anycrlf \R matches only CR, LF, CRLF by default
1509 --enable-ebcdic assume EBCDIC coding rather than ASCII; incompatible
1510 with --enable-utf; use only in (uncommon) EBCDIC
1511 environments; it implies --enable-rebuild-chartables
1512 --enable-ebcdic-nl25 set EBCDIC code for NL to 0x25 instead of 0x15; it
1513 implies --enable-ebcdic
1514 --disable-stack-for-recursion
1515 don't use stack recursion when matching
1516 --enable-pcregrep-libz link pcregrep with libz to handle .gz files
1517 --enable-pcregrep-libbz2
1518 link pcregrep with libbz2 to handle .bz2 files
1519 --enable-pcretest-libedit
1520 link pcretest with libedit
1521 --enable-pcretest-libreadline
1522 link pcretest with libreadline
1523 --enable-valgrind valgrind support
1524 --enable-coverage enable code coverage reports using gcov
1527 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1528 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1529 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1531 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1532 --with-sysroot=DIR Search
for dependent libraries within DIR
1533 (or the compiler
's sysroot if not specified).
1534 --with-pcregrep-bufsize=N
1535 pcregrep buffer size (default=20480)
1536 --with-posix-malloc-threshold=NBYTES
1537 threshold for POSIX malloc usage (default=10)
1538 --with-link-size=N internal link size (2, 3, or 4 allowed; default=2)
1539 --with-match-limit=N default limit on internal looping (default=10000000)
1540 --with-match-limit-recursion=N
1541 default limit on internal recursion
1542 (default=MATCH_LIMIT)
1544 Some influential environment variables:
1545 CC C compiler command
1546 CFLAGS C compiler flags
1547 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1548 nonstandard directory <lib dir>
1549 LIBS libraries to pass to the linker, e.g. -l<library>
1550 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1551 you have headers in a nonstandard directory <include dir>
1552 CXX C++ compiler command
1553 CXXFLAGS C++ compiler flags
1555 CXXCPP C++ preprocessor
1556 PKG_CONFIG path to pkg-config utility
1558 directories to add to pkg-config's search path
1560 path overriding pkg-config
's built-in search path
1562 C compiler flags for VALGRIND, overriding pkg-config
1564 linker flags for VALGRIND, overriding pkg-config
1565 LCOV the ltp lcov program
1566 GENHTML the ltp genhtml program
1568 Use these variables to override the choices made by `configure' or to
help
1569 it to
find libraries and programs with nonstandard names
/locations.
1571 Report bugs to the package provider.
1576 if test "$ac_init_help" = "recursive"; then
1577 # If there are subdirs, report their specific --help.
1578 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1579 test -d "$ac_dir" ||
1580 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1585 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1587 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1588 # A ".." for each directory in $ac_dir_suffix.
1589 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1590 case $ac_top_builddir_sub in
1591 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1592 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1595 ac_abs_top_builddir
=$ac_pwd
1596 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1597 # for backward compatibility:
1598 ac_top_builddir
=$ac_top_build_prefix
1601 .
) # We are building in place.
1603 ac_top_srcdir
=$ac_top_builddir_sub
1604 ac_abs_top_srcdir
=$ac_pwd ;;
1605 [\\/]* | ?
:[\\/]* ) # Absolute name.
1606 ac_srcdir
=$srcdir$ac_dir_suffix;
1607 ac_top_srcdir
=$srcdir
1608 ac_abs_top_srcdir
=$srcdir ;;
1610 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1611 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1612 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1614 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1616 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1617 # Check for guested configure.
1618 if test -f "$ac_srcdir/configure.gnu"; then
1620 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1621 elif test -f "$ac_srcdir/configure"; then
1623 $SHELL "$ac_srcdir/configure" --help=recursive
1625 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1627 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1631 test -n "$ac_init_help" && exit $ac_status
1632 if $ac_init_version; then
1635 generated by GNU Autoconf
2.68
1637 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1638 This configure
script is free software
; the Free Software Foundation
1639 gives unlimited permission to copy
, distribute and modify it.
1644 ## ------------------------ ##
1645 ## Autoconf initialization. ##
1646 ## ------------------------ ##
1648 # ac_fn_c_try_compile LINENO
1649 # --------------------------
1650 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1651 ac_fn_c_try_compile
()
1653 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1654 rm -f conftest.
$ac_objext
1655 if { { ac_try
="$ac_compile"
1657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1658 *) ac_try_echo=$ac_try;;
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_compile") 2>conftest.err
1664 if test -s conftest.err; then
1665 grep -v '^ *+' conftest.err >conftest.er1
1666 cat conftest.er1 >&5
1667 mv -f conftest.er1 conftest.err
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && {
1671 test -z "$ac_c_werror_flag" ||
1672 test ! -s conftest.err
1673 } && test -s conftest.$ac_objext; then :
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682 as_fn_set_status $ac_retval
1684 } # ac_fn_c_try_compile
1686 # ac_fn_cxx_try_compile LINENO
1687 # ----------------------------
1688 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1689 ac_fn_cxx_try_compile ()
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 rm -f conftest.$ac_objext
1693 if { { ac_try="$ac_compile"
1695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1696 *) ac_try_echo
=$ac_try;;
1698 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_compile") 2>conftest.err
1702 if test -s conftest.err
; then
1703 grep -v '^ *+' conftest.err
>conftest.er1
1704 cat conftest.er1
>&5
1705 mv -f conftest.er1 conftest.err
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && {
1709 test -z "$ac_cxx_werror_flag" ||
1710 test ! -s conftest.err
1711 } && test -s conftest.
$ac_objext; then :
1714 $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.
$ac_ext >&5
1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720 as_fn_set_status
$ac_retval
1722 } # ac_fn_cxx_try_compile
1724 # ac_fn_c_try_cpp LINENO
1725 # ----------------------
1726 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1729 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1730 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1739 if test -s conftest.err; then
1740 grep -v '^ *+' conftest.err >conftest.er1
1741 cat conftest.er1 >&5
1742 mv -f conftest.er1 conftest.err
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } > conftest.i && {
1746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1747 test ! -s conftest.err
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 as_fn_set_status $ac_retval
1761 # ac_fn_c_try_run LINENO
1762 # ----------------------
1763 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1764 # that executables *can* be run.
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 if { { ac_try="$ac_link"
1770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1771 *) ac_try_echo
=$ac_try;;
1773 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775 (eval "$ac_link") 2>&5
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1779 { { case "(($ac_try" in
1780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1781 *) ac_try_echo=$ac_try;;
1783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785 (eval "$ac_try") 2>&5
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; }; }; then :
1791 $as_echo "$as_me: program exited with status $ac_status" >&5
1792 $as_echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.$ac_ext >&5
1795 ac_retval=$ac_status
1797 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 as_fn_set_status $ac_retval
1803 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1804 # -------------------------------------------------------
1805 # Tests whether HEADER exists and can be compiled using the include files in
1806 # INCLUDES, setting the cache variable VAR accordingly.
1807 ac_fn_c_check_header_compile ()
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811 $as_echo_n "checking for $2... " >&6; }
1812 if eval \${$3+:} false; then :
1813 $as_echo_n "(cached) " >&6
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1820 if ac_fn_c_try_compile "$LINENO"; then :
1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829 $as_echo "$ac_res" >&6; }
1830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832 } # ac_fn_c_check_header_compile
1834 # ac_fn_c_find_intX_t LINENO BITS VAR
1835 # -----------------------------------
1836 # Finds a signed integer type with width BITS, setting cache variable VAR
1838 ac_fn_c_find_intX_t ()
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1842 $as_echo_n "checking for int$2_t... " >&6; }
1843 if eval \${$3+:} false; then :
1844 $as_echo_n "(cached) " >&6
1847 # Order is important - never check a type that is potentially smaller
1848 # than half of the expected target width.
1849 for ac_type in int$2_t 'int' 'long int' \
1850 'long long int' 'short int' 'signed char'; do
1851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852 /* end confdefs.h. */
1853 $ac_includes_default
1854 enum { N = $2 / 2 - 1 };
1858 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1865 if ac_fn_c_try_compile "$LINENO"; then :
1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h. */
1868 $ac_includes_default
1869 enum { N = $2 / 2 - 1 };
1873 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1874 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1881 if ac_fn_c_try_compile "$LINENO"; then :
1888 eval "$3=\$ac_type" ;;
1891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894 if eval test \"x\$"$3"\" = x"no"; then :
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1903 $as_echo "$ac_res" >&6; }
1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906 } # ac_fn_c_find_intX_t
1908 # ac_fn_c_try_link LINENO
1909 # -----------------------
1910 # Try to link conftest.$ac_ext, and return whether this succeeded.
1913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1914 rm -f conftest.$ac_objext conftest$ac_exeext
1915 if { { ac_try="$ac_link"
1917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1918 *) ac_try_echo
=$ac_try;;
1920 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1921 $as_echo "$ac_try_echo"; } >&5
1922 (eval "$ac_link") 2>conftest.err
1924 if test -s conftest.err
; then
1925 grep -v '^ *+' conftest.err
>conftest.er1
1926 cat conftest.er1
>&5
1927 mv -f conftest.er1 conftest.err
1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930 test $ac_status = 0; } && {
1931 test -z "$ac_c_werror_flag" ||
1932 test ! -s conftest.err
1933 } && test -s conftest
$ac_exeext && {
1934 test "$cross_compiling" = yes ||
1935 $as_test_x conftest
$ac_exeext
1939 $as_echo "$as_me: failed program was:" >&5
1940 sed 's/^/| /' conftest.
$ac_ext >&5
1944 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1945 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1946 # interfere with the next link command; also delete a directory that is
1947 # left behind by Apple's compiler. We do this before executing the actions.
1948 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 as_fn_set_status
$ac_retval
1952 } # ac_fn_c_try_link
1954 # ac_fn_c_check_func LINENO FUNC VAR
1955 # ----------------------------------
1956 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1957 ac_fn_c_check_func
()
1959 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961 $as_echo_n "checking for $2... " >&6; }
1962 if eval \
${$3+:} false
; then :
1963 $as_echo_n "(cached) " >&6
1965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1967 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1969 #define $2 innocuous_$2
1971 /* System header to define __stub macros and hopefully few prototypes,
1972 which can conflict with char $2 (); below.
1973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1974 <limits.h> exists even on freestanding compilers. */
1977 # include <limits.h>
1979 # include <assert.h>
1984 /* Override any GCC internal prototype to avoid an error.
1985 Use char because int might match the return type of a GCC
1986 builtin and then its argument prototype would still apply. */
1991 /* The GNU C library defines this for functions which it implements
1992 to always fail with ENOSYS. Some functions are actually named
1993 something starting with __ and the normal name is an alias. */
1994 #if defined __stub_$2 || defined __stub___$2
2006 if ac_fn_c_try_link
"$LINENO"; then :
2011 rm -f core conftest.err conftest.
$ac_objext \
2012 conftest
$ac_exeext conftest.
$ac_ext
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 $as_echo "$ac_res" >&6; }
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019 } # ac_fn_c_check_func
2021 # ac_fn_cxx_try_cpp LINENO
2022 # ------------------------
2023 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2024 ac_fn_cxx_try_cpp
()
2026 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2027 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2030 *) ac_try_echo=$ac_try;;
2032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2033 $as_echo "$ac_try_echo"; } >&5
2034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2036 if test -s conftest.err; then
2037 grep -v '^ *+' conftest.err >conftest.er1
2038 cat conftest.er1 >&5
2039 mv -f conftest.er1 conftest.err
2041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2042 test $ac_status = 0; } > conftest.i && {
2043 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2044 test ! -s conftest.err
2048 $as_echo "$as_me: failed program was:" >&5
2049 sed 's/^/| /' conftest.$ac_ext >&5
2053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2054 as_fn_set_status $ac_retval
2056 } # ac_fn_cxx_try_cpp
2058 # ac_fn_cxx_try_link LINENO
2059 # -------------------------
2060 # Try to link conftest.$ac_ext, and return whether this succeeded.
2061 ac_fn_cxx_try_link ()
2063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064 rm -f conftest.$ac_objext conftest$ac_exeext
2065 if { { ac_try="$ac_link"
2067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2068 *) ac_try_echo
=$ac_try;;
2070 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2071 $as_echo "$ac_try_echo"; } >&5
2072 (eval "$ac_link") 2>conftest.err
2074 if test -s conftest.err
; then
2075 grep -v '^ *+' conftest.err
>conftest.er1
2076 cat conftest.er1
>&5
2077 mv -f conftest.er1 conftest.err
2079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2080 test $ac_status = 0; } && {
2081 test -z "$ac_cxx_werror_flag" ||
2082 test ! -s conftest.err
2083 } && test -s conftest
$ac_exeext && {
2084 test "$cross_compiling" = yes ||
2085 $as_test_x conftest
$ac_exeext
2089 $as_echo "$as_me: failed program was:" >&5
2090 sed 's/^/| /' conftest.
$ac_ext >&5
2094 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2095 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2096 # interfere with the next link command; also delete a directory that is
2097 # left behind by Apple's compiler. We do this before executing the actions.
2098 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2100 as_fn_set_status
$ac_retval
2102 } # ac_fn_cxx_try_link
2104 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2105 # -------------------------------------------------------
2106 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2107 # the include files in INCLUDES and setting the cache variable VAR
2109 ac_fn_c_check_header_mongrel
()
2111 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2112 if eval \
${$3+:} false
; then :
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if eval \
${$3+:} false
; then :
2116 $as_echo_n "(cached) " >&6
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2120 $as_echo "$ac_res" >&6; }
2122 # Is the header compilable?
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2124 $as_echo_n "checking $2 usability... " >&6; }
2125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2126 /* end confdefs.h. */
2130 if ac_fn_c_try_compile
"$LINENO"; then :
2131 ac_header_compiler
=yes
2133 ac_header_compiler
=no
2135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2137 $as_echo "$ac_header_compiler" >&6; }
2139 # Is the header present?
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2141 $as_echo_n "checking $2 presence... " >&6; }
2142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h. */
2146 if ac_fn_c_try_cpp
"$LINENO"; then :
2147 ac_header_preproc
=yes
2149 ac_header_preproc
=no
2151 rm -f conftest.err conftest.i conftest.
$ac_ext
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2153 $as_echo "$ac_header_preproc" >&6; }
2155 # So? What about this header?
2156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2159 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2161 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2165 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2167 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2169 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2171 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2173 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2177 $as_echo_n "checking for $2... " >&6; }
2178 if eval \
${$3+:} false
; then :
2179 $as_echo_n "(cached) " >&6
2181 eval "$3=\$ac_header_compiler"
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2185 $as_echo "$ac_res" >&6; }
2187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2189 } # ac_fn_c_check_header_mongrel
2191 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2192 # ---------------------------------------------------------
2193 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2194 # the include files in INCLUDES and setting the cache variable VAR
2196 ac_fn_cxx_check_header_mongrel
()
2198 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2199 if eval \
${$3+:} false
; then :
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2201 $as_echo_n "checking for $2... " >&6; }
2202 if eval \
${$3+:} false
; then :
2203 $as_echo_n "(cached) " >&6
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2207 $as_echo "$ac_res" >&6; }
2209 # Is the header compilable?
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2211 $as_echo_n "checking $2 usability... " >&6; }
2212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2213 /* end confdefs.h. */
2217 if ac_fn_cxx_try_compile
"$LINENO"; then :
2218 ac_header_compiler
=yes
2220 ac_header_compiler
=no
2222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2224 $as_echo "$ac_header_compiler" >&6; }
2226 # Is the header present?
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2228 $as_echo_n "checking $2 presence... " >&6; }
2229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h. */
2233 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2234 ac_header_preproc
=yes
2236 ac_header_preproc
=no
2238 rm -f conftest.err conftest.i conftest.
$ac_ext
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2240 $as_echo "$ac_header_preproc" >&6; }
2242 # So? What about this header?
2243 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2246 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2248 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2252 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2254 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2256 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2258 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2260 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2264 $as_echo_n "checking for $2... " >&6; }
2265 if eval \
${$3+:} false
; then :
2266 $as_echo_n "(cached) " >&6
2268 eval "$3=\$ac_header_compiler"
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2272 $as_echo "$ac_res" >&6; }
2274 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2276 } # ac_fn_cxx_check_header_mongrel
2278 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2279 # ---------------------------------------------
2280 # Tests whether TYPE exists after having included INCLUDES, setting cache
2281 # variable VAR accordingly.
2282 ac_fn_cxx_check_type
()
2284 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2286 $as_echo_n "checking for $2... " >&6; }
2287 if eval \
${$3+:} false
; then :
2288 $as_echo_n "(cached) " >&6
2291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2303 if ac_fn_cxx_try_compile
"$LINENO"; then :
2304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2305 /* end confdefs.h. */
2316 if ac_fn_cxx_try_compile
"$LINENO"; then :
2321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2327 $as_echo "$ac_res" >&6; }
2328 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330 } # ac_fn_cxx_check_type
2332 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2333 # -------------------------------------------
2334 # Tests whether TYPE exists after having included INCLUDES, setting cache
2335 # variable VAR accordingly.
2336 ac_fn_c_check_type
()
2338 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2340 $as_echo_n "checking for $2... " >&6; }
2341 if eval \
${$3+:} false
; then :
2342 $as_echo_n "(cached) " >&6
2345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2357 if ac_fn_c_try_compile
"$LINENO"; then :
2358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2359 /* end confdefs.h. */
2370 if ac_fn_c_try_compile
"$LINENO"; then :
2375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2381 $as_echo "$ac_res" >&6; }
2382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2384 } # ac_fn_c_check_type
2385 cat >config.log
<<_ACEOF
2386 This file contains any messages produced by compilers while
2387 running configure, to aid debugging if configure makes a mistake.
2389 It was created by PCRE $as_me 8.32, which was
2390 generated by GNU Autoconf 2.68. Invocation command line was
2402 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2403 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2404 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2405 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2406 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2408 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2409 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2411 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2412 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2413 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2414 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2415 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2416 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2417 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir
=.
2426 $as_echo "PATH: $as_dir"
2442 # Keep a trace of the command line.
2443 # Strip out --no-create and --no-recursion so they do not pile up.
2444 # Strip out --silent because we don't want to record it for future runs.
2445 # Also quote any args containing shell meta-characters.
2446 # Make two passes to allow for proper duplicate-argument suppression.
2450 ac_must_keep_next
=false
2456 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2457 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2458 |
-silent |
--silent |
--silen |
--sile |
--sil)
2461 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2464 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2466 as_fn_append ac_configure_args1
" '$ac_arg'"
2467 if test $ac_must_keep_next = true
; then
2468 ac_must_keep_next
=false
# Got value, back to normal.
2471 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2472 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2473 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2474 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2475 case "$ac_configure_args0 " in
2476 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2479 -* ) ac_must_keep_next
=true
;;
2482 as_fn_append ac_configure_args
" '$ac_arg'"
2487 { ac_configure_args0
=; unset ac_configure_args0
;}
2488 { ac_configure_args1
=; unset ac_configure_args1
;}
2490 # When interrupted or exit'd, cleanup temporary files, and complete
2491 # config.log. We remove comments because anyway the quotes in there
2492 # would cause problems or look ugly.
2493 # WARNING: Use '\'' to represent an apostrophe within the trap.
2494 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2495 trap 'exit_status=$?
2496 # Save into config.log some information that might help in debugging.
2500 $as_echo "## ---------------- ##
2501 ## Cache variables. ##
2502 ## ---------------- ##"
2504 # The following way of writing the cache mishandles newlines in values,
2506 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2507 eval ac_val=\$$ac_var
2511 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2512 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2515 _ | IFS | as_nl) ;; #(
2516 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2517 *) { eval $ac_var=; unset $ac_var;} ;;
2522 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2523 *${as_nl}ac_space=\ *)
2525 "s/'\''/'\''\\\\'\'''\''/g;
2526 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2536 $as_echo "## ----------------- ##
2537 ## Output variables. ##
2538 ## ----------------- ##"
2540 for ac_var in $ac_subst_vars
2542 eval ac_val=\$$ac_var
2544 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2546 $as_echo "$ac_var='\''$ac_val'\''"
2550 if test -n "$ac_subst_files"; then
2551 $as_echo "## ------------------- ##
2552 ## File substitutions. ##
2553 ## ------------------- ##"
2555 for ac_var
in $ac_subst_files
2557 eval ac_val
=\$
$ac_var
2559 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2561 $as_echo "$ac_var='\''$ac_val'\''"
2566 if test -s confdefs.h; then
2567 $as_echo "## ----------- ##
2574 test "$ac_signal" != 0 &&
2575 $as_echo "$as_me: caught signal $ac_signal"
2576 $as_echo "$as_me: exit $exit_status"
2578 rm -f core *.core core.conftest.* &&
2579 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2582 for ac_signal
in 1 2 13 15; do
2583 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2587 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2588 rm -f -r conftest
* confdefs.h
2590 $as_echo "/* confdefs.h */" > confdefs.h
2592 # Predefined preprocessor variables.
2594 cat >>confdefs.h
<<_ACEOF
2595 #define PACKAGE_NAME "$PACKAGE_NAME"
2598 cat >>confdefs.h
<<_ACEOF
2599 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2602 cat >>confdefs.h
<<_ACEOF
2603 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2606 cat >>confdefs.h
<<_ACEOF
2607 #define PACKAGE_STRING "$PACKAGE_STRING"
2610 cat >>confdefs.h
<<_ACEOF
2611 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2614 cat >>confdefs.h
<<_ACEOF
2615 #define PACKAGE_URL "$PACKAGE_URL"
2619 # Let the site file select an alternate cache file if it wants to.
2620 # Prefer an explicitly selected file to automatically selected ones.
2623 if test -n "$CONFIG_SITE"; then
2624 # We do not want a PATH search for config.site.
2625 case $CONFIG_SITE in #((
2626 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2627 */*) ac_site_file1
=$CONFIG_SITE;;
2628 *) ac_site_file1
=.
/$CONFIG_SITE;;
2630 elif test "x$prefix" != xNONE
; then
2631 ac_site_file1
=$prefix/share
/config.site
2632 ac_site_file2
=$prefix/etc
/config.site
2634 ac_site_file1
=$ac_default_prefix/share
/config.site
2635 ac_site_file2
=$ac_default_prefix/etc
/config.site
2637 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2639 test "x$ac_site_file" = xNONE
&& continue
2640 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2642 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2643 sed 's/^/| /' "$ac_site_file" >&5
2645 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2647 as_fn_error $?
"failed to load site script $ac_site_file
2648 See \`config.log' for more details" "$LINENO" 5; }
2652 if test -r "$cache_file"; then
2653 # Some versions of bash will fail to source /dev/null (special files
2654 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2655 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2657 $as_echo "$as_me: loading cache $cache_file" >&6;}
2659 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2660 *) .
"./$cache_file";;
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2665 $as_echo "$as_me: creating cache $cache_file" >&6;}
2669 # Check that the precious variables saved in the cache have kept the same
2671 ac_cache_corrupted
=false
2672 for ac_var
in $ac_precious_vars; do
2673 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2674 eval ac_new_set
=\
$ac_env_${ac_var}_set
2675 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2676 eval ac_new_val
=\
$ac_env_${ac_var}_value
2677 case $ac_old_set,$ac_new_set in
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2680 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2681 ac_cache_corrupted
=: ;;
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2684 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2685 ac_cache_corrupted
=: ;;
2688 if test "x$ac_old_val" != "x$ac_new_val"; then
2689 # differences in whitespace do not lead to failure.
2690 ac_old_val_w
=`echo x $ac_old_val`
2691 ac_new_val_w
=`echo x $ac_new_val`
2692 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2694 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2695 ac_cache_corrupted
=:
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2698 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2699 eval $ac_var=\
$ac_old_val
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2702 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2704 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2707 # Pass precious variables to config.status.
2708 if test "$ac_new_set" = set; then
2710 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2711 *) ac_arg
=$ac_var=$ac_new_val ;;
2713 case " $ac_configure_args " in
2714 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2715 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2719 if $ac_cache_corrupted; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2723 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2724 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2726 ## -------------------- ##
2727 ## Main body of script. ##
2728 ## -------------------- ##
2731 ac_cpp
='$CPP $CPPFLAGS'
2732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2738 am__api_version
='1.11'
2741 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2742 if test -f "$ac_dir/install-sh"; then
2744 ac_install_sh
="$ac_aux_dir/install-sh -c"
2746 elif test -f "$ac_dir/install.sh"; then
2748 ac_install_sh
="$ac_aux_dir/install.sh -c"
2750 elif test -f "$ac_dir/shtool"; then
2752 ac_install_sh
="$ac_aux_dir/shtool install -c"
2756 if test -z "$ac_aux_dir"; then
2757 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2760 # These three variables are undocumented and unsupported,
2761 # and are intended to be withdrawn in a future Autoconf release.
2762 # They can cause serious problems if a builder's source tree is in a directory
2763 # whose full name contains unusual characters.
2764 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2765 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2766 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2769 # Find a good install program. We prefer a C program (faster),
2770 # so one script is as good as another. But avoid the broken or
2771 # incompatible versions:
2772 # SysV /etc/install, /usr/sbin/install
2773 # SunOS /usr/etc/install
2774 # IRIX /sbin/install
2776 # AmigaOS /C/install, which installs bootblocks on floppy discs
2777 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2778 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2779 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2780 # OS/2's system install, which has a completely different semantic
2781 # ./install, which can be erroneously created by make from ./install.sh.
2782 # Reject install programs that cannot install multiple files.
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2784 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2785 if test -z "$INSTALL"; then
2786 if ${ac_cv_path_install+:} false
; then :
2787 $as_echo_n "(cached) " >&6
2789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir
=.
2794 # Account for people who put trailing slashes in PATH elements.
2795 case $as_dir/ in #((
2796 .
/ | .
// |
/[cC
]/* | \
2797 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2798 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2801 # OSF1 and SCO ODT 3.0 have their own names for install.
2802 # Don't use installbsd from OSF since it installs stuff as root
2804 for ac_prog
in ginstall scoinst
install; do
2805 for ac_exec_ext
in '' $ac_executable_extensions; do
2806 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2807 if test $ac_prog = install &&
2808 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2809 # AIX install. It has an incompatible calling convention.
2811 elif test $ac_prog = install &&
2812 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2813 # program-specific install script used by HP pwplus--don't use.
2816 rm -rf conftest.one conftest.two conftest.dir
2817 echo one
> conftest.one
2818 echo two
> conftest.two
2820 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2821 test -s conftest.one
&& test -s conftest.two
&&
2822 test -s conftest.dir
/conftest.one
&&
2823 test -s conftest.dir
/conftest.two
2825 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2838 rm -rf conftest.one conftest.two conftest.dir
2841 if test "${ac_cv_path_install+set}" = set; then
2842 INSTALL
=$ac_cv_path_install
2844 # As a last resort, use the slow shell script. Don't cache a
2845 # value for INSTALL within a source directory, because that will
2846 # break other packages using the cache if that directory is
2847 # removed, or if the value is a relative name.
2848 INSTALL
=$ac_install_sh
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2852 $as_echo "$INSTALL" >&6; }
2854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2855 # It thinks the first close brace ends the variable substitution.
2856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2860 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2863 $as_echo_n "checking whether build environment is sane... " >&6; }
2866 echo timestamp
> conftest.
file
2867 # Reject unsafe characters in $srcdir or the absolute working directory
2868 # name. Accept space and tab only in the latter.
2872 *[\\\"\
#\$\&\'\`$am_lf]*)
2873 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2876 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2877 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2880 # Do `set' in a subshell so we don't clobber the current shell's
2881 # arguments. Must try -L first in case configure is actually a
2882 # symlink; some systems play weird games with the mod time of symlinks
2883 # (eg FreeBSD returns the mod time of the symlink's containing
2886 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2887 if test "$*" = "X"; then
2889 set X
`ls -t "$srcdir/configure" conftest.file`
2892 if test "$*" != "X $srcdir/configure conftest.file" \
2893 && test "$*" != "X conftest.file $srcdir/configure"; then
2895 # If neither matched, then we have a broken ls. This can happen
2896 # if, for instance, CONFIG_SHELL is bash and it inherits a
2897 # broken ls alias from the environment. This has actually
2898 # happened. Such a system could not be considered "sane".
2899 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2900 alias in your environment" "$LINENO" 5
2903 test "$2" = conftest.
file
2909 as_fn_error $?
"newly created file is older than distributed files!
2910 Check your system clock" "$LINENO" 5
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2913 $as_echo "yes" >&6; }
2914 test "$program_prefix" != NONE
&&
2915 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2916 # Use a double $ so make ignores it.
2917 test "$program_suffix" != NONE
&&
2918 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2919 # Double any \ or $.
2920 # By default was `s,x,x', remove it if useless.
2921 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2922 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2924 # expand $ac_aux_dir to an absolute path
2925 am_aux_dir
=`cd $ac_aux_dir && pwd`
2927 if test x
"${MISSING+set}" != xset
; then
2930 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2932 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2935 # Use eval to expand $SHELL
2936 if eval "$MISSING --run true"; then
2937 am_missing_run
="$MISSING --run "
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2941 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2944 if test x
"${install_sh}" != xset
; then
2947 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2949 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2953 # Installed binaries are usually stripped using `strip' when the user
2954 # run `make install-strip'. However `strip' might not be the right
2955 # tool to use in cross-compilation environments, therefore Automake
2956 # will honor the `STRIP' environment variable to overrule this program.
2957 if test "$cross_compiling" != no
; then
2958 if test -n "$ac_tool_prefix"; then
2959 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2960 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2962 $as_echo_n "checking for $ac_word... " >&6; }
2963 if ${ac_cv_prog_STRIP+:} false
; then :
2964 $as_echo_n "(cached) " >&6
2966 if test -n "$STRIP"; then
2967 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2973 test -z "$as_dir" && as_dir
=.
2974 for ac_exec_ext
in '' $ac_executable_extensions; do
2975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2976 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2986 STRIP
=$ac_cv_prog_STRIP
2987 if test -n "$STRIP"; then
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2989 $as_echo "$STRIP" >&6; }
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2992 $as_echo "no" >&6; }
2997 if test -z "$ac_cv_prog_STRIP"; then
2999 # Extract the first word of "strip", so it can be a program name with args.
3000 set dummy strip
; ac_word
=$2
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002 $as_echo_n "checking for $ac_word... " >&6; }
3003 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3004 $as_echo_n "(cached) " >&6
3006 if test -n "$ac_ct_STRIP"; then
3007 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3013 test -z "$as_dir" && as_dir
=.
3014 for ac_exec_ext
in '' $ac_executable_extensions; do
3015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3016 ac_cv_prog_ac_ct_STRIP
="strip"
3017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3027 if test -n "$ac_ct_STRIP"; then
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3029 $as_echo "$ac_ct_STRIP" >&6; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 $as_echo "no" >&6; }
3035 if test "x$ac_ct_STRIP" = x
; then
3038 case $cross_compiling:$ac_tool_warned in
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3042 ac_tool_warned
=yes ;;
3047 STRIP
="$ac_cv_prog_STRIP"
3051 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3054 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3055 if test -z "$MKDIR_P"; then
3056 if ${ac_cv_path_mkdir+:} false
; then :
3057 $as_echo_n "(cached) " >&6
3059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3060 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3063 test -z "$as_dir" && as_dir
=.
3064 for ac_prog
in mkdir gmkdir
; do
3065 for ac_exec_ext
in '' $ac_executable_extensions; do
3066 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3067 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3068 'mkdir (GNU coreutils) '* | \
3069 'mkdir (coreutils) '* | \
3070 'mkdir (fileutils) '4.1*)
3071 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3081 test -d .
/--version && rmdir .
/--version
3082 if test "${ac_cv_path_mkdir+set}" = set; then
3083 MKDIR_P
="$ac_cv_path_mkdir -p"
3085 # As a last resort, use the slow shell script. Don't cache a
3086 # value for MKDIR_P within a source directory, because that will
3087 # break other packages using the cache if that directory is
3088 # removed, or if the value is a relative name.
3089 MKDIR_P
="$ac_install_sh -d"
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3093 $as_echo "$MKDIR_P" >&6; }
3097 [\\/$
]* | ?
:[\\/]*) ;;
3098 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3101 for ac_prog
in gawk mawk nawk
awk
3103 # Extract the first word of "$ac_prog", so it can be a program name with args.
3104 set dummy
$ac_prog; ac_word
=$2
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106 $as_echo_n "checking for $ac_word... " >&6; }
3107 if ${ac_cv_prog_AWK+:} false
; then :
3108 $as_echo_n "(cached) " >&6
3110 if test -n "$AWK"; then
3111 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3117 test -z "$as_dir" && as_dir
=.
3118 for ac_exec_ext
in '' $ac_executable_extensions; do
3119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3120 ac_cv_prog_AWK
="$ac_prog"
3121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 if test -n "$AWK"; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3133 $as_echo "$AWK" >&6; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3140 test -n "$AWK" && break
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3144 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3146 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3147 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3148 $as_echo_n "(cached) " >&6
3150 cat >conftest.
make <<\_ACEOF
3153 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3155 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3156 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3158 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3160 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3164 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3166 $as_echo "yes" >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3171 SET_MAKE
="MAKE=${MAKE-make}"
3174 rm -rf .tst
2>/dev
/null
3175 mkdir .tst
2>/dev
/null
3176 if test -d .tst
; then
3181 rmdir .tst
2>/dev
/null
3183 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3184 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3185 # is not polluted with repeated "-I."
3186 am__isrc
=' -I$(srcdir)'
3187 # test to see if srcdir already configured
3188 if test -f $srcdir/config.status
; then
3189 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3193 # test whether we have cygpath
3194 if test -z "$CYGPATH_W"; then
3195 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3196 CYGPATH_W
='cygpath -w'
3203 # Define the identity of the package.
3208 cat >>confdefs.h
<<_ACEOF
3209 #define PACKAGE "$PACKAGE"
3213 cat >>confdefs.h
<<_ACEOF
3214 #define VERSION "$VERSION"
3217 # Some tools Automake needs.
3219 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3222 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3225 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3228 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3231 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3233 # We need awk for the "check" target. The system "awk" is bad on
3235 # Always define AMTAR for backward compatibility. Yes, it's still used
3236 # in the wild :-( We should find a proper way to deprecate it ...
3239 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3245 # Check whether --enable-silent-rules was given.
3246 if test "${enable_silent_rules+set}" = set; then :
3247 enableval
=$enable_silent_rules;
3250 case $enable_silent_rules in
3251 yes) AM_DEFAULT_VERBOSITY
=0;;
3252 no
) AM_DEFAULT_VERBOSITY
=1;;
3253 *) AM_DEFAULT_VERBOSITY
=0;;
3255 am_make
=${MAKE-make}
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3257 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3258 if ${am_cv_make_support_nested_variables+:} false
; then :
3259 $as_echo_n "(cached) " >&6
3261 if $as_echo 'TRUE=$(BAR$(V))
3267 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3268 am_cv_make_support_nested_variables
=yes
3270 am_cv_make_support_nested_variables
=no
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3274 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3275 if test $am_cv_make_support_nested_variables = yes; then
3277 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3279 AM_V
=$AM_DEFAULT_VERBOSITY
3280 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3284 ac_config_headers="$ac_config_headers config.h"
3287 # This was added at the suggestion of libtoolize (03-Jan-10)
3290 # The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just
3291 # "-g" for any other compiler. There doesn't seem to be a standard way of
3292 # getting rid of the -g (which I don't think is needed for a production
3293 # library). This fudge seems to achieve the necessary. First, we remember the
3294 # externally set values of CFLAGS and CXXFLAGS. Then call the AC_PROG_CC and
3295 # AC_PROG_CXX macros to find the compilers - if CFLAGS and CXXFLAGS are not
3296 # set, they will be set to Autoconf's defaults. Afterwards, if the original
3297 # values were not set, remove the -g from the Autoconf defaults.
3300 remember_set_CFLAGS
="$CFLAGS"
3301 remember_set_CXXFLAGS
="$CXXFLAGS"
3304 ac_cpp
='$CPP $CPPFLAGS'
3305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3308 if test -n "$ac_tool_prefix"; then
3309 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3310 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312 $as_echo_n "checking for $ac_word... " >&6; }
3313 if ${ac_cv_prog_CC+:} false
; then :
3314 $as_echo_n "(cached) " >&6
3316 if test -n "$CC"; then
3317 ac_cv_prog_CC
="$CC" # Let the user override the test.
3319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir
=.
3324 for ac_exec_ext
in '' $ac_executable_extensions; do
3325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3326 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 if test -n "$CC"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3339 $as_echo "$CC" >&6; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3347 if test -z "$ac_cv_prog_CC"; then
3349 # Extract the first word of "gcc", so it can be a program name with args.
3350 set dummy gcc
; ac_word
=$2
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352 $as_echo_n "checking for $ac_word... " >&6; }
3353 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3354 $as_echo_n "(cached) " >&6
3356 if test -n "$ac_ct_CC"; then
3357 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3363 test -z "$as_dir" && as_dir
=.
3364 for ac_exec_ext
in '' $ac_executable_extensions; do
3365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3366 ac_cv_prog_ac_ct_CC
="gcc"
3367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3377 if test -n "$ac_ct_CC"; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3379 $as_echo "$ac_ct_CC" >&6; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382 $as_echo "no" >&6; }
3385 if test "x$ac_ct_CC" = x
; then
3388 case $cross_compiling:$ac_tool_warned in
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3392 ac_tool_warned
=yes ;;
3400 if test -z "$CC"; then
3401 if test -n "$ac_tool_prefix"; then
3402 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3403 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if ${ac_cv_prog_CC+:} false
; then :
3407 $as_echo_n "(cached) " >&6
3409 if test -n "$CC"; then
3410 ac_cv_prog_CC
="$CC" # Let the user override the test.
3412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3416 test -z "$as_dir" && as_dir
=.
3417 for ac_exec_ext
in '' $ac_executable_extensions; do
3418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3419 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 if test -n "$CC"; then
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3432 $as_echo "$CC" >&6; }
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 $as_echo "no" >&6; }
3441 if test -z "$CC"; then
3442 # Extract the first word of "cc", so it can be a program name with args.
3443 set dummy cc
; ac_word
=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if ${ac_cv_prog_CC+:} false
; then :
3447 $as_echo_n "(cached) " >&6
3449 if test -n "$CC"; then
3450 ac_cv_prog_CC
="$CC" # Let the user override the test.
3453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3457 test -z "$as_dir" && as_dir
=.
3458 for ac_exec_ext
in '' $ac_executable_extensions; do
3459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3460 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3461 ac_prog_rejected
=yes
3465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3472 if test $ac_prog_rejected = yes; then
3473 # We found a bogon in the path, so make sure we never use it.
3474 set dummy
$ac_cv_prog_CC
3476 if test $# != 0; then
3477 # We chose a different compiler from the bogus one.
3478 # However, it has the same basename, so the bogon will be chosen
3479 # first if we set CC to just the basename; use the full file name.
3481 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3487 if test -n "$CC"; then
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3489 $as_echo "$CC" >&6; }
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3492 $as_echo "no" >&6; }
3497 if test -z "$CC"; then
3498 if test -n "$ac_tool_prefix"; then
3499 for ac_prog
in cl.exe
3501 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3502 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3504 $as_echo_n "checking for $ac_word... " >&6; }
3505 if ${ac_cv_prog_CC+:} false
; then :
3506 $as_echo_n "(cached) " >&6
3508 if test -n "$CC"; then
3509 ac_cv_prog_CC
="$CC" # Let the user override the test.
3511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3515 test -z "$as_dir" && as_dir
=.
3516 for ac_exec_ext
in '' $ac_executable_extensions; do
3517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3518 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3529 if test -n "$CC"; then
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3531 $as_echo "$CC" >&6; }
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3534 $as_echo "no" >&6; }
3538 test -n "$CC" && break
3541 if test -z "$CC"; then
3543 for ac_prog
in cl.exe
3545 # Extract the first word of "$ac_prog", so it can be a program name with args.
3546 set dummy
$ac_prog; ac_word
=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3550 $as_echo_n "(cached) " >&6
3552 if test -n "$ac_ct_CC"; then
3553 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir
=.
3560 for ac_exec_ext
in '' $ac_executable_extensions; do
3561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562 ac_cv_prog_ac_ct_CC
="$ac_prog"
3563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3573 if test -n "$ac_ct_CC"; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3575 $as_echo "$ac_ct_CC" >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3582 test -n "$ac_ct_CC" && break
3585 if test "x$ac_ct_CC" = x
; then
3588 case $cross_compiling:$ac_tool_warned in
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3592 ac_tool_warned
=yes ;;
3601 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3603 as_fn_error $?
"no acceptable C compiler found in \$PATH
3604 See \`config.log' for more details" "$LINENO" 5; }
3606 # Provide some information about the compiler.
3607 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3610 for ac_option
in --version -v -V -qversion; do
3611 { { ac_try
="$ac_compiler $ac_option >&5"
3613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3614 *) ac_try_echo=$ac_try;;
3616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3617 $as_echo "$ac_try_echo"; } >&5
3618 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3620 if test -s conftest.err; then
3622 ... rest of stderr output deleted ...
3623 10q' conftest.err >conftest.er1
3624 cat conftest.er1 >&5
3626 rm -f conftest.er1 conftest.err
3627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3628 test $ac_status = 0; }
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3642 ac_clean_files_save=$ac_clean_files
3643 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3644 # Try to create an executable without -o first, disregard a.out.
3645 # It will help us diagnose broken compilers, and finding out an intuition
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3648 $as_echo_n "checking whether the C compiler works... " >&6; }
3649 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3651 # The possible output files:
3652 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3655 for ac_file in $ac_files
3658 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3659 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3664 if { { ac_try="$ac_link_default"
3666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3667 *) ac_try_echo
=$ac_try;;
3669 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3670 $as_echo "$ac_try_echo"; } >&5
3671 (eval "$ac_link_default") 2>&5
3673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3674 test $ac_status = 0; }; then :
3675 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3676 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3677 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3678 # so that the user can short-circuit this test for compilers unknown to
3680 for ac_file
in $ac_files ''
3682 test -f "$ac_file" ||
continue
3684 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3687 # We found the default executable, but exeext='' is most
3691 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3693 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3695 # We set ac_cv_exeext here because the later test for it is not
3696 # safe: cross compilers may not add the suffix if given an `-o'
3697 # argument, so we may need to know it at that point already.
3698 # Even if this section looks crufty: it has the advantage of
3705 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3710 if test -z "$ac_file"; then :
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3713 $as_echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.
$ac_ext >&5
3716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3718 as_fn_error
77 "C compiler cannot create executables
3719 See \`config.log' for more details" "$LINENO" 5; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3722 $as_echo "yes" >&6; }
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3725 $as_echo_n "checking for C compiler default output file name... " >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3727 $as_echo "$ac_file" >&6; }
3728 ac_exeext
=$ac_cv_exeext
3730 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3731 ac_clean_files
=$ac_clean_files_save
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3733 $as_echo_n "checking for suffix of executables... " >&6; }
3734 if { { ac_try
="$ac_link"
3736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3740 $as_echo "$ac_try_echo"; } >&5
3741 (eval "$ac_link") 2>&5
3743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3744 test $ac_status = 0; }; then :
3745 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3746 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3747 # work properly (i.e., refer to `conftest.exe'), while it won't with
3749 for ac_file
in conftest.exe conftest conftest.
*; do
3750 test -f "$ac_file" ||
continue
3752 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3753 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3759 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3761 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3762 See \`config.log' for more details" "$LINENO" 5; }
3764 rm -f conftest conftest
$ac_cv_exeext
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3766 $as_echo "$ac_cv_exeext" >&6; }
3768 rm -f conftest.
$ac_ext
3769 EXEEXT
=$ac_cv_exeext
3771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h. */
3777 FILE *f = fopen ("conftest.out", "w");
3778 return ferror (f) || fclose (f) != 0;
3784 ac_clean_files
="$ac_clean_files conftest.out"
3785 # Check that the compiler produces executables we can run. If not, either
3786 # the compiler is broken, or we cross compile.
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3788 $as_echo_n "checking whether we are cross compiling... " >&6; }
3789 if test "$cross_compiling" != yes; then
3790 { { ac_try
="$ac_link"
3792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3796 $as_echo "$ac_try_echo"; } >&5
3797 (eval "$ac_link") 2>&5
3799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3800 test $ac_status = 0; }
3801 if { ac_try='./conftest$ac_cv_exeext'
3802 { { case "(($ac_try" in
3803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3804 *) ac_try_echo
=$ac_try;;
3806 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3807 $as_echo "$ac_try_echo"; } >&5
3808 (eval "$ac_try") 2>&5
3810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3811 test $ac_status = 0; }; }; then
3814 if test "$cross_compiling" = maybe
; then
3817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3819 as_fn_error $?
"cannot run C compiled programs.
3820 If you meant to cross compile, use \`--host'.
3821 See \`config.log' for more details" "$LINENO" 5; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3826 $as_echo "$cross_compiling" >&6; }
3828 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3829 ac_clean_files
=$ac_clean_files_save
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3831 $as_echo_n "checking for suffix of object files... " >&6; }
3832 if ${ac_cv_objext+:} false
; then :
3833 $as_echo_n "(cached) " >&6
3835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3846 rm -f conftest.o conftest.obj
3847 if { { ac_try
="$ac_compile"
3849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3853 $as_echo "$ac_try_echo"; } >&5
3854 (eval "$ac_compile") 2>&5
3856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3857 test $ac_status = 0; }; then :
3858 for ac_file in conftest.o conftest.obj conftest.*; do
3859 test -f "$ac_file" || continue;
3861 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3862 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3867 $as_echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3872 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3873 See \
`config.log' for more details" "$LINENO" 5; }
3875 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3878 $as_echo "$ac_cv_objext" >&6; }
3879 OBJEXT=$ac_cv_objext
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3882 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3883 if ${ac_cv_c_compiler_gnu+:} false; then :
3884 $as_echo_n "(cached) " >&6
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3900 if ac_fn_c_try_compile "$LINENO"; then :
3905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3906 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3910 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3911 if test $ac_compiler_gnu = yes; then
3916 ac_test_CFLAGS=${CFLAGS+set}
3917 ac_save_CFLAGS=$CFLAGS
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3919 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3920 if ${ac_cv_prog_cc_g+:} false; then :
3921 $as_echo_n "(cached) " >&6
3923 ac_save_c_werror_flag=$ac_c_werror_flag
3924 ac_c_werror_flag=yes
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3938 if ac_fn_c_try_compile "$LINENO"; then :
3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3953 if ac_fn_c_try_compile "$LINENO"; then :
3956 ac_c_werror_flag=$ac_save_c_werror_flag
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3969 if ac_fn_c_try_compile "$LINENO"; then :
3972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3977 ac_c_werror_flag=$ac_save_c_werror_flag
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3980 $as_echo "$ac_cv_prog_cc_g" >&6; }
3981 if test "$ac_test_CFLAGS" = set; then
3982 CFLAGS=$ac_save_CFLAGS
3983 elif test $ac_cv_prog_cc_g = yes; then
3984 if test "$GCC" = yes; then
3990 if test "$GCC" = yes; then
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3997 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3998 if ${ac_cv_prog_cc_c89+:} false; then :
3999 $as_echo_n "(cached) " >&6
4001 ac_cv_prog_cc_c89=no
4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4007 #include <sys/types.h>
4008 #include <sys/stat.h>
4009 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4010 struct buf { int x; };
4011 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4012 static char *e (p, i)
4018 static char *f (char * (*g) (char **, int), char **p, ...)
4023 s = g (p, va_arg (v,int));
4028 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4029 function prototypes and stuff, but not '\xHH' hex character constants.
4030 These don't provoke an error unfortunately, instead are silently treated
4031 as 'x'. The following induces an error, until -std is added to get
4032 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4033 array size at least. It's necessary to write '\x00'==0 to get something
4034 that's true only with -std. */
4035 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4037 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4038 inside strings and character constants. */
4040 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4042 int test (int i, double x);
4043 struct s1 {int (*f) (int a);};
4044 struct s2 {int (*f) (double a);};
4045 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4051 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4056 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4057 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4059 CC="$ac_save_CC $ac_arg"
4060 if ac_fn_c_try_compile "$LINENO"; then :
4061 ac_cv_prog_cc_c89=$ac_arg
4063 rm -f core conftest.err conftest.$ac_objext
4064 test "x$ac_cv_prog_cc_c89" != "xno" && break
4066 rm -f conftest.$ac_ext
4071 case "x$ac_cv_prog_cc_c89" in
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4074 $as_echo "none needed" >&6; } ;;
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4077 $as_echo "unsupported" >&6; } ;;
4079 CC="$CC $ac_cv_prog_cc_c89"
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4081 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4083 if test "x$ac_cv_prog_cc_c89" != xno; then :
4088 ac_cpp='$CPP $CPPFLAGS'
4089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4092 DEPDIR="${am__leading_dot}deps"
4094 ac_config_commands="$ac_config_commands depfiles"
4097 am_make=${MAKE-make}
4098 cat > confinc << 'END'
4100 @echo this is the am__doit target
4103 # If we don't find an include directive, just comment out the code.
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4105 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4109 # First try GNU make style include.
4110 echo "include confinc" > confmf
4111 # Ignore all kinds of additional output from `make'.
4112 case `$am_make -s -f confmf 2> /dev/null` in #(
4113 *the\ am__doit\ target*)
4119 # Now try BSD make style include.
4120 if test "$am__include" = "#"; then
4121 echo '.include
"confinc"' > confmf
4122 case `$am_make -s -f confmf 2> /dev/null` in #(
4123 *the\ am__doit\ target*)
4124 am__include=.include
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4133 $as_echo "$_am_result" >&6; }
4134 rm -f confinc confmf
4136 # Check whether --enable-dependency-tracking was given.
4137 if test "${enable_dependency_tracking+set}" = set; then :
4138 enableval=$enable_dependency_tracking;
4141 if test "x$enable_dependency_tracking" != xno; then
4142 am_depcomp="$ac_aux_dir/depcomp"
4146 if test "x$enable_dependency_tracking" != xno
; then
4156 depcc
="$CC" am_compiler_list
=
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4159 $as_echo_n "checking dependency style of $depcc... " >&6; }
4160 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4161 $as_echo_n "(cached) " >&6
4163 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4164 # We make a subdir and do the tests there. Otherwise we can end up
4165 # making bogus files that we don't know about and never remove. For
4166 # instance it was reported that on HP-UX the gcc test will end up
4167 # making a dummy file named `D' -- because `-MD' means `put the output
4171 # Copy depcomp to subdir because otherwise we won't find it if we're
4172 # using a relative directory.
4173 cp "$am_depcomp" conftest.dir
4175 # We will build objects and dependencies in a subdirectory because
4176 # it helps to detect inapplicable dependency modes. For instance
4177 # both Tru64's cc and ICC support -MD to output dependencies as a
4178 # side effect of compilation, but ICC will put the dependencies in
4179 # the current directory while Tru64 will put them in the object
4183 am_cv_CC_dependencies_compiler_type
=none
4184 if test "$am_compiler_list" = ""; then
4185 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4188 case " $depcc " in #(
4189 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4192 for depmode
in $am_compiler_list; do
4193 # Setup a source with many dependencies, because some compilers
4194 # like to wrap large dependency lists on column 80 (with \), and
4195 # we should not choose a depcomp mode which is confused by this.
4197 # We need to recreate these files for each test, as the compiler may
4198 # overwrite some of them when testing with obscure command lines.
4199 # This happens at least with the AIX C compiler.
4201 for i
in 1 2 3 4 5 6; do
4202 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4203 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4204 # Solaris 8's {/usr,}/bin/sh.
4205 touch sub
/conftst
$i.h
4207 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4209 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4210 # mode. It turns out that the SunPro C++ compiler does not properly
4211 # handle `-M -o', and we need to detect this. Also, some Intel
4212 # versions had trouble with output in subdirs
4213 am__obj
=sub
/conftest.
${OBJEXT-o}
4214 am__minus_obj
="-o $am__obj"
4217 # This depmode causes a compiler race in universal mode.
4218 test "$am__universal" = false ||
continue
4221 # after this tag, mechanisms are not by side-effect, so they'll
4222 # only be used when explicitly requested
4223 if test "x$enable_dependency_tracking" = xyes
; then
4229 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4230 # This compiler won't grok `-c -o', but also, the minuso test has
4231 # not run yet. These depmodes are late enough in the game, and
4232 # so weak that their functioning should not be impacted.
4233 am__obj
=conftest.
${OBJEXT-o}
4238 if depmode
=$depmode \
4239 source=sub
/conftest.c object
=$am__obj \
4240 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4241 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4242 >/dev
/null
2>conftest.err
&&
4243 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4244 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4245 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4246 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4247 # icc doesn't choke on unknown options, it will just issue warnings
4248 # or remarks (even with -Werror). So we grep stderr for any message
4249 # that says an option was ignored or not supported.
4250 # When given -MP, icc 7.0 and 7.1 complain thusly:
4251 # icc: Command line warning: ignoring option '-M'; no argument required
4252 # The diagnosis changed in icc 8.0:
4253 # icc: Command line remark: option '-MP' not supported
4254 if (grep 'ignoring option' conftest.err ||
4255 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4256 am_cv_CC_dependencies_compiler_type
=$depmode
4265 am_cv_CC_dependencies_compiler_type
=none
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4270 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4271 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4274 test "x$enable_dependency_tracking" != xno \
4275 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4277 am__fastdepCC_FALSE
='#'
4279 am__fastdepCC_TRUE
='#'
4280 am__fastdepCC_FALSE
=
4285 ac_cpp
='$CXXCPP $CPPFLAGS'
4286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4289 if test -z "$CXX"; then
4290 if test -n "$CCC"; then
4293 if test -n "$ac_tool_prefix"; then
4294 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4297 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 $as_echo_n "checking for $ac_word... " >&6; }
4300 if ${ac_cv_prog_CXX+:} false
; then :
4301 $as_echo_n "(cached) " >&6
4303 if test -n "$CXX"; then
4304 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4310 test -z "$as_dir" && as_dir
=.
4311 for ac_exec_ext
in '' $ac_executable_extensions; do
4312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4313 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4324 if test -n "$CXX"; then
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4326 $as_echo "$CXX" >&6; }
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4329 $as_echo "no" >&6; }
4333 test -n "$CXX" && break
4336 if test -z "$CXX"; then
4338 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4340 # Extract the first word of "$ac_prog", so it can be a program name with args.
4341 set dummy
$ac_prog; ac_word
=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
4345 $as_echo_n "(cached) " >&6
4347 if test -n "$ac_ct_CXX"; then
4348 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4354 test -z "$as_dir" && as_dir
=.
4355 for ac_exec_ext
in '' $ac_executable_extensions; do
4356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4357 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4368 if test -n "$ac_ct_CXX"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4370 $as_echo "$ac_ct_CXX" >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4377 test -n "$ac_ct_CXX" && break
4380 if test "x$ac_ct_CXX" = x
; then
4383 case $cross_compiling:$ac_tool_warned in
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4387 ac_tool_warned
=yes ;;
4395 # Provide some information about the compiler.
4396 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4399 for ac_option
in --version -v -V -qversion; do
4400 { { ac_try
="$ac_compiler $ac_option >&5"
4402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4403 *) ac_try_echo=$ac_try;;
4405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4406 $as_echo "$ac_try_echo"; } >&5
4407 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4409 if test -s conftest.err; then
4411 ... rest of stderr output deleted ...
4412 10q' conftest.err >conftest.er1
4413 cat conftest.er1 >&5
4415 rm -f conftest.er1 conftest.err
4416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4417 test $ac_status = 0; }
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4421 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4422 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4426 /* end confdefs.h. */
4439 if ac_fn_cxx_try_compile "$LINENO"; then :
4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4445 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4449 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4450 if test $ac_compiler_gnu = yes; then
4455 ac_test_CXXFLAGS=${CXXFLAGS+set}
4456 ac_save_CXXFLAGS=$CXXFLAGS
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4458 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4459 if ${ac_cv_prog_cxx_g+:} false; then :
4460 $as_echo_n "(cached) " >&6
4462 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4463 ac_cxx_werror_flag=yes
4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4477 if ac_fn_cxx_try_compile "$LINENO"; then :
4478 ac_cv_prog_cxx_g=yes
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4492 if ac_fn_cxx_try_compile "$LINENO"; then :
4495 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h. */
4508 if ac_fn_cxx_try_compile "$LINENO"; then :
4509 ac_cv_prog_cxx_g=yes
4511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4516 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4519 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4520 if test "$ac_test_CXXFLAGS" = set; then
4521 CXXFLAGS=$ac_save_CXXFLAGS
4522 elif test $ac_cv_prog_cxx_g = yes; then
4523 if test "$GXX" = yes; then
4529 if test "$GXX" = yes; then
4536 ac_cpp='$CPP $CPPFLAGS'
4537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4541 depcc="$CXX" am_compiler_list=
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4544 $as_echo_n "checking dependency style of $depcc... " >&6; }
4545 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4546 $as_echo_n "(cached) " >&6
4548 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4549 # We make a subdir and do the tests there. Otherwise we can end up
4550 # making bogus files that we don't know about and never remove. For
4551 # instance it was reported that on HP-UX the gcc test will end up
4552 # making a dummy file named `D
' -- because `-MD' means
`put the output
4556 # Copy depcomp to subdir because otherwise we won't find it if we're
4557 # using a relative directory.
4558 cp "$am_depcomp" conftest.dir
4560 # We will build objects and dependencies in a subdirectory because
4561 # it helps to detect inapplicable dependency modes. For instance
4562 # both Tru64's cc and ICC support -MD to output dependencies as a
4563 # side effect of compilation, but ICC will put the dependencies in
4564 # the current directory while Tru64 will put them in the object
4568 am_cv_CXX_dependencies_compiler_type=none
4569 if test "$am_compiler_list" = ""; then
4570 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4573 case " $depcc " in #(
4574 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4577 for depmode in $am_compiler_list; do
4578 # Setup a source with many dependencies, because some compilers
4579 # like to wrap large dependency lists on column 80 (with \), and
4580 # we should not choose a depcomp mode which is confused by this.
4582 # We need to recreate these files for each test, as the compiler may
4583 # overwrite some of them when testing with obscure command lines.
4584 # This happens at least with the AIX C compiler.
4586 for i in 1 2 3 4 5 6; do
4587 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4588 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4589 # Solaris 8's
{/usr
,}/bin
/sh.
4590 touch sub
/conftst
$i.h
4592 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4594 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4595 # mode. It turns out that the SunPro C++ compiler does not properly
4596 # handle `-M -o', and we need to detect this. Also, some Intel
4597 # versions had trouble with output in subdirs
4598 am__obj
=sub
/conftest.
${OBJEXT-o}
4599 am__minus_obj
="-o $am__obj"
4602 # This depmode causes a compiler race in universal mode.
4603 test "$am__universal" = false ||
continue
4606 # after this tag, mechanisms are not by side-effect, so they'll
4607 # only be used when explicitly requested
4608 if test "x$enable_dependency_tracking" = xyes
; then
4614 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4615 # This compiler won't grok `-c -o', but also, the minuso test has
4616 # not run yet. These depmodes are late enough in the game, and
4617 # so weak that their functioning should not be impacted.
4618 am__obj
=conftest.
${OBJEXT-o}
4623 if depmode
=$depmode \
4624 source=sub
/conftest.c object
=$am__obj \
4625 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4626 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4627 >/dev
/null
2>conftest.err
&&
4628 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4629 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4630 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4631 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4632 # icc doesn't choke on unknown options, it will just issue warnings
4633 # or remarks (even with -Werror). So we grep stderr for any message
4634 # that says an option was ignored or not supported.
4635 # When given -MP, icc 7.0 and 7.1 complain thusly:
4636 # icc: Command line warning: ignoring option '-M'; no argument required
4637 # The diagnosis changed in icc 8.0:
4638 # icc: Command line remark: option '-MP' not supported
4639 if (grep 'ignoring option' conftest.err ||
4640 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4641 am_cv_CXX_dependencies_compiler_type
=$depmode
4650 am_cv_CXX_dependencies_compiler_type
=none
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4655 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4656 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4659 test "x$enable_dependency_tracking" != xno \
4660 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4661 am__fastdepCXX_TRUE
=
4662 am__fastdepCXX_FALSE
='#'
4664 am__fastdepCXX_TRUE
='#'
4665 am__fastdepCXX_FALSE
=
4669 if test "x$CC" != xcc
; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4671 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4674 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4676 set dummy
$CC; ac_cc
=`$as_echo "$2" |
4677 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4678 if eval \
${ac_cv_prog_cc_${ac_cc}_c_o+:} false
; then :
4679 $as_echo_n "(cached) " >&6
4681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4692 # Make sure it works both with $CC and with simple cc.
4693 # We do the test twice because some compilers refuse to overwrite an
4694 # existing .o file with -o, though they will create one.
4695 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4697 if { { case "(($ac_try" in
4698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4699 *) ac_try_echo=$ac_try;;
4701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4702 $as_echo "$ac_try_echo"; } >&5
4703 (eval "$ac_try") 2>&5
4705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4706 test $ac_status = 0; } &&
4707 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4709 *) ac_try_echo
=$ac_try;;
4711 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4712 $as_echo "$ac_try_echo"; } >&5
4713 (eval "$ac_try") 2>&5
4715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4716 test $ac_status = 0; };
4718 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4719 if test "x$CC" != xcc
; then
4720 # Test first that cc exists at all.
4721 if { ac_try
='cc -c conftest.$ac_ext >&5'
4722 { { case "(($ac_try" in
4723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4724 *) ac_try_echo=$ac_try;;
4726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4727 $as_echo "$ac_try_echo"; } >&5
4728 (eval "$ac_try") 2>&5
4730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4731 test $ac_status = 0; }; }; then
4732 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4734 if { { case "(($ac_try" in
4735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4736 *) ac_try_echo
=$ac_try;;
4738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_try") 2>&5
4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4743 test $ac_status = 0; } &&
4744 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4746 *) ac_try_echo=$ac_try;;
4748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4749 $as_echo "$ac_try_echo"; } >&5
4750 (eval "$ac_try") 2>&5
4752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4753 test $ac_status = 0; };
4758 # cc exists but doesn't like -o.
4759 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4764 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4766 rm -f core conftest*
4769 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4771 $as_echo "yes" >&6; }
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4774 $as_echo "no" >&6; }
4776 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4780 # FIXME: we rely on the cache variable name because
4781 # there is no other way.
4783 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4784 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4785 if test "$am_t" != yes; then
4786 # Losing compiler, so override with the script.
4787 # FIXME: It is wrong to rewrite CC.
4788 # But if we don't then we get into trouble of one sort or another.
4789 # A longer-term fix would be to have automake use am__CC in this case,
4790 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4791 CC="$am_aux_dir/compile $CC"
4796 if test "x$remember_set_CFLAGS" = "x"
4798 if test "$CFLAGS" = "-g -O2"
4801 elif test "$CFLAGS" = "-g"
4807 if test "x$remember_set_CXXFLAGS" = "x"
4809 if test "$CXXFLAGS" = "-g -O2"
4812 elif test "$CXXFLAGS" = "-g"
4818 # AC_PROG_CXX will return "g++" even if no c++ compiler is installed.
4819 # Check for that case, and just disable c++ code if g++ doesn't run.
4821 ac_cpp='$CXXCPP $CPPFLAGS'
4822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4828 /* end confdefs.h. */
4838 if ac_fn_cxx_try_compile "$LINENO"; then :
4841 CXX=""; CXXCP=""; CXXFLAGS=""
4843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845 ac_cpp='$CPP $CPPFLAGS'
4846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4851 # Check for a 64-bit integer type
4854 ac_cpp='$CPP $CPPFLAGS'
4855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4859 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4860 # On Suns, sometimes $CPP names a directory.
4861 if test -n "$CPP" && test -d "$CPP"; then
4864 if test -z "$CPP"; then
4865 if ${ac_cv_prog_CPP+:} false; then :
4866 $as_echo_n "(cached) " >&6
4868 # Double quotes because CPP needs to be expanded
4869 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4872 for ac_c_preproc_warn_flag in '' yes
4874 # Use a header file that comes with gcc, so configuring glibc
4875 # with a fresh cross-compiler works.
4876 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4877 # <limits.h> exists even on freestanding compilers.
4878 # On the NeXT, cc -E runs the code through the compiler's parser,
4879 # not just through cpp. "Syntax error" is here to catch this case.
4880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881 /* end confdefs.h. */
4883 # include <limits.h>
4885 # include <assert.h>
4889 if ac_fn_c_try_cpp "$LINENO"; then :
4892 # Broken: fails on valid input.
4895 rm -f conftest.err conftest.i conftest.$ac_ext
4897 # OK, works on sane cases. Now check whether nonexistent headers
4898 # can be detected and how.
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4901 #include <ac_nonexistent.h>
4903 if ac_fn_c_try_cpp "$LINENO"; then :
4904 # Broken: success on invalid input.
4907 # Passes both tests.
4911 rm -f conftest.err conftest.i conftest.$ac_ext
4914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4915 rm -f conftest.i conftest.err conftest.
$ac_ext
4916 if $ac_preproc_ok; then :
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4929 $as_echo "$CPP" >&6; }
4931 for ac_c_preproc_warn_flag
in '' yes
4933 # Use a header file that comes with gcc, so configuring glibc
4934 # with a fresh cross-compiler works.
4935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4936 # <limits.h> exists even on freestanding compilers.
4937 # On the NeXT, cc -E runs the code through the compiler's parser,
4938 # not just through cpp. "Syntax error" is here to catch this case.
4939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4942 # include <limits.h>
4944 # include <assert.h>
4948 if ac_fn_c_try_cpp
"$LINENO"; then :
4951 # Broken: fails on valid input.
4954 rm -f conftest.err conftest.i conftest.
$ac_ext
4956 # OK, works on sane cases. Now check whether nonexistent headers
4957 # can be detected and how.
4958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4960 #include <ac_nonexistent.h>
4962 if ac_fn_c_try_cpp
"$LINENO"; then :
4963 # Broken: success on invalid input.
4966 # Passes both tests.
4970 rm -f conftest.err conftest.i conftest.
$ac_ext
4973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4974 rm -f conftest.i conftest.err conftest.
$ac_ext
4975 if $ac_preproc_ok; then :
4978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4980 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4981 See \`config.log' for more details" "$LINENO" 5; }
4985 ac_cpp
='$CPP $CPPFLAGS'
4986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4992 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4993 if ${ac_cv_path_GREP+:} false
; then :
4994 $as_echo_n "(cached) " >&6
4996 if test -z "$GREP"; then
4997 ac_path_GREP_found
=false
4998 # Loop through the user's path and test for each of PROGNAME-LIST
4999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5000 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5003 test -z "$as_dir" && as_dir
=.
5004 for ac_prog
in grep ggrep
; do
5005 for ac_exec_ext
in '' $ac_executable_extensions; do
5006 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5007 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5008 # Check for GNU ac_path_GREP and select it if it is found.
5009 # Check for GNU $ac_path_GREP
5010 case `"$ac_path_GREP" --version 2>&1` in
5012 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5015 $as_echo_n 0123456789 >"conftest.in"
5018 cat "conftest.in" "conftest.in" >"conftest.tmp"
5019 mv "conftest.tmp" "conftest.in"
5020 cp "conftest.in" "conftest.nl"
5021 $as_echo 'GREP' >> "conftest.nl"
5022 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5023 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5024 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5025 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5026 # Best one so far, save it but keep looking for a better one
5027 ac_cv_path_GREP
="$ac_path_GREP"
5028 ac_path_GREP_max
=$ac_count
5030 # 10*(2^10) chars as input seems more than enough
5031 test $ac_count -gt 10 && break
5033 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5036 $ac_path_GREP_found && break 3
5041 if test -z "$ac_cv_path_GREP"; then
5042 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5045 ac_cv_path_GREP
=$GREP
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5050 $as_echo "$ac_cv_path_GREP" >&6; }
5051 GREP
="$ac_cv_path_GREP"
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5055 $as_echo_n "checking for egrep... " >&6; }
5056 if ${ac_cv_path_EGREP+:} false
; then :
5057 $as_echo_n "(cached) " >&6
5059 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5060 then ac_cv_path_EGREP
="$GREP -E"
5062 if test -z "$EGREP"; then
5063 ac_path_EGREP_found
=false
5064 # Loop through the user's path and test for each of PROGNAME-LIST
5065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5066 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5069 test -z "$as_dir" && as_dir
=.
5070 for ac_prog
in egrep; do
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5073 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5074 # Check for GNU ac_path_EGREP and select it if it is found.
5075 # Check for GNU $ac_path_EGREP
5076 case `"$ac_path_EGREP" --version 2>&1` in
5078 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5081 $as_echo_n 0123456789 >"conftest.in"
5084 cat "conftest.in" "conftest.in" >"conftest.tmp"
5085 mv "conftest.tmp" "conftest.in"
5086 cp "conftest.in" "conftest.nl"
5087 $as_echo 'EGREP' >> "conftest.nl"
5088 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5089 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5090 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5091 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5092 # Best one so far, save it but keep looking for a better one
5093 ac_cv_path_EGREP
="$ac_path_EGREP"
5094 ac_path_EGREP_max
=$ac_count
5096 # 10*(2^10) chars as input seems more than enough
5097 test $ac_count -gt 10 && break
5099 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5102 $ac_path_EGREP_found && break 3
5107 if test -z "$ac_cv_path_EGREP"; then
5108 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5111 ac_cv_path_EGREP
=$EGREP
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5117 $as_echo "$ac_cv_path_EGREP" >&6; }
5118 EGREP
="$ac_cv_path_EGREP"
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5122 $as_echo_n "checking for ANSI C header files... " >&6; }
5123 if ${ac_cv_header_stdc+:} false
; then :
5124 $as_echo_n "(cached) " >&6
5126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5127 /* end confdefs.h. */
5141 if ac_fn_c_try_compile
"$LINENO"; then :
5142 ac_cv_header_stdc
=yes
5144 ac_cv_header_stdc
=no
5146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5148 if test $ac_cv_header_stdc = yes; then
5149 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5151 /* end confdefs.h. */
5155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5156 $EGREP "memchr" >/dev
/null
2>&1; then :
5159 ac_cv_header_stdc
=no
5165 if test $ac_cv_header_stdc = yes; then
5166 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h. */
5172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5173 $EGREP "free" >/dev
/null
2>&1; then :
5176 ac_cv_header_stdc
=no
5182 if test $ac_cv_header_stdc = yes; then
5183 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5184 if test "$cross_compiling" = yes; then :
5187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5188 /* end confdefs.h. */
5191 #if ((' ' & 0x0FF) == 0x020)
5192 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5193 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5195 # define ISLOWER(c) \
5196 (('a' <= (c) && (c) <= 'i') \
5197 || ('j' <= (c) && (c) <= 'r') \
5198 || ('s' <= (c) && (c) <= 'z'))
5199 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5202 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5207 for (i = 0; i < 256; i++)
5208 if (XOR (islower (i), ISLOWER (i))
5209 || toupper (i) != TOUPPER (i))
5214 if ac_fn_c_try_run
"$LINENO"; then :
5217 ac_cv_header_stdc
=no
5219 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5220 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5226 $as_echo "$ac_cv_header_stdc" >&6; }
5227 if test $ac_cv_header_stdc = yes; then
5229 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5233 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5234 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5235 inttypes.h stdint.h unistd.h
5237 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5238 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5240 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5241 cat >>confdefs.h
<<_ACEOF
5242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5250 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
5251 case $ac_cv_c_int64_t in #(
5255 cat >>confdefs.h
<<_ACEOF
5256 #define int64_t $ac_cv_c_int64_t
5263 # Make sure we can run config.sub.
5264 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5265 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5268 $as_echo_n "checking build system type... " >&6; }
5269 if ${ac_cv_build+:} false
; then :
5270 $as_echo_n "(cached) " >&6
5272 ac_build_alias
=$build_alias
5273 test "x$ac_build_alias" = x
&&
5274 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5275 test "x$ac_build_alias" = x
&&
5276 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5277 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5278 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5282 $as_echo "$ac_cv_build" >&6; }
5283 case $ac_cv_build in
5285 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5288 ac_save_IFS
=$IFS; IFS
='-'
5294 # Remember, the first character of IFS is used to create $*,
5295 # except with old shells:
5298 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5302 $as_echo_n "checking host system type... " >&6; }
5303 if ${ac_cv_host+:} false
; then :
5304 $as_echo_n "(cached) " >&6
5306 if test "x$host_alias" = x
; then
5307 ac_cv_host
=$ac_cv_build
5309 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5310 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5315 $as_echo "$ac_cv_host" >&6; }
5318 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5321 ac_save_IFS
=$IFS; IFS
='-'
5327 # Remember, the first character of IFS is used to create $*,
5328 # except with old shells:
5331 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5334 enable_win32_dll
=yes
5337 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
5338 if test -n "$ac_tool_prefix"; then
5339 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5340 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_AS+:} false
; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$AS"; then
5347 ac_cv_prog_AS
="$AS" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5356 ac_cv_prog_AS
="${ac_tool_prefix}as"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 if test -n "$AS"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5369 $as_echo "$AS" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5377 if test -z "$ac_cv_prog_AS"; then
5379 # Extract the first word of "as", so it can be a program name with args.
5380 set dummy as
; ac_word
=$2
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382 $as_echo_n "checking for $ac_word... " >&6; }
5383 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
5384 $as_echo_n "(cached) " >&6
5386 if test -n "$ac_ct_AS"; then
5387 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir
=.
5394 for ac_exec_ext
in '' $ac_executable_extensions; do
5395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5396 ac_cv_prog_ac_ct_AS
="as"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5406 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5407 if test -n "$ac_ct_AS"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5409 $as_echo "$ac_ct_AS" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5415 if test "x$ac_ct_AS" = x
; then
5418 case $cross_compiling:$ac_tool_warned in
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5422 ac_tool_warned
=yes ;;
5430 if test -n "$ac_tool_prefix"; then
5431 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5432 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5436 $as_echo_n "(cached) " >&6
5438 if test -n "$DLLTOOL"; then
5439 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5445 test -z "$as_dir" && as_dir
=.
5446 for ac_exec_ext
in '' $ac_executable_extensions; do
5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5448 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 DLLTOOL
=$ac_cv_prog_DLLTOOL
5459 if test -n "$DLLTOOL"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5461 $as_echo "$DLLTOOL" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5469 if test -z "$ac_cv_prog_DLLTOOL"; then
5470 ac_ct_DLLTOOL
=$DLLTOOL
5471 # Extract the first word of "dlltool", so it can be a program name with args.
5472 set dummy dlltool
; ac_word
=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
5476 $as_echo_n "(cached) " >&6
5478 if test -n "$ac_ct_DLLTOOL"; then
5479 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5485 test -z "$as_dir" && as_dir
=.
5486 for ac_exec_ext
in '' $ac_executable_extensions; do
5487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5488 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5499 if test -n "$ac_ct_DLLTOOL"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5501 $as_echo "$ac_ct_DLLTOOL" >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5507 if test "x$ac_ct_DLLTOOL" = x
; then
5510 case $cross_compiling:$ac_tool_warned in
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5514 ac_tool_warned
=yes ;;
5516 DLLTOOL
=$ac_ct_DLLTOOL
5519 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5522 if test -n "$ac_tool_prefix"; then
5523 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5524 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5528 $as_echo_n "(cached) " >&6
5530 if test -n "$OBJDUMP"; then
5531 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir
=.
5538 for ac_exec_ext
in '' $ac_executable_extensions; do
5539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5540 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5550 OBJDUMP
=$ac_cv_prog_OBJDUMP
5551 if test -n "$OBJDUMP"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5553 $as_echo "$OBJDUMP" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5561 if test -z "$ac_cv_prog_OBJDUMP"; then
5562 ac_ct_OBJDUMP
=$OBJDUMP
5563 # Extract the first word of "objdump", so it can be a program name with args.
5564 set dummy objdump
; ac_word
=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5568 $as_echo_n "(cached) " >&6
5570 if test -n "$ac_ct_OBJDUMP"; then
5571 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5577 test -z "$as_dir" && as_dir
=.
5578 for ac_exec_ext
in '' $ac_executable_extensions; do
5579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5580 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5591 if test -n "$ac_ct_OBJDUMP"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5593 $as_echo "$ac_ct_OBJDUMP" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5599 if test "x$ac_ct_OBJDUMP" = x
; then
5602 case $cross_compiling:$ac_tool_warned in
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5606 ac_tool_warned
=yes ;;
5608 OBJDUMP
=$ac_ct_OBJDUMP
5611 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5617 test -z "$AS" && AS
=as
5623 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5629 test -z "$OBJDUMP" && OBJDUMP
=objdump
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5640 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5646 macro_revision
='1.3293'
5660 ltmain
="$ac_aux_dir/ltmain.sh"
5662 # Backslashify metacharacters that are still active within
5663 # double-quoted strings.
5664 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5666 # Same as above, but do not quote variable references.
5667 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5669 # Sed substitution to delay expansion of an escaped shell variable in a
5670 # double_quote_subst'ed string.
5671 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5673 # Sed substitution to delay expansion of an escaped single quote.
5674 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5676 # Sed substitution to avoid accidental globbing in evaled expressions
5677 no_glob_subst
='s/\*/\\\*/g'
5679 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5680 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5681 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5684 $as_echo_n "checking how to print strings... " >&6; }
5685 # Test print first, because it will be a builtin if present.
5686 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5687 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5689 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5692 # Use this function as a fallback that always works.
5693 func_fallback_echo ()
5695 eval 'cat <<_LTECHO_EOF
5699 ECHO='func_fallback_echo
'
5702 # func_echo_all arg...
5703 # Invoke $ECHO with all args, space-separated.
5710 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5711 $as_echo "printf" >&6; } ;;
5712 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5713 $as_echo "print -r" >&6; } ;;
5714 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5715 $as_echo "cat" >&6; } ;;
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5732 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5733 if ${ac_cv_path_SED+:} false; then :
5734 $as_echo_n "(cached) " >&6
5736 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5737 for ac_i in 1 2 3 4 5 6 7; do
5738 ac_script="$ac_script$as_nl$ac_script"
5740 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5741 { ac_script=; unset ac_script;}
5742 if test -z "$SED"; then
5743 ac_path_SED_found=false
5744 # Loop through the user's path and
test for each of PROGNAME-LIST
5745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5749 test -z "$as_dir" && as_dir
=.
5750 for ac_prog
in sed gsed
; do
5751 for ac_exec_ext
in '' $ac_executable_extensions; do
5752 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5753 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5754 # Check for GNU ac_path_SED and select it if it is found.
5755 # Check for GNU $ac_path_SED
5756 case `"$ac_path_SED" --version 2>&1` in
5758 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5761 $as_echo_n 0123456789 >"conftest.in"
5764 cat "conftest.in" "conftest.in" >"conftest.tmp"
5765 mv "conftest.tmp" "conftest.in"
5766 cp "conftest.in" "conftest.nl"
5767 $as_echo '' >> "conftest.nl"
5768 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5769 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5770 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5771 if test $ac_count -gt ${ac_path_SED_max-0}; then
5772 # Best one so far, save it but keep looking for a better one
5773 ac_cv_path_SED
="$ac_path_SED"
5774 ac_path_SED_max
=$ac_count
5776 # 10*(2^10) chars as input seems more than enough
5777 test $ac_count -gt 10 && break
5779 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5782 $ac_path_SED_found && break 3
5787 if test -z "$ac_cv_path_SED"; then
5788 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5796 $as_echo "$ac_cv_path_SED" >&6; }
5797 SED
="$ac_cv_path_SED"
5800 test -z "$SED" && SED
=sed
5801 Xsed
="$SED -e 1s/^X//"
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5814 $as_echo_n "checking for fgrep... " >&6; }
5815 if ${ac_cv_path_FGREP+:} false
; then :
5816 $as_echo_n "(cached) " >&6
5818 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5819 then ac_cv_path_FGREP
="$GREP -F"
5821 if test -z "$FGREP"; then
5822 ac_path_FGREP_found
=false
5823 # Loop through the user's path and test for each of PROGNAME-LIST
5824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5825 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5828 test -z "$as_dir" && as_dir
=.
5829 for ac_prog
in fgrep
; do
5830 for ac_exec_ext
in '' $ac_executable_extensions; do
5831 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5832 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5833 # Check for GNU ac_path_FGREP and select it if it is found.
5834 # Check for GNU $ac_path_FGREP
5835 case `"$ac_path_FGREP" --version 2>&1` in
5837 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5840 $as_echo_n 0123456789 >"conftest.in"
5843 cat "conftest.in" "conftest.in" >"conftest.tmp"
5844 mv "conftest.tmp" "conftest.in"
5845 cp "conftest.in" "conftest.nl"
5846 $as_echo 'FGREP' >> "conftest.nl"
5847 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5848 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5849 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5850 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5851 # Best one so far, save it but keep looking for a better one
5852 ac_cv_path_FGREP
="$ac_path_FGREP"
5853 ac_path_FGREP_max
=$ac_count
5855 # 10*(2^10) chars as input seems more than enough
5856 test $ac_count -gt 10 && break
5858 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5861 $ac_path_FGREP_found && break 3
5866 if test -z "$ac_cv_path_FGREP"; then
5867 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5870 ac_cv_path_FGREP
=$FGREP
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5876 $as_echo "$ac_cv_path_FGREP" >&6; }
5877 FGREP
="$ac_cv_path_FGREP"
5880 test -z "$GREP" && GREP
=grep
5900 # Check whether --with-gnu-ld was given.
5901 if test "${with_gnu_ld+set}" = set; then :
5902 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5908 if test "$GCC" = yes; then
5909 # Check if gcc -print-prog-name=ld gives a path.
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5911 $as_echo_n "checking for ld used by $CC... " >&6; }
5914 # gcc leaves a trailing carriage return which upsets mingw
5915 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5917 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5920 # Accept absolute paths.
5922 re_direlt
='/[^/][^/]*/\.\./'
5923 # Canonicalize the pathname of ld
5924 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5925 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5926 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5928 test -z "$LD" && LD
="$ac_prog"
5931 # If it fails, then pretend we aren't using GCC.
5935 # If it is relative, then search for the first ld in PATH.
5939 elif test "$with_gnu_ld" = yes; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5941 $as_echo_n "checking for GNU ld... " >&6; }
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5944 $as_echo_n "checking for non-GNU ld... " >&6; }
5946 if ${lt_cv_path_LD+:} false
; then :
5947 $as_echo_n "(cached) " >&6
5949 if test -z "$LD"; then
5950 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5951 for ac_dir
in $PATH; do
5953 test -z "$ac_dir" && ac_dir
=.
5954 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5955 lt_cv_path_LD
="$ac_dir/$ac_prog"
5956 # Check to see if the program is GNU ld. I'd rather use --version,
5957 # but apparently some variants of GNU ld only accept -v.
5958 # Break only if it was the GNU/non-GNU ld that we prefer.
5959 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5960 *GNU
* |
*'with BFD'*)
5961 test "$with_gnu_ld" != no
&& break
5964 test "$with_gnu_ld" != yes && break
5971 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5976 if test -n "$LD"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5978 $as_echo "$LD" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5983 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5985 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5986 if ${lt_cv_prog_gnu_ld+:} false
; then :
5987 $as_echo_n "(cached) " >&6
5989 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5990 case `$LD -v 2>&1 </dev/null` in
5991 *GNU
* |
*'with BFD'*)
5992 lt_cv_prog_gnu_ld
=yes
5995 lt_cv_prog_gnu_ld
=no
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6000 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6001 with_gnu_ld
=$lt_cv_prog_gnu_ld
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6012 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6013 if ${lt_cv_path_NM+:} false
; then :
6014 $as_echo_n "(cached) " >&6
6016 if test -n "$NM"; then
6017 # Let the user override the test.
6020 lt_nm_to_check
="${ac_tool_prefix}nm"
6021 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6022 lt_nm_to_check
="$lt_nm_to_check nm"
6024 for lt_tmp_nm
in $lt_nm_to_check; do
6025 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6026 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6028 test -z "$ac_dir" && ac_dir
=.
6029 tmp_nm
="$ac_dir/$lt_tmp_nm"
6030 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6031 # Check to see if the nm accepts a BSD-compat flag.
6032 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6033 # nm: unknown option "B" ignored
6034 # Tru64's nm complains that /dev/null is an invalid object file
6035 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6036 */dev
/null
* |
*'Invalid file or object type'*)
6037 lt_cv_path_NM
="$tmp_nm -B"
6041 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6043 lt_cv_path_NM
="$tmp_nm -p"
6047 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6048 continue # so that we can try to find one that supports BSD flags
6057 : ${lt_cv_path_NM=no}
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6061 $as_echo "$lt_cv_path_NM" >&6; }
6062 if test "$lt_cv_path_NM" != "no"; then
6065 # Didn't find any BSD compatible name lister, look for dumpbin.
6066 if test -n "$DUMPBIN"; then :
6067 # Let the user override the test.
6069 if test -n "$ac_tool_prefix"; then
6070 for ac_prog
in dumpbin
"link -dump"
6072 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6073 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6077 $as_echo_n "(cached) " >&6
6079 if test -n "$DUMPBIN"; then
6080 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir
=.
6087 for ac_exec_ext
in '' $ac_executable_extensions; do
6088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6089 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 DUMPBIN
=$ac_cv_prog_DUMPBIN
6100 if test -n "$DUMPBIN"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6102 $as_echo "$DUMPBIN" >&6; }
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6109 test -n "$DUMPBIN" && break
6112 if test -z "$DUMPBIN"; then
6113 ac_ct_DUMPBIN
=$DUMPBIN
6114 for ac_prog
in dumpbin
"link -dump"
6116 # Extract the first word of "$ac_prog", so it can be a program name with args.
6117 set dummy
$ac_prog; ac_word
=$2
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119 $as_echo_n "checking for $ac_word... " >&6; }
6120 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6121 $as_echo_n "(cached) " >&6
6123 if test -n "$ac_ct_DUMPBIN"; then
6124 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6130 test -z "$as_dir" && as_dir
=.
6131 for ac_exec_ext
in '' $ac_executable_extensions; do
6132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6133 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6143 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6144 if test -n "$ac_ct_DUMPBIN"; then
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6146 $as_echo "$ac_ct_DUMPBIN" >&6; }
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6149 $as_echo "no" >&6; }
6153 test -n "$ac_ct_DUMPBIN" && break
6156 if test "x$ac_ct_DUMPBIN" = x
; then
6159 case $cross_compiling:$ac_tool_warned in
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6163 ac_tool_warned
=yes ;;
6165 DUMPBIN
=$ac_ct_DUMPBIN
6169 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6171 DUMPBIN
="$DUMPBIN -symbols"
6179 if test "$DUMPBIN" != ":"; then
6183 test -z "$NM" && NM
=nm
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6191 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6192 if ${lt_cv_nm_interface+:} false
; then :
6193 $as_echo_n "(cached) " >&6
6195 lt_cv_nm_interface
="BSD nm"
6196 echo "int some_variable = 0;" > conftest.
$ac_ext
6197 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6198 (eval "$ac_compile" 2>conftest.err
)
6199 cat conftest.err
>&5
6200 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6201 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6202 cat conftest.err
>&5
6203 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6204 cat conftest.out
>&5
6205 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6206 lt_cv_nm_interface
="MS dumpbin"
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6211 $as_echo "$lt_cv_nm_interface" >&6; }
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6214 $as_echo_n "checking whether ln -s works... " >&6; }
6216 if test "$LN_S" = "ln -s"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6218 $as_echo "yes" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6221 $as_echo "no, using $LN_S" >&6; }
6224 # find the maximum length of command line arguments
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6226 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6227 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6228 $as_echo_n "(cached) " >&6
6235 # On DJGPP, this test can blow up pretty badly due to problems in libc
6236 # (any single argument exceeding 2000 bytes causes a buffer overrun
6237 # during glob expansion). Even if it were fixed, the result of this
6238 # check would be larger than it should be.
6239 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6243 # Under GNU Hurd, this test is not required because there is
6244 # no limit to the length of command line arguments.
6245 # Libtool will interpret -1 as no limit whatsoever
6246 lt_cv_sys_max_cmd_len
=-1;
6249 cygwin
* | mingw
* | cegcc
*)
6250 # On Win9x/ME, this test blows up -- it succeeds, but takes
6251 # about 5 minutes as the teststring grows exponentially.
6252 # Worse, since 9x/ME are not pre-emptively multitasking,
6253 # you end up with a "frozen" computer, even though with patience
6254 # the test eventually succeeds (with a max line length of 256k).
6255 # Instead, let's just punt: use the minimum linelength reported by
6256 # all of the supported platforms: 8192 (on NT/2K/XP).
6257 lt_cv_sys_max_cmd_len
=8192;
6261 # On MiNT this can take a long time and run out of memory.
6262 lt_cv_sys_max_cmd_len
=8192;
6266 # On AmigaOS with pdksh, this test takes hours, literally.
6267 # So we just punt and use a minimum line length of 8192.
6268 lt_cv_sys_max_cmd_len
=8192;
6271 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6272 # This has been around since 386BSD, at least. Likely further.
6273 if test -x /sbin
/sysctl
; then
6274 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6275 elif test -x /usr
/sbin
/sysctl
; then
6276 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6278 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6280 # And add a safety zone
6281 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6282 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6286 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6287 lt_cv_sys_max_cmd_len
=196608
6291 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6292 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6293 # nice to cause kernel panics so lets avoid the loop below.
6294 # First set a reasonable default.
6295 lt_cv_sys_max_cmd_len
=16384
6297 if test -x /sbin
/sysconfig
; then
6298 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6299 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6304 lt_cv_sys_max_cmd_len
=102400
6306 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6307 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6308 if test -n "$kargmax"; then
6309 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6311 lt_cv_sys_max_cmd_len
=32768
6315 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6316 if test -n "$lt_cv_sys_max_cmd_len"; then
6317 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6318 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6320 # Make teststring a little bigger before we do anything with it.
6321 # a 1K string should be a reasonable start.
6322 for i
in 1 2 3 4 5 6 7 8 ; do
6323 teststring
=$teststring$teststring
6325 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6326 # If test is not a shell built-in, we'll probably end up computing a
6327 # maximum length that is only half of the actual maximum length, but
6329 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6330 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6331 test $i != 17 # 1/2 MB should be enough
6334 teststring
=$teststring$teststring
6336 # Only check the string length outside the loop.
6337 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6339 # Add a significant safety factor because C++ compilers can tack on
6340 # massive amounts of additional arguments before passing them to the
6341 # linker. It appears as though 1/2 is a usable value.
6342 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6349 if test -n $lt_cv_sys_max_cmd_len ; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6351 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6354 $as_echo "none" >&6; }
6356 max_cmd_len
=$lt_cv_sys_max_cmd_len
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6368 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6369 # Try some XSI features
6372 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6374 && eval 'test $(( 1 + 1 )) -eq 2 \
6375 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6378 $as_echo "$xsi_shell" >&6; }
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6382 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6384 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6386 && lt_shell_append=yes
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6388 $as_echo "$lt_shell_append" >&6; }
6391 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6401 # test EBCDIC or ASCII
6402 case `echo X|tr X '\101'` in
6403 A) # ASCII based system
6404 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6405 lt_SP2NL='tr \040 \012'
6406 lt_NL2SP='tr \015\012 \040\040'
6408 *) # EBCDIC based system
6409 lt_SP2NL='tr \100 \n'
6410 lt_NL2SP='tr \r\n \100\100'
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6423 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6424 if ${lt_cv_to_host_file_cmd+:} false; then :
6425 $as_echo_n "(cached
) " >&6
6430 *-*-mingw* ) # actually msys
6431 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6434 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6436 * ) # otherwise, assume *nix
6437 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6443 *-*-mingw* ) # actually msys
6444 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6447 lt_cv_to_host_file_cmd=func_convert_file_noop
6449 * ) # otherwise, assume *nix
6450 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6454 * ) # unhandled hosts (and "normal
" native builds)
6455 lt_cv_to_host_file_cmd=func_convert_file_noop
6461 to_host_file_cmd=$lt_cv_to_host_file_cmd
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6463 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6470 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6471 if ${lt_cv_to_tool_file_cmd+:} false; then :
6472 $as_echo_n "(cached
) " >&6
6474 #assume ordinary cross tools, or native build.
6475 lt_cv_to_tool_file_cmd=func_convert_file_noop
6479 *-*-mingw* ) # actually msys
6480 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6488 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6490 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6497 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6498 if ${lt_cv_ld_reload_flag+:} false; then :
6499 $as_echo_n "(cached
) " >&6
6501 lt_cv_ld_reload_flag='-r'
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6504 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6505 reload_flag=$lt_cv_ld_reload_flag
6506 case $reload_flag in
6508 *) reload_flag=" $reload_flag" ;;
6510 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6512 cygwin* | mingw* | pw32* | cegcc*)
6513 if test "$GCC" != yes; then
6518 if test "$GCC" = yes; then
6519 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6521 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6534 if test -n "$ac_tool_prefix"; then
6535 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6536 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6538 $as_echo_n "checking
for $ac_word...
" >&6; }
6539 if ${ac_cv_prog_OBJDUMP+:} false; then :
6540 $as_echo_n "(cached
) " >&6
6542 if test -n "$OBJDUMP"; then
6543 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 test -z "$as_dir" && as_dir=.
6550 for ac_exec_ext in '' $ac_executable_extensions; do
6551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6562 OBJDUMP=$ac_cv_prog_OBJDUMP
6563 if test -n "$OBJDUMP"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6565 $as_echo "$OBJDUMP" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6568 $as_echo "no
" >&6; }
6573 if test -z "$ac_cv_prog_OBJDUMP"; then
6574 ac_ct_OBJDUMP=$OBJDUMP
6575 # Extract the first word of "objdump
", so it can be a program name with args.
6576 set dummy objdump; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6578 $as_echo_n "checking
for $ac_word...
" >&6; }
6579 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6580 $as_echo_n "(cached
) " >&6
6582 if test -n "$ac_ct_OBJDUMP"; then
6583 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6592 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6602 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6603 if test -n "$ac_ct_OBJDUMP"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6605 $as_echo "$ac_ct_OBJDUMP" >&6; }
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6608 $as_echo "no
" >&6; }
6611 if test "x
$ac_ct_OBJDUMP" = x; then
6614 case $cross_compiling:$ac_tool_warned in
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6617 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6618 ac_tool_warned=yes ;;
6620 OBJDUMP=$ac_ct_OBJDUMP
6623 OBJDUMP="$ac_cv_prog_OBJDUMP"
6626 test -z "$OBJDUMP" && OBJDUMP=objdump
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6634 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6635 if ${lt_cv_deplibs_check_method+:} false; then :
6636 $as_echo_n "(cached
) " >&6
6638 lt_cv_file_magic_cmd='$MAGIC_CMD'
6639 lt_cv_file_magic_test_file=
6640 lt_cv_deplibs_check_method='unknown'
6641 # Need to set the preceding variable on all platforms that support
6642 # interlibrary dependencies.
6643 # 'none' -- dependencies not supported.
6644 # `unknown' -- same as none, but documents that we really don't know.
6645 # 'pass_all' -- all dependencies passed with no checks.
6646 # 'test_compile' -- check by making test program.
6647 # 'file_magic [[regex]]' -- check by looking for files in library path
6648 # which responds to the $file_magic_cmd with a given extended regex.
6649 # If you have `file' or equivalent on your system and you're not sure
6650 # whether `pass_all' will *always* work, you probably want this one.
6654 lt_cv_deplibs_check_method=pass_all
6658 lt_cv_deplibs_check_method=pass_all
6662 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6663 lt_cv_file_magic_cmd='/usr/bin/file -L'
6664 lt_cv_file_magic_test_file=/shlib/libc.so
6668 # func_win32_libid is a shell function defined in ltmain.sh
6669 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6670 lt_cv_file_magic_cmd='func_win32_libid'
6674 # Base MSYS/MinGW do not provide the 'file' command needed by
6675 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6676 # unless we find 'file', for example because we are cross-compiling.
6677 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6678 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6679 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6680 lt_cv_file_magic_cmd='func_win32_libid'
6682 # Keep this pattern in sync with the one in func_win32_libid.
6683 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6684 lt_cv_file_magic_cmd='$OBJDUMP -f'
6689 # use the weaker test based on 'objdump'. See mingw*.
6690 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6691 lt_cv_file_magic_cmd='$OBJDUMP -f'
6694 darwin* | rhapsody*)
6695 lt_cv_deplibs_check_method=pass_all
6698 freebsd* | dragonfly*)
6699 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6702 # Not sure whether the presence of OpenBSD here was a mistake.
6703 # Let's accept both of them until this is cleared up.
6704 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6705 lt_cv_file_magic_cmd=/usr/bin/file
6706 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6710 lt_cv_deplibs_check_method=pass_all
6715 lt_cv_deplibs_check_method=pass_all
6719 lt_cv_deplibs_check_method=pass_all
6722 hpux10.20* | hpux11*)
6723 lt_cv_file_magic_cmd=/usr/bin/file
6726 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6727 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6730 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]'
6731 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6734 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6735 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6741 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6742 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6745 irix5* | irix6* | nonstopux*)
6747 *-32|*"-32 ") libmagic=32-bit;;
6748 *-n32|*"-n32 ") libmagic=N32;;
6749 *-64|*"-64 ") libmagic=64-bit;;
6750 *) libmagic=never-match;;
6752 lt_cv_deplibs_check_method=pass_all
6755 # This must be Linux ELF.
6756 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6757 lt_cv_deplibs_check_method=pass_all
6761 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6762 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6764 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6769 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6770 lt_cv_file_magic_cmd=/usr/bin/file
6771 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6775 lt_cv_deplibs_check_method=pass_all
6779 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6780 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6782 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6786 osf3* | osf4* | osf5*)
6787 lt_cv_deplibs_check_method=pass_all
6791 lt_cv_deplibs_check_method=pass_all
6795 lt_cv_deplibs_check_method=pass_all
6798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6799 lt_cv_deplibs_check_method=pass_all
6803 case $host_vendor in
6805 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]'
6806 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6809 lt_cv_deplibs_check_method=pass_all
6812 lt_cv_file_magic_cmd='/bin/file'
6813 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6816 lt_cv_file_magic_cmd='/bin/file'
6817 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6818 lt_cv_file_magic_test_file=/lib/libc.so
6821 lt_cv_deplibs_check_method=pass_all
6824 lt_cv_deplibs_check_method=pass_all
6830 lt_cv_deplibs_check_method=pass_all
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6836 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6840 if test "$build" = "$host"; then
6843 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6846 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6852 file_magic_cmd=$lt_cv_file_magic_cmd
6853 deplibs_check_method=$lt_cv_deplibs_check_method
6854 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6877 if test -n "$ac_tool_prefix"; then
6878 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6879 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6881 $as_echo_n "checking
for $ac_word...
" >&6; }
6882 if ${ac_cv_prog_DLLTOOL+:} false; then :
6883 $as_echo_n "(cached
) " >&6
6885 if test -n "$DLLTOOL"; then
6886 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6895 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6896 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6905 DLLTOOL=$ac_cv_prog_DLLTOOL
6906 if test -n "$DLLTOOL"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6908 $as_echo "$DLLTOOL" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6911 $as_echo "no
" >&6; }
6916 if test -z "$ac_cv_prog_DLLTOOL"; then
6917 ac_ct_DLLTOOL=$DLLTOOL
6918 # Extract the first word of "dlltool
", so it can be a program name with args.
6919 set dummy dlltool; ac_word=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6921 $as_echo_n "checking
for $ac_word...
" >&6; }
6922 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6923 $as_echo_n "(cached
) " >&6
6925 if test -n "$ac_ct_DLLTOOL"; then
6926 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932 test -z "$as_dir" && as_dir=.
6933 for ac_exec_ext in '' $ac_executable_extensions; do
6934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6935 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6936 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6945 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6946 if test -n "$ac_ct_DLLTOOL"; then
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6948 $as_echo "$ac_ct_DLLTOOL" >&6; }
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6951 $as_echo "no
" >&6; }
6954 if test "x
$ac_ct_DLLTOOL" = x; then
6957 case $cross_compiling:$ac_tool_warned in
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6960 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6961 ac_tool_warned=yes ;;
6963 DLLTOOL=$ac_ct_DLLTOOL
6966 DLLTOOL="$ac_cv_prog_DLLTOOL"
6969 test -z "$DLLTOOL" && DLLTOOL=dlltool
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6978 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6979 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6980 $as_echo_n "(cached
) " >&6
6982 lt_cv_sharedlib_from_linklib_cmd='unknown'
6985 cygwin* | mingw* | pw32* | cegcc*)
6986 # two different shell functions defined in ltmain.sh
6987 # decide which to use based on capabilities of $DLLTOOL
6988 case `$DLLTOOL --help 2>&1` in
6989 *--identify-strict*)
6990 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6993 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6998 # fallback: assume linklib IS sharedlib
6999 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
7005 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7006 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7007 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7015 if test -n "$ac_tool_prefix"; then
7018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7019 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7021 $as_echo_n "checking
for $ac_word...
" >&6; }
7022 if ${ac_cv_prog_AR+:} false; then :
7023 $as_echo_n "(cached
) " >&6
7025 if test -n "$AR"; then
7026 ac_cv_prog_AR="$AR" # Let the user override the test.
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir=.
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7035 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7046 if test -n "$AR"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7048 $as_echo "$AR" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7051 $as_echo "no
" >&6; }
7055 test -n "$AR" && break
7058 if test -z "$AR"; then
7062 # Extract the first word of "$ac_prog", so it can be a program name with args.
7063 set dummy $ac_prog; ac_word=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7065 $as_echo_n "checking
for $ac_word...
" >&6; }
7066 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7067 $as_echo_n "(cached
) " >&6
7069 if test -n "$ac_ct_AR"; then
7070 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076 test -z "$as_dir" && as_dir=.
7077 for ac_exec_ext in '' $ac_executable_extensions; do
7078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7079 ac_cv_prog_ac_ct_AR="$ac_prog"
7080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7089 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7090 if test -n "$ac_ct_AR"; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7092 $as_echo "$ac_ct_AR" >&6; }
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7095 $as_echo "no
" >&6; }
7099 test -n "$ac_ct_AR" && break
7102 if test "x
$ac_ct_AR" = x; then
7105 case $cross_compiling:$ac_tool_warned in
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7108 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7109 ac_tool_warned=yes ;;
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
7129 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
7130 if ${lt_cv_ar_at_file+:} false; then :
7131 $as_echo_n "(cached
) " >&6
7134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h. */
7145 if ac_fn_c_try_compile "$LINENO"; then :
7146 echo conftest.$ac_objext > conftest.lst
7147 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7148 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7149 (eval $lt_ar_try) 2>&5
7151 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7152 test $ac_status = 0; }
7153 if test "$ac_status" -eq 0; then
7154 # Ensure the archiver fails upon bogus file names.
7155 rm -f conftest.$ac_objext libconftest.a
7156 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7157 (eval $lt_ar_try) 2>&5
7159 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7160 test $ac_status = 0; }
7161 if test "$ac_status" -ne 0; then
7165 rm -f conftest.* libconftest.a
7168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
7172 $as_echo "$lt_cv_ar_at_file" >&6; }
7174 if test "x
$lt_cv_ar_at_file" = xno; then
7177 archiver_list_spec=$lt_cv_ar_at_file
7186 if test -n "$ac_tool_prefix"; then
7187 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7188 set dummy ${ac_tool_prefix}strip; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7190 $as_echo_n "checking
for $ac_word...
" >&6; }
7191 if ${ac_cv_prog_STRIP+:} false; then :
7192 $as_echo_n "(cached
) " >&6
7194 if test -n "$STRIP"; then
7195 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 test -z "$as_dir" && as_dir=.
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7204 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7214 STRIP=$ac_cv_prog_STRIP
7215 if test -n "$STRIP"; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7217 $as_echo "$STRIP" >&6; }
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7220 $as_echo "no
" >&6; }
7225 if test -z "$ac_cv_prog_STRIP"; then
7227 # Extract the first word of "strip
", so it can be a program name with args.
7228 set dummy strip; ac_word=$2
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7230 $as_echo_n "checking
for $ac_word...
" >&6; }
7231 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7232 $as_echo_n "(cached
) " >&6
7234 if test -n "$ac_ct_STRIP"; then
7235 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 test -z "$as_dir" && as_dir=.
7242 for ac_exec_ext in '' $ac_executable_extensions; do
7243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244 ac_cv_prog_ac_ct_STRIP="strip
"
7245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7255 if test -n "$ac_ct_STRIP"; then
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7257 $as_echo "$ac_ct_STRIP" >&6; }
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7260 $as_echo "no
" >&6; }
7263 if test "x
$ac_ct_STRIP" = x; then
7266 case $cross_compiling:$ac_tool_warned in
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7269 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7270 ac_tool_warned=yes ;;
7275 STRIP="$ac_cv_prog_STRIP"
7278 test -z "$STRIP" && STRIP=:
7285 if test -n "$ac_tool_prefix"; then
7286 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7287 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7289 $as_echo_n "checking
for $ac_word...
" >&6; }
7290 if ${ac_cv_prog_RANLIB+:} false; then :
7291 $as_echo_n "(cached
) " >&6
7293 if test -n "$RANLIB"; then
7294 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300 test -z "$as_dir" && as_dir=.
7301 for ac_exec_ext in '' $ac_executable_extensions; do
7302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7303 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7313 RANLIB=$ac_cv_prog_RANLIB
7314 if test -n "$RANLIB"; then
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7316 $as_echo "$RANLIB" >&6; }
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7319 $as_echo "no
" >&6; }
7324 if test -z "$ac_cv_prog_RANLIB"; then
7325 ac_ct_RANLIB=$RANLIB
7326 # Extract the first word of "ranlib
", so it can be a program name with args.
7327 set dummy ranlib; ac_word=$2
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7329 $as_echo_n "checking
for $ac_word...
" >&6; }
7330 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7331 $as_echo_n "(cached
) " >&6
7333 if test -n "$ac_ct_RANLIB"; then
7334 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340 test -z "$as_dir" && as_dir=.
7341 for ac_exec_ext in '' $ac_executable_extensions; do
7342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7343 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7353 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7354 if test -n "$ac_ct_RANLIB"; then
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7356 $as_echo "$ac_ct_RANLIB" >&6; }
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7359 $as_echo "no
" >&6; }
7362 if test "x
$ac_ct_RANLIB" = x; then
7365 case $cross_compiling:$ac_tool_warned in
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7368 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7369 ac_tool_warned=yes ;;
7371 RANLIB=$ac_ct_RANLIB
7374 RANLIB="$ac_cv_prog_RANLIB"
7377 test -z "$RANLIB" && RANLIB=:
7384 # Determine commands to create old-style static archives.
7385 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7386 old_postinstall_cmds='chmod 644 $oldlib'
7387 old_postuninstall_cmds=
7389 if test -n "$RANLIB"; then
7392 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7395 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7398 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7403 lock_old_archive_extraction=yes ;;
7405 lock_old_archive_extraction=no ;;
7446 # If no C compiler was specified, use CC.
7449 # If no C compiler flags were specified, use CFLAGS.
7450 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7452 # Allow CC to be a program name with arguments.
7456 # Check for command to grab the raw symbol name followed by C symbol from nm.
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7458 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7459 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7460 $as_echo_n "(cached
) " >&6
7463 # These are sane defaults that work on at least a few old systems.
7464 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7466 # Character class describing NM global symbol codes.
7467 symcode='[BCDEGRST]'
7469 # Regexp to match symbols that can be accessed directly from C.
7470 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7472 # Define system-specific variables.
7477 cygwin* | mingw* | pw32* | cegcc*)
7478 symcode='[ABCDGISTW]'
7481 if test "$host_cpu" = ia64; then
7482 symcode='[ABCDEGRST]'
7486 symcode='[BCDEGRST]'
7489 symcode='[BCDEGQRST]'
7500 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7508 # If we're using GNU nm, then use its standard symbol codes.
7509 case `$NM -V 2>&1` in
7510 *GNU* | *'with BFD'*)
7511 symcode='[ABCDGIRSTW]' ;;
7514 # Transform an extracted symbol line into a proper C declaration.
7515 # Some systems (esp. on ia64) link data and code symbols differently,
7516 # so use this general approach.
7517 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7519 # Transform an extracted symbol line into symbol name and symbol address
7520 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7521 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'"
7523 # Handle CRLF in mingw tool chain
7527 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7531 # Try without a prefix underscore, then with it.
7532 for ac_symprfx in "" "_
"; do
7534 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7535 symxfrm="\\1 $ac_symprfx\\2 \\2"
7537 # Write the raw and C identifiers.
7538 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7539 # Fake it for dumpbin and say T for any non-static function
7540 # and D for any global variable.
7541 # Also find C++ and __fastcall symbols from MSVC++,
7542 # which start with @ or ?.
7543 lt_cv_sys_global_symbol_pipe="$AWK '"\
7544 " {last_section=section; section=\$ 3};"\
7545 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7546 " \$ 0!~/External *\|/{next};"\
7547 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7548 " {if(hide[section]) next};"\
7549 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7550 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7551 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7552 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7553 " ' prfx
=^
$ac_symprfx"
7555 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7557 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7559 # Check to see that the pipe works correctly.
7563 cat > conftest.$ac_ext <<_LT_EOF
7568 void nm_test_func(void);
7569 void nm_test_func(void){}
7573 int main(){nm_test_var='a';nm_test_func();return(0);}
7576 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7577 (eval $ac_compile) 2>&5
7579 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7580 test $ac_status = 0; }; then
7581 # Now try to grab the symbols.
7583 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7584 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7586 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7587 test $ac_status = 0; } && test -s "$nlist"; then
7588 # Try sorting and uniquifying the output.
7589 if sort "$nlist" | uniq > "$nlist"T; then
7590 mv -f "$nlist"T "$nlist"
7595 # Make sure that we snagged all the symbols we need.
7596 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7597 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7598 cat <<_LT_EOF > conftest.$ac_ext
7599 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7600 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7601 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7602 relocations are performed -- see ld's documentation on pseudo-relocs. */
7603 # define LT_DLSYM_CONST
7604 #elif defined(__osf__)
7605 /* This system does not cope well with relocations in const data. */
7606 # define LT_DLSYM_CONST
7608 # define LT_DLSYM_CONST const
7616 # Now generate the symbol file.
7617 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7619 cat <<_LT_EOF >> conftest.$ac_ext
7621 /* The mapping between symbol names and symbols. */
7622 LT_DLSYM_CONST struct {
7626 lt__PROGRAM__LTX_preloaded_symbols[] =
7628 { "@PROGRAM@
", (void *) 0 },
7630 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7631 cat <<\_LT_EOF >> conftest.$ac_ext
7635 /* This works around a problem in FreeBSD linker */
7636 #ifdef FREEBSD_WORKAROUND
7637 static const void *lt_preloaded_setup() {
7638 return lt__PROGRAM__LTX_preloaded_symbols;
7646 # Now try linking the two files.
7647 mv conftest.$ac_objext conftstm.$ac_objext
7648 lt_globsym_save_LIBS=$LIBS
7649 lt_globsym_save_CFLAGS=$CFLAGS
7650 LIBS="conftstm.
$ac_objext"
7651 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7652 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7653 (eval $ac_link) 2>&5
7655 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7656 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7659 LIBS=$lt_globsym_save_LIBS
7660 CFLAGS=$lt_globsym_save_CFLAGS
7662 echo "cannot
find nm_test_func
in $nlist" >&5
7665 echo "cannot
find nm_test_var
in $nlist" >&5
7668 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7671 echo "$progname: failed program was
:" >&5
7672 cat conftest.$ac_ext >&5
7674 rm -rf conftest* conftst*
7676 # Do not use the global_symbol_pipe unless it works.
7677 if test "$pipe_works" = yes; then
7680 lt_cv_sys_global_symbol_pipe=
7686 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7687 lt_cv_sys_global_symbol_to_cdecl=
7689 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7691 $as_echo "failed
" >&6; }
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7694 $as_echo "ok
" >&6; }
7697 # Response file support.
7698 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7699 nm_file_list_spec='@'
7700 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7701 nm_file_list_spec='@'
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7731 $as_echo_n "checking
for sysroot...
" >&6; }
7733 # Check whether --with-sysroot was given.
7734 if test "${with_sysroot+set}" = set; then :
7735 withval=$with_sysroot;
7742 case ${with_sysroot} in #(
7744 if test "$GCC" = yes; then
7745 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7749 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7755 $as_echo "${with_sysroot}" >&6; }
7756 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7761 $as_echo "${lt_sysroot:-no}" >&6; }
7767 # Check whether --enable-libtool-lock was given.
7768 if test "${enable_libtool_lock+set}" = set; then :
7769 enableval=$enable_libtool_lock;
7772 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7774 # Some flags need to be propagated to the compiler or linker for good
7778 # Find out which ABI we are using.
7779 echo 'int i;' > conftest.$ac_ext
7780 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7781 (eval $ac_compile) 2>&5
7783 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7784 test $ac_status = 0; }; then
7785 case `/usr/bin/file conftest.$ac_objext` in
7797 # Find out which ABI we are using.
7798 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7799 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7800 (eval $ac_compile) 2>&5
7802 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7803 test $ac_status = 0; }; then
7804 if test "$lt_cv_prog_gnu_ld" = yes; then
7805 case `/usr/bin/file conftest.$ac_objext` in
7807 LD="${LD-ld} -melf32bsmip"
7810 LD="${LD-ld} -melf32bmipn32"
7813 LD="${LD-ld} -melf64bmip"
7817 case `/usr/bin/file conftest.$ac_objext` in
7833 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7834 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7835 # Find out which ABI we are using.
7836 echo 'int i;' > conftest.$ac_ext
7837 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7838 (eval $ac_compile) 2>&5
7840 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7841 test $ac_status = 0; }; then
7842 case `/usr/bin/file conftest.o` in
7845 x86_64-*kfreebsd*-gnu)
7846 LD="${LD-ld} -m elf_i386_fbsd
"
7849 LD="${LD-ld} -m elf_i386
"
7851 ppc64-*linux*|powerpc64-*linux*)
7852 LD="${LD-ld} -m elf32ppclinux
"
7855 LD="${LD-ld} -m elf_s390
"
7858 LD="${LD-ld} -m elf32_sparc
"
7864 x86_64-*kfreebsd*-gnu)
7865 LD="${LD-ld} -m elf_x86_64_fbsd
"
7868 LD="${LD-ld} -m elf_x86_64
"
7870 ppc*-*linux*|powerpc*-*linux*)
7871 LD="${LD-ld} -m elf64ppc
"
7873 s390*-*linux*|s390*-*tpf*)
7874 LD="${LD-ld} -m elf64_s390
"
7877 LD="${LD-ld} -m elf64_sparc
"
7887 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7888 SAVE_CFLAGS="$CFLAGS"
7889 CFLAGS="$CFLAGS -belf"
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7891 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7892 if ${lt_cv_cc_needs_belf+:} false; then :
7893 $as_echo_n "(cached
) " >&6
7896 ac_cpp='$CPP $CPPFLAGS'
7897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7902 /* end confdefs.h. */
7912 if ac_fn_c_try_link "$LINENO"; then :
7913 lt_cv_cc_needs_belf=yes
7915 lt_cv_cc_needs_belf=no
7917 rm -f core conftest.err conftest.$ac_objext \
7918 conftest$ac_exeext conftest.$ac_ext
7920 ac_cpp='$CPP $CPPFLAGS'
7921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7927 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7928 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7929 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7930 CFLAGS="$SAVE_CFLAGS"
7934 # Find out which ABI we are using.
7935 echo 'int i;' > conftest.$ac_ext
7936 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7937 (eval $ac_compile) 2>&5
7939 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7940 test $ac_status = 0; }; then
7941 case `/usr/bin/file conftest.o` in
7943 case $lt_cv_prog_gnu_ld in
7944 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7946 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7958 need_locks="$enable_libtool_lock"
7960 if test -n "$ac_tool_prefix"; then
7961 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7962 set dummy ${ac_tool_prefix}mt; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7964 $as_echo_n "checking
for $ac_word...
" >&6; }
7965 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7966 $as_echo_n "(cached
) " >&6
7968 if test -n "$MANIFEST_TOOL"; then
7969 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7978 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7988 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7989 if test -n "$MANIFEST_TOOL"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7991 $as_echo "$MANIFEST_TOOL" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7994 $as_echo "no
" >&6; }
7999 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8000 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8001 # Extract the first word of "mt
", so it can be a program name with args.
8002 set dummy mt; ac_word=$2
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8004 $as_echo_n "checking
for $ac_word...
" >&6; }
8005 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8006 $as_echo_n "(cached
) " >&6
8008 if test -n "$ac_ct_MANIFEST_TOOL"; then
8009 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8015 test -z "$as_dir" && as_dir=.
8016 for ac_exec_ext in '' $ac_executable_extensions; do
8017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8018 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8028 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8029 if test -n "$ac_ct_MANIFEST_TOOL"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
8031 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8034 $as_echo "no
" >&6; }
8037 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
8040 case $cross_compiling:$ac_tool_warned in
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8043 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8044 ac_tool_warned=yes ;;
8046 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8049 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8052 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
8054 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
8055 if ${lt_cv_path_mainfest_tool+:} false; then :
8056 $as_echo_n "(cached
) " >&6
8058 lt_cv_path_mainfest_tool=no
8059 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8060 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8061 cat conftest.err >&5
8062 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8063 lt_cv_path_mainfest_tool=yes
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
8068 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8069 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
8079 rhapsody* | darwin*)
8080 if test -n "$ac_tool_prefix"; then
8081 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8082 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8084 $as_echo_n "checking
for $ac_word...
" >&6; }
8085 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8086 $as_echo_n "(cached
) " >&6
8088 if test -n "$DSYMUTIL"; then
8089 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095 test -z "$as_dir" && as_dir=.
8096 for ac_exec_ext in '' $ac_executable_extensions; do
8097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8098 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8108 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8109 if test -n "$DSYMUTIL"; then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8111 $as_echo "$DSYMUTIL" >&6; }
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8114 $as_echo "no
" >&6; }
8119 if test -z "$ac_cv_prog_DSYMUTIL"; then
8120 ac_ct_DSYMUTIL=$DSYMUTIL
8121 # Extract the first word of "dsymutil
", so it can be a program name with args.
8122 set dummy dsymutil; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8124 $as_echo_n "checking
for $ac_word...
" >&6; }
8125 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8126 $as_echo_n "(cached
) " >&6
8128 if test -n "$ac_ct_DSYMUTIL"; then
8129 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8138 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8148 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8149 if test -n "$ac_ct_DSYMUTIL"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8151 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8154 $as_echo "no
" >&6; }
8157 if test "x
$ac_ct_DSYMUTIL" = x; then
8160 case $cross_compiling:$ac_tool_warned in
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8163 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8164 ac_tool_warned=yes ;;
8166 DSYMUTIL=$ac_ct_DSYMUTIL
8169 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8172 if test -n "$ac_tool_prefix"; then
8173 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8174 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8176 $as_echo_n "checking
for $ac_word...
" >&6; }
8177 if ${ac_cv_prog_NMEDIT+:} false; then :
8178 $as_echo_n "(cached
) " >&6
8180 if test -n "$NMEDIT"; then
8181 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8187 test -z "$as_dir" && as_dir=.
8188 for ac_exec_ext in '' $ac_executable_extensions; do
8189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8190 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8200 NMEDIT=$ac_cv_prog_NMEDIT
8201 if test -n "$NMEDIT"; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8203 $as_echo "$NMEDIT" >&6; }
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8206 $as_echo "no
" >&6; }
8211 if test -z "$ac_cv_prog_NMEDIT"; then
8212 ac_ct_NMEDIT=$NMEDIT
8213 # Extract the first word of "nmedit
", so it can be a program name with args.
8214 set dummy nmedit; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8216 $as_echo_n "checking
for $ac_word...
" >&6; }
8217 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8218 $as_echo_n "(cached
) " >&6
8220 if test -n "$ac_ct_NMEDIT"; then
8221 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8227 test -z "$as_dir" && as_dir=.
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8230 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8240 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8241 if test -n "$ac_ct_NMEDIT"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8243 $as_echo "$ac_ct_NMEDIT" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8246 $as_echo "no
" >&6; }
8249 if test "x
$ac_ct_NMEDIT" = x; then
8252 case $cross_compiling:$ac_tool_warned in
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8255 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8256 ac_tool_warned=yes ;;
8258 NMEDIT=$ac_ct_NMEDIT
8261 NMEDIT="$ac_cv_prog_NMEDIT"
8264 if test -n "$ac_tool_prefix"; then
8265 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8266 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8268 $as_echo_n "checking
for $ac_word...
" >&6; }
8269 if ${ac_cv_prog_LIPO+:} false; then :
8270 $as_echo_n "(cached
) " >&6
8272 if test -n "$LIPO"; then
8273 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279 test -z "$as_dir" && as_dir=.
8280 for ac_exec_ext in '' $ac_executable_extensions; do
8281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8282 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8292 LIPO=$ac_cv_prog_LIPO
8293 if test -n "$LIPO"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8295 $as_echo "$LIPO" >&6; }
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8298 $as_echo "no
" >&6; }
8303 if test -z "$ac_cv_prog_LIPO"; then
8305 # Extract the first word of "lipo
", so it can be a program name with args.
8306 set dummy lipo; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8308 $as_echo_n "checking
for $ac_word...
" >&6; }
8309 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8310 $as_echo_n "(cached
) " >&6
8312 if test -n "$ac_ct_LIPO"; then
8313 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8322 ac_cv_prog_ac_ct_LIPO="lipo
"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8332 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8333 if test -n "$ac_ct_LIPO"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8335 $as_echo "$ac_ct_LIPO" >&6; }
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8338 $as_echo "no
" >&6; }
8341 if test "x
$ac_ct_LIPO" = x; then
8344 case $cross_compiling:$ac_tool_warned in
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8347 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8348 ac_tool_warned=yes ;;
8353 LIPO="$ac_cv_prog_LIPO"
8356 if test -n "$ac_tool_prefix"; then
8357 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8358 set dummy ${ac_tool_prefix}otool; ac_word=$2
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8360 $as_echo_n "checking
for $ac_word...
" >&6; }
8361 if ${ac_cv_prog_OTOOL+:} false; then :
8362 $as_echo_n "(cached
) " >&6
8364 if test -n "$OTOOL"; then
8365 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8371 test -z "$as_dir" && as_dir=.
8372 for ac_exec_ext in '' $ac_executable_extensions; do
8373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8374 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8384 OTOOL=$ac_cv_prog_OTOOL
8385 if test -n "$OTOOL"; then
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8387 $as_echo "$OTOOL" >&6; }
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8390 $as_echo "no
" >&6; }
8395 if test -z "$ac_cv_prog_OTOOL"; then
8397 # Extract the first word of "otool
", so it can be a program name with args.
8398 set dummy otool; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8400 $as_echo_n "checking
for $ac_word...
" >&6; }
8401 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8402 $as_echo_n "(cached
) " >&6
8404 if test -n "$ac_ct_OTOOL"; then
8405 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir=.
8412 for ac_exec_ext in '' $ac_executable_extensions; do
8413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8414 ac_cv_prog_ac_ct_OTOOL="otool
"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8424 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8425 if test -n "$ac_ct_OTOOL"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8427 $as_echo "$ac_ct_OTOOL" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8430 $as_echo "no
" >&6; }
8433 if test "x
$ac_ct_OTOOL" = x; then
8436 case $cross_compiling:$ac_tool_warned in
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8439 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8440 ac_tool_warned=yes ;;
8445 OTOOL="$ac_cv_prog_OTOOL"
8448 if test -n "$ac_tool_prefix"; then
8449 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8450 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8452 $as_echo_n "checking
for $ac_word...
" >&6; }
8453 if ${ac_cv_prog_OTOOL64+:} false; then :
8454 $as_echo_n "(cached
) " >&6
8456 if test -n "$OTOOL64"; then
8457 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8463 test -z "$as_dir" && as_dir=.
8464 for ac_exec_ext in '' $ac_executable_extensions; do
8465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8466 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8476 OTOOL64=$ac_cv_prog_OTOOL64
8477 if test -n "$OTOOL64"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8479 $as_echo "$OTOOL64" >&6; }
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8482 $as_echo "no
" >&6; }
8487 if test -z "$ac_cv_prog_OTOOL64"; then
8488 ac_ct_OTOOL64=$OTOOL64
8489 # Extract the first word of "otool64
", so it can be a program name with args.
8490 set dummy otool64; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8492 $as_echo_n "checking
for $ac_word...
" >&6; }
8493 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8494 $as_echo_n "(cached
) " >&6
8496 if test -n "$ac_ct_OTOOL64"; then
8497 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8516 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8517 if test -n "$ac_ct_OTOOL64"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8519 $as_echo "$ac_ct_OTOOL64" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8522 $as_echo "no
" >&6; }
8525 if test "x
$ac_ct_OTOOL64" = x; then
8528 case $cross_compiling:$ac_tool_warned in
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8531 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8532 ac_tool_warned=yes ;;
8534 OTOOL64=$ac_ct_OTOOL64
8537 OTOOL64="$ac_cv_prog_OTOOL64"
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8567 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8568 if ${lt_cv_apple_cc_single_mod+:} false; then :
8569 $as_echo_n "(cached
) " >&6
8571 lt_cv_apple_cc_single_mod=no
8572 if test -z "${LT_MULTI_MODULE}"; then
8573 # By default we will add the -single_module flag. You can override
8574 # by either setting the environment variable LT_MULTI_MODULE
8575 # non-empty at configure time, or by adding -multi_module to the
8577 rm -rf libconftest.dylib*
8578 echo "int foo
(void
){return 1;}" > conftest.c
8579 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8580 -dynamiclib -Wl,-single_module conftest.c
" >&5
8581 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8582 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8584 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8585 lt_cv_apple_cc_single_mod=yes
8587 cat conftest.err >&5
8589 rm -rf libconftest.dylib*
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8594 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8596 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8597 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8598 $as_echo_n "(cached
) " >&6
8600 lt_cv_ld_exported_symbols_list=no
8601 save_LDFLAGS=$LDFLAGS
8602 echo "_main
" > conftest.sym
8603 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8615 if ac_fn_c_try_link "$LINENO"; then :
8616 lt_cv_ld_exported_symbols_list=yes
8618 lt_cv_ld_exported_symbols_list=no
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 LDFLAGS="$save_LDFLAGS"
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8626 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8628 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8629 if ${lt_cv_ld_force_load+:} false; then :
8630 $as_echo_n "(cached
) " >&6
8632 lt_cv_ld_force_load=no
8633 cat > conftest.c << _LT_EOF
8634 int forced_loaded() { return 2;}
8636 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8637 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8638 echo "$AR cru libconftest.a conftest.o
" >&5
8639 $AR cru libconftest.a conftest.o 2>&5
8640 echo "$RANLIB libconftest.a
" >&5
8641 $RANLIB libconftest.a 2>&5
8642 cat > conftest.c << _LT_EOF
8643 int main() { return 0;}
8645 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8646 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8648 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8649 lt_cv_ld_force_load=yes
8651 cat conftest.err >&5
8653 rm -f conftest.err libconftest.a conftest conftest.c
8654 rm -rf conftest.dSYM
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8658 $as_echo "$lt_cv_ld_force_load" >&6; }
8660 rhapsody* | darwin1.[012])
8661 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8663 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8664 darwin*) # darwin 5.x on
8665 # if running on 10.5 or later, the deployment target defaults
8666 # to the OS version, if on x86, and 10.4, the deployment
8667 # target defaults to 10.4. Don't you love it?
8668 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8669 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8670 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8672 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8674 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8678 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8679 _lt_dar_single_mod='$single_module'
8681 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8682 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8684 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8686 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8687 _lt_dsymutil='~$DSYMUTIL $lib || :'
8694 for ac_header in dlfcn.h
8696 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8698 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8699 cat >>confdefs.h <<_ACEOF
8700 #define HAVE_DLFCN_H 1
8709 func_stripname_cnf ()
8712 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$
%%"`;;
8713 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$
%%"`;;
8715 } # func_stripname_cnf
8729 # Check whether --enable-shared was given.
8730 if test "${enable_shared+set}" = set; then :
8731 enableval=$enable_shared; p=${PACKAGE-default}
8733 yes) enable_shared=yes ;;
8734 no) enable_shared=no ;;
8737 # Look at the argument we got. We use all the common list separators.
8738 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8739 for pkg in $enableval; do
8741 if test "X
$pkg" = "X
$p"; then
8760 # Check whether --enable-static was given.
8761 if test "${enable_static+set}" = set; then :
8762 enableval=$enable_static; p=${PACKAGE-default}
8764 yes) enable_static=yes ;;
8765 no) enable_static=no ;;
8768 # Look at the argument we got. We use all the common list separators.
8769 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8770 for pkg in $enableval; do
8772 if test "X
$pkg" = "X
$p"; then
8792 # Check whether --with-pic was given.
8793 if test "${with_pic+set}" = set; then :
8794 withval=$with_pic; pic_mode="$withval"
8800 test -z "$pic_mode" && pic_mode=default
8808 # Check whether --enable-fast-install was given.
8809 if test "${enable_fast_install+set}" = set; then :
8810 enableval=$enable_fast_install; p=${PACKAGE-default}
8812 yes) enable_fast_install=yes ;;
8813 no) enable_fast_install=no ;;
8815 enable_fast_install=no
8816 # Look at the argument we got. We use all the common list separators.
8817 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8818 for pkg in $enableval; do
8820 if test "X
$pkg" = "X
$p"; then
8821 enable_fast_install=yes
8828 enable_fast_install=yes
8841 # This can be used to rebuild libtool when needed
8842 LIBTOOL_DEPS="$ltmain"
8844 # Always use our own libtool.
8845 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8872 test -z "$LN_S" && LN_S="ln -s"
8887 if test -n "${ZSH_VERSION+set}" ; then
8888 setopt NO_GLOB_SUBST
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8892 $as_echo_n "checking
for objdir...
" >&6; }
8893 if ${lt_cv_objdir+:} false; then :
8894 $as_echo_n "(cached
) " >&6
8896 rm -f .libs 2>/dev/null
8897 mkdir .libs 2>/dev/null
8898 if test -d .libs; then
8901 # MS-DOS does not allow filenames that begin with a dot.
8904 rmdir .libs 2>/dev/null
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8907 $as_echo "$lt_cv_objdir" >&6; }
8908 objdir=$lt_cv_objdir
8914 cat >>confdefs.h <<_ACEOF
8915 #define LT_OBJDIR "$lt_cv_objdir/"
8923 # AIX sometimes has problems with the GCC collect2 program. For some
8924 # reason, if we set the COLLECT_NAMES environment variable, the problems
8925 # vanish in a puff of smoke.
8926 if test "X
${COLLECT_NAMES+set}" != Xset; then
8928 export COLLECT_NAMES
8935 can_build_shared=yes
8937 # All known linkers require a `.a' archive for static linking (except MSVC,
8938 # which needs '.lib').
8941 with_gnu_ld="$lt_cv_prog_gnu_ld"
8944 old_CFLAGS="$CFLAGS"
8946 # Set sane defaults for various variables
8947 test -z "$CC" && CC=cc
8948 test -z "$LTCC" && LTCC=$CC
8949 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8950 test -z "$LD" && LD=ld
8951 test -z "$ac_objext" && ac_objext=o
8953 for cc_temp in $compiler""; do
8955 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8956 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8961 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8964 # Only perform the check for file, if the check method requires it
8965 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8966 case $deplibs_check_method in
8968 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8970 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8971 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8972 $as_echo_n "(cached
) " >&6
8976 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8979 lt_save_MAGIC_CMD="$MAGIC_CMD"
8980 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8981 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8982 for ac_dir in $ac_dummy; do
8984 test -z "$ac_dir" && ac_dir=.
8985 if test -f $ac_dir/${ac_tool_prefix}file; then
8986 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8987 if test -n "$file_magic_test_file"; then
8988 case $deplibs_check_method in
8990 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8991 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8992 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8993 $EGREP "$file_magic_regex" > /dev/null; then
8998 *** Warning: the command libtool uses to detect shared libraries,
8999 *** $file_magic_cmd, produces output that libtool cannot recognize.
9000 *** The result is that libtool may fail to recognize shared libraries
9001 *** as such. This will affect the creation of libtool libraries that
9002 *** depend on shared libraries, but programs linked with such libtool
9003 *** libraries will work regardless of this problem. Nevertheless, you
9004 *** may want to report the problem to your system manager and/or to
9005 *** bug-libtool@gnu.org
9015 MAGIC_CMD="$lt_save_MAGIC_CMD"
9020 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9021 if test -n "$MAGIC_CMD"; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9023 $as_echo "$MAGIC_CMD" >&6; }
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9026 $as_echo "no
" >&6; }
9033 if test -z "$lt_cv_path_MAGIC_CMD"; then
9034 if test -n "$ac_tool_prefix"; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9036 $as_echo_n "checking
for file...
" >&6; }
9037 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9038 $as_echo_n "(cached
) " >&6
9042 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9045 lt_save_MAGIC_CMD="$MAGIC_CMD"
9046 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9047 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9048 for ac_dir in $ac_dummy; do
9050 test -z "$ac_dir" && ac_dir=.
9051 if test -f $ac_dir/file; then
9052 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9053 if test -n "$file_magic_test_file"; then
9054 case $deplibs_check_method in
9056 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9057 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9058 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9059 $EGREP "$file_magic_regex" > /dev/null; then
9064 *** Warning: the command libtool uses to detect shared libraries,
9065 *** $file_magic_cmd, produces output that libtool cannot recognize.
9066 *** The result is that libtool may fail to recognize shared libraries
9067 *** as such. This will affect the creation of libtool libraries that
9068 *** depend on shared libraries, but programs linked with such libtool
9069 *** libraries will work regardless of this problem. Nevertheless, you
9070 *** may want to report the problem to your system manager and/or to
9071 *** bug-libtool@gnu.org
9081 MAGIC_CMD="$lt_save_MAGIC_CMD"
9086 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9087 if test -n "$MAGIC_CMD"; then
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9089 $as_echo "$MAGIC_CMD" >&6; }
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9092 $as_echo "no
" >&6; }
9105 # Use C for the default configuration in the libtool script
9109 ac_cpp='$CPP $CPPFLAGS'
9110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9115 # Source file extension for C test sources.
9118 # Object file extension for compiled C test sources.
9122 # Code to be used in simple compile tests
9123 lt_simple_compile_test_code="int some_variable
= 0;"
9125 # Code to be used in simple link tests
9126 lt_simple_link_test_code='int main(){return(0);}'
9134 # If no C compiler was specified, use CC.
9137 # If no C compiler flags were specified, use CFLAGS.
9138 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9140 # Allow CC to be a program name with arguments.
9143 # Save the default compiler, since it gets overwritten when the other
9144 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9145 compiler_DEFAULT=$CC
9147 # save warnings/boilerplate of simple test code
9148 ac_outfile=conftest.$ac_objext
9149 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9150 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9151 _lt_compiler_boilerplate=`cat conftest.err`
9154 ac_outfile=conftest.$ac_objext
9155 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9156 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9157 _lt_linker_boilerplate=`cat conftest.err`
9162 ## There is no encapsulation within the following macros, do not change
9163 ## the running order or otherwise move them around unless you know exactly
9164 ## what you are doing...
9165 if test -n "$compiler"; then
9167 lt_prog_compiler_no_builtin_flag=
9169 if test "$GCC" = yes; then
9170 case $cc_basename in
9172 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9174 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9178 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9179 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9180 $as_echo_n "(cached
) " >&6
9182 lt_cv_prog_compiler_rtti_exceptions=no
9183 ac_outfile=conftest.$ac_objext
9184 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9185 lt_compiler_flag="-fno-rtti -fno-exceptions"
9186 # Insert the option either (1) after the last *FLAGS variable, or
9187 # (2) before a word containing "conftest.
", or (3) at the end.
9188 # Note that $ac_compile itself does not contain backslashes and begins
9189 # with a dollar sign (not a hyphen), so the echo should work correctly.
9190 # The option is referenced via a variable to avoid confusing sed.
9191 lt_compile=`echo "$ac_compile" | $SED \
9192 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9193 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9194 -e 's:$: $lt_compiler_flag:'`
9195 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9196 (eval "$lt_compile" 2>conftest.err)
9198 cat conftest.err >&5
9199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9200 if (exit $ac_status) && test -s "$ac_outfile"; then
9201 # The compiler can only warn and ignore the option if not recognized
9202 # So say no if there are warnings other than the usual output.
9203 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9204 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9205 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9206 lt_cv_prog_compiler_rtti_exceptions=yes
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9213 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9215 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9216 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9228 lt_prog_compiler_wl=
9229 lt_prog_compiler_pic=
9230 lt_prog_compiler_static=
9233 if test "$GCC" = yes; then
9234 lt_prog_compiler_wl='-Wl,'
9235 lt_prog_compiler_static='-static'
9239 # All AIX code is PIC.
9240 if test "$host_cpu" = ia64; then
9241 # AIX 5 now supports IA64 processor
9242 lt_prog_compiler_static='-Bstatic'
9249 # see comment about AmigaOS4 .so support
9250 lt_prog_compiler_pic='-fPIC'
9253 # FIXME: we need at least 68020 code to build shared libraries, but
9254 # adding the `-m68020' flag to GCC prevents building anything better,
9256 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9261 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9262 # PIC is the default for these OSes.
9265 mingw* | cygwin* | pw32* | os2* | cegcc*)
9266 # This hack is so that the source file can tell whether it is being
9267 # built for inclusion in a dll (and should export symbols for example).
9268 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9269 # (--disable-auto-import) libraries
9270 lt_prog_compiler_pic='-DDLL_EXPORT'
9273 darwin* | rhapsody*)
9274 # PIC is the default on this platform
9275 # Common symbols not allowed in MH_DYLIB files
9276 lt_prog_compiler_pic='-fno-common'
9280 # PIC is the default for Haiku.
9281 # The "-static" flag exists, but is broken.
9282 lt_prog_compiler_static=
9286 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9287 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9288 # sets the default TLS model and affects inlining.
9294 lt_prog_compiler_pic='-fPIC'
9300 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9301 # Instead, we relocate shared libraries at runtime.
9305 # Just because we use GCC doesn't mean we suddenly get shared libraries
9306 # on systems that don't support them.
9307 lt_prog_compiler_can_build_shared=no
9312 # QNX uses GNU C++, but need to define -shared option too, otherwise
9314 lt_prog_compiler_pic='-fPIC -shared'
9318 if test -d /usr/nec; then
9319 lt_prog_compiler_pic=-Kconform_pic
9324 lt_prog_compiler_pic='-fPIC'
9328 case $cc_basename in
9329 nvcc*) # Cuda Compiler Driver 2.2
9330 lt_prog_compiler_wl='-Xlinker '
9331 lt_prog_compiler_pic='-Xcompiler -fPIC'
9335 # PORTME Check for flag to pass linker flags through the system compiler.
9338 lt_prog_compiler_wl='-Wl,'
9339 if test "$host_cpu" = ia64; then
9340 # AIX 5 now supports IA64 processor
9341 lt_prog_compiler_static='-Bstatic'
9343 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9347 mingw* | cygwin* | pw32* | os2* | cegcc*)
9348 # This hack is so that the source file can tell whether it is being
9349 # built for inclusion in a dll (and should export symbols for example).
9350 lt_prog_compiler_pic='-DDLL_EXPORT'
9353 hpux9* | hpux10* | hpux11*)
9354 lt_prog_compiler_wl='-Wl,'
9355 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9362 lt_prog_compiler_pic='+Z'
9365 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9366 lt_prog_compiler_static='${wl}-a ${wl}archive'
9369 irix5* | irix6* | nonstopux*)
9370 lt_prog_compiler_wl='-Wl,'
9371 # PIC (with -KPIC) is the default.
9372 lt_prog_compiler_static='-non_shared'
9375 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9376 case $cc_basename in
9377 # old Intel for x86_64 which still supported -KPIC.
9379 lt_prog_compiler_wl='-Wl,'
9380 lt_prog_compiler_pic='-KPIC'
9381 lt_prog_compiler_static='-static'
9383 # icc used to be incompatible with GCC.
9384 # ICC 10 doesn't accept -KPIC any more.
9386 lt_prog_compiler_wl='-Wl,'
9387 lt_prog_compiler_pic='-fPIC'
9388 lt_prog_compiler_static='-static'
9390 # Lahey Fortran 8.1.
9392 lt_prog_compiler_wl='-Wl,'
9393 lt_prog_compiler_pic='--shared'
9394 lt_prog_compiler_static='--static'
9397 # NAG Fortran compiler
9398 lt_prog_compiler_wl='-Wl,-Wl,,'
9399 lt_prog_compiler_pic='-PIC'
9400 lt_prog_compiler_static='-Bstatic'
9402 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9403 # Portland Group compilers (*not* the Pentium gcc compiler,
9404 # which looks to be a dead project)
9405 lt_prog_compiler_wl='-Wl,'
9406 lt_prog_compiler_pic='-fpic'
9407 lt_prog_compiler_static='-Bstatic'
9410 lt_prog_compiler_wl='-Wl,'
9411 # All Alpha code is PIC.
9412 lt_prog_compiler_static='-non_shared'
9414 xl* | bgxl* | bgf* | mpixl*)
9415 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9416 lt_prog_compiler_wl='-Wl,'
9417 lt_prog_compiler_pic='-qpic'
9418 lt_prog_compiler_static='-qstaticlink'
9421 case `$CC -V 2>&1 | sed 5q` in
9422 *Sun\ F* | *Sun*Fortran*)
9423 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9424 lt_prog_compiler_pic='-KPIC'
9425 lt_prog_compiler_static='-Bstatic'
9426 lt_prog_compiler_wl=''
9430 lt_prog_compiler_pic='-KPIC'
9431 lt_prog_compiler_static='-Bstatic'
9432 lt_prog_compiler_wl='-Wl,'
9440 lt_prog_compiler_pic='-KPIC'
9441 lt_prog_compiler_static='-Bstatic'
9445 # QNX uses GNU C++, but need to define -shared option too, otherwise
9447 lt_prog_compiler_pic='-fPIC -shared'
9450 osf3* | osf4* | osf5*)
9451 lt_prog_compiler_wl='-Wl,'
9452 # All OSF/1 code is PIC.
9453 lt_prog_compiler_static='-non_shared'
9457 lt_prog_compiler_static='-non_shared'
9461 lt_prog_compiler_pic='-KPIC'
9462 lt_prog_compiler_static='-Bstatic'
9463 case $cc_basename in
9464 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9465 lt_prog_compiler_wl='-Qoption ld ';;
9467 lt_prog_compiler_wl='-Wl,';;
9472 lt_prog_compiler_wl='-Qoption ld '
9473 lt_prog_compiler_pic='-PIC'
9474 lt_prog_compiler_static='-Bstatic'
9477 sysv4 | sysv4.2uw2* | sysv4.3*)
9478 lt_prog_compiler_wl='-Wl,'
9479 lt_prog_compiler_pic='-KPIC'
9480 lt_prog_compiler_static='-Bstatic'
9484 if test -d /usr/nec ;then
9485 lt_prog_compiler_pic='-Kconform_pic'
9486 lt_prog_compiler_static='-Bstatic'
9490 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9491 lt_prog_compiler_wl='-Wl,'
9492 lt_prog_compiler_pic='-KPIC'
9493 lt_prog_compiler_static='-Bstatic'
9497 lt_prog_compiler_wl='-Wl,'
9498 lt_prog_compiler_can_build_shared=no
9502 lt_prog_compiler_pic='-pic'
9503 lt_prog_compiler_static='-Bstatic'
9507 lt_prog_compiler_can_build_shared=no
9513 # For platforms which do not support PIC, -DPIC is meaningless:
9515 lt_prog_compiler_pic=
9518 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9523 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9524 if ${lt_cv_prog_compiler_pic+:} false; then :
9525 $as_echo_n "(cached
) " >&6
9527 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
9530 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9531 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9534 # Check to make sure the PIC flag actually works.
9536 if test -n "$lt_prog_compiler_pic"; then
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9538 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9539 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9540 $as_echo_n "(cached
) " >&6
9542 lt_cv_prog_compiler_pic_works=no
9543 ac_outfile=conftest.$ac_objext
9544 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9545 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9546 # Insert the option either (1) after the last *FLAGS variable, or
9547 # (2) before a word containing "conftest.
", or (3) at the end.
9548 # Note that $ac_compile itself does not contain backslashes and begins
9549 # with a dollar sign (not a hyphen), so the echo should work correctly.
9550 # The option is referenced via a variable to avoid confusing sed.
9551 lt_compile=`echo "$ac_compile" | $SED \
9552 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9554 -e 's:$: $lt_compiler_flag:'`
9555 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9556 (eval "$lt_compile" 2>conftest.err)
9558 cat conftest.err >&5
9559 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9560 if (exit $ac_status) && test -s "$ac_outfile"; then
9561 # The compiler can only warn and ignore the option if not recognized
9562 # So say no if there are warnings other than the usual output.
9563 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9564 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9565 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9566 lt_cv_prog_compiler_pic_works=yes
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9573 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9575 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9576 case $lt_prog_compiler_pic in
9578 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9581 lt_prog_compiler_pic=
9582 lt_prog_compiler_can_build_shared=no
9598 # Check to make sure the static flag actually works.
9600 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9602 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9603 if ${lt_cv_prog_compiler_static_works+:} false; then :
9604 $as_echo_n "(cached
) " >&6
9606 lt_cv_prog_compiler_static_works=no
9607 save_LDFLAGS="$LDFLAGS"
9608 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9609 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9610 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9611 # The linker can only warn and ignore the option if not recognized
9612 # So say no if there are warnings
9613 if test -s conftest.err; then
9614 # Append any errors to the config.log.
9615 cat conftest.err 1>&5
9616 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9617 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9618 if diff conftest.exp conftest.er2 >/dev/null; then
9619 lt_cv_prog_compiler_static_works=yes
9622 lt_cv_prog_compiler_static_works=yes
9626 LDFLAGS="$save_LDFLAGS"
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9630 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9632 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9635 lt_prog_compiler_static=
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9645 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9646 if ${lt_cv_prog_compiler_c_o+:} false; then :
9647 $as_echo_n "(cached
) " >&6
9649 lt_cv_prog_compiler_c_o=no
9650 $RM -r conftest 2>/dev/null
9654 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9656 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9657 # Insert the option either (1) after the last *FLAGS variable, or
9658 # (2) before a word containing "conftest.
", or (3) at the end.
9659 # Note that $ac_compile itself does not contain backslashes and begins
9660 # with a dollar sign (not a hyphen), so the echo should work correctly.
9661 lt_compile=`echo "$ac_compile" | $SED \
9662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9664 -e 's:$: $lt_compiler_flag:'`
9665 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9666 (eval "$lt_compile" 2>out/conftest.err)
9668 cat out/conftest.err >&5
9669 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9670 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9672 # The compiler can only warn and ignore the option if not recognized
9673 # So say no if there are warnings
9674 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9675 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9676 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9677 lt_cv_prog_compiler_c_o=yes
9682 # SGI C++ compiler will create directory out/ii_files/ for
9683 # template instantiation
9684 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9685 $RM out/* && rmdir out
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9692 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9700 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9701 if ${lt_cv_prog_compiler_c_o+:} false; then :
9702 $as_echo_n "(cached
) " >&6
9704 lt_cv_prog_compiler_c_o=no
9705 $RM -r conftest 2>/dev/null
9709 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9711 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9712 # Insert the option either (1) after the last *FLAGS variable, or
9713 # (2) before a word containing "conftest.
", or (3) at the end.
9714 # Note that $ac_compile itself does not contain backslashes and begins
9715 # with a dollar sign (not a hyphen), so the echo should work correctly.
9716 lt_compile=`echo "$ac_compile" | $SED \
9717 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9718 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9719 -e 's:$: $lt_compiler_flag:'`
9720 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9721 (eval "$lt_compile" 2>out/conftest.err)
9723 cat out/conftest.err >&5
9724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9725 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9727 # The compiler can only warn and ignore the option if not recognized
9728 # So say no if there are warnings
9729 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9730 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9731 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9732 lt_cv_prog_compiler_c_o=yes
9737 # SGI C++ compiler will create directory out/ii_files/ for
9738 # template instantiation
9739 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9740 $RM out/* && rmdir out
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9747 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9752 hard_links="nottested
"
9753 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9754 # do not overwrite the value of need_locks provided by the user
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9756 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9759 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9761 ln conftest.a conftest.b 2>&5 || hard_links=no
9762 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9764 $as_echo "$hard_links" >&6; }
9765 if test "$hard_links" = no; then
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9767 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9780 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9783 allow_undefined_flag=
9784 always_export_symbols=no
9786 archive_expsym_cmds=
9787 compiler_needs_object=no
9788 enable_shared_with_static_runtimes=no
9789 export_dynamic_flag_spec=
9790 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9791 hardcode_automatic=no
9793 hardcode_direct_absolute=no
9794 hardcode_libdir_flag_spec=
9795 hardcode_libdir_flag_spec_ld=
9796 hardcode_libdir_separator=
9798 hardcode_shlibpath_var=unsupported
9800 link_all_deplibs=unknown
9803 old_archive_from_new_cmds=
9804 old_archive_from_expsyms_cmds=
9805 thread_safe_flag_spec=
9806 whole_archive_flag_spec=
9807 # include_expsyms should be a list of space-separated symbols to be *always*
9808 # included in the symbol list
9810 # exclude_expsyms can be an extended regexp of symbols to exclude
9811 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9812 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9813 # as well as any symbol that contains `d'.
9814 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9815 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9816 # platforms (ab)use it in PIC code, but their linkers get confused if
9817 # the symbol is explicitly referenced. Since portable code cannot
9818 # rely on this symbol name, it's probably fine to never include it in
9819 # preloaded symbol tables.
9820 # Exclude shared library initialization/finalization symbols.
9821 extract_expsyms_cmds=
9824 cygwin* | mingw* | pw32* | cegcc*)
9825 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9826 # When not using gcc, we currently assume that we are using
9827 # Microsoft Visual C++.
9828 if test "$GCC" != yes; then
9833 # we just hope/assume this is gcc and not c89 (= MSVC++)
9843 # On some targets, GNU ld is compatible enough with the native linker
9844 # that we're better off using the native interface for both.
9845 lt_use_gnu_ld_interface=no
9846 if test "$with_gnu_ld" = yes; then
9849 # The AIX port of GNU ld has always aspired to compatibility
9850 # with the native linker. However, as the warning in the GNU ld
9851 # block says, versions before 2.19.5* couldn't really create working
9852 # shared libraries, regardless of the interface used.
9853 case `$LD -v 2>&1` in
9854 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9855 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9856 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9858 lt_use_gnu_ld_interface=yes
9863 lt_use_gnu_ld_interface=yes
9868 if test "$lt_use_gnu_ld_interface" = yes; then
9869 # If archive_cmds runs LD, not CC, wlarc should be empty
9872 # Set some defaults for GNU ld with shared library support. These
9873 # are reset later if shared libraries are not supported. Putting them
9874 # here allows them to be overridden if necessary.
9875 runpath_var=LD_RUN_PATH
9876 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9877 export_dynamic_flag_spec='${wl}--export-dynamic'
9878 # ancient GNU ld didn't support --whole-archive et. al.
9879 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9880 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9882 whole_archive_flag_spec=
9884 supports_anon_versioning=no
9885 case `$LD -v 2>&1` in
9886 *GNU\ gold*) supports_anon_versioning=yes ;;
9887 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9888 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9889 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9890 *\ 2.11.*) ;; # other 2.11 versions
9891 *) supports_anon_versioning=yes ;;
9894 # See if GNU ld supports shared libraries.
9897 # On AIX/PPC, the GNU linker is very broken
9898 if test "$host_cpu" != ia64; then
9902 *** Warning: the GNU linker, at least up to release 2.19, is reported
9903 *** to be unable to reliably create shared libraries on AIX.
9904 *** Therefore, libtool is disabling shared libraries support. If you
9905 *** really care for shared libraries, you may want to install binutils
9906 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9907 *** You will then need to restart the configuration process.
9916 # see comment about AmigaOS4 .so support
9917 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9918 archive_expsym_cmds=''
9921 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)'
9922 hardcode_libdir_flag_spec
='-L$libdir'
9923 hardcode_minus_L
=yes
9929 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9930 allow_undefined_flag
=unsupported
9931 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9932 # support --undefined. This deserves some investigation. FIXME
9933 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9939 cygwin
* | mingw
* | pw32
* | cegcc
*)
9940 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9941 # as there is no search path for DLLs.
9942 hardcode_libdir_flag_spec
='-L$libdir'
9943 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9944 allow_undefined_flag
=unsupported
9945 always_export_symbols
=no
9946 enable_shared_with_static_runtimes
=yes
9947 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9948 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9950 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9951 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9952 # If the export-symbols file already is a .def file (1st line
9953 # is EXPORTS), use it as is; otherwise, prepend...
9954 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9955 cp $export_symbols $output_objdir/$soname.def;
9957 echo EXPORTS > $output_objdir/$soname.def;
9958 cat $export_symbols >> $output_objdir/$soname.def;
9960 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9967 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9968 link_all_deplibs
=yes
9973 hardcode_shlibpath_var
=no
9974 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9975 export_dynamic_flag_spec
='${wl}-E'
9976 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9977 # Instead, shared libraries are loaded at an image base (0x10000000 by
9978 # default) and relocated if they conflict, which is a slow very memory
9979 # consuming and fragmenting process. To avoid this, we pick a random,
9980 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9981 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9982 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9983 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'
9986 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9988 if test "$host_os" = linux-dietlibc
; then
9989 case $cc_basename in
9990 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9993 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9994 && test "$tmp_diet" = no
9996 tmp_addflag
=' $pic_flag'
9997 tmp_sharedflag
='-shared'
9998 case $cc_basename,$host_cpu in
9999 pgcc
*) # Portland Group C compiler
10000 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'
10001 tmp_addflag
=' $pic_flag'
10003 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10004 # Portland Group f77 and f90 compilers
10005 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'
10006 tmp_addflag
=' $pic_flag -Mnomain' ;;
10007 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10008 tmp_addflag
=' -i_dynamic' ;;
10009 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10010 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10011 ifc
* | ifort
*) # Intel Fortran compiler
10012 tmp_addflag
=' -nofor_main' ;;
10013 lf95
*) # Lahey Fortran 8.1
10014 whole_archive_flag_spec
=
10015 tmp_sharedflag
='--shared' ;;
10016 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10017 tmp_sharedflag
='-qmkshrobj'
10019 nvcc
*) # Cuda Compiler Driver 2.2
10020 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'
10021 compiler_needs_object
=yes
10024 case `$CC -V 2>&1 | sed 5q` in
10025 *Sun\ C
*) # Sun C 5.9
10026 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'
10027 compiler_needs_object
=yes
10028 tmp_sharedflag
='-G' ;;
10029 *Sun\ F
*) # Sun Fortran 8.3
10030 tmp_sharedflag
='-G' ;;
10032 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10034 if test "x$supports_anon_versioning" = xyes
; then
10035 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10036 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10037 echo "local: *; };" >> $output_objdir/$libname.ver~
10038 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10041 case $cc_basename in
10042 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10043 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10044 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10045 hardcode_libdir_flag_spec
=
10046 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10047 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10048 if test "x$supports_anon_versioning" = xyes
; then
10049 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10050 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10051 echo "local: *; };" >> $output_objdir/$libname.ver~
10052 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10062 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10063 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10066 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10067 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10072 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10076 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10077 *** create shared libraries on Solaris systems. Therefore, libtool
10078 *** is disabling shared libraries support. We urge you to upgrade GNU
10079 *** binutils to release 2.9.1 or newer. Another option is to modify
10080 *** your PATH or compiler configuration so that the native linker is
10081 *** used, and then restart.
10084 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10085 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10086 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10092 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10093 case `$LD -v 2>&1` in
10094 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10098 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10099 *** reliably create shared libraries on SCO systems. Therefore, libtool
10100 *** is disabling shared libraries support. We urge you to upgrade GNU
10101 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10102 *** your PATH or compiler configuration so that the native linker is
10103 *** used, and then restart.
10108 # For security reasons, it is highly recommended that you always
10109 # use absolute paths for naming shared libraries, and exclude the
10110 # DT_RUNPATH tag from executables and libraries. But doing so
10111 # requires that you compile everything twice, which is a pain.
10112 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10113 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10114 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10115 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10124 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10126 hardcode_direct
=yes
10127 hardcode_shlibpath_var
=no
10131 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10132 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10133 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10140 if test "$ld_shlibs" = no
; then
10142 hardcode_libdir_flag_spec
=
10143 export_dynamic_flag_spec
=
10144 whole_archive_flag_spec
=
10147 # PORTME fill in a description of your system's linker (not GNU ld)
10150 allow_undefined_flag
=unsupported
10151 always_export_symbols
=yes
10152 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'
10153 # Note: this linker hardcodes the directories in LIBPATH if there
10154 # are no directories specified by -L.
10155 hardcode_minus_L
=yes
10156 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10157 # Neither direct hardcoding nor static linking is supported with a
10159 hardcode_direct
=unsupported
10164 if test "$host_cpu" = ia64
; then
10165 # On IA64, the linker does run time linking by default, so we don't
10166 # have to do anything special.
10167 aix_use_runtimelinking
=no
10168 exp_sym_flag
='-Bexport'
10171 # If we're using GNU nm, then we don't want the "-C" option.
10172 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10173 # Also, AIX nm treats weak defined symbols like other global
10174 # defined symbols, whereas GNU nm marks them as "W".
10175 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10176 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'
10178 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'
10180 aix_use_runtimelinking
=no
10182 # Test if we are trying to use run time linking or normal
10183 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10184 # need to do runtime linking.
10185 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10186 for ld_flag
in $LDFLAGS; do
10187 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10188 aix_use_runtimelinking
=yes
10195 exp_sym_flag
='-bexport'
10196 no_entry_flag
='-bnoentry'
10199 # When large executables or shared objects are built, AIX ld can
10200 # have problems creating the table of contents. If linking a library
10201 # or program results in "error TOC overflow" add -mminimal-toc to
10202 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10203 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10206 hardcode_direct
=yes
10207 hardcode_direct_absolute
=yes
10208 hardcode_libdir_separator
=':'
10209 link_all_deplibs
=yes
10210 file_list_spec
='${wl}-f,'
10212 if test "$GCC" = yes; then
10213 case $host_os in aix4.
[012]|aix4.
[012].
*)
10214 # We only want to do this on AIX 4.2 and lower, the check
10215 # below for broken collect2 doesn't work under 4.3+
10216 collect2name
=`${CC} -print-prog-name=collect2`
10217 if test -f "$collect2name" &&
10218 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10220 # We have reworked collect2
10223 # We have old collect2
10224 hardcode_direct
=unsupported
10225 # It fails to find uninstalled libraries when the uninstalled
10226 # path is not listed in the libpath. Setting hardcode_minus_L
10227 # to unsupported forces relinking
10228 hardcode_minus_L
=yes
10229 hardcode_libdir_flag_spec
='-L$libdir'
10230 hardcode_libdir_separator
=
10234 shared_flag
='-shared'
10235 if test "$aix_use_runtimelinking" = yes; then
10236 shared_flag
="$shared_flag "'${wl}-G'
10240 if test "$host_cpu" = ia64
; then
10241 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10242 # chokes on -Wl,-G. The following line is correct:
10245 if test "$aix_use_runtimelinking" = yes; then
10246 shared_flag
='${wl}-G'
10248 shared_flag
='${wl}-bM:SRE'
10253 export_dynamic_flag_spec
='${wl}-bexpall'
10254 # It seems that -bexpall does not export symbols beginning with
10255 # underscore (_), so it is better to generate a list of symbols to export.
10256 always_export_symbols
=yes
10257 if test "$aix_use_runtimelinking" = yes; then
10258 # Warning - without using the other runtime loading flags (-brtl),
10259 # -berok will link without error, but may produce a broken library.
10260 allow_undefined_flag
='-berok'
10261 # Determine the default libpath from the value encoded in an
10262 # empty executable.
10263 if test "${lt_cv_aix_libpath+set}" = set; then
10264 aix_libpath
=$lt_cv_aix_libpath
10266 if ${lt_cv_aix_libpath_+:} false
; then :
10267 $as_echo_n "(cached) " >&6
10269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10280 if ac_fn_c_try_link
"$LINENO"; then :
10282 lt_aix_libpath_sed
='
10283 /Import File Strings/,/^$/ {
10285 s/^0 *\([^ ]*\) *$/\1/
10289 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10290 # Check for a 64-bit object if we didn't find anything.
10291 if test -z "$lt_cv_aix_libpath_"; then
10292 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10295 rm -f core conftest.err conftest.
$ac_objext \
10296 conftest
$ac_exeext conftest.
$ac_ext
10297 if test -z "$lt_cv_aix_libpath_"; then
10298 lt_cv_aix_libpath_
="/usr/lib:/lib"
10303 aix_libpath
=$lt_cv_aix_libpath_
10306 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10307 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"
10309 if test "$host_cpu" = ia64
; then
10310 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10311 allow_undefined_flag
="-z nodefs"
10312 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"
10314 # Determine the default libpath from the value encoded in an
10315 # empty executable.
10316 if test "${lt_cv_aix_libpath+set}" = set; then
10317 aix_libpath
=$lt_cv_aix_libpath
10319 if ${lt_cv_aix_libpath_+:} false
; then :
10320 $as_echo_n "(cached) " >&6
10322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10333 if ac_fn_c_try_link
"$LINENO"; then :
10335 lt_aix_libpath_sed
='
10336 /Import File Strings/,/^$/ {
10338 s/^0 *\([^ ]*\) *$/\1/
10342 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10343 # Check for a 64-bit object if we didn't find anything.
10344 if test -z "$lt_cv_aix_libpath_"; then
10345 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10348 rm -f core conftest.err conftest.
$ac_objext \
10349 conftest
$ac_exeext conftest.
$ac_ext
10350 if test -z "$lt_cv_aix_libpath_"; then
10351 lt_cv_aix_libpath_
="/usr/lib:/lib"
10356 aix_libpath
=$lt_cv_aix_libpath_
10359 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10360 # Warning - without using the other run time loading flags,
10361 # -berok will link without error, but may produce a broken library.
10362 no_undefined_flag
=' ${wl}-bernotok'
10363 allow_undefined_flag
=' ${wl}-berok'
10364 if test "$with_gnu_ld" = yes; then
10365 # We only use this code for GNU lds that support --whole-archive.
10366 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10368 # Exported symbols can be pulled into shared objects from archives
10369 whole_archive_flag_spec
='$convenience'
10371 archive_cmds_need_lc
=yes
10372 # This is similar to how AIX traditionally builds its shared libraries.
10373 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'
10381 # see comment about AmigaOS4 .so support
10382 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10383 archive_expsym_cmds
=''
10386 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)'
10387 hardcode_libdir_flag_spec
='-L$libdir'
10388 hardcode_minus_L
=yes
10394 export_dynamic_flag_spec
=-rdynamic
10397 cygwin
* | mingw
* | pw32
* | cegcc
*)
10398 # When not using gcc, we currently assume that we are using
10399 # Microsoft Visual C++.
10400 # hardcode_libdir_flag_spec is actually meaningless, as there is
10401 # no search path for DLLs.
10402 case $cc_basename in
10405 hardcode_libdir_flag_spec
=' '
10406 allow_undefined_flag
=unsupported
10407 always_export_symbols
=yes
10409 # Tell ltmain to make .lib files, not .a files.
10411 # Tell ltmain to make .dll files, not .so files.
10413 # FIXME: Setting linknames here is a bad hack.
10414 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10415 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10416 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10418 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10420 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10422 # The linker will not automatically build a static lib if we build a DLL.
10423 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10424 enable_shared_with_static_runtimes
=yes
10425 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10427 old_postinstall_cmds
='chmod 644 $oldlib'
10428 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10429 lt_tool_outputfile="@TOOL_OUTPUT@"~
10430 case $lt_outputfile in
10433 lt_outputfile="$lt_outputfile.exe"
10434 lt_tool_outputfile="$lt_tool_outputfile.exe"
10437 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10438 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10439 $RM "$lt_outputfile.manifest";
10443 # Assume MSVC wrapper
10444 hardcode_libdir_flag_spec
=' '
10445 allow_undefined_flag
=unsupported
10446 # Tell ltmain to make .lib files, not .a files.
10448 # Tell ltmain to make .dll files, not .so files.
10450 # FIXME: Setting linknames here is a bad hack.
10451 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10452 # The linker will automatically build a .lib file if we build a DLL.
10453 old_archive_from_new_cmds
='true'
10454 # FIXME: Should let the user specify the lib program.
10455 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10456 enable_shared_with_static_runtimes
=yes
10461 darwin
* | rhapsody
*)
10464 archive_cmds_need_lc
=no
10466 hardcode_automatic
=yes
10467 hardcode_shlibpath_var
=unsupported
10468 if test "$lt_cv_ld_force_load" = "yes"; then
10469 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\"`'
10471 whole_archive_flag_spec
=''
10473 link_all_deplibs
=yes
10474 allow_undefined_flag
="$_lt_dar_allow_undefined"
10475 case $cc_basename in
10476 ifort
*) _lt_dar_can_shared
=yes ;;
10477 *) _lt_dar_can_shared
=$GCC ;;
10479 if test "$_lt_dar_can_shared" = "yes"; then
10480 output_verbose_link_cmd
=func_echo_all
10481 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10482 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10483 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}"
10484 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}"
10493 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10494 hardcode_libdir_flag_spec
='-L$libdir'
10495 hardcode_shlibpath_var
=no
10502 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10503 # support. Future versions do this automatically, but an explicit c++rt0.o
10504 # does not break anything, and helps significantly (at the cost of a little
10507 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10508 hardcode_libdir_flag_spec
='-R$libdir'
10509 hardcode_direct
=yes
10510 hardcode_shlibpath_var
=no
10513 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10515 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10516 hardcode_direct
=yes
10517 hardcode_minus_L
=yes
10518 hardcode_shlibpath_var
=no
10521 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10522 freebsd
* | dragonfly
*)
10523 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10524 hardcode_libdir_flag_spec
='-R$libdir'
10525 hardcode_direct
=yes
10526 hardcode_shlibpath_var
=no
10530 if test "$GCC" = yes; then
10531 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10533 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'
10535 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10536 hardcode_libdir_separator
=:
10537 hardcode_direct
=yes
10539 # hardcode_minus_L: Not really in the search PATH,
10540 # but as the default location of the library.
10541 hardcode_minus_L
=yes
10542 export_dynamic_flag_spec
='${wl}-E'
10546 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10547 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10549 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10551 if test "$with_gnu_ld" = no
; then
10552 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10553 hardcode_libdir_flag_spec_ld
='+b $libdir'
10554 hardcode_libdir_separator
=:
10555 hardcode_direct
=yes
10556 hardcode_direct_absolute
=yes
10557 export_dynamic_flag_spec
='${wl}-E'
10558 # hardcode_minus_L: Not really in the search PATH,
10559 # but as the default location of the library.
10560 hardcode_minus_L
=yes
10565 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10568 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10571 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10574 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10580 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10583 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10587 # Older versions of the 11.00 compiler do not understand -b yet
10588 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10590 $as_echo_n "checking if $CC understands -b... " >&6; }
10591 if ${lt_cv_prog_compiler__b+:} false
; then :
10592 $as_echo_n "(cached) " >&6
10594 lt_cv_prog_compiler__b
=no
10595 save_LDFLAGS
="$LDFLAGS"
10596 LDFLAGS
="$LDFLAGS -b"
10597 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10598 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10599 # The linker can only warn and ignore the option if not recognized
10600 # So say no if there are warnings
10601 if test -s conftest.err
; then
10602 # Append any errors to the config.log.
10603 cat conftest.err
1>&5
10604 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10605 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10606 if diff conftest.exp conftest.er2
>/dev
/null
; then
10607 lt_cv_prog_compiler__b
=yes
10610 lt_cv_prog_compiler__b
=yes
10614 LDFLAGS
="$save_LDFLAGS"
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10618 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10620 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10621 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10623 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10629 if test "$with_gnu_ld" = no
; then
10630 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10631 hardcode_libdir_separator
=:
10636 hardcode_shlibpath_var
=no
10639 hardcode_direct
=yes
10640 hardcode_direct_absolute
=yes
10641 export_dynamic_flag_spec
='${wl}-E'
10643 # hardcode_minus_L: Not really in the search PATH,
10644 # but as the default location of the library.
10645 hardcode_minus_L
=yes
10651 irix5
* | irix6
* | nonstopux
*)
10652 if test "$GCC" = yes; then
10653 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10654 # Try to use the -exported_symbol ld option, if it does not
10655 # work, assume that -exports_file does not work either and
10656 # implicitly export all symbols.
10657 # This should be the same for all languages, so no per-tag cache variable.
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10659 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10660 if ${lt_cv_irix_exported_symbol+:} false
; then :
10661 $as_echo_n "(cached) " >&6
10663 save_LDFLAGS
="$LDFLAGS"
10664 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10667 int foo (void) { return 0; }
10669 if ac_fn_c_try_link
"$LINENO"; then :
10670 lt_cv_irix_exported_symbol
=yes
10672 lt_cv_irix_exported_symbol
=no
10674 rm -f core conftest.err conftest.
$ac_objext \
10675 conftest
$ac_exeext conftest.
$ac_ext
10676 LDFLAGS
="$save_LDFLAGS"
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10679 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10680 if test "$lt_cv_irix_exported_symbol" = yes; then
10681 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10684 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'
10685 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'
10687 archive_cmds_need_lc
='no'
10688 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10689 hardcode_libdir_separator
=:
10691 link_all_deplibs
=yes
10695 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10696 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10698 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10700 hardcode_libdir_flag_spec
='-R$libdir'
10701 hardcode_direct
=yes
10702 hardcode_shlibpath_var
=no
10706 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10707 hardcode_direct
=yes
10708 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10709 hardcode_libdir_separator
=:
10710 hardcode_shlibpath_var
=no
10717 if test -f /usr
/libexec
/ld.so
; then
10718 hardcode_direct
=yes
10719 hardcode_shlibpath_var
=no
10720 hardcode_direct_absolute
=yes
10721 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10722 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10723 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10724 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10725 export_dynamic_flag_spec
='${wl}-E'
10728 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10729 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10730 hardcode_libdir_flag_spec
='-R$libdir'
10733 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10734 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10744 hardcode_libdir_flag_spec
='-L$libdir'
10745 hardcode_minus_L
=yes
10746 allow_undefined_flag
=unsupported
10747 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'
10748 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10752 if test "$GCC" = yes; then
10753 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10754 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'
10756 allow_undefined_flag
=' -expect_unresolved \*'
10757 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'
10759 archive_cmds_need_lc
='no'
10760 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10761 hardcode_libdir_separator
=:
10764 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10765 if test "$GCC" = yes; then
10766 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10767 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10768 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10770 allow_undefined_flag
=' -expect_unresolved \*'
10771 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'
10772 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~
10773 $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'
10775 # Both c and cxx compiler support -rpath directly
10776 hardcode_libdir_flag_spec
='-rpath $libdir'
10778 archive_cmds_need_lc
='no'
10779 hardcode_libdir_separator
=:
10783 no_undefined_flag
=' -z defs'
10784 if test "$GCC" = yes; then
10786 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10787 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10788 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10790 case `$CC -V 2>&1` in
10793 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10794 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10795 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10799 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10800 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10801 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10805 hardcode_libdir_flag_spec
='-R$libdir'
10806 hardcode_shlibpath_var
=no
10808 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10810 # The compiler driver will combine and reorder linker options,
10811 # but understands `-z linker_flag'. GCC discards it without `$wl',
10812 # but is careful enough not to reorder.
10813 # Supported since Solaris 2.6 (maybe 2.5.1?)
10814 if test "$GCC" = yes; then
10815 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10817 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10821 link_all_deplibs
=yes
10825 if test "x$host_vendor" = xsequent
; then
10826 # Use $CC to link under sequent, because it throws in some extra .o
10827 # files that make .init and .fini sections work.
10828 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10830 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10832 hardcode_libdir_flag_spec
='-L$libdir'
10833 hardcode_direct
=yes
10834 hardcode_minus_L
=yes
10835 hardcode_shlibpath_var
=no
10839 case $host_vendor in
10841 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10842 hardcode_direct
=yes # is this really true???
10845 ## LD is ld it makes a PLAMLIB
10846 ## CC just makes a GrossModule.
10847 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10848 reload_cmds
='$CC -r -o $output$reload_objs'
10852 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10853 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10856 runpath_var
='LD_RUN_PATH'
10857 hardcode_shlibpath_var
=no
10861 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10862 hardcode_shlibpath_var
=no
10863 export_dynamic_flag_spec
='-Bexport'
10867 if test -d /usr
/nec
; then
10868 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10869 hardcode_shlibpath_var
=no
10870 runpath_var
=LD_RUN_PATH
10871 hardcode_runpath_var
=yes
10876 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10877 no_undefined_flag
='${wl}-z,text'
10878 archive_cmds_need_lc
=no
10879 hardcode_shlibpath_var
=no
10880 runpath_var
='LD_RUN_PATH'
10882 if test "$GCC" = yes; then
10883 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10884 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10886 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10887 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10891 sysv5
* | sco3.2v5
* | sco5v6
*)
10892 # Note: We can NOT use -z defs as we might desire, because we do not
10893 # link with -lc, and that would cause any symbols used from libc to
10894 # always be unresolved, which means just about no library would
10895 # ever link correctly. If we're not using GNU ld we use -z text
10896 # though, which does catch some bad symbols but isn't as heavy-handed
10898 no_undefined_flag
='${wl}-z,text'
10899 allow_undefined_flag
='${wl}-z,nodefs'
10900 archive_cmds_need_lc
=no
10901 hardcode_shlibpath_var
=no
10902 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10903 hardcode_libdir_separator
=':'
10904 link_all_deplibs
=yes
10905 export_dynamic_flag_spec
='${wl}-Bexport'
10906 runpath_var
='LD_RUN_PATH'
10908 if test "$GCC" = yes; then
10909 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10910 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10912 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10913 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10918 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10919 hardcode_libdir_flag_spec
='-L$libdir'
10920 hardcode_shlibpath_var
=no
10928 if test x
$host_vendor = xsni
; then
10930 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10931 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10938 $as_echo "$ld_shlibs" >&6; }
10939 test "$ld_shlibs" = no
&& can_build_shared
=no
10941 with_gnu_ld
=$with_gnu_ld
10958 # Do we need to explicitly link libc?
10960 case "x$archive_cmds_need_lc" in
10962 # Assume -lc should be added
10963 archive_cmds_need_lc
=yes
10965 if test "$enable_shared" = yes && test "$GCC" = yes; then
10966 case $archive_cmds in
10968 # FIXME: we may have to deal with multi-command sequences.
10971 # Test whether the compiler implicitly links with -lc since on some
10972 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10973 # to ld, don't add -lc before -lgcc.
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10975 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10976 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10977 $as_echo_n "(cached) " >&6
10980 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10983 (eval $ac_compile) 2>&5
10985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10986 test $ac_status = 0; } 2>conftest.err
; then
10989 libobjs
=conftest.
$ac_objext
10991 wl
=$lt_prog_compiler_wl
10992 pic_flag
=$lt_prog_compiler_pic
10998 lt_save_allow_undefined_flag
=$allow_undefined_flag
10999 allow_undefined_flag
=
11000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11001 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11004 test $ac_status = 0; }
11006 lt_cv_archive_cmds_need_lc
=no
11008 lt_cv_archive_cmds_need_lc
=yes
11010 allow_undefined_flag
=$lt_save_allow_undefined_flag
11012 cat conftest.err
1>&5
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11018 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11019 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11183 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11185 if test "$GCC" = yes; then
11187 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11188 *) lt_awk_arg
="/^libraries:/" ;;
11191 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11192 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11194 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11195 case $lt_search_path_spec in
11197 # if the path contains ";" then we assume it to be the separator
11198 # otherwise default to the standard path separator (i.e. ":") - it is
11199 # assumed that no part of a normal pathname contains ";" but that should
11200 # okay in the real world where ";" in dirpaths is itself problematic.
11201 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11204 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11207 # Ok, now we have the path, separated by spaces, we can step through it
11208 # and add multilib dir if necessary.
11209 lt_tmp_lt_search_path_spec
=
11210 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11211 for lt_sys_path
in $lt_search_path_spec; do
11212 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11213 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11215 test -d "$lt_sys_path" && \
11216 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11219 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11220 BEGIN {RS=" "; FS="/|\n";} {
11223 for (lt_i = NF; lt_i > 0; lt_i--) {
11224 if ($lt_i != "" && $lt_i != ".") {
11225 if ($lt_i == "..") {
11228 if (lt_count == 0) {
11229 lt_foo="/" $lt_i lt_foo;
11236 if (lt_foo != "") { lt_freq[lt_foo]++; }
11237 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11239 # AWK program above erroneously prepends '/' to C:/dos/paths
11242 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11243 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11245 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11247 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11249 library_names_spec
=
11250 libname_spec
='lib$name'
11254 postuninstall_cmds
=
11258 shlibpath_overrides_runpath
=unknown
11260 dynamic_linker
="$host_os ld.so"
11261 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11262 need_lib_prefix
=unknown
11263 hardcode_into_libs
=no
11265 # when you set need_version to no, make sure it does not cause -set_version
11266 # flags to be left without arguments
11267 need_version
=unknown
11272 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11273 shlibpath_var
=LIBPATH
11275 # AIX 3 has no versioning support, so we append a major version to the name.
11276 soname_spec
='${libname}${release}${shared_ext}$major'
11283 hardcode_into_libs
=yes
11284 if test "$host_cpu" = ia64
; then
11285 # AIX 5 supports IA64
11286 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11287 shlibpath_var
=LD_LIBRARY_PATH
11289 # With GCC up to 2.95.x, collect2 would create an import file
11290 # for dependence libraries. The import file would start with
11291 # the line `#! .'. This would cause the generated library to
11292 # depend on `.', always an invalid library. This was fixed in
11293 # development snapshots of GCC prior to 3.0.
11295 aix4 | aix4.
[01] | aix4.
[01].
*)
11296 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11298 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11301 can_build_shared
=no
11305 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11306 # soname into executable. Probably we can add versioning support to
11307 # collect2, so additional links can be useful in future.
11308 if test "$aix_use_runtimelinking" = yes; then
11309 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11310 # instead of lib<name>.a to let people know that these are not
11311 # typical AIX shared libraries.
11312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314 # We preserve .a as extension for shared libraries through AIX4.2
11315 # and later when we are not doing run time linking.
11316 library_names_spec
='${libname}${release}.a $libname.a'
11317 soname_spec
='${libname}${release}${shared_ext}$major'
11319 shlibpath_var
=LIBPATH
11326 # Since July 2007 AmigaOS4 officially supports .so libraries.
11327 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11331 library_names_spec
='$libname.ixlibrary $libname.a'
11332 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11333 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'
11339 library_names_spec
='${libname}${shared_ext}'
11340 dynamic_linker
="$host_os ld.so"
11341 shlibpath_var
=LIBRARY_PATH
11347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11348 soname_spec
='${libname}${release}${shared_ext}$major'
11349 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11350 shlibpath_var
=LD_LIBRARY_PATH
11351 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11352 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11353 # the default ld.so.conf also contains /usr/contrib/lib and
11354 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11355 # libtool to hard-code these into programs
11358 cygwin
* | mingw
* | pw32
* | cegcc
*)
11359 version_type
=windows
11364 case $GCC,$cc_basename in
11367 library_names_spec
='$libname.dll.a'
11368 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11369 postinstall_cmds
='base_file=`basename \${file}`~
11370 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11371 dldir=$destdir/`dirname \$dlpath`~
11372 test -d \$dldir || mkdir -p \$dldir~
11373 $install_prog $dir/$dlname \$dldir/$dlname~
11374 chmod a+x \$dldir/$dlname~
11375 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11376 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11378 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11379 dlpath=$dir/\$dldll~
11381 shlibpath_overrides_runpath
=yes
11385 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11386 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11388 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11391 # MinGW DLLs use traditional 'lib' prefix
11392 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11395 # pw32 DLLs use 'pw' prefix rather than 'lib'
11396 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11399 dynamic_linker
='Win32 ld.exe'
11404 libname_spec
='$name'
11405 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11406 library_names_spec
='${libname}.dll.lib'
11410 sys_lib_search_path_spec
=
11413 for lt_path
in $LIB
11416 # Let DOS variable expansion print the short 8.3 style file name.
11417 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11418 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11421 # Convert to MSYS style.
11422 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11425 # Convert to unix form, then to dos form, then back to unix form
11426 # but this time dos style (no spaces!) so that the unix form looks
11427 # like /cygdrive/c/PROGRA~1:/cygdr...
11428 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11429 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11430 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11433 sys_lib_search_path_spec
="$LIB"
11434 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11435 # It is most probably a Windows format PATH.
11436 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11438 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11440 # FIXME: find the short name or the path components, as spaces are
11441 # common. (e.g. "Program Files" -> "PROGRA~1")
11445 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11446 postinstall_cmds
='base_file=`basename \${file}`~
11447 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11448 dldir=$destdir/`dirname \$dlpath`~
11449 test -d \$dldir || mkdir -p \$dldir~
11450 $install_prog $dir/$dlname \$dldir/$dlname'
11451 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11452 dlpath=$dir/\$dldll~
11454 shlibpath_overrides_runpath
=yes
11455 dynamic_linker
='Win32 link.exe'
11459 # Assume MSVC wrapper
11460 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11461 dynamic_linker
='Win32 ld.exe'
11464 # FIXME: first we should search . and the directory the executable is in
11468 darwin
* | rhapsody
*)
11469 dynamic_linker
="$host_os dyld"
11470 version_type
=darwin
11473 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11474 soname_spec
='${libname}${release}${major}$shared_ext'
11475 shlibpath_overrides_runpath
=yes
11476 shlibpath_var
=DYLD_LIBRARY_PATH
11477 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11479 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11480 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11488 soname_spec
='${libname}${release}${shared_ext}$major'
11489 shlibpath_var
=LD_LIBRARY_PATH
11496 freebsd
* | dragonfly
*)
11497 # DragonFly does not have aout. When/if they implement a new
11498 # versioning mechanism, adjust this.
11499 if test -x /usr
/bin
/objformat
; then
11500 objformat
=`/usr/bin/objformat`
11503 freebsd
[123]*) objformat
=aout
;;
11504 *) objformat
=elf
;;
11507 # Handle Gentoo/FreeBSD as it was Linux
11508 case $host_vendor in
11510 version_type
=linux
;;
11512 version_type
=freebsd-
$objformat ;;
11515 case $version_type in
11517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11522 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11527 soname_spec
='${libname}${release}${shared_ext}$major'
11532 shlibpath_var
=LD_LIBRARY_PATH
11535 shlibpath_overrides_runpath
=yes
11537 freebsd3.
[01]* | freebsdelf3.
[01]*)
11538 shlibpath_overrides_runpath
=yes
11539 hardcode_into_libs
=yes
11541 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11542 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11543 shlibpath_overrides_runpath
=no
11544 hardcode_into_libs
=yes
11546 *) # from 4.6 on, and DragonFly
11547 shlibpath_overrides_runpath
=yes
11548 hardcode_into_libs
=yes
11557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11558 soname_spec
='${libname}${release}${shared_ext}$major'
11559 shlibpath_var
=LD_LIBRARY_PATH
11560 hardcode_into_libs
=yes
11567 dynamic_linker
="$host_os runtime_loader"
11568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11569 soname_spec
='${libname}${release}${shared_ext}$major'
11570 shlibpath_var
=LIBRARY_PATH
11571 shlibpath_overrides_runpath
=yes
11572 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11573 hardcode_into_libs
=yes
11576 hpux9
* | hpux10
* | hpux11
*)
11577 # Give a soname corresponding to the major version so that dld.sl refuses to
11578 # link against other versions.
11585 hardcode_into_libs
=yes
11586 dynamic_linker
="$host_os dld.so"
11587 shlibpath_var
=LD_LIBRARY_PATH
11588 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590 soname_spec
='${libname}${release}${shared_ext}$major'
11591 if test "X$HPUX_IA64_MODE" = X32
; then
11592 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11594 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11596 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11600 hardcode_into_libs
=yes
11601 dynamic_linker
="$host_os dld.sl"
11602 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11603 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11605 soname_spec
='${libname}${release}${shared_ext}$major'
11606 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11607 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11611 dynamic_linker
="$host_os dld.sl"
11612 shlibpath_var
=SHLIB_PATH
11613 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11615 soname_spec
='${libname}${release}${shared_ext}$major'
11618 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11619 postinstall_cmds
='chmod 555 $lib'
11620 # or fails outright, so override atomically:
11621 install_override_mode
=555
11628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11629 soname_spec
='${libname}${release}${shared_ext}$major'
11630 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11631 shlibpath_var
=LD_LIBRARY_PATH
11632 shlibpath_overrides_runpath
=no
11633 hardcode_into_libs
=yes
11636 irix5
* | irix6
* | nonstopux
*)
11638 nonstopux
*) version_type
=nonstopux
;;
11640 if test "$lt_cv_prog_gnu_ld" = yes; then
11648 soname_spec
='${libname}${release}${shared_ext}$major'
11649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11651 irix5
* | nonstopux
*)
11652 libsuff
= shlibsuff
=
11655 case $LD in # libtool.m4 will add one of these switches to LD
11656 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11657 libsuff
= shlibsuff
= libmagic
=32-bit;;
11658 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11659 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11660 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11661 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11662 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11666 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11667 shlibpath_overrides_runpath
=no
11668 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11669 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11670 hardcode_into_libs
=yes
11673 # No shared lib support for Linux oldld, aout, or coff.
11674 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11678 # This must be Linux ELF.
11679 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11684 soname_spec
='${libname}${release}${shared_ext}$major'
11685 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11686 shlibpath_var
=LD_LIBRARY_PATH
11687 shlibpath_overrides_runpath
=no
11689 # Some binutils ld are patched to set DT_RUNPATH
11690 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11691 $as_echo_n "(cached) " >&6
11693 lt_cv_shlibpath_overrides_runpath
=no
11694 save_LDFLAGS
=$LDFLAGS
11695 save_libdir
=$libdir
11696 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11697 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11699 /* end confdefs.h. */
11709 if ac_fn_c_try_link
"$LINENO"; then :
11710 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11711 lt_cv_shlibpath_overrides_runpath
=yes
11714 rm -f core conftest.err conftest.
$ac_objext \
11715 conftest
$ac_exeext conftest.
$ac_ext
11716 LDFLAGS
=$save_LDFLAGS
11717 libdir
=$save_libdir
11721 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11723 # This implies no fast_install, which is unacceptable.
11724 # Some rework will be needed to allow for fast_install
11725 # before this can be enabled.
11726 hardcode_into_libs
=yes
11728 # Append ld.so.conf contents to the search path
11729 if test -f /etc
/ld.so.conf
; then
11730 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' ' '`
11731 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11734 # We used to test for /lib/ld.so.1 and disable shared libraries on
11735 # powerpc, because MkLinux only supported shared libraries with the
11736 # GNU dynamic linker. Since this was broken with cross compilers,
11737 # most powerpc-linux boxes support dynamic linking these days and
11738 # people can always --disable-shared, the test was removed, and we
11739 # assume the GNU/Linux dynamic linker is in use.
11740 dynamic_linker
='GNU/Linux ld.so'
11747 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11749 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11750 dynamic_linker
='NetBSD (a.out) ld.so'
11752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11753 soname_spec
='${libname}${release}${shared_ext}$major'
11754 dynamic_linker
='NetBSD ld.elf_so'
11756 shlibpath_var
=LD_LIBRARY_PATH
11757 shlibpath_overrides_runpath
=yes
11758 hardcode_into_libs
=yes
11763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11764 shlibpath_var
=LD_LIBRARY_PATH
11765 shlibpath_overrides_runpath
=yes
11772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11773 soname_spec
='${libname}${release}${shared_ext}$major'
11774 shlibpath_var
=LD_LIBRARY_PATH
11775 shlibpath_overrides_runpath
=no
11776 hardcode_into_libs
=yes
11777 dynamic_linker
='ldqnx.so'
11782 sys_lib_dlsearch_path_spec
="/usr/lib"
11784 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11786 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11787 *) need_version
=no
;;
11789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11790 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11791 shlibpath_var
=LD_LIBRARY_PATH
11792 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11794 openbsd2.
[89] | openbsd2.
[89].
*)
11795 shlibpath_overrides_runpath
=no
11798 shlibpath_overrides_runpath
=yes
11802 shlibpath_overrides_runpath
=yes
11807 libname_spec
='$name'
11810 library_names_spec
='$libname${shared_ext} $libname.a'
11811 dynamic_linker
='OS/2 ld.exe'
11812 shlibpath_var
=LIBPATH
11815 osf3
* | osf4
* | osf5
*)
11819 soname_spec
='${libname}${release}${shared_ext}$major'
11820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11821 shlibpath_var
=LD_LIBRARY_PATH
11822 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11823 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11835 soname_spec
='${libname}${release}${shared_ext}$major'
11836 shlibpath_var
=LD_LIBRARY_PATH
11837 shlibpath_overrides_runpath
=yes
11838 hardcode_into_libs
=yes
11839 # ldd complains unless libraries are executable
11840 postinstall_cmds
='chmod +x $lib'
11845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11846 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11847 shlibpath_var
=LD_LIBRARY_PATH
11848 shlibpath_overrides_runpath
=yes
11849 if test "$with_gnu_ld" = yes; then
11857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11858 soname_spec
='${libname}${release}${shared_ext}$major'
11859 shlibpath_var
=LD_LIBRARY_PATH
11860 case $host_vendor in
11862 shlibpath_overrides_runpath
=no
11864 runpath_var
=LD_RUN_PATH
11872 shlibpath_overrides_runpath
=no
11873 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11879 if test -d /usr
/nec
;then
11881 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11882 soname_spec
='$libname${shared_ext}.$major'
11883 shlibpath_var
=LD_LIBRARY_PATH
11887 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11888 version_type
=freebsd-elf
11891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11892 soname_spec
='${libname}${release}${shared_ext}$major'
11893 shlibpath_var
=LD_LIBRARY_PATH
11894 shlibpath_overrides_runpath
=yes
11895 hardcode_into_libs
=yes
11896 if test "$with_gnu_ld" = yes; then
11897 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11899 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11902 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11906 sys_lib_dlsearch_path_spec
='/usr/lib'
11910 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11915 shlibpath_var
=LD_LIBRARY_PATH
11916 shlibpath_overrides_runpath
=no
11917 hardcode_into_libs
=yes
11922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11923 soname_spec
='${libname}${release}${shared_ext}$major'
11924 shlibpath_var
=LD_LIBRARY_PATH
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11932 $as_echo "$dynamic_linker" >&6; }
11933 test "$dynamic_linker" = no
&& can_build_shared
=no
11935 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11936 if test "$GCC" = yes; then
11937 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11940 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11941 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11943 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11944 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12039 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12041 if test -n "$hardcode_libdir_flag_spec" ||
12042 test -n "$runpath_var" ||
12043 test "X$hardcode_automatic" = "Xyes" ; then
12045 # We can hardcode non-existent directories.
12046 if test "$hardcode_direct" != no
&&
12047 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12048 # have to relink, otherwise we might link with an installed library
12049 # when we should be linking with a yet-to-be-installed one
12050 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12051 test "$hardcode_minus_L" != no
; then
12052 # Linking always hardcodes the temporary library directory.
12053 hardcode_action
=relink
12055 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12056 hardcode_action
=immediate
12059 # We cannot hardcode anything, or else we can only hardcode existing
12061 hardcode_action
=unsupported
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12064 $as_echo "$hardcode_action" >&6; }
12066 if test "$hardcode_action" = relink ||
12067 test "$inherit_rpath" = yes; then
12068 # Fast installation is not supported
12069 enable_fast_install
=no
12070 elif test "$shlibpath_overrides_runpath" = yes ||
12071 test "$enable_shared" = no
; then
12072 # Fast installation is not necessary
12073 enable_fast_install
=needless
12081 if test "x$enable_dlopen" != xyes
; then
12082 enable_dlopen
=unknown
12083 enable_dlopen_self
=unknown
12084 enable_dlopen_self_static
=unknown
12091 lt_cv_dlopen
="load_add_on"
12093 lt_cv_dlopen_self
=yes
12096 mingw
* | pw32
* | cegcc
*)
12097 lt_cv_dlopen
="LoadLibrary"
12102 lt_cv_dlopen
="dlopen"
12107 # if libdl is installed we need to link against it
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12109 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12110 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12111 $as_echo_n "(cached) " >&6
12113 ac_check_lib_save_LIBS
=$LIBS
12115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12133 if ac_fn_c_try_link
"$LINENO"; then :
12134 ac_cv_lib_dl_dlopen
=yes
12136 ac_cv_lib_dl_dlopen
=no
12138 rm -f core conftest.err conftest.
$ac_objext \
12139 conftest
$ac_exeext conftest.
$ac_ext
12140 LIBS
=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12143 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12144 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12145 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12148 lt_cv_dlopen
="dyld"
12150 lt_cv_dlopen_self
=yes
12157 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12158 if test "x$ac_cv_func_shl_load" = xyes
; then :
12159 lt_cv_dlopen
="shl_load"
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12162 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12163 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12164 $as_echo_n "(cached) " >&6
12166 ac_check_lib_save_LIBS
=$LIBS
12168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12181 return shl_load ();
12186 if ac_fn_c_try_link
"$LINENO"; then :
12187 ac_cv_lib_dld_shl_load
=yes
12189 ac_cv_lib_dld_shl_load
=no
12191 rm -f core conftest.err conftest.
$ac_objext \
12192 conftest
$ac_exeext conftest.
$ac_ext
12193 LIBS
=$ac_check_lib_save_LIBS
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12196 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12197 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12198 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12200 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12201 if test "x$ac_cv_func_dlopen" = xyes
; then :
12202 lt_cv_dlopen
="dlopen"
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12205 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12206 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12207 $as_echo_n "(cached) " >&6
12209 ac_check_lib_save_LIBS
=$LIBS
12211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12214 /* Override any GCC internal prototype to avoid an error.
12215 Use char because int might match the return type of a GCC
12216 builtin and then its argument prototype would still apply. */
12229 if ac_fn_c_try_link
"$LINENO"; then :
12230 ac_cv_lib_dl_dlopen
=yes
12232 ac_cv_lib_dl_dlopen
=no
12234 rm -f core conftest.err conftest.
$ac_objext \
12235 conftest
$ac_exeext conftest.
$ac_ext
12236 LIBS
=$ac_check_lib_save_LIBS
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12239 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12240 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12241 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12244 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12245 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12246 $as_echo_n "(cached) " >&6
12248 ac_check_lib_save_LIBS
=$LIBS
12249 LIBS
="-lsvld $LIBS"
12250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12251 /* end confdefs.h. */
12253 /* Override any GCC internal prototype to avoid an error.
12254 Use char because int might match the return type of a GCC
12255 builtin and then its argument prototype would still apply. */
12268 if ac_fn_c_try_link
"$LINENO"; then :
12269 ac_cv_lib_svld_dlopen
=yes
12271 ac_cv_lib_svld_dlopen
=no
12273 rm -f core conftest.err conftest.
$ac_objext \
12274 conftest
$ac_exeext conftest.
$ac_ext
12275 LIBS
=$ac_check_lib_save_LIBS
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12278 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12279 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12280 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12283 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12284 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12285 $as_echo_n "(cached) " >&6
12287 ac_check_lib_save_LIBS
=$LIBS
12289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12290 /* end confdefs.h. */
12292 /* Override any GCC internal prototype to avoid an error.
12293 Use char because int might match the return type of a GCC
12294 builtin and then its argument prototype would still apply. */
12302 return dld_link ();
12307 if ac_fn_c_try_link
"$LINENO"; then :
12308 ac_cv_lib_dld_dld_link
=yes
12310 ac_cv_lib_dld_dld_link
=no
12312 rm -f core conftest.err conftest.
$ac_objext \
12313 conftest
$ac_exeext conftest.
$ac_ext
12314 LIBS
=$ac_check_lib_save_LIBS
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12317 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12318 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12319 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12340 if test "x$lt_cv_dlopen" != xno
; then
12346 case $lt_cv_dlopen in
12348 save_CPPFLAGS
="$CPPFLAGS"
12349 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12351 save_LDFLAGS
="$LDFLAGS"
12352 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12355 LIBS
="$lt_cv_dlopen_libs $LIBS"
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12358 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12359 if ${lt_cv_dlopen_self+:} false
; then :
12360 $as_echo_n "(cached) " >&6
12362 if test "$cross_compiling" = yes; then :
12363 lt_cv_dlopen_self
=cross
12365 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12366 lt_status
=$lt_dlunknown
12367 cat > conftest.
$ac_ext <<_LT_EOF
12368 #line $LINENO "configure"
12369 #include "confdefs.h"
12378 # define LT_DLGLOBAL RTLD_GLOBAL
12381 # define LT_DLGLOBAL DL_GLOBAL
12383 # define LT_DLGLOBAL 0
12387 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12388 find out it does not work in some platform. */
12389 #ifndef LT_DLLAZY_OR_NOW
12391 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12394 # define LT_DLLAZY_OR_NOW DL_LAZY
12397 # define LT_DLLAZY_OR_NOW RTLD_NOW
12400 # define LT_DLLAZY_OR_NOW DL_NOW
12402 # define LT_DLLAZY_OR_NOW 0
12409 /* When -fvisbility=hidden is used, assume the code has been annotated
12410 correspondingly for the symbols needed. */
12411 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12412 int fnord () __attribute__((visibility("default")));
12415 int fnord () { return 42; }
12418 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12419 int status = $lt_dlunknown;
12423 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12426 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12427 else puts (dlerror ());
12429 /* dlclose (self); */
12437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12438 (eval $ac_link) 2>&5
12440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12441 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12442 (.
/conftest
; exit; ) >&5 2>/dev
/null
12444 case x
$lt_status in
12445 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12446 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12447 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12450 # compilation failed
12451 lt_cv_dlopen_self
=no
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12459 $as_echo "$lt_cv_dlopen_self" >&6; }
12461 if test "x$lt_cv_dlopen_self" = xyes
; then
12462 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12464 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12465 if ${lt_cv_dlopen_self_static+:} false
; then :
12466 $as_echo_n "(cached) " >&6
12468 if test "$cross_compiling" = yes; then :
12469 lt_cv_dlopen_self_static
=cross
12471 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12472 lt_status
=$lt_dlunknown
12473 cat > conftest.
$ac_ext <<_LT_EOF
12474 #line $LINENO "configure"
12475 #include "confdefs.h"
12484 # define LT_DLGLOBAL RTLD_GLOBAL
12487 # define LT_DLGLOBAL DL_GLOBAL
12489 # define LT_DLGLOBAL 0
12493 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12494 find out it does not work in some platform. */
12495 #ifndef LT_DLLAZY_OR_NOW
12497 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12500 # define LT_DLLAZY_OR_NOW DL_LAZY
12503 # define LT_DLLAZY_OR_NOW RTLD_NOW
12506 # define LT_DLLAZY_OR_NOW DL_NOW
12508 # define LT_DLLAZY_OR_NOW 0
12515 /* When -fvisbility=hidden is used, assume the code has been annotated
12516 correspondingly for the symbols needed. */
12517 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12518 int fnord () __attribute__((visibility("default")));
12521 int fnord () { return 42; }
12524 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12525 int status = $lt_dlunknown;
12529 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12532 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12533 else puts (dlerror ());
12535 /* dlclose (self); */
12543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12544 (eval $ac_link) 2>&5
12546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12547 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12548 (.
/conftest
; exit; ) >&5 2>/dev
/null
12550 case x
$lt_status in
12551 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12552 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12553 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12556 # compilation failed
12557 lt_cv_dlopen_self_static
=no
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12565 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12568 CPPFLAGS
="$save_CPPFLAGS"
12569 LDFLAGS
="$save_LDFLAGS"
12574 case $lt_cv_dlopen_self in
12575 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12576 *) enable_dlopen_self
=unknown
;;
12579 case $lt_cv_dlopen_self_static in
12580 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12581 *) enable_dlopen_self_static
=unknown
;;
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12604 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12605 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12606 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12607 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12609 $as_echo "yes" >&6; }
12611 # FIXME - insert some real tests, host_os isn't really good enough
12614 if test -n "$STRIP" ; then
12615 striplib
="$STRIP -x"
12616 old_striplib
="$STRIP -S"
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12618 $as_echo "yes" >&6; }
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12621 $as_echo "no" >&6; }
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12626 $as_echo "no" >&6; }
12642 # Report which library types will actually be built
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12644 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12646 $as_echo "$can_build_shared" >&6; }
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12649 $as_echo_n "checking whether to build shared libraries... " >&6; }
12650 test "$can_build_shared" = "no" && enable_shared
=no
12652 # On AIX, shared libraries and static libraries use the same namespace, and
12653 # are all built from PIC.
12656 test "$enable_shared" = yes && enable_static
=no
12657 if test -n "$RANLIB"; then
12658 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12659 postinstall_cmds
='$RANLIB $lib'
12664 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12665 test "$enable_shared" = yes && enable_static
=no
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12670 $as_echo "$enable_shared" >&6; }
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12673 $as_echo_n "checking whether to build static libraries... " >&6; }
12674 # Make sure either enable_shared or enable_static is yes.
12675 test "$enable_shared" = yes || enable_static
=yes
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12677 $as_echo "$enable_static" >&6; }
12684 ac_cpp
='$CPP $CPPFLAGS'
12685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12691 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12692 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12693 (test "X$CXX" != "Xg++"))) ; then
12695 ac_cpp
='$CXXCPP $CPPFLAGS'
12696 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12697 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12698 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12700 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12701 if test -z "$CXXCPP"; then
12702 if ${ac_cv_prog_CXXCPP+:} false
; then :
12703 $as_echo_n "(cached) " >&6
12705 # Double quotes because CXXCPP needs to be expanded
12706 for CXXCPP
in "$CXX -E" "/lib/cpp"
12708 ac_preproc_ok
=false
12709 for ac_cxx_preproc_warn_flag
in '' yes
12711 # Use a header file that comes with gcc, so configuring glibc
12712 # with a fresh cross-compiler works.
12713 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12714 # <limits.h> exists even on freestanding compilers.
12715 # On the NeXT, cc -E runs the code through the compiler's parser,
12716 # not just through cpp. "Syntax error" is here to catch this case.
12717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12720 # include <limits.h>
12722 # include <assert.h>
12726 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12729 # Broken: fails on valid input.
12732 rm -f conftest.err conftest.i conftest.
$ac_ext
12734 # OK, works on sane cases. Now check whether nonexistent headers
12735 # can be detected and how.
12736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12738 #include <ac_nonexistent.h>
12740 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12741 # Broken: success on invalid input.
12744 # Passes both tests.
12748 rm -f conftest.err conftest.i conftest.
$ac_ext
12751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12752 rm -f conftest.i conftest.err conftest.
$ac_ext
12753 if $ac_preproc_ok; then :
12758 ac_cv_prog_CXXCPP
=$CXXCPP
12761 CXXCPP
=$ac_cv_prog_CXXCPP
12763 ac_cv_prog_CXXCPP
=$CXXCPP
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12766 $as_echo "$CXXCPP" >&6; }
12767 ac_preproc_ok
=false
12768 for ac_cxx_preproc_warn_flag
in '' yes
12770 # Use a header file that comes with gcc, so configuring glibc
12771 # with a fresh cross-compiler works.
12772 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12773 # <limits.h> exists even on freestanding compilers.
12774 # On the NeXT, cc -E runs the code through the compiler's parser,
12775 # not just through cpp. "Syntax error" is here to catch this case.
12776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12777 /* end confdefs.h. */
12779 # include <limits.h>
12781 # include <assert.h>
12785 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12788 # Broken: fails on valid input.
12791 rm -f conftest.err conftest.i conftest.
$ac_ext
12793 # OK, works on sane cases. Now check whether nonexistent headers
12794 # can be detected and how.
12795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12797 #include <ac_nonexistent.h>
12799 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12800 # Broken: success on invalid input.
12803 # Passes both tests.
12807 rm -f conftest.err conftest.i conftest.
$ac_ext
12810 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12811 rm -f conftest.i conftest.err conftest.
$ac_ext
12812 if $ac_preproc_ok; then :
12815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12817 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12818 See \`config.log' for more details" "$LINENO" 5; }
12822 ac_cpp
='$CPP $CPPFLAGS'
12823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12828 _lt_caught_CXX_error
=yes
12832 ac_cpp
='$CXXCPP $CPPFLAGS'
12833 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12834 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12835 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12837 archive_cmds_need_lc_CXX
=no
12838 allow_undefined_flag_CXX
=
12839 always_export_symbols_CXX
=no
12840 archive_expsym_cmds_CXX
=
12841 compiler_needs_object_CXX
=no
12842 export_dynamic_flag_spec_CXX
=
12843 hardcode_direct_CXX
=no
12844 hardcode_direct_absolute_CXX
=no
12845 hardcode_libdir_flag_spec_CXX
=
12846 hardcode_libdir_flag_spec_ld_CXX
=
12847 hardcode_libdir_separator_CXX
=
12848 hardcode_minus_L_CXX
=no
12849 hardcode_shlibpath_var_CXX
=unsupported
12850 hardcode_automatic_CXX
=no
12851 inherit_rpath_CXX
=no
12853 module_expsym_cmds_CXX
=
12854 link_all_deplibs_CXX
=unknown
12855 old_archive_cmds_CXX
=$old_archive_cmds
12856 reload_flag_CXX
=$reload_flag
12857 reload_cmds_CXX
=$reload_cmds
12858 no_undefined_flag_CXX
=
12859 whole_archive_flag_spec_CXX
=
12860 enable_shared_with_static_runtimes_CXX
=no
12862 # Source file extension for C++ test sources.
12865 # Object file extension for compiled C++ test sources.
12869 # No sense in running all these tests if we already determined that
12870 # the CXX compiler isn't working. Some variables (like enable_shared)
12871 # are currently assumed to apply to all compilers on this platform,
12872 # and will be corrupted by setting them based on a non-working compiler.
12873 if test "$_lt_caught_CXX_error" != yes; then
12874 # Code to be used in simple compile tests
12875 lt_simple_compile_test_code
="int some_variable = 0;"
12877 # Code to be used in simple link tests
12878 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12880 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12887 # If no C compiler was specified, use CC.
12890 # If no C compiler flags were specified, use CFLAGS.
12891 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12893 # Allow CC to be a program name with arguments.
12897 # save warnings/boilerplate of simple test code
12898 ac_outfile
=conftest.
$ac_objext
12899 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12900 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12901 _lt_compiler_boilerplate
=`cat conftest.err`
12904 ac_outfile
=conftest.
$ac_objext
12905 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12906 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12907 _lt_linker_boilerplate
=`cat conftest.err`
12911 # Allow CC to be a program name with arguments.
12913 lt_save_CFLAGS
=$CFLAGS
12917 lt_save_with_gnu_ld
=$with_gnu_ld
12918 lt_save_path_LD
=$lt_cv_path_LD
12919 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12920 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12922 $as_unset lt_cv_prog_gnu_ld
12924 if test -n "${lt_cv_path_LDCXX+set}"; then
12925 lt_cv_path_LD
=$lt_cv_path_LDCXX
12927 $as_unset lt_cv_path_LD
12929 test -z "${LDCXX+set}" || LD
=$LDCXX
12934 for cc_temp
in $compiler""; do
12936 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12937 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12942 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12945 if test -n "$compiler"; then
12946 # We don't want -fno-exception when compiling C++ code, so set the
12947 # no_builtin_flag separately
12948 if test "$GXX" = yes; then
12949 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12951 lt_prog_compiler_no_builtin_flag_CXX
=
12954 if test "$GXX" = yes; then
12955 # Set up default GNU C++ configuration
12959 # Check whether --with-gnu-ld was given.
12960 if test "${with_gnu_ld+set}" = set; then :
12961 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12967 if test "$GCC" = yes; then
12968 # Check if gcc -print-prog-name=ld gives a path.
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12970 $as_echo_n "checking for ld used by $CC... " >&6; }
12973 # gcc leaves a trailing carriage return which upsets mingw
12974 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12976 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12979 # Accept absolute paths.
12981 re_direlt
='/[^/][^/]*/\.\./'
12982 # Canonicalize the pathname of ld
12983 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12984 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12985 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12987 test -z "$LD" && LD
="$ac_prog"
12990 # If it fails, then pretend we aren't using GCC.
12994 # If it is relative, then search for the first ld in PATH.
12995 with_gnu_ld
=unknown
12998 elif test "$with_gnu_ld" = yes; then
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13000 $as_echo_n "checking for GNU ld... " >&6; }
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13003 $as_echo_n "checking for non-GNU ld... " >&6; }
13005 if ${lt_cv_path_LD+:} false
; then :
13006 $as_echo_n "(cached) " >&6
13008 if test -z "$LD"; then
13009 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13010 for ac_dir
in $PATH; do
13012 test -z "$ac_dir" && ac_dir
=.
13013 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13014 lt_cv_path_LD
="$ac_dir/$ac_prog"
13015 # Check to see if the program is GNU ld. I'd rather use --version,
13016 # but apparently some variants of GNU ld only accept -v.
13017 # Break only if it was the GNU/non-GNU ld that we prefer.
13018 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13019 *GNU
* |
*'with BFD'*)
13020 test "$with_gnu_ld" != no
&& break
13023 test "$with_gnu_ld" != yes && break
13030 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13034 LD
="$lt_cv_path_LD"
13035 if test -n "$LD"; then
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13037 $as_echo "$LD" >&6; }
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13040 $as_echo "no" >&6; }
13042 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13044 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13045 if ${lt_cv_prog_gnu_ld+:} false
; then :
13046 $as_echo_n "(cached) " >&6
13048 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13049 case `$LD -v 2>&1 </dev/null` in
13050 *GNU
* |
*'with BFD'*)
13051 lt_cv_prog_gnu_ld
=yes
13054 lt_cv_prog_gnu_ld
=no
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13059 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13060 with_gnu_ld
=$lt_cv_prog_gnu_ld
13068 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13069 # archiving commands below assume that GNU ld is being used.
13070 if test "$with_gnu_ld" = yes; then
13071 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13072 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13074 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13075 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13077 # If archive_cmds runs LD, not CC, wlarc should be empty
13078 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13079 # investigate it a little bit more. (MM)
13082 # ancient GNU ld didn't support --whole-archive et. al.
13083 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13084 $GREP 'no-whole-archive' > /dev
/null
; then
13085 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13087 whole_archive_flag_spec_CXX
=
13093 # A generic and very simple default shared library creation
13094 # command for GNU C++ for the case where it uses the native
13095 # linker, instead of GNU ld. If possible, this setting should
13096 # overridden to take advantage of the native linker features on
13097 # the platform it is being used on.
13098 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13101 # Commands to make compiler produce verbose output that lists
13102 # what "hidden" libraries, object files and flags are used when
13103 # linking a shared library.
13104 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13112 # PORTME: fill in a description of your system's C++ link characteristics
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13114 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13118 # FIXME: insert proper C++ library support
13122 if test "$host_cpu" = ia64
; then
13123 # On IA64, the linker does run time linking by default, so we don't
13124 # have to do anything special.
13125 aix_use_runtimelinking
=no
13126 exp_sym_flag
='-Bexport'
13129 aix_use_runtimelinking
=no
13131 # Test if we are trying to use run time linking or normal
13132 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13133 # need to do runtime linking.
13134 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13135 for ld_flag
in $LDFLAGS; do
13138 aix_use_runtimelinking
=yes
13146 exp_sym_flag
='-bexport'
13147 no_entry_flag
='-bnoentry'
13150 # When large executables or shared objects are built, AIX ld can
13151 # have problems creating the table of contents. If linking a library
13152 # or program results in "error TOC overflow" add -mminimal-toc to
13153 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13154 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13156 archive_cmds_CXX
=''
13157 hardcode_direct_CXX
=yes
13158 hardcode_direct_absolute_CXX
=yes
13159 hardcode_libdir_separator_CXX
=':'
13160 link_all_deplibs_CXX
=yes
13161 file_list_spec_CXX
='${wl}-f,'
13163 if test "$GXX" = yes; then
13164 case $host_os in aix4.
[012]|aix4.
[012].
*)
13165 # We only want to do this on AIX 4.2 and lower, the check
13166 # below for broken collect2 doesn't work under 4.3+
13167 collect2name
=`${CC} -print-prog-name=collect2`
13168 if test -f "$collect2name" &&
13169 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13171 # We have reworked collect2
13174 # We have old collect2
13175 hardcode_direct_CXX
=unsupported
13176 # It fails to find uninstalled libraries when the uninstalled
13177 # path is not listed in the libpath. Setting hardcode_minus_L
13178 # to unsupported forces relinking
13179 hardcode_minus_L_CXX
=yes
13180 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13181 hardcode_libdir_separator_CXX
=
13184 shared_flag
='-shared'
13185 if test "$aix_use_runtimelinking" = yes; then
13186 shared_flag
="$shared_flag "'${wl}-G'
13190 if test "$host_cpu" = ia64
; then
13191 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13192 # chokes on -Wl,-G. The following line is correct:
13195 if test "$aix_use_runtimelinking" = yes; then
13196 shared_flag
='${wl}-G'
13198 shared_flag
='${wl}-bM:SRE'
13203 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13204 # It seems that -bexpall does not export symbols beginning with
13205 # underscore (_), so it is better to generate a list of symbols to
13207 always_export_symbols_CXX
=yes
13208 if test "$aix_use_runtimelinking" = yes; then
13209 # Warning - without using the other runtime loading flags (-brtl),
13210 # -berok will link without error, but may produce a broken library.
13211 allow_undefined_flag_CXX
='-berok'
13212 # Determine the default libpath from the value encoded in an empty
13214 if test "${lt_cv_aix_libpath+set}" = set; then
13215 aix_libpath
=$lt_cv_aix_libpath
13217 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13218 $as_echo_n "(cached) " >&6
13220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13231 if ac_fn_cxx_try_link
"$LINENO"; then :
13233 lt_aix_libpath_sed
='
13234 /Import File Strings/,/^$/ {
13236 s/^0 *\([^ ]*\) *$/\1/
13240 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13241 # Check for a 64-bit object if we didn't find anything.
13242 if test -z "$lt_cv_aix_libpath__CXX"; then
13243 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13246 rm -f core conftest.err conftest.
$ac_objext \
13247 conftest
$ac_exeext conftest.
$ac_ext
13248 if test -z "$lt_cv_aix_libpath__CXX"; then
13249 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13254 aix_libpath
=$lt_cv_aix_libpath__CXX
13257 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13259 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"
13261 if test "$host_cpu" = ia64
; then
13262 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13263 allow_undefined_flag_CXX
="-z nodefs"
13264 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"
13266 # Determine the default libpath from the value encoded in an
13267 # empty executable.
13268 if test "${lt_cv_aix_libpath+set}" = set; then
13269 aix_libpath
=$lt_cv_aix_libpath
13271 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13272 $as_echo_n "(cached) " >&6
13274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13275 /* end confdefs.h. */
13285 if ac_fn_cxx_try_link
"$LINENO"; then :
13287 lt_aix_libpath_sed
='
13288 /Import File Strings/,/^$/ {
13290 s/^0 *\([^ ]*\) *$/\1/
13294 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13295 # Check for a 64-bit object if we didn't find anything.
13296 if test -z "$lt_cv_aix_libpath__CXX"; then
13297 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13300 rm -f core conftest.err conftest.
$ac_objext \
13301 conftest
$ac_exeext conftest.
$ac_ext
13302 if test -z "$lt_cv_aix_libpath__CXX"; then
13303 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13308 aix_libpath
=$lt_cv_aix_libpath__CXX
13311 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13312 # Warning - without using the other run time loading flags,
13313 # -berok will link without error, but may produce a broken library.
13314 no_undefined_flag_CXX
=' ${wl}-bernotok'
13315 allow_undefined_flag_CXX
=' ${wl}-berok'
13316 if test "$with_gnu_ld" = yes; then
13317 # We only use this code for GNU lds that support --whole-archive.
13318 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13320 # Exported symbols can be pulled into shared objects from archives
13321 whole_archive_flag_spec_CXX
='$convenience'
13323 archive_cmds_need_lc_CXX
=yes
13324 # This is similar to how AIX traditionally builds its shared
13326 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'
13332 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13333 allow_undefined_flag_CXX
=unsupported
13334 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13335 # support --undefined. This deserves some investigation. FIXME
13336 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13343 case $cc_basename in
13345 # FIXME: insert proper C++ library support
13351 cygwin
* | mingw
* | pw32
* | cegcc
*)
13352 case $GXX,$cc_basename in
13355 # hardcode_libdir_flag_spec is actually meaningless, as there is
13356 # no search path for DLLs.
13357 hardcode_libdir_flag_spec_CXX
=' '
13358 allow_undefined_flag_CXX
=unsupported
13359 always_export_symbols_CXX
=yes
13360 file_list_spec_CXX
='@'
13361 # Tell ltmain to make .lib files, not .a files.
13363 # Tell ltmain to make .dll files, not .so files.
13365 # FIXME: Setting linknames here is a bad hack.
13366 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13367 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13368 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13370 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13372 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13374 # The linker will not automatically build a static lib if we build a DLL.
13375 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13376 enable_shared_with_static_runtimes_CXX
=yes
13378 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13379 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13380 lt_tool_outputfile="@TOOL_OUTPUT@"~
13381 case $lt_outputfile in
13384 lt_outputfile="$lt_outputfile.exe"
13385 lt_tool_outputfile="$lt_tool_outputfile.exe"
13388 func_to_tool_file "$lt_outputfile"~
13389 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13390 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13391 $RM "$lt_outputfile.manifest";
13396 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13397 # as there is no search path for DLLs.
13398 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13399 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13400 allow_undefined_flag_CXX
=unsupported
13401 always_export_symbols_CXX
=no
13402 enable_shared_with_static_runtimes_CXX
=yes
13404 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13405 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'
13406 # If the export-symbols file already is a .def file (1st line
13407 # is EXPORTS), use it as is; otherwise, prepend...
13408 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13409 cp $export_symbols $output_objdir/$soname.def;
13411 echo EXPORTS > $output_objdir/$soname.def;
13412 cat $export_symbols >> $output_objdir/$soname.def;
13414 $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'
13421 darwin
* | rhapsody
*)
13424 archive_cmds_need_lc_CXX
=no
13425 hardcode_direct_CXX
=no
13426 hardcode_automatic_CXX
=yes
13427 hardcode_shlibpath_var_CXX
=unsupported
13428 if test "$lt_cv_ld_force_load" = "yes"; then
13429 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\"`'
13431 whole_archive_flag_spec_CXX
=''
13433 link_all_deplibs_CXX
=yes
13434 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13435 case $cc_basename in
13436 ifort
*) _lt_dar_can_shared
=yes ;;
13437 *) _lt_dar_can_shared
=$GCC ;;
13439 if test "$_lt_dar_can_shared" = "yes"; then
13440 output_verbose_link_cmd
=func_echo_all
13441 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}"
13442 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13443 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}"
13444 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}"
13445 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13446 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}"
13447 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}"
13457 case $cc_basename in
13459 # FIXME: insert proper C++ library support
13463 # Green Hills C++ Compiler
13464 # FIXME: insert proper C++ library support
13468 # FIXME: insert proper C++ library support
13475 # C++ shared libraries reported to be fairly broken before
13481 archive_cmds_need_lc_CXX
=no
13484 freebsd
* | dragonfly
*)
13485 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13494 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13495 link_all_deplibs_CXX
=yes
13499 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13500 hardcode_libdir_separator_CXX
=:
13501 export_dynamic_flag_spec_CXX
='${wl}-E'
13502 hardcode_direct_CXX
=yes
13503 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13504 # but as the default
13505 # location of the library.
13507 case $cc_basename in
13509 # FIXME: insert proper C++ library support
13513 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'
13514 # Commands to make compiler produce verbose output that lists
13515 # what "hidden" libraries, object files and flags are used when
13516 # linking a shared library.
13518 # There doesn't appear to be a way to prevent this compiler from
13519 # explicitly linking system object files so we need to strip them
13520 # from the output so that they don't get included in the library
13522 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"'
13525 if test "$GXX" = yes; then
13526 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
13528 # FIXME: insert proper C++ library support
13536 if test $with_gnu_ld = no
; then
13537 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13538 hardcode_libdir_separator_CXX
=:
13544 export_dynamic_flag_spec_CXX
='${wl}-E'
13550 hardcode_direct_CXX
=no
13551 hardcode_shlibpath_var_CXX
=no
13554 hardcode_direct_CXX
=yes
13555 hardcode_direct_absolute_CXX
=yes
13556 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13557 # but as the default
13558 # location of the library.
13562 case $cc_basename in
13564 # FIXME: insert proper C++ library support
13570 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13573 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13576 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13579 # Commands to make compiler produce verbose output that lists
13580 # what "hidden" libraries, object files and flags are used when
13581 # linking a shared library.
13583 # There doesn't appear to be a way to prevent this compiler from
13584 # explicitly linking system object files so we need to strip them
13585 # from the output so that they don't get included in the library
13587 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"'
13590 if test "$GXX" = yes; then
13591 if test $with_gnu_ld = no
; then
13594 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13597 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13600 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13605 # FIXME: insert proper C++ library support
13613 hardcode_direct_CXX
=no
13614 hardcode_shlibpath_var_CXX
=no
13615 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13616 export_dynamic_flag_spec_CXX
='${wl}-E'
13617 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13618 # Instead, shared libraries are loaded at an image base (0x10000000 by
13619 # default) and relocated if they conflict, which is a slow very memory
13620 # consuming and fragmenting process. To avoid this, we pick a random,
13621 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13622 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13623 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'
13624 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'
13627 case $cc_basename in
13630 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'
13632 # Archives containing C++ object files must be created using
13633 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13634 # necessary to make sure instantiated templates are included
13636 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13639 if test "$GXX" = yes; then
13640 if test "$with_gnu_ld" = no
; then
13641 archive_cmds_CXX
='$CC -shared $pic_flag -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'
13643 archive_cmds_CXX
='$CC -shared $pic_flag -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'
13646 link_all_deplibs_CXX
=yes
13649 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13650 hardcode_libdir_separator_CXX
=:
13651 inherit_rpath_CXX
=yes
13654 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13655 case $cc_basename in
13657 # Kuck and Associates, Inc. (KAI) C++ Compiler
13659 # KCC will only create a shared library if the output file
13660 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13661 # to its proper name (with version) after linking.
13662 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'
13663 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'
13664 # Commands to make compiler produce verbose output that lists
13665 # what "hidden" libraries, object files and flags are used when
13666 # linking a shared library.
13668 # There doesn't appear to be a way to prevent this compiler from
13669 # explicitly linking system object files so we need to strip them
13670 # from the output so that they don't get included in the library
13672 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"'
13674 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13675 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13677 # Archives containing C++ object files must be created using
13678 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13679 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13684 # version 8.0 and above of icpc choke on multiply defined symbols
13685 # if we add $predep_objects and $postdep_objects, however 7.1 and
13686 # earlier do not add the objects themselves.
13687 case `$CC -V 2>&1` in
13689 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13690 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'
13692 *) # Version 8.0 or newer
13695 ia64
*) tmp_idyn
=' -i_dynamic';;
13697 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13698 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'
13701 archive_cmds_need_lc_CXX
=no
13702 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13703 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13704 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13707 # Portland Group C++ compiler
13709 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13710 prelink_cmds_CXX
='tpldir=Template.dir~
13712 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13713 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13714 old_archive_cmds_CXX
='tpldir=Template.dir~
13716 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13717 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13719 archive_cmds_CXX
='tpldir=Template.dir~
13721 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13722 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13723 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13725 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13726 $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'
13728 *) # Version 6 and above use weak symbols
13729 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13730 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'
13734 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13735 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13736 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'
13740 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13741 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'
13743 runpath_var
=LD_RUN_PATH
13744 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13745 hardcode_libdir_separator_CXX
=:
13747 # Commands to make compiler produce verbose output that lists
13748 # what "hidden" libraries, object files and flags are used when
13749 # linking a shared library.
13751 # There doesn't appear to be a way to prevent this compiler from
13752 # explicitly linking system object files so we need to strip them
13753 # from the output so that they don't get included in the library
13755 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'
13757 xl
* | mpixl
* | bgxl
*)
13758 # IBM XL 8.0 on PPC, with GNU ld
13759 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13760 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13761 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13762 if test "x$supports_anon_versioning" = xyes
; then
13763 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13764 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13765 echo "local: *; };" >> $output_objdir/$libname.ver~
13766 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13770 case `$CC -V 2>&1 | sed 5q` in
13773 no_undefined_flag_CXX
=' -zdefs'
13774 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13775 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'
13776 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13777 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'
13778 compiler_needs_object_CXX
=yes
13780 # Not sure whether something based on
13781 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13783 output_verbose_link_cmd
='func_echo_all'
13785 # Archives containing C++ object files must be created using
13786 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13787 # necessary to make sure instantiated templates are included
13789 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13797 # FIXME: insert proper C++ library support
13802 # FIXME: insert proper C++ library support
13807 case $cc_basename in
13809 # FIXME: insert proper C++ library support
13813 # FIXME: insert proper C++ library support
13820 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13821 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13823 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13824 hardcode_direct_CXX
=yes
13825 hardcode_shlibpath_var_CXX
=no
13827 # Workaround some broken pre-1.5 toolchains
13828 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13836 # C++ shared libraries are fairly broken
13841 if test -f /usr
/libexec
/ld.so
; then
13842 hardcode_direct_CXX
=yes
13843 hardcode_shlibpath_var_CXX
=no
13844 hardcode_direct_absolute_CXX
=yes
13845 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13846 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13847 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13848 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13849 export_dynamic_flag_spec_CXX
='${wl}-E'
13850 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13852 output_verbose_link_cmd
=func_echo_all
13858 osf3
* | osf4
* | osf5
*)
13859 case $cc_basename in
13861 # Kuck and Associates, Inc. (KAI) C++ Compiler
13863 # KCC will only create a shared library if the output file
13864 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13865 # to its proper name (with version) after linking.
13866 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'
13868 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13869 hardcode_libdir_separator_CXX
=:
13871 # Archives containing C++ object files must be created using
13872 # the KAI C++ compiler.
13874 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13875 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13879 # Rational C++ 2.4.1
13880 # FIXME: insert proper C++ library support
13886 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13887 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'
13888 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13891 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13892 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'
13893 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13894 echo "-hidden">> $lib.exp~
13895 $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~
13897 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13901 hardcode_libdir_separator_CXX
=:
13903 # Commands to make compiler produce verbose output that lists
13904 # what "hidden" libraries, object files and flags are used when
13905 # linking a shared library.
13907 # There doesn't appear to be a way to prevent this compiler from
13908 # explicitly linking system object files so we need to strip them
13909 # from the output so that they don't get included in the library
13911 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"'
13914 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13915 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13918 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'
13921 archive_cmds_CXX
='$CC -shared $pic_flag -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'
13925 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13926 hardcode_libdir_separator_CXX
=:
13928 # Commands to make compiler produce verbose output that lists
13929 # what "hidden" libraries, object files and flags are used when
13930 # linking a shared library.
13931 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13934 # FIXME: insert proper C++ library support
13942 # FIXME: insert proper C++ library support
13947 case $cc_basename in
13950 # FIXME: insert proper C++ library support
13955 # FIXME: insert proper C++ library support
13959 # FIXME: insert proper C++ library support
13966 case $cc_basename in
13968 # Sun C++ 4.2, 5.x and Centerline C++
13969 archive_cmds_need_lc_CXX
=yes
13970 no_undefined_flag_CXX
=' -zdefs'
13971 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13972 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13973 $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'
13975 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13976 hardcode_shlibpath_var_CXX
=no
13978 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13980 # The compiler driver will combine and reorder linker options,
13981 # but understands `-z linker_flag'.
13982 # Supported since Solaris 2.6 (maybe 2.5.1?)
13983 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13986 link_all_deplibs_CXX
=yes
13988 output_verbose_link_cmd
='func_echo_all'
13990 # Archives containing C++ object files must be created using
13991 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13992 # necessary to make sure instantiated templates are included
13994 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13997 # Green Hills C++ Compiler
13998 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14000 # The C++ compiler must be used to create the archive.
14001 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14004 # GNU C++ compiler with Solaris linker
14005 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14006 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14007 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14008 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14009 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14010 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14012 # Commands to make compiler produce verbose output that lists
14013 # what "hidden" libraries, object files and flags are used when
14014 # linking a shared library.
14015 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14017 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14019 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14020 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14021 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14023 # Commands to make compiler produce verbose output that lists
14024 # what "hidden" libraries, object files and flags are used when
14025 # linking a shared library.
14026 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14029 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14031 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14033 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14041 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14042 no_undefined_flag_CXX
='${wl}-z,text'
14043 archive_cmds_need_lc_CXX
=no
14044 hardcode_shlibpath_var_CXX
=no
14045 runpath_var
='LD_RUN_PATH'
14047 case $cc_basename in
14049 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14050 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14053 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14054 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14059 sysv5
* | sco3.2v5
* | sco5v6
*)
14060 # Note: We can NOT use -z defs as we might desire, because we do not
14061 # link with -lc, and that would cause any symbols used from libc to
14062 # always be unresolved, which means just about no library would
14063 # ever link correctly. If we're not using GNU ld we use -z text
14064 # though, which does catch some bad symbols but isn't as heavy-handed
14066 no_undefined_flag_CXX
='${wl}-z,text'
14067 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14068 archive_cmds_need_lc_CXX
=no
14069 hardcode_shlibpath_var_CXX
=no
14070 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14071 hardcode_libdir_separator_CXX
=':'
14072 link_all_deplibs_CXX
=yes
14073 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14074 runpath_var
='LD_RUN_PATH'
14076 case $cc_basename in
14078 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14079 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14080 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14081 '"$old_archive_cmds_CXX"
14082 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14083 '"$reload_cmds_CXX"
14086 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14087 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14093 case $cc_basename in
14095 # NonStop-UX NCC 3.20
14096 # FIXME: insert proper C++ library support
14100 # FIXME: insert proper C++ library support
14107 # FIXME: insert proper C++ library support
14112 # FIXME: insert proper C++ library support
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14118 $as_echo "$ld_shlibs_CXX" >&6; }
14119 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14125 ## There is no encapsulation within the following macros, do not change
14126 ## the running order or otherwise move them around unless you know exactly
14127 ## what you are doing...
14128 # Dependencies to place before and after the object being linked:
14129 predep_objects_CXX
=
14130 postdep_objects_CXX
=
14133 compiler_lib_search_path_CXX
=
14135 cat > conftest.
$ac_ext <<_LT_EOF
14139 Foo (void) { a = 0; }
14146 _lt_libdeps_save_CFLAGS
=$CFLAGS
14147 case "$CC $CFLAGS " in #(
14148 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14149 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14153 (eval $ac_compile) 2>&5
14155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14156 test $ac_status = 0; }; then
14157 # Parse the compiler output and extract the necessary
14158 # objects, libraries and library flags.
14160 # Sentinel used to keep track of whether or not we are before
14161 # the conftest object file.
14162 pre_test_object_deps_done
=no
14164 for p
in `eval "$output_verbose_link_cmd"`; do
14165 case ${prev}${p} in
14168 # Some compilers place space between "-{L,R}" and the path.
14169 # Remove the space.
14170 if test $p = "-L" ||
14171 test $p = "-R"; then
14176 # Expand the sysroot to ease extracting the directories later.
14177 if test -z "$prev"; then
14179 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14180 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14181 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14185 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14187 if test "$pre_test_object_deps_done" = no
; then
14190 # Internal compiler library paths should come after those
14191 # provided the user. The postdeps already come after the
14192 # user supplied libs so there is no need to process them.
14193 if test -z "$compiler_lib_search_path_CXX"; then
14194 compiler_lib_search_path_CXX
="${prev}${p}"
14196 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14199 # The "-l" case would never come before the object being
14200 # linked, so don't bother handling this case.
14203 if test -z "$postdeps_CXX"; then
14204 postdeps_CXX
="${prev}${p}"
14206 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14212 *.lto.
$objext) ;; # Ignore GCC LTO objects
14214 # This assumes that the test object file only shows up
14215 # once in the compiler output.
14216 if test "$p" = "conftest.$objext"; then
14217 pre_test_object_deps_done
=yes
14221 if test "$pre_test_object_deps_done" = no
; then
14222 if test -z "$predep_objects_CXX"; then
14223 predep_objects_CXX
="$p"
14225 predep_objects_CXX
="$predep_objects_CXX $p"
14228 if test -z "$postdep_objects_CXX"; then
14229 postdep_objects_CXX
="$p"
14231 postdep_objects_CXX
="$postdep_objects_CXX $p"
14236 *) ;; # Ignore the rest.
14244 echo "libtool.m4: error: problem compiling CXX test program"
14247 $RM -f confest.
$objext
14248 CFLAGS
=$_lt_libdeps_save_CFLAGS
14250 # PORTME: override above test on systems where it is broken
14253 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14254 # hack all around it, let's just trust "g++" to DTRT.
14255 predep_objects_CXX
=
14256 postdep_objects_CXX
=
14261 case `$CC -V 2>&1 | sed 5q` in
14265 # The more standards-conforming stlport4 library is
14266 # incompatible with the Cstd library. Avoid specifying
14267 # it if it's in CXXFLAGS. Ignore libCrun as
14268 # -library=stlport4 depends on it.
14269 case " $CXX $CXXFLAGS " in
14270 *" -library=stlport4 "*)
14271 solaris_use_stlport4
=yes
14275 if test "$solaris_use_stlport4" != yes; then
14276 postdeps_CXX
='-library=Cstd -library=Crun'
14283 case $cc_basename in
14285 # The more standards-conforming stlport4 library is
14286 # incompatible with the Cstd library. Avoid specifying
14287 # it if it's in CXXFLAGS. Ignore libCrun as
14288 # -library=stlport4 depends on it.
14289 case " $CXX $CXXFLAGS " in
14290 *" -library=stlport4 "*)
14291 solaris_use_stlport4
=yes
14295 # Adding this requires a known-good setup of shared libraries for
14296 # Sun compiler versions before 5.6, else PIC objects from an old
14297 # archive will be linked into the output, leading to subtle bugs.
14298 if test "$solaris_use_stlport4" != yes; then
14299 postdeps_CXX
='-library=Cstd -library=Crun'
14307 case " $postdeps_CXX " in
14308 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14310 compiler_lib_search_dirs_CXX
=
14311 if test -n "${compiler_lib_search_path_CXX}"; then
14312 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14345 lt_prog_compiler_wl_CXX
=
14346 lt_prog_compiler_pic_CXX
=
14347 lt_prog_compiler_static_CXX
=
14350 # C++ specific cases for pic, static, wl, etc.
14351 if test "$GXX" = yes; then
14352 lt_prog_compiler_wl_CXX
='-Wl,'
14353 lt_prog_compiler_static_CXX
='-static'
14357 # All AIX code is PIC.
14358 if test "$host_cpu" = ia64
; then
14359 # AIX 5 now supports IA64 processor
14360 lt_prog_compiler_static_CXX
='-Bstatic'
14367 # see comment about AmigaOS4 .so support
14368 lt_prog_compiler_pic_CXX
='-fPIC'
14371 # FIXME: we need at least 68020 code to build shared libraries, but
14372 # adding the `-m68020' flag to GCC prevents building anything better,
14374 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14379 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14380 # PIC is the default for these OSes.
14382 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14383 # This hack is so that the source file can tell whether it is being
14384 # built for inclusion in a dll (and should export symbols for example).
14385 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14386 # (--disable-auto-import) libraries
14387 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14389 darwin
* | rhapsody
*)
14390 # PIC is the default on this platform
14391 # Common symbols not allowed in MH_DYLIB files
14392 lt_prog_compiler_pic_CXX
='-fno-common'
14395 # DJGPP does not support shared libraries at all
14396 lt_prog_compiler_pic_CXX
=
14399 # PIC is the default for Haiku.
14400 # The "-static" flag exists, but is broken.
14401 lt_prog_compiler_static_CXX
=
14404 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14405 # Instead, we relocate shared libraries at runtime.
14408 if test -d /usr
/nec
; then
14409 lt_prog_compiler_pic_CXX
=-Kconform_pic
14413 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14414 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14415 # sets the default TLS model and affects inlining.
14420 lt_prog_compiler_pic_CXX
='-fPIC'
14425 # QNX uses GNU C++, but need to define -shared option too, otherwise
14426 # it will coredump.
14427 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14430 lt_prog_compiler_pic_CXX
='-fPIC'
14436 # All AIX code is PIC.
14437 if test "$host_cpu" = ia64
; then
14438 # AIX 5 now supports IA64 processor
14439 lt_prog_compiler_static_CXX
='-Bstatic'
14441 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14445 case $cc_basename in
14447 # Green Hills C++ Compiler
14448 # _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"
14452 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14453 # This hack is so that the source file can tell whether it is being
14454 # built for inclusion in a dll (and should export symbols for example).
14455 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14458 case $cc_basename in
14460 lt_prog_compiler_pic_CXX
='-KPIC'
14463 # Green Hills C++ Compiler
14464 lt_prog_compiler_pic_CXX
='-pic'
14470 freebsd
* | dragonfly
*)
14471 # FreeBSD uses GNU C++
14473 hpux9
* | hpux10
* | hpux11
*)
14474 case $cc_basename in
14476 lt_prog_compiler_wl_CXX
='-Wl,'
14477 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14478 if test "$host_cpu" != ia64
; then
14479 lt_prog_compiler_pic_CXX
='+Z'
14483 lt_prog_compiler_wl_CXX
='-Wl,'
14484 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14490 lt_prog_compiler_pic_CXX
='+Z'
14499 # This is c89, which is MS Visual C++ (no shared libs)
14500 # Anyone wants to do a port?
14502 irix5
* | irix6
* | nonstopux
*)
14503 case $cc_basename in
14505 lt_prog_compiler_wl_CXX
='-Wl,'
14506 lt_prog_compiler_static_CXX
='-non_shared'
14507 # CC pic flag -KPIC is the default.
14513 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14514 case $cc_basename in
14517 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14518 lt_prog_compiler_pic_CXX
='-fPIC'
14521 # old Intel C++ for x86_64 which still supported -KPIC.
14522 lt_prog_compiler_wl_CXX
='-Wl,'
14523 lt_prog_compiler_pic_CXX
='-KPIC'
14524 lt_prog_compiler_static_CXX
='-static'
14527 # Intel C++, used to be incompatible with GCC.
14528 # ICC 10 doesn't accept -KPIC any more.
14529 lt_prog_compiler_wl_CXX
='-Wl,'
14530 lt_prog_compiler_pic_CXX
='-fPIC'
14531 lt_prog_compiler_static_CXX
='-static'
14534 # Portland Group C++ compiler
14535 lt_prog_compiler_wl_CXX
='-Wl,'
14536 lt_prog_compiler_pic_CXX
='-fpic'
14537 lt_prog_compiler_static_CXX
='-Bstatic'
14541 # Make sure the PIC flag is empty. It appears that all Alpha
14542 # Linux and Compaq Tru64 Unix objects are PIC.
14543 lt_prog_compiler_pic_CXX
=
14544 lt_prog_compiler_static_CXX
='-non_shared'
14546 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14547 # IBM XL 8.0, 9.0 on PPC and BlueGene
14548 lt_prog_compiler_wl_CXX
='-Wl,'
14549 lt_prog_compiler_pic_CXX
='-qpic'
14550 lt_prog_compiler_static_CXX
='-qstaticlink'
14553 case `$CC -V 2>&1 | sed 5q` in
14556 lt_prog_compiler_pic_CXX
='-KPIC'
14557 lt_prog_compiler_static_CXX
='-Bstatic'
14558 lt_prog_compiler_wl_CXX
='-Qoption ld '
14569 case $cc_basename in
14571 lt_prog_compiler_pic_CXX
='-W c,exportall'
14580 # QNX uses GNU C++, but need to define -shared option too, otherwise
14581 # it will coredump.
14582 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14584 osf3
* | osf4
* | osf5
*)
14585 case $cc_basename in
14587 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14590 # Rational C++ 2.4.1
14591 lt_prog_compiler_pic_CXX
='-pic'
14594 # Digital/Compaq C++
14595 lt_prog_compiler_wl_CXX
='-Wl,'
14596 # Make sure the PIC flag is empty. It appears that all Alpha
14597 # Linux and Compaq Tru64 Unix objects are PIC.
14598 lt_prog_compiler_pic_CXX
=
14599 lt_prog_compiler_static_CXX
='-non_shared'
14608 case $cc_basename in
14610 # Sun C++ 4.2, 5.x and Centerline C++
14611 lt_prog_compiler_pic_CXX
='-KPIC'
14612 lt_prog_compiler_static_CXX
='-Bstatic'
14613 lt_prog_compiler_wl_CXX
='-Qoption ld '
14616 # Green Hills C++ Compiler
14617 lt_prog_compiler_pic_CXX
='-PIC'
14624 case $cc_basename in
14627 lt_prog_compiler_pic_CXX
='-pic'
14628 lt_prog_compiler_static_CXX
='-Bstatic'
14632 lt_prog_compiler_pic_CXX
='-pic'
14638 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14639 case $cc_basename in
14641 lt_prog_compiler_wl_CXX
='-Wl,'
14642 lt_prog_compiler_pic_CXX
='-KPIC'
14643 lt_prog_compiler_static_CXX
='-Bstatic'
14648 case $cc_basename in
14650 # NonStop-UX NCC 3.20
14651 lt_prog_compiler_pic_CXX
='-KPIC'
14660 lt_prog_compiler_can_build_shared_CXX
=no
14666 # For platforms which do not support PIC, -DPIC is meaningless:
14668 lt_prog_compiler_pic_CXX
=
14671 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14676 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14677 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14678 $as_echo_n "(cached) " >&6
14680 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14683 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14684 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14687 # Check to make sure the PIC flag actually works.
14689 if test -n "$lt_prog_compiler_pic_CXX"; then
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14691 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14692 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14693 $as_echo_n "(cached) " >&6
14695 lt_cv_prog_compiler_pic_works_CXX
=no
14696 ac_outfile
=conftest.
$ac_objext
14697 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14698 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14699 # Insert the option either (1) after the last *FLAGS variable, or
14700 # (2) before a word containing "conftest.", or (3) at the end.
14701 # Note that $ac_compile itself does not contain backslashes and begins
14702 # with a dollar sign (not a hyphen), so the echo should work correctly.
14703 # The option is referenced via a variable to avoid confusing sed.
14704 lt_compile
=`echo "$ac_compile" | $SED \
14705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14707 -e 's:$: $lt_compiler_flag:'`
14708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14709 (eval "$lt_compile" 2>conftest.err
)
14711 cat conftest.err
>&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 if (exit $ac_status) && test -s "$ac_outfile"; then
14714 # The compiler can only warn and ignore the option if not recognized
14715 # So say no if there are warnings other than the usual output.
14716 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14717 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14718 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14719 lt_cv_prog_compiler_pic_works_CXX
=yes
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14726 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14728 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14729 case $lt_prog_compiler_pic_CXX in
14731 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14734 lt_prog_compiler_pic_CXX
=
14735 lt_prog_compiler_can_build_shared_CXX
=no
14745 # Check to make sure the static flag actually works.
14747 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14749 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14750 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14751 $as_echo_n "(cached) " >&6
14753 lt_cv_prog_compiler_static_works_CXX
=no
14754 save_LDFLAGS
="$LDFLAGS"
14755 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14756 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14757 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14758 # The linker can only warn and ignore the option if not recognized
14759 # So say no if there are warnings
14760 if test -s conftest.err
; then
14761 # Append any errors to the config.log.
14762 cat conftest.err
1>&5
14763 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14764 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14765 if diff conftest.exp conftest.er2
>/dev
/null
; then
14766 lt_cv_prog_compiler_static_works_CXX
=yes
14769 lt_cv_prog_compiler_static_works_CXX
=yes
14773 LDFLAGS
="$save_LDFLAGS"
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14777 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14779 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14782 lt_prog_compiler_static_CXX
=
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14789 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14790 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14791 $as_echo_n "(cached) " >&6
14793 lt_cv_prog_compiler_c_o_CXX
=no
14794 $RM -r conftest
2>/dev
/null
14798 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14800 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14801 # Insert the option either (1) after the last *FLAGS variable, or
14802 # (2) before a word containing "conftest.", or (3) at the end.
14803 # Note that $ac_compile itself does not contain backslashes and begins
14804 # with a dollar sign (not a hyphen), so the echo should work correctly.
14805 lt_compile
=`echo "$ac_compile" | $SED \
14806 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14807 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14808 -e 's:$: $lt_compiler_flag:'`
14809 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14810 (eval "$lt_compile" 2>out
/conftest.err
)
14812 cat out
/conftest.err
>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14816 # The compiler can only warn and ignore the option if not recognized
14817 # So say no if there are warnings
14818 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14819 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14820 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14821 lt_cv_prog_compiler_c_o_CXX
=yes
14826 # SGI C++ compiler will create directory out/ii_files/ for
14827 # template instantiation
14828 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14829 $RM out
/* && rmdir out
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14836 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14841 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14842 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14843 $as_echo_n "(cached) " >&6
14845 lt_cv_prog_compiler_c_o_CXX
=no
14846 $RM -r conftest
2>/dev
/null
14850 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14852 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14853 # Insert the option either (1) after the last *FLAGS variable, or
14854 # (2) before a word containing "conftest.", or (3) at the end.
14855 # Note that $ac_compile itself does not contain backslashes and begins
14856 # with a dollar sign (not a hyphen), so the echo should work correctly.
14857 lt_compile
=`echo "$ac_compile" | $SED \
14858 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14860 -e 's:$: $lt_compiler_flag:'`
14861 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14862 (eval "$lt_compile" 2>out
/conftest.err
)
14864 cat out
/conftest.err
>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14868 # The compiler can only warn and ignore the option if not recognized
14869 # So say no if there are warnings
14870 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14871 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14872 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14873 lt_cv_prog_compiler_c_o_CXX
=yes
14878 # SGI C++ compiler will create directory out/ii_files/ for
14879 # template instantiation
14880 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14881 $RM out
/* && rmdir out
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14888 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14893 hard_links
="nottested"
14894 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14895 # do not overwrite the value of need_locks provided by the user
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14897 $as_echo_n "checking if we can lock with hard links... " >&6; }
14900 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14902 ln conftest.a conftest.b
2>&5 || hard_links
=no
14903 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14905 $as_echo "$hard_links" >&6; }
14906 if test "$hard_links" = no
; then
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14908 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14918 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14920 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14921 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14924 # If we're using GNU nm, then we don't want the "-C" option.
14925 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14926 # Also, AIX nm treats weak defined symbols like other global defined
14927 # symbols, whereas GNU nm marks them as "W".
14928 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14929 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'
14931 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'
14935 export_symbols_cmds_CXX
="$ltdll_cmds"
14937 cygwin
* | mingw
* | cegcc
*)
14938 case $cc_basename in
14941 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14942 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14947 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14952 $as_echo "$ld_shlibs_CXX" >&6; }
14953 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14955 with_gnu_ld_CXX
=$with_gnu_ld
14963 # Do we need to explicitly link libc?
14965 case "x$archive_cmds_need_lc_CXX" in
14967 # Assume -lc should be added
14968 archive_cmds_need_lc_CXX
=yes
14970 if test "$enable_shared" = yes && test "$GCC" = yes; then
14971 case $archive_cmds_CXX in
14973 # FIXME: we may have to deal with multi-command sequences.
14976 # Test whether the compiler implicitly links with -lc since on some
14977 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14978 # to ld, don't add -lc before -lgcc.
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14980 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14981 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14982 $as_echo_n "(cached) " >&6
14985 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14987 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14988 (eval $ac_compile) 2>&5
14990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14991 test $ac_status = 0; } 2>conftest.err
; then
14994 libobjs
=conftest.
$ac_objext
14996 wl
=$lt_prog_compiler_wl_CXX
14997 pic_flag
=$lt_prog_compiler_pic_CXX
15003 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15004 allow_undefined_flag_CXX
=
15005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15006 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15009 test $ac_status = 0; }
15011 lt_cv_archive_cmds_need_lc_CXX
=no
15013 lt_cv_archive_cmds_need_lc_CXX
=yes
15015 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15017 cat conftest.err
1>&5
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15023 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15024 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15095 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15097 library_names_spec
=
15098 libname_spec
='lib$name'
15102 postuninstall_cmds
=
15106 shlibpath_overrides_runpath
=unknown
15108 dynamic_linker
="$host_os ld.so"
15109 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15110 need_lib_prefix
=unknown
15111 hardcode_into_libs
=no
15113 # when you set need_version to no, make sure it does not cause -set_version
15114 # flags to be left without arguments
15115 need_version
=unknown
15120 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15121 shlibpath_var
=LIBPATH
15123 # AIX 3 has no versioning support, so we append a major version to the name.
15124 soname_spec
='${libname}${release}${shared_ext}$major'
15131 hardcode_into_libs
=yes
15132 if test "$host_cpu" = ia64
; then
15133 # AIX 5 supports IA64
15134 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15135 shlibpath_var
=LD_LIBRARY_PATH
15137 # With GCC up to 2.95.x, collect2 would create an import file
15138 # for dependence libraries. The import file would start with
15139 # the line `#! .'. This would cause the generated library to
15140 # depend on `.', always an invalid library. This was fixed in
15141 # development snapshots of GCC prior to 3.0.
15143 aix4 | aix4.
[01] | aix4.
[01].
*)
15144 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15146 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15149 can_build_shared
=no
15153 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15154 # soname into executable. Probably we can add versioning support to
15155 # collect2, so additional links can be useful in future.
15156 if test "$aix_use_runtimelinking" = yes; then
15157 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15158 # instead of lib<name>.a to let people know that these are not
15159 # typical AIX shared libraries.
15160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15162 # We preserve .a as extension for shared libraries through AIX4.2
15163 # and later when we are not doing run time linking.
15164 library_names_spec
='${libname}${release}.a $libname.a'
15165 soname_spec
='${libname}${release}${shared_ext}$major'
15167 shlibpath_var
=LIBPATH
15174 # Since July 2007 AmigaOS4 officially supports .so libraries.
15175 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15179 library_names_spec
='$libname.ixlibrary $libname.a'
15180 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15181 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'
15187 library_names_spec
='${libname}${shared_ext}'
15188 dynamic_linker
="$host_os ld.so"
15189 shlibpath_var
=LIBRARY_PATH
15195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15196 soname_spec
='${libname}${release}${shared_ext}$major'
15197 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15198 shlibpath_var
=LD_LIBRARY_PATH
15199 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15200 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15201 # the default ld.so.conf also contains /usr/contrib/lib and
15202 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15203 # libtool to hard-code these into programs
15206 cygwin
* | mingw
* | pw32
* | cegcc
*)
15207 version_type
=windows
15212 case $GCC,$cc_basename in
15215 library_names_spec
='$libname.dll.a'
15216 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15217 postinstall_cmds
='base_file=`basename \${file}`~
15218 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15219 dldir=$destdir/`dirname \$dlpath`~
15220 test -d \$dldir || mkdir -p \$dldir~
15221 $install_prog $dir/$dlname \$dldir/$dlname~
15222 chmod a+x \$dldir/$dlname~
15223 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15224 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15226 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15227 dlpath=$dir/\$dldll~
15229 shlibpath_overrides_runpath
=yes
15233 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15234 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15238 # MinGW DLLs use traditional 'lib' prefix
15239 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15242 # pw32 DLLs use 'pw' prefix rather than 'lib'
15243 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15246 dynamic_linker
='Win32 ld.exe'
15251 libname_spec
='$name'
15252 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15253 library_names_spec
='${libname}.dll.lib'
15257 sys_lib_search_path_spec
=
15260 for lt_path
in $LIB
15263 # Let DOS variable expansion print the short 8.3 style file name.
15264 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15265 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15268 # Convert to MSYS style.
15269 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15272 # Convert to unix form, then to dos form, then back to unix form
15273 # but this time dos style (no spaces!) so that the unix form looks
15274 # like /cygdrive/c/PROGRA~1:/cygdr...
15275 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15276 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15277 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15280 sys_lib_search_path_spec
="$LIB"
15281 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15282 # It is most probably a Windows format PATH.
15283 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15285 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15287 # FIXME: find the short name or the path components, as spaces are
15288 # common. (e.g. "Program Files" -> "PROGRA~1")
15292 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15293 postinstall_cmds
='base_file=`basename \${file}`~
15294 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15295 dldir=$destdir/`dirname \$dlpath`~
15296 test -d \$dldir || mkdir -p \$dldir~
15297 $install_prog $dir/$dlname \$dldir/$dlname'
15298 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15299 dlpath=$dir/\$dldll~
15301 shlibpath_overrides_runpath
=yes
15302 dynamic_linker
='Win32 link.exe'
15306 # Assume MSVC wrapper
15307 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15308 dynamic_linker
='Win32 ld.exe'
15311 # FIXME: first we should search . and the directory the executable is in
15315 darwin
* | rhapsody
*)
15316 dynamic_linker
="$host_os dyld"
15317 version_type
=darwin
15320 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15321 soname_spec
='${libname}${release}${major}$shared_ext'
15322 shlibpath_overrides_runpath
=yes
15323 shlibpath_var
=DYLD_LIBRARY_PATH
15324 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15326 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15334 soname_spec
='${libname}${release}${shared_ext}$major'
15335 shlibpath_var
=LD_LIBRARY_PATH
15342 freebsd
* | dragonfly
*)
15343 # DragonFly does not have aout. When/if they implement a new
15344 # versioning mechanism, adjust this.
15345 if test -x /usr
/bin
/objformat
; then
15346 objformat
=`/usr/bin/objformat`
15349 freebsd
[123]*) objformat
=aout
;;
15350 *) objformat
=elf
;;
15353 # Handle Gentoo/FreeBSD as it was Linux
15354 case $host_vendor in
15356 version_type
=linux
;;
15358 version_type
=freebsd-
$objformat ;;
15361 case $version_type in
15363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15368 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15373 soname_spec
='${libname}${release}${shared_ext}$major'
15378 shlibpath_var
=LD_LIBRARY_PATH
15381 shlibpath_overrides_runpath
=yes
15383 freebsd3.
[01]* | freebsdelf3.
[01]*)
15384 shlibpath_overrides_runpath
=yes
15385 hardcode_into_libs
=yes
15387 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15388 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15389 shlibpath_overrides_runpath
=no
15390 hardcode_into_libs
=yes
15392 *) # from 4.6 on, and DragonFly
15393 shlibpath_overrides_runpath
=yes
15394 hardcode_into_libs
=yes
15403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15404 soname_spec
='${libname}${release}${shared_ext}$major'
15405 shlibpath_var
=LD_LIBRARY_PATH
15406 hardcode_into_libs
=yes
15413 dynamic_linker
="$host_os runtime_loader"
15414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15415 soname_spec
='${libname}${release}${shared_ext}$major'
15416 shlibpath_var
=LIBRARY_PATH
15417 shlibpath_overrides_runpath
=yes
15418 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15419 hardcode_into_libs
=yes
15422 hpux9
* | hpux10
* | hpux11
*)
15423 # Give a soname corresponding to the major version so that dld.sl refuses to
15424 # link against other versions.
15431 hardcode_into_libs
=yes
15432 dynamic_linker
="$host_os dld.so"
15433 shlibpath_var
=LD_LIBRARY_PATH
15434 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15436 soname_spec
='${libname}${release}${shared_ext}$major'
15437 if test "X$HPUX_IA64_MODE" = X32
; then
15438 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15440 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15442 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15446 hardcode_into_libs
=yes
15447 dynamic_linker
="$host_os dld.sl"
15448 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15449 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15451 soname_spec
='${libname}${release}${shared_ext}$major'
15452 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15453 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15457 dynamic_linker
="$host_os dld.sl"
15458 shlibpath_var
=SHLIB_PATH
15459 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15461 soname_spec
='${libname}${release}${shared_ext}$major'
15464 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15465 postinstall_cmds
='chmod 555 $lib'
15466 # or fails outright, so override atomically:
15467 install_override_mode
=555
15474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15475 soname_spec
='${libname}${release}${shared_ext}$major'
15476 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15477 shlibpath_var
=LD_LIBRARY_PATH
15478 shlibpath_overrides_runpath
=no
15479 hardcode_into_libs
=yes
15482 irix5
* | irix6
* | nonstopux
*)
15484 nonstopux
*) version_type
=nonstopux
;;
15486 if test "$lt_cv_prog_gnu_ld" = yes; then
15494 soname_spec
='${libname}${release}${shared_ext}$major'
15495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15497 irix5
* | nonstopux
*)
15498 libsuff
= shlibsuff
=
15501 case $LD in # libtool.m4 will add one of these switches to LD
15502 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15503 libsuff
= shlibsuff
= libmagic
=32-bit;;
15504 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15505 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15506 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15507 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15508 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15512 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15513 shlibpath_overrides_runpath
=no
15514 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15515 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15516 hardcode_into_libs
=yes
15519 # No shared lib support for Linux oldld, aout, or coff.
15520 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15524 # This must be Linux ELF.
15525 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15530 soname_spec
='${libname}${release}${shared_ext}$major'
15531 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15532 shlibpath_var
=LD_LIBRARY_PATH
15533 shlibpath_overrides_runpath
=no
15535 # Some binutils ld are patched to set DT_RUNPATH
15536 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15537 $as_echo_n "(cached) " >&6
15539 lt_cv_shlibpath_overrides_runpath
=no
15540 save_LDFLAGS
=$LDFLAGS
15541 save_libdir
=$libdir
15542 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15543 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15555 if ac_fn_cxx_try_link
"$LINENO"; then :
15556 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15557 lt_cv_shlibpath_overrides_runpath
=yes
15560 rm -f core conftest.err conftest.
$ac_objext \
15561 conftest
$ac_exeext conftest.
$ac_ext
15562 LDFLAGS
=$save_LDFLAGS
15563 libdir
=$save_libdir
15567 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15569 # This implies no fast_install, which is unacceptable.
15570 # Some rework will be needed to allow for fast_install
15571 # before this can be enabled.
15572 hardcode_into_libs
=yes
15574 # Append ld.so.conf contents to the search path
15575 if test -f /etc
/ld.so.conf
; then
15576 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' ' '`
15577 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15580 # We used to test for /lib/ld.so.1 and disable shared libraries on
15581 # powerpc, because MkLinux only supported shared libraries with the
15582 # GNU dynamic linker. Since this was broken with cross compilers,
15583 # most powerpc-linux boxes support dynamic linking these days and
15584 # people can always --disable-shared, the test was removed, and we
15585 # assume the GNU/Linux dynamic linker is in use.
15586 dynamic_linker
='GNU/Linux ld.so'
15593 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15595 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15596 dynamic_linker
='NetBSD (a.out) ld.so'
15598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15599 soname_spec
='${libname}${release}${shared_ext}$major'
15600 dynamic_linker
='NetBSD ld.elf_so'
15602 shlibpath_var
=LD_LIBRARY_PATH
15603 shlibpath_overrides_runpath
=yes
15604 hardcode_into_libs
=yes
15609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15610 shlibpath_var
=LD_LIBRARY_PATH
15611 shlibpath_overrides_runpath
=yes
15618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15619 soname_spec
='${libname}${release}${shared_ext}$major'
15620 shlibpath_var
=LD_LIBRARY_PATH
15621 shlibpath_overrides_runpath
=no
15622 hardcode_into_libs
=yes
15623 dynamic_linker
='ldqnx.so'
15628 sys_lib_dlsearch_path_spec
="/usr/lib"
15630 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15632 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15633 *) need_version
=no
;;
15635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15636 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15637 shlibpath_var
=LD_LIBRARY_PATH
15638 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15640 openbsd2.
[89] | openbsd2.
[89].
*)
15641 shlibpath_overrides_runpath
=no
15644 shlibpath_overrides_runpath
=yes
15648 shlibpath_overrides_runpath
=yes
15653 libname_spec
='$name'
15656 library_names_spec
='$libname${shared_ext} $libname.a'
15657 dynamic_linker
='OS/2 ld.exe'
15658 shlibpath_var
=LIBPATH
15661 osf3
* | osf4
* | osf5
*)
15665 soname_spec
='${libname}${release}${shared_ext}$major'
15666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15667 shlibpath_var
=LD_LIBRARY_PATH
15668 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15669 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15681 soname_spec
='${libname}${release}${shared_ext}$major'
15682 shlibpath_var
=LD_LIBRARY_PATH
15683 shlibpath_overrides_runpath
=yes
15684 hardcode_into_libs
=yes
15685 # ldd complains unless libraries are executable
15686 postinstall_cmds
='chmod +x $lib'
15691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15692 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15693 shlibpath_var
=LD_LIBRARY_PATH
15694 shlibpath_overrides_runpath
=yes
15695 if test "$with_gnu_ld" = yes; then
15703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15704 soname_spec
='${libname}${release}${shared_ext}$major'
15705 shlibpath_var
=LD_LIBRARY_PATH
15706 case $host_vendor in
15708 shlibpath_overrides_runpath
=no
15710 runpath_var
=LD_RUN_PATH
15718 shlibpath_overrides_runpath
=no
15719 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15725 if test -d /usr
/nec
;then
15727 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15728 soname_spec
='$libname${shared_ext}.$major'
15729 shlibpath_var
=LD_LIBRARY_PATH
15733 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15734 version_type
=freebsd-elf
15737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15738 soname_spec
='${libname}${release}${shared_ext}$major'
15739 shlibpath_var
=LD_LIBRARY_PATH
15740 shlibpath_overrides_runpath
=yes
15741 hardcode_into_libs
=yes
15742 if test "$with_gnu_ld" = yes; then
15743 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15745 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15748 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15752 sys_lib_dlsearch_path_spec
='/usr/lib'
15756 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15761 shlibpath_var
=LD_LIBRARY_PATH
15762 shlibpath_overrides_runpath
=no
15763 hardcode_into_libs
=yes
15768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15769 soname_spec
='${libname}${release}${shared_ext}$major'
15770 shlibpath_var
=LD_LIBRARY_PATH
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15778 $as_echo "$dynamic_linker" >&6; }
15779 test "$dynamic_linker" = no
&& can_build_shared
=no
15781 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15782 if test "$GCC" = yes; then
15783 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15786 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15787 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15789 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15790 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15831 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15832 hardcode_action_CXX
=
15833 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15834 test -n "$runpath_var_CXX" ||
15835 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15837 # We can hardcode non-existent directories.
15838 if test "$hardcode_direct_CXX" != no
&&
15839 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15840 # have to relink, otherwise we might link with an installed library
15841 # when we should be linking with a yet-to-be-installed one
15842 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15843 test "$hardcode_minus_L_CXX" != no
; then
15844 # Linking always hardcodes the temporary library directory.
15845 hardcode_action_CXX
=relink
15847 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15848 hardcode_action_CXX
=immediate
15851 # We cannot hardcode anything, or else we can only hardcode existing
15853 hardcode_action_CXX
=unsupported
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15856 $as_echo "$hardcode_action_CXX" >&6; }
15858 if test "$hardcode_action_CXX" = relink ||
15859 test "$inherit_rpath_CXX" = yes; then
15860 # Fast installation is not supported
15861 enable_fast_install
=no
15862 elif test "$shlibpath_overrides_runpath" = yes ||
15863 test "$enable_shared" = no
; then
15864 # Fast installation is not necessary
15865 enable_fast_install
=needless
15874 fi # test -n "$compiler"
15877 CFLAGS
=$lt_save_CFLAGS
15881 with_gnu_ld
=$lt_save_with_gnu_ld
15882 lt_cv_path_LDCXX
=$lt_cv_path_LD
15883 lt_cv_path_LD
=$lt_save_path_LD
15884 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15885 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15886 fi # test "$_lt_caught_CXX_error" != yes
15889 ac_cpp
='$CPP $CPPFLAGS'
15890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15906 ac_config_commands
="$ac_config_commands libtool"
15911 # Only expand once:
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15915 $as_echo_n "checking whether ln -s works... " >&6; }
15917 if test "$LN_S" = "ln -s"; then
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15919 $as_echo "yes" >&6; }
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15922 $as_echo "no, using $LN_S" >&6; }
15926 # Check for GCC visibility feature
15931 VISIBILITY_CXXFLAGS
=
15933 if test -n "$GCC"; then
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
15935 $as_echo_n "checking whether the -Werror option is usable... " >&6; }
15936 if ${pcre_cv_cc_vis_werror+:} false
; then :
15937 $as_echo_n "(cached) " >&6
15940 pcre_save_CFLAGS
="$CFLAGS"
15941 CFLAGS
="$CFLAGS -Werror"
15942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15953 if ac_fn_c_try_compile
"$LINENO"; then :
15954 pcre_cv_cc_vis_werror
=yes
15956 pcre_cv_cc_vis_werror
=no
15958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15959 CFLAGS
="$pcre_save_CFLAGS"
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_cv_cc_vis_werror" >&5
15963 $as_echo "$pcre_cv_cc_vis_werror" >&6; }
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
15965 $as_echo_n "checking for simple visibility declarations... " >&6; }
15966 if ${pcre_cv_cc_visibility+:} false
; then :
15967 $as_echo_n "(cached) " >&6
15970 pcre_save_CFLAGS
="$CFLAGS"
15971 CFLAGS
="$CFLAGS -fvisibility=hidden"
15972 if test $pcre_cv_cc_vis_werror = yes; then
15973 CFLAGS
="$CFLAGS -Werror"
15975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15976 /* end confdefs.h. */
15977 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
15978 extern __attribute__((__visibility__("default"))) int exportedvar;
15979 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
15980 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
15981 void dummyfunc (void) {}
15991 if ac_fn_c_try_compile
"$LINENO"; then :
15992 pcre_cv_cc_visibility
=yes
15994 pcre_cv_cc_visibility
=no
15996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15997 CFLAGS
="$pcre_save_CFLAGS"
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_cv_cc_visibility" >&5
16001 $as_echo "$pcre_cv_cc_visibility" >&6; }
16002 if test $pcre_cv_cc_visibility = yes; then
16003 VISIBILITY_CFLAGS
="-fvisibility=hidden"
16004 VISIBILITY_CXXFLAGS
="-fvisibility=hidden -fvisibility-inlines-hidden"
16007 $as_echo "#define PCRE_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
16010 $as_echo "#define PCRE_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
16013 $as_echo "#define PCRE_EXP_DATA_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
16016 $as_echo "#define PCREPOSIX_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
16019 $as_echo "#define PCREPOSIX_EXP_DEFN extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
16022 $as_echo "#define PCRECPP_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
16025 $as_echo "#define PCRECPP_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
16033 cat >>confdefs.h
<<_ACEOF
16034 #define HAVE_VISIBILITY $HAVE_VISIBILITY
16044 PCRE_DATE
="2012-11-30"
16046 if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09"
16049 echo "*** Minor version number $PCRE_MINOR must not be used. ***"
16050 echo "*** Use only 01 to 07 or 10 onwards, to avoid octal issues. ***"
16060 # Set a more sensible default value for $(htmldir).
16061 if test "x$htmldir" = 'x${docdir}'
16063 htmldir
='${docdir}/html'
16066 # Handle --disable-pcre8 (enabled by default)
16067 # Check whether --enable-pcre8 was given.
16068 if test "${enable_pcre8+set}" = set; then :
16069 enableval
=$enable_pcre8;
16076 # Handle --enable-pcre16 (disabled by default)
16077 # Check whether --enable-pcre16 was given.
16078 if test "${enable_pcre16+set}" = set; then :
16079 enableval
=$enable_pcre16;
16081 enable_pcre16
=unset
16086 # Handle --enable-pcre32 (disabled by default)
16087 # Check whether --enable-pcre32 was given.
16088 if test "${enable_pcre32+set}" = set; then :
16089 enableval
=$enable_pcre32;
16091 enable_pcre32
=unset
16096 # Handle --disable-cpp. The substitution of enable_cpp is needed for use in
16098 # Check whether --enable-cpp was given.
16099 if test "${enable_cpp+set}" = set; then :
16100 enableval
=$enable_cpp;
16107 # Handle --enable-jit (disabled by default)
16108 # Check whether --enable-jit was given.
16109 if test "${enable_jit+set}" = set; then :
16110 enableval
=$enable_jit;
16116 # Handle --disable-pcregrep-jit (enabled by default)
16117 # Check whether --enable-pcregrep-jit was given.
16118 if test "${enable_pcregrep_jit+set}" = set; then :
16119 enableval
=$enable_pcregrep_jit;
16121 enable_pcregrep_jit
=yes
16125 # Handle --enable-rebuild-chartables
16126 # Check whether --enable-rebuild-chartables was given.
16127 if test "${enable_rebuild_chartables+set}" = set; then :
16128 enableval
=$enable_rebuild_chartables;
16130 enable_rebuild_chartables
=no
16134 # Handle --enable-utf8 (disabled by default)
16135 # Check whether --enable-utf8 was given.
16136 if test "${enable_utf8+set}" = set; then :
16137 enableval
=$enable_utf8;
16143 # Handle --enable-utf (disabled by default)
16144 # Check whether --enable-utf was given.
16145 if test "${enable_utf+set}" = set; then :
16146 enableval
=$enable_utf;
16152 # Handle --enable-unicode-properties
16153 # Check whether --enable-unicode-properties was given.
16154 if test "${enable_unicode_properties+set}" = set; then :
16155 enableval
=$enable_unicode_properties;
16157 enable_unicode_properties
=no
16161 # Handle newline options
16163 # Check whether --enable-newline-is-cr was given.
16164 if test "${enable_newline_is_cr+set}" = set; then :
16165 enableval
=$enable_newline_is_cr; ac_pcre_newline
=cr
16168 # Check whether --enable-newline-is-lf was given.
16169 if test "${enable_newline_is_lf+set}" = set; then :
16170 enableval
=$enable_newline_is_lf; ac_pcre_newline
=lf
16173 # Check whether --enable-newline-is-crlf was given.
16174 if test "${enable_newline_is_crlf+set}" = set; then :
16175 enableval
=$enable_newline_is_crlf; ac_pcre_newline
=crlf
16178 # Check whether --enable-newline-is-anycrlf was given.
16179 if test "${enable_newline_is_anycrlf+set}" = set; then :
16180 enableval
=$enable_newline_is_anycrlf; ac_pcre_newline
=anycrlf
16183 # Check whether --enable-newline-is-any was given.
16184 if test "${enable_newline_is_any+set}" = set; then :
16185 enableval
=$enable_newline_is_any; ac_pcre_newline
=any
16188 enable_newline
="$ac_pcre_newline"
16190 # Handle --enable-bsr-anycrlf
16191 # Check whether --enable-bsr-anycrlf was given.
16192 if test "${enable_bsr_anycrlf+set}" = set; then :
16193 enableval
=$enable_bsr_anycrlf;
16195 enable_bsr_anycrlf
=no
16199 # Handle --enable-ebcdic
16200 # Check whether --enable-ebcdic was given.
16201 if test "${enable_ebcdic+set}" = set; then :
16202 enableval
=$enable_ebcdic;
16208 # Handle --enable-ebcdic-nl25
16209 # Check whether --enable-ebcdic-nl25 was given.
16210 if test "${enable_ebcdic_nl25+set}" = set; then :
16211 enableval
=$enable_ebcdic_nl25;
16213 enable_ebcdic_nl25
=no
16217 # Handle --disable-stack-for-recursion
16218 # Check whether --enable-stack-for-recursion was given.
16219 if test "${enable_stack_for_recursion+set}" = set; then :
16220 enableval
=$enable_stack_for_recursion;
16222 enable_stack_for_recursion
=yes
16226 # Handle --enable-pcregrep-libz
16227 # Check whether --enable-pcregrep-libz was given.
16228 if test "${enable_pcregrep_libz+set}" = set; then :
16229 enableval
=$enable_pcregrep_libz;
16231 enable_pcregrep_libz
=no
16235 # Handle --enable-pcregrep-libbz2
16236 # Check whether --enable-pcregrep-libbz2 was given.
16237 if test "${enable_pcregrep_libbz2+set}" = set; then :
16238 enableval
=$enable_pcregrep_libbz2;
16240 enable_pcregrep_libbz2
=no
16244 # Handle --with-pcregrep-bufsize=N
16246 # Check whether --with-pcregrep-bufsize was given.
16247 if test "${with_pcregrep_bufsize+set}" = set; then :
16248 withval
=$with_pcregrep_bufsize;
16250 with_pcregrep_bufsize
=20480
16254 # Handle --enable-pcretest-libedit
16255 # Check whether --enable-pcretest-libedit was given.
16256 if test "${enable_pcretest_libedit+set}" = set; then :
16257 enableval
=$enable_pcretest_libedit;
16259 enable_pcretest_libedit
=no
16263 # Handle --enable-pcretest-libreadline
16264 # Check whether --enable-pcretest-libreadline was given.
16265 if test "${enable_pcretest_libreadline+set}" = set; then :
16266 enableval
=$enable_pcretest_libreadline;
16268 enable_pcretest_libreadline
=no
16272 # Handle --with-posix-malloc-threshold=NBYTES
16274 # Check whether --with-posix-malloc-threshold was given.
16275 if test "${with_posix_malloc_threshold+set}" = set; then :
16276 withval
=$with_posix_malloc_threshold;
16278 with_posix_malloc_threshold
=10
16282 # Handle --with-link-size=N
16284 # Check whether --with-link-size was given.
16285 if test "${with_link_size+set}" = set; then :
16286 withval
=$with_link_size;
16292 # Handle --with-match-limit=N
16294 # Check whether --with-match-limit was given.
16295 if test "${with_match_limit+set}" = set; then :
16296 withval
=$with_match_limit;
16298 with_match_limit
=10000000
16302 # Handle --with-match-limit_recursion=N
16304 # Note: In config.h, the default is to define MATCH_LIMIT_RECURSION
16305 # symbolically as MATCH_LIMIT, which in turn is defined to be some numeric
16306 # value (e.g. 10000000). MATCH_LIMIT_RECURSION can otherwise be set to some
16307 # different numeric value (or even the same numeric value as MATCH_LIMIT,
16308 # though no longer defined in terms of the latter).
16311 # Check whether --with-match-limit-recursion was given.
16312 if test "${with_match_limit_recursion+set}" = set; then :
16313 withval
=$with_match_limit_recursion;
16315 with_match_limit_recursion
=MATCH_LIMIT
16319 # Handle --enable-valgrind
16320 # Check whether --enable-valgrind was given.
16321 if test "${enable_valgrind+set}" = set; then :
16322 enableval
=$enable_valgrind;
16328 # Enable code coverage reports using gcov
16329 # Check whether --enable-coverage was given.
16330 if test "${enable_coverage+set}" = set; then :
16331 enableval
=$enable_coverage;
16337 # Copy enable_utf8 value to enable_utf for compatibility reasons
16338 if test "x$enable_utf8" != "xunset"
16340 if test "x$enable_utf" != "xunset"
16342 as_fn_error $?
"--enable/disable-utf8 is kept only for compatibility reasons and its value is copied to --enable/disable-utf. Newer code must use --enable/disable-utf alone." "$LINENO" 5
16344 enable_utf
=$enable_utf8
16347 # Set the default value for pcre8
16348 if test "x$enable_pcre8" = "xunset"
16353 # Set the default value for pcre16
16354 if test "x$enable_pcre16" = "xunset"
16359 # Set the default value for pcre32
16360 if test "x$enable_pcre32" = "xunset"
16365 # Make sure enable_pcre8 or enable_pcre16 was set
16366 if test "x$enable_pcre8$enable_pcre16$enable_pcre32" = "xnonono"
16368 as_fn_error $?
"At least one of 8, 16 or 32 bit pcre library must be enabled" "$LINENO" 5
16371 # Make sure that if enable_unicode_properties was set, that UTF support is enabled.
16372 if test "x$enable_unicode_properties" = "xyes"
16374 if test "x$enable_utf" = "xno"
16376 as_fn_error $?
"support for Unicode properties requires UTF-8/16/32 support" "$LINENO" 5
16381 # enable_utf is disabled by default.
16382 if test "x$enable_utf" = "xunset"
16387 # enable_cpp copies the value of enable_pcre8 by default
16388 if test "x$enable_cpp" = "xunset"
16390 enable_cpp
=$enable_pcre8
16393 # Make sure that if enable_cpp was set, that enable_pcre8 support is enabled
16394 if test "x$enable_cpp" = "xyes"
16396 if test "x$enable_pcre8" = "xno"
16398 as_fn_error $?
"C++ library requires pcre library with 8 bit characters" "$LINENO" 5
16402 # Convert the newline identifier into the appropriate integer value. The first
16403 # three are ASCII values 0x0a, 0x0d, and 0x0d0a, but if EBCDIC is enabled, they
16404 # are changed below.
16406 case "$enable_newline" in
16407 lf
) ac_pcre_newline_value
=10 ;;
16408 cr
) ac_pcre_newline_value
=13 ;;
16409 crlf
) ac_pcre_newline_value
=3338 ;;
16410 anycrlf
) ac_pcre_newline_value
=-2 ;;
16411 any
) ac_pcre_newline_value
=-1 ;;
16413 as_fn_error $?
"invalid argument \"$enable_newline\" to --enable-newline option" "$LINENO" 5
16417 # --enable-ebcdic-nl25 implies --enable-ebcdic
16418 if test "x$enable_ebcdic_nl25" = "xyes"; then
16422 # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled,
16423 # and the newline value is adjusted appropriately (CR is still 13, but LF is
16424 # 21 or 37). Also check that UTF support is not requested, because PCRE cannot
16425 # handle EBCDIC and UTF in the same build. To do so it would need to use
16426 # different character constants depending on the mode.
16428 if test "x$enable_ebcdic" = "xyes"; then
16429 enable_rebuild_chartables
=yes
16431 if test "x$enable_utf" = "xyes"; then
16432 as_fn_error $?
"support for EBCDIC and UTF-8/16/32 cannot be enabled at the same time" "$LINENO" 5
16435 if test "x$enable_ebcdic_nl25" = "xno"; then
16436 case "$ac_pcre_newline_value" in
16437 10) ac_pcre_newline_value
=21 ;;
16438 3338) ac_pcre_newline_value
=3349 ;;
16441 case "$ac_pcre_newline_value" in
16442 10) ac_pcre_newline_value
=37 ;;
16443 3338) ac_pcre_newline_value
=3365 ;;
16448 # Check argument to --with-link-size
16449 case "$with_link_size" in
16452 as_fn_error $?
"invalid argument \"$with_link_size\" to --with-link-size option" "$LINENO" 5
16458 # Checks for header files.
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16460 $as_echo_n "checking for ANSI C header files... " >&6; }
16461 if ${ac_cv_header_stdc+:} false
; then :
16462 $as_echo_n "(cached) " >&6
16464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16465 /* end confdefs.h. */
16466 #include <stdlib.h>
16467 #include <stdarg.h>
16468 #include <string.h>
16479 if ac_fn_c_try_compile
"$LINENO"; then :
16480 ac_cv_header_stdc
=yes
16482 ac_cv_header_stdc
=no
16484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16486 if test $ac_cv_header_stdc = yes; then
16487 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16490 #include <string.h>
16493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16494 $EGREP "memchr" >/dev
/null
2>&1; then :
16497 ac_cv_header_stdc
=no
16503 if test $ac_cv_header_stdc = yes; then
16504 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16506 /* end confdefs.h. */
16507 #include <stdlib.h>
16510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16511 $EGREP "free" >/dev
/null
2>&1; then :
16514 ac_cv_header_stdc
=no
16520 if test $ac_cv_header_stdc = yes; then
16521 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16522 if test "$cross_compiling" = yes; then :
16525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16528 #include <stdlib.h>
16529 #if ((' ' & 0x0FF) == 0x020)
16530 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16531 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16533 # define ISLOWER(c) \
16534 (('a' <= (c) && (c) <= 'i') \
16535 || ('j' <= (c) && (c) <= 'r') \
16536 || ('s' <= (c) && (c) <= 'z'))
16537 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16540 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16545 for (i = 0; i < 256; i++)
16546 if (XOR (islower (i), ISLOWER (i))
16547 || toupper (i) != TOUPPER (i))
16552 if ac_fn_c_try_run
"$LINENO"; then :
16555 ac_cv_header_stdc
=no
16557 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16558 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16564 $as_echo "$ac_cv_header_stdc" >&6; }
16565 if test $ac_cv_header_stdc = yes; then
16567 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16571 for ac_header
in limits.h sys
/types.h sys
/stat.h dirent.h windows.h
16573 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16574 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16575 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16576 cat >>confdefs.h
<<_ACEOF
16577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16585 # The files below are C++ header files.
16586 pcre_have_type_traits
="0"
16587 pcre_have_bits_type_traits
="0"
16589 if test "x$enable_cpp" = "xyes" -a -z "$CXX"; then
16590 as_fn_error $?
"You need a C++ compiler for C++ support." "$LINENO" 5
16593 if test "x$enable_cpp" = "xyes" -a -n "$CXX"
16596 ac_cpp
='$CXXCPP $CPPFLAGS'
16597 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16598 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16599 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16602 # Older versions of pcre defined pcrecpp::no_arg, but in new versions
16603 # it's called pcrecpp::RE::no_arg. For backwards ABI compatibility,
16604 # we want to make one an alias for the other. Different systems do
16605 # this in different ways. Some systems, for instance, can do it via
16606 # a linker flag: -alias (for os x 10.5) or -i (for os x <=10.4).
16607 OLD_LDFLAGS
="$LDFLAGS"
16608 for flag
in "-alias,__ZN7pcrecpp2RE6no_argE,__ZN7pcrecpp6no_argE" \
16609 "-i__ZN7pcrecpp6no_argE:__ZN7pcrecpp2RE6no_argE"; do
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alias support in the linker" >&5
16611 $as_echo_n "checking for alias support in the linker... " >&6; }
16612 LDFLAGS
="$OLD_LDFLAGS -Wl,$flag"
16613 # We try to run the linker with this new ld flag. If the link fails,
16614 # we give up and remove the new flag from LDFLAGS.
16615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16616 /* end confdefs.h. */
16617 namespace pcrecpp {
16618 class RE { static int no_arg; };
16629 if ac_fn_cxx_try_link
"$LINENO"; then :
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16631 $as_echo "yes" >&6; };
16632 EXTRA_LIBPCRECPP_LDFLAGS
="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16636 $as_echo "no" >&6; }
16638 rm -f core conftest.err conftest.
$ac_objext \
16639 conftest
$ac_exeext conftest.
$ac_ext
16641 LDFLAGS
="$OLD_LDFLAGS"
16643 # We could be more clever here, given we're doing AC_SUBST with this
16644 # (eg set a var to be the name of the include file we want). But we're not
16645 # so it's easy to change back to 'regular' autoconf vars if we needed to.
16647 for ac_header
in string
16649 ac_fn_cxx_check_header_mongrel
"$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
16650 if test "x$ac_cv_header_string" = xyes
; then :
16651 cat >>confdefs.h
<<_ACEOF
16652 #define HAVE_STRING 1
16654 pcre_have_cpp_headers
="1"
16656 pcre_have_cpp_headers
="0"
16661 for ac_header
in bits
/type_traits.h
16663 ac_fn_cxx_check_header_mongrel
"$LINENO" "bits/type_traits.h" "ac_cv_header_bits_type_traits_h" "$ac_includes_default"
16664 if test "x$ac_cv_header_bits_type_traits_h" = xyes
; then :
16665 cat >>confdefs.h
<<_ACEOF
16666 #define HAVE_BITS_TYPE_TRAITS_H 1
16668 pcre_have_bits_type_traits
="1"
16670 pcre_have_bits_type_traits
="0"
16675 for ac_header
in type_traits.h
16677 ac_fn_cxx_check_header_mongrel
"$LINENO" "type_traits.h" "ac_cv_header_type_traits_h" "$ac_includes_default"
16678 if test "x$ac_cv_header_type_traits_h" = xyes
; then :
16679 cat >>confdefs.h
<<_ACEOF
16680 #define HAVE_TYPE_TRAITS_H 1
16682 pcre_have_type_traits
="1"
16684 pcre_have_type_traits
="0"
16690 # (This isn't c++-specific, but is only used in pcrecpp.cc, so try this
16691 # in a c++ context. This matters becuase strtoimax is C99 and may not
16692 # be supported by the C++ compiler.)
16693 # Figure out how to create a longlong from a string: strtoll and
16694 # equiv. It's not enough to call AC_CHECK_FUNCS: hpux has a
16695 # strtoll, for instance, but it only takes 2 args instead of 3!
16696 # We have to call AH_TEMPLATE since AC_DEFINE_UNQUOTED below is complex.
16702 for fn
in strtoq strtoll _strtoi64 strtoimax
; do
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $fn" >&5
16704 $as_echo_n "checking for $fn... " >&6; }
16705 if test "$fn" = strtoimax
; then
16710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h. */
16712 #include <$include>
16716 char* e; return $fn("100", &e, 10)
16721 if ac_fn_cxx_try_compile
"$LINENO"; then :
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16723 $as_echo "yes" >&6; }
16725 cat >>confdefs.h
<<_ACEOF
16726 #define HAVE_`echo $fn | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ` 1
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16733 $as_echo "no" >&6; }
16735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16738 if test "$have_strto_fn" = 1; then
16739 ac_fn_cxx_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16740 if test "x$ac_cv_type_long_long" = xyes
; then :
16742 cat >>confdefs.h
<<_ACEOF
16743 #define HAVE_LONG_LONG 1
16746 pcre_have_long_long
="1"
16748 pcre_have_long_long
="0"
16751 ac_fn_cxx_check_type
"$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default"
16752 if test "x$ac_cv_type_unsigned_long_long" = xyes
; then :
16754 cat >>confdefs.h
<<_ACEOF
16755 #define HAVE_UNSIGNED_LONG_LONG 1
16758 pcre_have_ulong_long
="1"
16760 pcre_have_ulong_long
="0"
16764 pcre_have_long_long
="0"
16765 pcre_have_ulong_long
="0"
16771 ac_cpp
='$CPP $CPPFLAGS'
16772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16777 # Using AC_SUBST eliminates the need to include config.h in a public .h file
16781 # Conditional compilation
16782 if test "x$enable_pcre8" = "xyes"; then
16784 WITH_PCRE8_FALSE
='#'
16786 WITH_PCRE8_TRUE
='#'
16790 if test "x$enable_pcre16" = "xyes"; then
16792 WITH_PCRE16_FALSE
='#'
16794 WITH_PCRE16_TRUE
='#'
16798 if test "x$enable_pcre32" = "xyes"; then
16800 WITH_PCRE32_FALSE
='#'
16802 WITH_PCRE32_TRUE
='#'
16806 if test "x$enable_cpp" = "xyes"; then
16807 WITH_PCRE_CPP_TRUE
=
16808 WITH_PCRE_CPP_FALSE
='#'
16810 WITH_PCRE_CPP_TRUE
='#'
16811 WITH_PCRE_CPP_FALSE
=
16814 if test "x$enable_rebuild_chartables" = "xyes"; then
16815 WITH_REBUILD_CHARTABLES_TRUE
=
16816 WITH_REBUILD_CHARTABLES_FALSE
='#'
16818 WITH_REBUILD_CHARTABLES_TRUE
='#'
16819 WITH_REBUILD_CHARTABLES_FALSE
=
16822 if test "x$enable_jit" = "xyes"; then
16830 if test "x$enable_utf" = "xyes"; then
16838 if test "x$enable_valgrind" = "xyes"; then
16839 WITH_VALGRIND_TRUE
=
16840 WITH_VALGRIND_FALSE
='#'
16842 WITH_VALGRIND_TRUE
='#'
16843 WITH_VALGRIND_FALSE
=
16847 # Checks for typedefs, structures, and compiler characteristics.
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16850 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16851 if ${ac_cv_c_const+:} false
; then :
16852 $as_echo_n "(cached) " >&6
16854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16860 /* FIXME: Include the comments suggested by Paul. */
16861 #ifndef __cplusplus
16862 /* Ultrix mips cc rejects this. */
16863 typedef int charset[2];
16865 /* SunOS 4.1.1 cc rejects this. */
16866 char const *const *pcpcc;
16868 /* NEC SVR4.0.2 mips cc rejects this. */
16869 struct point {int x, y;};
16870 static struct point const zero = {0,0};
16871 /* AIX XL C 1.02.0.0 rejects this.
16872 It does not let you subtract one const X* pointer from another in
16873 an arm of an if-expression whose if-part is not a constant
16875 const char *g = "string";
16876 pcpcc = &g + (g ? g-g : 0);
16877 /* HPUX 7.0 cc rejects these. */
16879 ppc = (char**) pcpcc;
16880 pcpcc = (char const *const *) ppc;
16881 { /* SCO 3.2v4 cc rejects this. */
16883 char const *s = 0 ? (char *) 0 : (char const *) 0;
16888 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16889 int x[] = {25, 17};
16890 const int *foo = &x[0];
16893 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16894 typedef const int *iptr;
16898 { /* AIX XL C 1.02.0.0 rejects this saying
16899 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16900 struct s { int j; const int *ap[3]; };
16901 struct s *b; b->j = 5;
16903 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16904 const int foo = 10;
16905 if (!foo) return 0;
16907 return !cs[0] && !zero.x;
16914 if ac_fn_c_try_compile
"$LINENO"; then :
16919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16922 $as_echo "$ac_cv_c_const" >&6; }
16923 if test $ac_cv_c_const = no
; then
16925 $as_echo "#define const /**/" >>confdefs.h
16929 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16930 if test "x$ac_cv_type_size_t" = xyes
; then :
16934 cat >>confdefs.h
<<_ACEOF
16935 #define size_t unsigned int
16941 # Checks for library functions.
16943 for ac_func
in bcopy memmove strerror
16945 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16946 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16947 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16948 cat >>confdefs.h
<<_ACEOF
16949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16956 # Check for the availability of libz (aka zlib)
16958 for ac_header
in zlib.h
16960 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
16961 if test "x$ac_cv_header_zlib_h" = xyes
; then :
16962 cat >>confdefs.h
<<_ACEOF
16963 #define HAVE_ZLIB_H 1
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
16971 $as_echo_n "checking for gzopen in -lz... " >&6; }
16972 if ${ac_cv_lib_z_gzopen+:} false
; then :
16973 $as_echo_n "(cached) " >&6
16975 ac_check_lib_save_LIBS
=$LIBS
16977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16980 /* Override any GCC internal prototype to avoid an error.
16981 Use char because int might match the return type of a GCC
16982 builtin and then its argument prototype would still apply. */
16995 if ac_fn_c_try_link
"$LINENO"; then :
16996 ac_cv_lib_z_gzopen
=yes
16998 ac_cv_lib_z_gzopen
=no
17000 rm -f core conftest.err conftest.
$ac_objext \
17001 conftest
$ac_exeext conftest.
$ac_ext
17002 LIBS
=$ac_check_lib_save_LIBS
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
17005 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
17006 if test "x$ac_cv_lib_z_gzopen" = xyes
; then :
17011 # Check for the availability of libbz2. Originally we just used AC_CHECK_LIB,
17012 # as for libz. However, this had the following problem, diagnosed and fixed by
17015 # - libbz2 uses the Pascal calling convention (WINAPI) for the functions
17017 # - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",
17018 # therefore missing the function definition.
17019 # - The compiler thus generates a "C" signature for the test function.
17020 # - The linker fails to find the "C" function.
17021 # - PCRE fails to configure if asked to do so against libbz2.
17025 # - Replace the AC_CHECK_LIB test with a custom test.
17027 for ac_header
in bzlib.h
17029 ac_fn_c_check_header_mongrel
"$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
17030 if test "x$ac_cv_header_bzlib_h" = xyes
; then :
17031 cat >>confdefs.h
<<_ACEOF
17032 #define HAVE_BZLIB_H 1
17040 # AC_CHECK_LIB([bz2], [BZ2_bzopen], [HAVE_LIBBZ2=1])
17042 # Custom test follows
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbz2" >&5
17045 $as_echo_n "checking for libbz2... " >&6; }
17048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17051 #ifdef HAVE_BZLIB_H
17057 return (int)BZ2_bzopen("conftest", "rb");
17062 if ac_fn_c_try_link
"$LINENO"; then :
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17064 $as_echo "yes" >&6; };HAVE_LIBBZ2
=1; break;
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17067 $as_echo "no" >&6; }
17069 rm -f core conftest.err conftest.
$ac_objext \
17070 conftest
$ac_exeext conftest.
$ac_ext
17073 # Check for the availabiity of libreadline
17075 if test "$enable_pcretest_libreadline" = "yes"; then
17076 for ac_header
in readline
/readline.h
17078 ac_fn_c_check_header_mongrel
"$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
17079 if test "x$ac_cv_header_readline_readline_h" = xyes
; then :
17080 cat >>confdefs.h
<<_ACEOF
17081 #define HAVE_READLINE_READLINE_H 1
17088 for ac_header
in readline
/history.h
17090 ac_fn_c_check_header_mongrel
"$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
17091 if test "x$ac_cv_header_readline_history_h" = xyes
; then :
17092 cat >>confdefs.h
<<_ACEOF
17093 #define HAVE_READLINE_HISTORY_H 1
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
17101 $as_echo_n "checking for readline in -lreadline... " >&6; }
17102 if ${ac_cv_lib_readline_readline+:} false
; then :
17103 $as_echo_n "(cached) " >&6
17105 ac_check_lib_save_LIBS
=$LIBS
17106 LIBS
="-lreadline $LIBS"
17107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17110 /* Override any GCC internal prototype to avoid an error.
17111 Use char because int might match the return type of a GCC
17112 builtin and then its argument prototype would still apply. */
17120 return readline ();
17125 if ac_fn_c_try_link
"$LINENO"; then :
17126 ac_cv_lib_readline_readline
=yes
17128 ac_cv_lib_readline_readline
=no
17130 rm -f core conftest.err conftest.
$ac_objext \
17131 conftest
$ac_exeext conftest.
$ac_ext
17132 LIBS
=$ac_check_lib_save_LIBS
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
17135 $as_echo "$ac_cv_lib_readline_readline" >&6; }
17136 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
17137 LIBREADLINE
="-lreadline"
17139 unset ac_cv_lib_readline_readline
;
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
17141 $as_echo_n "checking for readline in -lreadline... " >&6; }
17142 if ${ac_cv_lib_readline_readline+:} false
; then :
17143 $as_echo_n "(cached) " >&6
17145 ac_check_lib_save_LIBS
=$LIBS
17146 LIBS
="-lreadline -ltinfo $LIBS"
17147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17150 /* Override any GCC internal prototype to avoid an error.
17151 Use char because int might match the return type of a GCC
17152 builtin and then its argument prototype would still apply. */
17160 return readline ();
17165 if ac_fn_c_try_link
"$LINENO"; then :
17166 ac_cv_lib_readline_readline
=yes
17168 ac_cv_lib_readline_readline
=no
17170 rm -f core conftest.err conftest.
$ac_objext \
17171 conftest
$ac_exeext conftest.
$ac_ext
17172 LIBS
=$ac_check_lib_save_LIBS
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
17175 $as_echo "$ac_cv_lib_readline_readline" >&6; }
17176 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
17177 LIBREADLINE
="-ltinfo"
17179 unset ac_cv_lib_readline_readline
;
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
17181 $as_echo_n "checking for readline in -lreadline... " >&6; }
17182 if ${ac_cv_lib_readline_readline+:} false
; then :
17183 $as_echo_n "(cached) " >&6
17185 ac_check_lib_save_LIBS
=$LIBS
17186 LIBS
="-lreadline -lcurses $LIBS"
17187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h. */
17190 /* Override any GCC internal prototype to avoid an error.
17191 Use char because int might match the return type of a GCC
17192 builtin and then its argument prototype would still apply. */
17200 return readline ();
17205 if ac_fn_c_try_link
"$LINENO"; then :
17206 ac_cv_lib_readline_readline
=yes
17208 ac_cv_lib_readline_readline
=no
17210 rm -f core conftest.err conftest.
$ac_objext \
17211 conftest
$ac_exeext conftest.
$ac_ext
17212 LIBS
=$ac_check_lib_save_LIBS
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
17215 $as_echo "$ac_cv_lib_readline_readline" >&6; }
17216 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
17217 LIBREADLINE
="-lcurses"
17219 unset ac_cv_lib_readline_readline
;
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
17221 $as_echo_n "checking for readline in -lreadline... " >&6; }
17222 if ${ac_cv_lib_readline_readline+:} false
; then :
17223 $as_echo_n "(cached) " >&6
17225 ac_check_lib_save_LIBS
=$LIBS
17226 LIBS
="-lreadline -lncurses $LIBS"
17227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17230 /* Override any GCC internal prototype to avoid an error.
17231 Use char because int might match the return type of a GCC
17232 builtin and then its argument prototype would still apply. */
17240 return readline ();
17245 if ac_fn_c_try_link
"$LINENO"; then :
17246 ac_cv_lib_readline_readline
=yes
17248 ac_cv_lib_readline_readline
=no
17250 rm -f core conftest.err conftest.
$ac_objext \
17251 conftest
$ac_exeext conftest.
$ac_ext
17252 LIBS
=$ac_check_lib_save_LIBS
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
17255 $as_echo "$ac_cv_lib_readline_readline" >&6; }
17256 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
17257 LIBREADLINE
="-lncurses"
17259 unset ac_cv_lib_readline_readline
;
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
17261 $as_echo_n "checking for readline in -lreadline... " >&6; }
17262 if ${ac_cv_lib_readline_readline+:} false
; then :
17263 $as_echo_n "(cached) " >&6
17265 ac_check_lib_save_LIBS
=$LIBS
17266 LIBS
="-lreadline -lncursesw $LIBS"
17267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17270 /* Override any GCC internal prototype to avoid an error.
17271 Use char because int might match the return type of a GCC
17272 builtin and then its argument prototype would still apply. */
17280 return readline ();
17285 if ac_fn_c_try_link
"$LINENO"; then :
17286 ac_cv_lib_readline_readline
=yes
17288 ac_cv_lib_readline_readline
=no
17290 rm -f core conftest.err conftest.
$ac_objext \
17291 conftest
$ac_exeext conftest.
$ac_ext
17292 LIBS
=$ac_check_lib_save_LIBS
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
17295 $as_echo "$ac_cv_lib_readline_readline" >&6; }
17296 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
17297 LIBREADLINE
="-lncursesw"
17299 unset ac_cv_lib_readline_readline
;
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
17301 $as_echo_n "checking for readline in -lreadline... " >&6; }
17302 if ${ac_cv_lib_readline_readline+:} false
; then :
17303 $as_echo_n "(cached) " >&6
17305 ac_check_lib_save_LIBS
=$LIBS
17306 LIBS
="-lreadline -ltermcap $LIBS"
17307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17310 /* Override any GCC internal prototype to avoid an error.
17311 Use char because int might match the return type of a GCC
17312 builtin and then its argument prototype would still apply. */
17320 return readline ();
17325 if ac_fn_c_try_link
"$LINENO"; then :
17326 ac_cv_lib_readline_readline
=yes
17328 ac_cv_lib_readline_readline
=no
17330 rm -f core conftest.err conftest.
$ac_objext \
17331 conftest
$ac_exeext conftest.
$ac_ext
17332 LIBS
=$ac_check_lib_save_LIBS
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
17335 $as_echo "$ac_cv_lib_readline_readline" >&6; }
17336 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
17337 LIBREADLINE
="-ltermcap"
17353 if test -n "$LIBREADLINE"; then
17354 if test "$LIBREADLINE" != "-lreadline"; then
17355 echo "-lreadline needs $LIBREADLINE"
17356 LIBREADLINE
="-lreadline $LIBREADLINE"
17362 # Check for the availability of libedit. Different distributions put its
17363 # headers in different places. Try to cover the most common ones.
17365 if test "$enable_pcretest_libedit" = "yes"; then
17366 for ac_header
in editline
/readline.h
17368 ac_fn_c_check_header_mongrel
"$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
17369 if test "x$ac_cv_header_editline_readline_h" = xyes
; then :
17370 cat >>confdefs.h
<<_ACEOF
17371 #define HAVE_EDITLINE_READLINE_H 1
17373 HAVE_EDITLINE_READLINE_H
=1
17375 for ac_header
in edit
/readline
/readline.h
17377 ac_fn_c_check_header_mongrel
"$LINENO" "edit/readline/readline.h" "ac_cv_header_edit_readline_readline_h" "$ac_includes_default"
17378 if test "x$ac_cv_header_edit_readline_readline_h" = xyes
; then :
17379 cat >>confdefs.h
<<_ACEOF
17380 #define HAVE_EDIT_READLINE_READLINE_H 1
17382 HAVE_READLINE_READLINE_H
=1
17384 for ac_header
in readline
/readline.h
17386 ac_fn_c_check_header_mongrel
"$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
17387 if test "x$ac_cv_header_readline_readline_h" = xyes
; then :
17388 cat >>confdefs.h
<<_ACEOF
17389 #define HAVE_READLINE_READLINE_H 1
17391 HAVE_READLINE_READLINE_H
=1
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5
17405 $as_echo_n "checking for readline in -ledit... " >&6; }
17406 if ${ac_cv_lib_edit_readline+:} false
; then :
17407 $as_echo_n "(cached) " >&6
17409 ac_check_lib_save_LIBS
=$LIBS
17410 LIBS
="-ledit $LIBS"
17411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17412 /* end confdefs.h. */
17414 /* Override any GCC internal prototype to avoid an error.
17415 Use char because int might match the return type of a GCC
17416 builtin and then its argument prototype would still apply. */
17424 return readline ();
17429 if ac_fn_c_try_link
"$LINENO"; then :
17430 ac_cv_lib_edit_readline
=yes
17432 ac_cv_lib_edit_readline
=no
17434 rm -f core conftest.err conftest.
$ac_objext \
17435 conftest
$ac_exeext conftest.
$ac_ext
17436 LIBS
=$ac_check_lib_save_LIBS
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5
17439 $as_echo "$ac_cv_lib_edit_readline" >&6; }
17440 if test "x$ac_cv_lib_edit_readline" = xyes
; then :
17446 # This facilitates -ansi builds under Linux
17448 PCRE_STATIC_CFLAG
=""
17449 if test "x$enable_shared" = "xno" ; then
17451 $as_echo "#define PCRE_STATIC 1" >>confdefs.h
17453 PCRE_STATIC_CFLAG
="-DPCRE_STATIC"
17457 # Here is where pcre specific defines are handled
17459 if test "$enable_pcre8" = "yes"; then
17461 $as_echo "#define SUPPORT_PCRE8 /**/" >>confdefs.h
17465 if test "$enable_pcre16" = "yes"; then
17467 $as_echo "#define SUPPORT_PCRE16 /**/" >>confdefs.h
17471 if test "$enable_pcre32" = "yes"; then
17473 $as_echo "#define SUPPORT_PCRE32 /**/" >>confdefs.h
17477 if test "$enable_jit" = "yes"; then
17481 ac_cpp
='$CPP $CPPFLAGS'
17482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17488 # We used to check for pthread.h first, but this fails if pthread.h
17489 # requires special compiler flags (e.g. on True64 or Sequent).
17490 # It gets checked for in the link test anyway.
17492 # First of all, check if the user has set any of the PTHREAD_LIBS,
17493 # etcetera environment variables, and if threads linking works using
17495 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
17496 save_CFLAGS
="$CFLAGS"
17497 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17499 LIBS
="$PTHREAD_LIBS $LIBS"
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17501 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17505 /* Override any GCC internal prototype to avoid an error.
17506 Use char because int might match the return type of a GCC
17507 builtin and then its argument prototype would still apply. */
17511 char pthread_join ();
17515 return pthread_join ();
17520 if ac_fn_c_try_link
"$LINENO"; then :
17523 rm -f core conftest.err conftest.
$ac_objext \
17524 conftest
$ac_exeext conftest.
$ac_ext
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
17526 $as_echo "$ax_pthread_ok" >&6; }
17527 if test x
"$ax_pthread_ok" = xno
; then
17532 CFLAGS
="$save_CFLAGS"
17535 # We must check for the threads library under a number of different
17536 # names; the ordering is very important because some systems
17537 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17538 # libraries is broken (non-POSIX).
17540 # Create a list of thread flags to try. Items starting with a "-" are
17541 # C compiler flags, and other items are library names, except for "none"
17542 # which indicates that we try without any flags at all, and "pthread-config"
17543 # which is a program returning the flags for the Pth emulation library.
17545 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17547 # The ordering *is* (sometimes) important. Some notes on the
17548 # individual items follow:
17550 # pthreads: AIX (must check this before -lpthread)
17551 # none: in case threads are in libc; should be tried before -Kthread and
17552 # other compiler flags to prevent continual compiler warnings
17553 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17554 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17555 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17556 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17557 # -pthreads: Solaris/gcc
17558 # -mthreads: Mingw32/gcc, Lynx/gcc
17559 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17560 # doesn't hurt to check since this sometimes defines pthreads too;
17561 # also defines -D_REENTRANT)
17562 # ... -mt is also the pthreads flag for HP/aCC
17563 # pthread: Linux, etcetera
17564 # --thread-safe: KAI C++
17565 # pthread-config: use pthread-config program (for GNU Pth library)
17570 # On Solaris (at least, for some versions), libc contains stubbed
17571 # (non-functional) versions of the pthreads routines, so link-based
17572 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17573 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17574 # a function called by this macro, so we could check for that, but
17575 # who knows whether they'll stub that too in a future libc.) So,
17576 # we'll just look for -pthreads and -lpthread first:
17578 ax_pthread_flags
="-pthreads pthread -mt -pthread $ax_pthread_flags"
17582 ax_pthread_flags
="-pthread $ax_pthread_flags"
17586 if test x
"$ax_pthread_ok" = xno
; then
17587 for flag
in $ax_pthread_flags; do
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17592 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17597 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17598 PTHREAD_CFLAGS
="$flag"
17602 # Extract the first word of "pthread-config", so it can be a program name with args.
17603 set dummy pthread-config
; ac_word
=$2
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17605 $as_echo_n "checking for $ac_word... " >&6; }
17606 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
17607 $as_echo_n "(cached) " >&6
17609 if test -n "$ax_pthread_config"; then
17610 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
17612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17613 for as_dir
in $PATH
17616 test -z "$as_dir" && as_dir
=.
17617 for ac_exec_ext
in '' $ac_executable_extensions; do
17618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17619 ac_cv_prog_ax_pthread_config
="yes"
17620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17627 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
17630 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
17631 if test -n "$ax_pthread_config"; then
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
17633 $as_echo "$ax_pthread_config" >&6; }
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17636 $as_echo "no" >&6; }
17640 if test x
"$ax_pthread_config" = xno
; then continue; fi
17641 PTHREAD_CFLAGS
="`pthread-config --cflags`"
17642 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17647 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17648 PTHREAD_LIBS
="-l$flag"
17653 save_CFLAGS
="$CFLAGS"
17654 LIBS
="$PTHREAD_LIBS $LIBS"
17655 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17657 # Check for various functions. We must include pthread.h,
17658 # since some functions may be macros. (On the Sequent, we
17659 # need a special flag -Kthread to make this header compile.)
17660 # We check for pthread_join because it is in -lpthread on IRIX
17661 # while pthread_create is in libc. We check for pthread_attr_init
17662 # due to DEC craziness with -lpthreads. We check for
17663 # pthread_cleanup_push because it is one of the few pthread
17664 # functions on Solaris that doesn't have a non-functional libc stub.
17665 # We try pthread_create on general principles.
17666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17668 #include <pthread.h>
17669 static void routine(void *a) { a = 0; }
17670 static void *start_routine(void *a) { return a; }
17674 pthread_t th; pthread_attr_t attr;
17675 pthread_create(&th, 0, start_routine, 0);
17676 pthread_join(th, 0);
17677 pthread_attr_init(&attr);
17678 pthread_cleanup_push(routine, 0);
17679 pthread_cleanup_pop(0) /* ; */
17684 if ac_fn_c_try_link
"$LINENO"; then :
17687 rm -f core conftest.err conftest.
$ac_objext \
17688 conftest
$ac_exeext conftest.
$ac_ext
17691 CFLAGS
="$save_CFLAGS"
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
17694 $as_echo "$ax_pthread_ok" >&6; }
17695 if test "x$ax_pthread_ok" = xyes
; then
17704 # Various other checks:
17705 if test "x$ax_pthread_ok" = xyes
; then
17707 LIBS
="$PTHREAD_LIBS $LIBS"
17708 save_CFLAGS
="$CFLAGS"
17709 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17711 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17713 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17715 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
17716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h. */
17718 #include <pthread.h>
17722 int attr = $attr; return attr /* ; */
17727 if ac_fn_c_try_link
"$LINENO"; then :
17728 attr_name
=$attr; break
17730 rm -f core conftest.err conftest.
$ac_objext \
17731 conftest
$ac_exeext conftest.
$ac_ext
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17734 $as_echo "$attr_name" >&6; }
17735 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
17737 cat >>confdefs.h
<<_ACEOF
17738 #define PTHREAD_CREATE_JOINABLE $attr_name
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17744 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17747 aix
* | freebsd
* | darwin
*) flag
="-D_THREAD_SAFE";;
17748 osf
* | hpux
*) flag
="-D_REENTRANT";;
17750 if test "$GCC" = "yes"; then
17751 flag
="-D_REENTRANT"
17753 flag
="-mt -D_REENTRANT"
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17758 $as_echo "${flag}" >&6; }
17759 if test "x$flag" != xno
; then
17760 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
17764 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
17765 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
17766 $as_echo_n "(cached) " >&6
17769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17770 /* end confdefs.h. */
17772 #include <pthread.h>
17776 int i = PTHREAD_PRIO_INHERIT;
17781 if ac_fn_c_try_link
"$LINENO"; then :
17782 ax_cv_PTHREAD_PRIO_INHERIT
=yes
17784 ax_cv_PTHREAD_PRIO_INHERIT
=no
17786 rm -f core conftest.err conftest.
$ac_objext \
17787 conftest
$ac_exeext conftest.
$ac_ext
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
17791 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
17792 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
17794 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
17799 CFLAGS
="$save_CFLAGS"
17801 # More AIX lossage: must compile with xlc_r or cc_r
17802 if test x
"$GCC" != xyes
; then
17803 for ac_prog
in xlc_r cc_r
17805 # Extract the first word of "$ac_prog", so it can be a program name with args.
17806 set dummy
$ac_prog; ac_word
=$2
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17808 $as_echo_n "checking for $ac_word... " >&6; }
17809 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
17810 $as_echo_n "(cached) " >&6
17812 if test -n "$PTHREAD_CC"; then
17813 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
17815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17816 for as_dir
in $PATH
17819 test -z "$as_dir" && as_dir
=.
17820 for ac_exec_ext
in '' $ac_executable_extensions; do
17821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17822 ac_cv_prog_PTHREAD_CC
="$ac_prog"
17823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17832 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
17833 if test -n "$PTHREAD_CC"; then
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17835 $as_echo "$PTHREAD_CC" >&6; }
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17838 $as_echo "no" >&6; }
17842 test -n "$PTHREAD_CC" && break
17844 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
17857 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17858 if test x
"$ax_pthread_ok" = xyes
; then
17860 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17865 as_fn_error $?
"JIT support requires pthreads" "$LINENO" 5
17868 ac_cpp
='$CPP $CPPFLAGS'
17869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17875 CFLAGS
="$PTHREAD_CFLAGS $CFLAGS"
17876 LIBS
="$PTHREAD_LIBS $LIBS"
17878 $as_echo "#define SUPPORT_JIT /**/" >>confdefs.h
17881 enable_pcregrep_jit
="no"
17884 if test "$enable_pcregrep_jit" = "yes"; then
17886 $as_echo "#define SUPPORT_PCREGREP_JIT /**/" >>confdefs.h
17890 if test "$enable_utf" = "yes"; then
17892 $as_echo "#define SUPPORT_UTF /**/" >>confdefs.h
17896 if test "$enable_unicode_properties" = "yes"; then
17898 $as_echo "#define SUPPORT_UCP /**/" >>confdefs.h
17902 if test "$enable_stack_for_recursion" = "no"; then
17904 $as_echo "#define NO_RECURSE /**/" >>confdefs.h
17908 if test "$enable_pcregrep_libz" = "yes"; then
17910 $as_echo "#define SUPPORT_LIBZ /**/" >>confdefs.h
17914 if test "$enable_pcregrep_libbz2" = "yes"; then
17916 $as_echo "#define SUPPORT_LIBBZ2 /**/" >>confdefs.h
17920 if test $with_pcregrep_bufsize -lt 8192 ; then
17921 with_pcregrep_bufsize
="8192"
17925 cat >>confdefs.h
<<_ACEOF
17926 #define PCREGREP_BUFSIZE $with_pcregrep_bufsize
17930 if test "$enable_pcretest_libedit" = "yes"; then
17932 $as_echo "#define SUPPORT_LIBEDIT /**/" >>confdefs.h
17934 LIBREADLINE
="$LIBEDIT"
17935 elif test "$enable_pcretest_libreadline" = "yes"; then
17937 $as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h
17942 cat >>confdefs.h
<<_ACEOF
17943 #define NEWLINE $ac_pcre_newline_value
17947 if test "$enable_bsr_anycrlf" = "yes"; then
17949 $as_echo "#define BSR_ANYCRLF /**/" >>confdefs.h
17954 cat >>confdefs.h
<<_ACEOF
17955 #define LINK_SIZE $with_link_size
17960 cat >>confdefs.h
<<_ACEOF
17961 #define POSIX_MALLOC_THRESHOLD $with_posix_malloc_threshold
17966 cat >>confdefs.h
<<_ACEOF
17967 #define MATCH_LIMIT $with_match_limit
17972 cat >>confdefs.h
<<_ACEOF
17973 #define MATCH_LIMIT_RECURSION $with_match_limit_recursion
17978 $as_echo "#define MAX_NAME_SIZE 32" >>confdefs.h
17982 $as_echo "#define MAX_NAME_COUNT 10000" >>confdefs.h
17987 if test "$enable_ebcdic" = "yes"; then
17989 cat >>confdefs.h
<<_ACEOF
17990 #define EBCDIC /**/
17995 if test "$enable_ebcdic_nl25" = "yes"; then
17997 cat >>confdefs.h
<<_ACEOF
17998 #define EBCDIC_NL25 /**/
18003 if test "$enable_valgrind" = "yes"; then
18005 cat >>confdefs.h
<<_ACEOF
18006 #define SUPPORT_VALGRIND /**/
18011 # Platform specific issues
18013 EXPORT_ALL_SYMBOLS
=
18016 if test X
"$enable_shared" = Xyes
; then
18017 NO_UNDEFINED
="-no-undefined"
18018 EXPORT_ALL_SYMBOLS
="-Wl,--export-all-symbols"
18023 # The extra LDFLAGS for each particular library
18024 # (Note: The libpcre*_version bits are m4 variables, assigned above)
18026 EXTRA_LIBPCRE_LDFLAGS
="$EXTRA_LIBPCRE_LDFLAGS \
18027 $NO_UNDEFINED -version-info 3:0:2"
18029 EXTRA_LIBPCRE16_LDFLAGS
="$EXTRA_LIBPCRE16_LDFLAGS \
18030 $NO_UNDEFINED -version-info 2:0:2"
18032 EXTRA_LIBPCRE32_LDFLAGS
="$EXTRA_LIBPCRE32_LDFLAGS \
18033 $NO_UNDEFINED -version-info 0:0:0"
18035 EXTRA_LIBPCREPOSIX_LDFLAGS
="$EXTRA_LIBPCREPOSIX_LDFLAGS \
18036 $NO_UNDEFINED -version-info 0:1:0"
18038 EXTRA_LIBPCRECPP_LDFLAGS
="$EXTRA_LIBPCRECPP_LDFLAGS \
18039 $NO_UNDEFINED -version-info 0:0:0 \
18040 $EXPORT_ALL_SYMBOLS"
18048 # When we run 'make distcheck', use these arguments. Turning off compiler
18049 # optimization makes it run faster.
18050 DISTCHECK_CONFIGURE_FLAGS
="CFLAGS='' CXXFLAGS='' --enable-pcre16 --enable-pcre32 --enable-jit --enable-cpp --enable-unicode-properties"
18053 # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
18054 # specified, the relevant library is available.
18056 if test "$enable_pcregrep_libz" = "yes"; then
18057 if test "$HAVE_ZLIB_H" != "1"; then
18058 echo "** Cannot --enable-pcregrep-libz because zlib.h was not found"
18061 if test "$HAVE_LIBZ" != "1"; then
18062 echo "** Cannot --enable-pcregrep-libz because libz was not found"
18069 if test "$enable_pcregrep_libbz2" = "yes"; then
18070 if test "$HAVE_BZLIB_H" != "1"; then
18071 echo "** Cannot --enable-pcregrep-libbz2 because bzlib.h was not found"
18074 if test "$HAVE_LIBBZ2" != "1"; then
18075 echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"
18082 # Similarly for --enable-pcretest-readline
18084 if test "$enable_pcretest_libedit" = "yes"; then
18085 if test "$enable_pcretest_libreadline" = "yes"; then
18086 echo "** Cannot use both --enable-pcretest-libedit and --enable-pcretest-readline"
18089 if test "$HAVE_EDITLINE_READLINE_H" != "1" -a \
18090 "$HAVE_READLINE_READLINE_H" != "1"; then
18091 echo "** Cannot --enable-pcretest-libedit because neither editline/readline.h"
18092 echo "** nor readline/readline.h was found."
18095 if test -z "$LIBEDIT"; then
18096 echo "** Cannot --enable-pcretest-libedit because libedit library was not found."
18101 if test "$enable_pcretest_libreadline" = "yes"; then
18102 if test "$HAVE_READLINE_H" != "1"; then
18103 echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found."
18106 if test "$HAVE_HISTORY_H" != "1"; then
18107 echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."
18110 if test -z "$LIBREADLINE"; then
18111 echo "** Cannot --enable-pcretest-readline because readline library was not found."
18116 # Check for valgrind
18118 if test "$enable_valgrind" = "yes"; then
18126 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18127 if test -n "$ac_tool_prefix"; then
18128 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18129 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18131 $as_echo_n "checking for $ac_word... " >&6; }
18132 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
18133 $as_echo_n "(cached) " >&6
18135 case $PKG_CONFIG in
18137 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18141 for as_dir
in $PATH
18144 test -z "$as_dir" && as_dir
=.
18145 for ac_exec_ext
in '' $ac_executable_extensions; do
18146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18147 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18158 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18159 if test -n "$PKG_CONFIG"; then
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18161 $as_echo "$PKG_CONFIG" >&6; }
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18164 $as_echo "no" >&6; }
18169 if test -z "$ac_cv_path_PKG_CONFIG"; then
18170 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18171 # Extract the first word of "pkg-config", so it can be a program name with args.
18172 set dummy pkg-config
; ac_word
=$2
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18174 $as_echo_n "checking for $ac_word... " >&6; }
18175 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
18176 $as_echo_n "(cached) " >&6
18178 case $ac_pt_PKG_CONFIG in
18180 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18184 for as_dir
in $PATH
18187 test -z "$as_dir" && as_dir
=.
18188 for ac_exec_ext
in '' $ac_executable_extensions; do
18189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18190 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18201 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18202 if test -n "$ac_pt_PKG_CONFIG"; then
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18204 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18207 $as_echo "no" >&6; }
18210 if test "x$ac_pt_PKG_CONFIG" = x
; then
18213 case $cross_compiling:$ac_tool_warned in
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18217 ac_tool_warned
=yes ;;
18219 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18222 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18226 if test -n "$PKG_CONFIG"; then
18227 _pkg_min_version
=0.9.0
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18229 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18230 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18232 $as_echo "yes" >&6; }
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18235 $as_echo "no" >&6; }
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
18242 $as_echo_n "checking for VALGRIND... " >&6; }
18244 if test -n "$VALGRIND_CFLAGS"; then
18245 pkg_cv_VALGRIND_CFLAGS
="$VALGRIND_CFLAGS"
18246 elif test -n "$PKG_CONFIG"; then
18247 if test -n "$PKG_CONFIG" && \
18248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
18249 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
18251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18252 test $ac_status = 0; }; then
18253 pkg_cv_VALGRIND_CFLAGS
=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null`
18254 test "x$?" != "x0" && pkg_failed
=yes
18261 if test -n "$VALGRIND_LIBS"; then
18262 pkg_cv_VALGRIND_LIBS
="$VALGRIND_LIBS"
18263 elif test -n "$PKG_CONFIG"; then
18264 if test -n "$PKG_CONFIG" && \
18265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
18266 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
18268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18269 test $ac_status = 0; }; then
18270 pkg_cv_VALGRIND_LIBS
=`$PKG_CONFIG --libs "valgrind" 2>/dev/null`
18271 test "x$?" != "x0" && pkg_failed
=yes
18281 if test $pkg_failed = yes; then
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18283 $as_echo "no" >&6; }
18285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18286 _pkg_short_errors_supported
=yes
18288 _pkg_short_errors_supported
=no
18290 if test $_pkg_short_errors_supported = yes; then
18291 VALGRIND_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind" 2>&1`
18293 VALGRIND_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "valgrind" 2>&1`
18295 # Put the nasty error message in config.log where it belongs
18296 echo "$VALGRIND_PKG_ERRORS" >&5
18298 as_fn_error $?
"Package requirements (valgrind) were not met:
18300 $VALGRIND_PKG_ERRORS
18302 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18303 installed software in a non-standard prefix.
18305 Alternatively, you may set the environment variables VALGRIND_CFLAGS
18306 and VALGRIND_LIBS to avoid the need to call pkg-config.
18307 See the pkg-config man page for more details." "$LINENO" 5
18308 elif test $pkg_failed = untried
; then
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18310 $as_echo "no" >&6; }
18311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18313 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18314 is in your PATH or set the PKG_CONFIG environment variable to the full
18315 path to pkg-config.
18317 Alternatively, you may set the environment variables VALGRIND_CFLAGS
18318 and VALGRIND_LIBS to avoid the need to call pkg-config.
18319 See the pkg-config man page for more details.
18321 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18322 See \`config.log' for more details" "$LINENO" 5; }
18324 VALGRIND_CFLAGS
=$pkg_cv_VALGRIND_CFLAGS
18325 VALGRIND_LIBS
=$pkg_cv_VALGRIND_LIBS
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18327 $as_echo "yes" >&6; }
18332 # test code coverage reporting
18333 if test "$enable_coverage" = "yes"; then
18334 if test "x$GCC" != "xyes"; then
18335 as_fn_error $?
"Code coverage reports can only be generated when using GCC" "$LINENO" 5
18338 # ccache is incompatible with gcov
18339 # Extract the first word of "shtool", so it can be a program name with args.
18340 set dummy shtool
; ac_word
=$2
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18342 $as_echo_n "checking for $ac_word... " >&6; }
18343 if ${ac_cv_path_SHTOOL+:} false
; then :
18344 $as_echo_n "(cached) " >&6
18348 ac_cv_path_SHTOOL
="$SHTOOL" # Let the user override the test with a path.
18351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18352 for as_dir
in $PATH
18355 test -z "$as_dir" && as_dir
=.
18356 for ac_exec_ext
in '' $ac_executable_extensions; do
18357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18358 ac_cv_path_SHTOOL
="$as_dir/$ac_word$ac_exec_ext"
18359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18366 test -z "$ac_cv_path_SHTOOL" && ac_cv_path_SHTOOL
="false"
18370 SHTOOL
=$ac_cv_path_SHTOOL
18371 if test -n "$SHTOOL"; then
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
18373 $as_echo "$SHTOOL" >&6; }
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18376 $as_echo "no" >&6; }
18380 case `$SHTOOL path $CC` in
18381 *ccache
*) cc_ccache
=yes;;
18385 if test "$cc_ccache" = "yes"; then
18386 if test -z "$CCACHE_DISABLE" -o "$CCACHE_DISABLE" != "1"; then
18387 as_fn_error $?
"must export CCACHE_DISABLE=1 to disable ccache for code coverage" "$LINENO" 5
18392 # Extract the first word of "lcov", so it can be a program name with args.
18393 set dummy lcov
; ac_word
=$2
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18395 $as_echo_n "checking for $ac_word... " >&6; }
18396 if ${ac_cv_path_LCOV+:} false
; then :
18397 $as_echo_n "(cached) " >&6
18401 ac_cv_path_LCOV
="$LCOV" # Let the user override the test with a path.
18404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18405 for as_dir
in $PATH
18408 test -z "$as_dir" && as_dir
=.
18409 for ac_exec_ext
in '' $ac_executable_extensions; do
18410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18411 ac_cv_path_LCOV
="$as_dir/$ac_word$ac_exec_ext"
18412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18419 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV
="false"
18423 LCOV
=$ac_cv_path_LCOV
18424 if test -n "$LCOV"; then
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
18426 $as_echo "$LCOV" >&6; }
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18429 $as_echo "no" >&6; }
18433 if test "x$LCOV" = "xfalse"; then
18434 as_fn_error $?
"lcov not found" "$LINENO" 5
18438 # Extract the first word of "genhtml", so it can be a program name with args.
18439 set dummy genhtml
; ac_word
=$2
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18441 $as_echo_n "checking for $ac_word... " >&6; }
18442 if ${ac_cv_path_GENHTML+:} false
; then :
18443 $as_echo_n "(cached) " >&6
18447 ac_cv_path_GENHTML
="$GENHTML" # Let the user override the test with a path.
18450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18451 for as_dir
in $PATH
18454 test -z "$as_dir" && as_dir
=.
18455 for ac_exec_ext
in '' $ac_executable_extensions; do
18456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18457 ac_cv_path_GENHTML
="$as_dir/$ac_word$ac_exec_ext"
18458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18465 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML
="false"
18469 GENHTML
=$ac_cv_path_GENHTML
18470 if test -n "$GENHTML"; then
18471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
18472 $as_echo "$GENHTML" >&6; }
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18475 $as_echo "no" >&6; }
18479 if test "x$GENHTML" = "xfalse"; then
18480 as_fn_error $?
"genhtml not found" "$LINENO" 5
18484 $as_echo "#define SUPPORT_GCOV 1" >>confdefs.h
18487 # And add flags needed for gcov
18488 GCOV_CFLAGS
="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
18489 GCOV_CXXFLAGS
="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
18494 fi # enable_coverage
18496 if test "x$enable_coverage" = "xyes"; then
18498 WITH_GCOV_FALSE
='#'
18505 # Produce these files, in addition to config.h.
18506 ac_config_files
="$ac_config_files Makefile libpcre.pc libpcre16.pc libpcre32.pc libpcreposix.pc libpcrecpp.pc pcre-config pcre.h pcre_stringpiece.h pcrecpparg.h"
18509 # Make the generated script files executable.
18510 ac_config_commands
="$ac_config_commands script-chmod"
18513 # Make sure that pcre_chartables.c is removed in case the method for
18514 # creating it was changed by reconfiguration.
18515 ac_config_commands
="$ac_config_commands delete-old-chartables"
18518 cat >confcache
<<\_ACEOF
18519 # This file is a shell script that caches the results of configure
18520 # tests run on this system so they can be shared between configure
18521 # scripts and configure runs, see configure's option --config-cache.
18522 # It is not useful on other systems. If it contains results you don't
18523 # want to keep, you may remove or edit it.
18525 # config.status only pays attention to the cache file if you give it
18526 # the --recheck option to rerun configure.
18528 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18529 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18530 # following values.
18534 # The following way of writing the cache mishandles newlines in values,
18535 # but we know of no workaround that is simple, portable, and efficient.
18536 # So, we kill variables containing newlines.
18537 # Ultrix sh set writes to stderr and can't be redirected directly,
18538 # and sets the high bit in the cache file unless we assign to the vars.
18540 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18541 eval ac_val
=\$
$ac_var
18545 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18546 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18549 _ | IFS | as_nl
) ;; #(
18550 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18551 *) { eval $ac_var=; unset $ac_var;} ;;
18557 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18558 *${as_nl}ac_space
=\
*)
18559 # `set' does not quote correctly, so add quotes: double-quote
18560 # substitution turns \\\\ into \\, and sed turns \\ into \.
18563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18566 # `set' quotes correctly as required by POSIX, so do not add quotes.
18567 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18576 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18578 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18580 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18581 if test -w "$cache_file"; then
18582 if test "x$cache_file" != "x/dev/null"; then
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18584 $as_echo "$as_me: updating cache $cache_file" >&6;}
18585 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18586 cat confcache
>"$cache_file"
18588 case $cache_file in #(
18590 mv -f confcache
"$cache_file"$$
&&
18591 mv -f "$cache_file"$$
"$cache_file" ;; #(
18593 mv -f confcache
"$cache_file" ;;
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18599 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18604 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18605 # Let make expand exec_prefix.
18606 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18608 DEFS
=-DHAVE_CONFIG_H
18613 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18614 # 1. Remove the extension, and $U if already installed.
18615 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18616 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18617 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18618 # will be set to the directory where LIBOBJS objects are built.
18619 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18620 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18622 LIBOBJS
=$ac_libobjs
18624 LTLIBOBJS
=$ac_ltlibobjs
18627 if test -n "$EXEEXT"; then
18629 am__EXEEXT_FALSE
='#'
18631 am__EXEEXT_TRUE
='#'
18635 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18636 as_fn_error $?
"conditional \"AMDEP\" was never defined.
18637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18639 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18640 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
18641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18643 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18644 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
18645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18647 if test -z "${WITH_PCRE8_TRUE}" && test -z "${WITH_PCRE8_FALSE}"; then
18648 as_fn_error $?
"conditional \"WITH_PCRE8\" was never defined.
18649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18651 if test -z "${WITH_PCRE16_TRUE}" && test -z "${WITH_PCRE16_FALSE}"; then
18652 as_fn_error $?
"conditional \"WITH_PCRE16\" was never defined.
18653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18655 if test -z "${WITH_PCRE32_TRUE}" && test -z "${WITH_PCRE32_FALSE}"; then
18656 as_fn_error $?
"conditional \"WITH_PCRE32\" was never defined.
18657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18659 if test -z "${WITH_PCRE_CPP_TRUE}" && test -z "${WITH_PCRE_CPP_FALSE}"; then
18660 as_fn_error $?
"conditional \"WITH_PCRE_CPP\" was never defined.
18661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18663 if test -z "${WITH_REBUILD_CHARTABLES_TRUE}" && test -z "${WITH_REBUILD_CHARTABLES_FALSE}"; then
18664 as_fn_error $?
"conditional \"WITH_REBUILD_CHARTABLES\" was never defined.
18665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18667 if test -z "${WITH_JIT_TRUE}" && test -z "${WITH_JIT_FALSE}"; then
18668 as_fn_error $?
"conditional \"WITH_JIT\" was never defined.
18669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18671 if test -z "${WITH_UTF_TRUE}" && test -z "${WITH_UTF_FALSE}"; then
18672 as_fn_error $?
"conditional \"WITH_UTF\" was never defined.
18673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18675 if test -z "${WITH_VALGRIND_TRUE}" && test -z "${WITH_VALGRIND_FALSE}"; then
18676 as_fn_error $?
"conditional \"WITH_VALGRIND\" was never defined.
18677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18679 if test -z "${WITH_GCOV_TRUE}" && test -z "${WITH_GCOV_FALSE}"; then
18680 as_fn_error $?
"conditional \"WITH_GCOV\" was never defined.
18681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18684 : "${CONFIG_STATUS=./config.status}"
18686 ac_clean_files_save
=$ac_clean_files
18687 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18689 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18691 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18693 # Generated by $as_me.
18694 # Run this file to recreate the current configuration.
18695 # Compiler output produced by configure, useful for debugging
18696 # configure, is in config.log if it exists.
18699 ac_cs_recheck=false
18702 SHELL=\${CONFIG_SHELL-$SHELL}
18705 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18706 ## -------------------- ##
18707 ## M4sh Initialization. ##
18708 ## -------------------- ##
18710 # Be more Bourne compatible
18711 DUALCASE
=1; export DUALCASE
# for MKS sh
18712 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18715 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18716 # is contrary to our usage. Disable this feature.
18717 alias -g '${1+"$@"}'='"$@"'
18718 setopt NO_GLOB_SUBST
18720 case `(set -o) 2>/dev/null` in #(
18732 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18733 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18734 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18735 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18736 # Prefer a ksh shell builtin over an external printf program on Solaris,
18737 # but without wasting forks for bash or zsh.
18738 if test -z "$BASH_VERSION$ZSH_VERSION" \
18739 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18740 as_echo='print
-r --'
18741 as_echo_n='print
-rn --'
18742 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18743 as_echo='printf %s
\n'
18744 as_echo_n='printf %s
'
18746 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18747 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18748 as_echo_n='/usr
/ucb
/echo -n'
18750 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18751 as_echo_n_body='eval
18755 expr "X$arg" : "X\\(.*\\)$as_nl";
18756 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18758 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18760 export as_echo_n_body
18761 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18763 export as_echo_body
18764 as_echo='sh
-c $as_echo_body as_echo
'
18767 # The user is always right.
18768 if test "${PATH_SEPARATOR+set}" != set; then
18770 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18771 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18778 # We need space, tab and new line, in precisely that order. Quoting is
18779 # there to prevent editors from complaining about space-tab.
18780 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18781 # splitting by setting IFS to empty value.)
18784 # Find who we are. Look in the path if we contain no directory separator.
18787 *[\\/]* ) as_myself=$0 ;;
18788 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18789 for as_dir in $PATH
18792 test -z "$as_dir" && as_dir=.
18793 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18799 # We did not find ourselves, most probably we were run as `sh COMMAND'
18800 # in which case we are not to be found in the path.
18801 if test "x$as_myself" = x
; then
18804 if test ! -f "$as_myself"; then
18805 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18809 # Unset variables that we do not need and which cause bugs (e.g. in
18810 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18811 # suppresses any "Segmentation fault" message there. '((' could
18812 # trigger a bug in pdksh 5.2.14.
18813 for as_var
in BASH_ENV ENV MAIL MAILPATH
18814 do eval test x\
${$as_var+set} = xset \
18815 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18828 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18831 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18832 # ----------------------------------------
18833 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18834 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18835 # script with STATUS, using 1 if that was 0.
18838 as_status
=$1; test $as_status -eq 0 && as_status
=1
18840 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18841 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18843 $as_echo "$as_me: error: $2" >&2
18844 as_fn_exit
$as_status
18848 # as_fn_set_status STATUS
18849 # -----------------------
18850 # Set $? to STATUS, without forking.
18851 as_fn_set_status
()
18854 } # as_fn_set_status
18856 # as_fn_exit STATUS
18857 # -----------------
18858 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18862 as_fn_set_status
$1
18868 # Portably unset VAR.
18871 { eval $1=; unset $1;}
18873 as_unset
=as_fn_unset
18874 # as_fn_append VAR VALUE
18875 # ----------------------
18876 # Append the text in VALUE to the end of the definition contained in VAR. Take
18877 # advantage of any shell optimizations that allow amortized linear growth over
18878 # repeated appends, instead of the typical quadratic growth present in naive
18880 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18881 eval 'as_fn_append ()
18892 # as_fn_arith ARG...
18893 # ------------------
18894 # Perform arithmetic evaluation on the ARGs, and store the result in the
18895 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18896 # must be portable across $(()) and expr.
18897 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18898 eval 'as_fn_arith ()
18905 as_val
=`expr "$@" || test $? -eq 1`
18910 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18911 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18917 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18918 as_basename
=basename
18923 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18929 as_me
=`$as_basename -- "$0" ||
18930 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18931 X"$0" : 'X\(//\)$' \| \
18932 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18934 sed '/^.*\/\([^/][^/]*\)\/*$/{
18948 # Avoid depending upon Character Ranges.
18949 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18950 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18951 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18952 as_cr_digits
='0123456789'
18953 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18955 ECHO_C
= ECHO_N
= ECHO_T
=
18956 case `echo -n x` in #(((((
18958 case `echo 'xy\c'` in
18959 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18961 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18968 rm -f conf$$ conf$$.exe conf$$.
file
18969 if test -d conf$$.dir
; then
18970 rm -f conf$$.dir
/conf$$.
file
18973 mkdir conf$$.dir
2>/dev
/null
18975 if (echo >conf$$.
file) 2>/dev
/null
; then
18976 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18978 # ... but there are two gotchas:
18979 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18980 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18981 # In both cases, we have to default to `cp -p'.
18982 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18984 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18992 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18993 rmdir conf$$.dir
2>/dev
/null
18998 # Create "$as_dir" as a directory, including parents if necessary.
19003 -*) as_dir
=.
/$as_dir;;
19005 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19009 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19010 *) as_qdir
=$as_dir;;
19012 as_dirs
="'$as_qdir' $as_dirs"
19013 as_dir
=`$as_dirname -- "$as_dir" ||
19014 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19015 X"$as_dir" : 'X\(//\)[^/]' \| \
19016 X"$as_dir" : 'X\(//\)$' \| \
19017 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19018 $as_echo X"$as_dir" |
19019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19023 /^X\(\/\/\)[^/].*/{
19036 test -d "$as_dir" && break
19038 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19039 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19043 if mkdir
-p .
2>/dev
/null
; then
19044 as_mkdir_p
='mkdir -p "$as_dir"'
19046 test -d .
/-p && rmdir .
/-p
19050 if test -x / >/dev
/null
2>&1; then
19051 as_test_x
='test -x'
19053 if ls -dL / >/dev
/null
2>&1; then
19060 if test -d "$1"; then
19066 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19067 ???[sx]*):;;*)false;;esac;fi
19071 as_executable_p
=$as_test_x
19073 # Sed expression to map a string onto a valid CPP name.
19074 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19076 # Sed expression to map a string onto a valid variable name.
19077 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19081 ## ----------------------------------- ##
19082 ## Main body of $CONFIG_STATUS script. ##
19083 ## ----------------------------------- ##
19085 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19088 # Save the log message, to keep $0 and so on meaningful, and to
19089 # report actual input values of CONFIG_FILES etc. instead of their
19090 # values after options handling.
19092 This file was extended by PCRE $as_me 8.32, which was
19093 generated by GNU Autoconf 2.68. Invocation command line was
19095 CONFIG_FILES = $CONFIG_FILES
19096 CONFIG_HEADERS = $CONFIG_HEADERS
19097 CONFIG_LINKS = $CONFIG_LINKS
19098 CONFIG_COMMANDS = $CONFIG_COMMANDS
19101 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19106 case $ac_config_files in *"
19107 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19110 case $ac_config_headers in *"
19111 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19116 # Files that config.status was made for.
19117 config_files="$ac_config_files"
19118 config_headers="$ac_config_headers"
19119 config_commands="$ac_config_commands"
19123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19125 \`$as_me' instantiates files and other configuration actions
19126 from templates according to the current configuration. Unless the files
19127 and actions are specified as TAGs, all are instantiated by default.
19129 Usage: $0 [OPTION]... [TAG]...
19131 -h, --help print this help, then exit
19132 -V, --version print version number and configuration settings, then exit
19133 --config print configuration, then exit
19134 -q, --quiet, --silent
19135 do not print progress messages
19136 -d, --debug don't remove temporary files
19137 --recheck update $as_me by reconfiguring in the same conditions
19138 --file=FILE[:TEMPLATE]
19139 instantiate the configuration file FILE
19140 --header=FILE[:TEMPLATE]
19141 instantiate the configuration header FILE
19143 Configuration files:
19146 Configuration headers:
19149 Configuration commands:
19152 Report bugs to the package provider."
19155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19156 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19158 PCRE config.status 8.32
19159 configured by $0, generated by GNU Autoconf 2.68,
19160 with options \\"\$ac_cs_config\\"
19162 Copyright (C) 2010 Free Software Foundation, Inc.
19163 This config.status script is free software; the Free Software Foundation
19164 gives unlimited permission to copy, distribute and modify it."
19171 test -n "\$AWK" || AWK=awk
19174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19175 # The default lists apply if the user does not specify any file.
19181 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19182 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19186 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19198 # Handling of the options.
19199 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19201 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19202 $as_echo "$ac_cs_version"; exit ;;
19203 --config |
--confi |
--conf |
--con |
--co |
--c )
19204 $as_echo "$ac_cs_config"; exit ;;
19205 --debug |
--debu |
--deb |
--de |
--d |
-d )
19207 --file |
--fil |
--fi |
--f )
19210 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19211 '') as_fn_error $?
"missing file argument" ;;
19213 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19214 ac_need_defaults
=false
;;
19215 --header |
--heade |
--head |
--hea )
19218 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19220 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19221 ac_need_defaults
=false
;;
19223 # Conflict between --help and --header
19224 as_fn_error $?
"ambiguous option: \`$1'
19225 Try \`$0 --help' for more information.";;
19226 --help |
--hel |
-h )
19227 $as_echo "$ac_cs_usage"; exit ;;
19228 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19229 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19232 # This is an error.
19233 -*) as_fn_error $?
"unrecognized option: \`$1'
19234 Try \`$0 --help' for more information." ;;
19236 *) as_fn_append ac_config_targets
" $1"
19237 ac_need_defaults
=false
;;
19243 ac_configure_extra_args
=
19245 if $ac_cs_silent; then
19247 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19252 if \$ac_cs_recheck; then
19253 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19255 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19256 CONFIG_SHELL='$SHELL'
19257 export CONFIG_SHELL
19262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19266 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19267 ## Running $as_me. ##
19273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19277 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19280 # The HP-UX ksh and POSIX shell print the target directory to stdout
19281 # if CDPATH is set.
19282 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19284 sed_quote_subst='$sed_quote_subst'
19285 double_quote_subst='$double_quote_subst'
19286 delay_variable_subst='$delay_variable_subst'
19287 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
19288 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19289 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19290 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19291 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19292 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19293 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19294 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19295 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19296 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19297 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19298 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19299 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19300 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19301 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19302 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19303 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19304 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19305 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19306 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19307 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19308 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19309 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19310 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19311 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19312 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19313 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19314 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19315 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19316 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19317 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19318 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19319 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19320 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19321 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19322 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19323 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19324 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19325 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19326 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19327 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19328 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19329 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19330 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19331 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19332 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19333 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19334 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19335 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19336 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19337 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19338 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19339 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19340 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19341 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19342 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19343 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"`'
19344 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19345 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19346 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19347 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19348 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19349 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19350 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19351 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19352 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19353 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19354 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19355 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19356 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19357 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19358 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19359 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19360 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19361 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19362 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19363 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19364 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19365 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19366 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19367 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19368 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19369 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19370 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19371 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19372 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19373 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19374 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19375 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19376 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19377 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19378 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
19379 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19380 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19381 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19382 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19383 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19384 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19385 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19386 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19387 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19388 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19389 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19390 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19391 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19392 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19393 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19394 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19395 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19396 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19397 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19398 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19399 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19400 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19401 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19402 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19403 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19404 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19405 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19406 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19407 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19408 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19409 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19410 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19411 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19412 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19413 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19414 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19415 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19416 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19417 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19418 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19419 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19420 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19421 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19422 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19423 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19424 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19425 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19426 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19427 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19428 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19429 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19430 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19431 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19432 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19433 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19434 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19435 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19436 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19437 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19438 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19439 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19440 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19441 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19442 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19443 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19444 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19445 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19446 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19447 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19448 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19449 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19450 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
19451 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19452 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19453 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19454 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19455 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19456 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19457 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19458 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19459 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19460 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19461 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19462 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19463 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19464 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19465 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19466 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19467 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19468 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19469 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19470 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19471 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19472 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19475 LTCFLAGS='$LTCFLAGS'
19476 compiler='$compiler_DEFAULT'
19478 # A function that is used when there is no print builtin or printf.
19479 func_fallback_echo ()
19481 eval 'cat <<_LTECHO_EOF
19486 # Quote evaled strings.
19502 deplibs_check_method \
19506 sharedlib_from_linklib_cmd \
19509 archiver_list_spec \
19515 lt_cv_sys_global_symbol_pipe \
19516 lt_cv_sys_global_symbol_to_cdecl \
19517 lt_cv_sys_global_symbol_to_c_name_address \
19518 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19519 nm_file_list_spec \
19520 lt_prog_compiler_no_builtin_flag \
19521 lt_prog_compiler_pic \
19522 lt_prog_compiler_wl \
19523 lt_prog_compiler_static \
19524 lt_cv_prog_compiler_c_o \
19533 export_dynamic_flag_spec \
19534 whole_archive_flag_spec \
19535 compiler_needs_object \
19537 allow_undefined_flag \
19538 no_undefined_flag \
19539 hardcode_libdir_flag_spec \
19540 hardcode_libdir_flag_spec_ld \
19541 hardcode_libdir_separator \
19545 variables_saved_for_relink \
19547 library_names_spec \
19549 install_override_mode \
19553 compiler_lib_search_dirs \
19558 compiler_lib_search_path \
19562 lt_prog_compiler_no_builtin_flag_CXX \
19563 lt_prog_compiler_pic_CXX \
19564 lt_prog_compiler_wl_CXX \
19565 lt_prog_compiler_static_CXX \
19566 lt_cv_prog_compiler_c_o_CXX \
19567 export_dynamic_flag_spec_CXX \
19568 whole_archive_flag_spec_CXX \
19569 compiler_needs_object_CXX \
19571 allow_undefined_flag_CXX \
19572 no_undefined_flag_CXX \
19573 hardcode_libdir_flag_spec_CXX \
19574 hardcode_libdir_flag_spec_ld_CXX \
19575 hardcode_libdir_separator_CXX \
19576 exclude_expsyms_CXX \
19577 include_expsyms_CXX \
19578 file_list_spec_CXX \
19579 compiler_lib_search_dirs_CXX \
19580 predep_objects_CXX \
19581 postdep_objects_CXX \
19584 compiler_lib_search_path_CXX; do
19585 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19586 *[\\\\\\\`\\"\\\$]*)
19587 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19590 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19595 # Double-quote double-evaled strings.
19596 for var in reload_cmds \
19597 old_postinstall_cmds \
19598 old_postuninstall_cmds \
19600 extract_expsyms_cmds \
19601 old_archive_from_new_cmds \
19602 old_archive_from_expsyms_cmds \
19604 archive_expsym_cmds \
19606 module_expsym_cmds \
19607 export_symbols_cmds \
19611 postuninstall_cmds \
19613 sys_lib_search_path_spec \
19614 sys_lib_dlsearch_path_spec \
19616 old_archive_cmds_CXX \
19617 old_archive_from_new_cmds_CXX \
19618 old_archive_from_expsyms_cmds_CXX \
19620 archive_expsym_cmds_CXX \
19622 module_expsym_cmds_CXX \
19623 export_symbols_cmds_CXX \
19625 postlink_cmds_CXX; do
19626 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19627 *[\\\\\\\`\\"\\\$]*)
19628 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19631 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19636 ac_aux_dir='$ac_aux_dir'
19637 xsi_shell='$xsi_shell'
19638 lt_shell_append='$lt_shell_append'
19640 # See if we are running on zsh, and set the options which allow our
19641 # commands through without removal of \ escapes INIT.
19642 if test -n "\${ZSH_VERSION+set}" ; then
19643 setopt NO_GLOB_SUBST
19649 TIMESTAMP='$TIMESTAMP'
19660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19662 # Handling of arguments.
19663 for ac_config_target
in $ac_config_targets
19665 case $ac_config_target in
19666 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19667 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19668 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19669 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19670 "libpcre.pc") CONFIG_FILES
="$CONFIG_FILES libpcre.pc" ;;
19671 "libpcre16.pc") CONFIG_FILES
="$CONFIG_FILES libpcre16.pc" ;;
19672 "libpcre32.pc") CONFIG_FILES
="$CONFIG_FILES libpcre32.pc" ;;
19673 "libpcreposix.pc") CONFIG_FILES
="$CONFIG_FILES libpcreposix.pc" ;;
19674 "libpcrecpp.pc") CONFIG_FILES
="$CONFIG_FILES libpcrecpp.pc" ;;
19675 "pcre-config") CONFIG_FILES
="$CONFIG_FILES pcre-config" ;;
19676 "pcre.h") CONFIG_FILES
="$CONFIG_FILES pcre.h" ;;
19677 "pcre_stringpiece.h") CONFIG_FILES
="$CONFIG_FILES pcre_stringpiece.h" ;;
19678 "pcrecpparg.h") CONFIG_FILES
="$CONFIG_FILES pcrecpparg.h" ;;
19679 "script-chmod") CONFIG_COMMANDS
="$CONFIG_COMMANDS script-chmod" ;;
19680 "delete-old-chartables") CONFIG_COMMANDS
="$CONFIG_COMMANDS delete-old-chartables" ;;
19682 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19687 # If the user did not use the arguments to specify the items to instantiate,
19688 # then the envvar interface is used. Set only those that are not.
19689 # We use the long form for the default assignment because of an extremely
19690 # bizarre bug on SunOS 4.1.3.
19691 if $ac_need_defaults; then
19692 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19693 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19694 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19697 # Have a temporary directory for convenience. Make it in the build tree
19698 # simply because there is no reason against having it here, and in addition,
19699 # creating and moving files from /tmp can sometimes cause problems.
19700 # Hook for its removal unless debugging.
19701 # Note that there is a small window in which the directory will not be cleaned:
19702 # after its creation but before its name has been assigned to `$tmp'.
19706 trap 'exit_status=$?
19707 : "${ac_tmp:=$tmp}"
19708 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19710 trap 'as_fn_exit 1' 1 2 13 15
19712 # Create a (secure) tmp directory for tmp files.
19715 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19719 tmp
=.
/conf$$
-$RANDOM
19720 (umask 077 && mkdir
"$tmp")
19721 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19724 # Set up the scripts for CONFIG_FILES section.
19725 # No need to generate them if there are no CONFIG_FILES.
19726 # This happens for instance with `./config.status config.h'.
19727 if test -n "$CONFIG_FILES"; then
19730 ac_cr
=`echo X | tr X '\015'`
19731 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19732 # But we know of no other shell where ac_cr would be empty at this
19733 # point, so we can use a bashism as a fallback.
19734 if test "x$ac_cr" = x
; then
19735 eval ac_cr
=\$
\'\\r
\'
19737 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19738 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19741 ac_cs_awk_cr
=$ac_cr
19744 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19749 echo "cat >conf$$subs.awk <<_ACEOF" &&
19750 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19752 } >conf$$subs.sh ||
19753 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19754 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19756 for ac_last_try in false false false false false :; do
19757 . ./conf$$subs.sh ||
19758 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19760 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19761 if test $ac_delim_n = $ac_delim_num; then
19763 elif $ac_last_try; then
19764 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19766 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19769 rm -f conf$$subs.sh
19771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19772 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19776 s/^/S["/; s
/!.
*/"]=/
19786 s/\(.\{148\}\)..*/\1/
19788 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19793 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19800 s/\(.\{148\}\)..*/\1/
19802 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19806 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19811 ' <conf$$subs.awk | sed '
19816 ' >>$CONFIG_STATUS || ac_write_fail=1
19817 rm -f conf$$subs.awk
19818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19820 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19821 for (key in S) S_is_set[key] = 1
19827 nfields = split(line, field, "@
")
19829 len = length(field[1])
19830 for (i = 2; i < nfields; i++) {
19832 keylen = length(key)
19833 if (S_is_set[key]) {
19835 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19836 len += length(value) + length(field[++i])
19847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19848 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19849 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19852 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19853 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19856 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19857 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19858 # trailing colons and then remove the whole line if VPATH becomes empty
19859 # (actually we leave an empty line to preserve line numbers).
19860 if test "x
$srcdir" = x.; then
19861 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19880 fi # test -n "$CONFIG_FILES"
19882 # Set up the scripts for CONFIG_HEADERS section.
19883 # No need to generate them if there are no CONFIG_HEADERS.
19884 # This happens for instance with `./config.status Makefile'.
19885 if test -n "$CONFIG_HEADERS"; then
19886 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19890 # Transform confdefs.h into an awk script `defines.awk', embedded as
19891 # here-document in config.status, that substitutes the proper values into
19892 # config.h.in to produce config.h.
19894 # Create a delimiter string that does not exist in confdefs.h, to ease
19895 # handling of long lines.
19897 for ac_last_try in false false :; do
19898 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19899 if test -z "$ac_tt"; then
19901 elif $ac_last_try; then
19902 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19904 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19908 # For the awk script, D is an array of macro values keyed by name,
19909 # likewise P contains macro parameters if any. Preserve backslash
19910 # newline sequences.
19912 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19914 s/.\{148\}/&'"$ac_delim"'/g
19917 s/^[ ]*#[ ]*define[ ][ ]*/ /
19924 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19926 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19930 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19931 D["\
1"]=" \
3\\\\\\n
"\\/p
19933 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19938 s/.\{148\}/&'"$ac_delim"'/g
19943 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19946 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19948 ' <confdefs.h | sed '
19949 s/'"$ac_delim"'/"\\\
19950 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19953 for (key in D) D_is_set[key] = 1
19956 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19958 split(line, arg, " ")
19959 if (arg[1] == "#") {
19963 defundef
= substr
(arg
[1], 2)
19966 split(mac1
, mac2
, "(") #)
19968 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19969 if (D_is_set
[macro
]) {
19970 # Preserve the white space surrounding the "#".
19971 print prefix
"define", macro P
[macro
] D
[macro
]
19974 # Replace #undef with comments. This is necessary, for example,
19975 # in the case of _POSIX_SOURCE, which is predefined and required
19976 # on some systems where configure will not decide to define it.
19977 if (defundef
== "undef") {
19978 print
"/*", prefix defundef
, macro
, "*/"
19986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19987 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19988 fi # test -n "$CONFIG_HEADERS"
19991 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19996 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19998 case $ac_mode$ac_tag in
20000 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20001 :[FH
]-) ac_tag
=-:-;;
20002 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20019 -) ac_f
="$ac_tmp/stdin";;
20020 *) # Look for the file first in the build tree, then in the source tree
20021 # (if the path is not absolute). The absolute path cannot be DOS-style,
20022 # because $ac_f cannot contain `:'.
20026 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20028 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20030 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20031 as_fn_append ac_file_inputs
" '$ac_f'"
20034 # Let's still pretend it is `configure' which instantiates (i.e., don't
20035 # use $as_me), people would be surprised to read:
20036 # /* config.h. Generated by config.status. */
20037 configure_input
='Generated from '`
20038 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20040 if test x
"$ac_file" != x-
; then
20041 configure_input
="$ac_file. $configure_input"
20042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20043 $as_echo "$as_me: creating $ac_file" >&6;}
20045 # Neutralize special characters interpreted by sed in replacement strings.
20046 case $configure_input in #(
20047 *\
&* |
*\|
* |
*\\* )
20048 ac_sed_conf_input
=`$as_echo "$configure_input" |
20049 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20050 *) ac_sed_conf_input
=$configure_input;;
20054 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20055 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20060 ac_dir
=`$as_dirname -- "$ac_file" ||
20061 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20062 X"$ac_file" : 'X\(//\)[^/]' \| \
20063 X"$ac_file" : 'X\(//\)$' \| \
20064 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20065 $as_echo X"$ac_file" |
20066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20070 /^X\(\/\/\)[^/].*/{
20083 as_dir
="$ac_dir"; as_fn_mkdir_p
20087 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20089 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20090 # A ".." for each directory in $ac_dir_suffix.
20091 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20092 case $ac_top_builddir_sub in
20093 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20094 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20097 ac_abs_top_builddir
=$ac_pwd
20098 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20099 # for backward compatibility:
20100 ac_top_builddir
=$ac_top_build_prefix
20103 .
) # We are building in place.
20105 ac_top_srcdir
=$ac_top_builddir_sub
20106 ac_abs_top_srcdir
=$ac_pwd ;;
20107 [\\/]* | ?
:[\\/]* ) # Absolute name.
20108 ac_srcdir
=$srcdir$ac_dir_suffix;
20109 ac_top_srcdir
=$srcdir
20110 ac_abs_top_srcdir
=$srcdir ;;
20111 *) # Relative name.
20112 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20113 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20114 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20116 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20126 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20127 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20129 ac_MKDIR_P
=$MKDIR_P
20131 [\\/$
]* | ?
:[\\/]* ) ;;
20132 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20137 # If the template does not know about datarootdir, expand it.
20138 # FIXME: This hack should be removed a few years after 2.60.
20139 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20150 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20151 *datarootdir
*) ac_datarootdir_seen
=yes;;
20152 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20154 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20157 ac_datarootdir_hack='
20158 s&@datadir@&$datadir&g
20159 s&@docdir@&$docdir&g
20160 s&@infodir@&$infodir&g
20161 s&@localedir@&$localedir&g
20162 s&@mandir@&$mandir&g
20163 s&\\\${datarootdir}&$datarootdir&g' ;;
20167 # Neutralize VPATH when `$srcdir' = `.'.
20168 # Shell code in configure.ac might set extrasub.
20169 # FIXME: do we really want to maintain this feature?
20170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20171 ac_sed_extra="$ac_vpsub
20174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20176 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20177 s|@configure_input@|
$ac_sed_conf_input|
;t t
20178 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20179 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20180 s
&@srcdir@
&$ac_srcdir&;t t
20181 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20182 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20183 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20184 s
&@builddir@
&$ac_builddir&;t t
20185 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20186 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20187 s
&@INSTALL@
&$ac_INSTALL&;t t
20188 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20189 $ac_datarootdir_hack
20191 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20192 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20194 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20195 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20196 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20197 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20199 which seems to be undefined. Please make sure it is defined" >&5
20200 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20201 which seems to be undefined. Please make sure it is defined" >&2;}
20203 rm -f "$ac_tmp/stdin"
20205 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20206 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20208 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20214 if test x"$ac_file" != x-; then
20216 $as_echo "/* $configure_input */" \
20217 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20218 } >"$ac_tmp/config.h" \
20219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20220 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20222 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20225 mv "$ac_tmp/config.h" "$ac_file" \
20226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20229 $as_echo "/* $configure_input */" \
20230 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20231 || as_fn_error $? "could not create -" "$LINENO" 5
20233 # Compute "$ac_file"'s index
in $config_headers.
20236 for _am_header
in $config_headers :; do
20237 case $_am_header in
20238 $_am_arg |
$_am_arg:* )
20241 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20244 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20245 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20246 X"$_am_arg" : 'X\(//\)[^/]' \| \
20247 X"$_am_arg" : 'X\(//\)$' \| \
20248 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20249 $as_echo X"$_am_arg" |
20250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20254 /^X\(\/\/\)[^/].*/{
20266 s/.*/./; q'`/stamp-h
$_am_stamp_count
20269 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20270 $as_echo "$as_me: executing $ac_file commands" >&6;}
20275 case $ac_file$ac_mode in
20276 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
20277 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20278 # are listed without --file. Let's play safe and only enable the eval
20279 # if we detect the quoting.
20280 case $CONFIG_FILES in
20281 *\'*) eval set x
"$CONFIG_FILES" ;;
20282 *) set x
$CONFIG_FILES ;;
20287 # Strip MF so we end up with the name of the file.
20288 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20289 # Check whether this is an Automake generated Makefile or not.
20290 # We used to match only the files named `Makefile.in', but
20291 # some people rename them; so instead we look at the file content.
20292 # Grep'ing the first line is not enough: some people post-process
20293 # each Makefile.in and add a new line on top of each file to say so.
20294 # Grep'ing the whole file is not good either: AIX grep has a line
20295 # limit of 2048, but all sed's we know have understand at least 4000.
20296 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
20297 dirpart
=`$as_dirname -- "$mf" ||
20298 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20299 X"$mf" : 'X\(//\)[^/]' \| \
20300 X"$mf" : 'X\(//\)$' \| \
20301 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20307 /^X\(\/\/\)[^/].*/{
20323 # Extract the definition of DEPDIR, am__include, and am__quote
20324 # from the Makefile without running `make'.
20325 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20326 test -z "$DEPDIR" && continue
20327 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20328 test -z "am__include" && continue
20329 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20330 # When using ansi2knr, U may be empty or an underscore; expand it
20331 U
=`sed -n 's/^U = //p' < "$mf"`
20332 # Find all dependency output files, they are included files with
20333 # $(DEPDIR) in their names. We invoke sed twice because it is the
20334 # simplest approach to changing $(DEPDIR) to its actual value in the
20336 for file in `sed -n "
20337 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20338 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20339 # Make sure the directory exists.
20340 test -f "$dirpart/$file" && continue
20341 fdir
=`$as_dirname -- "$file" ||
20342 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20343 X"$file" : 'X\(//\)[^/]' \| \
20344 X"$file" : 'X\(//\)$' \| \
20345 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20346 $as_echo X"$file" |
20347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20351 /^X\(\/\/\)[^/].*/{
20364 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
20365 # echo "creating $dirpart/$file"
20366 echo '# dummy' > "$dirpart/$file"
20373 # See if we are running on zsh, and set the options which allow our
20374 # commands through without removal of \ escapes.
20375 if test -n "${ZSH_VERSION+set}" ; then
20376 setopt NO_GLOB_SUBST
20379 cfgfile
="${ofile}T"
20380 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20383 cat <<_LT_EOF >> "$cfgfile"
20386 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20387 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20388 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20389 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20391 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20392 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
20394 # Written by Gordon Matzigkeit, 1996
20396 # This file is part of GNU Libtool.
20398 # GNU Libtool is free software; you can redistribute it and/or
20399 # modify it under the terms of the GNU General Public License as
20400 # published by the Free Software Foundation; either version 2 of
20401 # the License, or (at your option) any later version.
20403 # As a special exception to the GNU General Public License,
20404 # if you distribute this file as part of a program or library that
20405 # is built using GNU Libtool, you may include this file under the
20406 # same distribution terms that you use for the rest of that program.
20408 # GNU Libtool is distributed in the hope that it will be useful,
20409 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20410 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20411 # GNU General Public License for more details.
20413 # You should have received a copy of the GNU General Public License
20414 # along with GNU Libtool; see the file COPYING. If not, a copy
20415 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20416 # obtained by writing to the Free Software Foundation, Inc.,
20417 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20420 # The names of the tagged configurations supported by this script.
20421 available_tags="CXX "
20423 # ### BEGIN LIBTOOL CONFIG
20425 # Assembler program.
20428 # DLL creation program.
20429 DLLTOOL=$lt_DLLTOOL
20431 # Object dumper program.
20432 OBJDUMP=$lt_OBJDUMP
20434 # Which release of libtool.m4 was used?
20435 macro_version=$macro_version
20436 macro_revision=$macro_revision
20438 # Whether or not to build shared libraries.
20439 build_libtool_libs=$enable_shared
20441 # Whether or not to build static libraries.
20442 build_old_libs=$enable_static
20444 # What type of objects to build.
20447 # Whether or not to optimize for fast installation.
20448 fast_install=$enable_fast_install
20450 # Shell to use when invoking shell scripts.
20453 # An echo program that protects backslashes.
20457 host_alias=$host_alias
20461 # The build system.
20462 build_alias=$build_alias
20466 # A sed program that does not truncate output.
20469 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20470 Xsed="\$SED -e 1s/^X//"
20472 # A grep program that handles long lines.
20478 # A literal string matcher.
20481 # A BSD- or MS-compatible name lister.
20484 # Whether we need soft or hard links.
20487 # What is the maximum length of a command?
20488 max_cmd_len=$max_cmd_len
20490 # Object file suffix (normally "o").
20493 # Executable file suffix (normally "").
20496 # whether the shell understands "unset".
20499 # turn spaces into newlines.
20502 # turn newlines into spaces.
20505 # convert \$build file names to \$host format.
20506 to_host_file_cmd=$lt_cv_to_host_file_cmd
20508 # convert \$build files to toolchain format.
20509 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20511 # Method to check whether dependent libraries are shared objects.
20512 deplibs_check_method=$lt_deplibs_check_method
20514 # Command to use when deplibs_check_method = "file_magic".
20515 file_magic_cmd=$lt_file_magic_cmd
20517 # How to find potential files when deplibs_check_method = "file_magic".
20518 file_magic_glob=$lt_file_magic_glob
20520 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20521 want_nocaseglob=$lt_want_nocaseglob
20523 # Command to associate shared and link libraries.
20524 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20529 # Flags to create an archive.
20530 AR_FLAGS=$lt_AR_FLAGS
20532 # How to feed a file listing to the archiver.
20533 archiver_list_spec=$lt_archiver_list_spec
20535 # A symbol stripping program.
20538 # Commands used to install an old-style archive.
20540 old_postinstall_cmds=$lt_old_postinstall_cmds
20541 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20543 # Whether to use a lock for old archive extraction.
20544 lock_old_archive_extraction=$lock_old_archive_extraction
20549 # LTCC compiler flags.
20550 LTCFLAGS=$lt_CFLAGS
20552 # Take the output of nm and produce a listing of raw symbols and C names.
20553 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20555 # Transform the output of nm in a proper C declaration.
20556 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20558 # Transform the output of nm in a C name address pair.
20559 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20561 # Transform the output of nm in a C name address pair when lib prefix is needed.
20562 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20564 # Specify filename containing input files for \$NM.
20565 nm_file_list_spec=$lt_nm_file_list_spec
20567 # The root where to search for dependent libraries,and in which our libraries should be installed.
20568 lt_sysroot=$lt_sysroot
20570 # The name of the directory that contains temporary libtool files.
20573 # Used to examine libraries when file_magic_cmd begins with "file".
20574 MAGIC_CMD=$MAGIC_CMD
20576 # Must we lock files when doing compilation?
20577 need_locks=$lt_need_locks
20580 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20582 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20583 DSYMUTIL=$lt_DSYMUTIL
20585 # Tool to change global to local symbols on Mac OS X.
20588 # Tool to manipulate fat objects and archives on Mac OS X.
20591 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20594 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20595 OTOOL64=$lt_OTOOL64
20597 # Old archive suffix (normally "a").
20600 # Shared library suffix (normally ".so").
20601 shrext_cmds=$lt_shrext_cmds
20603 # The commands to extract the exported symbol list from a shared archive.
20604 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20606 # Variables whose values should be saved in libtool wrapper scripts and
20607 # restored at link time.
20608 variables_saved_for_relink=$lt_variables_saved_for_relink
20610 # Do we need the "lib" prefix for modules?
20611 need_lib_prefix=$need_lib_prefix
20613 # Do we need a version for libraries?
20614 need_version=$need_version
20616 # Library versioning type.
20617 version_type=$version_type
20619 # Shared library runtime path variable.
20620 runpath_var=$runpath_var
20622 # Shared library path variable.
20623 shlibpath_var=$shlibpath_var
20625 # Is shlibpath searched before the hard-coded library search path?
20626 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20628 # Format of library name prefix.
20629 libname_spec=$lt_libname_spec
20631 # List of archive names. First name is the real one, the rest are links.
20632 # The last name is the one that the linker finds with -lNAME
20633 library_names_spec=$lt_library_names_spec
20635 # The coded name of the library, if different from the real name.
20636 soname_spec=$lt_soname_spec
20638 # Permission mode override for installation of shared libraries.
20639 install_override_mode=$lt_install_override_mode
20641 # Command to use after installation of a shared archive.
20642 postinstall_cmds=$lt_postinstall_cmds
20644 # Command to use after uninstallation of a shared archive.
20645 postuninstall_cmds=$lt_postuninstall_cmds
20647 # Commands used to finish a libtool library installation in a directory.
20648 finish_cmds=$lt_finish_cmds
20650 # As "finish_cmds", except a single script fragment to be evaled but
20652 finish_eval=$lt_finish_eval
20654 # Whether we should hardcode library paths into libraries.
20655 hardcode_into_libs=$hardcode_into_libs
20657 # Compile-time system search path for libraries.
20658 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20660 # Run-time system search path for libraries.
20661 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20663 # Whether dlopen is supported.
20664 dlopen_support=$enable_dlopen
20666 # Whether dlopen of programs is supported.
20667 dlopen_self=$enable_dlopen_self
20669 # Whether dlopen of statically linked programs is supported.
20670 dlopen_self_static=$enable_dlopen_self_static
20672 # Commands to strip libraries.
20673 old_striplib=$lt_old_striplib
20674 striplib=$lt_striplib
20677 # The linker used to build libraries.
20680 # How to create reloadable object files.
20681 reload_flag=$lt_reload_flag
20682 reload_cmds=$lt_reload_cmds
20684 # Commands used to build an old-style archive.
20685 old_archive_cmds=$lt_old_archive_cmds
20687 # A language specific compiler.
20690 # Is the compiler the GNU compiler?
20693 # Compiler flag to turn off builtin functions.
20694 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20696 # Additional compiler flags for building library objects.
20697 pic_flag=$lt_lt_prog_compiler_pic
20699 # How to pass a linker flag through the compiler.
20700 wl=$lt_lt_prog_compiler_wl
20702 # Compiler flag to prevent dynamic linking.
20703 link_static_flag=$lt_lt_prog_compiler_static
20705 # Does compiler simultaneously support -c and -o options?
20706 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20708 # Whether or not to add -lc for building shared libraries.
20709 build_libtool_need_lc=$archive_cmds_need_lc
20711 # Whether or not to disallow shared libs when runtime libs are static.
20712 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20714 # Compiler flag to allow reflexive dlopens.
20715 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20717 # Compiler flag to generate shared objects directly from archives.
20718 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20720 # Whether the compiler copes with passing no objects directly.
20721 compiler_needs_object=$lt_compiler_needs_object
20723 # Create an old-style archive from a shared archive.
20724 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20726 # Create a temporary old-style archive to link instead of a shared archive.
20727 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20729 # Commands used to build a shared archive.
20730 archive_cmds=$lt_archive_cmds
20731 archive_expsym_cmds=$lt_archive_expsym_cmds
20733 # Commands used to build a loadable module if different from building
20734 # a shared archive.
20735 module_cmds=$lt_module_cmds
20736 module_expsym_cmds=$lt_module_expsym_cmds
20738 # Whether we are building with GNU ld or not.
20739 with_gnu_ld=$lt_with_gnu_ld
20741 # Flag that allows shared libraries with undefined symbols to be built.
20742 allow_undefined_flag=$lt_allow_undefined_flag
20744 # Flag that enforces no undefined symbols.
20745 no_undefined_flag=$lt_no_undefined_flag
20747 # Flag to hardcode \$libdir into a binary during linking.
20748 # This must work even if \$libdir does not exist
20749 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20751 # If ld is used when linking, flag to hardcode \$libdir into a binary
20752 # during linking. This must work even if \$libdir does not exist.
20753 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20755 # Whether we need a single "-rpath" flag with a separated argument.
20756 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20758 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20759 # DIR into the resulting binary.
20760 hardcode_direct=$hardcode_direct
20762 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20763 # DIR into the resulting binary and the resulting library dependency is
20764 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20765 # library is relocated.
20766 hardcode_direct_absolute=$hardcode_direct_absolute
20768 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20769 # into the resulting binary.
20770 hardcode_minus_L=$hardcode_minus_L
20772 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20773 # into the resulting binary.
20774 hardcode_shlibpath_var=$hardcode_shlibpath_var
20776 # Set to "yes" if building a shared library automatically hardcodes DIR
20777 # into the library and all subsequent libraries and executables linked
20779 hardcode_automatic=$hardcode_automatic
20781 # Set to yes if linker adds runtime paths of dependent libraries
20782 # to runtime path list.
20783 inherit_rpath=$inherit_rpath
20785 # Whether libtool must link a program against all its dependency libraries.
20786 link_all_deplibs=$link_all_deplibs
20788 # Set to "yes" if exported symbols are required.
20789 always_export_symbols=$always_export_symbols
20791 # The commands to list exported symbols.
20792 export_symbols_cmds=$lt_export_symbols_cmds
20794 # Symbols that should not be listed in the preloaded symbols.
20795 exclude_expsyms=$lt_exclude_expsyms
20797 # Symbols that must always be exported.
20798 include_expsyms=$lt_include_expsyms
20800 # Commands necessary for linking programs (against libraries) with templates.
20801 prelink_cmds=$lt_prelink_cmds
20803 # Commands necessary for finishing linking programs.
20804 postlink_cmds=$lt_postlink_cmds
20806 # Specify filename containing input files.
20807 file_list_spec=$lt_file_list_spec
20809 # How to hardcode a shared library path into an executable.
20810 hardcode_action=$hardcode_action
20812 # The directories searched by this compiler when creating a shared library.
20813 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20815 # Dependencies to place before and after the objects being linked to
20816 # create a shared library.
20817 predep_objects=$lt_predep_objects
20818 postdep_objects=$lt_postdep_objects
20819 predeps=$lt_predeps
20820 postdeps=$lt_postdeps
20822 # The library search path used internally by the compiler when linking
20823 # a shared library.
20824 compiler_lib_search_path=$lt_compiler_lib_search_path
20826 # ### END LIBTOOL CONFIG
20832 cat <<\_LT_EOF
>> "$cfgfile"
20833 # AIX sometimes has problems with the GCC collect2 program. For some
20834 # reason, if we set the COLLECT_NAMES environment variable, the problems
20835 # vanish in a puff of smoke.
20836 if test "X${COLLECT_NAMES+set}" != Xset
; then
20838 export COLLECT_NAMES
20845 ltmain
="$ac_aux_dir/ltmain.sh"
20848 # We use sed instead of cat because bash on DJGPP gets confused if
20849 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20850 # text mode, it properly converts lines to CR/LF. This bash problem
20851 # is reportedly fixed, but why not run on old versions too?
20852 sed '$q' "$ltmain" >> "$cfgfile" \
20853 ||
(rm -f "$cfgfile"; exit 1)
20855 if test x
"$xsi_shell" = xyes
; then
20856 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20860 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20861 \ * ) func_dirname_result="${3}" ;;\
20863 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20864 && mv -f "$cfgfile.tmp" "$cfgfile" \
20865 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20866 test 0 -eq $? || _lt_function_replace_fail
=:
20869 sed -e '/^func_basename ()$/,/^} # func_basename /c\
20872 \ func_basename_result="${1##*/}"\
20873 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20874 && mv -f "$cfgfile.tmp" "$cfgfile" \
20875 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20876 test 0 -eq $? || _lt_function_replace_fail
=:
20879 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20880 func_dirname_and_basename ()\
20883 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20884 \ * ) func_dirname_result="${3}" ;;\
20886 \ func_basename_result="${1##*/}"\
20887 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20888 && mv -f "$cfgfile.tmp" "$cfgfile" \
20889 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20890 test 0 -eq $? || _lt_function_replace_fail
=:
20893 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20896 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20897 \ # positional parameters, so assign one to ordinary parameter first.\
20898 \ func_stripname_result=${3}\
20899 \ func_stripname_result=${func_stripname_result#"${1}"}\
20900 \ func_stripname_result=${func_stripname_result%"${2}"}\
20901 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20902 && mv -f "$cfgfile.tmp" "$cfgfile" \
20903 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20904 test 0 -eq $? || _lt_function_replace_fail
=:
20907 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20908 func_split_long_opt ()\
20910 \ func_split_long_opt_name=${1%%=*}\
20911 \ func_split_long_opt_arg=${1#*=}\
20912 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20913 && mv -f "$cfgfile.tmp" "$cfgfile" \
20914 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20915 test 0 -eq $? || _lt_function_replace_fail
=:
20918 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20919 func_split_short_opt ()\
20921 \ func_split_short_opt_arg=${1#??}\
20922 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20923 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20924 && mv -f "$cfgfile.tmp" "$cfgfile" \
20925 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20926 test 0 -eq $? || _lt_function_replace_fail
=:
20929 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20933 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20934 \ *) func_lo2o_result=${1} ;;\
20936 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20937 && mv -f "$cfgfile.tmp" "$cfgfile" \
20938 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20939 test 0 -eq $? || _lt_function_replace_fail
=:
20942 sed -e '/^func_xform ()$/,/^} # func_xform /c\
20945 func_xform_result=${1%.*}.lo\
20946 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20947 && mv -f "$cfgfile.tmp" "$cfgfile" \
20948 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20949 test 0 -eq $? || _lt_function_replace_fail
=:
20952 sed -e '/^func_arith ()$/,/^} # func_arith /c\
20955 func_arith_result=$(( $* ))\
20956 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20957 && mv -f "$cfgfile.tmp" "$cfgfile" \
20958 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20959 test 0 -eq $? || _lt_function_replace_fail
=:
20962 sed -e '/^func_len ()$/,/^} # func_len /c\
20965 func_len_result=${#1}\
20966 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20967 && mv -f "$cfgfile.tmp" "$cfgfile" \
20968 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20969 test 0 -eq $? || _lt_function_replace_fail
=:
20973 if test x
"$lt_shell_append" = xyes
; then
20974 sed -e '/^func_append ()$/,/^} # func_append /c\
20977 eval "${1}+=\\${2}"\
20978 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20979 && mv -f "$cfgfile.tmp" "$cfgfile" \
20980 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20981 test 0 -eq $? || _lt_function_replace_fail
=:
20984 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20985 func_append_quoted ()\
20987 \ func_quote_for_eval "${2}"\
20988 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20989 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20990 && mv -f "$cfgfile.tmp" "$cfgfile" \
20991 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20992 test 0 -eq $? || _lt_function_replace_fail
=:
20995 # Save a `func_append' function call where possible by direct use of '+='
20996 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20997 && mv -f "$cfgfile.tmp" "$cfgfile" \
20998 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20999 test 0 -eq $? || _lt_function_replace_fail
=:
21001 # Save a `func_append' function call even when '+=' is not available
21002 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21003 && mv -f "$cfgfile.tmp" "$cfgfile" \
21004 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21005 test 0 -eq $? || _lt_function_replace_fail
=:
21008 if test x
"$_lt_function_replace_fail" = x
":"; then
21009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21010 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21014 mv -f "$cfgfile" "$ofile" ||
21015 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21019 cat <<_LT_EOF >> "$ofile"
21021 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21023 # The linker used to build libraries.
21026 # How to create reloadable object files.
21027 reload_flag=$lt_reload_flag_CXX
21028 reload_cmds=$lt_reload_cmds_CXX
21030 # Commands used to build an old-style archive.
21031 old_archive_cmds=$lt_old_archive_cmds_CXX
21033 # A language specific compiler.
21034 CC=$lt_compiler_CXX
21036 # Is the compiler the GNU compiler?
21039 # Compiler flag to turn off builtin functions.
21040 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21042 # Additional compiler flags for building library objects.
21043 pic_flag=$lt_lt_prog_compiler_pic_CXX
21045 # How to pass a linker flag through the compiler.
21046 wl=$lt_lt_prog_compiler_wl_CXX
21048 # Compiler flag to prevent dynamic linking.
21049 link_static_flag=$lt_lt_prog_compiler_static_CXX
21051 # Does compiler simultaneously support -c and -o options?
21052 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21054 # Whether or not to add -lc for building shared libraries.
21055 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21057 # Whether or not to disallow shared libs when runtime libs are static.
21058 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21060 # Compiler flag to allow reflexive dlopens.
21061 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21063 # Compiler flag to generate shared objects directly from archives.
21064 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21066 # Whether the compiler copes with passing no objects directly.
21067 compiler_needs_object=$lt_compiler_needs_object_CXX
21069 # Create an old-style archive from a shared archive.
21070 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21072 # Create a temporary old-style archive to link instead of a shared archive.
21073 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21075 # Commands used to build a shared archive.
21076 archive_cmds=$lt_archive_cmds_CXX
21077 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21079 # Commands used to build a loadable module if different from building
21080 # a shared archive.
21081 module_cmds=$lt_module_cmds_CXX
21082 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21084 # Whether we are building with GNU ld or not.
21085 with_gnu_ld=$lt_with_gnu_ld_CXX
21087 # Flag that allows shared libraries with undefined symbols to be built.
21088 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21090 # Flag that enforces no undefined symbols.
21091 no_undefined_flag=$lt_no_undefined_flag_CXX
21093 # Flag to hardcode \$libdir into a binary during linking.
21094 # This must work even if \$libdir does not exist
21095 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21097 # If ld is used when linking, flag to hardcode \$libdir into a binary
21098 # during linking. This must work even if \$libdir does not exist.
21099 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21101 # Whether we need a single "-rpath" flag with a separated argument.
21102 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21104 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21105 # DIR into the resulting binary.
21106 hardcode_direct=$hardcode_direct_CXX
21108 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21109 # DIR into the resulting binary and the resulting library dependency is
21110 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21111 # library is relocated.
21112 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21114 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21115 # into the resulting binary.
21116 hardcode_minus_L=$hardcode_minus_L_CXX
21118 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21119 # into the resulting binary.
21120 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21122 # Set to "yes" if building a shared library automatically hardcodes DIR
21123 # into the library and all subsequent libraries and executables linked
21125 hardcode_automatic=$hardcode_automatic_CXX
21127 # Set to yes if linker adds runtime paths of dependent libraries
21128 # to runtime path list.
21129 inherit_rpath=$inherit_rpath_CXX
21131 # Whether libtool must link a program against all its dependency libraries.
21132 link_all_deplibs=$link_all_deplibs_CXX
21134 # Set to "yes" if exported symbols are required.
21135 always_export_symbols=$always_export_symbols_CXX
21137 # The commands to list exported symbols.
21138 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21140 # Symbols that should not be listed in the preloaded symbols.
21141 exclude_expsyms=$lt_exclude_expsyms_CXX
21143 # Symbols that must always be exported.
21144 include_expsyms=$lt_include_expsyms_CXX
21146 # Commands necessary for linking programs (against libraries) with templates.
21147 prelink_cmds=$lt_prelink_cmds_CXX
21149 # Commands necessary for finishing linking programs.
21150 postlink_cmds=$lt_postlink_cmds_CXX
21152 # Specify filename containing input files.
21153 file_list_spec=$lt_file_list_spec_CXX
21155 # How to hardcode a shared library path into an executable.
21156 hardcode_action=$hardcode_action_CXX
21158 # The directories searched by this compiler when creating a shared library.
21159 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21161 # Dependencies to place before and after the objects being linked to
21162 # create a shared library.
21163 predep_objects=$lt_predep_objects_CXX
21164 postdep_objects=$lt_postdep_objects_CXX
21165 predeps=$lt_predeps_CXX
21166 postdeps=$lt_postdeps_CXX
21168 # The library search path used internally by the compiler when linking
21169 # a shared library.
21170 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21172 # ### END LIBTOOL TAG CONFIG: CXX
21176 "script-chmod":C
) chmod a
+x pcre-config
;;
21177 "delete-old-chartables":C
) rm -f pcre_chartables.c
;;
21185 ac_clean_files
=$ac_clean_files_save
21187 test $ac_write_fail = 0 ||
21188 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21191 # configure is writing to config.log, and then calls config.status.
21192 # config.status does its own redirection, appending to config.log.
21193 # Unfortunately, on DOS this fails, as config.log is still kept open
21194 # by configure, so config.status won't be able to write to it; its
21195 # output is simply discarded. So we exec the FD to /dev/null,
21196 # effectively closing config.log, so it can be properly (re)opened and
21197 # appended to by config.status. When coming back to configure, we
21198 # need to make the FD available again.
21199 if test "$no_create" != yes; then
21201 ac_config_status_args
=
21202 test "$silent" = yes &&
21203 ac_config_status_args
="$ac_config_status_args --quiet"
21205 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21207 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21208 # would make configure fail if this is the last instruction.
21209 $ac_cs_success || as_fn_exit
1
21211 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21213 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21217 # Print out a nice little message after configure is run displaying the
21221 if test "$enable_ebcdic_nl25" = "yes"; then
21222 ebcdic_nl_code
=0x25
21223 elif test "$enable_ebcdic" = "yes"; then
21224 ebcdic_nl_code
=0x15
21229 $PACKAGE-$VERSION configuration summary:
21231 Install prefix .................. : ${prefix}
21232 C preprocessor .................. : ${CPP}
21233 C compiler ...................... : ${CC}
21234 C++ preprocessor ................ : ${CXXCPP}
21235 C++ compiler .................... : ${CXX}
21236 Linker .......................... : ${LD}
21237 C preprocessor flags ............ : ${CPPFLAGS}
21238 C compiler flags ................ : ${CFLAGS} ${VISIBILITY_CFLAGS}
21239 C++ compiler flags .............. : ${CXXFLAGS} ${VISIBILITY_CXXFLAGS}
21240 Linker flags .................... : ${LDFLAGS}
21241 Extra libraries ................. : ${LIBS}
21243 Build 8 bit pcre library ........ : ${enable_pcre8}
21244 Build 16 bit pcre library ....... : ${enable_pcre16}
21245 Build 32 bit pcre library ....... : ${enable_pcre32}
21246 Build C++ library ............... : ${enable_cpp}
21247 Enable JIT compiling support .... : ${enable_jit}
21248 Enable UTF-8/16/32 support ...... : ${enable_utf}
21249 Unicode properties .............. : ${enable_unicode_properties}
21250 Newline char/sequence ........... : ${enable_newline}
21251 \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}
21252 EBCDIC coding ................... : ${enable_ebcdic}
21253 EBCDIC code for NL .............. : ${ebcdic_nl_code}
21254 Rebuild char tables ............. : ${enable_rebuild_chartables}
21255 Use stack recursion ............. : ${enable_stack_for_recursion}
21256 POSIX mem threshold ............. : ${with_posix_malloc_threshold}
21257 Internal link size .............. : ${with_link_size}
21258 Match limit ..................... : ${with_match_limit}
21259 Match limit recursion ........... : ${with_match_limit_recursion}
21260 Build shared libs ............... : ${enable_shared}
21261 Build static libs ............... : ${enable_static}
21262 Use JIT in pcregrep ............. : ${enable_pcregrep_jit}
21263 Buffer size for pcregrep ........ : ${with_pcregrep_bufsize}
21264 Link pcregrep with libz ......... : ${enable_pcregrep_libz}
21265 Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}
21266 Link pcretest with libedit ...... : ${enable_pcretest_libedit}
21267 Link pcretest with libreadline .. : ${enable_pcretest_libreadline}
21268 Valgrind support ................ : ${enable_valgrind}
21269 Code coverage ................... : ${enable_coverage}