2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for PCRE 8.44.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
589 PACKAGE_TARNAME
='pcre'
590 PACKAGE_VERSION
='8.44'
591 PACKAGE_STRING
='PCRE 8.44'
595 ac_unique_file
="pcre.h.in"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
651 DISTCHECK_CONFIGURE_FLAGS
652 EXTRA_LIBPCRECPP_LDFLAGS
653 EXTRA_LIBPCREPOSIX_LDFLAGS
654 EXTRA_LIBPCRE32_LDFLAGS
655 EXTRA_LIBPCRE16_LDFLAGS
656 EXTRA_LIBPCRE_LDFLAGS
669 WITH_REBUILD_CHARTABLES_FALSE
670 WITH_REBUILD_CHARTABLES_TRUE
679 pcre_have_bits_type_traits
680 pcre_have_type_traits
761 INSTALL_STRIP_PROGRAM
803 program_transform_name
817 enable_option_checking
819 enable_dependency_tracking
834 enable_rebuild_chartables
837 enable_unicode_properties
840 enable_newline_is_crlf
841 enable_newline_is_anycrlf
842 enable_newline_is_any
846 enable_stack_for_recursion
848 enable_pcregrep_libbz2
849 with_pcregrep_bufsize
850 enable_pcretest_libedit
851 enable_pcretest_libreadline
852 with_posix_malloc_threshold
854 with_parens_nest_limit
856 with_match_limit_recursion
860 ac_precious_vars
='build_alias
883 # Initialize some variables set by options.
885 ac_init_version
=false
886 ac_unrecognized_opts
=
888 # The variables have the same names as the options, with
889 # dashes changed to underlines.
897 program_transform_name
=s
,x
,x
,
905 # Installation directory options.
906 # These are left unexpanded so users can "make install exec_prefix=/foo"
907 # and all the variables that are supposed to be based on exec_prefix
908 # by default will actually change.
909 # Use braces instead of parens because sh, perl, etc. also accept them.
910 # (The list follows the same order as the GNU Coding Standards.)
911 bindir
='${exec_prefix}/bin'
912 sbindir
='${exec_prefix}/sbin'
913 libexecdir
='${exec_prefix}/libexec'
914 datarootdir
='${prefix}/share'
915 datadir
='${datarootdir}'
916 sysconfdir
='${prefix}/etc'
917 sharedstatedir
='${prefix}/com'
918 localstatedir
='${prefix}/var'
919 includedir
='${prefix}/include'
920 oldincludedir
='/usr/include'
921 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
922 infodir
='${datarootdir}/info'
927 libdir
='${exec_prefix}/lib'
928 localedir
='${datarootdir}/locale'
929 mandir
='${datarootdir}/man'
935 # If the previous option needs an argument, assign it.
936 if test -n "$ac_prev"; then
937 eval $ac_prev=\
$ac_option
943 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
948 # Accept the important Cygnus configure options, so we can diagnose typos.
950 case $ac_dashdash$ac_option in
954 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
956 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
959 -build |
--build |
--buil |
--bui |
--bu)
960 ac_prev
=build_alias
;;
961 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
962 build_alias
=$ac_optarg ;;
964 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
965 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
966 ac_prev
=cache_file
;;
967 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
968 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
969 cache_file
=$ac_optarg ;;
972 cache_file
=config.cache
;;
974 -datadir |
--datadir |
--datadi |
--datad)
976 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
977 datadir
=$ac_optarg ;;
979 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
980 |
--dataroo |
--dataro |
--datar)
981 ac_prev
=datarootdir
;;
982 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
983 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
984 datarootdir
=$ac_optarg ;;
986 -disable-* |
--disable-*)
987 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
990 as_fn_error $?
"invalid feature name: $ac_useropt"
991 ac_useropt_orig
=$ac_useropt
992 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
997 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
998 ac_unrecognized_sep
=', ';;
1000 eval enable_
$ac_useropt=no
;;
1002 -docdir |
--docdir |
--docdi |
--doc |
--do)
1004 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1005 docdir
=$ac_optarg ;;
1007 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1009 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1010 dvidir
=$ac_optarg ;;
1012 -enable-* |
--enable-*)
1013 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1016 as_fn_error $?
"invalid feature name: $ac_useropt"
1017 ac_useropt_orig
=$ac_useropt
1018 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019 case $ac_user_opts in
1021 "enable_
$ac_useropt"
1023 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1024 ac_unrecognized_sep
=', ';;
1026 eval enable_
$ac_useropt=\
$ac_optarg ;;
1028 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1029 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1030 |
--exec |
--exe |
--ex)
1031 ac_prev
=exec_prefix
;;
1032 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1033 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1034 |
--exec=* |
--exe=* |
--ex=*)
1035 exec_prefix
=$ac_optarg ;;
1037 -gas |
--gas |
--ga |
--g)
1038 # Obsolete; use --with-gas.
1041 -help |
--help |
--hel |
--he |
-h)
1042 ac_init_help
=long
;;
1043 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1044 ac_init_help
=recursive
;;
1045 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1046 ac_init_help
=short
;;
1048 -host |
--host |
--hos |
--ho)
1049 ac_prev
=host_alias
;;
1050 -host=* |
--host=* |
--hos=* |
--ho=*)
1051 host_alias
=$ac_optarg ;;
1053 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1055 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1057 htmldir
=$ac_optarg ;;
1059 -includedir |
--includedir |
--includedi |
--included |
--include \
1060 |
--includ |
--inclu |
--incl |
--inc)
1061 ac_prev
=includedir
;;
1062 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1063 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1064 includedir
=$ac_optarg ;;
1066 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1068 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1069 infodir
=$ac_optarg ;;
1071 -libdir |
--libdir |
--libdi |
--libd)
1073 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1074 libdir
=$ac_optarg ;;
1076 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1077 |
--libexe |
--libex |
--libe)
1078 ac_prev
=libexecdir
;;
1079 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1080 |
--libexe=* |
--libex=* |
--libe=*)
1081 libexecdir
=$ac_optarg ;;
1083 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1084 ac_prev
=localedir
;;
1085 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1086 localedir
=$ac_optarg ;;
1088 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1089 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1090 ac_prev
=localstatedir
;;
1091 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1092 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1093 localstatedir
=$ac_optarg ;;
1095 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1097 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1098 mandir
=$ac_optarg ;;
1100 -nfp |
--nfp |
--nf)
1101 # Obsolete; use --without-fp.
1104 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1105 |
--no-cr |
--no-c |
-n)
1108 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1109 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1112 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1113 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1114 |
--oldin |
--oldi |
--old |
--ol |
--o)
1115 ac_prev
=oldincludedir
;;
1116 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1117 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1118 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1119 oldincludedir
=$ac_optarg ;;
1121 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1123 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1124 prefix
=$ac_optarg ;;
1126 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1127 |
--program-pre |
--program-pr |
--program-p)
1128 ac_prev
=program_prefix
;;
1129 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1130 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1131 program_prefix
=$ac_optarg ;;
1133 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1134 |
--program-suf |
--program-su |
--program-s)
1135 ac_prev
=program_suffix
;;
1136 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1137 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1138 program_suffix
=$ac_optarg ;;
1140 -program-transform-name |
--program-transform-name \
1141 |
--program-transform-nam |
--program-transform-na \
1142 |
--program-transform-n |
--program-transform- \
1143 |
--program-transform |
--program-transfor \
1144 |
--program-transfo |
--program-transf \
1145 |
--program-trans |
--program-tran \
1146 |
--progr-tra |
--program-tr |
--program-t)
1147 ac_prev
=program_transform_name
;;
1148 -program-transform-name=* |
--program-transform-name=* \
1149 |
--program-transform-nam=* |
--program-transform-na=* \
1150 |
--program-transform-n=* |
--program-transform-=* \
1151 |
--program-transform=* |
--program-transfor=* \
1152 |
--program-transfo=* |
--program-transf=* \
1153 |
--program-trans=* |
--program-tran=* \
1154 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1155 program_transform_name
=$ac_optarg ;;
1157 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1159 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1160 pdfdir
=$ac_optarg ;;
1162 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1164 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1167 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1168 |
-silent |
--silent |
--silen |
--sile |
--sil)
1171 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1173 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1175 sbindir
=$ac_optarg ;;
1177 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1178 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1179 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1181 ac_prev
=sharedstatedir
;;
1182 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1183 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1184 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1186 sharedstatedir
=$ac_optarg ;;
1188 -site |
--site |
--sit)
1190 -site=* |
--site=* |
--sit=*)
1193 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1195 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1196 srcdir
=$ac_optarg ;;
1198 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1199 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1200 ac_prev
=sysconfdir
;;
1201 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1202 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1203 sysconfdir
=$ac_optarg ;;
1205 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1206 ac_prev
=target_alias
;;
1207 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1208 target_alias
=$ac_optarg ;;
1210 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1213 -version |
--version |
--versio |
--versi |
--vers |
-V)
1214 ac_init_version
=: ;;
1217 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1220 as_fn_error $?
"invalid package name: $ac_useropt"
1221 ac_useropt_orig
=$ac_useropt
1222 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1227 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1228 ac_unrecognized_sep
=', ';;
1230 eval with_
$ac_useropt=\
$ac_optarg ;;
1232 -without-* |
--without-*)
1233 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1236 as_fn_error $?
"invalid package name: $ac_useropt"
1237 ac_useropt_orig
=$ac_useropt
1238 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239 case $ac_user_opts in
1243 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1244 ac_unrecognized_sep
=', ';;
1246 eval with_
$ac_useropt=no
;;
1249 # Obsolete; use --with-x.
1252 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1253 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1254 ac_prev
=x_includes
;;
1255 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1256 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1257 x_includes
=$ac_optarg ;;
1259 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1260 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1261 ac_prev
=x_libraries
;;
1262 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1263 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1264 x_libraries
=$ac_optarg ;;
1266 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1267 Try \`$0 --help' for more information"
1271 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1272 # Reject names that are not valid shell variable names.
1273 case $ac_envvar in #(
1274 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1275 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1277 eval $ac_envvar=\
$ac_optarg
1278 export $ac_envvar ;;
1281 # FIXME: should be removed in autoconf 3.0.
1282 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1283 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1284 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1285 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1291 if test -n "$ac_prev"; then
1292 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1293 as_fn_error $?
"missing argument to $ac_option"
1296 if test -n "$ac_unrecognized_opts"; then
1297 case $enable_option_checking in
1299 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1300 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1304 # Check all directory arguments for consistency.
1305 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1306 datadir sysconfdir sharedstatedir localstatedir includedir \
1307 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1308 libdir localedir mandir
1310 eval ac_val
=\$
$ac_var
1311 # Remove trailing slashes.
1314 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1315 eval $ac_var=\
$ac_val;;
1317 # Be sure to have absolute directory names.
1319 [\\/$
]* | ?
:[\\/]* ) continue;;
1320 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1322 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1325 # There might be people who depend on the old broken behavior: `$host'
1326 # used to hold the argument of --host etc.
1327 # FIXME: To remove some day.
1330 target
=$target_alias
1332 # FIXME: To remove some day.
1333 if test "x$host_alias" != x
; then
1334 if test "x$build_alias" = x
; then
1335 cross_compiling
=maybe
1336 elif test "x$build_alias" != "x$host_alias"; then
1342 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1344 test "$silent" = yes && exec 6>/dev
/null
1347 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1348 ac_ls_di
=`ls -di .` &&
1349 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1350 as_fn_error $?
"working directory cannot be determined"
1351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1352 as_fn_error $?
"pwd does not report name of working directory"
1355 # Find the source files, if location was not specified.
1356 if test -z "$srcdir"; then
1357 ac_srcdir_defaulted
=yes
1358 # Try the directory containing this script, then the parent directory.
1359 ac_confdir
=`$as_dirname -- "$as_myself" ||
1360 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1361 X"$as_myself" : 'X\(//\)[^/]' \| \
1362 X"$as_myself" : 'X\(//\)$' \| \
1363 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1364 $as_echo X"$as_myself" |
1365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1383 if test ! -r "$srcdir/$ac_unique_file"; then
1387 ac_srcdir_defaulted
=no
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1391 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1393 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1395 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1397 # When building in place, set srcdir=.
1398 if test "$ac_abs_confdir" = "$ac_pwd"; then
1401 # Remove unnecessary trailing slashes from srcdir.
1402 # Double slashes in file names in object file debugging info
1403 # mess up M-x gdb in Emacs.
1405 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1407 for ac_var
in $ac_precious_vars; do
1408 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1409 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1410 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1411 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1415 # Report the --help message.
1417 if test "$ac_init_help" = "long"; then
1418 # Omit some internal or obsolete options to make the list less imposing.
1419 # This message is too long to be a string in the A/UX 3.1 sh.
1421 \`configure' configures PCRE 8.44 to adapt to many kinds of systems.
1423 Usage: $0 [OPTION]... [VAR=VALUE]...
1425 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1426 VAR=VALUE. See below for descriptions of some of the useful variables.
1428 Defaults for the options are specified in brackets.
1431 -h, --help display this help and exit
1432 --help=short display options specific to this package
1433 --help=recursive display the short help of all the included packages
1434 -V, --version display version information and exit
1435 -q, --quiet, --silent do not print \`checking ...' messages
1436 --cache-file=FILE cache test results in FILE [disabled]
1437 -C, --config-cache alias for \`--cache-file=config.cache'
1438 -n, --no-create do not create output files
1439 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1441 Installation directories:
1442 --prefix=PREFIX install architecture-independent files in PREFIX
1443 [$ac_default_prefix]
1444 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1447 By default, \`make install' will install all the files in
1448 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1449 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1450 for instance \`--prefix=\$HOME'.
1452 For better control, use the options below.
1454 Fine tuning of the installation directories:
1455 --bindir=DIR user executables [EPREFIX/bin]
1456 --sbindir=DIR system admin executables [EPREFIX/sbin]
1457 --libexecdir=DIR program executables [EPREFIX/libexec]
1458 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1459 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1460 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1461 --libdir=DIR object code libraries [EPREFIX/lib]
1462 --includedir=DIR C header files [PREFIX/include]
1463 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1464 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1465 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1466 --infodir=DIR info documentation [DATAROOTDIR/info]
1467 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1468 --mandir=DIR man documentation [DATAROOTDIR/man]
1469 --docdir=DIR documentation root [DATAROOTDIR/doc/pcre]
1470 --htmldir=DIR html documentation [DOCDIR]
1471 --dvidir=DIR dvi documentation [DOCDIR]
1472 --pdfdir=DIR pdf documentation [DOCDIR]
1473 --psdir=DIR ps documentation [DOCDIR]
1479 --program-prefix=PREFIX prepend PREFIX to installed program names
1480 --program-suffix=SUFFIX append SUFFIX to installed program names
1481 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1484 --build=BUILD configure
for building on BUILD
[guessed
]
1485 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1489 if test -n "$ac_init_help"; then
1490 case $ac_init_help in
1491 short | recursive
) echo "Configuration of PCRE 8.44:";;
1496 --disable-option-checking ignore unrecognized
--enable/--with options
1497 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1498 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1499 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1500 --disable-silent-rules verbose build output
(undo
: "make V=0")
1501 --enable-dependency-tracking
1502 do not reject slow dependency extractors
1503 --disable-dependency-tracking
1504 speeds up one-time build
1505 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1506 --enable-static[=PKGS
] build static libraries
[default
=yes]
1507 --enable-fast-install[=PKGS
]
1508 optimize
for fast installation
[default
=yes]
1509 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1510 --disable-pcre8 disable
8 bit character support
1511 --enable-pcre16 enable 16 bit character support
1512 --enable-pcre32 enable 32 bit character support
1513 --disable-cpp disable C
++ support
1514 --enable-jit enable Just-In-Time compiling support
1515 --disable-pcregrep-jit disable JIT support
in pcregrep
1516 --enable-rebuild-chartables
1517 rebuild character tables
in current locale
1518 --enable-utf8 another name
for --enable-utf. Kept only
for
1519 compatibility reasons
1520 --enable-utf enable UTF-
8/16/32 support
(incompatible with
1522 --enable-unicode-properties
1523 enable Unicode properties support
(implies
1525 --enable-newline-is-cr use CR as newline character
1526 --enable-newline-is-lf use LF as newline character
(default
)
1527 --enable-newline-is-crlf
1528 use CRLF as newline sequence
1529 --enable-newline-is-anycrlf
1530 use CR
, LF
, or CRLF as newline sequence
1531 --enable-newline-is-any use any valid Unicode newline sequence
1532 --enable-bsr-anycrlf \R matches only CR
, LF
, CRLF by default
1533 --enable-ebcdic assume EBCDIC coding rather than ASCII
; incompatible
1534 with
--enable-utf; use only
in (uncommon
) EBCDIC
1535 environments
; it implies
--enable-rebuild-chartables
1536 --enable-ebcdic-nl25 set EBCDIC code
for NL to
0x25 instead of
0x15; it
1537 implies
--enable-ebcdic
1538 --disable-stack-for-recursion
1539 don
't use stack recursion when matching
1540 --enable-pcregrep-libz link pcregrep with libz to handle .gz files
1541 --enable-pcregrep-libbz2
1542 link pcregrep with libbz2 to handle .bz2 files
1543 --enable-pcretest-libedit
1544 link pcretest with libedit
1545 --enable-pcretest-libreadline
1546 link pcretest with libreadline
1547 --enable-valgrind valgrind support
1548 --enable-coverage enable code coverage reports using gcov
1551 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1552 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1553 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1555 --with-aix-soname=aix|svr4|both
1556 shared library versioning (aka "SONAME") variant to
1557 provide on AIX, [default=aix].
1558 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1559 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1560 compiler's sysroot
if not specified
).
1561 --with-pcregrep-bufsize=N
1562 pcregrep buffer size
(default
=20480, minimum
=8192)
1563 --with-posix-malloc-threshold=NBYTES
1564 threshold
for POSIX malloc usage
(default
=10)
1565 --with-link-size=N internal link size
(2, 3, or
4 allowed
; default
=2)
1566 --with-parens-nest-limit=N
1567 nested parentheses limit
(default
=250)
1568 --with-match-limit=N default limit on internal looping
(default
=10000000)
1569 --with-match-limit-recursion=N
1570 default limit on internal recursion
1571 (default
=MATCH_LIMIT
)
1573 Some influential environment variables
:
1574 CC C compiler
command
1575 CFLAGS C compiler flags
1576 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1577 nonstandard directory
<lib dir
>
1578 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1579 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1580 you have headers
in a nonstandard directory
<include dir
>
1581 CXX C
++ compiler
command
1582 CXXFLAGS C
++ compiler flags
1585 User-defined run-time library search path.
1586 CXXCPP C
++ preprocessor
1587 PKG_CONFIG path to pkg-config utility
1589 directories to add to pkg-config
's search path
1591 path overriding pkg-config's built-in search path
1593 C compiler flags
for VALGRIND
, overriding pkg-config
1595 linker flags
for VALGRIND
, overriding pkg-config
1596 LCOV the ltp lcov program
1597 GENHTML the ltp genhtml program
1599 Use these variables to override the choices made by
`configure' or to help
1600 it to find libraries and programs with nonstandard names/locations.
1602 Report bugs to the package provider.
1607 if test "$ac_init_help" = "recursive"; then
1608 # If there are subdirs, report their specific --help.
1609 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1610 test -d "$ac_dir" ||
1611 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1619 # A ".." for each directory in $ac_dir_suffix.
1620 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1621 case $ac_top_builddir_sub in
1622 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1623 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1626 ac_abs_top_builddir=$ac_pwd
1627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1628 # for backward compatibility:
1629 ac_top_builddir=$ac_top_build_prefix
1632 .) # We are building in place.
1634 ac_top_srcdir=$ac_top_builddir_sub
1635 ac_abs_top_srcdir=$ac_pwd ;;
1636 [\\/]* | ?:[\\/]* ) # Absolute name.
1637 ac_srcdir=$srcdir$ac_dir_suffix;
1638 ac_top_srcdir=$srcdir
1639 ac_abs_top_srcdir=$srcdir ;;
1641 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1642 ac_top_srcdir=$ac_top_build_prefix$srcdir
1643 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1647 cd "$ac_dir" || { ac_status=$?; continue; }
1648 # Check for guested configure.
1649 if test -f "$ac_srcdir/configure.gnu"; then
1651 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1652 elif test -f "$ac_srcdir/configure"; then
1654 $SHELL "$ac_srcdir/configure" --help=recursive
1656 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1658 cd "$ac_pwd" || { ac_status=$?; break; }
1662 test -n "$ac_init_help" && exit $ac_status
1663 if $ac_init_version; then
1666 generated by GNU Autoconf 2.69
1668 Copyright (C) 2012 Free Software Foundation, Inc.
1669 This configure script is free software; the Free Software Foundation
1670 gives unlimited permission to copy, distribute and modify it.
1675 ## ------------------------ ##
1676 ## Autoconf initialization. ##
1677 ## ------------------------ ##
1679 # ac_fn_c_try_compile LINENO
1680 # --------------------------
1681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1682 ac_fn_c_try_compile ()
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 rm -f conftest.$ac_objext
1686 if { { ac_try="$ac_compile"
1688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1689 *) ac_try_echo
=$ac_try;;
1691 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_compile") 2>conftest.err
1695 if test -s conftest.err
; then
1696 grep -v '^ *+' conftest.err
>conftest.er1
1697 cat conftest.er1
>&5
1698 mv -f conftest.er1 conftest.err
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && {
1702 test -z "$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1704 } && test -s conftest.
$ac_objext; then :
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.
$ac_ext >&5
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status
$ac_retval
1715 } # ac_fn_c_try_compile
1717 # ac_fn_cxx_try_compile LINENO
1718 # ----------------------------
1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_cxx_try_compile
()
1722 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1723 rm -f conftest.
$ac_objext
1724 if { { ac_try
="$ac_compile"
1726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_compile") 2>conftest.err
1733 if test -s conftest.err; then
1734 grep -v '^ *+' conftest.err >conftest.er1
1735 cat conftest.er1 >&5
1736 mv -f conftest.er1 conftest.err
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && {
1740 test -z "$ac_cxx_werror_flag" ||
1741 test ! -s conftest.err
1742 } && test -s conftest.$ac_objext; then :
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1753 } # ac_fn_cxx_try_compile
1755 # ac_fn_c_try_cpp LINENO
1756 # ----------------------
1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_cpp conftest.$ac_ext"
1763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1764 *) ac_try_echo
=$ac_try;;
1766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1770 if test -s conftest.err
; then
1771 grep -v '^ *+' conftest.err
>conftest.er1
1772 cat conftest.er1
>&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } > conftest.i
&& {
1777 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.
$ac_ext >&5
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 as_fn_set_status
$ac_retval
1792 # ac_fn_c_try_run LINENO
1793 # ----------------------
1794 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1795 # that executables *can* be run.
1798 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1799 if { { ac_try
="$ac_link"
1801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1802 *) ac_try_echo=$ac_try;;
1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_link") 2>&5
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1810 { { case "(($ac_try" in
1811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1812 *) ac_try_echo
=$ac_try;;
1814 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_try") 2>&5
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; }; }; then :
1822 $as_echo "$as_me: program exited with status $ac_status" >&5
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.
$ac_ext >&5
1826 ac_retval
=$ac_status
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 as_fn_set_status
$ac_retval
1834 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1835 # -------------------------------------------------------
1836 # Tests whether HEADER exists and can be compiled using the include files in
1837 # INCLUDES, setting the cache variable VAR accordingly.
1838 ac_fn_c_check_header_compile
()
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 $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if eval \
${$3+:} false
; then :
1844 $as_echo_n "(cached) " >&6
1846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1851 if ac_fn_c_try_compile
"$LINENO"; then :
1856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863 } # ac_fn_c_check_header_compile
1865 # ac_fn_c_find_intX_t LINENO BITS VAR
1866 # -----------------------------------
1867 # Finds a signed integer type with width BITS, setting cache variable VAR
1869 ac_fn_c_find_intX_t
()
1871 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1873 $as_echo_n "checking for int$2_t... " >&6; }
1874 if eval \
${$3+:} false
; then :
1875 $as_echo_n "(cached) " >&6
1878 # Order is important - never check a type that is potentially smaller
1879 # than half of the expected target width.
1880 for ac_type
in int
$2_t 'int' 'long int' \
1881 'long long int' 'short int' 'signed char'; do
1882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 $ac_includes_default
1885 enum { N = $2 / 2 - 1 };
1889 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1891 return test_array [0];
1897 if ac_fn_c_try_compile
"$LINENO"; then :
1898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1900 $ac_includes_default
1901 enum { N = $2 / 2 - 1 };
1905 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1906 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1908 return test_array [0];
1914 if ac_fn_c_try_compile
"$LINENO"; then :
1921 eval "$3=\$ac_type" ;;
1924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1927 if eval test \"x\$
"$3"\" = x
"no"; then :
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 } # ac_fn_c_find_intX_t
1941 # ac_fn_c_try_link LINENO
1942 # -----------------------
1943 # Try to link conftest.$ac_ext, and return whether this succeeded.
1946 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1947 rm -f conftest.
$ac_objext conftest
$ac_exeext
1948 if { { ac_try
="$ac_link"
1950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1951 *) ac_try_echo=$ac_try;;
1953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1954 $as_echo "$ac_try_echo"; } >&5
1955 (eval "$ac_link") 2>conftest.err
1957 if test -s conftest.err; then
1958 grep -v '^ *+' conftest.err >conftest.er1
1959 cat conftest.er1 >&5
1960 mv -f conftest.er1 conftest.err
1962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1963 test $ac_status = 0; } && {
1964 test -z "$ac_c_werror_flag" ||
1965 test ! -s conftest.err
1966 } && test -s conftest$ac_exeext && {
1967 test "$cross_compiling" = yes ||
1968 test -x conftest$ac_exeext
1972 $as_echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1977 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1978 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1979 # interfere with the next link command; also delete a directory that is
1980 # left behind by Apple's compiler. We do this before executing the actions.
1981 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983 as_fn_set_status $ac_retval
1985 } # ac_fn_c_try_link
1987 # ac_fn_c_check_func LINENO FUNC VAR
1988 # ----------------------------------
1989 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1990 ac_fn_c_check_func ()
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1994 $as_echo_n "checking for $2... " >&6; }
1995 if eval \${$3+:} false; then :
1996 $as_echo_n "(cached) " >&6
1998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1999 /* end confdefs.h. */
2000 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2002 #define $2 innocuous_$2
2004 /* System header to define __stub macros and hopefully few prototypes,
2005 which can conflict with char $2 (); below.
2006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2007 <limits.h> exists even on freestanding compilers. */
2010 # include <limits.h>
2012 # include <assert.h>
2017 /* Override any GCC internal prototype to avoid an error.
2018 Use char because int might match the return type of a GCC
2019 builtin and then its argument prototype would still apply. */
2024 /* The GNU C library defines this for functions which it implements
2025 to always fail with ENOSYS. Some functions are actually named
2026 something starting with __ and the normal name is an alias. */
2027 #if defined __stub_$2 || defined __stub___$2
2039 if ac_fn_c_try_link "$LINENO"; then :
2044 rm -f core conftest.err conftest.$ac_objext \
2045 conftest$ac_exeext conftest.$ac_ext
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049 $as_echo "$ac_res" >&6; }
2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052 } # ac_fn_c_check_func
2054 # ac_fn_cxx_try_cpp LINENO
2055 # ------------------------
2056 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2057 ac_fn_cxx_try_cpp ()
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 if { { ac_try="$ac_cpp conftest.$ac_ext"
2062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2063 *) ac_try_echo
=$ac_try;;
2065 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 $as_echo "$ac_try_echo"; } >&5
2067 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2069 if test -s conftest.err
; then
2070 grep -v '^ *+' conftest.err
>conftest.er1
2071 cat conftest.er1
>&5
2072 mv -f conftest.er1 conftest.err
2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; } > conftest.i
&& {
2076 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2077 test ! -s conftest.err
2081 $as_echo "$as_me: failed program was:" >&5
2082 sed 's/^/| /' conftest.
$ac_ext >&5
2086 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2087 as_fn_set_status
$ac_retval
2089 } # ac_fn_cxx_try_cpp
2091 # ac_fn_cxx_try_link LINENO
2092 # -------------------------
2093 # Try to link conftest.$ac_ext, and return whether this succeeded.
2094 ac_fn_cxx_try_link
()
2096 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2097 rm -f conftest.
$ac_objext conftest
$ac_exeext
2098 if { { ac_try
="$ac_link"
2100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2101 *) ac_try_echo=$ac_try;;
2103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2104 $as_echo "$ac_try_echo"; } >&5
2105 (eval "$ac_link") 2>conftest.err
2107 if test -s conftest.err; then
2108 grep -v '^ *+' conftest.err >conftest.er1
2109 cat conftest.er1 >&5
2110 mv -f conftest.er1 conftest.err
2112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2113 test $ac_status = 0; } && {
2114 test -z "$ac_cxx_werror_flag" ||
2115 test ! -s conftest.err
2116 } && test -s conftest$ac_exeext && {
2117 test "$cross_compiling" = yes ||
2118 test -x conftest$ac_exeext
2122 $as_echo "$as_me: failed program was:" >&5
2123 sed 's/^/| /' conftest.$ac_ext >&5
2127 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2128 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2129 # interfere with the next link command; also delete a directory that is
2130 # left behind by Apple's compiler. We do this before executing the actions.
2131 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 as_fn_set_status $ac_retval
2135 } # ac_fn_cxx_try_link
2137 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2138 # -------------------------------------------------------
2139 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2140 # the include files in INCLUDES and setting the cache variable VAR
2142 ac_fn_c_check_header_mongrel ()
2144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2145 if eval \${$3+:} false; then :
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2147 $as_echo_n "checking for $2... " >&6; }
2148 if eval \${$3+:} false; then :
2149 $as_echo_n "(cached) " >&6
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2153 $as_echo "$ac_res" >&6; }
2155 # Is the header compilable?
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2157 $as_echo_n "checking $2 usability... " >&6; }
2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2159 /* end confdefs.h. */
2163 if ac_fn_c_try_compile "$LINENO"; then :
2164 ac_header_compiler=yes
2166 ac_header_compiler=no
2168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2170 $as_echo "$ac_header_compiler" >&6; }
2172 # Is the header present?
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2174 $as_echo_n "checking $2 presence... " >&6; }
2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h. */
2179 if ac_fn_c_try_cpp "$LINENO"; then :
2180 ac_header_preproc=yes
2182 ac_header_preproc=no
2184 rm -f conftest.err conftest.i conftest.$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2186 $as_echo "$ac_header_preproc" >&6; }
2188 # So? What about this header?
2189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2192 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2194 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2198 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2200 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2202 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2204 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2206 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2210 $as_echo_n "checking for $2... " >&6; }
2211 if eval \${$3+:} false; then :
2212 $as_echo_n "(cached) " >&6
2214 eval "$3=\$ac_header_compiler"
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2218 $as_echo "$ac_res" >&6; }
2220 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2222 } # ac_fn_c_check_header_mongrel
2224 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2225 # ---------------------------------------------------------
2226 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2227 # the include files in INCLUDES and setting the cache variable VAR
2229 ac_fn_cxx_check_header_mongrel ()
2231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2232 if eval \${$3+:} false; then :
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2234 $as_echo_n "checking for $2... " >&6; }
2235 if eval \${$3+:} false; then :
2236 $as_echo_n "(cached) " >&6
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2240 $as_echo "$ac_res" >&6; }
2242 # Is the header compilable?
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2244 $as_echo_n "checking $2 usability... " >&6; }
2245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2246 /* end confdefs.h. */
2250 if ac_fn_cxx_try_compile "$LINENO"; then :
2251 ac_header_compiler=yes
2253 ac_header_compiler=no
2255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2257 $as_echo "$ac_header_compiler" >&6; }
2259 # Is the header present?
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2261 $as_echo_n "checking $2 presence... " >&6; }
2262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2263 /* end confdefs.h. */
2266 if ac_fn_cxx_try_cpp "$LINENO"; then :
2267 ac_header_preproc=yes
2269 ac_header_preproc=no
2271 rm -f conftest.err conftest.i conftest.$ac_ext
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2273 $as_echo "$ac_header_preproc" >&6; }
2275 # So? What about this header?
2276 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2279 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2281 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2285 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2287 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2289 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2291 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2293 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2297 $as_echo_n "checking for $2... " >&6; }
2298 if eval \${$3+:} false; then :
2299 $as_echo_n "(cached) " >&6
2301 eval "$3=\$ac_header_compiler"
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2305 $as_echo "$ac_res" >&6; }
2307 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2309 } # ac_fn_cxx_check_header_mongrel
2311 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2312 # ---------------------------------------------
2313 # Tests whether TYPE exists after having included INCLUDES, setting cache
2314 # variable VAR accordingly.
2315 ac_fn_cxx_check_type ()
2317 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2319 $as_echo_n "checking for $2... " >&6; }
2320 if eval \${$3+:} false; then :
2321 $as_echo_n "(cached) " >&6
2324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2325 /* end confdefs.h. */
2336 if ac_fn_cxx_try_compile "$LINENO"; then :
2337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 /* end confdefs.h. */
2349 if ac_fn_cxx_try_compile "$LINENO"; then :
2354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2360 $as_echo "$ac_res" >&6; }
2361 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2363 } # ac_fn_cxx_check_type
2365 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2366 # -------------------------------------------
2367 # Tests whether TYPE exists after having included INCLUDES, setting cache
2368 # variable VAR accordingly.
2369 ac_fn_c_check_type ()
2371 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2373 $as_echo_n "checking for $2... " >&6; }
2374 if eval \${$3+:} false; then :
2375 $as_echo_n "(cached) " >&6
2378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379 /* end confdefs.h. */
2390 if ac_fn_c_try_compile "$LINENO"; then :
2391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2392 /* end confdefs.h. */
2403 if ac_fn_c_try_compile "$LINENO"; then :
2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2414 $as_echo "$ac_res" >&6; }
2415 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2417 } # ac_fn_c_check_type
2418 cat >config.log <<_ACEOF
2419 This file contains any messages produced by compilers while
2420 running configure, to aid debugging if configure makes a mistake.
2422 It was created by PCRE $as_me 8.44, which was
2423 generated by GNU Autoconf 2.69. Invocation command line was
2435 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2436 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2437 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2438 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2439 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2441 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2442 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2444 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2445 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2446 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2447 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2448 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2449 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2450 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458 test -z "$as_dir" && as_dir=.
2459 $as_echo "PATH: $as_dir"
2475 # Keep a trace of the command line.
2476 # Strip out --no-create and --no-recursion so they do not pile up.
2477 # Strip out --silent because we don't want to record it for future runs.
2478 # Also quote any args containing shell meta-characters.
2479 # Make two passes to allow for proper duplicate-argument suppression.
2483 ac_must_keep_next=false
2489 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2490 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2491 | -silent | --silent | --silen | --sile | --sil)
2494 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2497 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2499 as_fn_append ac_configure_args1 " '$ac_arg'"
2500 if test $ac_must_keep_next = true; then
2501 ac_must_keep_next=false # Got value, back to normal.
2504 *=* | --config-cache | -C | -disable-* | --disable-* \
2505 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2506 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2507 | -with-* | --with-* | -without-* | --without-* | --x)
2508 case "$ac_configure_args0 " in
2509 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2512 -* ) ac_must_keep_next=true ;;
2515 as_fn_append ac_configure_args " '$ac_arg'"
2520 { ac_configure_args0=; unset ac_configure_args0;}
2521 { ac_configure_args1=; unset ac_configure_args1;}
2523 # When interrupted or exit'd, cleanup temporary files, and complete
2524 # config.log. We remove comments because anyway the quotes in there
2525 # would cause problems or look ugly.
2526 # WARNING: Use '\'' to represent an apostrophe within the trap.
2527 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2528 trap 'exit_status=$?
2529 # Save into config.log some information that might help in debugging.
2533 $as_echo "## ---------------- ##
2534 ## Cache variables. ##
2535 ## ---------------- ##"
2537 # The following way of writing the cache mishandles newlines in values,
2539 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2540 eval ac_val=\$$ac_var
2544 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2545 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2548 _ | IFS | as_nl) ;; #(
2549 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2550 *) { eval $ac_var=; unset $ac_var;} ;;
2555 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2556 *${as_nl}ac_space=\ *)
2558 "s/'\''/'\''\\\\'\'''\''/g;
2559 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2562 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2569 $as_echo "## ----------------- ##
2570 ## Output variables. ##
2571 ## ----------------- ##"
2573 for ac_var in $ac_subst_vars
2575 eval ac_val=\$$ac_var
2577 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2579 $as_echo "$ac_var='\''$ac_val'\''"
2583 if test -n "$ac_subst_files"; then
2584 $as_echo "## ------------------- ##
2585 ## File substitutions. ##
2586 ## ------------------- ##"
2588 for ac_var in $ac_subst_files
2590 eval ac_val=\$$ac_var
2592 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2594 $as_echo "$ac_var='\''$ac_val'\''"
2599 if test -s confdefs.h; then
2600 $as_echo "## ----------- ##
2607 test "$ac_signal" != 0 &&
2608 $as_echo "$as_me: caught signal $ac_signal"
2609 $as_echo "$as_me: exit $exit_status"
2611 rm -f core *.core core.conftest.* &&
2612 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2615 for ac_signal in 1 2 13 15; do
2616 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2620 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2621 rm -f -r conftest* confdefs.h
2623 $as_echo "/* confdefs.h */" > confdefs.h
2625 # Predefined preprocessor variables.
2627 cat >>confdefs.h <<_ACEOF
2628 #define PACKAGE_NAME "$PACKAGE_NAME"
2631 cat >>confdefs.h <<_ACEOF
2632 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2635 cat >>confdefs.h <<_ACEOF
2636 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2639 cat >>confdefs.h <<_ACEOF
2640 #define PACKAGE_STRING "$PACKAGE_STRING"
2643 cat >>confdefs.h <<_ACEOF
2644 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2647 cat >>confdefs.h <<_ACEOF
2648 #define PACKAGE_URL "$PACKAGE_URL"
2652 # Let the site file select an alternate cache file if it wants to.
2653 # Prefer an explicitly selected file to automatically selected ones.
2656 if test -n "$CONFIG_SITE"; then
2657 # We do not want a PATH search for config.site.
2658 case $CONFIG_SITE in #((
2659 -*) ac_site_file1=./$CONFIG_SITE;;
2660 */*) ac_site_file1=$CONFIG_SITE;;
2661 *) ac_site_file1=./$CONFIG_SITE;;
2663 elif test "x$prefix" != xNONE; then
2664 ac_site_file1=$prefix/share/config.site
2665 ac_site_file2=$prefix/etc/config.site
2667 ac_site_file1=$ac_default_prefix/share/config.site
2668 ac_site_file2=$ac_default_prefix/etc/config.site
2670 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2672 test "x$ac_site_file" = xNONE && continue
2673 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2675 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2676 sed 's/^/| /' "$ac_site_file" >&5
2678 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2680 as_fn_error $? "failed to load site
script $ac_site_file
2681 See \
`config.log' for more details" "$LINENO" 5; }
2685 if test -r "$cache_file"; then
2686 # Some versions of bash will fail to source /dev/null (special files
2687 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2688 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2690 $as_echo "$as_me: loading cache $cache_file" >&6;}
2692 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2693 *) . "./$cache_file";;
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2698 $as_echo "$as_me: creating cache $cache_file" >&6;}
2702 # Check that the precious variables saved in the cache have kept the same
2704 ac_cache_corrupted=false
2705 for ac_var in $ac_precious_vars; do
2706 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2707 eval ac_new_set=\$ac_env_${ac_var}_set
2708 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2709 eval ac_new_val=\$ac_env_${ac_var}_value
2710 case $ac_old_set,$ac_new_set in
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2713 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2714 ac_cache_corrupted=: ;;
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2717 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2718 ac_cache_corrupted=: ;;
2721 if test "x$ac_old_val" != "x$ac_new_val"; then
2722 # differences in whitespace do not lead to failure.
2723 ac_old_val_w=`echo x
$ac_old_val`
2724 ac_new_val_w=`echo x
$ac_new_val`
2725 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2727 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2728 ac_cache_corrupted=:
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2731 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2732 eval $ac_var=\$ac_old_val
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2735 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2737 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2740 # Pass precious variables to config.status.
2741 if test "$ac_new_set" = set; then
2743 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2744 *) ac_arg=$ac_var=$ac_new_val ;;
2746 case " $ac_configure_args " in
2747 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2748 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2752 if $ac_cache_corrupted; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2756 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2757 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2759 ## -------------------- ##
2760 ## Main body of script. ##
2761 ## -------------------- ##
2764 ac_cpp='$CPP $CPPFLAGS'
2765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2771 am__api_version='1.16'
2774 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2775 if test -f "$ac_dir/install-sh"; then
2777 ac_install_sh="$ac_aux_dir/install-sh -c"
2779 elif test -f "$ac_dir/install.sh"; then
2781 ac_install_sh="$ac_aux_dir/install.sh -c"
2783 elif test -f "$ac_dir/shtool"; then
2785 ac_install_sh="$ac_aux_dir/shtool install -c"
2789 if test -z "$ac_aux_dir"; then
2790 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2793 # These three variables are undocumented and unsupported,
2794 # and are intended to be withdrawn in a future Autoconf release.
2795 # They can cause serious problems if a builder's source tree is in a directory
2796 # whose full name contains unusual characters.
2797 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2798 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2799 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2802 # Find a good install program. We prefer a C program (faster),
2803 # so one script is as good as another. But avoid the broken or
2804 # incompatible versions:
2805 # SysV /etc/install, /usr/sbin/install
2806 # SunOS /usr/etc/install
2807 # IRIX /sbin/install
2809 # AmigaOS /C/install, which installs bootblocks on floppy discs
2810 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2811 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2812 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2813 # OS/2's system install, which has a completely different semantic
2814 # ./install, which can be erroneously created by make from ./install.sh.
2815 # Reject install programs that cannot install multiple files.
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2817 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2818 if test -z "$INSTALL"; then
2819 if ${ac_cv_path_install+:} false; then :
2820 $as_echo_n "(cached) " >&6
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826 test -z "$as_dir" && as_dir=.
2827 # Account for people who put trailing slashes in PATH elements.
2828 case $as_dir/ in #((
2829 ./ | .// | /[cC]/* | \
2830 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2831 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2834 # OSF1 and SCO ODT 3.0 have their own names for install.
2835 # Don't use installbsd from OSF since it installs stuff as root
2837 for ac_prog in ginstall scoinst install; do
2838 for ac_exec_ext in '' $ac_executable_extensions; do
2839 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2840 if test $ac_prog = install &&
2841 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2842 # AIX install. It has an incompatible calling convention.
2844 elif test $ac_prog = install &&
2845 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2846 # program-specific install script used by HP pwplus--don't use.
2849 rm -rf conftest.one conftest.two conftest.dir
2850 echo one > conftest.one
2851 echo two > conftest.two
2853 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2854 test -s conftest.one && test -s conftest.two &&
2855 test -s conftest.dir/conftest.one &&
2856 test -s conftest.dir/conftest.two
2858 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2871 rm -rf conftest.one conftest.two conftest.dir
2874 if test "${ac_cv_path_install+set}" = set; then
2875 INSTALL=$ac_cv_path_install
2877 # As a last resort, use the slow shell script. Don't cache a
2878 # value for INSTALL within a source directory, because that will
2879 # break other packages using the cache if that directory is
2880 # removed, or if the value is a relative name.
2881 INSTALL=$ac_install_sh
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2885 $as_echo "$INSTALL" >&6; }
2887 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2888 # It thinks the first close brace ends the variable substitution.
2889 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2891 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2893 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2896 $as_echo_n "checking whether build environment is sane... " >&6; }
2897 # Reject unsafe characters in $srcdir or the absolute working directory
2898 # name. Accept space and tab only in the latter.
2902 *[\\\"\#\$\&\'\`$am_lf]*)
2903 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2906 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2907 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2910 # Do 'set' in a subshell so we don't clobber the current shell's
2911 # arguments. Must try -L first in case configure is actually a
2912 # symlink; some systems play weird games with the mod time of symlinks
2913 # (eg FreeBSD returns the mod time of the symlink's containing
2917 for am_try
in 1 2; do
2918 echo "timestamp, slept: $am_has_slept" > conftest.
file
2919 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2920 if test "$*" = "X"; then
2922 set X
`ls -t "$srcdir/configure" conftest.file`
2924 if test "$*" != "X $srcdir/configure conftest.file" \
2925 && test "$*" != "X conftest.file $srcdir/configure"; then
2927 # If neither matched, then we have a broken ls. This can happen
2928 # if, for instance, CONFIG_SHELL is bash and it inherits a
2929 # broken ls alias from the environment. This has actually
2930 # happened. Such a system could not be considered "sane".
2931 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2932 alias in your environment" "$LINENO" 5
2934 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2941 test "$2" = conftest.
file
2947 as_fn_error $?
"newly created file is older than distributed files!
2948 Check your system clock" "$LINENO" 5
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2951 $as_echo "yes" >&6; }
2952 # If we didn't sleep, we still need to ensure time stamps of config.status and
2953 # generated files are strictly newer.
2955 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2962 test "$program_prefix" != NONE
&&
2963 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2964 # Use a double $ so make ignores it.
2965 test "$program_suffix" != NONE
&&
2966 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2967 # Double any \ or $.
2968 # By default was `s,x,x', remove it if useless.
2969 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2970 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2972 # Expand $ac_aux_dir to an absolute path.
2973 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2975 if test x
"${MISSING+set}" != xset
; then
2978 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2980 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2983 # Use eval to expand $SHELL
2984 if eval "$MISSING --is-lightweight"; then
2985 am_missing_run
="$MISSING "
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2989 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2992 if test x
"${install_sh+set}" != xset
; then
2995 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2997 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3001 # Installed binaries are usually stripped using 'strip' when the user
3002 # run "make install-strip". However 'strip' might not be the right
3003 # tool to use in cross-compilation environments, therefore Automake
3004 # will honor the 'STRIP' environment variable to overrule this program.
3005 if test "$cross_compiling" != no
; then
3006 if test -n "$ac_tool_prefix"; then
3007 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3008 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; }
3011 if ${ac_cv_prog_STRIP+:} false
; then :
3012 $as_echo_n "(cached) " >&6
3014 if test -n "$STRIP"; then
3015 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir
=.
3022 for ac_exec_ext
in '' $ac_executable_extensions; do
3023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3024 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 STRIP
=$ac_cv_prog_STRIP
3035 if test -n "$STRIP"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3037 $as_echo "$STRIP" >&6; }
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040 $as_echo "no" >&6; }
3045 if test -z "$ac_cv_prog_STRIP"; then
3047 # Extract the first word of "strip", so it can be a program name with args.
3048 set dummy strip
; ac_word
=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3052 $as_echo_n "(cached) " >&6
3054 if test -n "$ac_ct_STRIP"; then
3055 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir
=.
3062 for ac_exec_ext
in '' $ac_executable_extensions; do
3063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3064 ac_cv_prog_ac_ct_STRIP
="strip"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3075 if test -n "$ac_ct_STRIP"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3077 $as_echo "$ac_ct_STRIP" >&6; }
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3083 if test "x$ac_ct_STRIP" = x
; then
3086 case $cross_compiling:$ac_tool_warned in
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3090 ac_tool_warned
=yes ;;
3095 STRIP
="$ac_cv_prog_STRIP"
3099 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3102 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3103 if test -z "$MKDIR_P"; then
3104 if ${ac_cv_path_mkdir+:} false
; then :
3105 $as_echo_n "(cached) " >&6
3107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3108 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3111 test -z "$as_dir" && as_dir
=.
3112 for ac_prog
in mkdir gmkdir
; do
3113 for ac_exec_ext
in '' $ac_executable_extensions; do
3114 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3115 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3116 'mkdir (GNU coreutils) '* | \
3117 'mkdir (coreutils) '* | \
3118 'mkdir (fileutils) '4.1*)
3119 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3129 test -d .
/--version && rmdir .
/--version
3130 if test "${ac_cv_path_mkdir+set}" = set; then
3131 MKDIR_P
="$ac_cv_path_mkdir -p"
3133 # As a last resort, use the slow shell script. Don't cache a
3134 # value for MKDIR_P within a source directory, because that will
3135 # break other packages using the cache if that directory is
3136 # removed, or if the value is a relative name.
3137 MKDIR_P
="$ac_install_sh -d"
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3141 $as_echo "$MKDIR_P" >&6; }
3143 for ac_prog
in gawk mawk nawk
awk
3145 # Extract the first word of "$ac_prog", so it can be a program name with args.
3146 set dummy
$ac_prog; ac_word
=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if ${ac_cv_prog_AWK+:} false
; then :
3150 $as_echo_n "(cached) " >&6
3152 if test -n "$AWK"; then
3153 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir
=.
3160 for ac_exec_ext
in '' $ac_executable_extensions; do
3161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3162 ac_cv_prog_AWK
="$ac_prog"
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 if test -n "$AWK"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3175 $as_echo "$AWK" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3182 test -n "$AWK" && break
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3186 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3188 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3189 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3190 $as_echo_n "(cached) " >&6
3192 cat >conftest.
make <<\_ACEOF
3195 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3197 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3198 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3200 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3202 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3206 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3208 $as_echo "yes" >&6; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3212 $as_echo "no" >&6; }
3213 SET_MAKE
="MAKE=${MAKE-make}"
3216 rm -rf .tst
2>/dev
/null
3217 mkdir .tst
2>/dev
/null
3218 if test -d .tst
; then
3223 rmdir .tst
2>/dev
/null
3225 # Check whether --enable-silent-rules was given.
3226 if test "${enable_silent_rules+set}" = set; then :
3227 enableval
=$enable_silent_rules;
3230 case $enable_silent_rules in # (((
3231 yes) AM_DEFAULT_VERBOSITY
=0;;
3232 no
) AM_DEFAULT_VERBOSITY
=1;;
3233 *) AM_DEFAULT_VERBOSITY
=1;;
3235 am_make
=${MAKE-make}
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3237 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3238 if ${am_cv_make_support_nested_variables+:} false
; then :
3239 $as_echo_n "(cached) " >&6
3241 if $as_echo 'TRUE=$(BAR$(V))
3247 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3248 am_cv_make_support_nested_variables
=yes
3250 am_cv_make_support_nested_variables
=no
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3254 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3255 if test $am_cv_make_support_nested_variables = yes; then
3257 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3259 AM_V
=$AM_DEFAULT_VERBOSITY
3260 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3264 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3265 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3266 # is not polluted with repeated "-I."
3267 am__isrc
=' -I$(srcdir)'
3268 # test to see if srcdir already configured
3269 if test -f $srcdir/config.status
; then
3270 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3274 # test whether we have cygpath
3275 if test -z "$CYGPATH_W"; then
3276 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3277 CYGPATH_W
='cygpath -w'
3284 # Define the identity of the package.
3289 cat >>confdefs.h
<<_ACEOF
3290 #define PACKAGE "$PACKAGE"
3294 cat >>confdefs.h
<<_ACEOF
3295 #define VERSION "$VERSION"
3298 # Some tools Automake needs.
3300 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3303 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3306 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3309 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3312 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3314 # For better backward compatibility. To be removed once Automake 1.9.x
3315 # dies out for good. For more background, see:
3316 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3317 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3318 mkdir_p
='$(MKDIR_P)'
3320 # We need awk for the "check" target (and possibly the TAP driver). The
3321 # system "awk" is bad on some platforms.
3322 # Always define AMTAR for backward compatibility. Yes, it's still used
3323 # in the wild :-( We should find a proper way to deprecate it ...
3327 # We'll loop over all known methods to create a tar archive until one works.
3328 _am_tools
='gnutar pax cpio none'
3330 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3337 # POSIX will say in a future version that running "rm -f" with no argument
3338 # is OK; and we want to be able to make that assumption in our Makefile
3339 # recipes. So use an aggressive probe to check that the usage we want is
3340 # actually supported "in the wild" to an acceptable degree.
3341 # See automake bug#10828.
3342 # To make any issue more visible, cause the running configure to be aborted
3343 # by default if the 'rm' program in use doesn't match our expectations; the
3344 # user can still override this though.
3345 if rm -f && rm -fr && rm -rf; then : OK
; else
3349 Your 'rm' program seems unable to run without file operands specified
3350 on the command line, even when the '-f' option is present. This is contrary
3351 to the behaviour of most rm programs out there, and not conforming with
3352 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3354 Please tell bug-automake@gnu.org about your system, including the value
3355 of your $PATH and any error possibly output before this message. This
3356 can help us improve future automake versions.
3359 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3360 echo 'Configuration will proceed anyway, since you have set the' >&2
3361 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3365 Aborting the configuration process, to ensure you take notice of the issue.
3367 You can download and install GNU coreutils to get an 'rm' implementation
3368 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3370 If you want to complete the configuration process using your problematic
3371 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3372 to "yes", and re-run configure.
3375 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3379 # Check whether --enable-silent-rules was given.
3380 if test "${enable_silent_rules+set}" = set; then :
3381 enableval
=$enable_silent_rules;
3384 case $enable_silent_rules in # (((
3385 yes) AM_DEFAULT_VERBOSITY
=0;;
3386 no
) AM_DEFAULT_VERBOSITY
=1;;
3387 *) AM_DEFAULT_VERBOSITY
=0;;
3389 am_make
=${MAKE-make}
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3391 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3392 if ${am_cv_make_support_nested_variables+:} false
; then :
3393 $as_echo_n "(cached) " >&6
3395 if $as_echo 'TRUE=$(BAR$(V))
3401 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3402 am_cv_make_support_nested_variables
=yes
3404 am_cv_make_support_nested_variables
=no
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3408 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3409 if test $am_cv_make_support_nested_variables = yes; then
3411 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3413 AM_V
=$AM_DEFAULT_VERBOSITY
3414 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3418 ac_config_headers="$ac_config_headers config.h"
3421 # This is a new thing required to stop a warning from automake 1.12
3422 DEPDIR="${am__leading_dot}deps"
3424 ac_config_commands="$ac_config_commands depfiles"
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3427 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3428 cat > confinc.mk << 'END
'
3430 @echo this is the am__doit target >confinc.out
3435 # BSD make does it like this.
3436 echo '.include
"confinc.mk" # ignored' > confmf.BSD
3437 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3438 echo 'include confinc.mk # ignored' > confmf.GNU
3440 for s
in GNU BSD
; do
3441 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3442 (${MAKE-make} -f confmf.
$s && cat confinc.out
) >&5 2>&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }
3446 case $?
:`cat confinc.out 2>/dev/null` in #(
3447 '0:this is the am__doit target') :
3450 am__include
='.include' am__quote
='"' ;; #(
3452 am__include
='include' am__quote
='' ;;
3457 if test "$am__include" != "#"; then
3458 _am_result
="yes ($s style)"
3462 rm -f confinc.
* confmf.
*
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3464 $as_echo "${_am_result}" >&6; }
3466 # Check whether --enable-dependency-tracking was given.
3467 if test "${enable_dependency_tracking+set}" = set; then :
3468 enableval
=$enable_dependency_tracking;
3471 if test "x$enable_dependency_tracking" != xno
; then
3472 am_depcomp
="$ac_aux_dir/depcomp"
3476 if test "x$enable_dependency_tracking" != xno; then
3486 ac_cpp
='$CPP $CPPFLAGS'
3487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3490 if test -n "$ac_tool_prefix"; then
3491 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3492 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3494 $as_echo_n "checking for $ac_word... " >&6; }
3495 if ${ac_cv_prog_CC+:} false
; then :
3496 $as_echo_n "(cached) " >&6
3498 if test -n "$CC"; then
3499 ac_cv_prog_CC
="$CC" # Let the user override the test.
3501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3505 test -z "$as_dir" && as_dir
=.
3506 for ac_exec_ext
in '' $ac_executable_extensions; do
3507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3508 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3519 if test -n "$CC"; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3521 $as_echo "$CC" >&6; }
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 $as_echo "no" >&6; }
3529 if test -z "$ac_cv_prog_CC"; then
3531 # Extract the first word of "gcc", so it can be a program name with args.
3532 set dummy gcc
; ac_word
=$2
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3534 $as_echo_n "checking for $ac_word... " >&6; }
3535 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3536 $as_echo_n "(cached) " >&6
3538 if test -n "$ac_ct_CC"; then
3539 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir
=.
3546 for ac_exec_ext
in '' $ac_executable_extensions; do
3547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3548 ac_cv_prog_ac_ct_CC
="gcc"
3549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3559 if test -n "$ac_ct_CC"; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3561 $as_echo "$ac_ct_CC" >&6; }
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3567 if test "x$ac_ct_CC" = x
; then
3570 case $cross_compiling:$ac_tool_warned in
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3574 ac_tool_warned
=yes ;;
3582 if test -z "$CC"; then
3583 if test -n "$ac_tool_prefix"; then
3584 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3585 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3587 $as_echo_n "checking for $ac_word... " >&6; }
3588 if ${ac_cv_prog_CC+:} false
; then :
3589 $as_echo_n "(cached) " >&6
3591 if test -n "$CC"; then
3592 ac_cv_prog_CC
="$CC" # Let the user override the test.
3594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3598 test -z "$as_dir" && as_dir
=.
3599 for ac_exec_ext
in '' $ac_executable_extensions; do
3600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3601 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 if test -n "$CC"; then
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3614 $as_echo "$CC" >&6; }
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617 $as_echo "no" >&6; }
3623 if test -z "$CC"; then
3624 # Extract the first word of "cc", so it can be a program name with args.
3625 set dummy cc
; ac_word
=$2
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; }
3628 if ${ac_cv_prog_CC+:} false
; then :
3629 $as_echo_n "(cached) " >&6
3631 if test -n "$CC"; then
3632 ac_cv_prog_CC
="$CC" # Let the user override the test.
3635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3639 test -z "$as_dir" && as_dir
=.
3640 for ac_exec_ext
in '' $ac_executable_extensions; do
3641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3642 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3643 ac_prog_rejected
=yes
3647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 if test $ac_prog_rejected = yes; then
3655 # We found a bogon in the path, so make sure we never use it.
3656 set dummy
$ac_cv_prog_CC
3658 if test $# != 0; then
3659 # We chose a different compiler from the bogus one.
3660 # However, it has the same basename, so the bogon will be chosen
3661 # first if we set CC to just the basename; use the full file name.
3663 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3669 if test -n "$CC"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3671 $as_echo "$CC" >&6; }
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3674 $as_echo "no" >&6; }
3679 if test -z "$CC"; then
3680 if test -n "$ac_tool_prefix"; then
3681 for ac_prog
in cl.exe
3683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3684 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if ${ac_cv_prog_CC+:} false
; then :
3688 $as_echo_n "(cached) " >&6
3690 if test -n "$CC"; then
3691 ac_cv_prog_CC
="$CC" # Let the user override the test.
3693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3697 test -z "$as_dir" && as_dir
=.
3698 for ac_exec_ext
in '' $ac_executable_extensions; do
3699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3700 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3711 if test -n "$CC"; then
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3713 $as_echo "$CC" >&6; }
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3720 test -n "$CC" && break
3723 if test -z "$CC"; then
3725 for ac_prog
in cl.exe
3727 # Extract the first word of "$ac_prog", so it can be a program name with args.
3728 set dummy
$ac_prog; ac_word
=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3732 $as_echo_n "(cached) " >&6
3734 if test -n "$ac_ct_CC"; then
3735 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3741 test -z "$as_dir" && as_dir
=.
3742 for ac_exec_ext
in '' $ac_executable_extensions; do
3743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3744 ac_cv_prog_ac_ct_CC
="$ac_prog"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3755 if test -n "$ac_ct_CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3757 $as_echo "$ac_ct_CC" >&6; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3764 test -n "$ac_ct_CC" && break
3767 if test "x$ac_ct_CC" = x
; then
3770 case $cross_compiling:$ac_tool_warned in
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3774 ac_tool_warned
=yes ;;
3783 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3785 as_fn_error $?
"no acceptable C compiler found in \$PATH
3786 See \`config.log' for more details" "$LINENO" 5; }
3788 # Provide some information about the compiler.
3789 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3792 for ac_option
in --version -v -V -qversion; do
3793 { { ac_try
="$ac_compiler $ac_option >&5"
3795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3796 *) ac_try_echo=$ac_try;;
3798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3799 $as_echo "$ac_try_echo"; } >&5
3800 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3802 if test -s conftest.err; then
3804 ... rest of stderr output deleted ...
3805 10q' conftest.err >conftest.er1
3806 cat conftest.er1 >&5
3808 rm -f conftest.er1 conftest.err
3809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3810 test $ac_status = 0; }
3813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3814 /* end confdefs.h. */
3824 ac_clean_files_save=$ac_clean_files
3825 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3826 # Try to create an executable without -o first, disregard a.out.
3827 # It will help us diagnose broken compilers, and finding out an intuition
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3830 $as_echo_n "checking whether the C compiler works... " >&6; }
3831 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3833 # The possible output files:
3834 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3837 for ac_file in $ac_files
3840 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3841 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3846 if { { ac_try="$ac_link_default"
3848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3849 *) ac_try_echo
=$ac_try;;
3851 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852 $as_echo "$ac_try_echo"; } >&5
3853 (eval "$ac_link_default") 2>&5
3855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856 test $ac_status = 0; }; then :
3857 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3858 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3859 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3860 # so that the user can short-circuit this test for compilers unknown to
3862 for ac_file
in $ac_files ''
3864 test -f "$ac_file" ||
continue
3866 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3869 # We found the default executable, but exeext='' is most
3873 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3875 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3877 # We set ac_cv_exeext here because the later test for it is not
3878 # safe: cross compilers may not add the suffix if given an `-o'
3879 # argument, so we may need to know it at that point already.
3880 # Even if this section looks crufty: it has the advantage of
3887 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3892 if test -z "$ac_file"; then :
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3894 $as_echo "no" >&6; }
3895 $as_echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.
$ac_ext >&5
3898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3900 as_fn_error
77 "C compiler cannot create executables
3901 See \`config.log' for more details" "$LINENO" 5; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3904 $as_echo "yes" >&6; }
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3907 $as_echo_n "checking for C compiler default output file name... " >&6; }
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3909 $as_echo "$ac_file" >&6; }
3910 ac_exeext
=$ac_cv_exeext
3912 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3913 ac_clean_files
=$ac_clean_files_save
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3915 $as_echo_n "checking for suffix of executables... " >&6; }
3916 if { { ac_try
="$ac_link"
3918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3919 *) ac_try_echo=$ac_try;;
3921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922 $as_echo "$ac_try_echo"; } >&5
3923 (eval "$ac_link") 2>&5
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; }; then :
3927 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3928 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3929 # work properly (i.e., refer to `conftest.exe'), while it won't with
3931 for ac_file
in conftest.exe conftest conftest.
*; do
3932 test -f "$ac_file" ||
continue
3934 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3935 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3943 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3944 See \`config.log' for more details" "$LINENO" 5; }
3946 rm -f conftest conftest
$ac_cv_exeext
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3948 $as_echo "$ac_cv_exeext" >&6; }
3950 rm -f conftest.
$ac_ext
3951 EXEEXT
=$ac_cv_exeext
3953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3959 FILE *f = fopen ("conftest.out", "w");
3960 return ferror (f) || fclose (f) != 0;
3966 ac_clean_files
="$ac_clean_files conftest.out"
3967 # Check that the compiler produces executables we can run. If not, either
3968 # the compiler is broken, or we cross compile.
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3970 $as_echo_n "checking whether we are cross compiling... " >&6; }
3971 if test "$cross_compiling" != yes; then
3972 { { ac_try
="$ac_link"
3974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3975 *) ac_try_echo=$ac_try;;
3977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3978 $as_echo "$ac_try_echo"; } >&5
3979 (eval "$ac_link") 2>&5
3981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3982 test $ac_status = 0; }
3983 if { ac_try='./conftest$ac_cv_exeext'
3984 { { case "(($ac_try" in
3985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3986 *) ac_try_echo
=$ac_try;;
3988 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989 $as_echo "$ac_try_echo"; } >&5
3990 (eval "$ac_try") 2>&5
3992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993 test $ac_status = 0; }; }; then
3996 if test "$cross_compiling" = maybe
; then
3999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 as_fn_error $?
"cannot run C compiled programs.
4002 If you meant to cross compile, use \`--host'.
4003 See \`config.log' for more details" "$LINENO" 5; }
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4008 $as_echo "$cross_compiling" >&6; }
4010 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4011 ac_clean_files
=$ac_clean_files_save
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4013 $as_echo_n "checking for suffix of object files... " >&6; }
4014 if ${ac_cv_objext+:} false
; then :
4015 $as_echo_n "(cached) " >&6
4017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4028 rm -f conftest.o conftest.obj
4029 if { { ac_try
="$ac_compile"
4031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_compile") 2>&5
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }; then :
4040 for ac_file in conftest.o conftest.obj conftest.*; do
4041 test -f "$ac_file" || continue;
4043 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4044 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4049 $as_echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4055 See \
`config.log' for more details" "$LINENO" 5; }
4057 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4060 $as_echo "$ac_cv_objext" >&6; }
4061 OBJEXT=$ac_cv_objext
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4064 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4065 if ${ac_cv_c_compiler_gnu+:} false; then :
4066 $as_echo_n "(cached) " >&6
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4082 if ac_fn_c_try_compile "$LINENO"; then :
4087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4088 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4092 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4093 if test $ac_compiler_gnu = yes; then
4098 ac_test_CFLAGS=${CFLAGS+set}
4099 ac_save_CFLAGS=$CFLAGS
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4101 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4102 if ${ac_cv_prog_cc_g+:} false; then :
4103 $as_echo_n "(cached) " >&6
4105 ac_save_c_werror_flag=$ac_c_werror_flag
4106 ac_c_werror_flag=yes
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4120 if ac_fn_c_try_compile "$LINENO"; then :
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4135 if ac_fn_c_try_compile "$LINENO"; then :
4138 ac_c_werror_flag=$ac_save_c_werror_flag
4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4151 if ac_fn_c_try_compile "$LINENO"; then :
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4159 ac_c_werror_flag=$ac_save_c_werror_flag
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4162 $as_echo "$ac_cv_prog_cc_g" >&6; }
4163 if test "$ac_test_CFLAGS" = set; then
4164 CFLAGS=$ac_save_CFLAGS
4165 elif test $ac_cv_prog_cc_g = yes; then
4166 if test "$GCC" = yes; then
4172 if test "$GCC" = yes; then
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4179 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4180 if ${ac_cv_prog_cc_c89+:} false; then :
4181 $as_echo_n "(cached) " >&6
4183 ac_cv_prog_cc_c89=no
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4190 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4191 struct buf { int x; };
4192 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4193 static char *e (p, i)
4199 static char *f (char * (*g) (char **, int), char **p, ...)
4204 s = g (p, va_arg (v,int));
4209 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4210 function prototypes and stuff, but not '\xHH' hex character constants.
4211 These don't provoke an error unfortunately, instead are silently treated
4212 as 'x'. The following induces an error, until -std is added to get
4213 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4214 array size at least. It's necessary to write '\x00'==0 to get something
4215 that's true only with -std. */
4216 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4218 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4219 inside strings and character constants. */
4221 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4223 int test (int i, double x);
4224 struct s1 {int (*f) (int a);};
4225 struct s2 {int (*f) (double a);};
4226 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4232 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4237 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4238 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4240 CC="$ac_save_CC $ac_arg"
4241 if ac_fn_c_try_compile "$LINENO"; then :
4242 ac_cv_prog_cc_c89=$ac_arg
4244 rm -f core conftest.err conftest.$ac_objext
4245 test "x$ac_cv_prog_cc_c89" != "xno" && break
4247 rm -f conftest.$ac_ext
4252 case "x$ac_cv_prog_cc_c89" in
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4255 $as_echo "none needed" >&6; } ;;
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4258 $as_echo "unsupported" >&6; } ;;
4260 CC="$CC $ac_cv_prog_cc_c89"
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4262 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4264 if test "x$ac_cv_prog_cc_c89" != xno; then :
4269 ac_cpp='$CPP $CPPFLAGS'
4270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4275 ac_cpp='$CPP $CPPFLAGS'
4276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4280 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4281 if ${am_cv_prog_cc_c_o+:} false; then :
4282 $as_echo_n "(cached) " >&6
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4295 # Make sure it works both with $CC and with simple cc.
4296 # Following AC_PROG_CC_C_O, we do the test twice because some
4297 # compilers refuse to overwrite an existing .o file with -o,
4298 # though they will create one.
4299 am_cv_prog_cc_c_o=yes
4301 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4302 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } \
4306 && test -f conftest2.$ac_objext; then
4309 am_cv_prog_cc_c_o=no
4313 rm -f core conftest*
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4317 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4318 if test "$am_cv_prog_cc_c_o" != yes; then
4319 # Losing compiler, so override with the script.
4320 # FIXME: It is wrong to rewrite CC.
4321 # But if we don't then we get into trouble of one sort or another.
4322 # A longer-term fix would be to have automake use am__CC in this case,
4323 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4324 CC="$am_aux_dir/compile $CC"
4327 ac_cpp='$CPP $CPPFLAGS'
4328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4333 depcc="$CC" am_compiler_list=
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4336 $as_echo_n "checking dependency style of $depcc... " >&6; }
4337 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4338 $as_echo_n "(cached) " >&6
4340 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4341 # We make a subdir and do the tests there. Otherwise we can end up
4342 # making bogus files that we don't know about and never remove. For
4343 # instance it was reported that on HP-UX the gcc test will end up
4344 # making a dummy file named 'D' -- because '-MD' means "put the output
4348 # Copy depcomp to subdir because otherwise we won't find it if we're
4349 # using a relative directory.
4350 cp "$am_depcomp" conftest.dir
4352 # We will build objects and dependencies in a subdirectory because
4353 # it helps to detect inapplicable dependency modes. For instance
4354 # both Tru64's cc and ICC support -MD to output dependencies as a
4355 # side effect of compilation, but ICC will put the dependencies in
4356 # the current directory while Tru64 will put them in the object
4360 am_cv_CC_dependencies_compiler_type=none
4361 if test "$am_compiler_list" = ""; then
4362 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4365 case " $depcc " in #(
4366 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4369 for depmode in $am_compiler_list; do
4370 # Setup a source with many dependencies, because some compilers
4371 # like to wrap large dependency lists on column 80 (with \), and
4372 # we should not choose a depcomp mode which is confused by this.
4374 # We need to recreate these files for each test, as the compiler may
4375 # overwrite some of them when testing with obscure command lines.
4376 # This happens at least with the AIX C compiler.
4378 for i in 1 2 3 4 5 6; do
4379 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4380 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4381 # Solaris 10 /bin/sh.
4382 echo '/* dummy */' > sub/conftst$i.h
4384 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4386 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4387 # mode. It turns out that the SunPro C++ compiler does not properly
4388 # handle '-M -o', and we need to detect this. Also, some Intel
4389 # versions had trouble with output in subdirs.
4390 am__obj=sub/conftest.${OBJEXT-o}
4391 am__minus_obj="-o $am__obj"
4394 # This depmode causes a compiler race in universal mode.
4395 test "$am__universal" = false || continue
4398 # After this tag, mechanisms are not by side-effect, so they'll
4399 # only be used when explicitly requested.
4400 if test "x$enable_dependency_tracking" = xyes; then
4406 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4407 # This compiler won't grok '-c -o', but also, the minuso test has
4408 # not run yet. These depmodes are late enough in the game, and
4409 # so weak that their functioning should not be impacted.
4410 am__obj=conftest.${OBJEXT-o}
4415 if depmode=$depmode \
4416 source=sub/conftest.c object=$am__obj \
4417 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4418 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4419 >/dev/null 2>conftest.err &&
4420 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4421 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4422 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4423 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4424 # icc doesn't choke on unknown options, it will just issue warnings
4425 # or remarks (even with -Werror). So we grep stderr for any message
4426 # that says an option was ignored or not supported.
4427 # When given -MP, icc 7.0 and 7.1 complain thusly:
4428 # icc: Command line warning: ignoring option '-M'; no argument required
4429 # The diagnosis changed in icc 8.0:
4430 # icc: Command line remark: option '-MP' not supported
4431 if (grep 'ignoring option' conftest.err ||
4432 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4433 am_cv_CC_dependencies_compiler_type=$depmode
4442 am_cv_CC_dependencies_compiler_type=none
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4447 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4448 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4451 test "x$enable_dependency_tracking" != xno \
4452 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4454 am__fastdepCC_FALSE='#'
4456 am__fastdepCC_TRUE='#'
4457 am__fastdepCC_FALSE=
4462 if test -n "$ac_tool_prefix"; then
4463 for ac_prog in ar lib "link -lib"
4465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4468 $as_echo_n "checking for $ac_word... " >&6; }
4469 if ${ac_cv_prog_AR+:} false; then :
4470 $as_echo_n "(cached) " >&6
4472 if test -n "$AR"; then
4473 ac_cv_prog_AR="$AR" # Let the user override the test.
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 test -z "$as_dir" && as_dir=.
4480 for ac_exec_ext in '' $ac_executable_extensions; do
4481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4482 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 if test -n "$AR"; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4495 $as_echo "$AR" >&6; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4498 $as_echo "no" >&6; }
4502 test -n "$AR" && break
4505 if test -z "$AR"; then
4507 for ac_prog in ar lib "link -lib"
4509 # Extract the first word of "$ac_prog", so it can be a program name with args.
4510 set dummy $ac_prog; ac_word=$2
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4512 $as_echo_n "checking for $ac_word... " >&6; }
4513 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4514 $as_echo_n "(cached) " >&6
4516 if test -n "$ac_ct_AR"; then
4517 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 test -z "$as_dir" && as_dir=.
4524 for ac_exec_ext in '' $ac_executable_extensions; do
4525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4526 ac_cv_prog_ac_ct_AR="$ac_prog"
4527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4537 if test -n "$ac_ct_AR"; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4539 $as_echo "$ac_ct_AR" >&6; }
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542 $as_echo "no" >&6; }
4546 test -n "$ac_ct_AR" && break
4549 if test "x$ac_ct_AR" = x; then
4552 case $cross_compiling:$ac_tool_warned in
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4556 ac_tool_warned=yes ;;
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4565 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4566 if ${am_cv_ar_interface+:} false; then :
4567 $as_echo_n "(cached) " >&6
4570 ac_cpp='$CPP $CPPFLAGS'
4571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4575 am_cv_ar_interface=ar
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4578 int some_variable = 0;
4580 if ac_fn_c_try_compile "$LINENO"; then :
4581 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4582 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4583 (eval $am_ar_try) 2>&5
4585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4586 test $ac_status = 0; }
4587 if test "$ac_status" -eq 0; then
4588 am_cv_ar_interface=ar
4590 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4591 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4592 (eval $am_ar_try) 2>&5
4594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4595 test $ac_status = 0; }
4596 if test "$ac_status" -eq 0; then
4597 am_cv_ar_interface=lib
4599 am_cv_ar_interface=unknown
4602 rm -f conftest.lib libconftest.a
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607 ac_cpp='$CPP $CPPFLAGS'
4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4614 $as_echo "$am_cv_ar_interface" >&6; }
4616 case $am_cv_ar_interface in
4620 # Microsoft lib, so override with the ar-lib wrapper script.
4621 # FIXME: It is wrong to rewrite AR.
4622 # But if we don't then we get into trouble of one sort or another.
4623 # A longer-term fix would be to have automake use am__AR in this case,
4624 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4626 AR="$am_aux_dir/ar-lib $AR"
4629 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4634 # This was added at the suggestion of libtoolize (03-Jan-10)
4637 # The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just
4638 # "-g" for any other compiler. There doesn't seem to be a standard way of
4639 # getting rid of the -g (which I don't think is needed for a production
4640 # library). This fudge seems to achieve the necessary. First, we remember the
4641 # externally set values of CFLAGS and CXXFLAGS. Then call the AC_PROG_CC and
4642 # AC_PROG_CXX macros to find the compilers - if CFLAGS and CXXFLAGS are not
4643 # set, they will be set to Autoconf's defaults. Afterwards, if the original
4644 # values were not set, remove the -g from the Autoconf defaults.
4647 remember_set_CFLAGS="$CFLAGS"
4648 remember_set_CXXFLAGS="$CXXFLAGS"
4651 ac_cpp='$CPP $CPPFLAGS'
4652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4655 if test -n "$ac_tool_prefix"; then
4656 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4657 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if ${ac_cv_prog_CC+:} false; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$CC"; then
4664 ac_cv_prog_CC="$CC" # Let the user override the test.
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir=.
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 if test -n "$CC"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4686 $as_echo "$CC" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4694 if test -z "$ac_cv_prog_CC"; then
4696 # Extract the first word of "gcc", so it can be a program name with args.
4697 set dummy gcc; ac_word=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4701 $as_echo_n "(cached) " >&6
4703 if test -n "$ac_ct_CC"; then
4704 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4713 ac_cv_prog_ac_ct_CC="gcc"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4724 if test -n "$ac_ct_CC"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4726 $as_echo "$ac_ct_CC" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4732 if test "x$ac_ct_CC" = x; then
4735 case $cross_compiling:$ac_tool_warned in
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned=yes ;;
4747 if test -z "$CC"; then
4748 if test -n "$ac_tool_prefix"; then
4749 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4750 set dummy ${ac_tool_prefix}cc; ac_word=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if ${ac_cv_prog_CC+:} false; then :
4754 $as_echo_n "(cached) " >&6
4756 if test -n "$CC"; then
4757 ac_cv_prog_CC="$CC" # Let the user override the test.
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 test -z "$as_dir" && as_dir=.
4764 for ac_exec_ext in '' $ac_executable_extensions; do
4765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4766 ac_cv_prog_CC="${ac_tool_prefix}cc"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4777 if test -n "$CC"; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4779 $as_echo "$CC" >&6; }
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4788 if test -z "$CC"; then
4789 # Extract the first word of "cc", so it can be a program name with args.
4790 set dummy cc; ac_word=$2
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 $as_echo_n "checking for $ac_word... " >&6; }
4793 if ${ac_cv_prog_CC+:} false; then :
4794 $as_echo_n "(cached) " >&6
4796 if test -n "$CC"; then
4797 ac_cv_prog_CC="$CC" # Let the user override the test.
4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 test -z "$as_dir" && as_dir=.
4805 for ac_exec_ext in '' $ac_executable_extensions; do
4806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4807 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4808 ac_prog_rejected=yes
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 if test $ac_prog_rejected = yes; then
4820 # We found a bogon in the path, so make sure we never use it.
4821 set dummy $ac_cv_prog_CC
4823 if test $# != 0; then
4824 # We chose a different compiler from the bogus one.
4825 # However, it has the same basename, so the bogon will be chosen
4826 # first if we set CC to just the basename; use the full file name.
4828 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4834 if test -n "$CC"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4836 $as_echo "$CC" >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4844 if test -z "$CC"; then
4845 if test -n "$ac_tool_prefix"; then
4846 for ac_prog in cl.exe
4848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4849 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851 $as_echo_n "checking for $ac_word... " >&6; }
4852 if ${ac_cv_prog_CC+:} false; then :
4853 $as_echo_n "(cached) " >&6
4855 if test -n "$CC"; then
4856 ac_cv_prog_CC="$CC" # Let the user override the test.
4858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4862 test -z "$as_dir" && as_dir=.
4863 for ac_exec_ext in '' $ac_executable_extensions; do
4864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4865 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 if test -n "$CC"; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4878 $as_echo "$CC" >&6; }
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 $as_echo "no" >&6; }
4885 test -n "$CC" && break
4888 if test -z "$CC"; then
4890 for ac_prog in cl.exe
4892 # Extract the first word of "$ac_prog", so it can be a program name with args.
4893 set dummy $ac_prog; ac_word=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4897 $as_echo_n "(cached) " >&6
4899 if test -n "$ac_ct_CC"; then
4900 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 test -z "$as_dir" && as_dir=.
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_ac_ct_CC="$ac_prog"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4920 if test -n "$ac_ct_CC"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4922 $as_echo "$ac_ct_CC" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4929 test -n "$ac_ct_CC" && break
4932 if test "x$ac_ct_CC" = x; then
4935 case $cross_compiling:$ac_tool_warned in
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4939 ac_tool_warned=yes ;;
4948 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4950 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4951 See \
`config.log' for more details" "$LINENO" 5; }
4953 # Provide some information about the compiler.
4954 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4957 for ac_option in --version -v -V -qversion; do
4958 { { ac_try="$ac_compiler $ac_option >&5"
4960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4961 *) ac_try_echo
=$ac_try;;
4963 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4964 $as_echo "$ac_try_echo"; } >&5
4965 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4967 if test -s conftest.err
; then
4969 ... rest of stderr output deleted ...
4970 10q' conftest.err
>conftest.er1
4971 cat conftest.er1
>&5
4973 rm -f conftest.er1 conftest.err
4974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4975 test $ac_status = 0; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4979 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4980 if ${ac_cv_c_compiler_gnu+:} false
; then :
4981 $as_echo_n "(cached) " >&6
4983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4997 if ac_fn_c_try_compile
"$LINENO"; then :
5002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5003 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5007 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5008 if test $ac_compiler_gnu = yes; then
5013 ac_test_CFLAGS
=${CFLAGS+set}
5014 ac_save_CFLAGS
=$CFLAGS
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5016 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5017 if ${ac_cv_prog_cc_g+:} false
; then :
5018 $as_echo_n "(cached) " >&6
5020 ac_save_c_werror_flag
=$ac_c_werror_flag
5021 ac_c_werror_flag
=yes
5024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5035 if ac_fn_c_try_compile
"$LINENO"; then :
5039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5050 if ac_fn_c_try_compile
"$LINENO"; then :
5053 ac_c_werror_flag
=$ac_save_c_werror_flag
5055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5066 if ac_fn_c_try_compile
"$LINENO"; then :
5069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5074 ac_c_werror_flag
=$ac_save_c_werror_flag
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5077 $as_echo "$ac_cv_prog_cc_g" >&6; }
5078 if test "$ac_test_CFLAGS" = set; then
5079 CFLAGS
=$ac_save_CFLAGS
5080 elif test $ac_cv_prog_cc_g = yes; then
5081 if test "$GCC" = yes; then
5087 if test "$GCC" = yes; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5094 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5095 if ${ac_cv_prog_cc_c89+:} false
; then :
5096 $as_echo_n "(cached) " >&6
5098 ac_cv_prog_cc_c89
=no
5100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5101 /* end confdefs.h. */
5105 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5106 struct buf { int x; };
5107 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5108 static char *e (p, i)
5114 static char *f (char * (*g) (char **, int), char **p, ...)
5119 s = g (p, va_arg (v,int));
5124 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5125 function prototypes and stuff, but not '\xHH' hex character constants.
5126 These don't provoke an error unfortunately, instead are silently treated
5127 as 'x'. The following induces an error, until -std is added to get
5128 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5129 array size at least. It's necessary to write '\x00'==0 to get something
5130 that's true only with -std. */
5131 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5133 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5134 inside strings and character constants. */
5136 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5138 int test (int i, double x);
5139 struct s1 {int (*f) (int a);};
5140 struct s2 {int (*f) (double a);};
5141 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5147 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5152 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
5153 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5155 CC
="$ac_save_CC $ac_arg"
5156 if ac_fn_c_try_compile
"$LINENO"; then :
5157 ac_cv_prog_cc_c89
=$ac_arg
5159 rm -f core conftest.err conftest.
$ac_objext
5160 test "x$ac_cv_prog_cc_c89" != "xno" && break
5162 rm -f conftest.
$ac_ext
5167 case "x$ac_cv_prog_cc_c89" in
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5170 $as_echo "none needed" >&6; } ;;
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5173 $as_echo "unsupported" >&6; } ;;
5175 CC
="$CC $ac_cv_prog_cc_c89"
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5177 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5179 if test "x$ac_cv_prog_cc_c89" != xno
; then :
5184 ac_cpp
='$CPP $CPPFLAGS'
5185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5190 ac_cpp
='$CPP $CPPFLAGS'
5191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5195 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5196 if ${am_cv_prog_cc_c_o+:} false
; then :
5197 $as_echo_n "(cached) " >&6
5199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5210 # Make sure it works both with $CC and with simple cc.
5211 # Following AC_PROG_CC_C_O, we do the test twice because some
5212 # compilers refuse to overwrite an existing .o file with -o,
5213 # though they will create one.
5214 am_cv_prog_cc_c_o
=yes
5216 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5217 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); } \
5221 && test -f conftest2.
$ac_objext; then
5224 am_cv_prog_cc_c_o
=no
5228 rm -f core conftest
*
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5232 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5233 if test "$am_cv_prog_cc_c_o" != yes; then
5234 # Losing compiler, so override with the script.
5235 # FIXME: It is wrong to rewrite CC.
5236 # But if we don't then we get into trouble of one sort or another.
5237 # A longer-term fix would be to have automake use am__CC in this case,
5238 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5239 CC
="$am_aux_dir/compile $CC"
5242 ac_cpp
='$CPP $CPPFLAGS'
5243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5248 depcc
="$CC" am_compiler_list
=
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5251 $as_echo_n "checking dependency style of $depcc... " >&6; }
5252 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
5253 $as_echo_n "(cached) " >&6
5255 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5256 # We make a subdir and do the tests there. Otherwise we can end up
5257 # making bogus files that we don't know about and never remove. For
5258 # instance it was reported that on HP-UX the gcc test will end up
5259 # making a dummy file named 'D' -- because '-MD' means "put the output
5263 # Copy depcomp to subdir because otherwise we won't find it if we're
5264 # using a relative directory.
5265 cp "$am_depcomp" conftest.dir
5267 # We will build objects and dependencies in a subdirectory because
5268 # it helps to detect inapplicable dependency modes. For instance
5269 # both Tru64's cc and ICC support -MD to output dependencies as a
5270 # side effect of compilation, but ICC will put the dependencies in
5271 # the current directory while Tru64 will put them in the object
5275 am_cv_CC_dependencies_compiler_type
=none
5276 if test "$am_compiler_list" = ""; then
5277 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5280 case " $depcc " in #(
5281 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5284 for depmode
in $am_compiler_list; do
5285 # Setup a source with many dependencies, because some compilers
5286 # like to wrap large dependency lists on column 80 (with \), and
5287 # we should not choose a depcomp mode which is confused by this.
5289 # We need to recreate these files for each test, as the compiler may
5290 # overwrite some of them when testing with obscure command lines.
5291 # This happens at least with the AIX C compiler.
5293 for i
in 1 2 3 4 5 6; do
5294 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5295 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5296 # Solaris 10 /bin/sh.
5297 echo '/* dummy */' > sub
/conftst
$i.h
5299 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5301 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5302 # mode. It turns out that the SunPro C++ compiler does not properly
5303 # handle '-M -o', and we need to detect this. Also, some Intel
5304 # versions had trouble with output in subdirs.
5305 am__obj
=sub
/conftest.
${OBJEXT-o}
5306 am__minus_obj
="-o $am__obj"
5309 # This depmode causes a compiler race in universal mode.
5310 test "$am__universal" = false ||
continue
5313 # After this tag, mechanisms are not by side-effect, so they'll
5314 # only be used when explicitly requested.
5315 if test "x$enable_dependency_tracking" = xyes
; then
5321 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5322 # This compiler won't grok '-c -o', but also, the minuso test has
5323 # not run yet. These depmodes are late enough in the game, and
5324 # so weak that their functioning should not be impacted.
5325 am__obj
=conftest.
${OBJEXT-o}
5330 if depmode
=$depmode \
5331 source=sub
/conftest.c object
=$am__obj \
5332 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5333 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5334 >/dev
/null
2>conftest.err
&&
5335 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5336 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5337 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5338 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5339 # icc doesn't choke on unknown options, it will just issue warnings
5340 # or remarks (even with -Werror). So we grep stderr for any message
5341 # that says an option was ignored or not supported.
5342 # When given -MP, icc 7.0 and 7.1 complain thusly:
5343 # icc: Command line warning: ignoring option '-M'; no argument required
5344 # The diagnosis changed in icc 8.0:
5345 # icc: Command line remark: option '-MP' not supported
5346 if (grep 'ignoring option' conftest.err ||
5347 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5348 am_cv_CC_dependencies_compiler_type
=$depmode
5357 am_cv_CC_dependencies_compiler_type
=none
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5362 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5363 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5366 test "x$enable_dependency_tracking" != xno \
5367 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5369 am__fastdepCC_FALSE
='#'
5371 am__fastdepCC_TRUE
='#'
5372 am__fastdepCC_FALSE
=
5377 ac_cpp
='$CXXCPP $CPPFLAGS'
5378 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5379 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5380 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5381 if test -z "$CXX"; then
5382 if test -n "$CCC"; then
5385 if test -n "$ac_tool_prefix"; then
5386 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5388 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5389 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_CXX+:} false
; then :
5393 $as_echo_n "(cached) " >&6
5395 if test -n "$CXX"; then
5396 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir
=.
5403 for ac_exec_ext
in '' $ac_executable_extensions; do
5404 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 if test -n "$CXX"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5418 $as_echo "$CXX" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5425 test -n "$CXX" && break
5428 if test -z "$CXX"; then
5430 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5432 # Extract the first word of "$ac_prog", so it can be a program name with args.
5433 set dummy
$ac_prog; ac_word
=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
5437 $as_echo_n "(cached) " >&6
5439 if test -n "$ac_ct_CXX"; then
5440 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5446 test -z "$as_dir" && as_dir
=.
5447 for ac_exec_ext
in '' $ac_executable_extensions; do
5448 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5449 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5460 if test -n "$ac_ct_CXX"; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5462 $as_echo "$ac_ct_CXX" >&6; }
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5469 test -n "$ac_ct_CXX" && break
5472 if test "x$ac_ct_CXX" = x
; then
5475 case $cross_compiling:$ac_tool_warned in
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5479 ac_tool_warned
=yes ;;
5487 # Provide some information about the compiler.
5488 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5491 for ac_option
in --version -v -V -qversion; do
5492 { { ac_try
="$ac_compiler $ac_option >&5"
5494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5495 *) ac_try_echo=$ac_try;;
5497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5498 $as_echo "$ac_try_echo"; } >&5
5499 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5501 if test -s conftest.err; then
5503 ... rest of stderr output deleted ...
5504 10q' conftest.err >conftest.er1
5505 cat conftest.er1 >&5
5507 rm -f conftest.er1 conftest.err
5508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5509 test $ac_status = 0; }
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5513 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5514 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5515 $as_echo_n "(cached) " >&6
5517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5518 /* end confdefs.h. */
5531 if ac_fn_cxx_try_compile "$LINENO"; then :
5536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5541 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5542 if test $ac_compiler_gnu = yes; then
5547 ac_test_CXXFLAGS=${CXXFLAGS+set}
5548 ac_save_CXXFLAGS=$CXXFLAGS
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5550 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5551 if ${ac_cv_prog_cxx_g+:} false; then :
5552 $as_echo_n "(cached) " >&6
5554 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5555 ac_cxx_werror_flag=yes
5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5559 /* end confdefs.h. */
5569 if ac_fn_cxx_try_compile "$LINENO"; then :
5570 ac_cv_prog_cxx_g=yes
5573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574 /* end confdefs.h. */
5584 if ac_fn_cxx_try_compile "$LINENO"; then :
5587 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590 /* end confdefs.h. */
5600 if ac_fn_cxx_try_compile "$LINENO"; then :
5601 ac_cv_prog_cxx_g=yes
5603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5608 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5611 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5612 if test "$ac_test_CXXFLAGS" = set; then
5613 CXXFLAGS=$ac_save_CXXFLAGS
5614 elif test $ac_cv_prog_cxx_g = yes; then
5615 if test "$GXX" = yes; then
5621 if test "$GXX" = yes; then
5628 ac_cpp='$CPP $CPPFLAGS'
5629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5633 depcc="$CXX" am_compiler_list=
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5636 $as_echo_n "checking dependency style of $depcc... " >&6; }
5637 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5638 $as_echo_n "(cached) " >&6
5640 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5641 # We make a subdir and do the tests there. Otherwise we can end up
5642 # making bogus files that we don't know about and never remove. For
5643 # instance it was reported that on HP-UX the gcc test will end up
5644 # making a dummy file named 'D' -- because '-MD' means "put the output
5648 # Copy depcomp to subdir because otherwise we won't find it if we're
5649 # using a relative directory.
5650 cp "$am_depcomp" conftest.dir
5652 # We will build objects and dependencies in a subdirectory because
5653 # it helps to detect inapplicable dependency modes. For instance
5654 # both Tru64's cc and ICC support -MD to output dependencies as a
5655 # side effect of compilation, but ICC will put the dependencies in
5656 # the current directory while Tru64 will put them in the object
5660 am_cv_CXX_dependencies_compiler_type=none
5661 if test "$am_compiler_list" = ""; then
5662 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5665 case " $depcc " in #(
5666 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5669 for depmode in $am_compiler_list; do
5670 # Setup a source with many dependencies, because some compilers
5671 # like to wrap large dependency lists on column 80 (with \), and
5672 # we should not choose a depcomp mode which is confused by this.
5674 # We need to recreate these files for each test, as the compiler may
5675 # overwrite some of them when testing with obscure command lines.
5676 # This happens at least with the AIX C compiler.
5678 for i in 1 2 3 4 5 6; do
5679 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5680 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5681 # Solaris 10 /bin/sh.
5682 echo '/* dummy */' > sub/conftst$i.h
5684 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5686 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5687 # mode. It turns out that the SunPro C++ compiler does not properly
5688 # handle '-M -o', and we need to detect this. Also, some Intel
5689 # versions had trouble with output in subdirs.
5690 am__obj=sub/conftest.${OBJEXT-o}
5691 am__minus_obj="-o $am__obj"
5694 # This depmode causes a compiler race in universal mode.
5695 test "$am__universal" = false || continue
5698 # After this tag, mechanisms are not by side-effect, so they'll
5699 # only be used when explicitly requested.
5700 if test "x$enable_dependency_tracking" = xyes; then
5706 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5707 # This compiler won't grok '-c -o', but also, the minuso test has
5708 # not run yet. These depmodes are late enough in the game, and
5709 # so weak that their functioning should not be impacted.
5710 am__obj=conftest.${OBJEXT-o}
5715 if depmode=$depmode \
5716 source=sub/conftest.c object=$am__obj \
5717 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5718 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5719 >/dev/null 2>conftest.err &&
5720 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5721 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5722 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5723 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5724 # icc doesn't choke on unknown options, it will just issue warnings
5725 # or remarks (even with -Werror). So we grep stderr for any message
5726 # that says an option was ignored or not supported.
5727 # When given -MP, icc 7.0 and 7.1 complain thusly:
5728 # icc: Command line warning: ignoring option '-M'; no argument required
5729 # The diagnosis changed in icc 8.0:
5730 # icc: Command line remark: option '-MP' not supported
5731 if (grep 'ignoring option' conftest.err ||
5732 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5733 am_cv_CXX_dependencies_compiler_type=$depmode
5742 am_cv_CXX_dependencies_compiler_type=none
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5747 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5748 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5751 test "x$enable_dependency_tracking" != xno \
5752 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5753 am__fastdepCXX_TRUE=
5754 am__fastdepCXX_FALSE='#'
5756 am__fastdepCXX_TRUE='#'
5757 am__fastdepCXX_FALSE=
5763 if test "x$remember_set_CFLAGS" = "x"
5765 if test "$CFLAGS" = "-g -O2"
5768 elif test "$CFLAGS" = "-g"
5774 if test "x$remember_set_CXXFLAGS" = "x"
5776 if test "$CXXFLAGS" = "-g -O2"
5779 elif test "$CXXFLAGS" = "-g"
5785 # AC_PROG_CXX will return "g++" even if no c++ compiler is installed.
5786 # Check for that case, and just disable c++ code if g++ doesn't run.
5788 ac_cpp='$CXXCPP $CPPFLAGS'
5789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5795 /* end confdefs.h. */
5805 if ac_fn_cxx_try_compile "$LINENO"; then :
5808 CXX=""; CXXCP=""; CXXFLAGS=""
5810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5812 ac_cpp='$CPP $CPPFLAGS'
5813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5818 # Check for a 64-bit integer type
5820 ac_cpp='$CPP $CPPFLAGS'
5821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5825 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5826 # On Suns, sometimes $CPP names a directory.
5827 if test -n "$CPP" && test -d "$CPP"; then
5830 if test -z "$CPP"; then
5831 if ${ac_cv_prog_CPP+:} false; then :
5832 $as_echo_n "(cached) " >&6
5834 # Double quotes because CPP needs to be expanded
5835 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5838 for ac_c_preproc_warn_flag in '' yes
5840 # Use a header file that comes with gcc, so configuring glibc
5841 # with a fresh cross-compiler works.
5842 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5843 # <limits.h> exists even on freestanding compilers.
5844 # On the NeXT, cc -E runs the code through the compiler's parser,
5845 # not just through cpp. "Syntax error" is here to catch this case.
5846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5847 /* end confdefs.h. */
5849 # include <limits.h>
5851 # include <assert.h>
5855 if ac_fn_c_try_cpp "$LINENO"; then :
5858 # Broken: fails on valid input.
5861 rm -f conftest.err conftest.i conftest.$ac_ext
5863 # OK, works on sane cases. Now check whether nonexistent headers
5864 # can be detected and how.
5865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5867 #include <ac_nonexistent.h>
5869 if ac_fn_c_try_cpp "$LINENO"; then :
5870 # Broken: success on invalid input.
5873 # Passes both tests.
5877 rm -f conftest.err conftest.i conftest.$ac_ext
5880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5881 rm -f conftest.i conftest.err conftest.
$ac_ext
5882 if $ac_preproc_ok; then :
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5895 $as_echo "$CPP" >&6; }
5897 for ac_c_preproc_warn_flag
in '' yes
5899 # Use a header file that comes with gcc, so configuring glibc
5900 # with a fresh cross-compiler works.
5901 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5902 # <limits.h> exists even on freestanding compilers.
5903 # On the NeXT, cc -E runs the code through the compiler's parser,
5904 # not just through cpp. "Syntax error" is here to catch this case.
5905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5906 /* end confdefs.h. */
5908 # include <limits.h>
5910 # include <assert.h>
5914 if ac_fn_c_try_cpp
"$LINENO"; then :
5917 # Broken: fails on valid input.
5920 rm -f conftest.err conftest.i conftest.
$ac_ext
5922 # OK, works on sane cases. Now check whether nonexistent headers
5923 # can be detected and how.
5924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5925 /* end confdefs.h. */
5926 #include <ac_nonexistent.h>
5928 if ac_fn_c_try_cpp
"$LINENO"; then :
5929 # Broken: success on invalid input.
5932 # Passes both tests.
5936 rm -f conftest.err conftest.i conftest.
$ac_ext
5939 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5940 rm -f conftest.i conftest.err conftest.
$ac_ext
5941 if $ac_preproc_ok; then :
5944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5946 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5947 See \`config.log' for more details" "$LINENO" 5; }
5951 ac_cpp
='$CPP $CPPFLAGS'
5952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5958 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5959 if ${ac_cv_path_GREP+:} false
; then :
5960 $as_echo_n "(cached) " >&6
5962 if test -z "$GREP"; then
5963 ac_path_GREP_found
=false
5964 # Loop through the user's path and test for each of PROGNAME-LIST
5965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5966 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5969 test -z "$as_dir" && as_dir
=.
5970 for ac_prog
in grep ggrep
; do
5971 for ac_exec_ext
in '' $ac_executable_extensions; do
5972 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5973 as_fn_executable_p
"$ac_path_GREP" ||
continue
5974 # Check for GNU ac_path_GREP and select it if it is found.
5975 # Check for GNU $ac_path_GREP
5976 case `"$ac_path_GREP" --version 2>&1` in
5978 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5981 $as_echo_n 0123456789 >"conftest.in"
5984 cat "conftest.in" "conftest.in" >"conftest.tmp"
5985 mv "conftest.tmp" "conftest.in"
5986 cp "conftest.in" "conftest.nl"
5987 $as_echo 'GREP' >> "conftest.nl"
5988 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5989 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5990 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5991 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5992 # Best one so far, save it but keep looking for a better one
5993 ac_cv_path_GREP
="$ac_path_GREP"
5994 ac_path_GREP_max
=$ac_count
5996 # 10*(2^10) chars as input seems more than enough
5997 test $ac_count -gt 10 && break
5999 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6002 $ac_path_GREP_found && break 3
6007 if test -z "$ac_cv_path_GREP"; then
6008 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6011 ac_cv_path_GREP
=$GREP
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6016 $as_echo "$ac_cv_path_GREP" >&6; }
6017 GREP
="$ac_cv_path_GREP"
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6021 $as_echo_n "checking for egrep... " >&6; }
6022 if ${ac_cv_path_EGREP+:} false
; then :
6023 $as_echo_n "(cached) " >&6
6025 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6026 then ac_cv_path_EGREP
="$GREP -E"
6028 if test -z "$EGREP"; then
6029 ac_path_EGREP_found
=false
6030 # Loop through the user's path and test for each of PROGNAME-LIST
6031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6032 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6035 test -z "$as_dir" && as_dir
=.
6036 for ac_prog
in egrep; do
6037 for ac_exec_ext
in '' $ac_executable_extensions; do
6038 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6039 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6040 # Check for GNU ac_path_EGREP and select it if it is found.
6041 # Check for GNU $ac_path_EGREP
6042 case `"$ac_path_EGREP" --version 2>&1` in
6044 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6047 $as_echo_n 0123456789 >"conftest.in"
6050 cat "conftest.in" "conftest.in" >"conftest.tmp"
6051 mv "conftest.tmp" "conftest.in"
6052 cp "conftest.in" "conftest.nl"
6053 $as_echo 'EGREP' >> "conftest.nl"
6054 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6055 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6056 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6057 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6058 # Best one so far, save it but keep looking for a better one
6059 ac_cv_path_EGREP
="$ac_path_EGREP"
6060 ac_path_EGREP_max
=$ac_count
6062 # 10*(2^10) chars as input seems more than enough
6063 test $ac_count -gt 10 && break
6065 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6068 $ac_path_EGREP_found && break 3
6073 if test -z "$ac_cv_path_EGREP"; then
6074 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6077 ac_cv_path_EGREP
=$EGREP
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6083 $as_echo "$ac_cv_path_EGREP" >&6; }
6084 EGREP
="$ac_cv_path_EGREP"
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6088 $as_echo_n "checking for ANSI C header files... " >&6; }
6089 if ${ac_cv_header_stdc+:} false
; then :
6090 $as_echo_n "(cached) " >&6
6092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h. */
6107 if ac_fn_c_try_compile
"$LINENO"; then :
6108 ac_cv_header_stdc
=yes
6110 ac_cv_header_stdc
=no
6112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6114 if test $ac_cv_header_stdc = yes; then
6115 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6117 /* end confdefs.h. */
6121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6122 $EGREP "memchr" >/dev
/null
2>&1; then :
6125 ac_cv_header_stdc
=no
6131 if test $ac_cv_header_stdc = yes; then
6132 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6134 /* end confdefs.h. */
6138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6139 $EGREP "free" >/dev
/null
2>&1; then :
6142 ac_cv_header_stdc
=no
6148 if test $ac_cv_header_stdc = yes; then
6149 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6150 if test "$cross_compiling" = yes; then :
6153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6154 /* end confdefs.h. */
6157 #if ((' ' & 0x0FF) == 0x020)
6158 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6159 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6161 # define ISLOWER(c) \
6162 (('a' <= (c) && (c) <= 'i') \
6163 || ('j' <= (c) && (c) <= 'r') \
6164 || ('s' <= (c) && (c) <= 'z'))
6165 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6168 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6173 for (i = 0; i < 256; i++)
6174 if (XOR (islower (i), ISLOWER (i))
6175 || toupper (i) != TOUPPER (i))
6180 if ac_fn_c_try_run
"$LINENO"; then :
6183 ac_cv_header_stdc
=no
6185 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6186 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6192 $as_echo "$ac_cv_header_stdc" >&6; }
6193 if test $ac_cv_header_stdc = yes; then
6195 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6199 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6200 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6201 inttypes.h stdint.h unistd.h
6203 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6204 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6206 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6207 cat >>confdefs.h
<<_ACEOF
6208 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6216 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
6217 case $ac_cv_c_int64_t in #(
6221 cat >>confdefs.h
<<_ACEOF
6222 #define int64_t $ac_cv_c_int64_t
6229 # Make sure we can run config.sub.
6230 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
6231 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6234 $as_echo_n "checking build system type... " >&6; }
6235 if ${ac_cv_build+:} false
; then :
6236 $as_echo_n "(cached) " >&6
6238 ac_build_alias
=$build_alias
6239 test "x$ac_build_alias" = x
&&
6240 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
6241 test "x$ac_build_alias" = x
&&
6242 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
6243 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6244 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6248 $as_echo "$ac_cv_build" >&6; }
6249 case $ac_cv_build in
6251 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
6254 ac_save_IFS
=$IFS; IFS
='-'
6260 # Remember, the first character of IFS is used to create $*,
6261 # except with old shells:
6264 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6268 $as_echo_n "checking host system type... " >&6; }
6269 if ${ac_cv_host+:} false
; then :
6270 $as_echo_n "(cached) " >&6
6272 if test "x$host_alias" = x
; then
6273 ac_cv_host
=$ac_cv_build
6275 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6276 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6281 $as_echo "$ac_cv_host" >&6; }
6284 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
6287 ac_save_IFS
=$IFS; IFS
='-'
6293 # Remember, the first character of IFS is used to create $*,
6294 # except with old shells:
6297 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
6300 enable_win32_dll
=yes
6303 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
6304 if test -n "$ac_tool_prefix"; then
6305 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6306 set dummy
${ac_tool_prefix}as
; ac_word
=$2
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308 $as_echo_n "checking for $ac_word... " >&6; }
6309 if ${ac_cv_prog_AS+:} false
; then :
6310 $as_echo_n "(cached) " >&6
6312 if test -n "$AS"; then
6313 ac_cv_prog_AS
="$AS" # Let the user override the test.
6315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6319 test -z "$as_dir" && as_dir
=.
6320 for ac_exec_ext
in '' $ac_executable_extensions; do
6321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6322 ac_cv_prog_AS
="${ac_tool_prefix}as"
6323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6333 if test -n "$AS"; then
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6335 $as_echo "$AS" >&6; }
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6338 $as_echo "no" >&6; }
6343 if test -z "$ac_cv_prog_AS"; then
6345 # Extract the first word of "as", so it can be a program name with args.
6346 set dummy as
; ac_word
=$2
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6348 $as_echo_n "checking for $ac_word... " >&6; }
6349 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
6350 $as_echo_n "(cached) " >&6
6352 if test -n "$ac_ct_AS"; then
6353 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
6355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6359 test -z "$as_dir" && as_dir
=.
6360 for ac_exec_ext
in '' $ac_executable_extensions; do
6361 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6362 ac_cv_prog_ac_ct_AS
="as"
6363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6372 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
6373 if test -n "$ac_ct_AS"; then
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6375 $as_echo "$ac_ct_AS" >&6; }
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6378 $as_echo "no" >&6; }
6381 if test "x$ac_ct_AS" = x
; then
6384 case $cross_compiling:$ac_tool_warned in
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6388 ac_tool_warned
=yes ;;
6396 if test -n "$ac_tool_prefix"; then
6397 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6398 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6402 $as_echo_n "(cached) " >&6
6404 if test -n "$DLLTOOL"; then
6405 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir
=.
6412 for ac_exec_ext
in '' $ac_executable_extensions; do
6413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6414 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 DLLTOOL
=$ac_cv_prog_DLLTOOL
6425 if test -n "$DLLTOOL"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6427 $as_echo "$DLLTOOL" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430 $as_echo "no" >&6; }
6435 if test -z "$ac_cv_prog_DLLTOOL"; then
6436 ac_ct_DLLTOOL
=$DLLTOOL
6437 # Extract the first word of "dlltool", so it can be a program name with args.
6438 set dummy dlltool
; ac_word
=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6442 $as_echo_n "(cached) " >&6
6444 if test -n "$ac_ct_DLLTOOL"; then
6445 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6451 test -z "$as_dir" && as_dir
=.
6452 for ac_exec_ext
in '' $ac_executable_extensions; do
6453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6454 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6465 if test -n "$ac_ct_DLLTOOL"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6467 $as_echo "$ac_ct_DLLTOOL" >&6; }
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6473 if test "x$ac_ct_DLLTOOL" = x
; then
6476 case $cross_compiling:$ac_tool_warned in
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6480 ac_tool_warned
=yes ;;
6482 DLLTOOL
=$ac_ct_DLLTOOL
6485 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6488 if test -n "$ac_tool_prefix"; then
6489 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6490 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 $as_echo_n "checking for $ac_word... " >&6; }
6493 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6494 $as_echo_n "(cached) " >&6
6496 if test -n "$OBJDUMP"; then
6497 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6503 test -z "$as_dir" && as_dir
=.
6504 for ac_exec_ext
in '' $ac_executable_extensions; do
6505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6506 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6516 OBJDUMP
=$ac_cv_prog_OBJDUMP
6517 if test -n "$OBJDUMP"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6519 $as_echo "$OBJDUMP" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
6527 if test -z "$ac_cv_prog_OBJDUMP"; then
6528 ac_ct_OBJDUMP
=$OBJDUMP
6529 # Extract the first word of "objdump", so it can be a program name with args.
6530 set dummy objdump
; ac_word
=$2
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 $as_echo_n "checking for $ac_word... " >&6; }
6533 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6534 $as_echo_n "(cached) " >&6
6536 if test -n "$ac_ct_OBJDUMP"; then
6537 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6543 test -z "$as_dir" && as_dir
=.
6544 for ac_exec_ext
in '' $ac_executable_extensions; do
6545 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6557 if test -n "$ac_ct_OBJDUMP"; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6559 $as_echo "$ac_ct_OBJDUMP" >&6; }
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 $as_echo "no" >&6; }
6565 if test "x$ac_ct_OBJDUMP" = x
; then
6568 case $cross_compiling:$ac_tool_warned in
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6572 ac_tool_warned
=yes ;;
6574 OBJDUMP
=$ac_ct_OBJDUMP
6577 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6583 test -z "$AS" && AS
=as
6589 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6595 test -z "$OBJDUMP" && OBJDUMP
=objdump
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6606 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6611 macro_version
='2.4.6.42-b88ce'
6612 macro_revision
='2.4.6.42'
6626 ltmain
=$ac_aux_dir/ltmain.sh
6628 # Backslashify metacharacters that are still active within
6629 # double-quoted strings.
6630 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6632 # Same as above, but do not quote variable references.
6633 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6635 # Sed substitution to delay expansion of an escaped shell variable in a
6636 # double_quote_subst'ed string.
6637 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6639 # Sed substitution to delay expansion of an escaped single quote.
6640 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6642 # Sed substitution to avoid accidental globbing in evaled expressions
6643 no_glob_subst
='s/\*/\\\*/g'
6645 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6646 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6647 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6650 $as_echo_n "checking how to print strings... " >&6; }
6651 # Test print first, because it will be a builtin if present.
6652 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6653 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6655 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6658 # Use this function as a fallback that always works.
6659 func_fallback_echo ()
6661 eval 'cat <<_LTECHO_EOF
6665 ECHO='func_fallback_echo
'
6668 # func_echo_all arg...
6669 # Invoke $ECHO with all args, space-separated.
6676 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6677 $as_echo "printf" >&6; } ;;
6678 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6679 $as_echo "print -r" >&6; } ;;
6680 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6681 $as_echo "cat" >&6; } ;;
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6698 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6699 if ${ac_cv_path_SED+:} false; then :
6700 $as_echo_n "(cached) " >&6
6702 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6703 for ac_i in 1 2 3 4 5 6 7; do
6704 ac_script="$ac_script$as_nl$ac_script"
6706 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6707 { ac_script=; unset ac_script;}
6708 if test -z "$SED"; then
6709 ac_path_SED_found=false
6710 # Loop through the user's path and
test for each of PROGNAME-LIST
6711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6715 test -z "$as_dir" && as_dir
=.
6716 for ac_prog
in sed gsed
; do
6717 for ac_exec_ext
in '' $ac_executable_extensions; do
6718 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6719 as_fn_executable_p
"$ac_path_SED" ||
continue
6720 # Check for GNU ac_path_SED and select it if it is found.
6721 # Check for GNU $ac_path_SED
6722 case `"$ac_path_SED" --version 2>&1` in
6724 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6727 $as_echo_n 0123456789 >"conftest.in"
6730 cat "conftest.in" "conftest.in" >"conftest.tmp"
6731 mv "conftest.tmp" "conftest.in"
6732 cp "conftest.in" "conftest.nl"
6733 $as_echo '' >> "conftest.nl"
6734 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6735 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6736 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6737 if test $ac_count -gt ${ac_path_SED_max-0}; then
6738 # Best one so far, save it but keep looking for a better one
6739 ac_cv_path_SED
="$ac_path_SED"
6740 ac_path_SED_max
=$ac_count
6742 # 10*(2^10) chars as input seems more than enough
6743 test $ac_count -gt 10 && break
6745 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6748 $ac_path_SED_found && break 3
6753 if test -z "$ac_cv_path_SED"; then
6754 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6762 $as_echo "$ac_cv_path_SED" >&6; }
6763 SED
="$ac_cv_path_SED"
6766 test -z "$SED" && SED
=sed
6767 Xsed
="$SED -e 1s/^X//"
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6780 $as_echo_n "checking for fgrep... " >&6; }
6781 if ${ac_cv_path_FGREP+:} false
; then :
6782 $as_echo_n "(cached) " >&6
6784 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6785 then ac_cv_path_FGREP
="$GREP -F"
6787 if test -z "$FGREP"; then
6788 ac_path_FGREP_found
=false
6789 # Loop through the user's path and test for each of PROGNAME-LIST
6790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6791 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6794 test -z "$as_dir" && as_dir
=.
6795 for ac_prog
in fgrep
; do
6796 for ac_exec_ext
in '' $ac_executable_extensions; do
6797 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6798 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6799 # Check for GNU ac_path_FGREP and select it if it is found.
6800 # Check for GNU $ac_path_FGREP
6801 case `"$ac_path_FGREP" --version 2>&1` in
6803 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6806 $as_echo_n 0123456789 >"conftest.in"
6809 cat "conftest.in" "conftest.in" >"conftest.tmp"
6810 mv "conftest.tmp" "conftest.in"
6811 cp "conftest.in" "conftest.nl"
6812 $as_echo 'FGREP' >> "conftest.nl"
6813 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6814 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6815 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6816 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6817 # Best one so far, save it but keep looking for a better one
6818 ac_cv_path_FGREP
="$ac_path_FGREP"
6819 ac_path_FGREP_max
=$ac_count
6821 # 10*(2^10) chars as input seems more than enough
6822 test $ac_count -gt 10 && break
6824 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6827 $ac_path_FGREP_found && break 3
6832 if test -z "$ac_cv_path_FGREP"; then
6833 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6836 ac_cv_path_FGREP
=$FGREP
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6842 $as_echo "$ac_cv_path_FGREP" >&6; }
6843 FGREP
="$ac_cv_path_FGREP"
6846 test -z "$GREP" && GREP
=grep
6866 # Check whether --with-gnu-ld was given.
6867 if test "${with_gnu_ld+set}" = set; then :
6868 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
6874 if test yes = "$GCC"; then
6875 # Check if gcc -print-prog-name=ld gives a path.
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6877 $as_echo_n "checking for ld used by $CC... " >&6; }
6880 # gcc leaves a trailing carriage return, which upsets mingw
6881 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6883 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6886 # Accept absolute paths.
6888 re_direlt
='/[^/][^/]*/\.\./'
6889 # Canonicalize the pathname of ld
6890 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6891 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6892 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6894 test -z "$LD" && LD
=$ac_prog
6897 # If it fails, then pretend we aren't using GCC.
6901 # If it is relative, then search for the first ld in PATH.
6905 elif test yes = "$with_gnu_ld"; then
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6907 $as_echo_n "checking for GNU ld... " >&6; }
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6910 $as_echo_n "checking for non-GNU ld... " >&6; }
6912 if ${lt_cv_path_LD+:} false
; then :
6913 $as_echo_n "(cached) " >&6
6915 if test -z "$LD"; then
6916 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6917 for ac_dir
in $PATH; do
6919 test -z "$ac_dir" && ac_dir
=.
6920 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6921 lt_cv_path_LD
=$ac_dir/$ac_prog
6922 # Check to see if the program is GNU ld. I'd rather use --version,
6923 # but apparently some variants of GNU ld only accept -v.
6924 # Break only if it was the GNU/non-GNU ld that we prefer.
6925 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6926 *GNU
* |
*'with BFD'*)
6927 test no
!= "$with_gnu_ld" && break
6930 test yes != "$with_gnu_ld" && break
6937 lt_cv_path_LD
=$LD # Let the user override the test with a path.
6942 if test -n "$LD"; then
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6944 $as_echo "$LD" >&6; }
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6947 $as_echo "no" >&6; }
6949 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6951 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6952 if ${lt_cv_prog_gnu_ld+:} false
; then :
6953 $as_echo_n "(cached) " >&6
6955 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6956 case `$LD -v 2>&1 </dev/null` in
6957 *GNU
* |
*'with BFD'*)
6958 lt_cv_prog_gnu_ld
=yes
6961 lt_cv_prog_gnu_ld
=no
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6966 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6967 with_gnu_ld
=$lt_cv_prog_gnu_ld
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6978 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6979 if ${lt_cv_path_NM+:} false
; then :
6980 $as_echo_n "(cached) " >&6
6982 if test -n "$NM"; then
6983 # Let the user override the test.
6986 lt_nm_to_check
=${ac_tool_prefix}nm
6987 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6988 lt_nm_to_check
="$lt_nm_to_check nm"
6990 for lt_tmp_nm
in $lt_nm_to_check; do
6991 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6992 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6994 test -z "$ac_dir" && ac_dir
=.
6995 tmp_nm
=$ac_dir/$lt_tmp_nm
6996 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
6997 # Check to see if the nm accepts a BSD-compat flag.
6998 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6999 # nm: unknown option "B" ignored
7000 # Tru64's nm complains that /dev/null is an invalid object file
7001 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7003 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
7004 *) lt_bad_file
=/dev
/null
;;
7006 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7007 *$lt_bad_file* |
*'Invalid file or object type'*)
7008 lt_cv_path_NM
="$tmp_nm -B"
7012 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7014 lt_cv_path_NM
="$tmp_nm -p"
7018 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7019 continue # so that we can try to find one that supports BSD flags
7028 : ${lt_cv_path_NM=no}
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7032 $as_echo "$lt_cv_path_NM" >&6; }
7033 if test no
!= "$lt_cv_path_NM"; then
7036 # Didn't find any BSD compatible name lister, look for dumpbin.
7037 if test -n "$DUMPBIN"; then :
7038 # Let the user override the test.
7040 if test -n "$ac_tool_prefix"; then
7041 for ac_prog
in dumpbin
"link -dump"
7043 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7044 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046 $as_echo_n "checking for $ac_word... " >&6; }
7047 if ${ac_cv_prog_DUMPBIN+:} false
; then :
7048 $as_echo_n "(cached) " >&6
7050 if test -n "$DUMPBIN"; then
7051 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7057 test -z "$as_dir" && as_dir
=.
7058 for ac_exec_ext
in '' $ac_executable_extensions; do
7059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7060 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070 DUMPBIN
=$ac_cv_prog_DUMPBIN
7071 if test -n "$DUMPBIN"; then
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7073 $as_echo "$DUMPBIN" >&6; }
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076 $as_echo "no" >&6; }
7080 test -n "$DUMPBIN" && break
7083 if test -z "$DUMPBIN"; then
7084 ac_ct_DUMPBIN
=$DUMPBIN
7085 for ac_prog
in dumpbin
"link -dump"
7087 # Extract the first word of "$ac_prog", so it can be a program name with args.
7088 set dummy
$ac_prog; ac_word
=$2
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090 $as_echo_n "checking for $ac_word... " >&6; }
7091 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7092 $as_echo_n "(cached) " >&6
7094 if test -n "$ac_ct_DUMPBIN"; then
7095 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7101 test -z "$as_dir" && as_dir
=.
7102 for ac_exec_ext
in '' $ac_executable_extensions; do
7103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7104 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7114 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7115 if test -n "$ac_ct_DUMPBIN"; then
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7117 $as_echo "$ac_ct_DUMPBIN" >&6; }
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120 $as_echo "no" >&6; }
7124 test -n "$ac_ct_DUMPBIN" && break
7127 if test "x$ac_ct_DUMPBIN" = x
; then
7130 case $cross_compiling:$ac_tool_warned in
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134 ac_tool_warned
=yes ;;
7136 DUMPBIN
=$ac_ct_DUMPBIN
7140 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7142 DUMPBIN
="$DUMPBIN -symbols -headers"
7150 if test : != "$DUMPBIN"; then
7154 test -z "$NM" && NM
=nm
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7162 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7163 if ${lt_cv_nm_interface+:} false
; then :
7164 $as_echo_n "(cached) " >&6
7166 lt_cv_nm_interface
="BSD nm"
7167 echo "int some_variable = 0;" > conftest.
$ac_ext
7168 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7169 (eval "$ac_compile" 2>conftest.err
)
7170 cat conftest.err
>&5
7171 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7172 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7173 cat conftest.err
>&5
7174 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7175 cat conftest.out
>&5
7176 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7177 lt_cv_nm_interface
="MS dumpbin"
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7182 $as_echo "$lt_cv_nm_interface" >&6; }
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7185 $as_echo_n "checking whether ln -s works... " >&6; }
7187 if test "$LN_S" = "ln -s"; then
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7189 $as_echo "yes" >&6; }
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7192 $as_echo "no, using $LN_S" >&6; }
7195 # find the maximum length of command line arguments
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7197 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7198 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7199 $as_echo_n "(cached) " >&6
7206 # On DJGPP, this test can blow up pretty badly due to problems in libc
7207 # (any single argument exceeding 2000 bytes causes a buffer overrun
7208 # during glob expansion). Even if it were fixed, the result of this
7209 # check would be larger than it should be.
7210 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7214 # Under GNU Hurd, this test is not required because there is
7215 # no limit to the length of command line arguments.
7216 # Libtool will interpret -1 as no limit whatsoever
7217 lt_cv_sys_max_cmd_len
=-1;
7220 cygwin
* | mingw
* | cegcc
*)
7221 # On Win9x/ME, this test blows up -- it succeeds, but takes
7222 # about 5 minutes as the teststring grows exponentially.
7223 # Worse, since 9x/ME are not pre-emptively multitasking,
7224 # you end up with a "frozen" computer, even though with patience
7225 # the test eventually succeeds (with a max line length of 256k).
7226 # Instead, let's just punt: use the minimum linelength reported by
7227 # all of the supported platforms: 8192 (on NT/2K/XP).
7228 lt_cv_sys_max_cmd_len
=8192;
7232 # On MiNT this can take a long time and run out of memory.
7233 lt_cv_sys_max_cmd_len
=8192;
7237 # On AmigaOS with pdksh, this test takes hours, literally.
7238 # So we just punt and use a minimum line length of 8192.
7239 lt_cv_sys_max_cmd_len
=8192;
7242 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
7243 # This has been around since 386BSD, at least. Likely further.
7244 if test -x /sbin
/sysctl
; then
7245 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7246 elif test -x /usr
/sbin
/sysctl
; then
7247 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7249 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7251 # And add a safety zone
7252 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7253 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7257 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7258 lt_cv_sys_max_cmd_len
=196608
7262 # The test takes a long time on OS/2.
7263 lt_cv_sys_max_cmd_len
=8192
7267 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7268 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7269 # nice to cause kernel panics so lets avoid the loop below.
7270 # First set a reasonable default.
7271 lt_cv_sys_max_cmd_len
=16384
7273 if test -x /sbin
/sysconfig
; then
7274 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7275 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7280 lt_cv_sys_max_cmd_len
=102400
7282 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7283 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7284 if test -n "$kargmax"; then
7285 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7287 lt_cv_sys_max_cmd_len
=32768
7291 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7292 if test -n "$lt_cv_sys_max_cmd_len" && \
7293 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
7294 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7295 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7297 # Make teststring a little bigger before we do anything with it.
7298 # a 1K string should be a reasonable start.
7299 for i
in 1 2 3 4 5 6 7 8; do
7300 teststring
=$teststring$teststring
7302 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7303 # If test is not a shell built-in, we'll probably end up computing a
7304 # maximum length that is only half of the actual maximum length, but
7306 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
7307 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7308 test 17 != "$i" # 1/2 MB should be enough
7311 teststring
=$teststring$teststring
7313 # Only check the string length outside the loop.
7314 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7316 # Add a significant safety factor because C++ compilers can tack on
7317 # massive amounts of additional arguments before passing them to the
7318 # linker. It appears as though 1/2 is a usable value.
7319 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7326 if test -n "$lt_cv_sys_max_cmd_len"; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7328 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7331 $as_echo "none" >&6; }
7333 max_cmd_len
=$lt_cv_sys_max_cmd_len
7344 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7354 # test EBCDIC or ASCII
7355 case `echo X|tr X '\101'` in
7356 A
) # ASCII based system
7357 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7358 lt_SP2NL
='tr \040 \012'
7359 lt_NL2SP
='tr \015\012 \040\040'
7361 *) # EBCDIC based system
7362 lt_SP2NL
='tr \100 \n'
7363 lt_NL2SP
='tr \r\n \100\100'
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7376 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7377 if ${lt_cv_to_host_file_cmd+:} false
; then :
7378 $as_echo_n "(cached) " >&6
7383 *-*-mingw* ) # actually msys
7384 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
7387 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
7389 * ) # otherwise, assume *nix
7390 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
7396 *-*-mingw* ) # actually msys
7397 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
7400 lt_cv_to_host_file_cmd
=func_convert_file_noop
7402 * ) # otherwise, assume *nix
7403 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
7407 * ) # unhandled hosts (and "normal" native builds)
7408 lt_cv_to_host_file_cmd
=func_convert_file_noop
7414 to_host_file_cmd
=$lt_cv_to_host_file_cmd
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7416 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7423 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7424 if ${lt_cv_to_tool_file_cmd+:} false
; then :
7425 $as_echo_n "(cached) " >&6
7427 #assume ordinary cross tools, or native build.
7428 lt_cv_to_tool_file_cmd
=func_convert_file_noop
7432 *-*-mingw* ) # actually msys
7433 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
7441 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7443 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7450 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7451 if ${lt_cv_ld_reload_flag+:} false
; then :
7452 $as_echo_n "(cached) " >&6
7454 lt_cv_ld_reload_flag
='-r'
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7457 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7458 reload_flag
=$lt_cv_ld_reload_flag
7459 case $reload_flag in
7461 *) reload_flag
=" $reload_flag" ;;
7463 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7465 cygwin
* | mingw
* | pw32
* | cegcc
*)
7466 if test yes != "$GCC"; then
7471 if test yes = "$GCC"; then
7472 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7474 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7487 if test -n "$ac_tool_prefix"; then
7488 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7489 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7491 $as_echo_n "checking for $ac_word... " >&6; }
7492 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7493 $as_echo_n "(cached) " >&6
7495 if test -n "$OBJDUMP"; then
7496 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7502 test -z "$as_dir" && as_dir
=.
7503 for ac_exec_ext
in '' $ac_executable_extensions; do
7504 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7505 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7515 OBJDUMP
=$ac_cv_prog_OBJDUMP
7516 if test -n "$OBJDUMP"; then
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7518 $as_echo "$OBJDUMP" >&6; }
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7526 if test -z "$ac_cv_prog_OBJDUMP"; then
7527 ac_ct_OBJDUMP
=$OBJDUMP
7528 # Extract the first word of "objdump", so it can be a program name with args.
7529 set dummy objdump
; ac_word
=$2
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7531 $as_echo_n "checking for $ac_word... " >&6; }
7532 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7533 $as_echo_n "(cached) " >&6
7535 if test -n "$ac_ct_OBJDUMP"; then
7536 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7542 test -z "$as_dir" && as_dir
=.
7543 for ac_exec_ext
in '' $ac_executable_extensions; do
7544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7545 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7555 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7556 if test -n "$ac_ct_OBJDUMP"; then
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7558 $as_echo "$ac_ct_OBJDUMP" >&6; }
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7561 $as_echo "no" >&6; }
7564 if test "x$ac_ct_OBJDUMP" = x
; then
7567 case $cross_compiling:$ac_tool_warned in
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7571 ac_tool_warned
=yes ;;
7573 OBJDUMP
=$ac_ct_OBJDUMP
7576 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7579 test -z "$OBJDUMP" && OBJDUMP
=objdump
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7587 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7588 if ${lt_cv_deplibs_check_method+:} false
; then :
7589 $as_echo_n "(cached) " >&6
7591 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7592 lt_cv_file_magic_test_file
=
7593 lt_cv_deplibs_check_method
='unknown'
7594 # Need to set the preceding variable on all platforms that support
7595 # interlibrary dependencies.
7596 # 'none' -- dependencies not supported.
7597 # 'unknown' -- same as none, but documents that we really don't know.
7598 # 'pass_all' -- all dependencies passed with no checks.
7599 # 'test_compile' -- check by making test program.
7600 # 'file_magic [[regex]]' -- check by looking for files in library path
7601 # that responds to the $file_magic_cmd with a given extended regex.
7602 # If you have 'file' or equivalent on your system and you're not sure
7603 # whether 'pass_all' will *always* work, you probably want this one.
7607 lt_cv_deplibs_check_method
=pass_all
7611 lt_cv_deplibs_check_method
=pass_all
7615 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7616 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7617 lt_cv_file_magic_test_file
=/shlib
/libc.so
7621 # func_win32_libid is a shell function defined in ltmain.sh
7622 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7623 lt_cv_file_magic_cmd
='func_win32_libid'
7627 # Base MSYS/MinGW do not provide the 'file' command needed by
7628 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7629 # unless we find 'file', for example because we are cross-compiling.
7630 if ( file / ) >/dev
/null
2>&1; then
7631 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7632 lt_cv_file_magic_cmd
='func_win32_libid'
7634 # Keep this pattern in sync with the one in func_win32_libid.
7635 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7636 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7641 # use the weaker test based on 'objdump'. See mingw*.
7642 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7643 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7646 darwin
* | rhapsody
*)
7647 lt_cv_deplibs_check_method
=pass_all
7650 freebsd
* | dragonfly
*)
7651 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7654 # Not sure whether the presence of OpenBSD here was a mistake.
7655 # Let's accept both of them until this is cleared up.
7656 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7657 lt_cv_file_magic_cmd
=/usr
/bin
/file
7658 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7662 lt_cv_deplibs_check_method
=pass_all
7667 lt_cv_deplibs_check_method
=pass_all
7670 hpux10.20
* | hpux11
*)
7671 lt_cv_file_magic_cmd
=/usr
/bin
/file
7674 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7675 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7678 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]'
7679 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7682 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7683 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7689 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7690 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7693 irix5
* | irix6
* | nonstopux
*)
7695 *-32|
*"-32 ") libmagic
=32-bit;;
7696 *-n32|
*"-n32 ") libmagic
=N32
;;
7697 *-64|
*"-64 ") libmagic
=64-bit;;
7698 *) libmagic
=never-match
;;
7700 lt_cv_deplibs_check_method
=pass_all
7703 # This must be glibc/ELF.
7704 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
7705 lt_cv_deplibs_check_method
=pass_all
7709 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7710 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7712 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7717 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7718 lt_cv_file_magic_cmd
=/usr
/bin
/file
7719 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7723 lt_cv_deplibs_check_method
=pass_all
7727 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7728 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7730 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7734 osf3
* | osf4
* | osf5
*)
7735 lt_cv_deplibs_check_method
=pass_all
7739 lt_cv_deplibs_check_method
=pass_all
7743 lt_cv_deplibs_check_method
=pass_all
7746 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7747 lt_cv_deplibs_check_method
=pass_all
7751 case $host_vendor in
7753 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]'
7754 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7757 lt_cv_deplibs_check_method
=pass_all
7760 lt_cv_file_magic_cmd
='/bin/file'
7761 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7764 lt_cv_file_magic_cmd
='/bin/file'
7765 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7766 lt_cv_file_magic_test_file
=/lib
/libc.so
7769 lt_cv_deplibs_check_method
=pass_all
7772 lt_cv_deplibs_check_method
=pass_all
7778 lt_cv_deplibs_check_method
=pass_all
7781 lt_cv_deplibs_check_method
=pass_all
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7787 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7791 if test "$build" = "$host"; then
7794 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
7797 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7803 file_magic_cmd
=$lt_cv_file_magic_cmd
7804 deplibs_check_method
=$lt_cv_deplibs_check_method
7805 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7828 if test -n "$ac_tool_prefix"; then
7829 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7830 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7832 $as_echo_n "checking for $ac_word... " >&6; }
7833 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7834 $as_echo_n "(cached) " >&6
7836 if test -n "$DLLTOOL"; then
7837 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir
=.
7844 for ac_exec_ext
in '' $ac_executable_extensions; do
7845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7856 DLLTOOL
=$ac_cv_prog_DLLTOOL
7857 if test -n "$DLLTOOL"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7859 $as_echo "$DLLTOOL" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7867 if test -z "$ac_cv_prog_DLLTOOL"; then
7868 ac_ct_DLLTOOL
=$DLLTOOL
7869 # Extract the first word of "dlltool", so it can be a program name with args.
7870 set dummy dlltool
; ac_word
=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 $as_echo_n "checking for $ac_word... " >&6; }
7873 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7874 $as_echo_n "(cached) " >&6
7876 if test -n "$ac_ct_DLLTOOL"; then
7877 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7883 test -z "$as_dir" && as_dir
=.
7884 for ac_exec_ext
in '' $ac_executable_extensions; do
7885 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7897 if test -n "$ac_ct_DLLTOOL"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7899 $as_echo "$ac_ct_DLLTOOL" >&6; }
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902 $as_echo "no" >&6; }
7905 if test "x$ac_ct_DLLTOOL" = x
; then
7908 case $cross_compiling:$ac_tool_warned in
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7912 ac_tool_warned
=yes ;;
7914 DLLTOOL
=$ac_ct_DLLTOOL
7917 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7920 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7929 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7930 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
7931 $as_echo_n "(cached) " >&6
7933 lt_cv_sharedlib_from_linklib_cmd
='unknown'
7936 cygwin
* | mingw
* | pw32
* | cegcc
*)
7937 # two different shell functions defined in ltmain.sh;
7938 # decide which one to use based on capabilities of $DLLTOOL
7939 case `$DLLTOOL --help 2>&1` in
7940 *--identify-strict*)
7941 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
7944 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
7949 # fallback: assume linklib IS sharedlib
7950 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7956 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7957 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
7958 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
7966 if test -n "$ac_tool_prefix"; then
7969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7970 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7972 $as_echo_n "checking for $ac_word... " >&6; }
7973 if ${ac_cv_prog_AR+:} false
; then :
7974 $as_echo_n "(cached) " >&6
7976 if test -n "$AR"; then
7977 ac_cv_prog_AR
="$AR" # Let the user override the test.
7979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7983 test -z "$as_dir" && as_dir
=.
7984 for ac_exec_ext
in '' $ac_executable_extensions; do
7985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7986 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
7987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7997 if test -n "$AR"; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7999 $as_echo "$AR" >&6; }
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8002 $as_echo "no" >&6; }
8006 test -n "$AR" && break
8009 if test -z "$AR"; then
8013 # Extract the first word of "$ac_prog", so it can be a program name with args.
8014 set dummy
$ac_prog; ac_word
=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8016 $as_echo_n "checking for $ac_word... " >&6; }
8017 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
8018 $as_echo_n "(cached) " >&6
8020 if test -n "$ac_ct_AR"; then
8021 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8027 test -z "$as_dir" && as_dir
=.
8028 for ac_exec_ext
in '' $ac_executable_extensions; do
8029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8030 ac_cv_prog_ac_ct_AR
="$ac_prog"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8041 if test -n "$ac_ct_AR"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8043 $as_echo "$ac_ct_AR" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 $as_echo "no" >&6; }
8050 test -n "$ac_ct_AR" && break
8053 if test "x$ac_ct_AR" = x
; then
8056 case $cross_compiling:$ac_tool_warned in
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8060 ac_tool_warned
=yes ;;
8073 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
8074 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
8075 # higher priority because thats what people were doing historically (setting
8076 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
8077 # variable obsoleted/removed.
8079 test ${AR_FLAGS+y} || AR_FLAGS
=${ARFLAGS-cr}
8080 lt_ar_flags
=$AR_FLAGS
8087 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
8088 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8096 $as_echo_n "checking for archiver @FILE support... " >&6; }
8097 if ${lt_cv_ar_at_file+:} false
; then :
8098 $as_echo_n "(cached) " >&6
8101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8102 /* end confdefs.h. */
8112 if ac_fn_c_try_compile
"$LINENO"; then :
8113 echo conftest.
$ac_objext > conftest.lst
8114 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8115 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8116 (eval $lt_ar_try) 2>&5
8118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8119 test $ac_status = 0; }
8120 if test 0 -eq "$ac_status"; then
8121 # Ensure the archiver fails upon bogus file names.
8122 rm -f conftest.
$ac_objext libconftest.a
8123 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8124 (eval $lt_ar_try) 2>&5
8126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8127 test $ac_status = 0; }
8128 if test 0 -ne "$ac_status"; then
8132 rm -f conftest.
* libconftest.a
8135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8139 $as_echo "$lt_cv_ar_at_file" >&6; }
8141 if test no
= "$lt_cv_ar_at_file"; then
8144 archiver_list_spec
=$lt_cv_ar_at_file
8153 if test -n "$ac_tool_prefix"; then
8154 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8155 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8157 $as_echo_n "checking for $ac_word... " >&6; }
8158 if ${ac_cv_prog_STRIP+:} false
; then :
8159 $as_echo_n "(cached) " >&6
8161 if test -n "$STRIP"; then
8162 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8168 test -z "$as_dir" && as_dir
=.
8169 for ac_exec_ext
in '' $ac_executable_extensions; do
8170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8171 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8181 STRIP
=$ac_cv_prog_STRIP
8182 if test -n "$STRIP"; then
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8184 $as_echo "$STRIP" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187 $as_echo "no" >&6; }
8192 if test -z "$ac_cv_prog_STRIP"; then
8194 # Extract the first word of "strip", so it can be a program name with args.
8195 set dummy strip
; ac_word
=$2
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8197 $as_echo_n "checking for $ac_word... " >&6; }
8198 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
8199 $as_echo_n "(cached) " >&6
8201 if test -n "$ac_ct_STRIP"; then
8202 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8208 test -z "$as_dir" && as_dir
=.
8209 for ac_exec_ext
in '' $ac_executable_extensions; do
8210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8211 ac_cv_prog_ac_ct_STRIP
="strip"
8212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8221 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8222 if test -n "$ac_ct_STRIP"; then
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8224 $as_echo "$ac_ct_STRIP" >&6; }
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8227 $as_echo "no" >&6; }
8230 if test "x$ac_ct_STRIP" = x
; then
8233 case $cross_compiling:$ac_tool_warned in
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8237 ac_tool_warned
=yes ;;
8242 STRIP
="$ac_cv_prog_STRIP"
8245 test -z "$STRIP" && STRIP
=:
8252 if test -n "$ac_tool_prefix"; then
8253 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8254 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if ${ac_cv_prog_RANLIB+:} false
; then :
8258 $as_echo_n "(cached) " >&6
8260 if test -n "$RANLIB"; then
8261 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8267 test -z "$as_dir" && as_dir
=.
8268 for ac_exec_ext
in '' $ac_executable_extensions; do
8269 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8270 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8280 RANLIB
=$ac_cv_prog_RANLIB
8281 if test -n "$RANLIB"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8283 $as_echo "$RANLIB" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8291 if test -z "$ac_cv_prog_RANLIB"; then
8292 ac_ct_RANLIB
=$RANLIB
8293 # Extract the first word of "ranlib", so it can be a program name with args.
8294 set dummy ranlib
; ac_word
=$2
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8296 $as_echo_n "checking for $ac_word... " >&6; }
8297 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8298 $as_echo_n "(cached) " >&6
8300 if test -n "$ac_ct_RANLIB"; then
8301 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8307 test -z "$as_dir" && as_dir
=.
8308 for ac_exec_ext
in '' $ac_executable_extensions; do
8309 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8310 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8320 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8321 if test -n "$ac_ct_RANLIB"; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8323 $as_echo "$ac_ct_RANLIB" >&6; }
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8326 $as_echo "no" >&6; }
8329 if test "x$ac_ct_RANLIB" = x
; then
8332 case $cross_compiling:$ac_tool_warned in
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8336 ac_tool_warned
=yes ;;
8338 RANLIB
=$ac_ct_RANLIB
8341 RANLIB
="$ac_cv_prog_RANLIB"
8344 test -z "$RANLIB" && RANLIB
=:
8351 # Determine commands to create old-style static archives.
8352 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8353 old_postinstall_cmds
='chmod 644 $oldlib'
8354 old_postuninstall_cmds
=
8356 if test -n "$RANLIB"; then
8359 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8362 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8365 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8370 lock_old_archive_extraction
=yes ;;
8372 lock_old_archive_extraction
=no
;;
8413 # If no C compiler was specified, use CC.
8416 # If no C compiler flags were specified, use CFLAGS.
8417 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8419 # Allow CC to be a program name with arguments.
8423 # Check for command to grab the raw symbol name followed by C symbol from nm.
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8425 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8426 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8427 $as_echo_n "(cached) " >&6
8430 # These are sane defaults that work on at least a few old systems.
8431 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8433 # Character class describing NM global symbol codes.
8434 symcode
='[BCDEGRST]'
8436 # Regexp to match symbols that can be accessed directly from C.
8437 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8439 # Define system-specific variables.
8444 cygwin
* | mingw
* | pw32
* | cegcc
*)
8445 symcode
='[ABCDGISTW]'
8448 if test ia64
= "$host_cpu"; then
8449 symcode
='[ABCDEGRST]'
8453 symcode
='[BCDEGRST]'
8456 symcode
='[BCDEGQRST]'
8467 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8475 # If we're using GNU nm, then use its standard symbol codes.
8476 case `$NM -V 2>&1` in
8477 *GNU
* |
*'with BFD'*)
8478 symcode
='[ABCDGIRSTW]' ;;
8481 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8482 # Gets list of data symbols to import.
8483 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8484 # Adjust the below global symbol transforms to fixup imported variables.
8485 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8486 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
8487 lt_c_name_lib_hook
="\
8488 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
8489 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
8491 # Disable hooks by default.
8492 lt_cv_sys_global_symbol_to_import
=
8498 # Transform an extracted symbol line into a proper C declaration.
8499 # Some systems (esp. on ia64) link data and code symbols differently,
8500 # so use this general approach.
8501 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
8503 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8504 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8506 # Transform an extracted symbol line into symbol name and symbol address
8507 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
8509 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8510 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
8512 # Transform an extracted symbol line into symbol name with lib prefix and
8514 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
8515 $lt_c_name_lib_hook\
8516 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8517 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
8518 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
8520 # Handle CRLF in mingw tool chain
8524 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8528 # Try without a prefix underscore, then with it.
8529 for ac_symprfx
in "" "_"; do
8531 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8532 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8534 # Write the raw and C identifiers.
8535 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8536 # Fake it for dumpbin and say T for any non-static function,
8537 # D for any global variable and I for any imported variable.
8538 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
8539 # which start with @ or ?.
8540 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8541 " {last_section=section; section=\$ 3};"\
8542 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8543 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8544 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8545 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8546 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8547 " \$ 0!~/External *\|/{next};"\
8548 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8549 " {if(hide[section]) next};"\
8550 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8551 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8552 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8553 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8554 " ' prfx=^$ac_symprfx"
8556 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8558 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8560 # Check to see that the pipe works correctly.
8564 cat > conftest.
$ac_ext <<_LT_EOF
8569 void nm_test_func(void);
8570 void nm_test_func(void){}
8574 int main(){nm_test_var='a';nm_test_func();return(0);}
8577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8578 (eval $ac_compile) 2>&5
8580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8581 test $ac_status = 0; }; then
8582 # Now try to grab the symbols.
8584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8585 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8588 test $ac_status = 0; } && test -s "$nlist"; then
8589 # Try sorting and uniquifying the output.
8590 if sort "$nlist" |
uniq > "$nlist"T
; then
8591 mv -f "$nlist"T
"$nlist"
8596 # Make sure that we snagged all the symbols we need.
8597 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8598 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8599 cat <<_LT_EOF > conftest.$ac_ext
8600 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8601 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8602 /* DATA imports from DLLs on WIN32 can't be const, because runtime
8603 relocations are performed -- see ld's documentation on pseudo-relocs. */
8604 # define LT_DLSYM_CONST
8605 #elif defined __osf__
8606 /* This system does not cope well with relocations in const data. */
8607 # define LT_DLSYM_CONST
8609 # define LT_DLSYM_CONST const
8617 # Now generate the symbol file.
8618 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8620 cat <<_LT_EOF >> conftest.$ac_ext
8622 /* The mapping between symbol names and symbols. */
8623 LT_DLSYM_CONST struct {
8627 lt__PROGRAM__LTX_preloaded_symbols[] =
8629 { "@PROGRAM@", (void *) 0 },
8631 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8632 cat <<\_LT_EOF
>> conftest.
$ac_ext
8636 /* This works around a problem
in FreeBSD linker
*/
8637 #ifdef FREEBSD_WORKAROUND
8638 static const void
*lt_preloaded_setup
() {
8639 return lt__PROGRAM__LTX_preloaded_symbols
;
8647 # Now try linking the two files.
8648 mv conftest.
$ac_objext conftstm.
$ac_objext
8649 lt_globsym_save_LIBS
=$LIBS
8650 lt_globsym_save_CFLAGS
=$CFLAGS
8651 LIBS
=conftstm.
$ac_objext
8652 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8653 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8654 (eval $ac_link) 2>&5
8656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8657 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
8660 LIBS
=$lt_globsym_save_LIBS
8661 CFLAGS
=$lt_globsym_save_CFLAGS
8663 echo "cannot find nm_test_func in $nlist" >&5
8666 echo "cannot find nm_test_var in $nlist" >&5
8669 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8672 echo "$progname: failed program was:" >&5
8673 cat conftest.
$ac_ext >&5
8675 rm -rf conftest
* conftst
*
8677 # Do not use the global_symbol_pipe unless it works.
8678 if test yes = "$pipe_works"; then
8681 lt_cv_sys_global_symbol_pipe
=
8687 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8688 lt_cv_sys_global_symbol_to_cdecl
=
8690 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8692 $as_echo "failed" >&6; }
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8695 $as_echo "ok" >&6; }
8698 # Response file support.
8699 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8700 nm_file_list_spec
='@'
8701 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
8702 nm_file_list_spec
='@'
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8742 $as_echo_n "checking for sysroot... " >&6; }
8744 # Check whether --with-sysroot was given.
8745 if test "${with_sysroot+set}" = set; then :
8746 withval
=$with_sysroot;
8753 case $with_sysroot in #(
8755 if test yes = "$GCC"; then
8756 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
8760 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8766 $as_echo "$with_sysroot" >&6; }
8767 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8772 $as_echo "${lt_sysroot:-no}" >&6; }
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8779 $as_echo_n "checking for a working dd... " >&6; }
8780 if ${ac_cv_path_lt_DD+:} false
; then :
8781 $as_echo_n "(cached) " >&6
8783 printf 0123456789abcdef0123456789abcdef
>conftest.i
8784 cat conftest.i conftest.i
>conftest2.i
8786 if test -z "$lt_DD"; then
8787 ac_path_lt_DD_found
=false
8788 # Loop through the user's path and test for each of PROGNAME-LIST
8789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8793 test -z "$as_dir" && as_dir
=.
8794 for ac_prog
in dd; do
8795 for ac_exec_ext
in '' $ac_executable_extensions; do
8796 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
8797 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
8798 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8799 cmp -s conftest.i conftest.out \
8800 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
8802 $ac_path_lt_DD_found && break 3
8807 if test -z "$ac_cv_path_lt_DD"; then
8811 ac_cv_path_lt_DD
=$lt_DD
8814 rm -f conftest.i conftest2.i conftest.out
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8817 $as_echo "$ac_cv_path_lt_DD" >&6; }
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8821 $as_echo_n "checking how to truncate binary pipes... " >&6; }
8822 if ${lt_cv_truncate_bin+:} false
; then :
8823 $as_echo_n "(cached) " >&6
8825 printf 0123456789abcdef0123456789abcdef
>conftest.i
8826 cat conftest.i conftest.i
>conftest2.i
8828 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8829 cmp -s conftest.i conftest.out \
8830 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
8832 rm -f conftest.i conftest2.i conftest.out
8833 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8836 $as_echo "$lt_cv_truncate_bin" >&6; }
8844 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
8847 for cc_temp
in $
*""; do
8849 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8850 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8855 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8858 # Check whether --enable-libtool-lock was given.
8859 if test "${enable_libtool_lock+set}" = set; then :
8860 enableval
=$enable_libtool_lock;
8863 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
8865 # Some flags need to be propagated to the compiler or linker for good
8869 # Find out what ABI is being produced by ac_compile, and set mode
8870 # options accordingly.
8871 echo 'int i;' > conftest.
$ac_ext
8872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8873 (eval $ac_compile) 2>&5
8875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8876 test $ac_status = 0; }; then
8877 case `/usr/bin/file conftest.$ac_objext` in
8889 # Find out what ABI is being produced by ac_compile, and set linker
8890 # options accordingly.
8891 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8893 (eval $ac_compile) 2>&5
8895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8896 test $ac_status = 0; }; then
8897 if test yes = "$lt_cv_prog_gnu_ld"; then
8898 case `/usr/bin/file conftest.$ac_objext` in
8900 LD
="${LD-ld} -melf32bsmip"
8903 LD
="${LD-ld} -melf32bmipn32"
8906 LD
="${LD-ld} -melf64bmip"
8910 case `/usr/bin/file conftest.$ac_objext` in
8927 # Find out what ABI is being produced by ac_compile, and set linker
8928 # options accordingly.
8929 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8931 (eval $ac_compile) 2>&5
8933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8934 test $ac_status = 0; }; then
8936 case `/usr/bin/file conftest.$ac_objext` in
8944 case `/usr/bin/file conftest.$ac_objext` in
8946 emul
="${emul}btsmip"
8949 emul
="${emul}ltsmip"
8952 case `/usr/bin/file conftest.$ac_objext` in
8957 LD
="${LD-ld} -m $emul"
8962 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8963 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8964 # Find out what ABI is being produced by ac_compile, and set linker
8965 # options accordingly. Note that the listed cases only cover the
8966 # situations where additional linker options are needed (such as when
8967 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8968 # vice versa); the common cases where no linker options are needed do
8969 # not appear in the list.
8970 echo 'int i;' > conftest.
$ac_ext
8971 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8972 (eval $ac_compile) 2>&5
8974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8975 test $ac_status = 0; }; then
8976 case `/usr/bin/file conftest.o` in
8979 x86_64-
*kfreebsd
*-gnu)
8980 LD
="${LD-ld} -m elf_i386_fbsd"
8983 case `/usr/bin/file conftest.o` in
8985 LD
="${LD-ld} -m elf32_x86_64"
8988 LD
="${LD-ld} -m elf_i386"
8992 powerpc64le-
*linux
*)
8993 LD
="${LD-ld} -m elf32lppclinux"
8996 LD
="${LD-ld} -m elf32ppclinux"
8999 LD
="${LD-ld} -m elf_s390"
9002 LD
="${LD-ld} -m elf32_sparc"
9008 x86_64-
*kfreebsd
*-gnu)
9009 LD
="${LD-ld} -m elf_x86_64_fbsd"
9012 LD
="${LD-ld} -m elf_x86_64"
9015 LD
="${LD-ld} -m elf64lppc"
9018 LD
="${LD-ld} -m elf64ppc"
9020 s390
*-*linux
*|s390
*-*tpf
*)
9021 LD
="${LD-ld} -m elf64_s390"
9024 LD
="${LD-ld} -m elf64_sparc"
9034 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9036 CFLAGS
="$CFLAGS -belf"
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9038 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9039 if ${lt_cv_cc_needs_belf+:} false
; then :
9040 $as_echo_n "(cached) " >&6
9043 ac_cpp
='$CPP $CPPFLAGS'
9044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9059 if ac_fn_c_try_link
"$LINENO"; then :
9060 lt_cv_cc_needs_belf
=yes
9062 lt_cv_cc_needs_belf
=no
9064 rm -f core conftest.err conftest.
$ac_objext \
9065 conftest
$ac_exeext conftest.
$ac_ext
9067 ac_cpp
='$CPP $CPPFLAGS'
9068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9074 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9075 if test yes != "$lt_cv_cc_needs_belf"; then
9076 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9081 # Find out what ABI is being produced by ac_compile, and set linker
9082 # options accordingly.
9083 echo 'int i;' > conftest.
$ac_ext
9084 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9085 (eval $ac_compile) 2>&5
9087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9088 test $ac_status = 0; }; then
9089 case `/usr/bin/file conftest.o` in
9091 case $lt_cv_prog_gnu_ld in
9094 i?
86-*-solaris*|x86_64-
*-solaris*)
9095 LD
="${LD-ld} -m elf_x86_64"
9098 LD
="${LD-ld} -m elf64_sparc"
9101 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9102 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
9107 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
9119 need_locks
=$enable_libtool_lock
9121 if test -n "$ac_tool_prefix"; then
9122 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9123 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9125 $as_echo_n "checking for $ac_word... " >&6; }
9126 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
9127 $as_echo_n "(cached) " >&6
9129 if test -n "$MANIFEST_TOOL"; then
9130 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
9132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9136 test -z "$as_dir" && as_dir
=.
9137 for ac_exec_ext
in '' $ac_executable_extensions; do
9138 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9139 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
9140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9149 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
9150 if test -n "$MANIFEST_TOOL"; then
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9152 $as_echo "$MANIFEST_TOOL" >&6; }
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9155 $as_echo "no" >&6; }
9160 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9161 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
9162 # Extract the first word of "mt", so it can be a program name with args.
9163 set dummy mt
; ac_word
=$2
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9165 $as_echo_n "checking for $ac_word... " >&6; }
9166 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
9167 $as_echo_n "(cached) " >&6
9169 if test -n "$ac_ct_MANIFEST_TOOL"; then
9170 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9176 test -z "$as_dir" && as_dir
=.
9177 for ac_exec_ext
in '' $ac_executable_extensions; do
9178 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9179 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
9180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9189 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9190 if test -n "$ac_ct_MANIFEST_TOOL"; then
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9192 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9195 $as_echo "no" >&6; }
9198 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
9201 case $cross_compiling:$ac_tool_warned in
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9205 ac_tool_warned
=yes ;;
9207 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
9210 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
9213 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9215 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9216 if ${lt_cv_path_mainfest_tool+:} false
; then :
9217 $as_echo_n "(cached) " >&6
9219 lt_cv_path_mainfest_tool
=no
9220 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9221 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
9222 cat conftest.err
>&5
9223 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
9224 lt_cv_path_mainfest_tool
=yes
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9229 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9230 if test yes != "$lt_cv_path_mainfest_tool"; then
9240 rhapsody
* | darwin
*)
9241 if test -n "$ac_tool_prefix"; then
9242 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9243 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9245 $as_echo_n "checking for $ac_word... " >&6; }
9246 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
9247 $as_echo_n "(cached) " >&6
9249 if test -n "$DSYMUTIL"; then
9250 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
9252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9256 test -z "$as_dir" && as_dir
=.
9257 for ac_exec_ext
in '' $ac_executable_extensions; do
9258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9259 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
9260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9269 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
9270 if test -n "$DSYMUTIL"; then
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9272 $as_echo "$DSYMUTIL" >&6; }
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9275 $as_echo "no" >&6; }
9280 if test -z "$ac_cv_prog_DSYMUTIL"; then
9281 ac_ct_DSYMUTIL
=$DSYMUTIL
9282 # Extract the first word of "dsymutil", so it can be a program name with args.
9283 set dummy dsymutil
; ac_word
=$2
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9285 $as_echo_n "checking for $ac_word... " >&6; }
9286 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
9287 $as_echo_n "(cached) " >&6
9289 if test -n "$ac_ct_DSYMUTIL"; then
9290 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
9292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9296 test -z "$as_dir" && as_dir
=.
9297 for ac_exec_ext
in '' $ac_executable_extensions; do
9298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9299 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
9300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9309 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
9310 if test -n "$ac_ct_DSYMUTIL"; then
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9312 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9315 $as_echo "no" >&6; }
9318 if test "x$ac_ct_DSYMUTIL" = x
; then
9321 case $cross_compiling:$ac_tool_warned in
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9325 ac_tool_warned
=yes ;;
9327 DSYMUTIL
=$ac_ct_DSYMUTIL
9330 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
9333 if test -n "$ac_tool_prefix"; then
9334 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9335 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9337 $as_echo_n "checking for $ac_word... " >&6; }
9338 if ${ac_cv_prog_NMEDIT+:} false
; then :
9339 $as_echo_n "(cached) " >&6
9341 if test -n "$NMEDIT"; then
9342 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
9344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9348 test -z "$as_dir" && as_dir
=.
9349 for ac_exec_ext
in '' $ac_executable_extensions; do
9350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9351 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
9352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9361 NMEDIT
=$ac_cv_prog_NMEDIT
9362 if test -n "$NMEDIT"; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9364 $as_echo "$NMEDIT" >&6; }
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9367 $as_echo "no" >&6; }
9372 if test -z "$ac_cv_prog_NMEDIT"; then
9373 ac_ct_NMEDIT
=$NMEDIT
9374 # Extract the first word of "nmedit", so it can be a program name with args.
9375 set dummy nmedit
; ac_word
=$2
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9377 $as_echo_n "checking for $ac_word... " >&6; }
9378 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
9379 $as_echo_n "(cached) " >&6
9381 if test -n "$ac_ct_NMEDIT"; then
9382 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
9384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9388 test -z "$as_dir" && as_dir
=.
9389 for ac_exec_ext
in '' $ac_executable_extensions; do
9390 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9391 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
9392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9401 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
9402 if test -n "$ac_ct_NMEDIT"; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9404 $as_echo "$ac_ct_NMEDIT" >&6; }
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9407 $as_echo "no" >&6; }
9410 if test "x$ac_ct_NMEDIT" = x
; then
9413 case $cross_compiling:$ac_tool_warned in
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9417 ac_tool_warned
=yes ;;
9419 NMEDIT
=$ac_ct_NMEDIT
9422 NMEDIT
="$ac_cv_prog_NMEDIT"
9425 if test -n "$ac_tool_prefix"; then
9426 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9427 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9429 $as_echo_n "checking for $ac_word... " >&6; }
9430 if ${ac_cv_prog_LIPO+:} false
; then :
9431 $as_echo_n "(cached) " >&6
9433 if test -n "$LIPO"; then
9434 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
9436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9440 test -z "$as_dir" && as_dir
=.
9441 for ac_exec_ext
in '' $ac_executable_extensions; do
9442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9443 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
9444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9453 LIPO
=$ac_cv_prog_LIPO
9454 if test -n "$LIPO"; then
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9456 $as_echo "$LIPO" >&6; }
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9459 $as_echo "no" >&6; }
9464 if test -z "$ac_cv_prog_LIPO"; then
9466 # Extract the first word of "lipo", so it can be a program name with args.
9467 set dummy lipo
; ac_word
=$2
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9469 $as_echo_n "checking for $ac_word... " >&6; }
9470 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
9471 $as_echo_n "(cached) " >&6
9473 if test -n "$ac_ct_LIPO"; then
9474 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
9476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9480 test -z "$as_dir" && as_dir
=.
9481 for ac_exec_ext
in '' $ac_executable_extensions; do
9482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9483 ac_cv_prog_ac_ct_LIPO
="lipo"
9484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9493 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
9494 if test -n "$ac_ct_LIPO"; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9496 $as_echo "$ac_ct_LIPO" >&6; }
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9499 $as_echo "no" >&6; }
9502 if test "x$ac_ct_LIPO" = x
; then
9505 case $cross_compiling:$ac_tool_warned in
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9509 ac_tool_warned
=yes ;;
9514 LIPO
="$ac_cv_prog_LIPO"
9517 if test -n "$ac_tool_prefix"; then
9518 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9519 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9521 $as_echo_n "checking for $ac_word... " >&6; }
9522 if ${ac_cv_prog_OTOOL+:} false
; then :
9523 $as_echo_n "(cached) " >&6
9525 if test -n "$OTOOL"; then
9526 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9532 test -z "$as_dir" && as_dir
=.
9533 for ac_exec_ext
in '' $ac_executable_extensions; do
9534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9535 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9545 OTOOL
=$ac_cv_prog_OTOOL
9546 if test -n "$OTOOL"; then
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9548 $as_echo "$OTOOL" >&6; }
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9551 $as_echo "no" >&6; }
9556 if test -z "$ac_cv_prog_OTOOL"; then
9558 # Extract the first word of "otool", so it can be a program name with args.
9559 set dummy otool
; ac_word
=$2
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9561 $as_echo_n "checking for $ac_word... " >&6; }
9562 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
9563 $as_echo_n "(cached) " >&6
9565 if test -n "$ac_ct_OTOOL"; then
9566 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9572 test -z "$as_dir" && as_dir
=.
9573 for ac_exec_ext
in '' $ac_executable_extensions; do
9574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9575 ac_cv_prog_ac_ct_OTOOL
="otool"
9576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9585 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9586 if test -n "$ac_ct_OTOOL"; then
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9588 $as_echo "$ac_ct_OTOOL" >&6; }
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9591 $as_echo "no" >&6; }
9594 if test "x$ac_ct_OTOOL" = x
; then
9597 case $cross_compiling:$ac_tool_warned in
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9601 ac_tool_warned
=yes ;;
9606 OTOOL
="$ac_cv_prog_OTOOL"
9609 if test -n "$ac_tool_prefix"; then
9610 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9611 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9613 $as_echo_n "checking for $ac_word... " >&6; }
9614 if ${ac_cv_prog_OTOOL64+:} false
; then :
9615 $as_echo_n "(cached) " >&6
9617 if test -n "$OTOOL64"; then
9618 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9624 test -z "$as_dir" && as_dir
=.
9625 for ac_exec_ext
in '' $ac_executable_extensions; do
9626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9627 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9637 OTOOL64
=$ac_cv_prog_OTOOL64
9638 if test -n "$OTOOL64"; then
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9640 $as_echo "$OTOOL64" >&6; }
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9643 $as_echo "no" >&6; }
9648 if test -z "$ac_cv_prog_OTOOL64"; then
9649 ac_ct_OTOOL64
=$OTOOL64
9650 # Extract the first word of "otool64", so it can be a program name with args.
9651 set dummy otool64
; ac_word
=$2
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9653 $as_echo_n "checking for $ac_word... " >&6; }
9654 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9655 $as_echo_n "(cached) " >&6
9657 if test -n "$ac_ct_OTOOL64"; then
9658 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9664 test -z "$as_dir" && as_dir
=.
9665 for ac_exec_ext
in '' $ac_executable_extensions; do
9666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9667 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9677 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9678 if test -n "$ac_ct_OTOOL64"; then
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9680 $as_echo "$ac_ct_OTOOL64" >&6; }
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9683 $as_echo "no" >&6; }
9686 if test "x$ac_ct_OTOOL64" = x
; then
9689 case $cross_compiling:$ac_tool_warned in
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9693 ac_tool_warned
=yes ;;
9695 OTOOL64
=$ac_ct_OTOOL64
9698 OTOOL64
="$ac_cv_prog_OTOOL64"
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9728 $as_echo_n "checking for -single_module linker flag... " >&6; }
9729 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9730 $as_echo_n "(cached) " >&6
9732 lt_cv_apple_cc_single_mod
=no
9733 if test -z "$LT_MULTI_MODULE"; then
9734 # By default we will add the -single_module flag. You can override
9735 # by either setting the environment variable LT_MULTI_MODULE
9736 # non-empty at configure time, or by adding -multi_module to the
9738 rm -rf libconftest.dylib
*
9739 echo "int foo(void){return 1;}" > conftest.c
9740 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9741 -dynamiclib -Wl,-single_module conftest.c" >&5
9742 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9743 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9745 # If there is a non-empty error log, and "single_module"
9746 # appears in it, assume the flag caused a linker warning
9747 if test -s conftest.err
&& $GREP single_module conftest.err
; then
9748 cat conftest.err
>&5
9749 # Otherwise, if the output was created with a 0 exit code from
9750 # the compiler, it worked.
9751 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
9752 lt_cv_apple_cc_single_mod
=yes
9754 cat conftest.err
>&5
9756 rm -rf libconftest.dylib
*
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9761 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9764 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9765 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9766 $as_echo_n "(cached) " >&6
9768 lt_cv_ld_exported_symbols_list
=no
9769 save_LDFLAGS
=$LDFLAGS
9770 echo "_main" > conftest.sym
9771 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9783 if ac_fn_c_try_link
"$LINENO"; then :
9784 lt_cv_ld_exported_symbols_list
=yes
9786 lt_cv_ld_exported_symbols_list
=no
9788 rm -f core conftest.err conftest.
$ac_objext \
9789 conftest
$ac_exeext conftest.
$ac_ext
9790 LDFLAGS
=$save_LDFLAGS
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9794 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9797 $as_echo_n "checking for -force_load linker flag... " >&6; }
9798 if ${lt_cv_ld_force_load+:} false
; then :
9799 $as_echo_n "(cached) " >&6
9801 lt_cv_ld_force_load
=no
9802 cat > conftest.c
<< _LT_EOF
9803 int forced_loaded() { return 2;}
9805 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9806 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9807 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
9808 $AR $AR_FLAGS libconftest.a conftest.o
2>&5
9809 echo "$RANLIB libconftest.a" >&5
9810 $RANLIB libconftest.a
2>&5
9811 cat > conftest.c
<< _LT_EOF
9812 int main() { return 0;}
9814 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9815 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9817 if test -s conftest.err
&& $GREP force_load conftest.err
; then
9818 cat conftest.err
>&5
9819 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
9820 lt_cv_ld_force_load
=yes
9822 cat conftest.err
>&5
9824 rm -f conftest.err libconftest.a conftest conftest.c
9825 rm -rf conftest.dSYM
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9829 $as_echo "$lt_cv_ld_force_load" >&6; }
9831 rhapsody
* | darwin1.
[012])
9832 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
9834 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9835 darwin
*) # darwin 5.x on
9836 # if running on 10.5 or later, the deployment target defaults
9837 # to the OS version, if on x86, and 10.4, the deployment
9838 # target defaults to 10.4. Don't you love it?
9839 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9840 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9841 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9843 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9845 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9849 if test yes = "$lt_cv_apple_cc_single_mod"; then
9850 _lt_dar_single_mod
='$single_module'
9852 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9853 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9855 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9857 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
9858 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9865 # func_munge_path_list VARIABLE PATH
9866 # -----------------------------------
9867 # VARIABLE is name of variable containing _space_ separated list of
9868 # directories to be munged by the contents of PATH, which is string
9871 # string "DIR[ DIR]" will be prepended to VARIABLE
9873 # string "DIR[ DIR]" will be appended to VARIABLE
9874 # "DIRP[:DIRP]::[DIRA:]DIRA"
9875 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9876 # "DIRA[ DIRA]" will be appended to VARIABLE
9878 # VARIABLE will be replaced by "DIR[ DIR]"
9879 func_munge_path_list
()
9885 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
9888 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9891 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9892 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
9895 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9900 for ac_header
in dlfcn.h
9902 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9904 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9905 cat >>confdefs.h
<<_ACEOF
9906 #define HAVE_DLFCN_H 1
9915 func_stripname_cnf
()
9918 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9919 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9921 } # func_stripname_cnf
9935 # Check whether --enable-shared was given.
9936 if test "${enable_shared+set}" = set; then :
9937 enableval
=$enable_shared; p
=${PACKAGE-default}
9939 yes) enable_shared
=yes ;;
9940 no
) enable_shared
=no
;;
9943 # Look at the argument we got. We use all the common list separators.
9944 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9945 for pkg
in $enableval; do
9947 if test "X$pkg" = "X$p"; then
9966 # Check whether --enable-static was given.
9967 if test "${enable_static+set}" = set; then :
9968 enableval
=$enable_static; p
=${PACKAGE-default}
9970 yes) enable_static
=yes ;;
9971 no
) enable_static
=no
;;
9974 # Look at the argument we got. We use all the common list separators.
9975 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9976 for pkg
in $enableval; do
9978 if test "X$pkg" = "X$p"; then
9998 # Check whether --with-pic was given.
9999 if test "${with_pic+set}" = set; then :
10000 withval
=$with_pic; lt_p
=${PACKAGE-default}
10002 yes|no
) pic_mode
=$withval ;;
10005 # Look at the argument we got. We use all the common list separators.
10006 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10007 for lt_pkg
in $withval; do
10009 if test "X$lt_pkg" = "X$lt_p"; then
10027 # Check whether --enable-fast-install was given.
10028 if test "${enable_fast_install+set}" = set; then :
10029 enableval
=$enable_fast_install; p
=${PACKAGE-default}
10031 yes) enable_fast_install
=yes ;;
10032 no
) enable_fast_install
=no
;;
10034 enable_fast_install
=no
10035 # Look at the argument we got. We use all the common list separators.
10036 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10037 for pkg
in $enableval; do
10039 if test "X$pkg" = "X$p"; then
10040 enable_fast_install
=yes
10047 enable_fast_install
=yes
10057 shared_archive_member_spec
=
10058 case $host,$enable_shared in
10059 power
*-*-aix[5-9]*,yes)
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10061 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10063 # Check whether --with-aix-soname was given.
10064 if test "${with_aix_soname+set}" = set; then :
10065 withval
=$with_aix_soname; case $withval in
10069 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
10072 lt_cv_with_aix_soname
=$with_aix_soname
10074 if ${lt_cv_with_aix_soname+:} false
; then :
10075 $as_echo_n "(cached) " >&6
10077 lt_cv_with_aix_soname
=aix
10080 with_aix_soname
=$lt_cv_with_aix_soname
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10084 $as_echo "$with_aix_soname" >&6; }
10085 if test aix
!= "$with_aix_soname"; then
10086 # For the AIX way of multilib, we name the shared archive member
10087 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10088 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10089 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10090 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10091 if test 64 = "${OBJECT_MODE-32}"; then
10092 shared_archive_member_spec
=shr_64
10094 shared_archive_member_spec
=shr
10099 with_aix_soname
=aix
10112 # This can be used to rebuild libtool when needed
10113 LIBTOOL_DEPS
=$ltmain
10115 # Always use our own libtool.
10116 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10147 test -z "$LN_S" && LN_S
="ln -s"
10162 if test -n "${ZSH_VERSION+set}"; then
10163 setopt NO_GLOB_SUBST
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10167 $as_echo_n "checking for objdir... " >&6; }
10168 if ${lt_cv_objdir+:} false
; then :
10169 $as_echo_n "(cached) " >&6
10171 rm -f .libs
2>/dev
/null
10172 mkdir .libs
2>/dev
/null
10173 if test -d .libs
; then
10176 # MS-DOS does not allow filenames that begin with a dot.
10179 rmdir .libs
2>/dev
/null
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10182 $as_echo "$lt_cv_objdir" >&6; }
10183 objdir
=$lt_cv_objdir
10189 cat >>confdefs.h
<<_ACEOF
10190 #define LT_OBJDIR "$lt_cv_objdir/"
10198 # AIX sometimes has problems with the GCC collect2 program. For some
10199 # reason, if we set the COLLECT_NAMES environment variable, the problems
10200 # vanish in a puff of smoke.
10201 if test set != "${COLLECT_NAMES+set}"; then
10203 export COLLECT_NAMES
10208 # Global variables:
10210 can_build_shared
=yes
10212 # All known linkers require a '.a' archive for static linking (except MSVC and
10213 # ICC, which need '.lib').
10216 with_gnu_ld
=$lt_cv_prog_gnu_ld
10221 # Set sane defaults for various variables
10222 test -z "$CC" && CC
=cc
10223 test -z "$LTCC" && LTCC
=$CC
10224 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10225 test -z "$LD" && LD
=ld
10226 test -z "$ac_objext" && ac_objext
=o
10228 func_cc_basename
$compiler
10229 cc_basename
=$func_cc_basename_result
10232 # Only perform the check for file, if the check method requires it
10233 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10234 case $deplibs_check_method in
10236 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10238 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10239 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10240 $as_echo_n "(cached) " >&6
10244 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10247 lt_save_MAGIC_CMD
=$MAGIC_CMD
10248 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10249 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10250 for ac_dir
in $ac_dummy; do
10252 test -z "$ac_dir" && ac_dir
=.
10253 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10254 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
10255 if test -n "$file_magic_test_file"; then
10256 case $deplibs_check_method in
10258 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10259 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10260 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10261 $EGREP "$file_magic_regex" > /dev
/null
; then
10266 *** Warning: the command libtool uses to detect shared libraries,
10267 *** $file_magic_cmd, produces output that libtool cannot recognize.
10268 *** The result is that libtool may fail to recognize shared libraries
10269 *** as such. This will affect the creation of libtool libraries that
10270 *** depend on shared libraries, but programs linked with such libtool
10271 *** libraries will work regardless of this problem. Nevertheless, you
10272 *** may want to report the problem to your system manager and/or to
10273 *** bug-libtool@gnu.org
10283 MAGIC_CMD
=$lt_save_MAGIC_CMD
10288 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10289 if test -n "$MAGIC_CMD"; then
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10291 $as_echo "$MAGIC_CMD" >&6; }
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10294 $as_echo "no" >&6; }
10301 if test -z "$lt_cv_path_MAGIC_CMD"; then
10302 if test -n "$ac_tool_prefix"; then
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10304 $as_echo_n "checking for file... " >&6; }
10305 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10306 $as_echo_n "(cached) " >&6
10310 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10313 lt_save_MAGIC_CMD
=$MAGIC_CMD
10314 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10315 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10316 for ac_dir
in $ac_dummy; do
10318 test -z "$ac_dir" && ac_dir
=.
10319 if test -f "$ac_dir/file"; then
10320 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
10321 if test -n "$file_magic_test_file"; then
10322 case $deplibs_check_method in
10324 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10325 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10326 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10327 $EGREP "$file_magic_regex" > /dev
/null
; then
10332 *** Warning: the command libtool uses to detect shared libraries,
10333 *** $file_magic_cmd, produces output that libtool cannot recognize.
10334 *** The result is that libtool may fail to recognize shared libraries
10335 *** as such. This will affect the creation of libtool libraries that
10336 *** depend on shared libraries, but programs linked with such libtool
10337 *** libraries will work regardless of this problem. Nevertheless, you
10338 *** may want to report the problem to your system manager and/or to
10339 *** bug-libtool@gnu.org
10349 MAGIC_CMD
=$lt_save_MAGIC_CMD
10354 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10355 if test -n "$MAGIC_CMD"; then
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10357 $as_echo "$MAGIC_CMD" >&6; }
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10360 $as_echo "no" >&6; }
10373 # Use C for the default configuration in the libtool script
10377 ac_cpp
='$CPP $CPPFLAGS'
10378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10383 # Source file extension for C test sources.
10386 # Object file extension for compiled C test sources.
10390 # Code to be used in simple compile tests
10391 lt_simple_compile_test_code
="int some_variable = 0;"
10393 # Code to be used in simple link tests
10394 lt_simple_link_test_code
='int main(){return(0);}'
10402 # If no C compiler was specified, use CC.
10405 # If no C compiler flags were specified, use CFLAGS.
10406 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10408 # Allow CC to be a program name with arguments.
10411 # Save the default compiler, since it gets overwritten when the other
10412 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10413 compiler_DEFAULT
=$CC
10415 # save warnings/boilerplate of simple test code
10416 ac_outfile
=conftest.
$ac_objext
10417 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10418 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10419 _lt_compiler_boilerplate
=`cat conftest.err`
10422 ac_outfile
=conftest.
$ac_objext
10423 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10424 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10425 _lt_linker_boilerplate
=`cat conftest.err`
10430 ## There is no encapsulation within the following macros, do not change
10431 ## the running order or otherwise move them around unless you know exactly
10432 ## what you are doing...
10433 if test -n "$compiler"; then
10435 lt_prog_compiler_no_builtin_flag
=
10437 if test yes = "$GCC"; then
10438 case $cc_basename in
10440 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10442 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10446 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10447 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
10448 $as_echo_n "(cached) " >&6
10450 lt_cv_prog_compiler_rtti_exceptions
=no
10451 ac_outfile
=conftest.
$ac_objext
10452 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10453 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10454 # Insert the option either (1) after the last *FLAGS variable, or
10455 # (2) before a word containing "conftest.", or (3) at the end.
10456 # Note that $ac_compile itself does not contain backslashes and begins
10457 # with a dollar sign (not a hyphen), so the echo should work correctly.
10458 # The option is referenced via a variable to avoid confusing sed.
10459 lt_compile
=`echo "$ac_compile" | $SED \
10460 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10461 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10462 -e 's:$: $lt_compiler_flag:'`
10463 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10464 (eval "$lt_compile" 2>conftest.err
)
10466 cat conftest.err
>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 if (exit $ac_status) && test -s "$ac_outfile"; then
10469 # The compiler can only warn and ignore the option if not recognized
10470 # So say no if there are warnings other than the usual output.
10471 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10472 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10473 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10474 lt_cv_prog_compiler_rtti_exceptions
=yes
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10481 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10483 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10484 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10496 lt_prog_compiler_wl
=
10497 lt_prog_compiler_pic
=
10498 lt_prog_compiler_static
=
10501 if test yes = "$GCC"; then
10502 lt_prog_compiler_wl
='-Wl,'
10503 lt_prog_compiler_static
='-static'
10507 # All AIX code is PIC.
10508 if test ia64
= "$host_cpu"; then
10509 # AIX 5 now supports IA64 processor
10510 lt_prog_compiler_static
='-Bstatic'
10512 lt_prog_compiler_pic
='-fPIC'
10518 # see comment about AmigaOS4 .so support
10519 lt_prog_compiler_pic
='-fPIC'
10522 # FIXME: we need at least 68020 code to build shared libraries, but
10523 # adding the '-m68020' flag to GCC prevents building anything better,
10525 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10530 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10531 # PIC is the default for these OSes.
10534 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10535 # This hack is so that the source file can tell whether it is being
10536 # built for inclusion in a dll (and should export symbols for example).
10537 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10538 # (--disable-auto-import) libraries
10539 lt_prog_compiler_pic
='-DDLL_EXPORT'
10542 lt_prog_compiler_static
='$wl-static'
10547 darwin
* | rhapsody
*)
10548 # PIC is the default on this platform
10549 # Common symbols not allowed in MH_DYLIB files
10550 lt_prog_compiler_pic
='-fno-common'
10554 # PIC is the default for Haiku.
10555 # The "-static" flag exists, but is broken.
10556 lt_prog_compiler_static
=
10560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10562 # sets the default TLS model and affects inlining.
10568 lt_prog_compiler_pic
='-fPIC'
10574 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10575 # Instead, we relocate shared libraries at runtime.
10579 # Just because we use GCC doesn't mean we suddenly get shared libraries
10580 # on systems that don't support them.
10581 lt_prog_compiler_can_build_shared
=no
10586 # QNX uses GNU C++, but need to define -shared option too, otherwise
10587 # it will coredump.
10588 lt_prog_compiler_pic
='-fPIC -shared'
10592 if test -d /usr
/nec
; then
10593 lt_prog_compiler_pic
=-Kconform_pic
10598 lt_prog_compiler_pic
='-fPIC'
10602 case $cc_basename in
10603 nvcc
*) # Cuda Compiler Driver 2.2
10604 lt_prog_compiler_wl
='-Xlinker '
10605 if test -n "$lt_prog_compiler_pic"; then
10606 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
10611 # PORTME Check for flag to pass linker flags through the system compiler.
10614 lt_prog_compiler_wl
='-Wl,'
10615 if test ia64
= "$host_cpu"; then
10616 # AIX 5 now supports IA64 processor
10617 lt_prog_compiler_static
='-Bstatic'
10619 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10623 darwin
* | rhapsody
*)
10624 # PIC is the default on this platform
10625 # Common symbols not allowed in MH_DYLIB files
10626 lt_prog_compiler_pic
='-fno-common'
10627 case $cc_basename in
10629 # NAG Fortran compiler
10630 lt_prog_compiler_wl
='-Wl,-Wl,,'
10631 lt_prog_compiler_pic
='-PIC'
10632 lt_prog_compiler_static
='-Bstatic'
10637 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10638 # This hack is so that the source file can tell whether it is being
10639 # built for inclusion in a dll (and should export symbols for example).
10640 lt_prog_compiler_pic
='-DDLL_EXPORT'
10643 lt_prog_compiler_static
='$wl-static'
10648 hpux9
* | hpux10
* | hpux11
*)
10649 lt_prog_compiler_wl
='-Wl,'
10650 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10651 # not for PA HP-UX.
10657 lt_prog_compiler_pic
='+Z'
10660 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10661 lt_prog_compiler_static
='$wl-a ${wl}archive'
10664 irix5
* | irix6
* | nonstopux
*)
10665 lt_prog_compiler_wl
='-Wl,'
10666 # PIC (with -KPIC) is the default.
10667 lt_prog_compiler_static
='-non_shared'
10670 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10671 case $cc_basename in
10672 # old Intel for x86_64, which still supported -KPIC.
10674 lt_prog_compiler_wl
='-Wl,'
10675 lt_prog_compiler_pic
='-KPIC'
10676 lt_prog_compiler_static
='-static'
10678 # icc used to be incompatible with GCC.
10679 # ICC 10 doesn't accept -KPIC any more.
10681 lt_prog_compiler_wl
='-Wl,'
10682 lt_prog_compiler_pic
='-fPIC'
10683 lt_prog_compiler_static
='-static'
10685 # Lahey Fortran 8.1.
10687 lt_prog_compiler_wl
='-Wl,'
10688 lt_prog_compiler_pic
='--shared'
10689 lt_prog_compiler_static
='--static'
10692 # NAG Fortran compiler
10693 lt_prog_compiler_wl
='-Wl,-Wl,,'
10694 lt_prog_compiler_pic
='-PIC'
10695 lt_prog_compiler_static
='-Bstatic'
10698 # Fabrice Bellard et al's Tiny C Compiler
10699 lt_prog_compiler_wl
='-Wl,'
10700 lt_prog_compiler_pic
='-fPIC'
10701 lt_prog_compiler_static
='-static'
10703 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10704 # Portland Group compilers (*not* the Pentium gcc compiler,
10705 # which looks to be a dead project)
10706 lt_prog_compiler_wl
='-Wl,'
10707 lt_prog_compiler_pic
='-fpic'
10708 lt_prog_compiler_static
='-Bstatic'
10711 lt_prog_compiler_wl
='-Wl,'
10712 # All Alpha code is PIC.
10713 lt_prog_compiler_static
='-non_shared'
10715 xl
* | bgxl
* | bgf
* | mpixl
*)
10716 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10717 lt_prog_compiler_wl
='-Wl,'
10718 lt_prog_compiler_pic
='-qpic'
10719 lt_prog_compiler_static
='-qstaticlink'
10722 case `$CC -V 2>&1 | sed 5q` in
10723 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
10724 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10725 lt_prog_compiler_pic
='-KPIC'
10726 lt_prog_compiler_static
='-Bstatic'
10727 lt_prog_compiler_wl
=''
10729 *Sun\ F
* |
*Sun
*Fortran
*)
10730 lt_prog_compiler_pic
='-KPIC'
10731 lt_prog_compiler_static
='-Bstatic'
10732 lt_prog_compiler_wl
='-Qoption ld '
10736 lt_prog_compiler_pic
='-KPIC'
10737 lt_prog_compiler_static
='-Bstatic'
10738 lt_prog_compiler_wl
='-Wl,'
10740 *Intel
*\
[CF
]*Compiler
*)
10741 lt_prog_compiler_wl
='-Wl,'
10742 lt_prog_compiler_pic
='-fPIC'
10743 lt_prog_compiler_static
='-static'
10746 lt_prog_compiler_wl
='-Wl,'
10747 lt_prog_compiler_pic
='-fpic'
10748 lt_prog_compiler_static
='-Bstatic'
10756 lt_prog_compiler_pic
='-KPIC'
10757 lt_prog_compiler_static
='-Bstatic'
10761 # QNX uses GNU C++, but need to define -shared option too, otherwise
10762 # it will coredump.
10763 lt_prog_compiler_pic
='-fPIC -shared'
10766 osf3
* | osf4
* | osf5
*)
10767 lt_prog_compiler_wl
='-Wl,'
10768 # All OSF/1 code is PIC.
10769 lt_prog_compiler_static
='-non_shared'
10773 lt_prog_compiler_static
='-non_shared'
10777 lt_prog_compiler_pic
='-KPIC'
10778 lt_prog_compiler_static
='-Bstatic'
10779 case $cc_basename in
10780 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10781 lt_prog_compiler_wl
='-Qoption ld ';;
10783 lt_prog_compiler_wl
='-Wl,';;
10788 lt_prog_compiler_wl
='-Qoption ld '
10789 lt_prog_compiler_pic
='-PIC'
10790 lt_prog_compiler_static
='-Bstatic'
10793 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10794 lt_prog_compiler_wl
='-Wl,'
10795 lt_prog_compiler_pic
='-KPIC'
10796 lt_prog_compiler_static
='-Bstatic'
10800 if test -d /usr
/nec
; then
10801 lt_prog_compiler_pic
='-Kconform_pic'
10802 lt_prog_compiler_static
='-Bstatic'
10806 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10807 lt_prog_compiler_wl
='-Wl,'
10808 lt_prog_compiler_pic
='-KPIC'
10809 lt_prog_compiler_static
='-Bstatic'
10813 lt_prog_compiler_wl
='-Wl,'
10814 lt_prog_compiler_can_build_shared
=no
10818 lt_prog_compiler_pic
='-pic'
10819 lt_prog_compiler_static
='-Bstatic'
10823 lt_prog_compiler_can_build_shared
=no
10829 # For platforms that do not support PIC, -DPIC is meaningless:
10831 lt_prog_compiler_pic
=
10834 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10839 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10840 if ${lt_cv_prog_compiler_pic+:} false
; then :
10841 $as_echo_n "(cached) " >&6
10843 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10846 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10847 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10850 # Check to make sure the PIC flag actually works.
10852 if test -n "$lt_prog_compiler_pic"; then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10854 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10855 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10856 $as_echo_n "(cached) " >&6
10858 lt_cv_prog_compiler_pic_works
=no
10859 ac_outfile
=conftest.
$ac_objext
10860 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10861 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10862 # Insert the option either (1) after the last *FLAGS variable, or
10863 # (2) before a word containing "conftest.", or (3) at the end.
10864 # Note that $ac_compile itself does not contain backslashes and begins
10865 # with a dollar sign (not a hyphen), so the echo should work correctly.
10866 # The option is referenced via a variable to avoid confusing sed.
10867 lt_compile
=`echo "$ac_compile" | $SED \
10868 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10869 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10870 -e 's:$: $lt_compiler_flag:'`
10871 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10872 (eval "$lt_compile" 2>conftest.err
)
10874 cat conftest.err
>&5
10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876 if (exit $ac_status) && test -s "$ac_outfile"; then
10877 # The compiler can only warn and ignore the option if not recognized
10878 # So say no if there are warnings other than the usual output.
10879 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10880 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10881 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10882 lt_cv_prog_compiler_pic_works
=yes
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10889 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10891 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10892 case $lt_prog_compiler_pic in
10894 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10897 lt_prog_compiler_pic
=
10898 lt_prog_compiler_can_build_shared
=no
10914 # Check to make sure the static flag actually works.
10916 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10918 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10919 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10920 $as_echo_n "(cached) " >&6
10922 lt_cv_prog_compiler_static_works
=no
10923 save_LDFLAGS
=$LDFLAGS
10924 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10925 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10926 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10927 # The linker can only warn and ignore the option if not recognized
10928 # So say no if there are warnings
10929 if test -s conftest.err
; then
10930 # Append any errors to the config.log.
10931 cat conftest.err
1>&5
10932 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10933 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10934 if diff conftest.exp conftest.er2
>/dev
/null
; then
10935 lt_cv_prog_compiler_static_works
=yes
10938 lt_cv_prog_compiler_static_works
=yes
10942 LDFLAGS
=$save_LDFLAGS
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10946 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10948 if test yes = "$lt_cv_prog_compiler_static_works"; then
10951 lt_prog_compiler_static
=
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10961 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10962 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10963 $as_echo_n "(cached) " >&6
10965 lt_cv_prog_compiler_c_o
=no
10966 $RM -r conftest
2>/dev
/null
10970 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10972 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10973 # Insert the option either (1) after the last *FLAGS variable, or
10974 # (2) before a word containing "conftest.", or (3) at the end.
10975 # Note that $ac_compile itself does not contain backslashes and begins
10976 # with a dollar sign (not a hyphen), so the echo should work correctly.
10977 lt_compile
=`echo "$ac_compile" | $SED \
10978 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10979 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10980 -e 's:$: $lt_compiler_flag:'`
10981 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10982 (eval "$lt_compile" 2>out
/conftest.err
)
10984 cat out
/conftest.err
>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10988 # The compiler can only warn and ignore the option if not recognized
10989 # So say no if there are warnings
10990 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10991 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10992 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10993 lt_cv_prog_compiler_c_o
=yes
10998 # SGI C++ compiler will create directory out/ii_files/ for
10999 # template instantiation
11000 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11001 $RM out
/* && rmdir out
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11008 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11016 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11017 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11018 $as_echo_n "(cached) " >&6
11020 lt_cv_prog_compiler_c_o
=no
11021 $RM -r conftest
2>/dev
/null
11025 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11027 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11028 # Insert the option either (1) after the last *FLAGS variable, or
11029 # (2) before a word containing "conftest.", or (3) at the end.
11030 # Note that $ac_compile itself does not contain backslashes and begins
11031 # with a dollar sign (not a hyphen), so the echo should work correctly.
11032 lt_compile
=`echo "$ac_compile" | $SED \
11033 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11035 -e 's:$: $lt_compiler_flag:'`
11036 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11037 (eval "$lt_compile" 2>out
/conftest.err
)
11039 cat out
/conftest.err
>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11043 # The compiler can only warn and ignore the option if not recognized
11044 # So say no if there are warnings
11045 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11046 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11047 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11048 lt_cv_prog_compiler_c_o
=yes
11053 # SGI C++ compiler will create directory out/ii_files/ for
11054 # template instantiation
11055 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11056 $RM out
/* && rmdir out
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11063 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11068 hard_links
=nottested
11069 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
11070 # do not overwrite the value of need_locks provided by the user
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11072 $as_echo_n "checking if we can lock with hard links... " >&6; }
11075 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11077 ln conftest.a conftest.b
2>&5 || hard_links
=no
11078 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11080 $as_echo "$hard_links" >&6; }
11081 if test no
= "$hard_links"; then
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11083 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11096 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11099 allow_undefined_flag
=
11100 always_export_symbols
=no
11102 archive_expsym_cmds
=
11103 compiler_needs_object
=no
11104 enable_shared_with_static_runtimes
=no
11105 export_dynamic_flag_spec
=
11106 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11107 hardcode_automatic
=no
11109 hardcode_direct_absolute
=no
11110 hardcode_libdir_flag_spec
=
11111 hardcode_libdir_separator
=
11112 hardcode_minus_L
=no
11113 hardcode_shlibpath_var
=unsupported
11115 link_all_deplibs
=unknown
11117 module_expsym_cmds
=
11118 old_archive_from_new_cmds
=
11119 old_archive_from_expsyms_cmds
=
11120 thread_safe_flag_spec
=
11121 whole_archive_flag_spec
=
11122 # include_expsyms should be a list of space-separated symbols to be *always*
11123 # included in the symbol list
11125 # exclude_expsyms can be an extended regexp of symbols to exclude
11126 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11127 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11128 # as well as any symbol that contains 'd'.
11129 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11130 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11131 # platforms (ab)use it in PIC code, but their linkers get confused if
11132 # the symbol is explicitly referenced. Since portable code cannot
11133 # rely on this symbol name, it's probably fine to never include it in
11134 # preloaded symbol tables.
11135 # Exclude shared library initialization/finalization symbols.
11136 extract_expsyms_cmds
=
11139 cygwin
* | mingw
* | pw32
* | cegcc
*)
11140 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11141 # When not using gcc, we currently assume that we are using
11142 # Microsoft Visual C++ or Intel C++ Compiler.
11143 if test yes != "$GCC"; then
11148 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11151 openbsd
* | bitrig
*)
11158 # On some targets, GNU ld is compatible enough with the native linker
11159 # that we're better off using the native interface for both.
11160 lt_use_gnu_ld_interface
=no
11161 if test yes = "$with_gnu_ld"; then
11164 # The AIX port of GNU ld has always aspired to compatibility
11165 # with the native linker. However, as the warning in the GNU ld
11166 # block says, versions before 2.19.5* couldn't really create working
11167 # shared libraries, regardless of the interface used.
11168 case `$LD -v 2>&1` in
11169 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11170 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11171 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11173 lt_use_gnu_ld_interface
=yes
11178 lt_use_gnu_ld_interface
=yes
11183 if test yes = "$lt_use_gnu_ld_interface"; then
11184 # If archive_cmds runs LD, not CC, wlarc should be empty
11187 # Set some defaults for GNU ld with shared library support. These
11188 # are reset later if shared libraries are not supported. Putting them
11189 # here allows them to be overridden if necessary.
11190 runpath_var
=LD_RUN_PATH
11191 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11192 export_dynamic_flag_spec
='$wl--export-dynamic'
11193 # ancient GNU ld didn't support --whole-archive et. al.
11194 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
11195 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11197 whole_archive_flag_spec
=
11199 supports_anon_versioning
=no
11200 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11201 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11202 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11203 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11204 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11205 *\
2.11.
*) ;; # other 2.11 versions
11206 *) supports_anon_versioning
=yes ;;
11209 # See if GNU ld supports shared libraries.
11212 # On AIX/PPC, the GNU linker is very broken
11213 if test ia64
!= "$host_cpu"; then
11217 *** Warning: the GNU linker, at least up to release 2.19, is reported
11218 *** to be unable to reliably create shared libraries on AIX.
11219 *** Therefore, libtool is disabling shared libraries support. If you
11220 *** really care for shared libraries, you may want to install binutils
11221 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11222 *** You will then need to restart the configuration process.
11231 # see comment about AmigaOS4 .so support
11232 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11233 archive_expsym_cmds
=''
11236 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)'
11237 hardcode_libdir_flag_spec
='-L$libdir'
11238 hardcode_minus_L
=yes
11244 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11245 allow_undefined_flag
=unsupported
11246 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11247 # support --undefined. This deserves some investigation. FIXME
11248 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11254 cygwin
* | mingw
* | pw32
* | cegcc
*)
11255 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11256 # as there is no search path for DLLs.
11257 hardcode_libdir_flag_spec
='-L$libdir'
11258 export_dynamic_flag_spec
='$wl--export-all-symbols'
11259 allow_undefined_flag
=unsupported
11260 always_export_symbols
=no
11261 enable_shared_with_static_runtimes
=yes
11262 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'
11263 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11265 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11266 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11267 # If the export-symbols file already is a .def file, use it as
11268 # is; otherwise, prepend EXPORTS...
11269 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11270 cp $export_symbols $output_objdir/$soname.def;
11272 echo EXPORTS > $output_objdir/$soname.def;
11273 cat $export_symbols >> $output_objdir/$soname.def;
11275 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11282 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11283 link_all_deplibs
=yes
11287 hardcode_libdir_flag_spec
='-L$libdir'
11288 hardcode_minus_L
=yes
11289 allow_undefined_flag
=unsupported
11291 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11292 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11293 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11294 $ECHO EXPORTS >> $output_objdir/$libname.def~
11295 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11296 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11297 emximp -o $lib $output_objdir/$libname.def'
11298 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11299 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11300 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11301 $ECHO EXPORTS >> $output_objdir/$libname.def~
11302 prefix_cmds="$SED"~
11303 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11304 prefix_cmds="$prefix_cmds -e 1d";
11306 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11307 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11308 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11309 emximp -o $lib $output_objdir/$libname.def'
11310 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11311 enable_shared_with_static_runtimes
=yes
11317 hardcode_shlibpath_var
=no
11318 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11319 export_dynamic_flag_spec
='$wl-E'
11320 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11321 # Instead, shared libraries are loaded at an image base (0x10000000 by
11322 # default) and relocated if they conflict, which is a slow very memory
11323 # consuming and fragmenting process. To avoid this, we pick a random,
11324 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11325 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11326 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11327 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'
11330 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11332 if test linux-dietlibc
= "$host_os"; then
11333 case $cc_basename in
11334 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11337 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11338 && test no
= "$tmp_diet"
11340 tmp_addflag
=' $pic_flag'
11341 tmp_sharedflag
='-shared'
11342 case $cc_basename,$host_cpu in
11343 pgcc
*) # Portland Group C compiler
11344 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'
11345 tmp_addflag
=' $pic_flag'
11347 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11348 # Portland Group f77 and f90 compilers
11349 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'
11350 tmp_addflag
=' $pic_flag -Mnomain' ;;
11351 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11352 tmp_addflag
=' -i_dynamic' ;;
11353 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11354 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11355 ifc
* | ifort
*) # Intel Fortran compiler
11356 tmp_addflag
=' -nofor_main' ;;
11357 lf95
*) # Lahey Fortran 8.1
11358 whole_archive_flag_spec
=
11359 tmp_sharedflag
='--shared' ;;
11360 nagfor
*) # NAGFOR 5.3
11361 tmp_sharedflag
='-Wl,-shared' ;;
11362 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11363 tmp_sharedflag
='-qmkshrobj'
11365 nvcc
*) # Cuda Compiler Driver 2.2
11366 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'
11367 compiler_needs_object
=yes
11370 case `$CC -V 2>&1 | sed 5q` in
11371 *Sun\ C
*) # Sun C 5.9
11372 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'
11373 compiler_needs_object
=yes
11374 tmp_sharedflag
='-G' ;;
11375 *Sun\ F
*) # Sun Fortran 8.3
11376 tmp_sharedflag
='-G' ;;
11378 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11380 if test yes = "$supports_anon_versioning"; then
11381 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11382 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11383 echo "local: *; };" >> $output_objdir/$libname.ver~
11384 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11387 case $cc_basename in
11389 export_dynamic_flag_spec
='-rdynamic'
11391 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11392 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11393 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11394 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11395 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11396 if test yes = "$supports_anon_versioning"; then
11397 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11398 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11399 echo "local: *; };" >> $output_objdir/$libname.ver~
11400 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11410 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11411 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11414 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11415 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11420 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11424 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11425 *** create shared libraries on Solaris systems. Therefore, libtool
11426 *** is disabling shared libraries support. We urge you to upgrade GNU
11427 *** binutils to release 2.9.1 or newer. Another option is to modify
11428 *** your PATH or compiler configuration so that the native linker is
11429 *** used, and then restart.
11432 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11433 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11434 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11440 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11441 case `$LD -v 2>&1` in
11442 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11446 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11447 *** reliably create shared libraries on SCO systems. Therefore, libtool
11448 *** is disabling shared libraries support. We urge you to upgrade GNU
11449 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11450 *** your PATH or compiler configuration so that the native linker is
11451 *** used, and then restart.
11456 # For security reasons, it is highly recommended that you always
11457 # use absolute paths for naming shared libraries, and exclude the
11458 # DT_RUNPATH tag from executables and libraries. But doing so
11459 # requires that you compile everything twice, which is a pain.
11460 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11461 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11462 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11463 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11472 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11474 hardcode_direct
=yes
11475 hardcode_shlibpath_var
=no
11479 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11480 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11481 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11488 if test no
= "$ld_shlibs"; then
11490 hardcode_libdir_flag_spec
=
11491 export_dynamic_flag_spec
=
11492 whole_archive_flag_spec
=
11495 # PORTME fill in a description of your system's linker (not GNU ld)
11498 allow_undefined_flag
=unsupported
11499 always_export_symbols
=yes
11500 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'
11501 # Note: this linker hardcodes the directories in LIBPATH if there
11502 # are no directories specified by -L.
11503 hardcode_minus_L
=yes
11504 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11505 # Neither direct hardcoding nor static linking is supported with a
11507 hardcode_direct
=unsupported
11512 if test ia64
= "$host_cpu"; then
11513 # On IA64, the linker does run time linking by default, so we don't
11514 # have to do anything special.
11515 aix_use_runtimelinking
=no
11516 exp_sym_flag
='-Bexport'
11519 # If we're using GNU nm, then we don't want the "-C" option.
11520 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11521 # Without the "-l" option, or with the "-B" option, AIX nm treats
11522 # weak defined symbols like other global defined symbols, whereas
11523 # GNU nm marks them as "W".
11524 # While the 'weak' keyword is ignored in the Export File, we need
11525 # it in the Import File for the 'aix-soname' feature, so we have
11526 # to replace the "-B" option with "-P" for AIX nm.
11527 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11528 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
11530 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11532 aix_use_runtimelinking
=no
11534 # Test if we are trying to use run time linking or normal
11535 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11536 # have runtime linking enabled, and use it for executables.
11537 # For shared libraries, we enable/disable runtime linking
11538 # depending on the kind of the shared library created -
11539 # when "with_aix_soname,aix_use_runtimelinking" is:
11540 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11541 # "aix,yes" lib.so shared, rtl:yes, for executables
11542 # lib.a static archive
11543 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11544 # lib.a(lib.so.V) shared, rtl:no, for executables
11545 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11546 # lib.a(lib.so.V) shared, rtl:no
11547 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11548 # lib.a static archive
11549 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11550 for ld_flag
in $LDFLAGS; do
11551 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
11552 aix_use_runtimelinking
=yes
11556 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
11557 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11558 # so we don't have lib.a shared libs to link our executables.
11559 # We have to force runtime linking in this case.
11560 aix_use_runtimelinking
=yes
11561 LDFLAGS
="$LDFLAGS -Wl,-brtl"
11566 exp_sym_flag
='-bexport'
11567 no_entry_flag
='-bnoentry'
11570 # When large executables or shared objects are built, AIX ld can
11571 # have problems creating the table of contents. If linking a library
11572 # or program results in "error TOC overflow" add -mminimal-toc to
11573 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11574 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11577 hardcode_direct
=yes
11578 hardcode_direct_absolute
=yes
11579 hardcode_libdir_separator
=':'
11580 link_all_deplibs
=yes
11581 file_list_spec
='$wl-f,'
11582 case $with_aix_soname,$aix_use_runtimelinking in
11583 aix
,*) ;; # traditional, no import file
11584 svr4
,* |
*,yes) # use import file
11585 # The Import File defines what to hardcode.
11587 hardcode_direct_absolute
=no
11591 if test yes = "$GCC"; then
11592 case $host_os in aix4.
[012]|aix4.
[012].
*)
11593 # We only want to do this on AIX 4.2 and lower, the check
11594 # below for broken collect2 doesn't work under 4.3+
11595 collect2name
=`$CC -print-prog-name=collect2`
11596 if test -f "$collect2name" &&
11597 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11599 # We have reworked collect2
11602 # We have old collect2
11603 hardcode_direct
=unsupported
11604 # It fails to find uninstalled libraries when the uninstalled
11605 # path is not listed in the libpath. Setting hardcode_minus_L
11606 # to unsupported forces relinking
11607 hardcode_minus_L
=yes
11608 hardcode_libdir_flag_spec
='-L$libdir'
11609 hardcode_libdir_separator
=
11613 shared_flag
='-shared'
11614 if test yes = "$aix_use_runtimelinking"; then
11615 shared_flag
="$shared_flag "'$wl-G'
11617 # Need to ensure runtime linking is disabled for the traditional
11618 # shared library, or the linker may eventually find shared libraries
11619 # /with/ Import File - we do not want to mix them.
11620 shared_flag_aix
='-shared'
11621 shared_flag_svr4
='-shared $wl-G'
11624 if test ia64
= "$host_cpu"; then
11625 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11626 # chokes on -Wl,-G. The following line is correct:
11629 if test yes = "$aix_use_runtimelinking"; then
11630 shared_flag
='$wl-G'
11632 shared_flag
='$wl-bM:SRE'
11634 shared_flag_aix
='$wl-bM:SRE'
11635 shared_flag_svr4
='$wl-G'
11639 export_dynamic_flag_spec
='$wl-bexpall'
11640 # It seems that -bexpall does not export symbols beginning with
11641 # underscore (_), so it is better to generate a list of symbols to export.
11642 always_export_symbols
=yes
11643 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11644 # Warning - without using the other runtime loading flags (-brtl),
11645 # -berok will link without error, but may produce a broken library.
11646 allow_undefined_flag
='-berok'
11647 # Determine the default libpath from the value encoded in an
11648 # empty executable.
11649 if test set = "${lt_cv_aix_libpath+set}"; then
11650 aix_libpath
=$lt_cv_aix_libpath
11652 if ${lt_cv_aix_libpath_+:} false
; then :
11653 $as_echo_n "(cached) " >&6
11655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h. */
11666 if ac_fn_c_try_link
"$LINENO"; then :
11668 lt_aix_libpath_sed
='
11669 /Import File Strings/,/^$/ {
11671 s/^0 *\([^ ]*\) *$/\1/
11675 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11676 # Check for a 64-bit object if we didn't find anything.
11677 if test -z "$lt_cv_aix_libpath_"; then
11678 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11681 rm -f core conftest.err conftest.
$ac_objext \
11682 conftest
$ac_exeext conftest.
$ac_ext
11683 if test -z "$lt_cv_aix_libpath_"; then
11684 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11689 aix_libpath
=$lt_cv_aix_libpath_
11692 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11693 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
11695 if test ia64
= "$host_cpu"; then
11696 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
11697 allow_undefined_flag
="-z nodefs"
11698 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"
11700 # Determine the default libpath from the value encoded in an
11701 # empty executable.
11702 if test set = "${lt_cv_aix_libpath+set}"; then
11703 aix_libpath
=$lt_cv_aix_libpath
11705 if ${lt_cv_aix_libpath_+:} false
; then :
11706 $as_echo_n "(cached) " >&6
11708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11719 if ac_fn_c_try_link
"$LINENO"; then :
11721 lt_aix_libpath_sed
='
11722 /Import File Strings/,/^$/ {
11724 s/^0 *\([^ ]*\) *$/\1/
11728 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11729 # Check for a 64-bit object if we didn't find anything.
11730 if test -z "$lt_cv_aix_libpath_"; then
11731 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11734 rm -f core conftest.err conftest.
$ac_objext \
11735 conftest
$ac_exeext conftest.
$ac_ext
11736 if test -z "$lt_cv_aix_libpath_"; then
11737 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11742 aix_libpath
=$lt_cv_aix_libpath_
11745 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11746 # Warning - without using the other run time loading flags,
11747 # -berok will link without error, but may produce a broken library.
11748 no_undefined_flag
=' $wl-bernotok'
11749 allow_undefined_flag
=' $wl-berok'
11750 if test yes = "$with_gnu_ld"; then
11751 # We only use this code for GNU lds that support --whole-archive.
11752 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11754 # Exported symbols can be pulled into shared objects from archives
11755 whole_archive_flag_spec
='$convenience'
11757 archive_cmds_need_lc
=yes
11758 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11759 # -brtl affects multiple linker settings, -berok does not and is overridden later
11760 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11761 if test svr4
!= "$with_aix_soname"; then
11762 # This is similar to how AIX traditionally builds its shared libraries.
11763 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11765 if test aix
!= "$with_aix_soname"; then
11766 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11768 # used by -dlpreopen to get the symbols
11769 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11771 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11779 # see comment about AmigaOS4 .so support
11780 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11781 archive_expsym_cmds
=''
11784 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)'
11785 hardcode_libdir_flag_spec
='-L$libdir'
11786 hardcode_minus_L
=yes
11792 export_dynamic_flag_spec
=-rdynamic
11795 cygwin
* | mingw
* | pw32
* | cegcc
*)
11796 # When not using gcc, we currently assume that we are using
11797 # Microsoft Visual C++ or Intel C++ Compiler.
11798 # hardcode_libdir_flag_spec is actually meaningless, as there is
11799 # no search path for DLLs.
11800 case $cc_basename in
11802 # Native MSVC or ICC
11803 hardcode_libdir_flag_spec
=' '
11804 allow_undefined_flag
=unsupported
11805 always_export_symbols
=yes
11807 # Tell ltmain to make .lib files, not .a files.
11809 # Tell ltmain to make .dll files, not .so files.
11811 # FIXME: Setting linknames here is a bad hack.
11812 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11813 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11814 cp "$export_symbols" "$output_objdir/$soname.def";
11815 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11817 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11819 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11821 # The linker will not automatically build a static lib if we build a DLL.
11822 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11823 enable_shared_with_static_runtimes
=yes
11824 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11825 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11827 old_postinstall_cmds
='chmod 644 $oldlib'
11828 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11829 lt_tool_outputfile="@TOOL_OUTPUT@"~
11830 case $lt_outputfile in
11833 lt_outputfile=$lt_outputfile.exe
11834 lt_tool_outputfile=$lt_tool_outputfile.exe
11837 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11838 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11839 $RM "$lt_outputfile.manifest";
11843 # Assume MSVC and ICC wrapper
11844 hardcode_libdir_flag_spec
=' '
11845 allow_undefined_flag
=unsupported
11846 # Tell ltmain to make .lib files, not .a files.
11848 # Tell ltmain to make .dll files, not .so files.
11850 # FIXME: Setting linknames here is a bad hack.
11851 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11852 # The linker will automatically build a .lib file if we build a DLL.
11853 old_archive_from_new_cmds
='true'
11854 # FIXME: Should let the user specify the lib program.
11855 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11856 enable_shared_with_static_runtimes
=yes
11861 darwin
* | rhapsody
*)
11864 archive_cmds_need_lc
=no
11866 hardcode_automatic
=yes
11867 hardcode_shlibpath_var
=unsupported
11868 if test yes = "$lt_cv_ld_force_load"; then
11869 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\"`'
11872 whole_archive_flag_spec
=''
11874 link_all_deplibs
=yes
11875 allow_undefined_flag
=$_lt_dar_allow_undefined
11876 case $cc_basename in
11877 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11878 *) _lt_dar_can_shared
=$GCC ;;
11880 if test yes = "$_lt_dar_can_shared"; then
11881 output_verbose_link_cmd
=func_echo_all
11882 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11883 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11884 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"
11885 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"
11894 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11895 hardcode_libdir_flag_spec
='-L$libdir'
11896 hardcode_shlibpath_var
=no
11899 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11900 # support. Future versions do this automatically, but an explicit c++rt0.o
11901 # does not break anything, and helps significantly (at the cost of a little
11904 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11905 hardcode_libdir_flag_spec
='-R$libdir'
11906 hardcode_direct
=yes
11907 hardcode_shlibpath_var
=no
11910 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11912 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11913 hardcode_direct
=yes
11914 hardcode_minus_L
=yes
11915 hardcode_shlibpath_var
=no
11918 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11919 freebsd
* | dragonfly
*)
11920 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11921 hardcode_libdir_flag_spec
='-R$libdir'
11922 hardcode_direct
=yes
11923 hardcode_shlibpath_var
=no
11927 if test yes = "$GCC"; then
11928 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11930 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11932 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11933 hardcode_libdir_separator
=:
11934 hardcode_direct
=yes
11936 # hardcode_minus_L: Not really in the search PATH,
11937 # but as the default location of the library.
11938 hardcode_minus_L
=yes
11939 export_dynamic_flag_spec
='$wl-E'
11943 if test yes,no
= "$GCC,$with_gnu_ld"; then
11944 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11946 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11948 if test no
= "$with_gnu_ld"; then
11949 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11950 hardcode_libdir_separator
=:
11951 hardcode_direct
=yes
11952 hardcode_direct_absolute
=yes
11953 export_dynamic_flag_spec
='$wl-E'
11954 # hardcode_minus_L: Not really in the search PATH,
11955 # but as the default location of the library.
11956 hardcode_minus_L
=yes
11961 if test yes,no
= "$GCC,$with_gnu_ld"; then
11964 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11967 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11970 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11976 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11979 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11983 # Older versions of the 11.00 compiler do not understand -b yet
11984 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11986 $as_echo_n "checking if $CC understands -b... " >&6; }
11987 if ${lt_cv_prog_compiler__b+:} false
; then :
11988 $as_echo_n "(cached) " >&6
11990 lt_cv_prog_compiler__b
=no
11991 save_LDFLAGS
=$LDFLAGS
11992 LDFLAGS
="$LDFLAGS -b"
11993 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11994 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11995 # The linker can only warn and ignore the option if not recognized
11996 # So say no if there are warnings
11997 if test -s conftest.err
; then
11998 # Append any errors to the config.log.
11999 cat conftest.err
1>&5
12000 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12001 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12002 if diff conftest.exp conftest.er2
>/dev
/null
; then
12003 lt_cv_prog_compiler__b
=yes
12006 lt_cv_prog_compiler__b
=yes
12010 LDFLAGS
=$save_LDFLAGS
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12014 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12016 if test yes = "$lt_cv_prog_compiler__b"; then
12017 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12019 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12025 if test no
= "$with_gnu_ld"; then
12026 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12027 hardcode_libdir_separator
=:
12032 hardcode_shlibpath_var
=no
12035 hardcode_direct
=yes
12036 hardcode_direct_absolute
=yes
12037 export_dynamic_flag_spec
='$wl-E'
12039 # hardcode_minus_L: Not really in the search PATH,
12040 # but as the default location of the library.
12041 hardcode_minus_L
=yes
12047 irix5
* | irix6
* | nonstopux
*)
12048 if test yes = "$GCC"; then
12049 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'
12050 # Try to use the -exported_symbol ld option, if it does not
12051 # work, assume that -exports_file does not work either and
12052 # implicitly export all symbols.
12053 # This should be the same for all languages, so no per-tag cache variable.
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12055 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12056 if ${lt_cv_irix_exported_symbol+:} false
; then :
12057 $as_echo_n "(cached) " >&6
12059 save_LDFLAGS
=$LDFLAGS
12060 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12063 int foo (void) { return 0; }
12065 if ac_fn_c_try_link
"$LINENO"; then :
12066 lt_cv_irix_exported_symbol
=yes
12068 lt_cv_irix_exported_symbol
=no
12070 rm -f core conftest.err conftest.
$ac_objext \
12071 conftest
$ac_exeext conftest.
$ac_ext
12072 LDFLAGS
=$save_LDFLAGS
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12075 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12076 if test yes = "$lt_cv_irix_exported_symbol"; then
12077 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'
12080 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'
12081 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'
12083 archive_cmds_need_lc
='no'
12084 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12085 hardcode_libdir_separator
=:
12087 link_all_deplibs
=yes
12091 case $cc_basename in
12093 # Fabrice Bellard et al's Tiny C Compiler
12095 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12101 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12102 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12104 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12106 hardcode_libdir_flag_spec
='-R$libdir'
12107 hardcode_direct
=yes
12108 hardcode_shlibpath_var
=no
12112 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12113 hardcode_direct
=yes
12114 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12115 hardcode_libdir_separator
=:
12116 hardcode_shlibpath_var
=no
12122 openbsd
* | bitrig
*)
12123 if test -f /usr
/libexec
/ld.so
; then
12124 hardcode_direct
=yes
12125 hardcode_shlibpath_var
=no
12126 hardcode_direct_absolute
=yes
12127 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12128 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12129 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12130 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12131 export_dynamic_flag_spec
='$wl-E'
12133 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12134 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12142 hardcode_libdir_flag_spec
='-L$libdir'
12143 hardcode_minus_L
=yes
12144 allow_undefined_flag
=unsupported
12146 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12147 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12148 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12149 $ECHO EXPORTS >> $output_objdir/$libname.def~
12150 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12151 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12152 emximp -o $lib $output_objdir/$libname.def'
12153 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12154 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12155 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12156 $ECHO EXPORTS >> $output_objdir/$libname.def~
12157 prefix_cmds="$SED"~
12158 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12159 prefix_cmds="$prefix_cmds -e 1d";
12161 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12162 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12163 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12164 emximp -o $lib $output_objdir/$libname.def'
12165 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12166 enable_shared_with_static_runtimes
=yes
12171 if test yes = "$GCC"; then
12172 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12173 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'
12175 allow_undefined_flag
=' -expect_unresolved \*'
12176 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'
12178 archive_cmds_need_lc
='no'
12179 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12180 hardcode_libdir_separator
=:
12183 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12184 if test yes = "$GCC"; then
12185 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12186 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'
12187 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12189 allow_undefined_flag
=' -expect_unresolved \*'
12190 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'
12191 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~
12192 $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'
12194 # Both c and cxx compiler support -rpath directly
12195 hardcode_libdir_flag_spec
='-rpath $libdir'
12197 archive_cmds_need_lc
='no'
12198 hardcode_libdir_separator
=:
12202 no_undefined_flag
=' -z defs'
12203 if test yes = "$GCC"; then
12205 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12206 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12207 $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'
12209 case `$CC -V 2>&1` in
12212 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12213 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12214 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12218 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12219 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12220 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12224 hardcode_libdir_flag_spec
='-R$libdir'
12225 hardcode_shlibpath_var
=no
12227 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12229 # The compiler driver will combine and reorder linker options,
12230 # but understands '-z linker_flag'. GCC discards it without '$wl',
12231 # but is careful enough not to reorder.
12232 # Supported since Solaris 2.6 (maybe 2.5.1?)
12233 if test yes = "$GCC"; then
12234 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12236 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12240 link_all_deplibs
=yes
12244 if test sequent
= "$host_vendor"; then
12245 # Use $CC to link under sequent, because it throws in some extra .o
12246 # files that make .init and .fini sections work.
12247 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12249 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12251 hardcode_libdir_flag_spec
='-L$libdir'
12252 hardcode_direct
=yes
12253 hardcode_minus_L
=yes
12254 hardcode_shlibpath_var
=no
12258 case $host_vendor in
12260 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12261 hardcode_direct
=yes # is this really true???
12264 ## LD is ld it makes a PLAMLIB
12265 ## CC just makes a GrossModule.
12266 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12267 reload_cmds
='$CC -r -o $output$reload_objs'
12271 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12272 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12275 runpath_var
='LD_RUN_PATH'
12276 hardcode_shlibpath_var
=no
12280 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12281 hardcode_shlibpath_var
=no
12282 export_dynamic_flag_spec
='-Bexport'
12286 if test -d /usr
/nec
; then
12287 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12288 hardcode_shlibpath_var
=no
12289 runpath_var
=LD_RUN_PATH
12290 hardcode_runpath_var
=yes
12295 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12296 no_undefined_flag
='$wl-z,text'
12297 archive_cmds_need_lc
=no
12298 hardcode_shlibpath_var
=no
12299 runpath_var
='LD_RUN_PATH'
12301 if test yes = "$GCC"; then
12302 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12303 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12305 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12306 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12310 sysv5
* | sco3.2v5
* | sco5v6
*)
12311 # Note: We CANNOT use -z defs as we might desire, because we do not
12312 # link with -lc, and that would cause any symbols used from libc to
12313 # always be unresolved, which means just about no library would
12314 # ever link correctly. If we're not using GNU ld we use -z text
12315 # though, which does catch some bad symbols but isn't as heavy-handed
12317 no_undefined_flag
='$wl-z,text'
12318 allow_undefined_flag
='$wl-z,nodefs'
12319 archive_cmds_need_lc
=no
12320 hardcode_shlibpath_var
=no
12321 hardcode_libdir_flag_spec
='$wl-R,$libdir'
12322 hardcode_libdir_separator
=':'
12323 link_all_deplibs
=yes
12324 export_dynamic_flag_spec
='$wl-Bexport'
12325 runpath_var
='LD_RUN_PATH'
12327 if test yes = "$GCC"; then
12328 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12329 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12331 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12332 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12337 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12338 hardcode_libdir_flag_spec
='-L$libdir'
12339 hardcode_shlibpath_var
=no
12347 if test sni
= "$host_vendor"; then
12349 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12350 export_dynamic_flag_spec
='$wl-Blargedynsym'
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12357 $as_echo "$ld_shlibs" >&6; }
12358 test no
= "$ld_shlibs" && can_build_shared
=no
12360 with_gnu_ld
=$with_gnu_ld
12377 # Do we need to explicitly link libc?
12379 case "x$archive_cmds_need_lc" in
12381 # Assume -lc should be added
12382 archive_cmds_need_lc
=yes
12384 if test yes,yes = "$GCC,$enable_shared"; then
12385 case $archive_cmds in
12387 # FIXME: we may have to deal with multi-command sequences.
12390 # Test whether the compiler implicitly links with -lc since on some
12391 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12392 # to ld, don't add -lc before -lgcc.
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12394 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12395 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
12396 $as_echo_n "(cached) " >&6
12399 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12402 (eval $ac_compile) 2>&5
12404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12405 test $ac_status = 0; } 2>conftest.err
; then
12408 libobjs
=conftest.
$ac_objext
12410 wl
=$lt_prog_compiler_wl
12411 pic_flag
=$lt_prog_compiler_pic
12417 lt_save_allow_undefined_flag
=$allow_undefined_flag
12418 allow_undefined_flag
=
12419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12420 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12423 test $ac_status = 0; }
12425 lt_cv_archive_cmds_need_lc
=no
12427 lt_cv_archive_cmds_need_lc
=yes
12429 allow_undefined_flag
=$lt_save_allow_undefined_flag
12431 cat conftest.err
1>&5
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12437 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12438 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12597 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12599 if test yes = "$GCC"; then
12601 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
12602 *) lt_awk_arg
='/^libraries:/' ;;
12605 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
12606 *) lt_sed_strip_eq
='s|=/|/|g' ;;
12608 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12609 case $lt_search_path_spec in
12611 # if the path contains ";" then we assume it to be the separator
12612 # otherwise default to the standard path separator (i.e. ":") - it is
12613 # assumed that no part of a normal pathname contains ";" but that should
12614 # okay in the real world where ";" in dirpaths is itself problematic.
12615 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12618 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12621 # Ok, now we have the path, separated by spaces, we can step through it
12622 # and add multilib dir if necessary...
12623 lt_tmp_lt_search_path_spec
=
12624 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12625 # ...but if some path component already ends with the multilib dir we assume
12626 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12627 case "$lt_multi_os_dir; $lt_search_path_spec " in
12628 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
12632 for lt_sys_path
in $lt_search_path_spec; do
12633 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12634 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12635 elif test -n "$lt_multi_os_dir"; then
12636 test -d "$lt_sys_path" && \
12637 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12640 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12641 BEGIN {RS = " "; FS = "/|\n";} {
12644 for (lt_i = NF; lt_i > 0; lt_i--) {
12645 if ($lt_i != "" && $lt_i != ".") {
12646 if ($lt_i == "..") {
12649 if (lt_count == 0) {
12650 lt_foo = "/" $lt_i lt_foo;
12657 if (lt_foo != "") { lt_freq[lt_foo]++; }
12658 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12660 # AWK program above erroneously prepends '/' to C:/dos/paths
12663 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12664 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12666 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12668 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12670 library_names_spec
=
12671 libname_spec
='lib$name'
12675 postuninstall_cmds
=
12679 shlibpath_overrides_runpath
=unknown
12681 dynamic_linker
="$host_os ld.so"
12682 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12683 need_lib_prefix
=unknown
12684 hardcode_into_libs
=no
12686 # when you set need_version to no, make sure it does not cause -set_version
12687 # flags to be left without arguments
12688 need_version
=unknown
12694 version_type
=linux
# correct to gnu/linux during the next big refactor
12695 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
12696 shlibpath_var
=LIBPATH
12698 # AIX 3 has no versioning support, so we append a major version to the name.
12699 soname_spec
='$libname$release$shared_ext$major'
12703 version_type
=linux
# correct to gnu/linux during the next big refactor
12706 hardcode_into_libs
=yes
12707 if test ia64
= "$host_cpu"; then
12708 # AIX 5 supports IA64
12709 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12710 shlibpath_var
=LD_LIBRARY_PATH
12712 # With GCC up to 2.95.x, collect2 would create an import file
12713 # for dependence libraries. The import file would start with
12714 # the line '#! .'. This would cause the generated library to
12715 # depend on '.', always an invalid library. This was fixed in
12716 # development snapshots of GCC prior to 3.0.
12718 aix4 | aix4.
[01] | aix4.
[01].
*)
12719 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12721 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
12724 can_build_shared
=no
12728 # Using Import Files as archive members, it is possible to support
12729 # filename-based versioning of shared library archives on AIX. While
12730 # this would work for both with and without runtime linking, it will
12731 # prevent static linking of such archives. So we do filename-based
12732 # shared library versioning with .so extension only, which is used
12733 # when both runtime linking and shared linking is enabled.
12734 # Unfortunately, runtime linking may impact performance, so we do
12735 # not want this to be the default eventually. Also, we use the
12736 # versioned .so libs for executables only if there is the -brtl
12737 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12738 # To allow for filename-based versioning support, we need to create
12739 # libNAME.so.V as an archive file, containing:
12740 # *) an Import File, referring to the versioned filename of the
12741 # archive as well as the shared archive member, telling the
12742 # bitwidth (32 or 64) of that shared object, and providing the
12743 # list of exported symbols of that shared object, eventually
12744 # decorated with the 'weak' keyword
12745 # *) the shared object with the F_LOADONLY flag set, to really avoid
12746 # it being seen by the linker.
12747 # At run time we better use the real file rather than another symlink,
12748 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12750 case $with_aix_soname,$aix_use_runtimelinking in
12751 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12752 # soname into executable. Probably we can add versioning support to
12753 # collect2, so additional links can be useful in future.
12754 aix
,yes) # traditional libtool
12755 dynamic_linker
='AIX unversionable lib.so'
12756 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12757 # instead of lib<name>.a to let people know that these are not
12758 # typical AIX shared libraries.
12759 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12761 aix
,no
) # traditional AIX only
12762 dynamic_linker
='AIX lib.a(lib.so.V)'
12763 # We preserve .a as extension for shared libraries through AIX4.2
12764 # and later when we are not doing run time linking.
12765 library_names_spec
='$libname$release.a $libname.a'
12766 soname_spec
='$libname$release$shared_ext$major'
12768 svr4
,*) # full svr4 only
12769 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12770 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12771 # We do not specify a path in Import Files, so LIBPATH fires.
12772 shlibpath_overrides_runpath
=yes
12774 *,yes) # both, prefer svr4
12775 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12776 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12777 # unpreferred sharedlib libNAME.a needs extra handling
12778 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12779 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12780 # We do not specify a path in Import Files, so LIBPATH fires.
12781 shlibpath_overrides_runpath
=yes
12783 *,no
) # both, prefer aix
12784 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12785 library_names_spec
='$libname$release.a $libname.a'
12786 soname_spec
='$libname$release$shared_ext$major'
12787 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12788 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12789 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12792 shlibpath_var
=LIBPATH
12799 # Since July 2007 AmigaOS4 officially supports .so libraries.
12800 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12801 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12804 library_names_spec
='$libname.ixlibrary $libname.a'
12805 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12806 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
12812 library_names_spec
='$libname$shared_ext'
12813 dynamic_linker
="$host_os ld.so"
12814 shlibpath_var
=LIBRARY_PATH
12818 version_type
=linux
# correct to gnu/linux during the next big refactor
12820 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12821 soname_spec
='$libname$release$shared_ext$major'
12822 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12823 shlibpath_var
=LD_LIBRARY_PATH
12824 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12825 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12826 # the default ld.so.conf also contains /usr/contrib/lib and
12827 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12828 # libtool to hard-code these into programs
12831 cygwin
* | mingw
* | pw32
* | cegcc
*)
12832 version_type
=windows
12837 case $GCC,$cc_basename in
12840 library_names_spec
='$libname.dll.a'
12841 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12842 postinstall_cmds
='base_file=`basename \$file`~
12843 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12844 dldir=$destdir/`dirname \$dlpath`~
12845 test -d \$dldir || mkdir -p \$dldir~
12846 $install_prog $dir/$dlname \$dldir/$dlname~
12847 chmod a+x \$dldir/$dlname~
12848 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12849 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12851 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12852 dlpath=$dir/\$dldll~
12854 shlibpath_overrides_runpath
=yes
12858 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12859 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12861 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12864 # MinGW DLLs use traditional 'lib' prefix
12865 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12868 # pw32 DLLs use 'pw' prefix rather than 'lib'
12869 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12872 dynamic_linker
='Win32 ld.exe'
12876 # Native MSVC or ICC
12877 libname_spec
='$name'
12878 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12879 library_names_spec
='$libname.dll.lib'
12883 sys_lib_search_path_spec
=
12886 for lt_path
in $LIB
12889 # Let DOS variable expansion print the short 8.3 style file name.
12890 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12891 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12894 # Convert to MSYS style.
12895 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12898 # Convert to unix form, then to dos form, then back to unix form
12899 # but this time dos style (no spaces!) so that the unix form looks
12900 # like /cygdrive/c/PROGRA~1:/cygdr...
12901 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12902 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12903 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12906 sys_lib_search_path_spec
=$LIB
12907 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12908 # It is most probably a Windows format PATH.
12909 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12911 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12913 # FIXME: find the short name or the path components, as spaces are
12914 # common. (e.g. "Program Files" -> "PROGRA~1")
12918 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12919 postinstall_cmds
='base_file=`basename \$file`~
12920 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12921 dldir=$destdir/`dirname \$dlpath`~
12922 test -d \$dldir || mkdir -p \$dldir~
12923 $install_prog $dir/$dlname \$dldir/$dlname'
12924 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12925 dlpath=$dir/\$dldll~
12927 shlibpath_overrides_runpath
=yes
12928 dynamic_linker
='Win32 link.exe'
12932 # Assume MSVC and ICC wrapper
12933 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12934 dynamic_linker
='Win32 ld.exe'
12937 # FIXME: first we should search . and the directory the executable is in
12941 darwin
* | rhapsody
*)
12942 dynamic_linker
="$host_os dyld"
12943 version_type
=darwin
12946 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12947 soname_spec
='$libname$release$major$shared_ext'
12948 shlibpath_overrides_runpath
=yes
12949 shlibpath_var
=DYLD_LIBRARY_PATH
12950 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12952 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12953 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12957 version_type
=linux
# correct to gnu/linux during the next big refactor
12960 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12961 soname_spec
='$libname$release$shared_ext$major'
12962 shlibpath_var
=LD_LIBRARY_PATH
12965 freebsd
* | dragonfly
*)
12966 # DragonFly does not have aout. When/if they implement a new
12967 # versioning mechanism, adjust this.
12968 if test -x /usr
/bin
/objformat
; then
12969 objformat
=`/usr/bin/objformat`
12972 freebsd
[23].
*) objformat
=aout
;;
12973 *) objformat
=elf
;;
12976 version_type
=freebsd-
$objformat
12977 case $version_type in
12979 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12980 soname_spec
='$libname$release$shared_ext$major'
12985 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12989 shlibpath_var
=LD_LIBRARY_PATH
12992 shlibpath_overrides_runpath
=yes
12994 freebsd3.
[01]* | freebsdelf3.
[01]*)
12995 shlibpath_overrides_runpath
=yes
12996 hardcode_into_libs
=yes
12998 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12999 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13000 shlibpath_overrides_runpath
=no
13001 hardcode_into_libs
=yes
13003 *) # from 4.6 on, and DragonFly
13004 shlibpath_overrides_runpath
=yes
13005 hardcode_into_libs
=yes
13011 version_type
=linux
# correct to gnu/linux during the next big refactor
13014 dynamic_linker
="$host_os runtime_loader"
13015 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13016 soname_spec
='$libname$release$shared_ext$major'
13017 shlibpath_var
=LIBRARY_PATH
13018 shlibpath_overrides_runpath
=no
13019 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13020 hardcode_into_libs
=yes
13023 hpux9
* | hpux10
* | hpux11
*)
13024 # Give a soname corresponding to the major version so that dld.sl refuses to
13025 # link against other versions.
13032 hardcode_into_libs
=yes
13033 dynamic_linker
="$host_os dld.so"
13034 shlibpath_var
=LD_LIBRARY_PATH
13035 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13036 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13037 soname_spec
='$libname$release$shared_ext$major'
13038 if test 32 = "$HPUX_IA64_MODE"; then
13039 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13040 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
13042 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13043 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
13048 hardcode_into_libs
=yes
13049 dynamic_linker
="$host_os dld.sl"
13050 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13051 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13052 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13053 soname_spec
='$libname$release$shared_ext$major'
13054 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13055 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13059 dynamic_linker
="$host_os dld.sl"
13060 shlibpath_var
=SHLIB_PATH
13061 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13062 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13063 soname_spec
='$libname$release$shared_ext$major'
13066 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13067 postinstall_cmds
='chmod 555 $lib'
13068 # or fails outright, so override atomically:
13069 install_override_mode
=555
13073 version_type
=linux
# correct to gnu/linux during the next big refactor
13076 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13077 soname_spec
='$libname$release$shared_ext$major'
13078 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13079 shlibpath_var
=LD_LIBRARY_PATH
13080 shlibpath_overrides_runpath
=no
13081 hardcode_into_libs
=yes
13084 irix5
* | irix6
* | nonstopux
*)
13086 nonstopux
*) version_type
=nonstopux
;;
13088 if test yes = "$lt_cv_prog_gnu_ld"; then
13089 version_type
=linux
# correct to gnu/linux during the next big refactor
13096 soname_spec
='$libname$release$shared_ext$major'
13097 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13099 irix5
* | nonstopux
*)
13100 libsuff
= shlibsuff
=
13103 case $LD in # libtool.m4 will add one of these switches to LD
13104 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13105 libsuff
= shlibsuff
= libmagic
=32-bit;;
13106 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13107 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13108 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13109 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13110 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13114 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13115 shlibpath_overrides_runpath
=no
13116 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13117 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
13118 hardcode_into_libs
=yes
13121 # No shared lib support for Linux oldld, aout, or coff.
13122 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13127 version_type
=none
# Android doesn't support versioned libraries.
13130 library_names_spec
='$libname$release$shared_ext'
13131 soname_spec
='$libname$release$shared_ext'
13133 shlibpath_var
=LD_LIBRARY_PATH
13134 shlibpath_overrides_runpath
=yes
13136 # This implies no fast_install, which is unacceptable.
13137 # Some rework will be needed to allow for fast_install
13138 # before this can be enabled.
13139 hardcode_into_libs
=yes
13141 dynamic_linker
='Android linker'
13142 # Don't embed -rpath directories since the linker doesn't support them.
13143 hardcode_libdir_flag_spec
='-L$libdir'
13146 # This must be glibc/ELF.
13147 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
13148 version_type
=linux
# correct to gnu/linux during the next big refactor
13151 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13152 soname_spec
='$libname$release$shared_ext$major'
13153 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13154 shlibpath_var
=LD_LIBRARY_PATH
13155 shlibpath_overrides_runpath
=no
13157 # Some binutils ld are patched to set DT_RUNPATH
13158 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13159 $as_echo_n "(cached) " >&6
13161 lt_cv_shlibpath_overrides_runpath
=no
13162 save_LDFLAGS
=$LDFLAGS
13163 save_libdir
=$libdir
13164 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13165 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13167 /* end confdefs.h. */
13177 if ac_fn_c_try_link
"$LINENO"; then :
13178 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13179 lt_cv_shlibpath_overrides_runpath
=yes
13182 rm -f core conftest.err conftest.
$ac_objext \
13183 conftest
$ac_exeext conftest.
$ac_ext
13184 LDFLAGS
=$save_LDFLAGS
13185 libdir
=$save_libdir
13189 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13191 # This implies no fast_install, which is unacceptable.
13192 # Some rework will be needed to allow for fast_install
13193 # before this can be enabled.
13194 hardcode_into_libs
=yes
13196 # Ideally, we could use ldconfig to report *all* directores which are
13197 # searched for libraries, however this is still not possible. Aside from not
13198 # being certain /sbin/ldconfig is available, command
13199 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13200 # even though it is searched at run-time. Try to do the best guess by
13201 # appending ld.so.conf contents (and includes) to the search path.
13202 if test -f /etc
/ld.so.conf
; then
13203 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' ' '`
13204 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13207 # We used to test for /lib/ld.so.1 and disable shared libraries on
13208 # powerpc, because MkLinux only supported shared libraries with the
13209 # GNU dynamic linker. Since this was broken with cross compilers,
13210 # most powerpc-linux boxes support dynamic linking these days and
13211 # people can always --disable-shared, the test was removed, and we
13212 # assume the GNU/Linux dynamic linker is in use.
13213 dynamic_linker
='GNU/Linux ld.so'
13220 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13221 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13222 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13223 dynamic_linker
='NetBSD (a.out) ld.so'
13225 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13226 soname_spec
='$libname$release$shared_ext$major'
13227 dynamic_linker
='NetBSD ld.elf_so'
13229 shlibpath_var
=LD_LIBRARY_PATH
13230 shlibpath_overrides_runpath
=yes
13231 hardcode_into_libs
=yes
13235 version_type
=linux
# correct to gnu/linux during the next big refactor
13236 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13237 shlibpath_var
=LD_LIBRARY_PATH
13238 shlibpath_overrides_runpath
=yes
13245 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13246 soname_spec
='$libname$release$shared_ext$major'
13247 shlibpath_var
=LD_LIBRARY_PATH
13248 shlibpath_overrides_runpath
=no
13249 hardcode_into_libs
=yes
13250 dynamic_linker
='ldqnx.so'
13253 openbsd
* | bitrig
*)
13255 sys_lib_dlsearch_path_spec
=/usr
/lib
13257 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13262 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13263 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13264 shlibpath_var
=LD_LIBRARY_PATH
13265 shlibpath_overrides_runpath
=yes
13269 libname_spec
='$name'
13270 version_type
=windows
13274 # OS/2 can only load a DLL with a base name of 8 characters or less.
13275 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
13276 v=$($ECHO $release$versuffix | tr -d .-);
13277 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13278 $ECHO $n$v`$shared_ext'
13279 library_names_spec
='${libname}_dll.$libext'
13280 dynamic_linker
='OS/2 ld.exe'
13281 shlibpath_var
=BEGINLIBPATH
13282 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13283 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13284 postinstall_cmds
='base_file=`basename \$file`~
13285 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13286 dldir=$destdir/`dirname \$dlpath`~
13287 test -d \$dldir || mkdir -p \$dldir~
13288 $install_prog $dir/$dlname \$dldir/$dlname~
13289 chmod a+x \$dldir/$dlname~
13290 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13291 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13293 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13294 dlpath=$dir/\$dldll~
13298 osf3
* | osf4
* | osf5
*)
13302 soname_spec
='$libname$release$shared_ext$major'
13303 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13304 shlibpath_var
=LD_LIBRARY_PATH
13305 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13306 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13314 version_type
=linux
# correct to gnu/linux during the next big refactor
13317 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13318 soname_spec
='$libname$release$shared_ext$major'
13319 shlibpath_var
=LD_LIBRARY_PATH
13320 shlibpath_overrides_runpath
=yes
13321 hardcode_into_libs
=yes
13322 # ldd complains unless libraries are executable
13323 postinstall_cmds
='chmod +x $lib'
13328 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13329 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13330 shlibpath_var
=LD_LIBRARY_PATH
13331 shlibpath_overrides_runpath
=yes
13332 if test yes = "$with_gnu_ld"; then
13339 version_type
=linux
# correct to gnu/linux during the next big refactor
13340 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13341 soname_spec
='$libname$release$shared_ext$major'
13342 shlibpath_var
=LD_LIBRARY_PATH
13343 case $host_vendor in
13345 shlibpath_overrides_runpath
=no
13347 runpath_var
=LD_RUN_PATH
13355 shlibpath_overrides_runpath
=no
13356 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13362 if test -d /usr
/nec
; then
13363 version_type
=linux
# correct to gnu/linux during the next big refactor
13364 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13365 soname_spec
='$libname$shared_ext.$major'
13366 shlibpath_var
=LD_LIBRARY_PATH
13370 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13374 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13375 soname_spec
='$libname$release$shared_ext$major'
13376 shlibpath_var
=LD_LIBRARY_PATH
13377 shlibpath_overrides_runpath
=yes
13378 hardcode_into_libs
=yes
13379 if test yes = "$with_gnu_ld"; then
13380 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13382 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13385 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13389 sys_lib_dlsearch_path_spec
='/usr/lib'
13393 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13394 version_type
=linux
# correct to gnu/linux during the next big refactor
13397 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13398 shlibpath_var
=LD_LIBRARY_PATH
13399 shlibpath_overrides_runpath
=no
13400 hardcode_into_libs
=yes
13404 version_type
=linux
# correct to gnu/linux during the next big refactor
13405 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13406 soname_spec
='$libname$release$shared_ext$major'
13407 shlibpath_var
=LD_LIBRARY_PATH
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13415 $as_echo "$dynamic_linker" >&6; }
13416 test no
= "$dynamic_linker" && can_build_shared
=no
13418 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13419 if test yes = "$GCC"; then
13420 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13423 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13424 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
13427 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13428 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
13431 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13432 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
13434 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13435 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
13437 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13438 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13537 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13539 if test -n "$hardcode_libdir_flag_spec" ||
13540 test -n "$runpath_var" ||
13541 test yes = "$hardcode_automatic"; then
13543 # We can hardcode non-existent directories.
13544 if test no
!= "$hardcode_direct" &&
13545 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13546 # have to relink, otherwise we might link with an installed library
13547 # when we should be linking with a yet-to-be-installed one
13548 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13549 test no
!= "$hardcode_minus_L"; then
13550 # Linking always hardcodes the temporary library directory.
13551 hardcode_action
=relink
13553 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13554 hardcode_action
=immediate
13557 # We cannot hardcode anything, or else we can only hardcode existing
13559 hardcode_action
=unsupported
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13562 $as_echo "$hardcode_action" >&6; }
13564 if test relink
= "$hardcode_action" ||
13565 test yes = "$inherit_rpath"; then
13566 # Fast installation is not supported
13567 enable_fast_install
=no
13568 elif test yes = "$shlibpath_overrides_runpath" ||
13569 test no
= "$enable_shared"; then
13570 # Fast installation is not necessary
13571 enable_fast_install
=needless
13579 if test yes != "$enable_dlopen"; then
13580 enable_dlopen
=unknown
13581 enable_dlopen_self
=unknown
13582 enable_dlopen_self_static
=unknown
13589 lt_cv_dlopen
=load_add_on
13591 lt_cv_dlopen_self
=yes
13594 mingw
* | pw32
* | cegcc
*)
13595 lt_cv_dlopen
=LoadLibrary
13600 lt_cv_dlopen
=dlopen
13605 # if libdl is installed we need to link against it
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13607 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13608 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13609 $as_echo_n "(cached) " >&6
13611 ac_check_lib_save_LIBS
=$LIBS
13613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13616 /* Override any GCC internal prototype to avoid an error.
13617 Use char because int might match the return type of a GCC
13618 builtin and then its argument prototype would still apply. */
13631 if ac_fn_c_try_link
"$LINENO"; then :
13632 ac_cv_lib_dl_dlopen
=yes
13634 ac_cv_lib_dl_dlopen
=no
13636 rm -f core conftest.err conftest.
$ac_objext \
13637 conftest
$ac_exeext conftest.
$ac_ext
13638 LIBS
=$ac_check_lib_save_LIBS
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13641 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13642 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13643 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13648 lt_cv_dlopen_self
=yes
13655 # Don't try to run any link tests for TPF. We know it's impossible
13656 # because TPF is a cross-compiler, and we know how we open DSOs.
13657 lt_cv_dlopen
=dlopen
13659 lt_cv_dlopen_self
=no
13663 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13664 if test "x$ac_cv_func_shl_load" = xyes
; then :
13665 lt_cv_dlopen
=shl_load
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13668 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13669 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13670 $as_echo_n "(cached) " >&6
13672 ac_check_lib_save_LIBS
=$LIBS
13674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13675 /* end confdefs.h. */
13677 /* Override any GCC internal prototype to avoid an error.
13678 Use char because int might match the return type of a GCC
13679 builtin and then its argument prototype would still apply. */
13687 return shl_load ();
13692 if ac_fn_c_try_link
"$LINENO"; then :
13693 ac_cv_lib_dld_shl_load
=yes
13695 ac_cv_lib_dld_shl_load
=no
13697 rm -f core conftest.err conftest.
$ac_objext \
13698 conftest
$ac_exeext conftest.
$ac_ext
13699 LIBS
=$ac_check_lib_save_LIBS
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13702 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13703 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13704 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
13706 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13707 if test "x$ac_cv_func_dlopen" = xyes
; then :
13708 lt_cv_dlopen
=dlopen
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13711 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13712 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13713 $as_echo_n "(cached) " >&6
13715 ac_check_lib_save_LIBS
=$LIBS
13717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13718 /* end confdefs.h. */
13720 /* Override any GCC internal prototype to avoid an error.
13721 Use char because int might match the return type of a GCC
13722 builtin and then its argument prototype would still apply. */
13735 if ac_fn_c_try_link
"$LINENO"; then :
13736 ac_cv_lib_dl_dlopen
=yes
13738 ac_cv_lib_dl_dlopen
=no
13740 rm -f core conftest.err conftest.
$ac_objext \
13741 conftest
$ac_exeext conftest.
$ac_ext
13742 LIBS
=$ac_check_lib_save_LIBS
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13745 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13746 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13747 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13750 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13751 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13752 $as_echo_n "(cached) " >&6
13754 ac_check_lib_save_LIBS
=$LIBS
13755 LIBS
="-lsvld $LIBS"
13756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13759 /* Override any GCC internal prototype to avoid an error.
13760 Use char because int might match the return type of a GCC
13761 builtin and then its argument prototype would still apply. */
13774 if ac_fn_c_try_link
"$LINENO"; then :
13775 ac_cv_lib_svld_dlopen
=yes
13777 ac_cv_lib_svld_dlopen
=no
13779 rm -f core conftest.err conftest.
$ac_objext \
13780 conftest
$ac_exeext conftest.
$ac_ext
13781 LIBS
=$ac_check_lib_save_LIBS
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13784 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13785 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13786 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13789 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13790 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13791 $as_echo_n "(cached) " >&6
13793 ac_check_lib_save_LIBS
=$LIBS
13795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13798 /* Override any GCC internal prototype to avoid an error.
13799 Use char because int might match the return type of a GCC
13800 builtin and then its argument prototype would still apply. */
13808 return dld_link ();
13813 if ac_fn_c_try_link
"$LINENO"; then :
13814 ac_cv_lib_dld_dld_link
=yes
13816 ac_cv_lib_dld_dld_link
=no
13818 rm -f core conftest.err conftest.
$ac_objext \
13819 conftest
$ac_exeext conftest.
$ac_ext
13820 LIBS
=$ac_check_lib_save_LIBS
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13823 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13824 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13825 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13846 if test no
= "$lt_cv_dlopen"; then
13852 case $lt_cv_dlopen in
13854 save_CPPFLAGS
=$CPPFLAGS
13855 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13857 save_LDFLAGS
=$LDFLAGS
13858 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13861 LIBS
="$lt_cv_dlopen_libs $LIBS"
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13864 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13865 if ${lt_cv_dlopen_self+:} false
; then :
13866 $as_echo_n "(cached) " >&6
13868 if test yes = "$cross_compiling"; then :
13869 lt_cv_dlopen_self
=cross
13871 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13872 lt_status
=$lt_dlunknown
13873 cat > conftest.
$ac_ext <<_LT_EOF
13874 #line $LINENO "configure"
13875 #include "confdefs.h"
13884 # define LT_DLGLOBAL RTLD_GLOBAL
13887 # define LT_DLGLOBAL DL_GLOBAL
13889 # define LT_DLGLOBAL 0
13893 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13894 find out it does not work in some platform. */
13895 #ifndef LT_DLLAZY_OR_NOW
13897 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13900 # define LT_DLLAZY_OR_NOW DL_LAZY
13903 # define LT_DLLAZY_OR_NOW RTLD_NOW
13906 # define LT_DLLAZY_OR_NOW DL_NOW
13908 # define LT_DLLAZY_OR_NOW 0
13915 /* When -fvisibility=hidden is used, assume the code has been annotated
13916 correspondingly for the symbols needed. */
13917 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13918 int fnord () __attribute__((visibility("default")));
13921 int fnord () { return 42; }
13924 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13925 int status = $lt_dlunknown;
13929 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13932 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13933 else puts (dlerror ());
13935 /* dlclose (self); */
13943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13944 (eval $ac_link) 2>&5
13946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13947 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13948 (.
/conftest
; exit; ) >&5 2>/dev
/null
13950 case x
$lt_status in
13951 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13952 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13953 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13956 # compilation failed
13957 lt_cv_dlopen_self
=no
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13965 $as_echo "$lt_cv_dlopen_self" >&6; }
13967 if test yes = "$lt_cv_dlopen_self"; then
13968 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13970 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13971 if ${lt_cv_dlopen_self_static+:} false
; then :
13972 $as_echo_n "(cached) " >&6
13974 if test yes = "$cross_compiling"; then :
13975 lt_cv_dlopen_self_static
=cross
13977 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13978 lt_status
=$lt_dlunknown
13979 cat > conftest.
$ac_ext <<_LT_EOF
13980 #line $LINENO "configure"
13981 #include "confdefs.h"
13990 # define LT_DLGLOBAL RTLD_GLOBAL
13993 # define LT_DLGLOBAL DL_GLOBAL
13995 # define LT_DLGLOBAL 0
13999 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14000 find out it does not work in some platform. */
14001 #ifndef LT_DLLAZY_OR_NOW
14003 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14006 # define LT_DLLAZY_OR_NOW DL_LAZY
14009 # define LT_DLLAZY_OR_NOW RTLD_NOW
14012 # define LT_DLLAZY_OR_NOW DL_NOW
14014 # define LT_DLLAZY_OR_NOW 0
14021 /* When -fvisibility=hidden is used, assume the code has been annotated
14022 correspondingly for the symbols needed. */
14023 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14024 int fnord () __attribute__((visibility("default")));
14027 int fnord () { return 42; }
14030 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14031 int status = $lt_dlunknown;
14035 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14038 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14039 else puts (dlerror ());
14041 /* dlclose (self); */
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14050 (eval $ac_link) 2>&5
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14054 (.
/conftest
; exit; ) >&5 2>/dev
/null
14056 case x
$lt_status in
14057 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14058 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14059 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
14062 # compilation failed
14063 lt_cv_dlopen_self_static
=no
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14071 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14074 CPPFLAGS
=$save_CPPFLAGS
14075 LDFLAGS
=$save_LDFLAGS
14080 case $lt_cv_dlopen_self in
14081 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14082 *) enable_dlopen_self
=unknown
;;
14085 case $lt_cv_dlopen_self_static in
14086 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14087 *) enable_dlopen_self_static
=unknown
;;
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14110 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14111 if test -z "$STRIP"; then
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14113 $as_echo "no" >&6; }
14115 if $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
14116 old_striplib
="$STRIP --strip-debug"
14117 striplib
="$STRIP --strip-unneeded"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14119 $as_echo "yes" >&6; }
14123 # FIXME - insert some real tests, host_os isn't really good enough
14124 striplib
="$STRIP -x"
14125 old_striplib
="$STRIP -S"
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14127 $as_echo "yes" >&6; }
14130 if $STRIP -V 2>&1 |
$GREP "elftoolchain" >/dev
/null
; then
14131 old_striplib
="$STRIP --strip-debug"
14132 striplib
="$STRIP --strip-unneeded"
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14134 $as_echo "yes" >&6; }
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14137 $as_echo "no" >&6; }
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14142 $as_echo "no" >&6; }
14159 # Report what library types will actually be built
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14161 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14163 $as_echo "$can_build_shared" >&6; }
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14166 $as_echo_n "checking whether to build shared libraries... " >&6; }
14167 test no
= "$can_build_shared" && enable_shared
=no
14169 # On AIX, shared libraries and static libraries use the same namespace, and
14170 # are all built from PIC.
14173 test yes = "$enable_shared" && enable_static
=no
14174 if test -n "$RANLIB"; then
14175 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14176 postinstall_cmds
='$RANLIB $lib'
14181 if test ia64
!= "$host_cpu"; then
14182 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14183 yes,aix
,yes) ;; # shared object as lib.so file only
14184 yes,svr4
,*) ;; # shared object as lib.so archive member only
14185 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14191 $as_echo "$enable_shared" >&6; }
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14194 $as_echo_n "checking whether to build static libraries... " >&6; }
14195 # Make sure either enable_shared or enable_static is yes.
14196 test yes = "$enable_shared" || enable_static
=yes
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14198 $as_echo "$enable_static" >&6; }
14205 ac_cpp
='$CPP $CPPFLAGS'
14206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14212 if test -n "$CXX" && ( test no
!= "$CXX" &&
14213 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14214 (test g
++ != "$CXX"))); then
14216 ac_cpp
='$CXXCPP $CPPFLAGS'
14217 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14218 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14219 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14221 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14222 if test -z "$CXXCPP"; then
14223 if ${ac_cv_prog_CXXCPP+:} false
; then :
14224 $as_echo_n "(cached) " >&6
14226 # Double quotes because CXXCPP needs to be expanded
14227 for CXXCPP
in "$CXX -E" "/lib/cpp"
14229 ac_preproc_ok
=false
14230 for ac_cxx_preproc_warn_flag
in '' yes
14232 # Use a header file that comes with gcc, so configuring glibc
14233 # with a fresh cross-compiler works.
14234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14235 # <limits.h> exists even on freestanding compilers.
14236 # On the NeXT, cc -E runs the code through the compiler's parser,
14237 # not just through cpp. "Syntax error" is here to catch this case.
14238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14241 # include <limits.h>
14243 # include <assert.h>
14247 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14250 # Broken: fails on valid input.
14253 rm -f conftest.err conftest.i conftest.
$ac_ext
14255 # OK, works on sane cases. Now check whether nonexistent headers
14256 # can be detected and how.
14257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14259 #include <ac_nonexistent.h>
14261 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14262 # Broken: success on invalid input.
14265 # Passes both tests.
14269 rm -f conftest.err conftest.i conftest.
$ac_ext
14272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14273 rm -f conftest.i conftest.err conftest.
$ac_ext
14274 if $ac_preproc_ok; then :
14279 ac_cv_prog_CXXCPP
=$CXXCPP
14282 CXXCPP
=$ac_cv_prog_CXXCPP
14284 ac_cv_prog_CXXCPP
=$CXXCPP
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14287 $as_echo "$CXXCPP" >&6; }
14288 ac_preproc_ok
=false
14289 for ac_cxx_preproc_warn_flag
in '' yes
14291 # Use a header file that comes with gcc, so configuring glibc
14292 # with a fresh cross-compiler works.
14293 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14294 # <limits.h> exists even on freestanding compilers.
14295 # On the NeXT, cc -E runs the code through the compiler's parser,
14296 # not just through cpp. "Syntax error" is here to catch this case.
14297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14300 # include <limits.h>
14302 # include <assert.h>
14306 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14309 # Broken: fails on valid input.
14312 rm -f conftest.err conftest.i conftest.
$ac_ext
14314 # OK, works on sane cases. Now check whether nonexistent headers
14315 # can be detected and how.
14316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14318 #include <ac_nonexistent.h>
14320 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14321 # Broken: success on invalid input.
14324 # Passes both tests.
14328 rm -f conftest.err conftest.i conftest.
$ac_ext
14331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14332 rm -f conftest.i conftest.err conftest.
$ac_ext
14333 if $ac_preproc_ok; then :
14336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14338 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
14339 See \`config.log' for more details" "$LINENO" 5; }
14343 ac_cpp
='$CPP $CPPFLAGS'
14344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14349 _lt_caught_CXX_error
=yes
14353 ac_cpp
='$CXXCPP $CPPFLAGS'
14354 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14358 archive_cmds_need_lc_CXX
=no
14359 allow_undefined_flag_CXX
=
14360 always_export_symbols_CXX
=no
14361 archive_expsym_cmds_CXX
=
14362 compiler_needs_object_CXX
=no
14363 export_dynamic_flag_spec_CXX
=
14364 hardcode_direct_CXX
=no
14365 hardcode_direct_absolute_CXX
=no
14366 hardcode_libdir_flag_spec_CXX
=
14367 hardcode_libdir_separator_CXX
=
14368 hardcode_minus_L_CXX
=no
14369 hardcode_shlibpath_var_CXX
=unsupported
14370 hardcode_automatic_CXX
=no
14371 inherit_rpath_CXX
=no
14373 module_expsym_cmds_CXX
=
14374 link_all_deplibs_CXX
=unknown
14375 old_archive_cmds_CXX
=$old_archive_cmds
14376 reload_flag_CXX
=$reload_flag
14377 reload_cmds_CXX
=$reload_cmds
14378 no_undefined_flag_CXX
=
14379 whole_archive_flag_spec_CXX
=
14380 enable_shared_with_static_runtimes_CXX
=no
14382 # Source file extension for C++ test sources.
14385 # Object file extension for compiled C++ test sources.
14389 # No sense in running all these tests if we already determined that
14390 # the CXX compiler isn't working. Some variables (like enable_shared)
14391 # are currently assumed to apply to all compilers on this platform,
14392 # and will be corrupted by setting them based on a non-working compiler.
14393 if test yes != "$_lt_caught_CXX_error"; then
14394 # Code to be used in simple compile tests
14395 lt_simple_compile_test_code
="int some_variable = 0;"
14397 # Code to be used in simple link tests
14398 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
14400 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14407 # If no C compiler was specified, use CC.
14410 # If no C compiler flags were specified, use CFLAGS.
14411 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14413 # Allow CC to be a program name with arguments.
14417 # save warnings/boilerplate of simple test code
14418 ac_outfile
=conftest.
$ac_objext
14419 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14420 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14421 _lt_compiler_boilerplate
=`cat conftest.err`
14424 ac_outfile
=conftest.
$ac_objext
14425 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14426 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14427 _lt_linker_boilerplate
=`cat conftest.err`
14431 # Allow CC to be a program name with arguments.
14433 lt_save_CFLAGS
=$CFLAGS
14437 lt_save_with_gnu_ld
=$with_gnu_ld
14438 lt_save_path_LD
=$lt_cv_path_LD
14439 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14440 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
14442 $as_unset lt_cv_prog_gnu_ld
14444 if test -n "${lt_cv_path_LDCXX+set}"; then
14445 lt_cv_path_LD
=$lt_cv_path_LDCXX
14447 $as_unset lt_cv_path_LD
14449 test -z "${LDCXX+set}" || LD
=$LDCXX
14454 func_cc_basename
$compiler
14455 cc_basename
=$func_cc_basename_result
14458 if test -n "$compiler"; then
14459 # We don't want -fno-exception when compiling C++ code, so set the
14460 # no_builtin_flag separately
14461 if test yes = "$GXX"; then
14462 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
14464 lt_prog_compiler_no_builtin_flag_CXX
=
14467 if test yes = "$GXX"; then
14468 # Set up default GNU C++ configuration
14472 # Check whether --with-gnu-ld was given.
14473 if test "${with_gnu_ld+set}" = set; then :
14474 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
14480 if test yes = "$GCC"; then
14481 # Check if gcc -print-prog-name=ld gives a path.
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14483 $as_echo_n "checking for ld used by $CC... " >&6; }
14486 # gcc leaves a trailing carriage return, which upsets mingw
14487 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14489 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14492 # Accept absolute paths.
14494 re_direlt
='/[^/][^/]*/\.\./'
14495 # Canonicalize the pathname of ld
14496 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14497 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
14498 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14500 test -z "$LD" && LD
=$ac_prog
14503 # If it fails, then pretend we aren't using GCC.
14507 # If it is relative, then search for the first ld in PATH.
14508 with_gnu_ld
=unknown
14511 elif test yes = "$with_gnu_ld"; then
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14513 $as_echo_n "checking for GNU ld... " >&6; }
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14516 $as_echo_n "checking for non-GNU ld... " >&6; }
14518 if ${lt_cv_path_LD+:} false
; then :
14519 $as_echo_n "(cached) " >&6
14521 if test -z "$LD"; then
14522 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
14523 for ac_dir
in $PATH; do
14525 test -z "$ac_dir" && ac_dir
=.
14526 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14527 lt_cv_path_LD
=$ac_dir/$ac_prog
14528 # Check to see if the program is GNU ld. I'd rather use --version,
14529 # but apparently some variants of GNU ld only accept -v.
14530 # Break only if it was the GNU/non-GNU ld that we prefer.
14531 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14532 *GNU
* |
*'with BFD'*)
14533 test no
!= "$with_gnu_ld" && break
14536 test yes != "$with_gnu_ld" && break
14543 lt_cv_path_LD
=$LD # Let the user override the test with a path.
14548 if test -n "$LD"; then
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14550 $as_echo "$LD" >&6; }
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14553 $as_echo "no" >&6; }
14555 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14557 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14558 if ${lt_cv_prog_gnu_ld+:} false
; then :
14559 $as_echo_n "(cached) " >&6
14561 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14562 case `$LD -v 2>&1 </dev/null` in
14563 *GNU
* |
*'with BFD'*)
14564 lt_cv_prog_gnu_ld
=yes
14567 lt_cv_prog_gnu_ld
=no
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14572 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14573 with_gnu_ld
=$lt_cv_prog_gnu_ld
14581 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14582 # archiving commands below assume that GNU ld is being used.
14583 if test yes = "$with_gnu_ld"; then
14584 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14585 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'
14587 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14588 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14590 # If archive_cmds runs LD, not CC, wlarc should be empty
14591 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14592 # investigate it a little bit more. (MM)
14595 # ancient GNU ld didn't support --whole-archive et. al.
14596 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14597 $GREP 'no-whole-archive' > /dev
/null
; then
14598 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14600 whole_archive_flag_spec_CXX
=
14606 # A generic and very simple default shared library creation
14607 # command for GNU C++ for the case where it uses the native
14608 # linker, instead of GNU ld. If possible, this setting should
14609 # overridden to take advantage of the native linker features on
14610 # the platform it is being used on.
14611 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14614 # Commands to make compiler produce verbose output that lists
14615 # what "hidden" libraries, object files and flags are used when
14616 # linking a shared library.
14617 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14625 # PORTME: fill in a description of your system's C++ link characteristics
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14627 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14631 # FIXME: insert proper C++ library support
14635 if test ia64
= "$host_cpu"; then
14636 # On IA64, the linker does run time linking by default, so we don't
14637 # have to do anything special.
14638 aix_use_runtimelinking
=no
14639 exp_sym_flag
='-Bexport'
14642 aix_use_runtimelinking
=no
14644 # Test if we are trying to use run time linking or normal
14645 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14646 # have runtime linking enabled, and use it for executables.
14647 # For shared libraries, we enable/disable runtime linking
14648 # depending on the kind of the shared library created -
14649 # when "with_aix_soname,aix_use_runtimelinking" is:
14650 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
14651 # "aix,yes" lib.so shared, rtl:yes, for executables
14652 # lib.a static archive
14653 # "both,no" lib.so.V(shr.o) shared, rtl:yes
14654 # lib.a(lib.so.V) shared, rtl:no, for executables
14655 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14656 # lib.a(lib.so.V) shared, rtl:no
14657 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
14658 # lib.a static archive
14659 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14660 for ld_flag
in $LDFLAGS; do
14663 aix_use_runtimelinking
=yes
14668 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
14669 # With aix-soname=svr4, we create the lib.so.V shared archives only,
14670 # so we don't have lib.a shared libs to link our executables.
14671 # We have to force runtime linking in this case.
14672 aix_use_runtimelinking
=yes
14673 LDFLAGS
="$LDFLAGS -Wl,-brtl"
14678 exp_sym_flag
='-bexport'
14679 no_entry_flag
='-bnoentry'
14682 # When large executables or shared objects are built, AIX ld can
14683 # have problems creating the table of contents. If linking a library
14684 # or program results in "error TOC overflow" add -mminimal-toc to
14685 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14686 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14688 archive_cmds_CXX
=''
14689 hardcode_direct_CXX
=yes
14690 hardcode_direct_absolute_CXX
=yes
14691 hardcode_libdir_separator_CXX
=':'
14692 link_all_deplibs_CXX
=yes
14693 file_list_spec_CXX
='$wl-f,'
14694 case $with_aix_soname,$aix_use_runtimelinking in
14695 aix
,*) ;; # no import file
14696 svr4
,* |
*,yes) # use import file
14697 # The Import File defines what to hardcode.
14698 hardcode_direct_CXX
=no
14699 hardcode_direct_absolute_CXX
=no
14703 if test yes = "$GXX"; then
14704 case $host_os in aix4.
[012]|aix4.
[012].
*)
14705 # We only want to do this on AIX 4.2 and lower, the check
14706 # below for broken collect2 doesn't work under 4.3+
14707 collect2name
=`$CC -print-prog-name=collect2`
14708 if test -f "$collect2name" &&
14709 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14711 # We have reworked collect2
14714 # We have old collect2
14715 hardcode_direct_CXX
=unsupported
14716 # It fails to find uninstalled libraries when the uninstalled
14717 # path is not listed in the libpath. Setting hardcode_minus_L
14718 # to unsupported forces relinking
14719 hardcode_minus_L_CXX
=yes
14720 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14721 hardcode_libdir_separator_CXX
=
14724 shared_flag
='-shared'
14725 if test yes = "$aix_use_runtimelinking"; then
14726 shared_flag
=$shared_flag' $wl-G'
14728 # Need to ensure runtime linking is disabled for the traditional
14729 # shared library, or the linker may eventually find shared libraries
14730 # /with/ Import File - we do not want to mix them.
14731 shared_flag_aix
='-shared'
14732 shared_flag_svr4
='-shared $wl-G'
14735 if test ia64
= "$host_cpu"; then
14736 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14737 # chokes on -Wl,-G. The following line is correct:
14740 if test yes = "$aix_use_runtimelinking"; then
14741 shared_flag
='$wl-G'
14743 shared_flag
='$wl-bM:SRE'
14745 shared_flag_aix
='$wl-bM:SRE'
14746 shared_flag_svr4
='$wl-G'
14750 export_dynamic_flag_spec_CXX
='$wl-bexpall'
14751 # It seems that -bexpall does not export symbols beginning with
14752 # underscore (_), so it is better to generate a list of symbols to
14754 always_export_symbols_CXX
=yes
14755 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14756 # Warning - without using the other runtime loading flags (-brtl),
14757 # -berok will link without error, but may produce a broken library.
14758 # The "-G" linker flag allows undefined symbols.
14759 no_undefined_flag_CXX
='-bernotok'
14760 # Determine the default libpath from the value encoded in an empty
14762 if test set = "${lt_cv_aix_libpath+set}"; then
14763 aix_libpath
=$lt_cv_aix_libpath
14765 if ${lt_cv_aix_libpath__CXX+:} false
; then :
14766 $as_echo_n "(cached) " >&6
14768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14779 if ac_fn_cxx_try_link
"$LINENO"; then :
14781 lt_aix_libpath_sed
='
14782 /Import File Strings/,/^$/ {
14784 s/^0 *\([^ ]*\) *$/\1/
14788 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14789 # Check for a 64-bit object if we didn't find anything.
14790 if test -z "$lt_cv_aix_libpath__CXX"; then
14791 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14794 rm -f core conftest.err conftest.
$ac_objext \
14795 conftest
$ac_exeext conftest.
$ac_ext
14796 if test -z "$lt_cv_aix_libpath__CXX"; then
14797 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
14802 aix_libpath
=$lt_cv_aix_libpath__CXX
14805 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
14807 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
14809 if test ia64
= "$host_cpu"; then
14810 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
14811 allow_undefined_flag_CXX
="-z nodefs"
14812 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"
14814 # Determine the default libpath from the value encoded in an
14815 # empty executable.
14816 if test set = "${lt_cv_aix_libpath+set}"; then
14817 aix_libpath
=$lt_cv_aix_libpath
14819 if ${lt_cv_aix_libpath__CXX+:} false
; then :
14820 $as_echo_n "(cached) " >&6
14822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14833 if ac_fn_cxx_try_link
"$LINENO"; then :
14835 lt_aix_libpath_sed
='
14836 /Import File Strings/,/^$/ {
14838 s/^0 *\([^ ]*\) *$/\1/
14842 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14843 # Check for a 64-bit object if we didn't find anything.
14844 if test -z "$lt_cv_aix_libpath__CXX"; then
14845 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14848 rm -f core conftest.err conftest.
$ac_objext \
14849 conftest
$ac_exeext conftest.
$ac_ext
14850 if test -z "$lt_cv_aix_libpath__CXX"; then
14851 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
14856 aix_libpath
=$lt_cv_aix_libpath__CXX
14859 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
14860 # Warning - without using the other run time loading flags,
14861 # -berok will link without error, but may produce a broken library.
14862 no_undefined_flag_CXX
=' $wl-bernotok'
14863 allow_undefined_flag_CXX
=' $wl-berok'
14864 if test yes = "$with_gnu_ld"; then
14865 # We only use this code for GNU lds that support --whole-archive.
14866 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14868 # Exported symbols can be pulled into shared objects from archives
14869 whole_archive_flag_spec_CXX
='$convenience'
14871 archive_cmds_need_lc_CXX
=yes
14872 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14873 # -brtl affects multiple linker settings, -berok does not and is overridden later
14874 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14875 if test svr4
!= "$with_aix_soname"; then
14876 # This is similar to how AIX traditionally builds its shared
14877 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14878 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
14880 if test aix
!= "$with_aix_soname"; then
14881 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
14883 # used by -dlpreopen to get the symbols
14884 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
14886 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14892 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14893 allow_undefined_flag_CXX
=unsupported
14894 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14895 # support --undefined. This deserves some investigation. FIXME
14896 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14903 case $cc_basename in
14905 # FIXME: insert proper C++ library support
14911 cygwin
* | mingw
* | pw32
* | cegcc
*)
14912 case $GXX,$cc_basename in
14913 ,cl
* | no
,cl
* |
,icl
* | no
,icl
*)
14914 # Native MSVC or ICC
14915 # hardcode_libdir_flag_spec is actually meaningless, as there is
14916 # no search path for DLLs.
14917 hardcode_libdir_flag_spec_CXX
=' '
14918 allow_undefined_flag_CXX
=unsupported
14919 always_export_symbols_CXX
=yes
14920 file_list_spec_CXX
='@'
14921 # Tell ltmain to make .lib files, not .a files.
14923 # Tell ltmain to make .dll files, not .so files.
14925 # FIXME: Setting linknames here is a bad hack.
14926 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14927 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14928 cp "$export_symbols" "$output_objdir/$soname.def";
14929 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14931 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14933 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14935 # The linker will not automatically build a static lib if we build a DLL.
14936 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14937 enable_shared_with_static_runtimes_CXX
=yes
14939 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
14940 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
14941 lt_tool_outputfile="@TOOL_OUTPUT@"~
14942 case $lt_outputfile in
14945 lt_outputfile=$lt_outputfile.exe
14946 lt_tool_outputfile=$lt_tool_outputfile.exe
14949 func_to_tool_file "$lt_outputfile"~
14950 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14951 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14952 $RM "$lt_outputfile.manifest";
14957 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14958 # as there is no search path for DLLs.
14959 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14960 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
14961 allow_undefined_flag_CXX
=unsupported
14962 always_export_symbols_CXX
=no
14963 enable_shared_with_static_runtimes_CXX
=yes
14965 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14966 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'
14967 # If the export-symbols file already is a .def file, use it as
14968 # is; otherwise, prepend EXPORTS...
14969 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14970 cp $export_symbols $output_objdir/$soname.def;
14972 echo EXPORTS > $output_objdir/$soname.def;
14973 cat $export_symbols >> $output_objdir/$soname.def;
14975 $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'
14982 darwin
* | rhapsody
*)
14985 archive_cmds_need_lc_CXX
=no
14986 hardcode_direct_CXX
=no
14987 hardcode_automatic_CXX
=yes
14988 hardcode_shlibpath_var_CXX
=unsupported
14989 if test yes = "$lt_cv_ld_force_load"; then
14990 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\"`'
14993 whole_archive_flag_spec_CXX
=''
14995 link_all_deplibs_CXX
=yes
14996 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
14997 case $cc_basename in
14998 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
14999 *) _lt_dar_can_shared
=$GCC ;;
15001 if test yes = "$_lt_dar_can_shared"; then
15002 output_verbose_link_cmd
=func_echo_all
15003 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"
15004 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15005 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"
15006 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"
15007 if test yes != "$lt_cv_apple_cc_single_mod"; then
15008 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"
15009 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"
15019 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15020 hardcode_minus_L_CXX
=yes
15021 allow_undefined_flag_CXX
=unsupported
15023 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15024 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15025 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15026 $ECHO EXPORTS >> $output_objdir/$libname.def~
15027 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15028 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15029 emximp -o $lib $output_objdir/$libname.def'
15030 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15031 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15032 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15033 $ECHO EXPORTS >> $output_objdir/$libname.def~
15034 prefix_cmds="$SED"~
15035 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15036 prefix_cmds="$prefix_cmds -e 1d";
15038 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15039 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15040 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15041 emximp -o $lib $output_objdir/$libname.def'
15042 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15043 enable_shared_with_static_runtimes_CXX
=yes
15044 file_list_spec_CXX
='@'
15048 case $cc_basename in
15050 # FIXME: insert proper C++ library support
15054 # Green Hills C++ Compiler
15055 # FIXME: insert proper C++ library support
15059 # FIXME: insert proper C++ library support
15066 # C++ shared libraries reported to be fairly broken before
15072 archive_cmds_need_lc_CXX
=no
15075 freebsd
* | dragonfly
*)
15076 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15082 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15083 link_all_deplibs_CXX
=yes
15087 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15088 hardcode_libdir_separator_CXX
=:
15089 export_dynamic_flag_spec_CXX
='$wl-E'
15090 hardcode_direct_CXX
=yes
15091 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15092 # but as the default
15093 # location of the library.
15095 case $cc_basename in
15097 # FIXME: insert proper C++ library support
15101 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15102 # Commands to make compiler produce verbose output that lists
15103 # what "hidden" libraries, object files and flags are used when
15104 # linking a shared library.
15106 # There doesn't appear to be a way to prevent this compiler from
15107 # explicitly linking system object files so we need to strip them
15108 # from the output so that they don't get included in the library
15110 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"'
15113 if test yes = "$GXX"; then
15114 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15116 # FIXME: insert proper C++ library support
15124 if test no
= "$with_gnu_ld"; then
15125 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15126 hardcode_libdir_separator_CXX
=:
15132 export_dynamic_flag_spec_CXX
='$wl-E'
15138 hardcode_direct_CXX
=no
15139 hardcode_shlibpath_var_CXX
=no
15142 hardcode_direct_CXX
=yes
15143 hardcode_direct_absolute_CXX
=yes
15144 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15145 # but as the default
15146 # location of the library.
15150 case $cc_basename in
15152 # FIXME: insert proper C++ library support
15158 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15161 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15164 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15167 # Commands to make compiler produce verbose output that lists
15168 # what "hidden" libraries, object files and flags are used when
15169 # linking a shared library.
15171 # There doesn't appear to be a way to prevent this compiler from
15172 # explicitly linking system object files so we need to strip them
15173 # from the output so that they don't get included in the library
15175 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"'
15178 if test yes = "$GXX"; then
15179 if test no
= "$with_gnu_ld"; then
15182 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15185 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15188 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'
15193 # FIXME: insert proper C++ library support
15201 hardcode_direct_CXX
=no
15202 hardcode_shlibpath_var_CXX
=no
15203 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15204 export_dynamic_flag_spec_CXX
='$wl-E'
15205 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15206 # Instead, shared libraries are loaded at an image base (0x10000000 by
15207 # default) and relocated if they conflict, which is a slow very memory
15208 # consuming and fragmenting process. To avoid this, we pick a random,
15209 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15210 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15211 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'
15212 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'
15215 case $cc_basename in
15218 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'
15220 # Archives containing C++ object files must be created using
15221 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15222 # necessary to make sure instantiated templates are included
15224 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15227 if test yes = "$GXX"; then
15228 if test no
= "$with_gnu_ld"; then
15229 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'
15231 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'
15234 link_all_deplibs_CXX
=yes
15237 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15238 hardcode_libdir_separator_CXX
=:
15239 inherit_rpath_CXX
=yes
15242 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15243 case $cc_basename in
15245 # Kuck and Associates, Inc. (KAI) C++ Compiler
15247 # KCC will only create a shared library if the output file
15248 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15249 # to its proper name (with version) after linking.
15250 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'
15251 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'
15252 # Commands to make compiler produce verbose output that lists
15253 # what "hidden" libraries, object files and flags are used when
15254 # linking a shared library.
15256 # There doesn't appear to be a way to prevent this compiler from
15257 # explicitly linking system object files so we need to strip them
15258 # from the output so that they don't get included in the library
15260 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"'
15262 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15263 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15265 # Archives containing C++ object files must be created using
15266 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15267 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15272 # version 8.0 and above of icpc choke on multiply defined symbols
15273 # if we add $predep_objects and $postdep_objects, however 7.1 and
15274 # earlier do not add the objects themselves.
15275 case `$CC -V 2>&1` in
15277 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15278 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'
15280 *) # Version 8.0 or newer
15283 ia64
*) tmp_idyn
=' -i_dynamic';;
15285 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15286 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'
15289 archive_cmds_need_lc_CXX
=no
15290 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15291 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15292 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15295 # Portland Group C++ compiler
15297 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
15298 prelink_cmds_CXX
='tpldir=Template.dir~
15300 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15301 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15302 old_archive_cmds_CXX
='tpldir=Template.dir~
15304 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15305 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15307 archive_cmds_CXX
='tpldir=Template.dir~
15309 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15310 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15311 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15313 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15314 $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'
15316 *) # Version 6 and above use weak symbols
15317 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15318 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'
15322 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
15323 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15324 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'
15328 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15329 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'
15331 runpath_var
=LD_RUN_PATH
15332 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15333 hardcode_libdir_separator_CXX
=:
15335 # Commands to make compiler produce verbose output that lists
15336 # what "hidden" libraries, object files and flags are used when
15337 # linking a shared library.
15339 # There doesn't appear to be a way to prevent this compiler from
15340 # explicitly linking system object files so we need to strip them
15341 # from the output so that they don't get included in the library
15343 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'
15345 xl
* | mpixl
* | bgxl
*)
15346 # IBM XL 8.0 on PPC, with GNU ld
15347 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15348 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15349 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15350 if test yes = "$supports_anon_versioning"; then
15351 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15352 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15353 echo "local: *; };" >> $output_objdir/$libname.ver~
15354 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15358 case `$CC -V 2>&1 | sed 5q` in
15361 no_undefined_flag_CXX
=' -zdefs'
15362 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15363 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'
15364 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15365 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'
15366 compiler_needs_object_CXX
=yes
15368 # Not sure whether something based on
15369 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15371 output_verbose_link_cmd
='func_echo_all'
15373 # Archives containing C++ object files must be created using
15374 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15375 # necessary to make sure instantiated templates are included
15377 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15385 # FIXME: insert proper C++ library support
15390 # FIXME: insert proper C++ library support
15395 case $cc_basename in
15397 # FIXME: insert proper C++ library support
15401 # FIXME: insert proper C++ library support
15408 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15409 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15411 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15412 hardcode_direct_CXX
=yes
15413 hardcode_shlibpath_var_CXX
=no
15415 # Workaround some broken pre-1.5 toolchains
15416 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15423 openbsd
* | bitrig
*)
15424 if test -f /usr
/libexec
/ld.so
; then
15425 hardcode_direct_CXX
=yes
15426 hardcode_shlibpath_var_CXX
=no
15427 hardcode_direct_absolute_CXX
=yes
15428 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15429 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15430 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15431 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15432 export_dynamic_flag_spec_CXX
='$wl-E'
15433 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15435 output_verbose_link_cmd
=func_echo_all
15441 osf3
* | osf4
* | osf5
*)
15442 case $cc_basename in
15444 # Kuck and Associates, Inc. (KAI) C++ Compiler
15446 # KCC will only create a shared library if the output file
15447 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15448 # to its proper name (with version) after linking.
15449 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'
15451 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15452 hardcode_libdir_separator_CXX
=:
15454 # Archives containing C++ object files must be created using
15455 # the KAI C++ compiler.
15457 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
15458 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
15462 # Rational C++ 2.4.1
15463 # FIXME: insert proper C++ library support
15469 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
15470 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'
15471 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15474 allow_undefined_flag_CXX
=' -expect_unresolved \*'
15475 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'
15476 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15477 echo "-hidden">> $lib.exp~
15478 $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~
15480 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15484 hardcode_libdir_separator_CXX
=:
15486 # Commands to make compiler produce verbose output that lists
15487 # what "hidden" libraries, object files and flags are used when
15488 # linking a shared library.
15490 # There doesn't appear to be a way to prevent this compiler from
15491 # explicitly linking system object files so we need to strip them
15492 # from the output so that they don't get included in the library
15494 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"'
15497 if test yes,no
= "$GXX,$with_gnu_ld"; then
15498 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
15501 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'
15504 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'
15508 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15509 hardcode_libdir_separator_CXX
=:
15511 # Commands to make compiler produce verbose output that lists
15512 # what "hidden" libraries, object files and flags are used when
15513 # linking a shared library.
15514 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15517 # FIXME: insert proper C++ library support
15525 # FIXME: insert proper C++ library support
15530 case $cc_basename in
15533 # FIXME: insert proper C++ library support
15538 # FIXME: insert proper C++ library support
15542 # FIXME: insert proper C++ library support
15549 case $cc_basename in
15551 # Sun C++ 4.2, 5.x and Centerline C++
15552 archive_cmds_need_lc_CXX
=yes
15553 no_undefined_flag_CXX
=' -zdefs'
15554 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15555 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15556 $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'
15558 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15559 hardcode_shlibpath_var_CXX
=no
15561 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15563 # The compiler driver will combine and reorder linker options,
15564 # but understands '-z linker_flag'.
15565 # Supported since Solaris 2.6 (maybe 2.5.1?)
15566 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
15569 link_all_deplibs_CXX
=yes
15571 output_verbose_link_cmd
='func_echo_all'
15573 # Archives containing C++ object files must be created using
15574 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15575 # necessary to make sure instantiated templates are included
15577 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15580 # Green Hills C++ Compiler
15581 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15583 # The C++ compiler must be used to create the archive.
15584 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15587 # GNU C++ compiler with Solaris linker
15588 if test yes,no
= "$GXX,$with_gnu_ld"; then
15589 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
15590 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
15591 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15592 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15593 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15595 # Commands to make compiler produce verbose output that lists
15596 # what "hidden" libraries, object files and flags are used when
15597 # linking a shared library.
15598 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15600 # g++ 2.7 appears to require '-G' NOT '-shared' on this
15602 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15603 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15604 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15606 # Commands to make compiler produce verbose output that lists
15607 # what "hidden" libraries, object files and flags are used when
15608 # linking a shared library.
15609 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15612 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
15614 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15616 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15624 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15625 no_undefined_flag_CXX
='$wl-z,text'
15626 archive_cmds_need_lc_CXX
=no
15627 hardcode_shlibpath_var_CXX
=no
15628 runpath_var
='LD_RUN_PATH'
15630 case $cc_basename in
15632 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15633 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15636 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15637 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15642 sysv5
* | sco3.2v5
* | sco5v6
*)
15643 # Note: We CANNOT use -z defs as we might desire, because we do not
15644 # link with -lc, and that would cause any symbols used from libc to
15645 # always be unresolved, which means just about no library would
15646 # ever link correctly. If we're not using GNU ld we use -z text
15647 # though, which does catch some bad symbols but isn't as heavy-handed
15649 no_undefined_flag_CXX
='$wl-z,text'
15650 allow_undefined_flag_CXX
='$wl-z,nodefs'
15651 archive_cmds_need_lc_CXX
=no
15652 hardcode_shlibpath_var_CXX
=no
15653 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
15654 hardcode_libdir_separator_CXX
=':'
15655 link_all_deplibs_CXX
=yes
15656 export_dynamic_flag_spec_CXX
='$wl-Bexport'
15657 runpath_var
='LD_RUN_PATH'
15659 case $cc_basename in
15661 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15662 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15663 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
15664 '"$old_archive_cmds_CXX"
15665 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
15666 '"$reload_cmds_CXX"
15669 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15670 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15676 case $cc_basename in
15678 # NonStop-UX NCC 3.20
15679 # FIXME: insert proper C++ library support
15683 # FIXME: insert proper C++ library support
15690 # FIXME: insert proper C++ library support
15695 # FIXME: insert proper C++ library support
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15701 $as_echo "$ld_shlibs_CXX" >&6; }
15702 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15708 ## There is no encapsulation within the following macros, do not change
15709 ## the running order or otherwise move them around unless you know exactly
15710 ## what you are doing...
15711 # Dependencies to place before and after the object being linked:
15712 predep_objects_CXX
=
15713 postdep_objects_CXX
=
15716 compiler_lib_search_path_CXX
=
15718 cat > conftest.
$ac_ext <<_LT_EOF
15722 Foo (void) { a = 0; }
15729 _lt_libdeps_save_CFLAGS
=$CFLAGS
15730 case "$CC $CFLAGS " in #(
15731 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
15732 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
15733 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
15736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15737 (eval $ac_compile) 2>&5
15739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15740 test $ac_status = 0; }; then
15741 # Parse the compiler output and extract the necessary
15742 # objects, libraries and library flags.
15744 # Sentinel used to keep track of whether or not we are before
15745 # the conftest object file.
15746 pre_test_object_deps_done
=no
15748 for p
in `eval "$output_verbose_link_cmd"`; do
15752 # Some compilers place space between "-{L,R}" and the path.
15753 # Remove the space.
15754 if test x-L
= "$p" ||
15755 test x-R
= "$p"; then
15760 # Expand the sysroot to ease extracting the directories later.
15761 if test -z "$prev"; then
15763 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
15764 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
15765 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
15769 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
15771 if test no
= "$pre_test_object_deps_done"; then
15774 # Internal compiler library paths should come after those
15775 # provided the user. The postdeps already come after the
15776 # user supplied libs so there is no need to process them.
15777 if test -z "$compiler_lib_search_path_CXX"; then
15778 compiler_lib_search_path_CXX
=$prev$p
15780 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
15783 # The "-l" case would never come before the object being
15784 # linked, so don't bother handling this case.
15787 if test -z "$postdeps_CXX"; then
15788 postdeps_CXX
=$prev$p
15790 postdeps_CXX
="${postdeps_CXX} $prev$p"
15796 *.lto.
$objext) ;; # Ignore GCC LTO objects
15798 # This assumes that the test object file only shows up
15799 # once in the compiler output.
15800 if test "$p" = "conftest.$objext"; then
15801 pre_test_object_deps_done
=yes
15805 if test no
= "$pre_test_object_deps_done"; then
15806 if test -z "$predep_objects_CXX"; then
15807 predep_objects_CXX
=$p
15809 predep_objects_CXX
="$predep_objects_CXX $p"
15812 if test -z "$postdep_objects_CXX"; then
15813 postdep_objects_CXX
=$p
15815 postdep_objects_CXX
="$postdep_objects_CXX $p"
15820 *) ;; # Ignore the rest.
15828 echo "libtool.m4: error: problem compiling CXX test program"
15831 $RM -f confest.
$objext
15832 CFLAGS
=$_lt_libdeps_save_CFLAGS
15834 # PORTME: override above test on systems where it is broken
15837 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15838 # hack all around it, let's just trust "g++" to DTRT.
15839 predep_objects_CXX
=
15840 postdep_objects_CXX
=
15846 case " $postdeps_CXX " in
15847 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15849 compiler_lib_search_dirs_CXX
=
15850 if test -n "${compiler_lib_search_path_CXX}"; then
15851 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15884 lt_prog_compiler_wl_CXX
=
15885 lt_prog_compiler_pic_CXX
=
15886 lt_prog_compiler_static_CXX
=
15889 # C++ specific cases for pic, static, wl, etc.
15890 if test yes = "$GXX"; then
15891 lt_prog_compiler_wl_CXX
='-Wl,'
15892 lt_prog_compiler_static_CXX
='-static'
15896 # All AIX code is PIC.
15897 if test ia64
= "$host_cpu"; then
15898 # AIX 5 now supports IA64 processor
15899 lt_prog_compiler_static_CXX
='-Bstatic'
15901 lt_prog_compiler_pic_CXX
='-fPIC'
15907 # see comment about AmigaOS4 .so support
15908 lt_prog_compiler_pic_CXX
='-fPIC'
15911 # FIXME: we need at least 68020 code to build shared libraries, but
15912 # adding the '-m68020' flag to GCC prevents building anything better,
15914 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15919 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15920 # PIC is the default for these OSes.
15922 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15923 # This hack is so that the source file can tell whether it is being
15924 # built for inclusion in a dll (and should export symbols for example).
15925 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15926 # (--disable-auto-import) libraries
15927 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15930 lt_prog_compiler_static_CXX
='$wl-static'
15934 darwin
* | rhapsody
*)
15935 # PIC is the default on this platform
15936 # Common symbols not allowed in MH_DYLIB files
15937 lt_prog_compiler_pic_CXX
='-fno-common'
15940 # DJGPP does not support shared libraries at all
15941 lt_prog_compiler_pic_CXX
=
15944 # PIC is the default for Haiku.
15945 # The "-static" flag exists, but is broken.
15946 lt_prog_compiler_static_CXX
=
15949 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15950 # Instead, we relocate shared libraries at runtime.
15953 if test -d /usr
/nec
; then
15954 lt_prog_compiler_pic_CXX
=-Kconform_pic
15958 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15959 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15960 # sets the default TLS model and affects inlining.
15965 lt_prog_compiler_pic_CXX
='-fPIC'
15970 # QNX uses GNU C++, but need to define -shared option too, otherwise
15971 # it will coredump.
15972 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15975 lt_prog_compiler_pic_CXX
='-fPIC'
15981 # All AIX code is PIC.
15982 if test ia64
= "$host_cpu"; then
15983 # AIX 5 now supports IA64 processor
15984 lt_prog_compiler_static_CXX
='-Bstatic'
15986 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15990 case $cc_basename in
15992 # Green Hills C++ Compiler
15993 # _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"
15997 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15998 # This hack is so that the source file can tell whether it is being
15999 # built for inclusion in a dll (and should export symbols for example).
16000 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16003 case $cc_basename in
16005 lt_prog_compiler_pic_CXX
='-KPIC'
16008 # Green Hills C++ Compiler
16009 lt_prog_compiler_pic_CXX
='-pic'
16015 freebsd
* | dragonfly
*)
16016 # FreeBSD uses GNU C++
16018 hpux9
* | hpux10
* | hpux11
*)
16019 case $cc_basename in
16021 lt_prog_compiler_wl_CXX
='-Wl,'
16022 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16023 if test ia64
!= "$host_cpu"; then
16024 lt_prog_compiler_pic_CXX
='+Z'
16028 lt_prog_compiler_wl_CXX
='-Wl,'
16029 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16035 lt_prog_compiler_pic_CXX
='+Z'
16044 # This is c89, which is MS Visual C++ (no shared libs)
16045 # Anyone wants to do a port?
16047 irix5
* | irix6
* | nonstopux
*)
16048 case $cc_basename in
16050 lt_prog_compiler_wl_CXX
='-Wl,'
16051 lt_prog_compiler_static_CXX
='-non_shared'
16052 # CC pic flag -KPIC is the default.
16058 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16059 case $cc_basename in
16062 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16063 lt_prog_compiler_pic_CXX
='-fPIC'
16066 # old Intel C++ for x86_64, which still supported -KPIC.
16067 lt_prog_compiler_wl_CXX
='-Wl,'
16068 lt_prog_compiler_pic_CXX
='-KPIC'
16069 lt_prog_compiler_static_CXX
='-static'
16072 # Intel C++, used to be incompatible with GCC.
16073 # ICC 10 doesn't accept -KPIC any more.
16074 lt_prog_compiler_wl_CXX
='-Wl,'
16075 lt_prog_compiler_pic_CXX
='-fPIC'
16076 lt_prog_compiler_static_CXX
='-static'
16079 # Portland Group C++ compiler
16080 lt_prog_compiler_wl_CXX
='-Wl,'
16081 lt_prog_compiler_pic_CXX
='-fpic'
16082 lt_prog_compiler_static_CXX
='-Bstatic'
16086 # Make sure the PIC flag is empty. It appears that all Alpha
16087 # Linux and Compaq Tru64 Unix objects are PIC.
16088 lt_prog_compiler_pic_CXX
=
16089 lt_prog_compiler_static_CXX
='-non_shared'
16091 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16092 # IBM XL 8.0, 9.0 on PPC and BlueGene
16093 lt_prog_compiler_wl_CXX
='-Wl,'
16094 lt_prog_compiler_pic_CXX
='-qpic'
16095 lt_prog_compiler_static_CXX
='-qstaticlink'
16098 case `$CC -V 2>&1 | sed 5q` in
16101 lt_prog_compiler_pic_CXX
='-KPIC'
16102 lt_prog_compiler_static_CXX
='-Bstatic'
16103 lt_prog_compiler_wl_CXX
='-Qoption ld '
16114 case $cc_basename in
16116 lt_prog_compiler_pic_CXX
='-W c,exportall'
16125 # QNX uses GNU C++, but need to define -shared option too, otherwise
16126 # it will coredump.
16127 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16129 osf3
* | osf4
* | osf5
*)
16130 case $cc_basename in
16132 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16135 # Rational C++ 2.4.1
16136 lt_prog_compiler_pic_CXX
='-pic'
16139 # Digital/Compaq C++
16140 lt_prog_compiler_wl_CXX
='-Wl,'
16141 # Make sure the PIC flag is empty. It appears that all Alpha
16142 # Linux and Compaq Tru64 Unix objects are PIC.
16143 lt_prog_compiler_pic_CXX
=
16144 lt_prog_compiler_static_CXX
='-non_shared'
16153 case $cc_basename in
16155 # Sun C++ 4.2, 5.x and Centerline C++
16156 lt_prog_compiler_pic_CXX
='-KPIC'
16157 lt_prog_compiler_static_CXX
='-Bstatic'
16158 lt_prog_compiler_wl_CXX
='-Qoption ld '
16161 # Green Hills C++ Compiler
16162 lt_prog_compiler_pic_CXX
='-PIC'
16169 case $cc_basename in
16172 lt_prog_compiler_pic_CXX
='-pic'
16173 lt_prog_compiler_static_CXX
='-Bstatic'
16177 lt_prog_compiler_pic_CXX
='-pic'
16183 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16184 case $cc_basename in
16186 lt_prog_compiler_wl_CXX
='-Wl,'
16187 lt_prog_compiler_pic_CXX
='-KPIC'
16188 lt_prog_compiler_static_CXX
='-Bstatic'
16193 case $cc_basename in
16195 # NonStop-UX NCC 3.20
16196 lt_prog_compiler_pic_CXX
='-KPIC'
16205 lt_prog_compiler_can_build_shared_CXX
=no
16211 # For platforms that do not support PIC, -DPIC is meaningless:
16213 lt_prog_compiler_pic_CXX
=
16216 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16221 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16222 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
16223 $as_echo_n "(cached) " >&6
16225 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16228 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16229 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
16232 # Check to make sure the PIC flag actually works.
16234 if test -n "$lt_prog_compiler_pic_CXX"; then
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16236 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16237 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16238 $as_echo_n "(cached) " >&6
16240 lt_cv_prog_compiler_pic_works_CXX
=no
16241 ac_outfile
=conftest.
$ac_objext
16242 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16243 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16244 # Insert the option either (1) after the last *FLAGS variable, or
16245 # (2) before a word containing "conftest.", or (3) at the end.
16246 # Note that $ac_compile itself does not contain backslashes and begins
16247 # with a dollar sign (not a hyphen), so the echo should work correctly.
16248 # The option is referenced via a variable to avoid confusing sed.
16249 lt_compile
=`echo "$ac_compile" | $SED \
16250 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16251 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16252 -e 's:$: $lt_compiler_flag:'`
16253 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16254 (eval "$lt_compile" 2>conftest.err
)
16256 cat conftest.err
>&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 if (exit $ac_status) && test -s "$ac_outfile"; then
16259 # The compiler can only warn and ignore the option if not recognized
16260 # So say no if there are warnings other than the usual output.
16261 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
16262 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16263 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16264 lt_cv_prog_compiler_pic_works_CXX
=yes
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16271 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16273 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16274 case $lt_prog_compiler_pic_CXX in
16276 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16279 lt_prog_compiler_pic_CXX
=
16280 lt_prog_compiler_can_build_shared_CXX
=no
16290 # Check to make sure the static flag actually works.
16292 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16294 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16295 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16296 $as_echo_n "(cached) " >&6
16298 lt_cv_prog_compiler_static_works_CXX
=no
16299 save_LDFLAGS
=$LDFLAGS
16300 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16301 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16302 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16303 # The linker can only warn and ignore the option if not recognized
16304 # So say no if there are warnings
16305 if test -s conftest.err
; then
16306 # Append any errors to the config.log.
16307 cat conftest.err
1>&5
16308 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
16309 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16310 if diff conftest.exp conftest.er2
>/dev
/null
; then
16311 lt_cv_prog_compiler_static_works_CXX
=yes
16314 lt_cv_prog_compiler_static_works_CXX
=yes
16318 LDFLAGS
=$save_LDFLAGS
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16322 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16324 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16327 lt_prog_compiler_static_CXX
=
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16334 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16335 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16336 $as_echo_n "(cached) " >&6
16338 lt_cv_prog_compiler_c_o_CXX
=no
16339 $RM -r conftest
2>/dev
/null
16343 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16345 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16346 # Insert the option either (1) after the last *FLAGS variable, or
16347 # (2) before a word containing "conftest.", or (3) at the end.
16348 # Note that $ac_compile itself does not contain backslashes and begins
16349 # with a dollar sign (not a hyphen), so the echo should work correctly.
16350 lt_compile
=`echo "$ac_compile" | $SED \
16351 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16352 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16353 -e 's:$: $lt_compiler_flag:'`
16354 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16355 (eval "$lt_compile" 2>out
/conftest.err
)
16357 cat out
/conftest.err
>&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16361 # The compiler can only warn and ignore the option if not recognized
16362 # So say no if there are warnings
16363 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
16364 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16365 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16366 lt_cv_prog_compiler_c_o_CXX
=yes
16371 # SGI C++ compiler will create directory out/ii_files/ for
16372 # template instantiation
16373 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16374 $RM out
/* && rmdir out
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16381 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16386 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16387 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16388 $as_echo_n "(cached) " >&6
16390 lt_cv_prog_compiler_c_o_CXX
=no
16391 $RM -r conftest
2>/dev
/null
16395 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16397 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16398 # Insert the option either (1) after the last *FLAGS variable, or
16399 # (2) before a word containing "conftest.", or (3) at the end.
16400 # Note that $ac_compile itself does not contain backslashes and begins
16401 # with a dollar sign (not a hyphen), so the echo should work correctly.
16402 lt_compile
=`echo "$ac_compile" | $SED \
16403 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16405 -e 's:$: $lt_compiler_flag:'`
16406 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16407 (eval "$lt_compile" 2>out
/conftest.err
)
16409 cat out
/conftest.err
>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16413 # The compiler can only warn and ignore the option if not recognized
16414 # So say no if there are warnings
16415 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
16416 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16417 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16418 lt_cv_prog_compiler_c_o_CXX
=yes
16423 # SGI C++ compiler will create directory out/ii_files/ for
16424 # template instantiation
16425 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16426 $RM out
/* && rmdir out
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16433 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16438 hard_links
=nottested
16439 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
16440 # do not overwrite the value of need_locks provided by the user
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16442 $as_echo_n "checking if we can lock with hard links... " >&6; }
16445 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16447 ln conftest.a conftest.b
2>&5 || hard_links
=no
16448 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16450 $as_echo "$hard_links" >&6; }
16451 if test no
= "$hard_links"; then
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16453 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16463 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16465 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16466 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16469 # If we're using GNU nm, then we don't want the "-C" option.
16470 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16471 # Without the "-l" option, or with the "-B" option, AIX nm treats
16472 # weak defined symbols like other global defined symbols, whereas
16473 # GNU nm marks them as "W".
16474 # While the 'weak' keyword is ignored in the Export File, we need
16475 # it in the Import File for the 'aix-soname' feature, so we have
16476 # to replace the "-B" option with "-P" for AIX nm.
16477 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16478 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
16480 export_symbols_cmds_CXX
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
16484 export_symbols_cmds_CXX
=$ltdll_cmds
16486 cygwin
* | mingw
* | cegcc
*)
16487 case $cc_basename in
16489 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16492 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'
16493 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16498 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16503 $as_echo "$ld_shlibs_CXX" >&6; }
16504 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
16506 with_gnu_ld_CXX
=$with_gnu_ld
16514 # Do we need to explicitly link libc?
16516 case "x$archive_cmds_need_lc_CXX" in
16518 # Assume -lc should be added
16519 archive_cmds_need_lc_CXX
=yes
16521 if test yes,yes = "$GCC,$enable_shared"; then
16522 case $archive_cmds_CXX in
16524 # FIXME: we may have to deal with multi-command sequences.
16527 # Test whether the compiler implicitly links with -lc since on some
16528 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16529 # to ld, don't add -lc before -lgcc.
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16531 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16532 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
16533 $as_echo_n "(cached) " >&6
16536 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16539 (eval $ac_compile) 2>&5
16541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16542 test $ac_status = 0; } 2>conftest.err
; then
16545 libobjs
=conftest.
$ac_objext
16547 wl
=$lt_prog_compiler_wl_CXX
16548 pic_flag
=$lt_prog_compiler_pic_CXX
16554 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
16555 allow_undefined_flag_CXX
=
16556 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16557 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16560 test $ac_status = 0; }
16562 lt_cv_archive_cmds_need_lc_CXX
=no
16564 lt_cv_archive_cmds_need_lc_CXX
=yes
16566 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
16568 cat conftest.err
1>&5
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16574 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16575 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16644 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16646 library_names_spec
=
16647 libname_spec
='lib$name'
16651 postuninstall_cmds
=
16655 shlibpath_overrides_runpath
=unknown
16657 dynamic_linker
="$host_os ld.so"
16658 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16659 need_lib_prefix
=unknown
16660 hardcode_into_libs
=no
16662 # when you set need_version to no, make sure it does not cause -set_version
16663 # flags to be left without arguments
16664 need_version
=unknown
16670 version_type
=linux
# correct to gnu/linux during the next big refactor
16671 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
16672 shlibpath_var
=LIBPATH
16674 # AIX 3 has no versioning support, so we append a major version to the name.
16675 soname_spec
='$libname$release$shared_ext$major'
16679 version_type
=linux
# correct to gnu/linux during the next big refactor
16682 hardcode_into_libs
=yes
16683 if test ia64
= "$host_cpu"; then
16684 # AIX 5 supports IA64
16685 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16686 shlibpath_var
=LD_LIBRARY_PATH
16688 # With GCC up to 2.95.x, collect2 would create an import file
16689 # for dependence libraries. The import file would start with
16690 # the line '#! .'. This would cause the generated library to
16691 # depend on '.', always an invalid library. This was fixed in
16692 # development snapshots of GCC prior to 3.0.
16694 aix4 | aix4.
[01] | aix4.
[01].
*)
16695 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16697 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
16700 can_build_shared
=no
16704 # Using Import Files as archive members, it is possible to support
16705 # filename-based versioning of shared library archives on AIX. While
16706 # this would work for both with and without runtime linking, it will
16707 # prevent static linking of such archives. So we do filename-based
16708 # shared library versioning with .so extension only, which is used
16709 # when both runtime linking and shared linking is enabled.
16710 # Unfortunately, runtime linking may impact performance, so we do
16711 # not want this to be the default eventually. Also, we use the
16712 # versioned .so libs for executables only if there is the -brtl
16713 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16714 # To allow for filename-based versioning support, we need to create
16715 # libNAME.so.V as an archive file, containing:
16716 # *) an Import File, referring to the versioned filename of the
16717 # archive as well as the shared archive member, telling the
16718 # bitwidth (32 or 64) of that shared object, and providing the
16719 # list of exported symbols of that shared object, eventually
16720 # decorated with the 'weak' keyword
16721 # *) the shared object with the F_LOADONLY flag set, to really avoid
16722 # it being seen by the linker.
16723 # At run time we better use the real file rather than another symlink,
16724 # but for link time we create the symlink libNAME.so -> libNAME.so.V
16726 case $with_aix_soname,$aix_use_runtimelinking in
16727 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16728 # soname into executable. Probably we can add versioning support to
16729 # collect2, so additional links can be useful in future.
16730 aix
,yes) # traditional libtool
16731 dynamic_linker
='AIX unversionable lib.so'
16732 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16733 # instead of lib<name>.a to let people know that these are not
16734 # typical AIX shared libraries.
16735 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16737 aix
,no
) # traditional AIX only
16738 dynamic_linker
='AIX lib.a(lib.so.V)'
16739 # We preserve .a as extension for shared libraries through AIX4.2
16740 # and later when we are not doing run time linking.
16741 library_names_spec
='$libname$release.a $libname.a'
16742 soname_spec
='$libname$release$shared_ext$major'
16744 svr4
,*) # full svr4 only
16745 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
16746 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
16747 # We do not specify a path in Import Files, so LIBPATH fires.
16748 shlibpath_overrides_runpath
=yes
16750 *,yes) # both, prefer svr4
16751 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16752 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
16753 # unpreferred sharedlib libNAME.a needs extra handling
16754 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
16755 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
16756 # We do not specify a path in Import Files, so LIBPATH fires.
16757 shlibpath_overrides_runpath
=yes
16759 *,no
) # both, prefer aix
16760 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16761 library_names_spec
='$libname$release.a $libname.a'
16762 soname_spec
='$libname$release$shared_ext$major'
16763 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16764 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
16765 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
16768 shlibpath_var
=LIBPATH
16775 # Since July 2007 AmigaOS4 officially supports .so libraries.
16776 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16777 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16780 library_names_spec
='$libname.ixlibrary $libname.a'
16781 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16782 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
16788 library_names_spec
='$libname$shared_ext'
16789 dynamic_linker
="$host_os ld.so"
16790 shlibpath_var
=LIBRARY_PATH
16794 version_type
=linux
# correct to gnu/linux during the next big refactor
16796 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16797 soname_spec
='$libname$release$shared_ext$major'
16798 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16799 shlibpath_var
=LD_LIBRARY_PATH
16800 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16801 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16802 # the default ld.so.conf also contains /usr/contrib/lib and
16803 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16804 # libtool to hard-code these into programs
16807 cygwin
* | mingw
* | pw32
* | cegcc
*)
16808 version_type
=windows
16813 case $GCC,$cc_basename in
16816 library_names_spec
='$libname.dll.a'
16817 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16818 postinstall_cmds
='base_file=`basename \$file`~
16819 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16820 dldir=$destdir/`dirname \$dlpath`~
16821 test -d \$dldir || mkdir -p \$dldir~
16822 $install_prog $dir/$dlname \$dldir/$dlname~
16823 chmod a+x \$dldir/$dlname~
16824 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16825 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16827 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16828 dlpath=$dir/\$dldll~
16830 shlibpath_overrides_runpath
=yes
16834 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16835 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16839 # MinGW DLLs use traditional 'lib' prefix
16840 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16843 # pw32 DLLs use 'pw' prefix rather than 'lib'
16844 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16847 dynamic_linker
='Win32 ld.exe'
16851 # Native MSVC or ICC
16852 libname_spec
='$name'
16853 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16854 library_names_spec
='$libname.dll.lib'
16858 sys_lib_search_path_spec
=
16861 for lt_path
in $LIB
16864 # Let DOS variable expansion print the short 8.3 style file name.
16865 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16866 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
16869 # Convert to MSYS style.
16870 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16873 # Convert to unix form, then to dos form, then back to unix form
16874 # but this time dos style (no spaces!) so that the unix form looks
16875 # like /cygdrive/c/PROGRA~1:/cygdr...
16876 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
16877 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16878 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16881 sys_lib_search_path_spec
=$LIB
16882 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
16883 # It is most probably a Windows format PATH.
16884 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16886 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16888 # FIXME: find the short name or the path components, as spaces are
16889 # common. (e.g. "Program Files" -> "PROGRA~1")
16893 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16894 postinstall_cmds
='base_file=`basename \$file`~
16895 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16896 dldir=$destdir/`dirname \$dlpath`~
16897 test -d \$dldir || mkdir -p \$dldir~
16898 $install_prog $dir/$dlname \$dldir/$dlname'
16899 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16900 dlpath=$dir/\$dldll~
16902 shlibpath_overrides_runpath
=yes
16903 dynamic_linker
='Win32 link.exe'
16907 # Assume MSVC and ICC wrapper
16908 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
16909 dynamic_linker
='Win32 ld.exe'
16912 # FIXME: first we should search . and the directory the executable is in
16916 darwin
* | rhapsody
*)
16917 dynamic_linker
="$host_os dyld"
16918 version_type
=darwin
16921 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
16922 soname_spec
='$libname$release$major$shared_ext'
16923 shlibpath_overrides_runpath
=yes
16924 shlibpath_var
=DYLD_LIBRARY_PATH
16925 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16927 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16931 version_type
=linux
# correct to gnu/linux during the next big refactor
16934 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16935 soname_spec
='$libname$release$shared_ext$major'
16936 shlibpath_var
=LD_LIBRARY_PATH
16939 freebsd
* | dragonfly
*)
16940 # DragonFly does not have aout. When/if they implement a new
16941 # versioning mechanism, adjust this.
16942 if test -x /usr
/bin
/objformat
; then
16943 objformat
=`/usr/bin/objformat`
16946 freebsd
[23].
*) objformat
=aout
;;
16947 *) objformat
=elf
;;
16950 version_type
=freebsd-
$objformat
16951 case $version_type in
16953 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16954 soname_spec
='$libname$release$shared_ext$major'
16959 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16963 shlibpath_var
=LD_LIBRARY_PATH
16966 shlibpath_overrides_runpath
=yes
16968 freebsd3.
[01]* | freebsdelf3.
[01]*)
16969 shlibpath_overrides_runpath
=yes
16970 hardcode_into_libs
=yes
16972 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16973 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16974 shlibpath_overrides_runpath
=no
16975 hardcode_into_libs
=yes
16977 *) # from 4.6 on, and DragonFly
16978 shlibpath_overrides_runpath
=yes
16979 hardcode_into_libs
=yes
16985 version_type
=linux
# correct to gnu/linux during the next big refactor
16988 dynamic_linker
="$host_os runtime_loader"
16989 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16990 soname_spec
='$libname$release$shared_ext$major'
16991 shlibpath_var
=LIBRARY_PATH
16992 shlibpath_overrides_runpath
=no
16993 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16994 hardcode_into_libs
=yes
16997 hpux9
* | hpux10
* | hpux11
*)
16998 # Give a soname corresponding to the major version so that dld.sl refuses to
16999 # link against other versions.
17006 hardcode_into_libs
=yes
17007 dynamic_linker
="$host_os dld.so"
17008 shlibpath_var
=LD_LIBRARY_PATH
17009 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17010 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17011 soname_spec
='$libname$release$shared_ext$major'
17012 if test 32 = "$HPUX_IA64_MODE"; then
17013 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17014 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
17016 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17017 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
17022 hardcode_into_libs
=yes
17023 dynamic_linker
="$host_os dld.sl"
17024 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17025 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17026 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17027 soname_spec
='$libname$release$shared_ext$major'
17028 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17029 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17033 dynamic_linker
="$host_os dld.sl"
17034 shlibpath_var
=SHLIB_PATH
17035 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17036 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17037 soname_spec
='$libname$release$shared_ext$major'
17040 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17041 postinstall_cmds
='chmod 555 $lib'
17042 # or fails outright, so override atomically:
17043 install_override_mode
=555
17047 version_type
=linux
# correct to gnu/linux during the next big refactor
17050 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17051 soname_spec
='$libname$release$shared_ext$major'
17052 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17053 shlibpath_var
=LD_LIBRARY_PATH
17054 shlibpath_overrides_runpath
=no
17055 hardcode_into_libs
=yes
17058 irix5
* | irix6
* | nonstopux
*)
17060 nonstopux
*) version_type
=nonstopux
;;
17062 if test yes = "$lt_cv_prog_gnu_ld"; then
17063 version_type
=linux
# correct to gnu/linux during the next big refactor
17070 soname_spec
='$libname$release$shared_ext$major'
17071 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17073 irix5
* | nonstopux
*)
17074 libsuff
= shlibsuff
=
17077 case $LD in # libtool.m4 will add one of these switches to LD
17078 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17079 libsuff
= shlibsuff
= libmagic
=32-bit;;
17080 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17081 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17082 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17083 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17084 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17088 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17089 shlibpath_overrides_runpath
=no
17090 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17091 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
17092 hardcode_into_libs
=yes
17095 # No shared lib support for Linux oldld, aout, or coff.
17096 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17101 version_type
=none
# Android doesn't support versioned libraries.
17104 library_names_spec
='$libname$release$shared_ext'
17105 soname_spec
='$libname$release$shared_ext'
17107 shlibpath_var
=LD_LIBRARY_PATH
17108 shlibpath_overrides_runpath
=yes
17110 # This implies no fast_install, which is unacceptable.
17111 # Some rework will be needed to allow for fast_install
17112 # before this can be enabled.
17113 hardcode_into_libs
=yes
17115 dynamic_linker
='Android linker'
17116 # Don't embed -rpath directories since the linker doesn't support them.
17117 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17120 # This must be glibc/ELF.
17121 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17122 version_type
=linux
# correct to gnu/linux during the next big refactor
17125 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17126 soname_spec
='$libname$release$shared_ext$major'
17127 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17128 shlibpath_var
=LD_LIBRARY_PATH
17129 shlibpath_overrides_runpath
=no
17131 # Some binutils ld are patched to set DT_RUNPATH
17132 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17133 $as_echo_n "(cached) " >&6
17135 lt_cv_shlibpath_overrides_runpath
=no
17136 save_LDFLAGS
=$LDFLAGS
17137 save_libdir
=$libdir
17138 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17139 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17151 if ac_fn_cxx_try_link
"$LINENO"; then :
17152 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
17153 lt_cv_shlibpath_overrides_runpath
=yes
17156 rm -f core conftest.err conftest.
$ac_objext \
17157 conftest
$ac_exeext conftest.
$ac_ext
17158 LDFLAGS
=$save_LDFLAGS
17159 libdir
=$save_libdir
17163 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17165 # This implies no fast_install, which is unacceptable.
17166 # Some rework will be needed to allow for fast_install
17167 # before this can be enabled.
17168 hardcode_into_libs
=yes
17170 # Ideally, we could use ldconfig to report *all* directores which are
17171 # searched for libraries, however this is still not possible. Aside from not
17172 # being certain /sbin/ldconfig is available, command
17173 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17174 # even though it is searched at run-time. Try to do the best guess by
17175 # appending ld.so.conf contents (and includes) to the search path.
17176 if test -f /etc
/ld.so.conf
; then
17177 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' ' '`
17178 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17181 # We used to test for /lib/ld.so.1 and disable shared libraries on
17182 # powerpc, because MkLinux only supported shared libraries with the
17183 # GNU dynamic linker. Since this was broken with cross compilers,
17184 # most powerpc-linux boxes support dynamic linking these days and
17185 # people can always --disable-shared, the test was removed, and we
17186 # assume the GNU/Linux dynamic linker is in use.
17187 dynamic_linker
='GNU/Linux ld.so'
17194 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17195 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17196 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17197 dynamic_linker
='NetBSD (a.out) ld.so'
17199 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17200 soname_spec
='$libname$release$shared_ext$major'
17201 dynamic_linker
='NetBSD ld.elf_so'
17203 shlibpath_var
=LD_LIBRARY_PATH
17204 shlibpath_overrides_runpath
=yes
17205 hardcode_into_libs
=yes
17209 version_type
=linux
# correct to gnu/linux during the next big refactor
17210 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17211 shlibpath_var
=LD_LIBRARY_PATH
17212 shlibpath_overrides_runpath
=yes
17219 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17220 soname_spec
='$libname$release$shared_ext$major'
17221 shlibpath_var
=LD_LIBRARY_PATH
17222 shlibpath_overrides_runpath
=no
17223 hardcode_into_libs
=yes
17224 dynamic_linker
='ldqnx.so'
17227 openbsd
* | bitrig
*)
17229 sys_lib_dlsearch_path_spec
=/usr
/lib
17231 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17236 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17237 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17238 shlibpath_var
=LD_LIBRARY_PATH
17239 shlibpath_overrides_runpath
=yes
17243 libname_spec
='$name'
17244 version_type
=windows
17248 # OS/2 can only load a DLL with a base name of 8 characters or less.
17249 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
17250 v=$($ECHO $release$versuffix | tr -d .-);
17251 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17252 $ECHO $n$v`$shared_ext'
17253 library_names_spec
='${libname}_dll.$libext'
17254 dynamic_linker
='OS/2 ld.exe'
17255 shlibpath_var
=BEGINLIBPATH
17256 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17257 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17258 postinstall_cmds
='base_file=`basename \$file`~
17259 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17260 dldir=$destdir/`dirname \$dlpath`~
17261 test -d \$dldir || mkdir -p \$dldir~
17262 $install_prog $dir/$dlname \$dldir/$dlname~
17263 chmod a+x \$dldir/$dlname~
17264 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17265 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17267 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17268 dlpath=$dir/\$dldll~
17272 osf3
* | osf4
* | osf5
*)
17276 soname_spec
='$libname$release$shared_ext$major'
17277 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17278 shlibpath_var
=LD_LIBRARY_PATH
17279 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17280 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17288 version_type
=linux
# correct to gnu/linux during the next big refactor
17291 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17292 soname_spec
='$libname$release$shared_ext$major'
17293 shlibpath_var
=LD_LIBRARY_PATH
17294 shlibpath_overrides_runpath
=yes
17295 hardcode_into_libs
=yes
17296 # ldd complains unless libraries are executable
17297 postinstall_cmds
='chmod +x $lib'
17302 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17303 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17304 shlibpath_var
=LD_LIBRARY_PATH
17305 shlibpath_overrides_runpath
=yes
17306 if test yes = "$with_gnu_ld"; then
17313 version_type
=linux
# correct to gnu/linux during the next big refactor
17314 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17315 soname_spec
='$libname$release$shared_ext$major'
17316 shlibpath_var
=LD_LIBRARY_PATH
17317 case $host_vendor in
17319 shlibpath_overrides_runpath
=no
17321 runpath_var
=LD_RUN_PATH
17329 shlibpath_overrides_runpath
=no
17330 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17336 if test -d /usr
/nec
; then
17337 version_type
=linux
# correct to gnu/linux during the next big refactor
17338 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17339 soname_spec
='$libname$shared_ext.$major'
17340 shlibpath_var
=LD_LIBRARY_PATH
17344 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17348 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17349 soname_spec
='$libname$release$shared_ext$major'
17350 shlibpath_var
=LD_LIBRARY_PATH
17351 shlibpath_overrides_runpath
=yes
17352 hardcode_into_libs
=yes
17353 if test yes = "$with_gnu_ld"; then
17354 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17356 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17359 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17363 sys_lib_dlsearch_path_spec
='/usr/lib'
17367 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17368 version_type
=linux
# correct to gnu/linux during the next big refactor
17371 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17372 shlibpath_var
=LD_LIBRARY_PATH
17373 shlibpath_overrides_runpath
=no
17374 hardcode_into_libs
=yes
17378 version_type
=linux
# correct to gnu/linux during the next big refactor
17379 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17380 soname_spec
='$libname$release$shared_ext$major'
17381 shlibpath_var
=LD_LIBRARY_PATH
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17389 $as_echo "$dynamic_linker" >&6; }
17390 test no
= "$dynamic_linker" && can_build_shared
=no
17392 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17393 if test yes = "$GCC"; then
17394 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17397 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17398 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
17401 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17402 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
17405 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17406 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
17408 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17409 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
17411 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17412 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17454 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17455 hardcode_action_CXX
=
17456 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17457 test -n "$runpath_var_CXX" ||
17458 test yes = "$hardcode_automatic_CXX"; then
17460 # We can hardcode non-existent directories.
17461 if test no
!= "$hardcode_direct_CXX" &&
17462 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17463 # have to relink, otherwise we might link with an installed library
17464 # when we should be linking with a yet-to-be-installed one
17465 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17466 test no
!= "$hardcode_minus_L_CXX"; then
17467 # Linking always hardcodes the temporary library directory.
17468 hardcode_action_CXX
=relink
17470 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17471 hardcode_action_CXX
=immediate
17474 # We cannot hardcode anything, or else we can only hardcode existing
17476 hardcode_action_CXX
=unsupported
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17479 $as_echo "$hardcode_action_CXX" >&6; }
17481 if test relink
= "$hardcode_action_CXX" ||
17482 test yes = "$inherit_rpath_CXX"; then
17483 # Fast installation is not supported
17484 enable_fast_install
=no
17485 elif test yes = "$shlibpath_overrides_runpath" ||
17486 test no
= "$enable_shared"; then
17487 # Fast installation is not necessary
17488 enable_fast_install
=needless
17497 fi # test -n "$compiler"
17500 CFLAGS
=$lt_save_CFLAGS
17504 with_gnu_ld
=$lt_save_with_gnu_ld
17505 lt_cv_path_LDCXX
=$lt_cv_path_LD
17506 lt_cv_path_LD
=$lt_save_path_LD
17507 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
17508 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
17509 fi # test yes != "$_lt_caught_CXX_error"
17512 ac_cpp
='$CPP $CPPFLAGS'
17513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17531 ac_config_commands
="$ac_config_commands libtool"
17536 # Only expand once:
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
17540 $as_echo_n "checking whether ln -s works... " >&6; }
17542 if test "$LN_S" = "ln -s"; then
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17544 $as_echo "yes" >&6; }
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
17547 $as_echo "no, using $LN_S" >&6; }
17551 # Check for GCC visibility feature
17556 VISIBILITY_CXXFLAGS
=
17558 if test -n "$GCC"; then
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
17560 $as_echo_n "checking whether the -Werror option is usable... " >&6; }
17561 if ${pcre_cv_cc_vis_werror+:} false
; then :
17562 $as_echo_n "(cached) " >&6
17565 pcre_save_CFLAGS
="$CFLAGS"
17566 CFLAGS
="$CFLAGS -Werror"
17567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17578 if ac_fn_c_try_compile
"$LINENO"; then :
17579 pcre_cv_cc_vis_werror
=yes
17581 pcre_cv_cc_vis_werror
=no
17583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17584 CFLAGS
="$pcre_save_CFLAGS"
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_cv_cc_vis_werror" >&5
17588 $as_echo "$pcre_cv_cc_vis_werror" >&6; }
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
17590 $as_echo_n "checking for simple visibility declarations... " >&6; }
17591 if ${pcre_cv_cc_visibility+:} false
; then :
17592 $as_echo_n "(cached) " >&6
17595 pcre_save_CFLAGS
="$CFLAGS"
17596 CFLAGS
="$CFLAGS -fvisibility=hidden"
17597 if test $pcre_cv_cc_vis_werror = yes; then
17598 CFLAGS
="$CFLAGS -Werror"
17600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h. */
17602 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
17603 extern __attribute__((__visibility__("default"))) int exportedvar;
17604 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
17605 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
17606 void dummyfunc (void) {}
17616 if ac_fn_c_try_compile
"$LINENO"; then :
17617 pcre_cv_cc_visibility
=yes
17619 pcre_cv_cc_visibility
=no
17621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17622 CFLAGS
="$pcre_save_CFLAGS"
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_cv_cc_visibility" >&5
17626 $as_echo "$pcre_cv_cc_visibility" >&6; }
17627 if test $pcre_cv_cc_visibility = yes; then
17628 VISIBILITY_CFLAGS
="-fvisibility=hidden"
17629 VISIBILITY_CXXFLAGS
="-fvisibility=hidden -fvisibility-inlines-hidden"
17632 $as_echo "#define PCRE_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
17635 $as_echo "#define PCRE_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
17638 $as_echo "#define PCRE_EXP_DATA_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
17641 $as_echo "#define PCREPOSIX_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
17644 $as_echo "#define PCREPOSIX_EXP_DEFN extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
17647 $as_echo "#define PCRECPP_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
17650 $as_echo "#define PCRECPP_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
17658 cat >>confdefs.h
<<_ACEOF
17659 #define HAVE_VISIBILITY $HAVE_VISIBILITY
17669 PCRE_DATE
="2020-02-12"
17671 if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09"
17674 echo "*** Minor version number $PCRE_MINOR must not be used. ***"
17675 echo "*** Use only 01 to 07 or 10 onwards, to avoid octal issues. ***"
17685 # Set a more sensible default value for $(htmldir).
17686 if test "x$htmldir" = 'x${docdir}'
17688 htmldir
='${docdir}/html'
17691 # Handle --disable-pcre8 (enabled by default)
17692 # Check whether --enable-pcre8 was given.
17693 if test "${enable_pcre8+set}" = set; then :
17694 enableval
=$enable_pcre8;
17701 # Handle --enable-pcre16 (disabled by default)
17702 # Check whether --enable-pcre16 was given.
17703 if test "${enable_pcre16+set}" = set; then :
17704 enableval
=$enable_pcre16;
17706 enable_pcre16
=unset
17711 # Handle --enable-pcre32 (disabled by default)
17712 # Check whether --enable-pcre32 was given.
17713 if test "${enable_pcre32+set}" = set; then :
17714 enableval
=$enable_pcre32;
17716 enable_pcre32
=unset
17721 # Handle --disable-cpp. The substitution of enable_cpp is needed for use in
17723 # Check whether --enable-cpp was given.
17724 if test "${enable_cpp+set}" = set; then :
17725 enableval
=$enable_cpp;
17732 # Handle --enable-jit (disabled by default)
17733 # Check whether --enable-jit was given.
17734 if test "${enable_jit+set}" = set; then :
17735 enableval
=$enable_jit;
17741 # This code enables JIT if the hardware supports it.
17743 if test "$enable_jit" = "auto"; then
17745 ac_cpp
='$CPP $CPPFLAGS'
17746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17750 SAVE_CPPFLAGS
=$CPPFLAGS
17752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17755 #define SLJIT_CONFIG_AUTO 1
17756 #include "sljit/sljitConfigInternal.h"
17757 #if (defined SLJIT_CONFIG_UNSUPPORTED && SLJIT_CONFIG_UNSUPPORTED)
17761 if ac_fn_c_try_compile
"$LINENO"; then :
17766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17767 CPPFLAGS
=$SAVE_CPPFLAGS
17770 # Handle --disable-pcregrep-jit (enabled by default)
17771 # Check whether --enable-pcregrep-jit was given.
17772 if test "${enable_pcregrep_jit+set}" = set; then :
17773 enableval
=$enable_pcregrep_jit;
17775 enable_pcregrep_jit
=yes
17779 # Handle --enable-rebuild-chartables
17780 # Check whether --enable-rebuild-chartables was given.
17781 if test "${enable_rebuild_chartables+set}" = set; then :
17782 enableval
=$enable_rebuild_chartables;
17784 enable_rebuild_chartables
=no
17788 # Handle --enable-utf8 (disabled by default)
17789 # Check whether --enable-utf8 was given.
17790 if test "${enable_utf8+set}" = set; then :
17791 enableval
=$enable_utf8;
17797 # Handle --enable-utf (disabled by default)
17798 # Check whether --enable-utf was given.
17799 if test "${enable_utf+set}" = set; then :
17800 enableval
=$enable_utf;
17806 # Handle --enable-unicode-properties
17807 # Check whether --enable-unicode-properties was given.
17808 if test "${enable_unicode_properties+set}" = set; then :
17809 enableval
=$enable_unicode_properties;
17811 enable_unicode_properties
=no
17815 # Handle newline options
17817 # Check whether --enable-newline-is-cr was given.
17818 if test "${enable_newline_is_cr+set}" = set; then :
17819 enableval
=$enable_newline_is_cr; ac_pcre_newline
=cr
17822 # Check whether --enable-newline-is-lf was given.
17823 if test "${enable_newline_is_lf+set}" = set; then :
17824 enableval
=$enable_newline_is_lf; ac_pcre_newline
=lf
17827 # Check whether --enable-newline-is-crlf was given.
17828 if test "${enable_newline_is_crlf+set}" = set; then :
17829 enableval
=$enable_newline_is_crlf; ac_pcre_newline
=crlf
17832 # Check whether --enable-newline-is-anycrlf was given.
17833 if test "${enable_newline_is_anycrlf+set}" = set; then :
17834 enableval
=$enable_newline_is_anycrlf; ac_pcre_newline
=anycrlf
17837 # Check whether --enable-newline-is-any was given.
17838 if test "${enable_newline_is_any+set}" = set; then :
17839 enableval
=$enable_newline_is_any; ac_pcre_newline
=any
17842 enable_newline
="$ac_pcre_newline"
17844 # Handle --enable-bsr-anycrlf
17845 # Check whether --enable-bsr-anycrlf was given.
17846 if test "${enable_bsr_anycrlf+set}" = set; then :
17847 enableval
=$enable_bsr_anycrlf;
17849 enable_bsr_anycrlf
=no
17853 # Handle --enable-ebcdic
17854 # Check whether --enable-ebcdic was given.
17855 if test "${enable_ebcdic+set}" = set; then :
17856 enableval
=$enable_ebcdic;
17862 # Handle --enable-ebcdic-nl25
17863 # Check whether --enable-ebcdic-nl25 was given.
17864 if test "${enable_ebcdic_nl25+set}" = set; then :
17865 enableval
=$enable_ebcdic_nl25;
17867 enable_ebcdic_nl25
=no
17871 # Handle --disable-stack-for-recursion
17872 # Check whether --enable-stack-for-recursion was given.
17873 if test "${enable_stack_for_recursion+set}" = set; then :
17874 enableval
=$enable_stack_for_recursion;
17876 enable_stack_for_recursion
=yes
17880 # Handle --enable-pcregrep-libz
17881 # Check whether --enable-pcregrep-libz was given.
17882 if test "${enable_pcregrep_libz+set}" = set; then :
17883 enableval
=$enable_pcregrep_libz;
17885 enable_pcregrep_libz
=no
17889 # Handle --enable-pcregrep-libbz2
17890 # Check whether --enable-pcregrep-libbz2 was given.
17891 if test "${enable_pcregrep_libbz2+set}" = set; then :
17892 enableval
=$enable_pcregrep_libbz2;
17894 enable_pcregrep_libbz2
=no
17898 # Handle --with-pcregrep-bufsize=N
17900 # Check whether --with-pcregrep-bufsize was given.
17901 if test "${with_pcregrep_bufsize+set}" = set; then :
17902 withval
=$with_pcregrep_bufsize;
17904 with_pcregrep_bufsize
=20480
17908 # Handle --enable-pcretest-libedit
17909 # Check whether --enable-pcretest-libedit was given.
17910 if test "${enable_pcretest_libedit+set}" = set; then :
17911 enableval
=$enable_pcretest_libedit;
17913 enable_pcretest_libedit
=no
17917 # Handle --enable-pcretest-libreadline
17918 # Check whether --enable-pcretest-libreadline was given.
17919 if test "${enable_pcretest_libreadline+set}" = set; then :
17920 enableval
=$enable_pcretest_libreadline;
17922 enable_pcretest_libreadline
=no
17926 # Handle --with-posix-malloc-threshold=NBYTES
17928 # Check whether --with-posix-malloc-threshold was given.
17929 if test "${with_posix_malloc_threshold+set}" = set; then :
17930 withval
=$with_posix_malloc_threshold;
17932 with_posix_malloc_threshold
=10
17936 # Handle --with-link-size=N
17938 # Check whether --with-link-size was given.
17939 if test "${with_link_size+set}" = set; then :
17940 withval
=$with_link_size;
17946 # Handle --with-parens-nest-limit=N
17948 # Check whether --with-parens-nest-limit was given.
17949 if test "${with_parens_nest_limit+set}" = set; then :
17950 withval
=$with_parens_nest_limit;
17952 with_parens_nest_limit
=250
17956 # Handle --with-match-limit=N
17958 # Check whether --with-match-limit was given.
17959 if test "${with_match_limit+set}" = set; then :
17960 withval
=$with_match_limit;
17962 with_match_limit
=10000000
17966 # Handle --with-match-limit_recursion=N
17968 # Note: In config.h, the default is to define MATCH_LIMIT_RECURSION
17969 # symbolically as MATCH_LIMIT, which in turn is defined to be some numeric
17970 # value (e.g. 10000000). MATCH_LIMIT_RECURSION can otherwise be set to some
17971 # different numeric value (or even the same numeric value as MATCH_LIMIT,
17972 # though no longer defined in terms of the latter).
17975 # Check whether --with-match-limit-recursion was given.
17976 if test "${with_match_limit_recursion+set}" = set; then :
17977 withval
=$with_match_limit_recursion;
17979 with_match_limit_recursion
=MATCH_LIMIT
17983 # Handle --enable-valgrind
17984 # Check whether --enable-valgrind was given.
17985 if test "${enable_valgrind+set}" = set; then :
17986 enableval
=$enable_valgrind;
17992 # Enable code coverage reports using gcov
17993 # Check whether --enable-coverage was given.
17994 if test "${enable_coverage+set}" = set; then :
17995 enableval
=$enable_coverage;
18001 # Copy enable_utf8 value to enable_utf for compatibility reasons
18002 if test "x$enable_utf8" != "xunset"
18004 if test "x$enable_utf" != "xunset"
18006 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
18008 enable_utf
=$enable_utf8
18011 # Set the default value for pcre8
18012 if test "x$enable_pcre8" = "xunset"
18017 # Set the default value for pcre16
18018 if test "x$enable_pcre16" = "xunset"
18023 # Set the default value for pcre32
18024 if test "x$enable_pcre32" = "xunset"
18029 # Make sure enable_pcre8 or enable_pcre16 was set
18030 if test "x$enable_pcre8$enable_pcre16$enable_pcre32" = "xnonono"
18032 as_fn_error $?
"At least one of 8, 16 or 32 bit pcre library must be enabled" "$LINENO" 5
18035 # Make sure that if enable_unicode_properties was set, that UTF support is enabled.
18036 if test "x$enable_unicode_properties" = "xyes"
18038 if test "x$enable_utf" = "xno"
18040 as_fn_error $?
"support for Unicode properties requires UTF-8/16/32 support" "$LINENO" 5
18045 # enable_utf is disabled by default.
18046 if test "x$enable_utf" = "xunset"
18051 # enable_cpp copies the value of enable_pcre8 by default
18052 if test "x$enable_cpp" = "xunset"
18054 enable_cpp
=$enable_pcre8
18057 # Make sure that if enable_cpp was set, that enable_pcre8 support is enabled
18058 if test "x$enable_cpp" = "xyes"
18060 if test "x$enable_pcre8" = "xno"
18062 as_fn_error $?
"C++ library requires pcre library with 8 bit characters" "$LINENO" 5
18066 # Convert the newline identifier into the appropriate integer value. The first
18067 # three are ASCII values 0x0a, 0x0d, and 0x0d0a, but if EBCDIC is enabled, they
18068 # are changed below.
18070 case "$enable_newline" in
18071 lf
) ac_pcre_newline_value
=10 ;;
18072 cr
) ac_pcre_newline_value
=13 ;;
18073 crlf
) ac_pcre_newline_value
=3338 ;;
18074 anycrlf
) ac_pcre_newline_value
=-2 ;;
18075 any
) ac_pcre_newline_value
=-1 ;;
18077 as_fn_error $?
"invalid argument \"$enable_newline\" to --enable-newline option" "$LINENO" 5
18081 # --enable-ebcdic-nl25 implies --enable-ebcdic
18082 if test "x$enable_ebcdic_nl25" = "xyes"; then
18086 # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled,
18087 # and the newline value is adjusted appropriately (CR is still 13, but LF is
18088 # 21 or 37). Also check that UTF support is not requested, because PCRE cannot
18089 # handle EBCDIC and UTF in the same build. To do so it would need to use
18090 # different character constants depending on the mode.
18092 if test "x$enable_ebcdic" = "xyes"; then
18093 enable_rebuild_chartables
=yes
18095 if test "x$enable_utf" = "xyes"; then
18096 as_fn_error $?
"support for EBCDIC and UTF-8/16/32 cannot be enabled at the same time" "$LINENO" 5
18099 if test "x$enable_ebcdic_nl25" = "xno"; then
18100 case "$ac_pcre_newline_value" in
18101 10) ac_pcre_newline_value
=21 ;;
18102 3338) ac_pcre_newline_value
=3349 ;;
18105 case "$ac_pcre_newline_value" in
18106 10) ac_pcre_newline_value
=37 ;;
18107 3338) ac_pcre_newline_value
=3365 ;;
18112 # Check argument to --with-link-size
18113 case "$with_link_size" in
18116 as_fn_error $?
"invalid argument \"$with_link_size\" to --with-link-size option" "$LINENO" 5
18122 # Checks for header files.
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18124 $as_echo_n "checking for ANSI C header files... " >&6; }
18125 if ${ac_cv_header_stdc+:} false
; then :
18126 $as_echo_n "(cached) " >&6
18128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18129 /* end confdefs.h. */
18130 #include <stdlib.h>
18131 #include <stdarg.h>
18132 #include <string.h>
18143 if ac_fn_c_try_compile
"$LINENO"; then :
18144 ac_cv_header_stdc
=yes
18146 ac_cv_header_stdc
=no
18148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18150 if test $ac_cv_header_stdc = yes; then
18151 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18154 #include <string.h>
18157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18158 $EGREP "memchr" >/dev
/null
2>&1; then :
18161 ac_cv_header_stdc
=no
18167 if test $ac_cv_header_stdc = yes; then
18168 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18170 /* end confdefs.h. */
18171 #include <stdlib.h>
18174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18175 $EGREP "free" >/dev
/null
2>&1; then :
18178 ac_cv_header_stdc
=no
18184 if test $ac_cv_header_stdc = yes; then
18185 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18186 if test "$cross_compiling" = yes; then :
18189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18192 #include <stdlib.h>
18193 #if ((' ' & 0x0FF) == 0x020)
18194 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18195 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18197 # define ISLOWER(c) \
18198 (('a' <= (c) && (c) <= 'i') \
18199 || ('j' <= (c) && (c) <= 'r') \
18200 || ('s' <= (c) && (c) <= 'z'))
18201 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18204 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18209 for (i = 0; i < 256; i++)
18210 if (XOR (islower (i), ISLOWER (i))
18211 || toupper (i) != TOUPPER (i))
18216 if ac_fn_c_try_run
"$LINENO"; then :
18219 ac_cv_header_stdc
=no
18221 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18222 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18228 $as_echo "$ac_cv_header_stdc" >&6; }
18229 if test $ac_cv_header_stdc = yes; then
18231 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18235 for ac_header
in limits.h sys
/types.h sys
/stat.h dirent.h
18237 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18238 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18239 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18240 cat >>confdefs.h
<<_ACEOF
18241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18248 for ac_header
in windows.h
18250 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
18251 if test "x$ac_cv_header_windows_h" = xyes
; then :
18252 cat >>confdefs.h
<<_ACEOF
18253 #define HAVE_WINDOWS_H 1
18261 # The files below are C++ header files.
18262 pcre_have_type_traits
="0"
18263 pcre_have_bits_type_traits
="0"
18265 if test "x$enable_cpp" = "xyes" -a -z "$CXX"; then
18266 as_fn_error $?
"Invalid C++ compiler or C++ compiler flags" "$LINENO" 5
18269 if test "x$enable_cpp" = "xyes" -a -n "$CXX"
18272 ac_cpp
='$CXXCPP $CPPFLAGS'
18273 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18274 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18275 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18278 # Older versions of pcre defined pcrecpp::no_arg, but in new versions
18279 # it's called pcrecpp::RE::no_arg. For backwards ABI compatibility,
18280 # we want to make one an alias for the other. Different systems do
18281 # this in different ways. Some systems, for instance, can do it via
18282 # a linker flag: -alias (for os x 10.5) or -i (for os x <=10.4).
18283 OLD_LDFLAGS
="$LDFLAGS"
18284 for flag
in "-alias,__ZN7pcrecpp2RE6no_argE,__ZN7pcrecpp6no_argE" \
18285 "-i__ZN7pcrecpp6no_argE:__ZN7pcrecpp2RE6no_argE"; do
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alias support in the linker" >&5
18287 $as_echo_n "checking for alias support in the linker... " >&6; }
18288 LDFLAGS
="$OLD_LDFLAGS -Wl,$flag"
18289 # We try to run the linker with this new ld flag. If the link fails,
18290 # we give up and remove the new flag from LDFLAGS.
18291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18292 /* end confdefs.h. */
18293 namespace pcrecpp {
18294 class RE { static int no_arg; };
18305 if ac_fn_cxx_try_link
"$LINENO"; then :
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18307 $as_echo "yes" >&6; };
18308 EXTRA_LIBPCRECPP_LDFLAGS
="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18312 $as_echo "no" >&6; }
18314 rm -f core conftest.err conftest.
$ac_objext \
18315 conftest
$ac_exeext conftest.
$ac_ext
18317 LDFLAGS
="$OLD_LDFLAGS"
18319 # We could be more clever here, given we're doing AC_SUBST with this
18320 # (eg set a var to be the name of the include file we want). But we're not
18321 # so it's easy to change back to 'regular' autoconf vars if we needed to.
18323 for ac_header
in string
18325 ac_fn_cxx_check_header_mongrel
"$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
18326 if test "x$ac_cv_header_string" = xyes
; then :
18327 cat >>confdefs.h
<<_ACEOF
18328 #define HAVE_STRING 1
18330 pcre_have_cpp_headers
="1"
18332 pcre_have_cpp_headers
="0"
18337 for ac_header
in bits
/type_traits.h
18339 ac_fn_cxx_check_header_mongrel
"$LINENO" "bits/type_traits.h" "ac_cv_header_bits_type_traits_h" "$ac_includes_default"
18340 if test "x$ac_cv_header_bits_type_traits_h" = xyes
; then :
18341 cat >>confdefs.h
<<_ACEOF
18342 #define HAVE_BITS_TYPE_TRAITS_H 1
18344 pcre_have_bits_type_traits
="1"
18346 pcre_have_bits_type_traits
="0"
18351 for ac_header
in type_traits.h
18353 ac_fn_cxx_check_header_mongrel
"$LINENO" "type_traits.h" "ac_cv_header_type_traits_h" "$ac_includes_default"
18354 if test "x$ac_cv_header_type_traits_h" = xyes
; then :
18355 cat >>confdefs.h
<<_ACEOF
18356 #define HAVE_TYPE_TRAITS_H 1
18358 pcre_have_type_traits
="1"
18360 pcre_have_type_traits
="0"
18366 # (This isn't c++-specific, but is only used in pcrecpp.cc, so try this
18367 # in a c++ context. This matters becuase strtoimax is C99 and may not
18368 # be supported by the C++ compiler.)
18369 # Figure out how to create a longlong from a string: strtoll and
18370 # equiv. It's not enough to call AC_CHECK_FUNCS: hpux has a
18371 # strtoll, for instance, but it only takes 2 args instead of 3!
18372 # We have to call AH_TEMPLATE since AC_DEFINE_UNQUOTED below is complex.
18378 for fn
in strtoq strtoll _strtoi64 strtoimax
; do
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $fn" >&5
18380 $as_echo_n "checking for $fn... " >&6; }
18381 if test "$fn" = strtoimax
; then
18386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18387 /* end confdefs.h. */
18388 #include <$include>
18392 char* e; return $fn("100", &e, 10)
18397 if ac_fn_cxx_try_compile
"$LINENO"; then :
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18399 $as_echo "yes" >&6; }
18401 cat >>confdefs.h
<<_ACEOF
18402 #define HAVE_`echo $fn | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ` 1
18408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18409 $as_echo "no" >&6; }
18411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18414 if test "$have_strto_fn" = 1; then
18415 ac_fn_cxx_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
18416 if test "x$ac_cv_type_long_long" = xyes
; then :
18418 cat >>confdefs.h
<<_ACEOF
18419 #define HAVE_LONG_LONG 1
18422 pcre_have_long_long
="1"
18424 pcre_have_long_long
="0"
18427 ac_fn_cxx_check_type
"$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default"
18428 if test "x$ac_cv_type_unsigned_long_long" = xyes
; then :
18430 cat >>confdefs.h
<<_ACEOF
18431 #define HAVE_UNSIGNED_LONG_LONG 1
18434 pcre_have_ulong_long
="1"
18436 pcre_have_ulong_long
="0"
18440 pcre_have_long_long
="0"
18441 pcre_have_ulong_long
="0"
18447 ac_cpp
='$CPP $CPPFLAGS'
18448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18453 # Using AC_SUBST eliminates the need to include config.h in a public .h file
18457 # Conditional compilation
18458 if test "x$enable_pcre8" = "xyes"; then
18460 WITH_PCRE8_FALSE
='#'
18462 WITH_PCRE8_TRUE
='#'
18466 if test "x$enable_pcre16" = "xyes"; then
18468 WITH_PCRE16_FALSE
='#'
18470 WITH_PCRE16_TRUE
='#'
18474 if test "x$enable_pcre32" = "xyes"; then
18476 WITH_PCRE32_FALSE
='#'
18478 WITH_PCRE32_TRUE
='#'
18482 if test "x$enable_cpp" = "xyes"; then
18483 WITH_PCRE_CPP_TRUE
=
18484 WITH_PCRE_CPP_FALSE
='#'
18486 WITH_PCRE_CPP_TRUE
='#'
18487 WITH_PCRE_CPP_FALSE
=
18490 if test "x$enable_rebuild_chartables" = "xyes"; then
18491 WITH_REBUILD_CHARTABLES_TRUE
=
18492 WITH_REBUILD_CHARTABLES_FALSE
='#'
18494 WITH_REBUILD_CHARTABLES_TRUE
='#'
18495 WITH_REBUILD_CHARTABLES_FALSE
=
18498 if test "x$enable_jit" = "xyes"; then
18506 if test "x$enable_utf" = "xyes"; then
18514 if test "x$enable_valgrind" = "xyes"; then
18515 WITH_VALGRIND_TRUE
=
18516 WITH_VALGRIND_FALSE
='#'
18518 WITH_VALGRIND_TRUE
='#'
18519 WITH_VALGRIND_FALSE
=
18523 # Checks for typedefs, structures, and compiler characteristics.
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
18526 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
18527 if ${ac_cv_c_const+:} false
; then :
18528 $as_echo_n "(cached) " >&6
18530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18537 #ifndef __cplusplus
18538 /* Ultrix mips cc rejects this sort of thing. */
18539 typedef int charset[2];
18540 const charset cs = { 0, 0 };
18541 /* SunOS 4.1.1 cc rejects this. */
18542 char const *const *pcpcc;
18544 /* NEC SVR4.0.2 mips cc rejects this. */
18545 struct point {int x, y;};
18546 static struct point const zero = {0,0};
18547 /* AIX XL C 1.02.0.0 rejects this.
18548 It does not let you subtract one const X* pointer from another in
18549 an arm of an if-expression whose if-part is not a constant
18551 const char *g = "string";
18552 pcpcc = &g + (g ? g-g : 0);
18553 /* HPUX 7.0 cc rejects these. */
18555 ppc = (char**) pcpcc;
18556 pcpcc = (char const *const *) ppc;
18557 { /* SCO 3.2v4 cc rejects this sort of thing. */
18560 char const *s = 0 ? (char *) 0 : (char const *) 0;
18565 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18566 int x[] = {25, 17};
18567 const int *foo = &x[0];
18570 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18571 typedef const int *iptr;
18575 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
18576 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18577 struct s { int j; const int *ap[3]; } bx;
18578 struct s *b = &bx; b->j = 5;
18580 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18581 const int foo = 10;
18582 if (!foo) return 0;
18584 return !cs[0] && !zero.x;
18591 if ac_fn_c_try_compile
"$LINENO"; then :
18596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
18599 $as_echo "$ac_cv_c_const" >&6; }
18600 if test $ac_cv_c_const = no
; then
18602 $as_echo "#define const /**/" >>confdefs.h
18606 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18607 if test "x$ac_cv_type_size_t" = xyes
; then :
18611 cat >>confdefs.h
<<_ACEOF
18612 #define size_t unsigned int
18618 # Checks for library functions.
18620 for ac_func
in bcopy memmove strerror
18622 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18623 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18624 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
18625 cat >>confdefs.h
<<_ACEOF
18626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18633 # Check for the availability of libz (aka zlib)
18635 for ac_header
in zlib.h
18637 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
18638 if test "x$ac_cv_header_zlib_h" = xyes
; then :
18639 cat >>confdefs.h
<<_ACEOF
18640 #define HAVE_ZLIB_H 1
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
18648 $as_echo_n "checking for gzopen in -lz... " >&6; }
18649 if ${ac_cv_lib_z_gzopen+:} false
; then :
18650 $as_echo_n "(cached) " >&6
18652 ac_check_lib_save_LIBS
=$LIBS
18654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18655 /* end confdefs.h. */
18657 /* Override any GCC internal prototype to avoid an error.
18658 Use char because int might match the return type of a GCC
18659 builtin and then its argument prototype would still apply. */
18672 if ac_fn_c_try_link
"$LINENO"; then :
18673 ac_cv_lib_z_gzopen
=yes
18675 ac_cv_lib_z_gzopen
=no
18677 rm -f core conftest.err conftest.
$ac_objext \
18678 conftest
$ac_exeext conftest.
$ac_ext
18679 LIBS
=$ac_check_lib_save_LIBS
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
18682 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
18683 if test "x$ac_cv_lib_z_gzopen" = xyes
; then :
18688 # Check for the availability of libbz2. Originally we just used AC_CHECK_LIB,
18689 # as for libz. However, this had the following problem, diagnosed and fixed by
18692 # - libbz2 uses the Pascal calling convention (WINAPI) for the functions
18694 # - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",
18695 # therefore missing the function definition.
18696 # - The compiler thus generates a "C" signature for the test function.
18697 # - The linker fails to find the "C" function.
18698 # - PCRE fails to configure if asked to do so against libbz2.
18702 # - Replace the AC_CHECK_LIB test with a custom test.
18704 for ac_header
in bzlib.h
18706 ac_fn_c_check_header_mongrel
"$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
18707 if test "x$ac_cv_header_bzlib_h" = xyes
; then :
18708 cat >>confdefs.h
<<_ACEOF
18709 #define HAVE_BZLIB_H 1
18717 # AC_CHECK_LIB([bz2], [BZ2_bzopen], [HAVE_LIBBZ2=1])
18719 # Custom test follows
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbz2" >&5
18722 $as_echo_n "checking for libbz2... " >&6; }
18725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18726 /* end confdefs.h. */
18728 #ifdef HAVE_BZLIB_H
18734 return (int)BZ2_bzopen("conftest", "rb");
18739 if ac_fn_c_try_link
"$LINENO"; then :
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18741 $as_echo "yes" >&6; };HAVE_LIBBZ2
=1; break;
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18744 $as_echo "no" >&6; }
18746 rm -f core conftest.err conftest.
$ac_objext \
18747 conftest
$ac_exeext conftest.
$ac_ext
18750 # Check for the availabiity of libreadline
18752 if test "$enable_pcretest_libreadline" = "yes"; then
18753 for ac_header
in readline
/readline.h
18755 ac_fn_c_check_header_mongrel
"$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
18756 if test "x$ac_cv_header_readline_readline_h" = xyes
; then :
18757 cat >>confdefs.h
<<_ACEOF
18758 #define HAVE_READLINE_READLINE_H 1
18765 for ac_header
in readline
/history.h
18767 ac_fn_c_check_header_mongrel
"$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
18768 if test "x$ac_cv_header_readline_history_h" = xyes
; then :
18769 cat >>confdefs.h
<<_ACEOF
18770 #define HAVE_READLINE_HISTORY_H 1
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
18778 $as_echo_n "checking for readline in -lreadline... " >&6; }
18779 if ${ac_cv_lib_readline_readline+:} false
; then :
18780 $as_echo_n "(cached) " >&6
18782 ac_check_lib_save_LIBS
=$LIBS
18783 LIBS
="-lreadline $LIBS"
18784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h. */
18787 /* Override any GCC internal prototype to avoid an error.
18788 Use char because int might match the return type of a GCC
18789 builtin and then its argument prototype would still apply. */
18797 return readline ();
18802 if ac_fn_c_try_link
"$LINENO"; then :
18803 ac_cv_lib_readline_readline
=yes
18805 ac_cv_lib_readline_readline
=no
18807 rm -f core conftest.err conftest.
$ac_objext \
18808 conftest
$ac_exeext conftest.
$ac_ext
18809 LIBS
=$ac_check_lib_save_LIBS
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
18812 $as_echo "$ac_cv_lib_readline_readline" >&6; }
18813 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
18814 LIBREADLINE
="-lreadline"
18816 unset ac_cv_lib_readline_readline
;
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
18818 $as_echo_n "checking for readline in -lreadline... " >&6; }
18819 if ${ac_cv_lib_readline_readline+:} false
; then :
18820 $as_echo_n "(cached) " >&6
18822 ac_check_lib_save_LIBS
=$LIBS
18823 LIBS
="-lreadline -ltinfo $LIBS"
18824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18827 /* Override any GCC internal prototype to avoid an error.
18828 Use char because int might match the return type of a GCC
18829 builtin and then its argument prototype would still apply. */
18837 return readline ();
18842 if ac_fn_c_try_link
"$LINENO"; then :
18843 ac_cv_lib_readline_readline
=yes
18845 ac_cv_lib_readline_readline
=no
18847 rm -f core conftest.err conftest.
$ac_objext \
18848 conftest
$ac_exeext conftest.
$ac_ext
18849 LIBS
=$ac_check_lib_save_LIBS
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
18852 $as_echo "$ac_cv_lib_readline_readline" >&6; }
18853 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
18854 LIBREADLINE
="-ltinfo"
18856 unset ac_cv_lib_readline_readline
;
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
18858 $as_echo_n "checking for readline in -lreadline... " >&6; }
18859 if ${ac_cv_lib_readline_readline+:} false
; then :
18860 $as_echo_n "(cached) " >&6
18862 ac_check_lib_save_LIBS
=$LIBS
18863 LIBS
="-lreadline -lcurses $LIBS"
18864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18867 /* Override any GCC internal prototype to avoid an error.
18868 Use char because int might match the return type of a GCC
18869 builtin and then its argument prototype would still apply. */
18877 return readline ();
18882 if ac_fn_c_try_link
"$LINENO"; then :
18883 ac_cv_lib_readline_readline
=yes
18885 ac_cv_lib_readline_readline
=no
18887 rm -f core conftest.err conftest.
$ac_objext \
18888 conftest
$ac_exeext conftest.
$ac_ext
18889 LIBS
=$ac_check_lib_save_LIBS
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
18892 $as_echo "$ac_cv_lib_readline_readline" >&6; }
18893 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
18894 LIBREADLINE
="-lcurses"
18896 unset ac_cv_lib_readline_readline
;
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
18898 $as_echo_n "checking for readline in -lreadline... " >&6; }
18899 if ${ac_cv_lib_readline_readline+:} false
; then :
18900 $as_echo_n "(cached) " >&6
18902 ac_check_lib_save_LIBS
=$LIBS
18903 LIBS
="-lreadline -lncurses $LIBS"
18904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18905 /* end confdefs.h. */
18907 /* Override any GCC internal prototype to avoid an error.
18908 Use char because int might match the return type of a GCC
18909 builtin and then its argument prototype would still apply. */
18917 return readline ();
18922 if ac_fn_c_try_link
"$LINENO"; then :
18923 ac_cv_lib_readline_readline
=yes
18925 ac_cv_lib_readline_readline
=no
18927 rm -f core conftest.err conftest.
$ac_objext \
18928 conftest
$ac_exeext conftest.
$ac_ext
18929 LIBS
=$ac_check_lib_save_LIBS
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
18932 $as_echo "$ac_cv_lib_readline_readline" >&6; }
18933 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
18934 LIBREADLINE
="-lncurses"
18936 unset ac_cv_lib_readline_readline
;
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
18938 $as_echo_n "checking for readline in -lreadline... " >&6; }
18939 if ${ac_cv_lib_readline_readline+:} false
; then :
18940 $as_echo_n "(cached) " >&6
18942 ac_check_lib_save_LIBS
=$LIBS
18943 LIBS
="-lreadline -lncursesw $LIBS"
18944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18947 /* Override any GCC internal prototype to avoid an error.
18948 Use char because int might match the return type of a GCC
18949 builtin and then its argument prototype would still apply. */
18957 return readline ();
18962 if ac_fn_c_try_link
"$LINENO"; then :
18963 ac_cv_lib_readline_readline
=yes
18965 ac_cv_lib_readline_readline
=no
18967 rm -f core conftest.err conftest.
$ac_objext \
18968 conftest
$ac_exeext conftest.
$ac_ext
18969 LIBS
=$ac_check_lib_save_LIBS
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
18972 $as_echo "$ac_cv_lib_readline_readline" >&6; }
18973 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
18974 LIBREADLINE
="-lncursesw"
18976 unset ac_cv_lib_readline_readline
;
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
18978 $as_echo_n "checking for readline in -lreadline... " >&6; }
18979 if ${ac_cv_lib_readline_readline+:} false
; then :
18980 $as_echo_n "(cached) " >&6
18982 ac_check_lib_save_LIBS
=$LIBS
18983 LIBS
="-lreadline -ltermcap $LIBS"
18984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18987 /* Override any GCC internal prototype to avoid an error.
18988 Use char because int might match the return type of a GCC
18989 builtin and then its argument prototype would still apply. */
18997 return readline ();
19002 if ac_fn_c_try_link
"$LINENO"; then :
19003 ac_cv_lib_readline_readline
=yes
19005 ac_cv_lib_readline_readline
=no
19007 rm -f core conftest.err conftest.
$ac_objext \
19008 conftest
$ac_exeext conftest.
$ac_ext
19009 LIBS
=$ac_check_lib_save_LIBS
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
19012 $as_echo "$ac_cv_lib_readline_readline" >&6; }
19013 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
19014 LIBREADLINE
="-ltermcap"
19030 if test -n "$LIBREADLINE"; then
19031 if test "$LIBREADLINE" != "-lreadline"; then
19032 echo "-lreadline needs $LIBREADLINE"
19033 LIBREADLINE
="-lreadline $LIBREADLINE"
19039 # Check for the availability of libedit. Different distributions put its
19040 # headers in different places. Try to cover the most common ones.
19042 if test "$enable_pcretest_libedit" = "yes"; then
19043 for ac_header
in editline
/readline.h
19045 ac_fn_c_check_header_mongrel
"$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
19046 if test "x$ac_cv_header_editline_readline_h" = xyes
; then :
19047 cat >>confdefs.h
<<_ACEOF
19048 #define HAVE_EDITLINE_READLINE_H 1
19050 HAVE_EDITLINE_READLINE_H
=1
19052 for ac_header
in edit
/readline
/readline.h
19054 ac_fn_c_check_header_mongrel
"$LINENO" "edit/readline/readline.h" "ac_cv_header_edit_readline_readline_h" "$ac_includes_default"
19055 if test "x$ac_cv_header_edit_readline_readline_h" = xyes
; then :
19056 cat >>confdefs.h
<<_ACEOF
19057 #define HAVE_EDIT_READLINE_READLINE_H 1
19059 HAVE_READLINE_READLINE_H
=1
19061 for ac_header
in readline
/readline.h
19063 ac_fn_c_check_header_mongrel
"$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
19064 if test "x$ac_cv_header_readline_readline_h" = xyes
; then :
19065 cat >>confdefs.h
<<_ACEOF
19066 #define HAVE_READLINE_READLINE_H 1
19068 HAVE_READLINE_READLINE_H
=1
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5
19082 $as_echo_n "checking for readline in -ledit... " >&6; }
19083 if ${ac_cv_lib_edit_readline+:} false
; then :
19084 $as_echo_n "(cached) " >&6
19086 ac_check_lib_save_LIBS
=$LIBS
19087 LIBS
="-ledit $LIBS"
19088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19089 /* end confdefs.h. */
19091 /* Override any GCC internal prototype to avoid an error.
19092 Use char because int might match the return type of a GCC
19093 builtin and then its argument prototype would still apply. */
19101 return readline ();
19106 if ac_fn_c_try_link
"$LINENO"; then :
19107 ac_cv_lib_edit_readline
=yes
19109 ac_cv_lib_edit_readline
=no
19111 rm -f core conftest.err conftest.
$ac_objext \
19112 conftest
$ac_exeext conftest.
$ac_ext
19113 LIBS
=$ac_check_lib_save_LIBS
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5
19116 $as_echo "$ac_cv_lib_edit_readline" >&6; }
19117 if test "x$ac_cv_lib_edit_readline" = xyes
; then :
19123 # This facilitates -ansi builds under Linux
19125 PCRE_STATIC_CFLAG
=""
19126 if test "x$enable_shared" = "xno" ; then
19128 $as_echo "#define PCRE_STATIC 1" >>confdefs.h
19130 PCRE_STATIC_CFLAG
="-DPCRE_STATIC"
19134 # Here is where pcre specific defines are handled
19136 if test "$enable_pcre8" = "yes"; then
19138 $as_echo "#define SUPPORT_PCRE8 /**/" >>confdefs.h
19142 if test "$enable_pcre16" = "yes"; then
19144 $as_echo "#define SUPPORT_PCRE16 /**/" >>confdefs.h
19148 if test "$enable_pcre32" = "yes"; then
19150 $as_echo "#define SUPPORT_PCRE32 /**/" >>confdefs.h
19154 # Unless running under Windows, JIT support requires pthreads.
19156 if test "$enable_jit" = "yes"; then
19157 if test "$HAVE_WINDOWS_H" != "1"; then
19161 ac_cpp
='$CPP $CPPFLAGS'
19162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19168 # We used to check for pthread.h first, but this fails if pthread.h
19169 # requires special compiler flags (e.g. on True64 or Sequent).
19170 # It gets checked for in the link test anyway.
19172 # First of all, check if the user has set any of the PTHREAD_LIBS,
19173 # etcetera environment variables, and if threads linking works using
19175 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19176 save_CFLAGS
="$CFLAGS"
19177 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19179 LIBS
="$PTHREAD_LIBS $LIBS"
19180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
19181 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
19182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19183 /* end confdefs.h. */
19185 /* Override any GCC internal prototype to avoid an error.
19186 Use char because int might match the return type of a GCC
19187 builtin and then its argument prototype would still apply. */
19191 char pthread_join ();
19195 return pthread_join ();
19200 if ac_fn_c_try_link
"$LINENO"; then :
19203 rm -f core conftest.err conftest.
$ac_objext \
19204 conftest
$ac_exeext conftest.
$ac_ext
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19206 $as_echo "$ax_pthread_ok" >&6; }
19207 if test x
"$ax_pthread_ok" = xno
; then
19212 CFLAGS
="$save_CFLAGS"
19215 # We must check for the threads library under a number of different
19216 # names; the ordering is very important because some systems
19217 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19218 # libraries is broken (non-POSIX).
19220 # Create a list of thread flags to try. Items starting with a "-" are
19221 # C compiler flags, and other items are library names, except for "none"
19222 # which indicates that we try without any flags at all, and "pthread-config"
19223 # which is a program returning the flags for the Pth emulation library.
19225 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
19227 # The ordering *is* (sometimes) important. Some notes on the
19228 # individual items follow:
19230 # pthreads: AIX (must check this before -lpthread)
19231 # none: in case threads are in libc; should be tried before -Kthread and
19232 # other compiler flags to prevent continual compiler warnings
19233 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19234 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19235 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19236 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
19237 # -pthreads: Solaris/gcc
19238 # -mthreads: Mingw32/gcc, Lynx/gcc
19239 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19240 # doesn't hurt to check since this sometimes defines pthreads too;
19241 # also defines -D_REENTRANT)
19242 # ... -mt is also the pthreads flag for HP/aCC
19243 # pthread: Linux, etcetera
19244 # --thread-safe: KAI C++
19245 # pthread-config: use pthread-config program (for GNU Pth library)
19250 # On Solaris (at least, for some versions), libc contains stubbed
19251 # (non-functional) versions of the pthreads routines, so link-based
19252 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19253 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19254 # a function called by this macro, so we could check for that, but
19255 # who knows whether they'll stub that too in a future libc.) So,
19256 # we'll just look for -pthreads and -lpthread first:
19258 ax_pthread_flags
="-pthreads pthread -mt -pthread $ax_pthread_flags"
19262 ax_pthread_flags
="-pthread $ax_pthread_flags"
19266 if test x
"$ax_pthread_ok" = xno
; then
19267 for flag
in $ax_pthread_flags; do
19271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19272 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19277 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19278 PTHREAD_CFLAGS
="$flag"
19282 # Extract the first word of "pthread-config", so it can be a program name with args.
19283 set dummy pthread-config
; ac_word
=$2
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19285 $as_echo_n "checking for $ac_word... " >&6; }
19286 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
19287 $as_echo_n "(cached) " >&6
19289 if test -n "$ax_pthread_config"; then
19290 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
19292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19293 for as_dir
in $PATH
19296 test -z "$as_dir" && as_dir
=.
19297 for ac_exec_ext
in '' $ac_executable_extensions; do
19298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19299 ac_cv_prog_ax_pthread_config
="yes"
19300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19307 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
19310 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
19311 if test -n "$ax_pthread_config"; then
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
19313 $as_echo "$ax_pthread_config" >&6; }
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19316 $as_echo "no" >&6; }
19320 if test x
"$ax_pthread_config" = xno
; then continue; fi
19321 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19322 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19327 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19328 PTHREAD_LIBS
="-l$flag"
19333 save_CFLAGS
="$CFLAGS"
19334 LIBS
="$PTHREAD_LIBS $LIBS"
19335 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19337 # Check for various functions. We must include pthread.h,
19338 # since some functions may be macros. (On the Sequent, we
19339 # need a special flag -Kthread to make this header compile.)
19340 # We check for pthread_join because it is in -lpthread on IRIX
19341 # while pthread_create is in libc. We check for pthread_attr_init
19342 # due to DEC craziness with -lpthreads. We check for
19343 # pthread_cleanup_push because it is one of the few pthread
19344 # functions on Solaris that doesn't have a non-functional libc stub.
19345 # We try pthread_create on general principles.
19346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19347 /* end confdefs.h. */
19348 #include <pthread.h>
19349 static void routine(void *a) { a = 0; }
19350 static void *start_routine(void *a) { return a; }
19354 pthread_t th; pthread_attr_t attr;
19355 pthread_create(&th, 0, start_routine, 0);
19356 pthread_join(th, 0);
19357 pthread_attr_init(&attr);
19358 pthread_cleanup_push(routine, 0);
19359 pthread_cleanup_pop(0) /* ; */
19364 if ac_fn_c_try_link
"$LINENO"; then :
19367 rm -f core conftest.err conftest.
$ac_objext \
19368 conftest
$ac_exeext conftest.
$ac_ext
19371 CFLAGS
="$save_CFLAGS"
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19374 $as_echo "$ax_pthread_ok" >&6; }
19375 if test "x$ax_pthread_ok" = xyes
; then
19384 # Various other checks:
19385 if test "x$ax_pthread_ok" = xyes
; then
19387 LIBS
="$PTHREAD_LIBS $LIBS"
19388 save_CFLAGS
="$CFLAGS"
19389 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19391 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19393 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19395 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 #include <pthread.h>
19402 int attr = $attr; return attr /* ; */
19407 if ac_fn_c_try_link
"$LINENO"; then :
19408 attr_name
=$attr; break
19410 rm -f core conftest.err conftest.
$ac_objext \
19411 conftest
$ac_exeext conftest.
$ac_ext
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
19414 $as_echo "$attr_name" >&6; }
19415 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
19417 cat >>confdefs.h
<<_ACEOF
19418 #define PTHREAD_CREATE_JOINABLE $attr_name
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19424 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19427 aix
* | freebsd
* | darwin
*) flag
="-D_THREAD_SAFE";;
19428 osf
* | hpux
*) flag
="-D_REENTRANT";;
19430 if test "$GCC" = "yes"; then
19431 flag
="-D_REENTRANT"
19433 flag
="-mt -D_REENTRANT"
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
19438 $as_echo "${flag}" >&6; }
19439 if test "x$flag" != xno
; then
19440 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
19444 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
19445 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
19446 $as_echo_n "(cached) " >&6
19449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19452 #include <pthread.h>
19456 int i = PTHREAD_PRIO_INHERIT;
19461 if ac_fn_c_try_link
"$LINENO"; then :
19462 ax_cv_PTHREAD_PRIO_INHERIT
=yes
19464 ax_cv_PTHREAD_PRIO_INHERIT
=no
19466 rm -f core conftest.err conftest.
$ac_objext \
19467 conftest
$ac_exeext conftest.
$ac_ext
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
19471 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
19472 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
19474 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
19479 CFLAGS
="$save_CFLAGS"
19481 # More AIX lossage: must compile with xlc_r or cc_r
19482 if test x
"$GCC" != xyes
; then
19483 for ac_prog
in xlc_r cc_r
19485 # Extract the first word of "$ac_prog", so it can be a program name with args.
19486 set dummy
$ac_prog; ac_word
=$2
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19488 $as_echo_n "checking for $ac_word... " >&6; }
19489 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19490 $as_echo_n "(cached) " >&6
19492 if test -n "$PTHREAD_CC"; then
19493 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19496 for as_dir
in $PATH
19499 test -z "$as_dir" && as_dir
=.
19500 for ac_exec_ext
in '' $ac_executable_extensions; do
19501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19502 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19512 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19513 if test -n "$PTHREAD_CC"; then
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19515 $as_echo "$PTHREAD_CC" >&6; }
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19518 $as_echo "no" >&6; }
19522 test -n "$PTHREAD_CC" && break
19524 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
19537 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19538 if test x
"$ax_pthread_ok" = xyes
; then
19540 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
19545 as_fn_error $?
"JIT support requires pthreads" "$LINENO" 5
19548 ac_cpp
='$CPP $CPPFLAGS'
19549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19555 CFLAGS
="$PTHREAD_CFLAGS $CFLAGS"
19556 LIBS
="$PTHREAD_LIBS $LIBS"
19559 $as_echo "#define SUPPORT_JIT /**/" >>confdefs.h
19562 enable_pcregrep_jit
="no"
19565 if test "$enable_pcregrep_jit" = "yes"; then
19567 $as_echo "#define SUPPORT_PCREGREP_JIT /**/" >>confdefs.h
19571 if test "$enable_utf" = "yes"; then
19573 $as_echo "#define SUPPORT_UTF /**/" >>confdefs.h
19577 if test "$enable_unicode_properties" = "yes"; then
19579 $as_echo "#define SUPPORT_UCP /**/" >>confdefs.h
19583 if test "$enable_stack_for_recursion" = "no"; then
19585 $as_echo "#define NO_RECURSE /**/" >>confdefs.h
19589 if test "$enable_pcregrep_libz" = "yes"; then
19591 $as_echo "#define SUPPORT_LIBZ /**/" >>confdefs.h
19595 if test "$enable_pcregrep_libbz2" = "yes"; then
19597 $as_echo "#define SUPPORT_LIBBZ2 /**/" >>confdefs.h
19601 if test $with_pcregrep_bufsize -lt 8192 ; then
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $with_pcregrep_bufsize is too small for --with-pcregrep-bufsize; using 8192" >&5
19603 $as_echo "$as_me: WARNING: $with_pcregrep_bufsize is too small for --with-pcregrep-bufsize; using 8192" >&2;}
19604 with_pcregrep_bufsize
="8192"
19606 if test $?
-gt 1 ; then
19607 as_fn_error $?
"Bad value for --with-pcregrep-bufsize" "$LINENO" 5
19612 cat >>confdefs.h
<<_ACEOF
19613 #define PCREGREP_BUFSIZE $with_pcregrep_bufsize
19617 if test "$enable_pcretest_libedit" = "yes"; then
19619 $as_echo "#define SUPPORT_LIBEDIT /**/" >>confdefs.h
19621 LIBREADLINE
="$LIBEDIT"
19622 elif test "$enable_pcretest_libreadline" = "yes"; then
19624 $as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h
19629 cat >>confdefs.h
<<_ACEOF
19630 #define NEWLINE $ac_pcre_newline_value
19634 if test "$enable_bsr_anycrlf" = "yes"; then
19636 $as_echo "#define BSR_ANYCRLF /**/" >>confdefs.h
19641 cat >>confdefs.h
<<_ACEOF
19642 #define LINK_SIZE $with_link_size
19647 cat >>confdefs.h
<<_ACEOF
19648 #define POSIX_MALLOC_THRESHOLD $with_posix_malloc_threshold
19653 cat >>confdefs.h
<<_ACEOF
19654 #define PARENS_NEST_LIMIT $with_parens_nest_limit
19659 cat >>confdefs.h
<<_ACEOF
19660 #define MATCH_LIMIT $with_match_limit
19665 cat >>confdefs.h
<<_ACEOF
19666 #define MATCH_LIMIT_RECURSION $with_match_limit_recursion
19671 $as_echo "#define MAX_NAME_SIZE 32" >>confdefs.h
19675 $as_echo "#define MAX_NAME_COUNT 10000" >>confdefs.h
19680 if test "$enable_ebcdic" = "yes"; then
19682 cat >>confdefs.h
<<_ACEOF
19683 #define EBCDIC /**/
19688 if test "$enable_ebcdic_nl25" = "yes"; then
19690 cat >>confdefs.h
<<_ACEOF
19691 #define EBCDIC_NL25 /**/
19696 if test "$enable_valgrind" = "yes"; then
19698 cat >>confdefs.h
<<_ACEOF
19699 #define SUPPORT_VALGRIND /**/
19704 # Platform specific issues
19706 EXPORT_ALL_SYMBOLS
=
19709 if test X
"$enable_shared" = Xyes
; then
19710 NO_UNDEFINED
="-no-undefined"
19711 EXPORT_ALL_SYMBOLS
="-Wl,--export-all-symbols"
19716 # The extra LDFLAGS for each particular library
19717 # (Note: The libpcre*_version bits are m4 variables, assigned above)
19719 EXTRA_LIBPCRE_LDFLAGS
="$EXTRA_LIBPCRE_LDFLAGS \
19720 $NO_UNDEFINED -version-info 3:12:2"
19722 EXTRA_LIBPCRE16_LDFLAGS
="$EXTRA_LIBPCRE16_LDFLAGS \
19723 $NO_UNDEFINED -version-info 2:12:2"
19725 EXTRA_LIBPCRE32_LDFLAGS
="$EXTRA_LIBPCRE32_LDFLAGS \
19726 $NO_UNDEFINED -version-info 0:12:0"
19728 EXTRA_LIBPCREPOSIX_LDFLAGS
="$EXTRA_LIBPCREPOSIX_LDFLAGS \
19729 $NO_UNDEFINED -version-info 1:0:0"
19731 EXTRA_LIBPCRECPP_LDFLAGS
="$EXTRA_LIBPCRECPP_LDFLAGS \
19732 $NO_UNDEFINED -version-info 0:2:0 \
19733 $EXPORT_ALL_SYMBOLS"
19741 # When we run 'make distcheck', use these arguments. Turning off compiler
19742 # optimization makes it run faster.
19743 DISTCHECK_CONFIGURE_FLAGS
="CFLAGS='' CXXFLAGS='' --enable-pcre16 --enable-pcre32 --enable-jit --enable-cpp --enable-unicode-properties"
19746 # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
19747 # specified, the relevant library is available.
19749 if test "$enable_pcregrep_libz" = "yes"; then
19750 if test "$HAVE_ZLIB_H" != "1"; then
19751 echo "** Cannot --enable-pcregrep-libz because zlib.h was not found"
19754 if test "$HAVE_LIBZ" != "1"; then
19755 echo "** Cannot --enable-pcregrep-libz because libz was not found"
19762 if test "$enable_pcregrep_libbz2" = "yes"; then
19763 if test "$HAVE_BZLIB_H" != "1"; then
19764 echo "** Cannot --enable-pcregrep-libbz2 because bzlib.h was not found"
19767 if test "$HAVE_LIBBZ2" != "1"; then
19768 echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"
19775 # Similarly for --enable-pcretest-readline
19777 if test "$enable_pcretest_libedit" = "yes"; then
19778 if test "$enable_pcretest_libreadline" = "yes"; then
19779 echo "** Cannot use both --enable-pcretest-libedit and --enable-pcretest-readline"
19782 if test "$HAVE_EDITLINE_READLINE_H" != "1" -a \
19783 "$HAVE_READLINE_READLINE_H" != "1"; then
19784 echo "** Cannot --enable-pcretest-libedit because neither editline/readline.h"
19785 echo "** nor readline/readline.h was found."
19788 if test -z "$LIBEDIT"; then
19789 echo "** Cannot --enable-pcretest-libedit because libedit library was not found."
19794 if test "$enable_pcretest_libreadline" = "yes"; then
19795 if test "$HAVE_READLINE_H" != "1"; then
19796 echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found."
19799 if test "$HAVE_HISTORY_H" != "1"; then
19800 echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."
19803 if test -z "$LIBREADLINE"; then
19804 echo "** Cannot --enable-pcretest-readline because readline library was not found."
19809 # Handle valgrind support
19811 if test "$enable_valgrind" = "yes"; then
19819 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19820 if test -n "$ac_tool_prefix"; then
19821 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19822 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19824 $as_echo_n "checking for $ac_word... " >&6; }
19825 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
19826 $as_echo_n "(cached) " >&6
19828 case $PKG_CONFIG in
19830 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19834 for as_dir
in $PATH
19837 test -z "$as_dir" && as_dir
=.
19838 for ac_exec_ext
in '' $ac_executable_extensions; do
19839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19840 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19851 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19852 if test -n "$PKG_CONFIG"; then
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19854 $as_echo "$PKG_CONFIG" >&6; }
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19857 $as_echo "no" >&6; }
19862 if test -z "$ac_cv_path_PKG_CONFIG"; then
19863 ac_pt_PKG_CONFIG
=$PKG_CONFIG
19864 # Extract the first word of "pkg-config", so it can be a program name with args.
19865 set dummy pkg-config
; ac_word
=$2
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19867 $as_echo_n "checking for $ac_word... " >&6; }
19868 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
19869 $as_echo_n "(cached) " >&6
19871 case $ac_pt_PKG_CONFIG in
19873 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19877 for as_dir
in $PATH
19880 test -z "$as_dir" && as_dir
=.
19881 for ac_exec_ext
in '' $ac_executable_extensions; do
19882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19883 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19894 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
19895 if test -n "$ac_pt_PKG_CONFIG"; then
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19897 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19900 $as_echo "no" >&6; }
19903 if test "x$ac_pt_PKG_CONFIG" = x
; then
19906 case $cross_compiling:$ac_tool_warned in
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19910 ac_tool_warned
=yes ;;
19912 PKG_CONFIG
=$ac_pt_PKG_CONFIG
19915 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
19919 if test -n "$PKG_CONFIG"; then
19920 _pkg_min_version
=0.9.0
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19922 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19923 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19925 $as_echo "yes" >&6; }
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19928 $as_echo "no" >&6; }
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
19935 $as_echo_n "checking for VALGRIND... " >&6; }
19937 if test -n "$VALGRIND_CFLAGS"; then
19938 pkg_cv_VALGRIND_CFLAGS
="$VALGRIND_CFLAGS"
19939 elif test -n "$PKG_CONFIG"; then
19940 if test -n "$PKG_CONFIG" && \
19941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
19942 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
19944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19945 test $ac_status = 0; }; then
19946 pkg_cv_VALGRIND_CFLAGS
=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null`
19947 test "x$?" != "x0" && pkg_failed
=yes
19954 if test -n "$VALGRIND_LIBS"; then
19955 pkg_cv_VALGRIND_LIBS
="$VALGRIND_LIBS"
19956 elif test -n "$PKG_CONFIG"; then
19957 if test -n "$PKG_CONFIG" && \
19958 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
19959 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
19961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19962 test $ac_status = 0; }; then
19963 pkg_cv_VALGRIND_LIBS
=`$PKG_CONFIG --libs "valgrind" 2>/dev/null`
19964 test "x$?" != "x0" && pkg_failed
=yes
19974 if test $pkg_failed = yes; then
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19976 $as_echo "no" >&6; }
19978 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19979 _pkg_short_errors_supported
=yes
19981 _pkg_short_errors_supported
=no
19983 if test $_pkg_short_errors_supported = yes; then
19984 VALGRIND_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind" 2>&1`
19986 VALGRIND_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "valgrind" 2>&1`
19988 # Put the nasty error message in config.log where it belongs
19989 echo "$VALGRIND_PKG_ERRORS" >&5
19991 as_fn_error $?
"Package requirements (valgrind) were not met:
19993 $VALGRIND_PKG_ERRORS
19995 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19996 installed software in a non-standard prefix.
19998 Alternatively, you may set the environment variables VALGRIND_CFLAGS
19999 and VALGRIND_LIBS to avoid the need to call pkg-config.
20000 See the pkg-config man page for more details." "$LINENO" 5
20001 elif test $pkg_failed = untried
; then
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20003 $as_echo "no" >&6; }
20004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20006 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
20007 is in your PATH or set the PKG_CONFIG environment variable to the full
20008 path to pkg-config.
20010 Alternatively, you may set the environment variables VALGRIND_CFLAGS
20011 and VALGRIND_LIBS to avoid the need to call pkg-config.
20012 See the pkg-config man page for more details.
20014 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20015 See \`config.log' for more details" "$LINENO" 5; }
20017 VALGRIND_CFLAGS
=$pkg_cv_VALGRIND_CFLAGS
20018 VALGRIND_LIBS
=$pkg_cv_VALGRIND_LIBS
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20020 $as_echo "yes" >&6; }
20025 # Handle code coverage reporting support
20026 if test "$enable_coverage" = "yes"; then
20027 if test "x$GCC" != "xyes"; then
20028 as_fn_error $?
"Code coverage reports can only be generated when using GCC" "$LINENO" 5
20031 # ccache is incompatible with gcov
20032 # Extract the first word of "shtool", so it can be a program name with args.
20033 set dummy shtool
; ac_word
=$2
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20035 $as_echo_n "checking for $ac_word... " >&6; }
20036 if ${ac_cv_path_SHTOOL+:} false
; then :
20037 $as_echo_n "(cached) " >&6
20041 ac_cv_path_SHTOOL
="$SHTOOL" # Let the user override the test with a path.
20044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20045 for as_dir
in $PATH
20048 test -z "$as_dir" && as_dir
=.
20049 for ac_exec_ext
in '' $ac_executable_extensions; do
20050 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20051 ac_cv_path_SHTOOL
="$as_dir/$ac_word$ac_exec_ext"
20052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20059 test -z "$ac_cv_path_SHTOOL" && ac_cv_path_SHTOOL
="false"
20063 SHTOOL
=$ac_cv_path_SHTOOL
20064 if test -n "$SHTOOL"; then
20065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
20066 $as_echo "$SHTOOL" >&6; }
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20069 $as_echo "no" >&6; }
20073 case `$SHTOOL path $CC` in
20074 *ccache
*) cc_ccache
=yes;;
20078 if test "$cc_ccache" = "yes"; then
20079 if test -z "$CCACHE_DISABLE" -o "$CCACHE_DISABLE" != "1"; then
20080 as_fn_error $?
"must export CCACHE_DISABLE=1 to disable ccache for code coverage" "$LINENO" 5
20085 # Extract the first word of "lcov", so it can be a program name with args.
20086 set dummy lcov
; ac_word
=$2
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20088 $as_echo_n "checking for $ac_word... " >&6; }
20089 if ${ac_cv_path_LCOV+:} false
; then :
20090 $as_echo_n "(cached) " >&6
20094 ac_cv_path_LCOV
="$LCOV" # Let the user override the test with a path.
20097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20098 for as_dir
in $PATH
20101 test -z "$as_dir" && as_dir
=.
20102 for ac_exec_ext
in '' $ac_executable_extensions; do
20103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20104 ac_cv_path_LCOV
="$as_dir/$ac_word$ac_exec_ext"
20105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20112 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV
="false"
20116 LCOV
=$ac_cv_path_LCOV
20117 if test -n "$LCOV"; then
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
20119 $as_echo "$LCOV" >&6; }
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20122 $as_echo "no" >&6; }
20126 if test "x$LCOV" = "xfalse"; then
20127 as_fn_error $?
"lcov not found" "$LINENO" 5
20131 # Extract the first word of "genhtml", so it can be a program name with args.
20132 set dummy genhtml
; ac_word
=$2
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20134 $as_echo_n "checking for $ac_word... " >&6; }
20135 if ${ac_cv_path_GENHTML+:} false
; then :
20136 $as_echo_n "(cached) " >&6
20140 ac_cv_path_GENHTML
="$GENHTML" # Let the user override the test with a path.
20143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20144 for as_dir
in $PATH
20147 test -z "$as_dir" && as_dir
=.
20148 for ac_exec_ext
in '' $ac_executable_extensions; do
20149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20150 ac_cv_path_GENHTML
="$as_dir/$ac_word$ac_exec_ext"
20151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20158 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML
="false"
20162 GENHTML
=$ac_cv_path_GENHTML
20163 if test -n "$GENHTML"; then
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
20165 $as_echo "$GENHTML" >&6; }
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20168 $as_echo "no" >&6; }
20172 if test "x$GENHTML" = "xfalse"; then
20173 as_fn_error $?
"genhtml not found" "$LINENO" 5
20176 # Set flags needed for gcov
20177 GCOV_CFLAGS
="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
20178 GCOV_CXXFLAGS
="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
20183 fi # enable_coverage
20185 if test "x$enable_coverage" = "xyes"; then
20187 WITH_GCOV_FALSE
='#'
20194 # Produce these files, in addition to config.h.
20195 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"
20198 # Make the generated script files executable.
20199 ac_config_commands
="$ac_config_commands script-chmod"
20202 # Make sure that pcre_chartables.c is removed in case the method for
20203 # creating it was changed by reconfiguration.
20204 ac_config_commands
="$ac_config_commands delete-old-chartables"
20207 cat >confcache
<<\_ACEOF
20208 # This file is a shell script that caches the results of configure
20209 # tests run on this system so they can be shared between configure
20210 # scripts and configure runs, see configure's option --config-cache.
20211 # It is not useful on other systems. If it contains results you don't
20212 # want to keep, you may remove or edit it.
20214 # config.status only pays attention to the cache file if you give it
20215 # the --recheck option to rerun configure.
20217 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20218 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20219 # following values.
20223 # The following way of writing the cache mishandles newlines in values,
20224 # but we know of no workaround that is simple, portable, and efficient.
20225 # So, we kill variables containing newlines.
20226 # Ultrix sh set writes to stderr and can't be redirected directly,
20227 # and sets the high bit in the cache file unless we assign to the vars.
20229 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20230 eval ac_val
=\$
$ac_var
20234 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20235 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20238 _ | IFS | as_nl
) ;; #(
20239 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
20240 *) { eval $ac_var=; unset $ac_var;} ;;
20246 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20247 *${as_nl}ac_space
=\
*)
20248 # `set' does not quote correctly, so add quotes: double-quote
20249 # substitution turns \\\\ into \\, and sed turns \\ into \.
20252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20255 # `set' quotes correctly as required by POSIX, so do not add quotes.
20256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20265 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20267 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20269 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20270 if test -w "$cache_file"; then
20271 if test "x$cache_file" != "x/dev/null"; then
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20273 $as_echo "$as_me: updating cache $cache_file" >&6;}
20274 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
20275 cat confcache
>"$cache_file"
20277 case $cache_file in #(
20279 mv -f confcache
"$cache_file"$$
&&
20280 mv -f "$cache_file"$$
"$cache_file" ;; #(
20282 mv -f confcache
"$cache_file" ;;
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20288 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20293 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20294 # Let make expand exec_prefix.
20295 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20297 DEFS
=-DHAVE_CONFIG_H
20302 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20303 # 1. Remove the extension, and $U if already installed.
20304 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20305 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20306 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20307 # will be set to the directory where LIBOBJS objects are built.
20308 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20309 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20311 LIBOBJS
=$ac_libobjs
20313 LTLIBOBJS
=$ac_ltlibobjs
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20317 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20318 if test -n "$am_sleep_pid"; then
20319 # Hide warnings about reused PIDs.
20320 wait $am_sleep_pid 2>/dev
/null
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20323 $as_echo "done" >&6; }
20324 if test -n "$EXEEXT"; then
20326 am__EXEEXT_FALSE
='#'
20328 am__EXEEXT_TRUE
='#'
20332 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20333 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20336 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20337 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20340 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20341 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20344 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20345 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20348 if test -z "${WITH_PCRE8_TRUE}" && test -z "${WITH_PCRE8_FALSE}"; then
20349 as_fn_error $?
"conditional \"WITH_PCRE8\" was never defined.
20350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20352 if test -z "${WITH_PCRE16_TRUE}" && test -z "${WITH_PCRE16_FALSE}"; then
20353 as_fn_error $?
"conditional \"WITH_PCRE16\" was never defined.
20354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20356 if test -z "${WITH_PCRE32_TRUE}" && test -z "${WITH_PCRE32_FALSE}"; then
20357 as_fn_error $?
"conditional \"WITH_PCRE32\" was never defined.
20358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20360 if test -z "${WITH_PCRE_CPP_TRUE}" && test -z "${WITH_PCRE_CPP_FALSE}"; then
20361 as_fn_error $?
"conditional \"WITH_PCRE_CPP\" was never defined.
20362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20364 if test -z "${WITH_REBUILD_CHARTABLES_TRUE}" && test -z "${WITH_REBUILD_CHARTABLES_FALSE}"; then
20365 as_fn_error $?
"conditional \"WITH_REBUILD_CHARTABLES\" was never defined.
20366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20368 if test -z "${WITH_JIT_TRUE}" && test -z "${WITH_JIT_FALSE}"; then
20369 as_fn_error $?
"conditional \"WITH_JIT\" was never defined.
20370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20372 if test -z "${WITH_UTF_TRUE}" && test -z "${WITH_UTF_FALSE}"; then
20373 as_fn_error $?
"conditional \"WITH_UTF\" was never defined.
20374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20376 if test -z "${WITH_VALGRIND_TRUE}" && test -z "${WITH_VALGRIND_FALSE}"; then
20377 as_fn_error $?
"conditional \"WITH_VALGRIND\" was never defined.
20378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20380 if test -z "${WITH_GCOV_TRUE}" && test -z "${WITH_GCOV_FALSE}"; then
20381 as_fn_error $?
"conditional \"WITH_GCOV\" was never defined.
20382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20385 : "${CONFIG_STATUS=./config.status}"
20387 ac_clean_files_save
=$ac_clean_files
20388 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20390 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20392 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20394 # Generated by $as_me.
20395 # Run this file to recreate the current configuration.
20396 # Compiler output produced by configure, useful for debugging
20397 # configure, is in config.log if it exists.
20400 ac_cs_recheck=false
20403 SHELL=\${CONFIG_SHELL-$SHELL}
20406 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
20407 ## -------------------- ##
20408 ## M4sh Initialization. ##
20409 ## -------------------- ##
20411 # Be more Bourne compatible
20412 DUALCASE
=1; export DUALCASE
# for MKS sh
20413 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20416 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20417 # is contrary to our usage. Disable this feature.
20418 alias -g '${1+"$@"}'='"$@"'
20419 setopt NO_GLOB_SUBST
20421 case `(set -o) 2>/dev/null` in #(
20433 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20434 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20435 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20436 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20437 # Prefer a ksh shell builtin over an external printf program on Solaris,
20438 # but without wasting forks for bash or zsh.
20439 if test -z "$BASH_VERSION$ZSH_VERSION" \
20440 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20441 as_echo='print
-r --'
20442 as_echo_n='print
-rn --'
20443 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20444 as_echo='printf %s
\n'
20445 as_echo_n='printf %s
'
20447 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20448 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20449 as_echo_n='/usr
/ucb
/echo -n'
20451 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20452 as_echo_n_body='eval
20456 expr "X$arg" : "X\\(.*\\)$as_nl";
20457 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20459 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20461 export as_echo_n_body
20462 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20464 export as_echo_body
20465 as_echo='sh
-c $as_echo_body as_echo
'
20468 # The user is always right.
20469 if test "${PATH_SEPARATOR+set}" != set; then
20471 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20472 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20479 # We need space, tab and new line, in precisely that order. Quoting is
20480 # there to prevent editors from complaining about space-tab.
20481 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20482 # splitting by setting IFS to empty value.)
20485 # Find who we are. Look in the path if we contain no directory separator.
20488 *[\\/]* ) as_myself=$0 ;;
20489 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20490 for as_dir in $PATH
20493 test -z "$as_dir" && as_dir=.
20494 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20500 # We did not find ourselves, most probably we were run as `sh COMMAND'
20501 # in which case we are not to be found in the path.
20502 if test "x$as_myself" = x
; then
20505 if test ! -f "$as_myself"; then
20506 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20510 # Unset variables that we do not need and which cause bugs (e.g. in
20511 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20512 # suppresses any "Segmentation fault" message there. '((' could
20513 # trigger a bug in pdksh 5.2.14.
20514 for as_var
in BASH_ENV ENV MAIL MAILPATH
20515 do eval test x\
${$as_var+set} = xset \
20516 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
20529 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20532 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20533 # ----------------------------------------
20534 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20535 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20536 # script with STATUS, using 1 if that was 0.
20539 as_status
=$1; test $as_status -eq 0 && as_status
=1
20541 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20542 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20544 $as_echo "$as_me: error: $2" >&2
20545 as_fn_exit
$as_status
20549 # as_fn_set_status STATUS
20550 # -----------------------
20551 # Set $? to STATUS, without forking.
20552 as_fn_set_status
()
20555 } # as_fn_set_status
20557 # as_fn_exit STATUS
20558 # -----------------
20559 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20563 as_fn_set_status
$1
20569 # Portably unset VAR.
20572 { eval $1=; unset $1;}
20574 as_unset
=as_fn_unset
20575 # as_fn_append VAR VALUE
20576 # ----------------------
20577 # Append the text in VALUE to the end of the definition contained in VAR. Take
20578 # advantage of any shell optimizations that allow amortized linear growth over
20579 # repeated appends, instead of the typical quadratic growth present in naive
20581 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20582 eval 'as_fn_append ()
20593 # as_fn_arith ARG...
20594 # ------------------
20595 # Perform arithmetic evaluation on the ARGs, and store the result in the
20596 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20597 # must be portable across $(()) and expr.
20598 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20599 eval 'as_fn_arith ()
20606 as_val
=`expr "$@" || test $? -eq 1`
20611 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20612 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20618 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20619 as_basename
=basename
20624 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20630 as_me
=`$as_basename -- "$0" ||
20631 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20632 X"$0" : 'X\(//\)$' \| \
20633 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20635 sed '/^.*\/\([^/][^/]*\)\/*$/{
20649 # Avoid depending upon Character Ranges.
20650 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20651 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20652 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20653 as_cr_digits
='0123456789'
20654 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20656 ECHO_C
= ECHO_N
= ECHO_T
=
20657 case `echo -n x` in #(((((
20659 case `echo 'xy\c'` in
20660 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20662 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20669 rm -f conf$$ conf$$.exe conf$$.
file
20670 if test -d conf$$.dir
; then
20671 rm -f conf$$.dir
/conf$$.
file
20674 mkdir conf$$.dir
2>/dev
/null
20676 if (echo >conf$$.
file) 2>/dev
/null
; then
20677 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20679 # ... but there are two gotchas:
20680 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20681 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20682 # In both cases, we have to default to `cp -pR'.
20683 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20685 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20693 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20694 rmdir conf$$.dir
2>/dev
/null
20699 # Create "$as_dir" as a directory, including parents if necessary.
20704 -*) as_dir
=.
/$as_dir;;
20706 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20710 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20711 *) as_qdir
=$as_dir;;
20713 as_dirs
="'$as_qdir' $as_dirs"
20714 as_dir
=`$as_dirname -- "$as_dir" ||
20715 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20716 X"$as_dir" : 'X\(//\)[^/]' \| \
20717 X"$as_dir" : 'X\(//\)$' \| \
20718 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20719 $as_echo X"$as_dir" |
20720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20724 /^X\(\/\/\)[^/].*/{
20737 test -d "$as_dir" && break
20739 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20740 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20744 if mkdir
-p .
2>/dev
/null
; then
20745 as_mkdir_p
='mkdir -p "$as_dir"'
20747 test -d .
/-p && rmdir .
/-p
20752 # as_fn_executable_p FILE
20753 # -----------------------
20754 # Test if FILE is an executable regular file.
20755 as_fn_executable_p
()
20757 test -f "$1" && test -x "$1"
20758 } # as_fn_executable_p
20759 as_test_x
='test -x'
20760 as_executable_p
=as_fn_executable_p
20762 # Sed expression to map a string onto a valid CPP name.
20763 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20765 # Sed expression to map a string onto a valid variable name.
20766 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20770 ## ----------------------------------- ##
20771 ## Main body of $CONFIG_STATUS script. ##
20772 ## ----------------------------------- ##
20774 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20777 # Save the log message, to keep $0 and so on meaningful, and to
20778 # report actual input values of CONFIG_FILES etc. instead of their
20779 # values after options handling.
20781 This file was extended by PCRE $as_me 8.44, which was
20782 generated by GNU Autoconf 2.69. Invocation command line was
20784 CONFIG_FILES = $CONFIG_FILES
20785 CONFIG_HEADERS = $CONFIG_HEADERS
20786 CONFIG_LINKS = $CONFIG_LINKS
20787 CONFIG_COMMANDS = $CONFIG_COMMANDS
20790 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20795 case $ac_config_files in *"
20796 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20799 case $ac_config_headers in *"
20800 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20805 # Files that config.status was made for.
20806 config_files="$ac_config_files"
20807 config_headers="$ac_config_headers"
20808 config_commands="$ac_config_commands"
20812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20814 \`$as_me' instantiates files and other configuration actions
20815 from templates according to the current configuration. Unless the files
20816 and actions are specified as TAGs, all are instantiated by default.
20818 Usage: $0 [OPTION]... [TAG]...
20820 -h, --help print this help, then exit
20821 -V, --version print version number and configuration settings, then exit
20822 --config print configuration, then exit
20823 -q, --quiet, --silent
20824 do not print progress messages
20825 -d, --debug don't remove temporary files
20826 --recheck update $as_me by reconfiguring in the same conditions
20827 --file=FILE[:TEMPLATE]
20828 instantiate the configuration file FILE
20829 --header=FILE[:TEMPLATE]
20830 instantiate the configuration header FILE
20832 Configuration files:
20835 Configuration headers:
20838 Configuration commands:
20841 Report bugs to the package provider."
20844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20845 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20847 PCRE config.status 8.44
20848 configured by $0, generated by GNU Autoconf 2.69,
20849 with options \\"\$ac_cs_config\\"
20851 Copyright (C) 2012 Free Software Foundation, Inc.
20852 This config.status script is free software; the Free Software Foundation
20853 gives unlimited permission to copy, distribute and modify it."
20860 test -n "\$AWK" || AWK=awk
20863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20864 # The default lists apply if the user does not specify any file.
20870 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20871 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20875 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20887 # Handling of the options.
20888 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20890 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20891 $as_echo "$ac_cs_version"; exit ;;
20892 --config |
--confi |
--conf |
--con |
--co |
--c )
20893 $as_echo "$ac_cs_config"; exit ;;
20894 --debug |
--debu |
--deb |
--de |
--d |
-d )
20896 --file |
--fil |
--fi |
--f )
20899 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20900 '') as_fn_error $?
"missing file argument" ;;
20902 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20903 ac_need_defaults
=false
;;
20904 --header |
--heade |
--head |
--hea )
20907 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20909 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20910 ac_need_defaults
=false
;;
20912 # Conflict between --help and --header
20913 as_fn_error $?
"ambiguous option: \`$1'
20914 Try \`$0 --help' for more information.";;
20915 --help |
--hel |
-h )
20916 $as_echo "$ac_cs_usage"; exit ;;
20917 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20918 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20921 # This is an error.
20922 -*) as_fn_error $?
"unrecognized option: \`$1'
20923 Try \`$0 --help' for more information." ;;
20925 *) as_fn_append ac_config_targets
" $1"
20926 ac_need_defaults
=false
;;
20932 ac_configure_extra_args
=
20934 if $ac_cs_silent; then
20936 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20941 if \$ac_cs_recheck; then
20942 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20944 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20945 CONFIG_SHELL='$SHELL'
20946 export CONFIG_SHELL
20951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20955 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20956 ## Running $as_me. ##
20962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20966 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
20969 # The HP-UX ksh and POSIX shell print the target directory to stdout
20970 # if CDPATH is set.
20971 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20973 sed_quote_subst='$sed_quote_subst'
20974 double_quote_subst='$double_quote_subst'
20975 delay_variable_subst='$delay_variable_subst'
20976 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20977 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20978 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20979 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20980 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20981 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20982 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20983 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20984 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20985 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
20986 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20987 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20988 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20989 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20990 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20991 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20992 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20993 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20994 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20995 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20996 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20997 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20998 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20999 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21000 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21001 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21002 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21003 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21004 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21005 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21006 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21007 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21008 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21009 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21010 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21011 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21012 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21013 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21014 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21015 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21016 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21017 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21018 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21019 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
21020 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21021 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21022 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21023 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21024 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21025 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21026 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21027 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21028 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21029 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21030 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21031 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21032 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21033 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21034 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
21035 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21036 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"`'
21037 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
21038 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21039 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21040 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
21041 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21042 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21043 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21044 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21045 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21046 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21047 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21048 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21049 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21050 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21051 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21052 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21053 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21054 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21055 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21056 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21057 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21058 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21059 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21060 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21061 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21062 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21063 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21064 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21065 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21066 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21067 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21068 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21069 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21070 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21071 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21072 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21073 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21074 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21075 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21076 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21077 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21078 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21079 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21080 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21081 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21082 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21083 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21084 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21085 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21086 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21087 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21088 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21089 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21090 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21091 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21092 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21093 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21094 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21095 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21096 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21097 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21098 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21099 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21100 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21101 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21102 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21103 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21104 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21105 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
21106 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
21107 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21108 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21109 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21110 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21111 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21112 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21113 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21114 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21115 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21116 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21117 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21118 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21119 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21120 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21121 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21122 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21123 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21124 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21125 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21126 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21127 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21128 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21129 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21130 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21131 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21132 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21133 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21134 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21135 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21136 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21137 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21138 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21139 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21140 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21141 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21142 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21143 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21144 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21145 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21146 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21147 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21148 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21149 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21150 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21151 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21152 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21153 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21154 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21155 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21156 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21157 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21158 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21159 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21160 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21161 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21162 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21163 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21164 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21165 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21166 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21169 LTCFLAGS='$LTCFLAGS'
21170 compiler='$compiler_DEFAULT'
21172 # A function that is used when there is no print builtin or printf.
21173 func_fallback_echo ()
21175 eval 'cat <<_LTECHO_EOF
21180 # Quote evaled strings.
21197 deplibs_check_method \
21201 sharedlib_from_linklib_cmd \
21203 archiver_list_spec \
21209 lt_cv_sys_global_symbol_pipe \
21210 lt_cv_sys_global_symbol_to_cdecl \
21211 lt_cv_sys_global_symbol_to_import \
21212 lt_cv_sys_global_symbol_to_c_name_address \
21213 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21214 lt_cv_nm_interface \
21215 nm_file_list_spec \
21216 lt_cv_truncate_bin \
21217 lt_prog_compiler_no_builtin_flag \
21218 lt_prog_compiler_pic \
21219 lt_prog_compiler_wl \
21220 lt_prog_compiler_static \
21221 lt_cv_prog_compiler_c_o \
21230 export_dynamic_flag_spec \
21231 whole_archive_flag_spec \
21232 compiler_needs_object \
21234 allow_undefined_flag \
21235 no_undefined_flag \
21236 hardcode_libdir_flag_spec \
21237 hardcode_libdir_separator \
21241 variables_saved_for_relink \
21243 library_names_spec \
21245 install_override_mode \
21249 compiler_lib_search_dirs \
21254 compiler_lib_search_path \
21258 lt_prog_compiler_no_builtin_flag_CXX \
21259 lt_prog_compiler_pic_CXX \
21260 lt_prog_compiler_wl_CXX \
21261 lt_prog_compiler_static_CXX \
21262 lt_cv_prog_compiler_c_o_CXX \
21263 export_dynamic_flag_spec_CXX \
21264 whole_archive_flag_spec_CXX \
21265 compiler_needs_object_CXX \
21267 allow_undefined_flag_CXX \
21268 no_undefined_flag_CXX \
21269 hardcode_libdir_flag_spec_CXX \
21270 hardcode_libdir_separator_CXX \
21271 exclude_expsyms_CXX \
21272 include_expsyms_CXX \
21273 file_list_spec_CXX \
21274 compiler_lib_search_dirs_CXX \
21275 predep_objects_CXX \
21276 postdep_objects_CXX \
21279 compiler_lib_search_path_CXX; do
21280 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21281 *[\\\\\\\`\\"\\\$]*)
21282 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21285 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21290 # Double-quote double-evaled strings.
21291 for var in reload_cmds \
21292 old_postinstall_cmds \
21293 old_postuninstall_cmds \
21295 extract_expsyms_cmds \
21296 old_archive_from_new_cmds \
21297 old_archive_from_expsyms_cmds \
21299 archive_expsym_cmds \
21301 module_expsym_cmds \
21302 export_symbols_cmds \
21306 postuninstall_cmds \
21308 sys_lib_search_path_spec \
21309 configure_time_dlsearch_path \
21310 configure_time_lt_sys_library_path \
21312 old_archive_cmds_CXX \
21313 old_archive_from_new_cmds_CXX \
21314 old_archive_from_expsyms_cmds_CXX \
21316 archive_expsym_cmds_CXX \
21318 module_expsym_cmds_CXX \
21319 export_symbols_cmds_CXX \
21321 postlink_cmds_CXX; do
21322 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21323 *[\\\\\\\`\\"\\\$]*)
21324 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21327 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21332 ac_aux_dir='$ac_aux_dir'
21334 # See if we are running on zsh, and set the options that allow our
21335 # commands through without removal of \ escapes INIT.
21336 if test -n "\${ZSH_VERSION+set}"; then
21337 setopt NO_GLOB_SUBST
21353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21355 # Handling of arguments.
21356 for ac_config_target
in $ac_config_targets
21358 case $ac_config_target in
21359 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21360 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21361 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21362 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21363 "libpcre.pc") CONFIG_FILES
="$CONFIG_FILES libpcre.pc" ;;
21364 "libpcre16.pc") CONFIG_FILES
="$CONFIG_FILES libpcre16.pc" ;;
21365 "libpcre32.pc") CONFIG_FILES
="$CONFIG_FILES libpcre32.pc" ;;
21366 "libpcreposix.pc") CONFIG_FILES
="$CONFIG_FILES libpcreposix.pc" ;;
21367 "libpcrecpp.pc") CONFIG_FILES
="$CONFIG_FILES libpcrecpp.pc" ;;
21368 "pcre-config") CONFIG_FILES
="$CONFIG_FILES pcre-config" ;;
21369 "pcre.h") CONFIG_FILES
="$CONFIG_FILES pcre.h" ;;
21370 "pcre_stringpiece.h") CONFIG_FILES
="$CONFIG_FILES pcre_stringpiece.h" ;;
21371 "pcrecpparg.h") CONFIG_FILES
="$CONFIG_FILES pcrecpparg.h" ;;
21372 "script-chmod") CONFIG_COMMANDS
="$CONFIG_COMMANDS script-chmod" ;;
21373 "delete-old-chartables") CONFIG_COMMANDS
="$CONFIG_COMMANDS delete-old-chartables" ;;
21375 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21380 # If the user did not use the arguments to specify the items to instantiate,
21381 # then the envvar interface is used. Set only those that are not.
21382 # We use the long form for the default assignment because of an extremely
21383 # bizarre bug on SunOS 4.1.3.
21384 if $ac_need_defaults; then
21385 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21386 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21387 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21390 # Have a temporary directory for convenience. Make it in the build tree
21391 # simply because there is no reason against having it here, and in addition,
21392 # creating and moving files from /tmp can sometimes cause problems.
21393 # Hook for its removal unless debugging.
21394 # Note that there is a small window in which the directory will not be cleaned:
21395 # after its creation but before its name has been assigned to `$tmp'.
21399 trap 'exit_status=$?
21400 : "${ac_tmp:=$tmp}"
21401 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21403 trap 'as_fn_exit 1' 1 2 13 15
21405 # Create a (secure) tmp directory for tmp files.
21408 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21412 tmp
=.
/conf$$
-$RANDOM
21413 (umask 077 && mkdir
"$tmp")
21414 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21417 # Set up the scripts for CONFIG_FILES section.
21418 # No need to generate them if there are no CONFIG_FILES.
21419 # This happens for instance with `./config.status config.h'.
21420 if test -n "$CONFIG_FILES"; then
21423 ac_cr
=`echo X | tr X '\015'`
21424 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21425 # But we know of no other shell where ac_cr would be empty at this
21426 # point, so we can use a bashism as a fallback.
21427 if test "x$ac_cr" = x
; then
21428 eval ac_cr
=\$
\'\\r
\'
21430 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21431 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21434 ac_cs_awk_cr
=$ac_cr
21437 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21442 echo "cat >conf$$subs.awk <<_ACEOF" &&
21443 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21445 } >conf$$subs.sh ||
21446 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21447 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21449 for ac_last_try in false false false false false :; do
21450 . ./conf$$subs.sh ||
21451 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21453 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21454 if test $ac_delim_n = $ac_delim_num; then
21456 elif $ac_last_try; then
21457 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21459 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21462 rm -f conf$$subs.sh
21464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21465 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21469 s/^/S["/; s
/!.
*/"]=/
21479 s/\(.\{148\}\)..*/\1/
21481 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21486 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21493 s/\(.\{148\}\)..*/\1/
21495 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21499 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21504 ' <conf$$subs.awk | sed '
21509 ' >>$CONFIG_STATUS || ac_write_fail=1
21510 rm -f conf$$subs.awk
21511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21513 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21514 for (key in S) S_is_set[key] = 1
21520 nfields = split(line, field, "@
")
21522 len = length(field[1])
21523 for (i = 2; i < nfields; i++) {
21525 keylen = length(key)
21526 if (S_is_set[key]) {
21528 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21529 len += length(value) + length(field[++i])
21540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21541 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21542 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21545 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21546 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21549 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21550 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21551 # trailing colons and then remove the whole line if VPATH becomes empty
21552 # (actually we leave an empty line to preserve line numbers).
21553 if test "x
$srcdir" = x.; then
21554 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21573 fi # test -n "$CONFIG_FILES"
21575 # Set up the scripts for CONFIG_HEADERS section.
21576 # No need to generate them if there are no CONFIG_HEADERS.
21577 # This happens for instance with `./config.status Makefile'.
21578 if test -n "$CONFIG_HEADERS"; then
21579 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21583 # Transform confdefs.h into an awk script `defines.awk', embedded as
21584 # here-document in config.status, that substitutes the proper values into
21585 # config.h.in to produce config.h.
21587 # Create a delimiter string that does not exist in confdefs.h, to ease
21588 # handling of long lines.
21590 for ac_last_try in false false :; do
21591 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21592 if test -z "$ac_tt"; then
21594 elif $ac_last_try; then
21595 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21597 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21601 # For the awk script, D is an array of macro values keyed by name,
21602 # likewise P contains macro parameters if any. Preserve backslash
21603 # newline sequences.
21605 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21607 s/.\{148\}/&'"$ac_delim"'/g
21610 s/^[ ]*#[ ]*define[ ][ ]*/ /
21617 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21619 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21623 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21624 D["\
1"]=" \
3\\\\\\n
"\\/p
21626 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21631 s/.\{148\}/&'"$ac_delim"'/g
21636 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21639 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21641 ' <confdefs.h | sed '
21642 s/'"$ac_delim"'/"\\\
21643 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21646 for (key in D) D_is_set[key] = 1
21649 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21651 split(line, arg, " ")
21652 if (arg[1] == "#") {
21656 defundef
= substr
(arg
[1], 2)
21659 split(mac1
, mac2
, "(") #)
21661 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21662 if (D_is_set
[macro
]) {
21663 # Preserve the white space surrounding the "#".
21664 print prefix
"define", macro P
[macro
] D
[macro
]
21667 # Replace #undef with comments. This is necessary, for example,
21668 # in the case of _POSIX_SOURCE, which is predefined and required
21669 # on some systems where configure will not decide to define it.
21670 if (defundef
== "undef") {
21671 print
"/*", prefix defundef
, macro
, "*/"
21679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21680 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21681 fi # test -n "$CONFIG_HEADERS"
21684 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21689 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21691 case $ac_mode$ac_tag in
21693 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21694 :[FH
]-) ac_tag
=-:-;;
21695 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21712 -) ac_f
="$ac_tmp/stdin";;
21713 *) # Look for the file first in the build tree, then in the source tree
21714 # (if the path is not absolute). The absolute path cannot be DOS-style,
21715 # because $ac_f cannot contain `:'.
21719 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21721 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21723 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21724 as_fn_append ac_file_inputs
" '$ac_f'"
21727 # Let's still pretend it is `configure' which instantiates (i.e., don't
21728 # use $as_me), people would be surprised to read:
21729 # /* config.h. Generated by config.status. */
21730 configure_input
='Generated from '`
21731 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21733 if test x
"$ac_file" != x-
; then
21734 configure_input
="$ac_file. $configure_input"
21735 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21736 $as_echo "$as_me: creating $ac_file" >&6;}
21738 # Neutralize special characters interpreted by sed in replacement strings.
21739 case $configure_input in #(
21740 *\
&* |
*\|
* |
*\\* )
21741 ac_sed_conf_input
=`$as_echo "$configure_input" |
21742 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21743 *) ac_sed_conf_input
=$configure_input;;
21747 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
21748 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21753 ac_dir
=`$as_dirname -- "$ac_file" ||
21754 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21755 X"$ac_file" : 'X\(//\)[^/]' \| \
21756 X"$ac_file" : 'X\(//\)$' \| \
21757 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21758 $as_echo X"$ac_file" |
21759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21763 /^X\(\/\/\)[^/].*/{
21776 as_dir
="$ac_dir"; as_fn_mkdir_p
21780 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21782 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21783 # A ".." for each directory in $ac_dir_suffix.
21784 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21785 case $ac_top_builddir_sub in
21786 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21787 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21790 ac_abs_top_builddir
=$ac_pwd
21791 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21792 # for backward compatibility:
21793 ac_top_builddir
=$ac_top_build_prefix
21796 .
) # We are building in place.
21798 ac_top_srcdir
=$ac_top_builddir_sub
21799 ac_abs_top_srcdir
=$ac_pwd ;;
21800 [\\/]* | ?
:[\\/]* ) # Absolute name.
21801 ac_srcdir
=$srcdir$ac_dir_suffix;
21802 ac_top_srcdir
=$srcdir
21803 ac_abs_top_srcdir
=$srcdir ;;
21804 *) # Relative name.
21805 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21806 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21807 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21809 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21819 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21820 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21822 ac_MKDIR_P
=$MKDIR_P
21824 [\\/$
]* | ?
:[\\/]* ) ;;
21825 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21830 # If the template does not know about datarootdir, expand it.
21831 # FIXME: This hack should be removed a few years after 2.60.
21832 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21843 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21844 *datarootdir
*) ac_datarootdir_seen
=yes;;
21845 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21847 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21850 ac_datarootdir_hack='
21851 s&@datadir@&$datadir&g
21852 s&@docdir@&$docdir&g
21853 s&@infodir@&$infodir&g
21854 s&@localedir@&$localedir&g
21855 s&@mandir@&$mandir&g
21856 s&\\\${datarootdir}&$datarootdir&g' ;;
21860 # Neutralize VPATH when `$srcdir' = `.'.
21861 # Shell code in configure.ac might set extrasub.
21862 # FIXME: do we really want to maintain this feature?
21863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21864 ac_sed_extra="$ac_vpsub
21867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21869 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21870 s|@configure_input@|
$ac_sed_conf_input|
;t t
21871 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21872 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21873 s
&@srcdir@
&$ac_srcdir&;t t
21874 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21875 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21876 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21877 s
&@builddir@
&$ac_builddir&;t t
21878 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21879 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21880 s
&@INSTALL@
&$ac_INSTALL&;t t
21881 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21882 $ac_datarootdir_hack
21884 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21885 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21887 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21888 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21889 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21890 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21892 which seems to be undefined. Please make sure it is defined" >&5
21893 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21894 which seems to be undefined. Please make sure it is defined" >&2;}
21896 rm -f "$ac_tmp/stdin"
21898 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21899 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21901 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21907 if test x"$ac_file" != x-; then
21909 $as_echo "/* $configure_input */" \
21910 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21911 } >"$ac_tmp/config.h" \
21912 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21913 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21915 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21918 mv "$ac_tmp/config.h" "$ac_file" \
21919 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21922 $as_echo "/* $configure_input */" \
21923 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21924 || as_fn_error $? "could not create -" "$LINENO" 5
21926 # Compute "$ac_file"'s index
in $config_headers.
21929 for _am_header
in $config_headers :; do
21930 case $_am_header in
21931 $_am_arg |
$_am_arg:* )
21934 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21937 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21938 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21939 X"$_am_arg" : 'X\(//\)[^/]' \| \
21940 X"$_am_arg" : 'X\(//\)$' \| \
21941 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21942 $as_echo X"$_am_arg" |
21943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21947 /^X\(\/\/\)[^/].*/{
21959 s/.*/./; q'`/stamp-h
$_am_stamp_count
21962 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21963 $as_echo "$as_me: executing $ac_file commands" >&6;}
21968 case $ac_file$ac_mode in
21969 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21970 # Older Autoconf quotes --file arguments for eval, but not when files
21971 # are listed without --file. Let's play safe and only enable the eval
21972 # if we detect the quoting.
21973 # TODO: see whether this extra hack can be removed once we start
21974 # requiring Autoconf 2.70 or later.
21975 case $CONFIG_FILES in #(
21977 eval set x
"$CONFIG_FILES" ;; #(
21979 set x
$CONFIG_FILES ;; #(
21984 # Used to flag and report bootstrapping failures.
21988 # Strip MF so we end up with the name of the file.
21989 am_mf
=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
21990 # Check whether this is an Automake generated Makefile which includes
21991 # dependency-tracking related rules and includes.
21992 # Grep'ing the whole file directly is not great: AIX grep has a line
21993 # limit of 2048, but all sed's we know have understand at least 4000.
21994 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
21996 am_dirpart
=`$as_dirname -- "$am_mf" ||
21997 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21998 X"$am_mf" : 'X\(//\)[^/]' \| \
21999 X"$am_mf" : 'X\(//\)$' \| \
22000 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
22001 $as_echo X"$am_mf" |
22002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22006 /^X\(\/\/\)[^/].*/{
22019 am_filepart
=`$as_basename -- "$am_mf" ||
22020 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
22021 X"$am_mf" : 'X\(//\)$' \| \
22022 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
22023 $as_echo X/"$am_mf" |
22024 sed '/^.*\/\([^/][^/]*\)\/*$/{
22037 { echo "$as_me:$LINENO: cd "$am_dirpart" \
22038 && sed -e '/# am--include-marker/d' "$am_filepart" \
22039 | $MAKE -f - am--depfiles" >&5
22040 (cd "$am_dirpart" \
22041 && sed -e '/# am--include-marker/d' "$am_filepart" \
22042 |
$MAKE -f - am--depfiles
) >&5 2>&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } || am_rc
=$?
22047 if test $am_rc -ne 0; then
22048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22050 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
22051 for automatic dependency tracking. Try re-running configure with the
22052 '--disable-dependency-tracking' option to at least be able to build
22053 the package (albeit without support for automatic dependency tracking).
22054 See \`config.log' for more details" "$LINENO" 5; }
22056 { am_dirpart
=; unset am_dirpart
;}
22057 { am_filepart
=; unset am_filepart
;}
22058 { am_mf
=; unset am_mf
;}
22059 { am_rc
=; unset am_rc
;}
22060 rm -f conftest-deps.mk
22065 # See if we are running on zsh, and set the options that allow our
22066 # commands through without removal of \ escapes.
22067 if test -n "${ZSH_VERSION+set}"; then
22068 setopt NO_GLOB_SUBST
22072 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22075 cat <<_LT_EOF >> "$cfgfile"
22077 # Generated automatically by $as_me ($PACKAGE) $VERSION
22078 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22080 # Provide generalized library-building support services.
22081 # Written by Gordon Matzigkeit, 1996
22083 # Copyright (C) 2014 Free Software Foundation, Inc.
22084 # This is free software; see the source for copying conditions. There is NO
22085 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22087 # GNU Libtool is free software; you can redistribute it and/or modify
22088 # it under the terms of the GNU General Public License as published by
22089 # the Free Software Foundation; either version 2 of of the License, or
22090 # (at your option) any later version.
22092 # As a special exception to the GNU General Public License, if you
22093 # distribute this file as part of a program or library that is built
22094 # using GNU Libtool, you may include this file under the same
22095 # distribution terms that you use for the rest of that program.
22097 # GNU Libtool is distributed in the hope that it will be useful, but
22098 # WITHOUT ANY WARRANTY; without even the implied warranty of
22099 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22100 # GNU General Public License for more details.
22102 # You should have received a copy of the GNU General Public License
22103 # along with this program. If not, see <http://www.gnu.org/licenses/>.
22106 # The names of the tagged configurations supported by this script.
22107 available_tags='CXX '
22109 # Configured defaults for sys_lib_dlsearch_path munging.
22110 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
22112 # ### BEGIN LIBTOOL CONFIG
22114 # Assembler program.
22117 # DLL creation program.
22118 DLLTOOL=$lt_DLLTOOL
22120 # Object dumper program.
22121 OBJDUMP=$lt_OBJDUMP
22123 # Which release of libtool.m4 was used?
22124 macro_version=$macro_version
22125 macro_revision=$macro_revision
22127 # Whether or not to build shared libraries.
22128 build_libtool_libs=$enable_shared
22130 # Whether or not to build static libraries.
22131 build_old_libs=$enable_static
22133 # What type of objects to build.
22136 # Whether or not to optimize for fast installation.
22137 fast_install=$enable_fast_install
22139 # Shared archive member basename,for filename based shared library versioning on AIX.
22140 shared_archive_member_spec=$shared_archive_member_spec
22142 # Shell to use when invoking shell scripts.
22145 # An echo program that protects backslashes.
22148 # The PATH separator for the build system.
22149 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22152 host_alias=$host_alias
22156 # The build system.
22157 build_alias=$build_alias
22161 # A sed program that does not truncate output.
22164 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22165 Xsed="\$SED -e 1s/^X//"
22167 # A grep program that handles long lines.
22173 # A literal string matcher.
22176 # A BSD- or MS-compatible name lister.
22179 # Whether we need soft or hard links.
22182 # What is the maximum length of a command?
22183 max_cmd_len=$max_cmd_len
22185 # Object file suffix (normally "o").
22188 # Executable file suffix (normally "").
22191 # whether the shell understands "unset".
22194 # turn spaces into newlines.
22197 # turn newlines into spaces.
22200 # convert \$build file names to \$host format.
22201 to_host_file_cmd=$lt_cv_to_host_file_cmd
22203 # convert \$build files to toolchain format.
22204 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22206 # Method to check whether dependent libraries are shared objects.
22207 deplibs_check_method=$lt_deplibs_check_method
22209 # Command to use when deplibs_check_method = "file_magic".
22210 file_magic_cmd=$lt_file_magic_cmd
22212 # How to find potential files when deplibs_check_method = "file_magic".
22213 file_magic_glob=$lt_file_magic_glob
22215 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22216 want_nocaseglob=$lt_want_nocaseglob
22218 # Command to associate shared and link libraries.
22219 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22224 # Flags to create an archive (by configure).
22225 lt_ar_flags=$lt_ar_flags
22227 # Flags to create an archive.
22228 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
22230 # How to feed a file listing to the archiver.
22231 archiver_list_spec=$lt_archiver_list_spec
22233 # A symbol stripping program.
22236 # Commands used to install an old-style archive.
22238 old_postinstall_cmds=$lt_old_postinstall_cmds
22239 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22241 # Whether to use a lock for old archive extraction.
22242 lock_old_archive_extraction=$lock_old_archive_extraction
22247 # LTCC compiler flags.
22248 LTCFLAGS=$lt_CFLAGS
22250 # Take the output of nm and produce a listing of raw symbols and C names.
22251 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22253 # Transform the output of nm in a proper C declaration.
22254 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22256 # Transform the output of nm into a list of symbols to manually relocate.
22257 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
22259 # Transform the output of nm in a C name address pair.
22260 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22262 # Transform the output of nm in a C name address pair when lib prefix is needed.
22263 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22265 # The name lister interface.
22266 nm_interface=$lt_lt_cv_nm_interface
22268 # Specify filename containing input files for \$NM.
22269 nm_file_list_spec=$lt_nm_file_list_spec
22271 # The root where to search for dependent libraries,and where our libraries should be installed.
22272 lt_sysroot=$lt_sysroot
22274 # Command to truncate a binary pipe.
22275 lt_truncate_bin=$lt_lt_cv_truncate_bin
22277 # The name of the directory that contains temporary libtool files.
22280 # Used to examine libraries when file_magic_cmd begins with "file".
22281 MAGIC_CMD=$MAGIC_CMD
22283 # Must we lock files when doing compilation?
22284 need_locks=$lt_need_locks
22287 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22289 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22290 DSYMUTIL=$lt_DSYMUTIL
22292 # Tool to change global to local symbols on Mac OS X.
22295 # Tool to manipulate fat objects and archives on Mac OS X.
22298 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22301 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22302 OTOOL64=$lt_OTOOL64
22304 # Old archive suffix (normally "a").
22307 # Shared library suffix (normally ".so").
22308 shrext_cmds=$lt_shrext_cmds
22310 # The commands to extract the exported symbol list from a shared archive.
22311 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22313 # Variables whose values should be saved in libtool wrapper scripts and
22314 # restored at link time.
22315 variables_saved_for_relink=$lt_variables_saved_for_relink
22317 # Do we need the "lib" prefix for modules?
22318 need_lib_prefix=$need_lib_prefix
22320 # Do we need a version for libraries?
22321 need_version=$need_version
22323 # Library versioning type.
22324 version_type=$version_type
22326 # Shared library runtime path variable.
22327 runpath_var=$runpath_var
22329 # Shared library path variable.
22330 shlibpath_var=$shlibpath_var
22332 # Is shlibpath searched before the hard-coded library search path?
22333 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22335 # Format of library name prefix.
22336 libname_spec=$lt_libname_spec
22338 # List of archive names. First name is the real one, the rest are links.
22339 # The last name is the one that the linker finds with -lNAME
22340 library_names_spec=$lt_library_names_spec
22342 # The coded name of the library, if different from the real name.
22343 soname_spec=$lt_soname_spec
22345 # Permission mode override for installation of shared libraries.
22346 install_override_mode=$lt_install_override_mode
22348 # Command to use after installation of a shared archive.
22349 postinstall_cmds=$lt_postinstall_cmds
22351 # Command to use after uninstallation of a shared archive.
22352 postuninstall_cmds=$lt_postuninstall_cmds
22354 # Commands used to finish a libtool library installation in a directory.
22355 finish_cmds=$lt_finish_cmds
22357 # As "finish_cmds", except a single script fragment to be evaled but
22359 finish_eval=$lt_finish_eval
22361 # Whether we should hardcode library paths into libraries.
22362 hardcode_into_libs=$hardcode_into_libs
22364 # Compile-time system search path for libraries.
22365 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22367 # Detected run-time system search path for libraries.
22368 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
22370 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
22371 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
22373 # Whether dlopen is supported.
22374 dlopen_support=$enable_dlopen
22376 # Whether dlopen of programs is supported.
22377 dlopen_self=$enable_dlopen_self
22379 # Whether dlopen of statically linked programs is supported.
22380 dlopen_self_static=$enable_dlopen_self_static
22382 # Commands to strip libraries.
22383 old_striplib=$lt_old_striplib
22384 striplib=$lt_striplib
22387 # The linker used to build libraries.
22390 # How to create reloadable object files.
22391 reload_flag=$lt_reload_flag
22392 reload_cmds=$lt_reload_cmds
22394 # Commands used to build an old-style archive.
22395 old_archive_cmds=$lt_old_archive_cmds
22397 # A language specific compiler.
22400 # Is the compiler the GNU compiler?
22403 # Compiler flag to turn off builtin functions.
22404 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22406 # Additional compiler flags for building library objects.
22407 pic_flag=$lt_lt_prog_compiler_pic
22409 # How to pass a linker flag through the compiler.
22410 wl=$lt_lt_prog_compiler_wl
22412 # Compiler flag to prevent dynamic linking.
22413 link_static_flag=$lt_lt_prog_compiler_static
22415 # Does compiler simultaneously support -c and -o options?
22416 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22418 # Whether or not to add -lc for building shared libraries.
22419 build_libtool_need_lc=$archive_cmds_need_lc
22421 # Whether or not to disallow shared libs when runtime libs are static.
22422 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22424 # Compiler flag to allow reflexive dlopens.
22425 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22427 # Compiler flag to generate shared objects directly from archives.
22428 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22430 # Whether the compiler copes with passing no objects directly.
22431 compiler_needs_object=$lt_compiler_needs_object
22433 # Create an old-style archive from a shared archive.
22434 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22436 # Create a temporary old-style archive to link instead of a shared archive.
22437 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22439 # Commands used to build a shared archive.
22440 archive_cmds=$lt_archive_cmds
22441 archive_expsym_cmds=$lt_archive_expsym_cmds
22443 # Commands used to build a loadable module if different from building
22444 # a shared archive.
22445 module_cmds=$lt_module_cmds
22446 module_expsym_cmds=$lt_module_expsym_cmds
22448 # Whether we are building with GNU ld or not.
22449 with_gnu_ld=$lt_with_gnu_ld
22451 # Flag that allows shared libraries with undefined symbols to be built.
22452 allow_undefined_flag=$lt_allow_undefined_flag
22454 # Flag that enforces no undefined symbols.
22455 no_undefined_flag=$lt_no_undefined_flag
22457 # Flag to hardcode \$libdir into a binary during linking.
22458 # This must work even if \$libdir does not exist
22459 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22461 # Whether we need a single "-rpath" flag with a separated argument.
22462 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22464 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22465 # DIR into the resulting binary.
22466 hardcode_direct=$hardcode_direct
22468 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22469 # DIR into the resulting binary and the resulting library dependency is
22470 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
22471 # library is relocated.
22472 hardcode_direct_absolute=$hardcode_direct_absolute
22474 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22475 # into the resulting binary.
22476 hardcode_minus_L=$hardcode_minus_L
22478 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22479 # into the resulting binary.
22480 hardcode_shlibpath_var=$hardcode_shlibpath_var
22482 # Set to "yes" if building a shared library automatically hardcodes DIR
22483 # into the library and all subsequent libraries and executables linked
22485 hardcode_automatic=$hardcode_automatic
22487 # Set to yes if linker adds runtime paths of dependent libraries
22488 # to runtime path list.
22489 inherit_rpath=$inherit_rpath
22491 # Whether libtool must link a program against all its dependency libraries.
22492 link_all_deplibs=$link_all_deplibs
22494 # Set to "yes" if exported symbols are required.
22495 always_export_symbols=$always_export_symbols
22497 # The commands to list exported symbols.
22498 export_symbols_cmds=$lt_export_symbols_cmds
22500 # Symbols that should not be listed in the preloaded symbols.
22501 exclude_expsyms=$lt_exclude_expsyms
22503 # Symbols that must always be exported.
22504 include_expsyms=$lt_include_expsyms
22506 # Commands necessary for linking programs (against libraries) with templates.
22507 prelink_cmds=$lt_prelink_cmds
22509 # Commands necessary for finishing linking programs.
22510 postlink_cmds=$lt_postlink_cmds
22512 # Specify filename containing input files.
22513 file_list_spec=$lt_file_list_spec
22515 # How to hardcode a shared library path into an executable.
22516 hardcode_action=$hardcode_action
22518 # The directories searched by this compiler when creating a shared library.
22519 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22521 # Dependencies to place before and after the objects being linked to
22522 # create a shared library.
22523 predep_objects=$lt_predep_objects
22524 postdep_objects=$lt_postdep_objects
22525 predeps=$lt_predeps
22526 postdeps=$lt_postdeps
22528 # The library search path used internally by the compiler when linking
22529 # a shared library.
22530 compiler_lib_search_path=$lt_compiler_lib_search_path
22532 # ### END LIBTOOL CONFIG
22536 cat <<'_LT_EOF' >> "$cfgfile"
22538 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
22540 # func_munge_path_list VARIABLE PATH
22541 # -----------------------------------
22542 # VARIABLE is name of variable containing _space_ separated list of
22543 # directories to be munged by the contents of PATH, which is string
22546 # string "DIR[ DIR]" will be prepended to VARIABLE
22548 # string "DIR[ DIR]" will be appended to VARIABLE
22549 # "DIRP[:DIRP]::[DIRA:]DIRA"
22550 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
22551 # "DIRA[ DIRA]" will be appended to VARIABLE
22553 # VARIABLE will be replaced by "DIR[ DIR]"
22554 func_munge_path_list ()
22560 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
22563 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
22566 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
22567 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
22570 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
22576 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
22577 func_cc_basename ()
22579 for cc_temp in $*""; do
22581 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22582 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22587 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
22591 # ### END FUNCTIONS SHARED WITH CONFIGURE
22597 cat <<\_LT_EOF
>> "$cfgfile"
22598 # AIX sometimes has problems with the GCC collect2 program. For some
22599 # reason, if we set the COLLECT_NAMES environment variable, the problems
22600 # vanish in a puff of smoke.
22601 if test set != "${COLLECT_NAMES+set}"; then
22603 export COLLECT_NAMES
22610 ltmain
=$ac_aux_dir/ltmain.sh
22613 # We use sed instead of cat because bash on DJGPP gets confused if
22614 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22615 # text mode, it properly converts lines to CR/LF. This bash problem
22616 # is reportedly fixed, but why not run on old versions too?
22617 sed '$q' "$ltmain" >> "$cfgfile" \
22618 ||
(rm -f "$cfgfile"; exit 1)
22620 mv -f "$cfgfile" "$ofile" ||
22621 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22625 cat <<_LT_EOF >> "$ofile"
22627 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22629 # The linker used to build libraries.
22632 # How to create reloadable object files.
22633 reload_flag=$lt_reload_flag_CXX
22634 reload_cmds=$lt_reload_cmds_CXX
22636 # Commands used to build an old-style archive.
22637 old_archive_cmds=$lt_old_archive_cmds_CXX
22639 # A language specific compiler.
22640 CC=$lt_compiler_CXX
22642 # Is the compiler the GNU compiler?
22645 # Compiler flag to turn off builtin functions.
22646 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22648 # Additional compiler flags for building library objects.
22649 pic_flag=$lt_lt_prog_compiler_pic_CXX
22651 # How to pass a linker flag through the compiler.
22652 wl=$lt_lt_prog_compiler_wl_CXX
22654 # Compiler flag to prevent dynamic linking.
22655 link_static_flag=$lt_lt_prog_compiler_static_CXX
22657 # Does compiler simultaneously support -c and -o options?
22658 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22660 # Whether or not to add -lc for building shared libraries.
22661 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22663 # Whether or not to disallow shared libs when runtime libs are static.
22664 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22666 # Compiler flag to allow reflexive dlopens.
22667 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22669 # Compiler flag to generate shared objects directly from archives.
22670 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22672 # Whether the compiler copes with passing no objects directly.
22673 compiler_needs_object=$lt_compiler_needs_object_CXX
22675 # Create an old-style archive from a shared archive.
22676 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22678 # Create a temporary old-style archive to link instead of a shared archive.
22679 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22681 # Commands used to build a shared archive.
22682 archive_cmds=$lt_archive_cmds_CXX
22683 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22685 # Commands used to build a loadable module if different from building
22686 # a shared archive.
22687 module_cmds=$lt_module_cmds_CXX
22688 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22690 # Whether we are building with GNU ld or not.
22691 with_gnu_ld=$lt_with_gnu_ld_CXX
22693 # Flag that allows shared libraries with undefined symbols to be built.
22694 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22696 # Flag that enforces no undefined symbols.
22697 no_undefined_flag=$lt_no_undefined_flag_CXX
22699 # Flag to hardcode \$libdir into a binary during linking.
22700 # This must work even if \$libdir does not exist
22701 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22703 # Whether we need a single "-rpath" flag with a separated argument.
22704 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22706 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22707 # DIR into the resulting binary.
22708 hardcode_direct=$hardcode_direct_CXX
22710 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22711 # DIR into the resulting binary and the resulting library dependency is
22712 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
22713 # library is relocated.
22714 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22716 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22717 # into the resulting binary.
22718 hardcode_minus_L=$hardcode_minus_L_CXX
22720 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22721 # into the resulting binary.
22722 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22724 # Set to "yes" if building a shared library automatically hardcodes DIR
22725 # into the library and all subsequent libraries and executables linked
22727 hardcode_automatic=$hardcode_automatic_CXX
22729 # Set to yes if linker adds runtime paths of dependent libraries
22730 # to runtime path list.
22731 inherit_rpath=$inherit_rpath_CXX
22733 # Whether libtool must link a program against all its dependency libraries.
22734 link_all_deplibs=$link_all_deplibs_CXX
22736 # Set to "yes" if exported symbols are required.
22737 always_export_symbols=$always_export_symbols_CXX
22739 # The commands to list exported symbols.
22740 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22742 # Symbols that should not be listed in the preloaded symbols.
22743 exclude_expsyms=$lt_exclude_expsyms_CXX
22745 # Symbols that must always be exported.
22746 include_expsyms=$lt_include_expsyms_CXX
22748 # Commands necessary for linking programs (against libraries) with templates.
22749 prelink_cmds=$lt_prelink_cmds_CXX
22751 # Commands necessary for finishing linking programs.
22752 postlink_cmds=$lt_postlink_cmds_CXX
22754 # Specify filename containing input files.
22755 file_list_spec=$lt_file_list_spec_CXX
22757 # How to hardcode a shared library path into an executable.
22758 hardcode_action=$hardcode_action_CXX
22760 # The directories searched by this compiler when creating a shared library.
22761 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22763 # Dependencies to place before and after the objects being linked to
22764 # create a shared library.
22765 predep_objects=$lt_predep_objects_CXX
22766 postdep_objects=$lt_postdep_objects_CXX
22767 predeps=$lt_predeps_CXX
22768 postdeps=$lt_postdeps_CXX
22770 # The library search path used internally by the compiler when linking
22771 # a shared library.
22772 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22774 # ### END LIBTOOL TAG CONFIG: CXX
22778 "script-chmod":C
) chmod a
+x pcre-config
;;
22779 "delete-old-chartables":C
) rm -f pcre_chartables.c
;;
22787 ac_clean_files
=$ac_clean_files_save
22789 test $ac_write_fail = 0 ||
22790 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22793 # configure is writing to config.log, and then calls config.status.
22794 # config.status does its own redirection, appending to config.log.
22795 # Unfortunately, on DOS this fails, as config.log is still kept open
22796 # by configure, so config.status won't be able to write to it; its
22797 # output is simply discarded. So we exec the FD to /dev/null,
22798 # effectively closing config.log, so it can be properly (re)opened and
22799 # appended to by config.status. When coming back to configure, we
22800 # need to make the FD available again.
22801 if test "$no_create" != yes; then
22803 ac_config_status_args
=
22804 test "$silent" = yes &&
22805 ac_config_status_args
="$ac_config_status_args --quiet"
22807 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22809 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22810 # would make configure fail if this is the last instruction.
22811 $ac_cs_success || as_fn_exit
1
22813 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22815 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22819 # Print out a nice little message after configure is run displaying the
22823 if test "$enable_ebcdic_nl25" = "yes"; then
22824 ebcdic_nl_code
=0x25
22825 elif test "$enable_ebcdic" = "yes"; then
22826 ebcdic_nl_code
=0x15
22831 $PACKAGE-$VERSION configuration summary:
22833 Install prefix .................. : ${prefix}
22834 C preprocessor .................. : ${CPP}
22835 C compiler ...................... : ${CC}
22836 C++ preprocessor ................ : ${CXXCPP}
22837 C++ compiler .................... : ${CXX}
22838 Linker .......................... : ${LD}
22839 C preprocessor flags ............ : ${CPPFLAGS}
22840 C compiler flags ................ : ${CFLAGS} ${VISIBILITY_CFLAGS}
22841 C++ compiler flags .............. : ${CXXFLAGS} ${VISIBILITY_CXXFLAGS}
22842 Linker flags .................... : ${LDFLAGS}
22843 Extra libraries ................. : ${LIBS}
22845 Build 8 bit pcre library ........ : ${enable_pcre8}
22846 Build 16 bit pcre library ....... : ${enable_pcre16}
22847 Build 32 bit pcre library ....... : ${enable_pcre32}
22848 Build C++ library ............... : ${enable_cpp}
22849 Enable JIT compiling support .... : ${enable_jit}
22850 Enable UTF-8/16/32 support ...... : ${enable_utf}
22851 Unicode properties .............. : ${enable_unicode_properties}
22852 Newline char/sequence ........... : ${enable_newline}
22853 \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}
22854 EBCDIC coding ................... : ${enable_ebcdic}
22855 EBCDIC code for NL .............. : ${ebcdic_nl_code}
22856 Rebuild char tables ............. : ${enable_rebuild_chartables}
22857 Use stack recursion ............. : ${enable_stack_for_recursion}
22858 POSIX mem threshold ............. : ${with_posix_malloc_threshold}
22859 Internal link size .............. : ${with_link_size}
22860 Nested parentheses limit ........ : ${with_parens_nest_limit}
22861 Match limit ..................... : ${with_match_limit}
22862 Match limit recursion ........... : ${with_match_limit_recursion}
22863 Build shared libs ............... : ${enable_shared}
22864 Build static libs ............... : ${enable_static}
22865 Use JIT in pcregrep ............. : ${enable_pcregrep_jit}
22866 Buffer size for pcregrep ........ : ${with_pcregrep_bufsize}
22867 Link pcregrep with libz ......... : ${enable_pcregrep_libz}
22868 Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}
22869 Link pcretest with libedit ...... : ${enable_pcretest_libedit}
22870 Link pcretest with libreadline .. : ${enable_pcretest_libreadline}
22871 Valgrind support ................ : ${enable_valgrind}
22872 Code coverage ................... : ${enable_coverage}