2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for PCRE2 10.32.
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='pcre2'
590 PACKAGE_VERSION='10.32'
591 PACKAGE_STRING='PCRE2 10.32'
595 ac_unique_file="src/pcre2.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_LIBPCRE2_POSIX_LDFLAGS
653 EXTRA_LIBPCRE2_32_LDFLAGS
654 EXTRA_LIBPCRE2_16_LDFLAGS
655 EXTRA_LIBPCRE2_8_LDFLAGS
662 WITH_FUZZ_SUPPORT_FALSE
663 WITH_FUZZ_SUPPORT_TRUE
670 WITH_REBUILD_CHARTABLES_FALSE
671 WITH_REBUILD_CHARTABLES_TRUE
680 PCRE2_HAVE_INTTYPES_H
753 INSTALL_STRIP_PROGRAM
795 program_transform_name
808 enable_option_checking
810 enable_dependency_tracking
829 enable_pcre2grep_callout
830 enable_rebuild_chartables
834 enable_newline_is_crlf
835 enable_newline_is_anycrlf
836 enable_newline_is_any
837 enable_newline_is_nul
839 enable_never_backslash_C
842 enable_pcre2grep_libz
843 enable_pcre2grep_libbz2
844 with_pcre2grep_bufsize
845 with_pcre2grep_max_bufsize
846 enable_pcre2test_libedit
847 enable_pcre2test_libreadline
849 with_parens_nest_limit
852 with_match_limit_depth
853 with_match_limit_recursion
857 enable_stack_for_recursion
859 ac_precious_vars='build_alias
878 # Initialize some variables set by options.
880 ac_init_version=false
881 ac_unrecognized_opts=
883 # The variables have the same names as the options, with
884 # dashes changed to underlines.
892 program_transform_name=s,x,x,
900 # Installation directory options.
901 # These are left unexpanded so users can "make install exec_prefix=/foo"
902 # and all the variables that are supposed to be based on exec_prefix
903 # by default will actually change.
904 # Use braces instead of parens because sh, perl, etc. also accept them.
905 # (The list follows the same order as the GNU Coding Standards.)
906 bindir='${exec_prefix}/bin'
907 sbindir='${exec_prefix}/sbin'
908 libexecdir='${exec_prefix}/libexec'
909 datarootdir='${prefix}/share'
910 datadir='${datarootdir}'
911 sysconfdir='${prefix}/etc'
912 sharedstatedir='${prefix}/com'
913 localstatedir='${prefix}/var'
914 includedir='${prefix}/include'
915 oldincludedir='/usr/include'
916 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
917 infodir='${datarootdir}/info'
922 libdir='${exec_prefix}/lib'
923 localedir='${datarootdir}/locale'
924 mandir='${datarootdir}/man'
930 # If the previous option needs an argument, assign it.
931 if test -n "$ac_prev"; then
932 eval $ac_prev=\$ac_option
938 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
943 # Accept the important Cygnus configure options, so we can diagnose typos.
945 case $ac_dashdash$ac_option in
949 -bindir | --bindir | --bindi | --bind | --bin | --bi)
951 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
954 -build | --build | --buil | --bui | --bu)
955 ac_prev=build_alias ;;
956 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
957 build_alias=$ac_optarg ;;
959 -cache-file | --cache-file | --cache-fil | --cache-fi \
960 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
961 ac_prev=cache_file ;;
962 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
963 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
964 cache_file=$ac_optarg ;;
967 cache_file=config.cache ;;
969 -datadir | --datadir | --datadi | --datad)
971 -datadir=* | --datadir=* | --datadi=* | --datad=*)
972 datadir=$ac_optarg ;;
974 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
975 | --dataroo | --dataro | --datar)
976 ac_prev=datarootdir ;;
977 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
978 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
979 datarootdir=$ac_optarg ;;
981 -disable-* | --disable-*)
982 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
985 as_fn_error $? "invalid feature name: $ac_useropt"
986 ac_useropt_orig=$ac_useropt
987 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in
992 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
993 ac_unrecognized_sep=', ';;
995 eval enable_$ac_useropt=no ;;
997 -docdir | --docdir | --docdi | --doc | --do)
999 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1000 docdir=$ac_optarg ;;
1002 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1004 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1005 dvidir=$ac_optarg ;;
1007 -enable-* | --enable-*)
1008 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011 as_fn_error $? "invalid feature name: $ac_useropt"
1012 ac_useropt_orig=$ac_useropt
1013 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014 case $ac_user_opts in
1016 "enable_$ac_useropt"
1018 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1019 ac_unrecognized_sep=', ';;
1021 eval enable_$ac_useropt=\$ac_optarg ;;
1023 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1024 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1025 | --exec | --exe | --ex)
1026 ac_prev=exec_prefix ;;
1027 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1028 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1029 | --exec=* | --exe=* | --ex=*)
1030 exec_prefix=$ac_optarg ;;
1032 -gas | --gas | --ga | --g)
1033 # Obsolete; use --with-gas.
1036 -help | --help | --hel | --he | -h)
1037 ac_init_help=long ;;
1038 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1039 ac_init_help=recursive ;;
1040 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1041 ac_init_help=short ;;
1043 -host | --host | --hos | --ho)
1044 ac_prev=host_alias ;;
1045 -host=* | --host=* | --hos=* | --ho=*)
1046 host_alias=$ac_optarg ;;
1048 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1050 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1052 htmldir=$ac_optarg ;;
1054 -includedir | --includedir | --includedi | --included | --include \
1055 | --includ | --inclu | --incl | --inc)
1056 ac_prev=includedir ;;
1057 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1058 | --includ=* | --inclu=* | --incl=* | --inc=*)
1059 includedir=$ac_optarg ;;
1061 -infodir | --infodir | --infodi | --infod | --info | --inf)
1063 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1064 infodir=$ac_optarg ;;
1066 -libdir | --libdir | --libdi | --libd)
1068 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1069 libdir=$ac_optarg ;;
1071 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1072 | --libexe | --libex | --libe)
1073 ac_prev=libexecdir ;;
1074 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1075 | --libexe=* | --libex=* | --libe=*)
1076 libexecdir=$ac_optarg ;;
1078 -localedir | --localedir | --localedi | --localed | --locale)
1079 ac_prev=localedir ;;
1080 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1081 localedir=$ac_optarg ;;
1083 -localstatedir | --localstatedir | --localstatedi | --localstated \
1084 | --localstate | --localstat | --localsta | --localst | --locals)
1085 ac_prev=localstatedir ;;
1086 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1087 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1088 localstatedir=$ac_optarg ;;
1090 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1092 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1093 mandir=$ac_optarg ;;
1095 -nfp | --nfp | --nf)
1096 # Obsolete; use --without-fp.
1099 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1100 | --no-cr | --no-c | -n)
1103 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1104 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1107 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1108 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1109 | --oldin | --oldi | --old | --ol | --o)
1110 ac_prev=oldincludedir ;;
1111 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1112 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1113 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1114 oldincludedir=$ac_optarg ;;
1116 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1118 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1119 prefix=$ac_optarg ;;
1121 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1122 | --program-pre | --program-pr | --program-p)
1123 ac_prev=program_prefix ;;
1124 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1125 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1126 program_prefix=$ac_optarg ;;
1128 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1129 | --program-suf | --program-su | --program-s)
1130 ac_prev=program_suffix ;;
1131 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1132 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1133 program_suffix=$ac_optarg ;;
1135 -program-transform-name | --program-transform-name \
1136 | --program-transform-nam | --program-transform-na \
1137 | --program-transform-n | --program-transform- \
1138 | --program-transform | --program-transfor \
1139 | --program-transfo | --program-transf \
1140 | --program-trans | --program-tran \
1141 | --progr-tra | --program-tr | --program-t)
1142 ac_prev=program_transform_name ;;
1143 -program-transform-name=* | --program-transform-name=* \
1144 | --program-transform-nam=* | --program-transform-na=* \
1145 | --program-transform-n=* | --program-transform-=* \
1146 | --program-transform=* | --program-transfor=* \
1147 | --program-transfo=* | --program-transf=* \
1148 | --program-trans=* | --program-tran=* \
1149 | --progr-tra=* | --program-tr=* | --program-t=*)
1150 program_transform_name=$ac_optarg ;;
1152 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1154 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1155 pdfdir=$ac_optarg ;;
1157 -psdir | --psdir | --psdi | --psd | --ps)
1159 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1163 | -silent | --silent | --silen | --sile | --sil)
1166 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1168 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1170 sbindir=$ac_optarg ;;
1172 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1173 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1174 | --sharedst | --shareds | --shared | --share | --shar \
1176 ac_prev=sharedstatedir ;;
1177 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1178 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1179 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1181 sharedstatedir=$ac_optarg ;;
1183 -site | --site | --sit)
1185 -site=* | --site=* | --sit=*)
1188 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1190 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1191 srcdir=$ac_optarg ;;
1193 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1194 | --syscon | --sysco | --sysc | --sys | --sy)
1195 ac_prev=sysconfdir ;;
1196 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1197 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1198 sysconfdir=$ac_optarg ;;
1200 -target | --target | --targe | --targ | --tar | --ta | --t)
1201 ac_prev=target_alias ;;
1202 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1203 target_alias=$ac_optarg ;;
1205 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1208 -version | --version | --versio | --versi | --vers | -V)
1209 ac_init_version=: ;;
1212 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1215 as_fn_error $? "invalid package name: $ac_useropt"
1216 ac_useropt_orig=$ac_useropt
1217 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1218 case $ac_user_opts in
1222 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1223 ac_unrecognized_sep=', ';;
1225 eval with_$ac_useropt=\$ac_optarg ;;
1227 -without-* | --without-*)
1228 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1231 as_fn_error $? "invalid package name: $ac_useropt"
1232 ac_useropt_orig=$ac_useropt
1233 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1234 case $ac_user_opts in
1238 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1239 ac_unrecognized_sep=', ';;
1241 eval with_$ac_useropt=no ;;
1244 # Obsolete; use --with-x.
1247 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1248 | --x-incl | --x-inc | --x-in | --x-i)
1249 ac_prev=x_includes ;;
1250 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1251 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1252 x_includes=$ac_optarg ;;
1254 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1255 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1256 ac_prev=x_libraries ;;
1257 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1258 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1259 x_libraries=$ac_optarg ;;
1261 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1262 Try \`$0 --help' for more information"
1266 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1267 # Reject names that are not valid shell variable names.
1268 case $ac_envvar in #(
1269 '' | [0-9]* | *[!_$as_cr_alnum]* )
1270 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1272 eval $ac_envvar=\$ac_optarg
1273 export $ac_envvar ;;
1276 # FIXME: should be removed in autoconf 3.0.
1277 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1278 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1279 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1280 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1286 if test -n "$ac_prev"; then
1287 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1288 as_fn_error $? "missing argument to $ac_option"
1291 if test -n "$ac_unrecognized_opts"; then
1292 case $enable_option_checking in
1294 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1295 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1299 # Check all directory arguments for consistency.
1300 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1301 datadir sysconfdir sharedstatedir localstatedir includedir \
1302 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1303 libdir localedir mandir
1305 eval ac_val=\$$ac_var
1306 # Remove trailing slashes.
1309 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1310 eval $ac_var=\$ac_val;;
1312 # Be sure to have absolute directory names.
1314 [\\/$]* | ?:[\\/]* ) continue;;
1315 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1317 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1320 # There might be people who depend on the old broken behavior: `$host'
1321 # used to hold the argument of --host etc.
1322 # FIXME: To remove some day.
1325 target=$target_alias
1327 # FIXME: To remove some day.
1328 if test "x$host_alias" != x; then
1329 if test "x$build_alias" = x; then
1330 cross_compiling=maybe
1331 elif test "x$build_alias" != "x$host_alias"; then
1337 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1339 test "$silent" = yes && exec 6>/dev/null
1342 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1343 ac_ls_di=`ls -di .` &&
1344 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1345 as_fn_error $? "working directory cannot be determined"
1346 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1347 as_fn_error $? "pwd does not report name of working directory"
1350 # Find the source files, if location was not specified.
1351 if test -z "$srcdir"; then
1352 ac_srcdir_defaulted=yes
1353 # Try the directory containing this script, then the parent directory.
1354 ac_confdir=`$as_dirname -- "$as_myself" ||
1355 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1356 X"$as_myself" : 'X\(//\)[^/]' \| \
1357 X"$as_myself" : 'X\(//\)$' \| \
1358 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1359 $as_echo X"$as_myself" |
1360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1378 if test ! -r "$srcdir/$ac_unique_file"; then
1382 ac_srcdir_defaulted=no
1384 if test ! -r "$srcdir/$ac_unique_file"; then
1385 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1386 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1388 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1390 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1392 # When building in place, set srcdir=.
1393 if test "$ac_abs_confdir" = "$ac_pwd"; then
1396 # Remove unnecessary trailing slashes from srcdir.
1397 # Double slashes in file names in object file debugging info
1398 # mess up M-x gdb in Emacs.
1400 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1402 for ac_var in $ac_precious_vars; do
1403 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1404 eval ac_env_${ac_var}_value=\$${ac_var}
1405 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1406 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1410 # Report the --help message.
1412 if test "$ac_init_help" = "long"; then
1413 # Omit some internal or obsolete options to make the list less imposing.
1414 # This message is too long to be a string in the A/UX 3.1 sh.
1416 \`configure' configures PCRE2 10.32 to adapt to many kinds of systems.
1418 Usage: $0 [OPTION]... [VAR=VALUE]...
1420 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1421 VAR=VALUE. See below for descriptions of some of the useful variables.
1423 Defaults for the options are specified in brackets.
1426 -h, --help display this help and exit
1427 --help=short display options specific to this package
1428 --help=recursive display the short help of all the included packages
1429 -V, --version display version information and exit
1430 -q, --quiet, --silent do not print \`checking ...' messages
1431 --cache-file=FILE cache test results in FILE [disabled]
1432 -C, --config-cache alias for \`--cache-file=config.cache'
1433 -n, --no-create do not create output files
1434 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1436 Installation directories:
1437 --prefix=PREFIX install architecture-independent files in PREFIX
1438 [$ac_default_prefix]
1439 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1442 By default, \`make install' will install all the files in
1443 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1444 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1445 for instance \`--prefix=\$HOME'.
1447 For better control, use the options below.
1449 Fine tuning of the installation directories:
1450 --bindir=DIR user executables [EPREFIX/bin]
1451 --sbindir=DIR system admin executables [EPREFIX/sbin]
1452 --libexecdir=DIR program executables [EPREFIX/libexec]
1453 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1454 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1455 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1456 --libdir=DIR object code libraries [EPREFIX/lib]
1457 --includedir=DIR C header files [PREFIX/include]
1458 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1459 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1460 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1461 --infodir=DIR info documentation [DATAROOTDIR/info]
1462 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1463 --mandir=DIR man documentation [DATAROOTDIR/man]
1464 --docdir=DIR documentation root [DATAROOTDIR/doc/pcre2]
1465 --htmldir=DIR html documentation [DOCDIR]
1466 --dvidir=DIR dvi documentation [DOCDIR]
1467 --pdfdir=DIR pdf documentation [DOCDIR]
1468 --psdir=DIR ps documentation [DOCDIR]
1474 --program-prefix=PREFIX prepend PREFIX to installed program names
1475 --program-suffix=SUFFIX append SUFFIX to installed program names
1476 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1479 --build=BUILD configure for building on BUILD [guessed]
1480 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1484 if test -n "$ac_init_help"; then
1485 case $ac_init_help in
1486 short | recursive ) echo "Configuration of PCRE2 10.32:";;
1491 --disable-option-checking ignore unrecognized --enable/--with options
1492 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1493 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1494 --enable-silent-rules less verbose build output (undo: "make V=1")
1495 --disable-silent-rules verbose build output (undo: "make V=0")
1496 --enable-dependency-tracking
1497 do not reject slow dependency extractors
1498 --disable-dependency-tracking
1499 speeds up one-time build
1500 --enable-shared[=PKGS] build shared libraries [default=yes]
1501 --enable-static[=PKGS] build static libraries [default=yes]
1502 --enable-fast-install[=PKGS]
1503 optimize for fast installation [default=yes]
1504 --disable-libtool-lock avoid locking (might break parallel builds)
1506 --disable-pcre2-8 disable 8 bit character support
1507 --enable-pcre2-16 enable 16 bit character support
1508 --enable-pcre2-32 enable 32 bit character support
1509 --enable-debug enable debugging code
1510 --enable-jit enable Just-In-Time compiling support
1511 --enable-jit-sealloc enable SELinux compatible execmem allocator in JIT
1512 --disable-pcre2grep-jit disable JIT support in pcre2grep
1513 --disable-pcre2grep-callout
1514 disable callout script support in pcre2grep
1515 --enable-rebuild-chartables
1516 rebuild character tables in current locale
1517 --disable-unicode disable Unicode support
1518 --enable-newline-is-cr use CR as newline character
1519 --enable-newline-is-lf use LF as newline character (default)
1520 --enable-newline-is-crlf
1521 use CRLF as newline sequence
1522 --enable-newline-is-anycrlf
1523 use CR, LF, or CRLF as newline sequence
1524 --enable-newline-is-any use any valid Unicode newline sequence
1525 --enable-newline-is-nul use NUL (binary zero) as newline character
1526 --enable-bsr-anycrlf \R matches only CR, LF, CRLF by default
1527 --enable-never-backslash-C
1528 use of \C causes an error
1529 --enable-ebcdic assume EBCDIC coding rather than ASCII; incompatible
1530 with --enable-utf; use only in (uncommon) EBCDIC
1531 environments; it implies --enable-rebuild-chartables
1532 --enable-ebcdic-nl25 set EBCDIC code for NL to 0x25 instead of 0x15; it
1533 implies --enable-ebcdic
1534 --enable-pcre2grep-libz link pcre2grep with libz to handle .gz files
1535 --enable-pcre2grep-libbz2
1536 link pcre2grep with libbz2 to handle .bz2 files
1537 --enable-pcre2test-libedit
1538 link pcre2test with libedit
1539 --enable-pcre2test-libreadline
1540 link pcre2test with libreadline
1541 --enable-valgrind enable valgrind support
1542 --enable-coverage enable code coverage reports using gcov
1543 --enable-fuzz-support enable fuzzer support
1546 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1547 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1548 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1550 --with-aix-soname=aix|svr4|both
1551 shared library versioning (aka "SONAME") variant to
1552 provide on AIX, [default=aix].
1553 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1554 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1555 compiler's sysroot if not specified).
1556 --with-pcre2grep-bufsize=N
1557 pcre2grep initial buffer size (default=20480,
1559 --with-pcre2grep-max-bufsize=N
1560 pcre2grep maximum buffer size (default=1048576,
1562 --with-link-size=N internal link size (2, 3, or 4 allowed; default=2)
1563 --with-parens-nest-limit=N
1564 nested parentheses limit (default=250)
1565 --with-heap-limit=N default limit on heap memory (kibibytes,
1567 --with-match-limit=N default limit on internal looping (default=10000000)
1568 --with-match-limit-depth=N
1569 default limit on match tree depth
1570 (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>
1583 User-defined run-time library search path.
1584 PKG_CONFIG path to pkg-config utility
1586 directories to add to pkg-config's search path
1588 path overriding pkg-config's built-in search path
1590 C compiler flags for VALGRIND, overriding pkg-config
1592 linker flags for VALGRIND, overriding pkg-config
1593 LCOV the ltp lcov program
1594 GENHTML the ltp genhtml program
1596 Use these variables to override the choices made by `configure' or to help
1597 it to find libraries and programs with nonstandard names/locations.
1599 Report bugs to the package provider.
1604 if test "$ac_init_help" = "recursive"; then
1605 # If there are subdirs, report their specific --help.
1606 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1607 test -d "$ac_dir" ||
1608 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1613 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1615 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1616 # A ".." for each directory in $ac_dir_suffix.
1617 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1618 case $ac_top_builddir_sub in
1619 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1623 ac_abs_top_builddir=$ac_pwd
1624 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1625 # for backward compatibility:
1626 ac_top_builddir=$ac_top_build_prefix
1629 .) # We are building in place.
1631 ac_top_srcdir=$ac_top_builddir_sub
1632 ac_abs_top_srcdir=$ac_pwd ;;
1633 [\\/]* | ?:[\\/]* ) # Absolute name.
1634 ac_srcdir=$srcdir$ac_dir_suffix;
1635 ac_top_srcdir=$srcdir
1636 ac_abs_top_srcdir=$srcdir ;;
1638 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1639 ac_top_srcdir=$ac_top_build_prefix$srcdir
1640 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1642 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1644 cd "$ac_dir" || { ac_status=$?; continue; }
1645 # Check for guested configure.
1646 if test -f "$ac_srcdir/configure.gnu"; then
1648 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1649 elif test -f "$ac_srcdir/configure"; then
1651 $SHELL "$ac_srcdir/configure" --help=recursive
1653 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1655 cd "$ac_pwd" || { ac_status=$?; break; }
1659 test -n "$ac_init_help" && exit $ac_status
1660 if $ac_init_version; then
1662 PCRE2 configure 10.32
1663 generated by GNU Autoconf 2.69
1665 Copyright (C) 2012 Free Software Foundation, Inc.
1666 This configure script is free software; the Free Software Foundation
1667 gives unlimited permission to copy, distribute and modify it.
1672 ## ------------------------ ##
1673 ## Autoconf initialization. ##
1674 ## ------------------------ ##
1676 # ac_fn_c_try_compile LINENO
1677 # --------------------------
1678 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1679 ac_fn_c_try_compile ()
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 rm -f conftest.$ac_objext
1683 if { { ac_try="$ac_compile"
1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_compile") 2>conftest.err
1692 if test -s conftest.err; then
1693 grep -v '^ *+' conftest.err >conftest.er1
1694 cat conftest.er1 >&5
1695 mv -f conftest.er1 conftest.err
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && {
1699 test -z "$ac_c_werror_flag" ||
1700 test ! -s conftest.err
1701 } && test -s conftest.$ac_objext; then :
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.$ac_ext >&5
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 as_fn_set_status $ac_retval
1712 } # ac_fn_c_try_compile
1714 # ac_fn_c_try_cpp LINENO
1715 # ----------------------
1716 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 if { { ac_try="$ac_cpp conftest.$ac_ext"
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } > conftest.i && {
1736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1737 test ! -s conftest.err
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status $ac_retval
1751 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1752 # -------------------------------------------------------
1753 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1754 # the include files in INCLUDES and setting the cache variable VAR
1756 ac_fn_c_check_header_mongrel ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if eval \${$3+:} false; then :
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if eval \${$3+:} false; then :
1763 $as_echo_n "(cached) " >&6
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767 $as_echo "$ac_res" >&6; }
1769 # Is the header compilable?
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1771 $as_echo_n "checking $2 usability... " >&6; }
1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1777 if ac_fn_c_try_compile "$LINENO"; then :
1778 ac_header_compiler=yes
1780 ac_header_compiler=no
1782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1784 $as_echo "$ac_header_compiler" >&6; }
1786 # Is the header present?
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1788 $as_echo_n "checking $2 presence... " >&6; }
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1793 if ac_fn_c_try_cpp "$LINENO"; then :
1794 ac_header_preproc=yes
1796 ac_header_preproc=no
1798 rm -f conftest.err conftest.i conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1800 $as_echo "$ac_header_preproc" >&6; }
1802 # So? What about this header?
1803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1806 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1808 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1812 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1814 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1816 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1818 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1820 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if eval \${$3+:} false; then :
1826 $as_echo_n "(cached) " >&6
1828 eval "$3=\$ac_header_compiler"
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 } # ac_fn_c_check_header_mongrel
1838 # ac_fn_c_try_run LINENO
1839 # ----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1841 # that executables *can* be run.
1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 if { { ac_try="$ac_link"
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>&5
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1856 { { case "(($ac_try" in
1857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1858 *) ac_try_echo=$ac_try;;
1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862 (eval "$ac_try") 2>&5
1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865 test $ac_status = 0; }; }; then :
1868 $as_echo "$as_me: program exited with status $ac_status" >&5
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1872 ac_retval=$ac_status
1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876 as_fn_set_status $ac_retval
1880 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1881 # -------------------------------------------------------
1882 # Tests whether HEADER exists and can be compiled using the include files in
1883 # INCLUDES, setting the cache variable VAR accordingly.
1884 ac_fn_c_check_header_compile ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888 $as_echo_n "checking for $2... " >&6; }
1889 if eval \${$3+:} false; then :
1890 $as_echo_n "(cached) " >&6
1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1897 if ac_fn_c_try_compile "$LINENO"; then :
1902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 } # ac_fn_c_check_header_compile
1911 # ac_fn_c_find_intX_t LINENO BITS VAR
1912 # -----------------------------------
1913 # Finds a signed integer type with width BITS, setting cache variable VAR
1915 ac_fn_c_find_intX_t ()
1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1919 $as_echo_n "checking for int$2_t... " >&6; }
1920 if eval \${$3+:} false; then :
1921 $as_echo_n "(cached) " >&6
1924 # Order is important - never check a type that is potentially smaller
1925 # than half of the expected target width.
1926 for ac_type in int$2_t 'int' 'long int' \
1927 'long long int' 'short int' 'signed char'; do
1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h. */
1930 $ac_includes_default
1931 enum { N = $2 / 2 - 1 };
1935 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1937 return test_array [0];
1943 if ac_fn_c_try_compile "$LINENO"; then :
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 $ac_includes_default
1947 enum { N = $2 / 2 - 1 };
1951 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1952 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1954 return test_array [0];
1960 if ac_fn_c_try_compile "$LINENO"; then :
1967 eval "$3=\$ac_type" ;;
1970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1973 if eval test \"x\$"$3"\" = x"no"; then :
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1982 $as_echo "$ac_res" >&6; }
1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985 } # ac_fn_c_find_intX_t
1987 # ac_fn_c_try_link LINENO
1988 # -----------------------
1989 # Try to link conftest.$ac_ext, and return whether this succeeded.
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993 rm -f conftest.$ac_objext conftest$ac_exeext
1994 if { { ac_try="$ac_link"
1996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_link") 2>conftest.err
2003 if test -s conftest.err; then
2004 grep -v '^ *+' conftest.err >conftest.er1
2005 cat conftest.er1 >&5
2006 mv -f conftest.er1 conftest.err
2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 test $ac_status = 0; } && {
2010 test -z "$ac_c_werror_flag" ||
2011 test ! -s conftest.err
2012 } && test -s conftest$ac_exeext && {
2013 test "$cross_compiling" = yes ||
2014 test -x conftest$ac_exeext
2018 $as_echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.$ac_ext >&5
2023 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2024 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2025 # interfere with the next link command; also delete a directory that is
2026 # left behind by Apple's compiler. We do this before executing the actions.
2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 as_fn_set_status $ac_retval
2031 } # ac_fn_c_try_link
2033 # ac_fn_c_check_func LINENO FUNC VAR
2034 # ----------------------------------
2035 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2036 ac_fn_c_check_func ()
2038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if eval \${$3+:} false; then :
2042 $as_echo_n "(cached) " >&6
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2046 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2048 #define $2 innocuous_$2
2050 /* System header to define __stub macros and hopefully few prototypes,
2051 which can conflict with char $2 (); below.
2052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2053 <limits.h> exists even on freestanding compilers. */
2056 # include <limits.h>
2058 # include <assert.h>
2063 /* Override any GCC internal prototype to avoid an error.
2064 Use char because int might match the return type of a GCC
2065 builtin and then its argument prototype would still apply. */
2070 /* The GNU C library defines this for functions which it implements
2071 to always fail with ENOSYS. Some functions are actually named
2072 something starting with __ and the normal name is an alias. */
2073 #if defined __stub_$2 || defined __stub___$2
2085 if ac_fn_c_try_link "$LINENO"; then :
2090 rm -f core conftest.err conftest.$ac_objext \
2091 conftest$ac_exeext conftest.$ac_ext
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 } # ac_fn_c_check_func
2100 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2101 # -------------------------------------------
2102 # Tests whether TYPE exists after having included INCLUDES, setting cache
2103 # variable VAR accordingly.
2104 ac_fn_c_check_type ()
2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2108 $as_echo_n "checking for $2... " >&6; }
2109 if eval \${$3+:} false; then :
2110 $as_echo_n "(cached) " >&6
2113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2114 /* end confdefs.h. */
2125 if ac_fn_c_try_compile "$LINENO"; then :
2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */
2138 if ac_fn_c_try_compile "$LINENO"; then :
2143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2149 $as_echo "$ac_res" >&6; }
2150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2152 } # ac_fn_c_check_type
2153 cat >config.log <<_ACEOF
2154 This file contains any messages produced by compilers while
2155 running configure, to aid debugging if configure makes a mistake.
2157 It was created by PCRE2 $as_me 10.32, which was
2158 generated by GNU Autoconf 2.69. Invocation command line was
2170 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2171 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2172 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2173 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2174 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2176 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2177 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2179 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2180 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2181 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2182 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2183 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2184 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2185 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir=.
2194 $as_echo "PATH: $as_dir"
2210 # Keep a trace of the command line.
2211 # Strip out --no-create and --no-recursion so they do not pile up.
2212 # Strip out --silent because we don't want to record it for future runs.
2213 # Also quote any args containing shell meta-characters.
2214 # Make two passes to allow for proper duplicate-argument suppression.
2218 ac_must_keep_next=false
2224 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2226 | -silent | --silent | --silen | --sile | --sil)
2229 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2232 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2234 as_fn_append ac_configure_args1 " '$ac_arg'"
2235 if test $ac_must_keep_next = true; then
2236 ac_must_keep_next=false # Got value, back to normal.
2239 *=* | --config-cache | -C | -disable-* | --disable-* \
2240 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2241 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2242 | -with-* | --with-* | -without-* | --without-* | --x)
2243 case "$ac_configure_args0 " in
2244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2247 -* ) ac_must_keep_next=true ;;
2250 as_fn_append ac_configure_args " '$ac_arg'"
2255 { ac_configure_args0=; unset ac_configure_args0;}
2256 { ac_configure_args1=; unset ac_configure_args1;}
2258 # When interrupted or exit'd, cleanup temporary files, and complete
2259 # config.log. We remove comments because anyway the quotes in there
2260 # would cause problems or look ugly.
2261 # WARNING: Use '\'' to represent an apostrophe within the trap.
2262 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2263 trap 'exit_status=$?
2264 # Save into config.log some information that might help in debugging.
2268 $as_echo "## ---------------- ##
2269 ## Cache variables. ##
2270 ## ---------------- ##"
2272 # The following way of writing the cache mishandles newlines in values,
2274 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2275 eval ac_val=\$$ac_var
2279 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2280 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2283 _ | IFS | as_nl) ;; #(
2284 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2285 *) { eval $ac_var=; unset $ac_var;} ;;
2290 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2291 *${as_nl}ac_space=\ *)
2293 "s/'\''/'\''\\\\'\'''\''/g;
2294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2297 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2304 $as_echo "## ----------------- ##
2305 ## Output variables. ##
2306 ## ----------------- ##"
2308 for ac_var in $ac_subst_vars
2310 eval ac_val=\$$ac_var
2312 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2314 $as_echo "$ac_var='\''$ac_val'\''"
2318 if test -n "$ac_subst_files"; then
2319 $as_echo "## ------------------- ##
2320 ## File substitutions. ##
2321 ## ------------------- ##"
2323 for ac_var in $ac_subst_files
2325 eval ac_val=\$$ac_var
2327 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2329 $as_echo "$ac_var='\''$ac_val'\''"
2334 if test -s confdefs.h; then
2335 $as_echo "## ----------- ##
2342 test "$ac_signal" != 0 &&
2343 $as_echo "$as_me: caught signal $ac_signal"
2344 $as_echo "$as_me: exit $exit_status"
2346 rm -f core *.core core.conftest.* &&
2347 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2350 for ac_signal in 1 2 13 15; do
2351 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2355 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2356 rm -f -r conftest* confdefs.h
2358 $as_echo "/* confdefs.h */" > confdefs.h
2360 # Predefined preprocessor variables.
2362 cat >>confdefs.h <<_ACEOF
2363 #define PACKAGE_NAME "$PACKAGE_NAME"
2366 cat >>confdefs.h <<_ACEOF
2367 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2370 cat >>confdefs.h <<_ACEOF
2371 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2374 cat >>confdefs.h <<_ACEOF
2375 #define PACKAGE_STRING "$PACKAGE_STRING"
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2382 cat >>confdefs.h <<_ACEOF
2383 #define PACKAGE_URL "$PACKAGE_URL"
2387 # Let the site file select an alternate cache file if it wants to.
2388 # Prefer an explicitly selected file to automatically selected ones.
2391 if test -n "$CONFIG_SITE"; then
2392 # We do not want a PATH search for config.site.
2393 case $CONFIG_SITE in #((
2394 -*) ac_site_file1=./$CONFIG_SITE;;
2395 */*) ac_site_file1=$CONFIG_SITE;;
2396 *) ac_site_file1=./$CONFIG_SITE;;
2398 elif test "x$prefix" != xNONE; then
2399 ac_site_file1=$prefix/share/config.site
2400 ac_site_file2=$prefix/etc/config.site
2402 ac_site_file1=$ac_default_prefix/share/config.site
2403 ac_site_file2=$ac_default_prefix/etc/config.site
2405 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2407 test "x$ac_site_file" = xNONE && continue
2408 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2410 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2411 sed 's/^/| /' "$ac_site_file" >&5
2413 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2415 as_fn_error $? "failed to load site script $ac_site_file
2416 See \`config.log' for more details" "$LINENO" 5; }
2420 if test -r "$cache_file"; then
2421 # Some versions of bash will fail to source /dev/null (special files
2422 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2423 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2425 $as_echo "$as_me: loading cache $cache_file" >&6;}
2427 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2428 *) . "./$cache_file";;
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2433 $as_echo "$as_me: creating cache $cache_file" >&6;}
2437 # Check that the precious variables saved in the cache have kept the same
2439 ac_cache_corrupted=false
2440 for ac_var in $ac_precious_vars; do
2441 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2442 eval ac_new_set=\$ac_env_${ac_var}_set
2443 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2444 eval ac_new_val=\$ac_env_${ac_var}_value
2445 case $ac_old_set,$ac_new_set in
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2448 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2449 ac_cache_corrupted=: ;;
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2452 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2453 ac_cache_corrupted=: ;;
2456 if test "x$ac_old_val" != "x$ac_new_val"; then
2457 # differences in whitespace do not lead to failure.
2458 ac_old_val_w=`echo x $ac_old_val`
2459 ac_new_val_w=`echo x $ac_new_val`
2460 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2462 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2463 ac_cache_corrupted=:
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2466 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2467 eval $ac_var=\$ac_old_val
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2470 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2472 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2475 # Pass precious variables to config.status.
2476 if test "$ac_new_set" = set; then
2478 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2479 *) ac_arg=$ac_var=$ac_new_val ;;
2481 case " $ac_configure_args " in
2482 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2483 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2487 if $ac_cache_corrupted; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2491 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2492 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2494 ## -------------------- ##
2495 ## Main body of script. ##
2496 ## -------------------- ##
2499 ac_cpp='$CPP $CPPFLAGS'
2500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2506 am__api_version='1.15'
2509 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2510 if test -f "$ac_dir/install-sh"; then
2512 ac_install_sh="$ac_aux_dir/install-sh -c"
2514 elif test -f "$ac_dir/install.sh"; then
2516 ac_install_sh="$ac_aux_dir/install.sh -c"
2518 elif test -f "$ac_dir/shtool"; then
2520 ac_install_sh="$ac_aux_dir/shtool install -c"
2524 if test -z "$ac_aux_dir"; then
2525 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2528 # These three variables are undocumented and unsupported,
2529 # and are intended to be withdrawn in a future Autoconf release.
2530 # They can cause serious problems if a builder's source tree is in a directory
2531 # whose full name contains unusual characters.
2532 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2533 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2534 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2537 # Find a good install program. We prefer a C program (faster),
2538 # so one script is as good as another. But avoid the broken or
2539 # incompatible versions:
2540 # SysV /etc/install, /usr/sbin/install
2541 # SunOS /usr/etc/install
2542 # IRIX /sbin/install
2544 # AmigaOS /C/install, which installs bootblocks on floppy discs
2545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2548 # OS/2's system install, which has a completely different semantic
2549 # ./install, which can be erroneously created by make from ./install.sh.
2550 # Reject install programs that cannot install multiple files.
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2552 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2553 if test -z "$INSTALL"; then
2554 if ${ac_cv_path_install+:} false; then :
2555 $as_echo_n "(cached) " >&6
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 # Account for people who put trailing slashes in PATH elements.
2563 case $as_dir/ in #((
2564 ./ | .// | /[cC]/* | \
2565 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2566 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2569 # OSF1 and SCO ODT 3.0 have their own names for install.
2570 # Don't use installbsd from OSF since it installs stuff as root
2572 for ac_prog in ginstall scoinst install; do
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2575 if test $ac_prog = install &&
2576 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2577 # AIX install. It has an incompatible calling convention.
2579 elif test $ac_prog = install &&
2580 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2581 # program-specific install script used by HP pwplus--don't use.
2584 rm -rf conftest.one conftest.two conftest.dir
2585 echo one > conftest.one
2586 echo two > conftest.two
2588 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2589 test -s conftest.one && test -s conftest.two &&
2590 test -s conftest.dir/conftest.one &&
2591 test -s conftest.dir/conftest.two
2593 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2606 rm -rf conftest.one conftest.two conftest.dir
2609 if test "${ac_cv_path_install+set}" = set; then
2610 INSTALL=$ac_cv_path_install
2612 # As a last resort, use the slow shell script. Don't cache a
2613 # value for INSTALL within a source directory, because that will
2614 # break other packages using the cache if that directory is
2615 # removed, or if the value is a relative name.
2616 INSTALL=$ac_install_sh
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2620 $as_echo "$INSTALL" >&6; }
2622 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2623 # It thinks the first close brace ends the variable substitution.
2624 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2626 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2628 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2631 $as_echo_n "checking whether build environment is sane... " >&6; }
2632 # Reject unsafe characters in $srcdir or the absolute working directory
2633 # name. Accept space and tab only in the latter.
2637 *[\\\"\#\$\&\'\`$am_lf]*)
2638 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2641 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2642 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2645 # Do 'set' in a subshell so we don't clobber the current shell's
2646 # arguments. Must try -L first in case configure is actually a
2647 # symlink; some systems play weird games with the mod time of symlinks
2648 # (eg FreeBSD returns the mod time of the symlink's containing
2652 for am_try in 1 2; do
2653 echo "timestamp, slept: $am_has_slept" > conftest.file
2654 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2655 if test "$*" = "X"; then
2657 set X `ls -t "$srcdir/configure" conftest.file`
2659 if test "$*" != "X $srcdir/configure conftest.file" \
2660 && test "$*" != "X conftest.file $srcdir/configure"; then
2662 # If neither matched, then we have a broken ls. This can happen
2663 # if, for instance, CONFIG_SHELL is bash and it inherits a
2664 # broken ls alias from the environment. This has actually
2665 # happened. Such a system could not be considered "sane".
2666 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2667 alias in your environment" "$LINENO" 5
2669 if test "$2" = conftest.file || test $am_try -eq 2; then
2676 test "$2" = conftest.file
2682 as_fn_error $? "newly created file is older than distributed files!
2683 Check your system clock" "$LINENO" 5
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2686 $as_echo "yes" >&6; }
2687 # If we didn't sleep, we still need to ensure time stamps of config.status and
2688 # generated files are strictly newer.
2690 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2697 test "$program_prefix" != NONE &&
2698 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2699 # Use a double $ so make ignores it.
2700 test "$program_suffix" != NONE &&
2701 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2702 # Double any \ or $.
2703 # By default was `s,x,x', remove it if useless.
2704 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2705 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2707 # Expand $ac_aux_dir to an absolute path.
2708 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2710 if test x"${MISSING+set}" != xset; then
2713 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2715 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2718 # Use eval to expand $SHELL
2719 if eval "$MISSING --is-lightweight"; then
2720 am_missing_run="$MISSING "
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2724 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2727 if test x"${install_sh+set}" != xset; then
2730 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2732 install_sh="\${SHELL} $am_aux_dir/install-sh"
2736 # Installed binaries are usually stripped using 'strip' when the user
2737 # run "make install-strip". However 'strip' might not be the right
2738 # tool to use in cross-compilation environments, therefore Automake
2739 # will honor the 'STRIP' environment variable to overrule this program.
2740 if test "$cross_compiling" != no; then
2741 if test -n "$ac_tool_prefix"; then
2742 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2743 set dummy ${ac_tool_prefix}strip; ac_word=$2
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if ${ac_cv_prog_STRIP+:} false; then :
2747 $as_echo_n "(cached) " >&6
2749 if test -n "$STRIP"; then
2750 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir=.
2757 for ac_exec_ext in '' $ac_executable_extensions; do
2758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2759 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 STRIP=$ac_cv_prog_STRIP
2770 if test -n "$STRIP"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2772 $as_echo "$STRIP" >&6; }
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775 $as_echo "no" >&6; }
2780 if test -z "$ac_cv_prog_STRIP"; then
2782 # Extract the first word of "strip", so it can be a program name with args.
2783 set dummy strip; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$ac_ct_STRIP"; then
2790 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2799 ac_cv_prog_ac_ct_STRIP="strip"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2810 if test -n "$ac_ct_STRIP"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2812 $as_echo "$ac_ct_STRIP" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2818 if test "x$ac_ct_STRIP" = x; then
2821 case $cross_compiling:$ac_tool_warned in
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2825 ac_tool_warned=yes ;;
2830 STRIP="$ac_cv_prog_STRIP"
2834 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2837 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2838 if test -z "$MKDIR_P"; then
2839 if ${ac_cv_path_mkdir+:} false; then :
2840 $as_echo_n "(cached) " >&6
2842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2843 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2846 test -z "$as_dir" && as_dir=.
2847 for ac_prog in mkdir gmkdir; do
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2850 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2851 'mkdir (GNU coreutils) '* | \
2852 'mkdir (coreutils) '* | \
2853 'mkdir (fileutils) '4.1*)
2854 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2864 test -d ./--version && rmdir ./--version
2865 if test "${ac_cv_path_mkdir+set}" = set; then
2866 MKDIR_P="$ac_cv_path_mkdir -p"
2868 # As a last resort, use the slow shell script. Don't cache a
2869 # value for MKDIR_P within a source directory, because that will
2870 # break other packages using the cache if that directory is
2871 # removed, or if the value is a relative name.
2872 MKDIR_P="$ac_install_sh -d"
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2876 $as_echo "$MKDIR_P" >&6; }
2878 for ac_prog in gawk mawk nawk awk
2880 # Extract the first word of "$ac_prog", so it can be a program name with args.
2881 set dummy $ac_prog; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_AWK+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$AWK"; then
2888 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897 ac_cv_prog_AWK="$ac_prog"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 if test -n "$AWK"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2910 $as_echo "$AWK" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2917 test -n "$AWK" && break
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2921 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2923 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2924 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2925 $as_echo_n "(cached) " >&6
2927 cat >conftest.make <<\_ACEOF
2930 @echo '@@@%%%=$(MAKE)=@@@%%%'
2932 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2933 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2935 eval ac_cv_prog_make_${ac_make}_set=yes;;
2937 eval ac_cv_prog_make_${ac_make}_set=no;;
2941 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2943 $as_echo "yes" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2948 SET_MAKE="MAKE=${MAKE-make}"
2951 rm -rf .tst 2>/dev/null
2952 mkdir .tst 2>/dev/null
2953 if test -d .tst; then
2958 rmdir .tst 2>/dev/null
2960 # Check whether --enable-silent-rules was given.
2961 if test "${enable_silent_rules+set}" = set; then :
2962 enableval=$enable_silent_rules;
2965 case $enable_silent_rules in # (((
2966 yes) AM_DEFAULT_VERBOSITY=0;;
2967 no) AM_DEFAULT_VERBOSITY=1;;
2968 *) AM_DEFAULT_VERBOSITY=1;;
2970 am_make=${MAKE-make}
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2972 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2973 if ${am_cv_make_support_nested_variables+:} false; then :
2974 $as_echo_n "(cached) " >&6
2976 if $as_echo 'TRUE=$(BAR$(V))
2982 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2983 am_cv_make_support_nested_variables=yes
2985 am_cv_make_support_nested_variables=no
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2989 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2990 if test $am_cv_make_support_nested_variables = yes; then
2992 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2994 AM_V=$AM_DEFAULT_VERBOSITY
2995 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2999 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3000 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3001 # is not polluted with repeated "-I."
3002 am__isrc=' -I$(srcdir)'
3003 # test to see if srcdir already configured
3004 if test -f $srcdir/config.status; then
3005 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3009 # test whether we have cygpath
3010 if test -z "$CYGPATH_W"; then
3011 if (cygpath --version) >/dev/null 2>/dev/null; then
3012 CYGPATH_W='cygpath -w'
3019 # Define the identity of the package.
3024 cat >>confdefs.h <<_ACEOF
3025 #define PACKAGE "$PACKAGE"
3029 cat >>confdefs.h <<_ACEOF
3030 #define VERSION "$VERSION"
3033 # Some tools Automake needs.
3035 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3038 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3041 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3044 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3047 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3049 # For better backward compatibility. To be removed once Automake 1.9.x
3050 # dies out for good. For more background, see:
3051 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3052 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3053 mkdir_p='$(MKDIR_P)'
3055 # We need awk for the "check" target (and possibly the TAP driver). The
3056 # system "awk" is bad on some platforms.
3057 # Always define AMTAR for backward compatibility. Yes, it's still used
3058 # in the wild :-( We should find a proper way to deprecate it ...
3062 # We'll loop over all known methods to create a tar archive until one works.
3063 _am_tools='gnutar pax cpio none'
3065 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3072 # POSIX will say in a future version that running "rm -f" with no argument
3073 # is OK; and we want to be able to make that assumption in our Makefile
3074 # recipes. So use an aggressive probe to check that the usage we want is
3075 # actually supported "in the wild" to an acceptable degree.
3076 # See automake bug#10828.
3077 # To make any issue more visible, cause the running configure to be aborted
3078 # by default if the 'rm' program in use doesn't match our expectations; the
3079 # user can still override this though.
3080 if rm -f && rm -fr && rm -rf; then : OK; else
3084 Your 'rm' program seems unable to run without file operands specified
3085 on the command line, even when the '-f' option is present. This is contrary
3086 to the behaviour of most rm programs out there, and not conforming with
3087 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3089 Please tell bug-automake@gnu.org about your system, including the value
3090 of your $PATH and any error possibly output before this message. This
3091 can help us improve future automake versions.
3094 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3095 echo 'Configuration will proceed anyway, since you have set the' >&2
3096 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3100 Aborting the configuration process, to ensure you take notice of the issue.
3102 You can download and install GNU coreutils to get an 'rm' implementation
3103 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3105 If you want to complete the configuration process using your problematic
3106 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3107 to "yes", and re-run configure.
3110 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3114 # Check whether --enable-silent-rules was given.
3115 if test "${enable_silent_rules+set}" = set; then :
3116 enableval=$enable_silent_rules;
3119 case $enable_silent_rules in # (((
3120 yes) AM_DEFAULT_VERBOSITY=0;;
3121 no) AM_DEFAULT_VERBOSITY=1;;
3122 *) AM_DEFAULT_VERBOSITY=0;;
3124 am_make=${MAKE-make}
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3126 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3127 if ${am_cv_make_support_nested_variables+:} false; then :
3128 $as_echo_n "(cached) " >&6
3130 if $as_echo 'TRUE=$(BAR$(V))
3136 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3137 am_cv_make_support_nested_variables=yes
3139 am_cv_make_support_nested_variables=no
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3143 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3144 if test $am_cv_make_support_nested_variables = yes; then
3146 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3148 AM_V=$AM_DEFAULT_VERBOSITY
3149 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3153 ac_config_headers="$ac_config_headers src/config.h"
3156 # This was added at the suggestion of libtoolize (03-Jan-10)
3159 # The default CFLAGS in Autoconf are "-g -O2" for gcc and just "-g" for any
3160 # other compiler. There doesn't seem to be a standard way of getting rid of the
3161 # -g (which I don't think is needed for a production library). This fudge seems
3162 # to achieve the necessary. First, we remember the externally set values of
3163 # CFLAGS. Then call the AC_PROG_CC macro to find the compiler - if CFLAGS is
3164 # not set, it will be set to Autoconf's defaults. Afterwards, if the original
3165 # values were not set, remove the -g from the Autoconf defaults.
3167 remember_set_CFLAGS="$CFLAGS"
3170 ac_cpp='$CPP $CPPFLAGS'
3171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3174 if test -n "$ac_tool_prefix"; then
3175 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3176 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if ${ac_cv_prog_CC+:} false; then :
3180 $as_echo_n "(cached) " >&6
3182 if test -n "$CC"; then
3183 ac_cv_prog_CC="$CC" # Let the user override the test.
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir=.
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3192 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 if test -n "$CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3205 $as_echo "$CC" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3213 if test -z "$ac_cv_prog_CC"; then
3215 # Extract the first word of "gcc", so it can be a program name with args.
3216 set dummy gcc; ac_word=$2
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218 $as_echo_n "checking for $ac_word... " >&6; }
3219 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3220 $as_echo_n "(cached) " >&6
3222 if test -n "$ac_ct_CC"; then
3223 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir=.
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3232 ac_cv_prog_ac_ct_CC="gcc"
3233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3243 if test -n "$ac_ct_CC"; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3245 $as_echo "$ac_ct_CC" >&6; }
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3251 if test "x$ac_ct_CC" = x; then
3254 case $cross_compiling:$ac_tool_warned in
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3258 ac_tool_warned=yes ;;
3266 if test -z "$CC"; then
3267 if test -n "$ac_tool_prefix"; then
3268 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3269 set dummy ${ac_tool_prefix}cc; ac_word=$2
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 $as_echo_n "checking for $ac_word... " >&6; }
3272 if ${ac_cv_prog_CC+:} false; then :
3273 $as_echo_n "(cached) " >&6
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC="$CC" # Let the user override the test.
3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282 test -z "$as_dir" && as_dir=.
3283 for ac_exec_ext in '' $ac_executable_extensions; do
3284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3285 ac_cv_prog_CC="${ac_tool_prefix}cc"
3286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3296 if test -n "$CC"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3298 $as_echo "$CC" >&6; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3307 if test -z "$CC"; then
3308 # Extract the first word of "cc", so it can be a program name with args.
3309 set dummy cc; ac_word=$2
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311 $as_echo_n "checking for $ac_word... " >&6; }
3312 if ${ac_cv_prog_CC+:} false; then :
3313 $as_echo_n "(cached) " >&6
3315 if test -n "$CC"; then
3316 ac_cv_prog_CC="$CC" # Let the user override the test.
3319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir=.
3324 for ac_exec_ext in '' $ac_executable_extensions; do
3325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3326 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3327 ac_prog_rejected=yes
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3338 if test $ac_prog_rejected = yes; then
3339 # We found a bogon in the path, so make sure we never use it.
3340 set dummy $ac_cv_prog_CC
3342 if test $# != 0; then
3343 # We chose a different compiler from the bogus one.
3344 # However, it has the same basename, so the bogon will be chosen
3345 # first if we set CC to just the basename; use the full file name.
3347 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3353 if test -n "$CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355 $as_echo "$CC" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3363 if test -z "$CC"; then
3364 if test -n "$ac_tool_prefix"; then
3365 for ac_prog in cl.exe
3367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3368 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 $as_echo_n "checking for $ac_word... " >&6; }
3371 if ${ac_cv_prog_CC+:} false; then :
3372 $as_echo_n "(cached) " >&6
3374 if test -n "$CC"; then
3375 ac_cv_prog_CC="$CC" # Let the user override the test.
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir=.
3382 for ac_exec_ext in '' $ac_executable_extensions; do
3383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3384 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 if test -n "$CC"; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3397 $as_echo "$CC" >&6; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3404 test -n "$CC" && break
3407 if test -z "$CC"; then
3409 for ac_prog in cl.exe
3411 # Extract the first word of "$ac_prog", so it can be a program name with args.
3412 set dummy $ac_prog; ac_word=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3416 $as_echo_n "(cached) " >&6
3418 if test -n "$ac_ct_CC"; then
3419 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 test -z "$as_dir" && as_dir=.
3426 for ac_exec_ext in '' $ac_executable_extensions; do
3427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3428 ac_cv_prog_ac_ct_CC="$ac_prog"
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3439 if test -n "$ac_ct_CC"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3441 $as_echo "$ac_ct_CC" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3448 test -n "$ac_ct_CC" && break
3451 if test "x$ac_ct_CC" = x; then
3454 case $cross_compiling:$ac_tool_warned in
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3458 ac_tool_warned=yes ;;
3467 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 as_fn_error $? "no acceptable C compiler found in \$PATH
3470 See \`config.log' for more details" "$LINENO" 5; }
3472 # Provide some information about the compiler.
3473 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3476 for ac_option in --version -v -V -qversion; do
3477 { { ac_try="$ac_compiler $ac_option >&5"
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3486 if test -s conftest.err; then
3488 ... rest of stderr output deleted ...
3489 10q' conftest.err >conftest.er1
3490 cat conftest.er1 >&5
3492 rm -f conftest.er1 conftest.err
3493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494 test $ac_status = 0; }
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3508 ac_clean_files_save=$ac_clean_files
3509 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3510 # Try to create an executable without -o first, disregard a.out.
3511 # It will help us diagnose broken compilers, and finding out an intuition
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3514 $as_echo_n "checking whether the C compiler works... " >&6; }
3515 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3517 # The possible output files:
3518 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3521 for ac_file in $ac_files
3524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3525 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3530 if { { ac_try="$ac_link_default"
3532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533 *) ac_try_echo=$ac_try;;
3535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536 $as_echo "$ac_try_echo"; } >&5
3537 (eval "$ac_link_default") 2>&5
3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540 test $ac_status = 0; }; then :
3541 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3542 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3543 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3544 # so that the user can short-circuit this test for compilers unknown to
3546 for ac_file in $ac_files ''
3548 test -f "$ac_file" || continue
3550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3553 # We found the default executable, but exeext='' is most
3557 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3559 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3561 # We set ac_cv_exeext here because the later test for it is not
3562 # safe: cross compilers may not add the suffix if given an `-o'
3563 # argument, so we may need to know it at that point already.
3564 # Even if this section looks crufty: it has the advantage of
3571 test "$ac_cv_exeext" = no && ac_cv_exeext=
3576 if test -z "$ac_file"; then :
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3579 $as_echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.$ac_ext >&5
3582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3584 as_fn_error 77 "C compiler cannot create executables
3585 See \`config.log' for more details" "$LINENO" 5; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3588 $as_echo "yes" >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3591 $as_echo_n "checking for C compiler default output file name... " >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3593 $as_echo "$ac_file" >&6; }
3594 ac_exeext=$ac_cv_exeext
3596 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3597 ac_clean_files=$ac_clean_files_save
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3599 $as_echo_n "checking for suffix of executables... " >&6; }
3600 if { { ac_try="$ac_link"
3602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603 *) ac_try_echo=$ac_try;;
3605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3606 $as_echo "$ac_try_echo"; } >&5
3607 (eval "$ac_link") 2>&5
3609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3610 test $ac_status = 0; }; then :
3611 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3612 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3613 # work properly (i.e., refer to `conftest.exe'), while it won't with
3615 for ac_file in conftest.exe conftest conftest.*; do
3616 test -f "$ac_file" || continue
3618 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3619 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3628 See \`config.log' for more details" "$LINENO" 5; }
3630 rm -f conftest conftest$ac_cv_exeext
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3632 $as_echo "$ac_cv_exeext" >&6; }
3634 rm -f conftest.$ac_ext
3635 EXEEXT=$ac_cv_exeext
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3643 FILE *f = fopen ("conftest.out", "w");
3644 return ferror (f) || fclose (f) != 0;
3650 ac_clean_files="$ac_clean_files conftest.out"
3651 # Check that the compiler produces executables we can run. If not, either
3652 # the compiler is broken, or we cross compile.
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3654 $as_echo_n "checking whether we are cross compiling... " >&6; }
3655 if test "$cross_compiling" != yes; then
3656 { { ac_try="$ac_link"
3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662 $as_echo "$ac_try_echo"; } >&5
3663 (eval "$ac_link") 2>&5
3665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3666 test $ac_status = 0; }
3667 if { ac_try='./conftest$ac_cv_exeext'
3668 { { case "(($ac_try" in
3669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3670 *) ac_try_echo=$ac_try;;
3672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3673 $as_echo "$ac_try_echo"; } >&5
3674 (eval "$ac_try") 2>&5
3676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3677 test $ac_status = 0; }; }; then
3680 if test "$cross_compiling" = maybe; then
3683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685 as_fn_error $? "cannot run C compiled programs.
3686 If you meant to cross compile, use \`--host'.
3687 See \`config.log' for more details" "$LINENO" 5; }
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3692 $as_echo "$cross_compiling" >&6; }
3694 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3695 ac_clean_files=$ac_clean_files_save
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3697 $as_echo_n "checking for suffix of object files... " >&6; }
3698 if ${ac_cv_objext+:} false; then :
3699 $as_echo_n "(cached) " >&6
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 rm -f conftest.o conftest.obj
3713 if { { ac_try="$ac_compile"
3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3719 $as_echo "$ac_try_echo"; } >&5
3720 (eval "$ac_compile") 2>&5
3722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3723 test $ac_status = 0; }; then :
3724 for ac_file in conftest.o conftest.obj conftest.*; do
3725 test -f "$ac_file" || continue;
3727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3728 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3733 $as_echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3738 as_fn_error $? "cannot compute suffix of object files: cannot compile
3739 See \`config.log' for more details" "$LINENO" 5; }
3741 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3744 $as_echo "$ac_cv_objext" >&6; }
3745 OBJEXT=$ac_cv_objext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3748 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3749 if ${ac_cv_c_compiler_gnu+:} false; then :
3750 $as_echo_n "(cached) " >&6
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3766 if ac_fn_c_try_compile "$LINENO"; then :
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3776 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3777 if test $ac_compiler_gnu = yes; then
3782 ac_test_CFLAGS=${CFLAGS+set}
3783 ac_save_CFLAGS=$CFLAGS
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3785 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3786 if ${ac_cv_prog_cc_g+:} false; then :
3787 $as_echo_n "(cached) " >&6
3789 ac_save_c_werror_flag=$ac_c_werror_flag
3790 ac_c_werror_flag=yes
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3819 if ac_fn_c_try_compile "$LINENO"; then :
3822 ac_c_werror_flag=$ac_save_c_werror_flag
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3835 if ac_fn_c_try_compile "$LINENO"; then :
3838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 ac_c_werror_flag=$ac_save_c_werror_flag
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3846 $as_echo "$ac_cv_prog_cc_g" >&6; }
3847 if test "$ac_test_CFLAGS" = set; then
3848 CFLAGS=$ac_save_CFLAGS
3849 elif test $ac_cv_prog_cc_g = yes; then
3850 if test "$GCC" = yes; then
3856 if test "$GCC" = yes; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3863 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3864 if ${ac_cv_prog_cc_c89+:} false; then :
3865 $as_echo_n "(cached) " >&6
3867 ac_cv_prog_cc_c89=no
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3875 struct buf { int x; };
3876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3877 static char *e (p, i)
3883 static char *f (char * (*g) (char **, int), char **p, ...)
3888 s = g (p, va_arg (v,int));
3893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3894 function prototypes and stuff, but not '\xHH' hex character constants.
3895 These don't provoke an error unfortunately, instead are silently treated
3896 as 'x'. The following induces an error, until -std is added to get
3897 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3898 array size at least. It's necessary to write '\x00'==0 to get something
3899 that's true only with -std. */
3900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3903 inside strings and character constants. */
3905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3907 int test (int i, double x);
3908 struct s1 {int (*f) (int a);};
3909 struct s2 {int (*f) (double a);};
3910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3924 CC="$ac_save_CC $ac_arg"
3925 if ac_fn_c_try_compile "$LINENO"; then :
3926 ac_cv_prog_cc_c89=$ac_arg
3928 rm -f core conftest.err conftest.$ac_objext
3929 test "x$ac_cv_prog_cc_c89" != "xno" && break
3931 rm -f conftest.$ac_ext
3936 case "x$ac_cv_prog_cc_c89" in
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3939 $as_echo "none needed" >&6; } ;;
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3942 $as_echo "unsupported" >&6; } ;;
3944 CC="$CC $ac_cv_prog_cc_c89"
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3946 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3948 if test "x$ac_cv_prog_cc_c89" != xno; then :
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3959 ac_cpp='$CPP $CPPFLAGS'
3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3964 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3965 if ${am_cv_prog_cc_c_o+:} false; then :
3966 $as_echo_n "(cached) " >&6
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3979 # Make sure it works both with $CC and with simple cc.
3980 # Following AC_PROG_CC_C_O, we do the test twice because some
3981 # compilers refuse to overwrite an existing .o file with -o,
3982 # though they will create one.
3983 am_cv_prog_cc_c_o=yes
3985 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3986 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); } \
3990 && test -f conftest2.$ac_objext; then
3993 am_cv_prog_cc_c_o=no
3997 rm -f core conftest*
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4001 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4002 if test "$am_cv_prog_cc_c_o" != yes; then
4003 # Losing compiler, so override with the script.
4004 # FIXME: It is wrong to rewrite CC.
4005 # But if we don't then we get into trouble of one sort or another.
4006 # A longer-term fix would be to have automake use am__CC in this case,
4007 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4008 CC="$am_aux_dir/compile $CC"
4011 ac_cpp='$CPP $CPPFLAGS'
4012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4016 DEPDIR="${am__leading_dot}deps"
4018 ac_config_commands="$ac_config_commands depfiles"
4021 am_make=${MAKE-make}
4022 cat > confinc << 'END'
4024 @echo this is the am__doit target
4027 # If we don't find an include directive, just comment out the code.
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4029 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4033 # First try GNU make style include.
4034 echo "include confinc" > confmf
4035 # Ignore all kinds of additional output from 'make'.
4036 case `$am_make -s -f confmf 2> /dev/null` in #(
4037 *the\ am__doit\ target*)
4043 # Now try BSD make style include.
4044 if test "$am__include" = "#"; then
4045 echo '.include "confinc"' > confmf
4046 case `$am_make -s -f confmf 2> /dev/null` in #(
4047 *the\ am__doit\ target*)
4048 am__include=.include
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4057 $as_echo "$_am_result" >&6; }
4058 rm -f confinc confmf
4060 # Check whether --enable-dependency-tracking was given.
4061 if test "${enable_dependency_tracking+set}" = set; then :
4062 enableval=$enable_dependency_tracking;
4065 if test "x$enable_dependency_tracking" != xno; then
4066 am_depcomp="$ac_aux_dir/depcomp"
4070 if test "x$enable_dependency_tracking" != xno; then
4080 depcc="$CC" am_compiler_list=
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4083 $as_echo_n "checking dependency style of $depcc... " >&6; }
4084 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4085 $as_echo_n "(cached) " >&6
4087 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4088 # We make a subdir and do the tests there. Otherwise we can end up
4089 # making bogus files that we don't know about and never remove. For
4090 # instance it was reported that on HP-UX the gcc test will end up
4091 # making a dummy file named 'D' -- because '-MD' means "put the output
4095 # Copy depcomp to subdir because otherwise we won't find it if we're
4096 # using a relative directory.
4097 cp "$am_depcomp" conftest.dir
4099 # We will build objects and dependencies in a subdirectory because
4100 # it helps to detect inapplicable dependency modes. For instance
4101 # both Tru64's cc and ICC support -MD to output dependencies as a
4102 # side effect of compilation, but ICC will put the dependencies in
4103 # the current directory while Tru64 will put them in the object
4107 am_cv_CC_dependencies_compiler_type=none
4108 if test "$am_compiler_list" = ""; then
4109 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4112 case " $depcc " in #(
4113 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4116 for depmode in $am_compiler_list; do
4117 # Setup a source with many dependencies, because some compilers
4118 # like to wrap large dependency lists on column 80 (with \), and
4119 # we should not choose a depcomp mode which is confused by this.
4121 # We need to recreate these files for each test, as the compiler may
4122 # overwrite some of them when testing with obscure command lines.
4123 # This happens at least with the AIX C compiler.
4125 for i in 1 2 3 4 5 6; do
4126 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4127 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4128 # Solaris 10 /bin/sh.
4129 echo '/* dummy */' > sub/conftst$i.h
4131 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4133 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4134 # mode. It turns out that the SunPro C++ compiler does not properly
4135 # handle '-M -o', and we need to detect this. Also, some Intel
4136 # versions had trouble with output in subdirs.
4137 am__obj=sub/conftest.${OBJEXT-o}
4138 am__minus_obj="-o $am__obj"
4141 # This depmode causes a compiler race in universal mode.
4142 test "$am__universal" = false || continue
4145 # After this tag, mechanisms are not by side-effect, so they'll
4146 # only be used when explicitly requested.
4147 if test "x$enable_dependency_tracking" = xyes; then
4153 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4154 # This compiler won't grok '-c -o', but also, the minuso test has
4155 # not run yet. These depmodes are late enough in the game, and
4156 # so weak that their functioning should not be impacted.
4157 am__obj=conftest.${OBJEXT-o}
4162 if depmode=$depmode \
4163 source=sub/conftest.c object=$am__obj \
4164 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4165 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4166 >/dev/null 2>conftest.err &&
4167 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4168 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4169 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4170 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4171 # icc doesn't choke on unknown options, it will just issue warnings
4172 # or remarks (even with -Werror). So we grep stderr for any message
4173 # that says an option was ignored or not supported.
4174 # When given -MP, icc 7.0 and 7.1 complain thusly:
4175 # icc: Command line warning: ignoring option '-M'; no argument required
4176 # The diagnosis changed in icc 8.0:
4177 # icc: Command line remark: option '-MP' not supported
4178 if (grep 'ignoring option' conftest.err ||
4179 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4180 am_cv_CC_dependencies_compiler_type=$depmode
4189 am_cv_CC_dependencies_compiler_type=none
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4194 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4195 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4198 test "x$enable_dependency_tracking" != xno \
4199 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4201 am__fastdepCC_FALSE='#'
4203 am__fastdepCC_TRUE='#'
4204 am__fastdepCC_FALSE=
4211 ac_cpp='$CPP $CPPFLAGS'
4212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4216 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4217 # On Suns, sometimes $CPP names a directory.
4218 if test -n "$CPP" && test -d "$CPP"; then
4221 if test -z "$CPP"; then
4222 if ${ac_cv_prog_CPP+:} false; then :
4223 $as_echo_n "(cached) " >&6
4225 # Double quotes because CPP needs to be expanded
4226 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4229 for ac_c_preproc_warn_flag in '' yes
4231 # Use a header file that comes with gcc, so configuring glibc
4232 # with a fresh cross-compiler works.
4233 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4234 # <limits.h> exists even on freestanding compilers.
4235 # On the NeXT, cc -E runs the code through the compiler's parser,
4236 # not just through cpp. "Syntax error" is here to catch this case.
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4240 # include <limits.h>
4242 # include <assert.h>
4246 if ac_fn_c_try_cpp "$LINENO"; then :
4249 # Broken: fails on valid input.
4252 rm -f conftest.err conftest.i conftest.$ac_ext
4254 # OK, works on sane cases. Now check whether nonexistent headers
4255 # can be detected and how.
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4258 #include <ac_nonexistent.h>
4260 if ac_fn_c_try_cpp "$LINENO"; then :
4261 # Broken: success on invalid input.
4264 # Passes both tests.
4268 rm -f conftest.err conftest.i conftest.$ac_ext
4271 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4272 rm -f conftest.i conftest.err conftest.$ac_ext
4273 if $ac_preproc_ok; then :
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4286 $as_echo "$CPP" >&6; }
4288 for ac_c_preproc_warn_flag in '' yes
4290 # Use a header file that comes with gcc, so configuring glibc
4291 # with a fresh cross-compiler works.
4292 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4293 # <limits.h> exists even on freestanding compilers.
4294 # On the NeXT, cc -E runs the code through the compiler's parser,
4295 # not just through cpp. "Syntax error" is here to catch this case.
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4299 # include <limits.h>
4301 # include <assert.h>
4305 if ac_fn_c_try_cpp "$LINENO"; then :
4308 # Broken: fails on valid input.
4311 rm -f conftest.err conftest.i conftest.$ac_ext
4313 # OK, works on sane cases. Now check whether nonexistent headers
4314 # can be detected and how.
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4317 #include <ac_nonexistent.h>
4319 if ac_fn_c_try_cpp "$LINENO"; then :
4320 # Broken: success on invalid input.
4323 # Passes both tests.
4327 rm -f conftest.err conftest.i conftest.$ac_ext
4330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4331 rm -f conftest.i conftest.err conftest.$ac_ext
4332 if $ac_preproc_ok; then :
4335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4337 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4338 See \`config.log' for more details" "$LINENO" 5; }
4342 ac_cpp='$CPP $CPPFLAGS'
4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4349 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4350 if ${ac_cv_path_GREP+:} false; then :
4351 $as_echo_n "(cached) " >&6
4353 if test -z "$GREP"; then
4354 ac_path_GREP_found=false
4355 # Loop through the user's path and test for each of PROGNAME-LIST
4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4360 test -z "$as_dir" && as_dir=.
4361 for ac_prog in grep ggrep; do
4362 for ac_exec_ext in '' $ac_executable_extensions; do
4363 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4364 as_fn_executable_p "$ac_path_GREP" || continue
4365 # Check for GNU ac_path_GREP and select it if it is found.
4366 # Check for GNU $ac_path_GREP
4367 case `"$ac_path_GREP" --version 2>&1` in
4369 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4372 $as_echo_n 0123456789 >"conftest.in"
4375 cat "conftest.in" "conftest.in" >"conftest.tmp"
4376 mv "conftest.tmp" "conftest.in"
4377 cp "conftest.in" "conftest.nl"
4378 $as_echo 'GREP' >> "conftest.nl"
4379 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4380 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4381 as_fn_arith $ac_count + 1 && ac_count=$as_val
4382 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4383 # Best one so far, save it but keep looking for a better one
4384 ac_cv_path_GREP="$ac_path_GREP"
4385 ac_path_GREP_max=$ac_count
4387 # 10*(2^10) chars as input seems more than enough
4388 test $ac_count -gt 10 && break
4390 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4393 $ac_path_GREP_found && break 3
4398 if test -z "$ac_cv_path_GREP"; then
4399 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4402 ac_cv_path_GREP=$GREP
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4407 $as_echo "$ac_cv_path_GREP" >&6; }
4408 GREP="$ac_cv_path_GREP"
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4412 $as_echo_n "checking for egrep... " >&6; }
4413 if ${ac_cv_path_EGREP+:} false; then :
4414 $as_echo_n "(cached) " >&6
4416 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4417 then ac_cv_path_EGREP="$GREP -E"
4419 if test -z "$EGREP"; then
4420 ac_path_EGREP_found=false
4421 # Loop through the user's path and test for each of PROGNAME-LIST
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4426 test -z "$as_dir" && as_dir=.
4427 for ac_prog in egrep; do
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4430 as_fn_executable_p "$ac_path_EGREP" || continue
4431 # Check for GNU ac_path_EGREP and select it if it is found.
4432 # Check for GNU $ac_path_EGREP
4433 case `"$ac_path_EGREP" --version 2>&1` in
4435 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4438 $as_echo_n 0123456789 >"conftest.in"
4441 cat "conftest.in" "conftest.in" >"conftest.tmp"
4442 mv "conftest.tmp" "conftest.in"
4443 cp "conftest.in" "conftest.nl"
4444 $as_echo 'EGREP' >> "conftest.nl"
4445 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4446 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4447 as_fn_arith $ac_count + 1 && ac_count=$as_val
4448 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4449 # Best one so far, save it but keep looking for a better one
4450 ac_cv_path_EGREP="$ac_path_EGREP"
4451 ac_path_EGREP_max=$ac_count
4453 # 10*(2^10) chars as input seems more than enough
4454 test $ac_count -gt 10 && break
4456 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4459 $ac_path_EGREP_found && break 3
4464 if test -z "$ac_cv_path_EGREP"; then
4465 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4468 ac_cv_path_EGREP=$EGREP
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4474 $as_echo "$ac_cv_path_EGREP" >&6; }
4475 EGREP="$ac_cv_path_EGREP"
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4479 $as_echo_n "checking for ANSI C header files... " >&6; }
4480 if ${ac_cv_header_stdc+:} false; then :
4481 $as_echo_n "(cached) " >&6
4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4498 if ac_fn_c_try_compile "$LINENO"; then :
4499 ac_cv_header_stdc=yes
4501 ac_cv_header_stdc=no
4503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505 if test $ac_cv_header_stdc = yes; then
4506 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4513 $EGREP "memchr" >/dev/null 2>&1; then :
4516 ac_cv_header_stdc=no
4522 if test $ac_cv_header_stdc = yes; then
4523 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4530 $EGREP "free" >/dev/null 2>&1; then :
4533 ac_cv_header_stdc=no
4539 if test $ac_cv_header_stdc = yes; then
4540 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4541 if test "$cross_compiling" = yes; then :
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4548 #if ((' ' & 0x0FF) == 0x020)
4549 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4550 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4552 # define ISLOWER(c) \
4553 (('a' <= (c) && (c) <= 'i') \
4554 || ('j' <= (c) && (c) <= 'r') \
4555 || ('s' <= (c) && (c) <= 'z'))
4556 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4559 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4564 for (i = 0; i < 256; i++)
4565 if (XOR (islower (i), ISLOWER (i))
4566 || toupper (i) != TOUPPER (i))
4571 if ac_fn_c_try_run "$LINENO"; then :
4574 ac_cv_header_stdc=no
4576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4577 conftest.$ac_objext conftest.beam conftest.$ac_ext
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4583 $as_echo "$ac_cv_header_stdc" >&6; }
4584 if test $ac_cv_header_stdc = yes; then
4586 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4590 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4591 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4592 inttypes.h stdint.h unistd.h
4594 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4595 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4597 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4598 cat >>confdefs.h <<_ACEOF
4599 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4608 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4609 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4616 if test "$MINIX" = yes; then
4618 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4621 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4624 $as_echo "#define _MINIX 1" >>confdefs.h
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4630 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4631 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4632 $as_echo_n "(cached) " >&6
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4637 # define __EXTENSIONS__ 1
4638 $ac_includes_default
4647 if ac_fn_c_try_compile "$LINENO"; then :
4648 ac_cv_safe_to_define___extensions__=yes
4650 ac_cv_safe_to_define___extensions__=no
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4655 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4656 test $ac_cv_safe_to_define___extensions__ = yes &&
4657 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4659 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4661 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4663 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4665 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4669 if test "x$remember_set_CFLAGS" = "x"
4671 if test "$CFLAGS" = "-g -O2"
4674 elif test "$CFLAGS" = "-g"
4680 # This is a new thing required to stop a warning from automake 1.12
4681 if test -n "$ac_tool_prefix"; then
4682 for ac_prog in ar lib "link -lib"
4684 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4685 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_prog_AR+:} false; then :
4689 $as_echo_n "(cached) " >&6
4691 if test -n "$AR"; then
4692 ac_cv_prog_AR="$AR" # Let the user override the test.
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 if test -n "$AR"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4714 $as_echo "$AR" >&6; }
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4721 test -n "$AR" && break
4724 if test -z "$AR"; then
4726 for ac_prog in ar lib "link -lib"
4728 # Extract the first word of "$ac_prog", so it can be a program name with args.
4729 set dummy $ac_prog; ac_word=$2
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4731 $as_echo_n "checking for $ac_word... " >&6; }
4732 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4733 $as_echo_n "(cached) " >&6
4735 if test -n "$ac_ct_AR"; then
4736 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir=.
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4745 ac_cv_prog_ac_ct_AR="$ac_prog"
4746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4756 if test -n "$ac_ct_AR"; then
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4758 $as_echo "$ac_ct_AR" >&6; }
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761 $as_echo "no" >&6; }
4765 test -n "$ac_ct_AR" && break
4768 if test "x$ac_ct_AR" = x; then
4771 case $cross_compiling:$ac_tool_warned in
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4775 ac_tool_warned=yes ;;
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4784 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4785 if ${am_cv_ar_interface+:} false; then :
4786 $as_echo_n "(cached) " >&6
4789 ac_cpp='$CPP $CPPFLAGS'
4790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4794 am_cv_ar_interface=ar
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4797 int some_variable = 0;
4799 if ac_fn_c_try_compile "$LINENO"; then :
4800 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4801 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4802 (eval $am_ar_try) 2>&5
4804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805 test $ac_status = 0; }
4806 if test "$ac_status" -eq 0; then
4807 am_cv_ar_interface=ar
4809 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4810 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4811 (eval $am_ar_try) 2>&5
4813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4814 test $ac_status = 0; }
4815 if test "$ac_status" -eq 0; then
4816 am_cv_ar_interface=lib
4818 am_cv_ar_interface=unknown
4821 rm -f conftest.lib libconftest.a
4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826 ac_cpp='$CPP $CPPFLAGS'
4827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4833 $as_echo "$am_cv_ar_interface" >&6; }
4835 case $am_cv_ar_interface in
4839 # Microsoft lib, so override with the ar-lib wrapper script.
4840 # FIXME: It is wrong to rewrite AR.
4841 # But if we don't then we get into trouble of one sort or another.
4842 # A longer-term fix would be to have automake use am__AR in this case,
4843 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4845 AR="$am_aux_dir/ar-lib $AR"
4848 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4853 # Check for a 64-bit integer type
4854 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
4855 case $ac_cv_c_int64_t in #(
4859 cat >>confdefs.h <<_ACEOF
4860 #define int64_t $ac_cv_c_int64_t
4867 # Make sure we can run config.sub.
4868 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4869 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4872 $as_echo_n "checking build system type... " >&6; }
4873 if ${ac_cv_build+:} false; then :
4874 $as_echo_n "(cached) " >&6
4876 ac_build_alias=$build_alias
4877 test "x$ac_build_alias" = x &&
4878 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4879 test "x$ac_build_alias" = x &&
4880 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4881 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4882 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4886 $as_echo "$ac_cv_build" >&6; }
4887 case $ac_cv_build in
4889 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4892 ac_save_IFS=$IFS; IFS='-'
4898 # Remember, the first character of IFS is used to create $*,
4899 # except with old shells:
4902 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4906 $as_echo_n "checking host system type... " >&6; }
4907 if ${ac_cv_host+:} false; then :
4908 $as_echo_n "(cached) " >&6
4910 if test "x$host_alias" = x; then
4911 ac_cv_host=$ac_cv_build
4913 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4914 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4919 $as_echo "$ac_cv_host" >&6; }
4922 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4925 ac_save_IFS=$IFS; IFS='-'
4931 # Remember, the first character of IFS is used to create $*,
4932 # except with old shells:
4935 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4938 enable_win32_dll=yes
4941 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4942 if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}as; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if ${ac_cv_prog_AS+:} false; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$AS"; then
4951 ac_cv_prog_AS="$AS" # Let the user override the test.
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4960 ac_cv_prog_AS="${ac_tool_prefix}as"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 if test -n "$AS"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4973 $as_echo "$AS" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4981 if test -z "$ac_cv_prog_AS"; then
4983 # Extract the first word of "as", so it can be a program name with args.
4984 set dummy as; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$ac_ct_AS"; then
4991 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_ac_ct_AS="as"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5011 if test -n "$ac_ct_AS"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5013 $as_echo "$ac_ct_AS" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5019 if test "x$ac_ct_AS" = x; then
5022 case $cross_compiling:$ac_tool_warned in
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5034 if test -n "$ac_tool_prefix"; then
5035 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_DLLTOOL+:} false; then :
5040 $as_echo_n "(cached) " >&6
5042 if test -n "$DLLTOOL"; then
5043 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 DLLTOOL=$ac_cv_prog_DLLTOOL
5063 if test -n "$DLLTOOL"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5065 $as_echo "$DLLTOOL" >&6; }
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5073 if test -z "$ac_cv_prog_DLLTOOL"; then
5074 ac_ct_DLLTOOL=$DLLTOOL
5075 # Extract the first word of "dlltool", so it can be a program name with args.
5076 set dummy dlltool; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5080 $as_echo_n "(cached) " >&6
5082 if test -n "$ac_ct_DLLTOOL"; then
5083 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5092 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5103 if test -n "$ac_ct_DLLTOOL"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5105 $as_echo "$ac_ct_DLLTOOL" >&6; }
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5111 if test "x$ac_ct_DLLTOOL" = x; then
5114 case $cross_compiling:$ac_tool_warned in
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5120 DLLTOOL=$ac_ct_DLLTOOL
5123 DLLTOOL="$ac_cv_prog_DLLTOOL"
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if ${ac_cv_prog_OBJDUMP+:} false; then :
5132 $as_echo_n "(cached) " >&6
5134 if test -n "$OBJDUMP"; then
5135 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 OBJDUMP=$ac_cv_prog_OBJDUMP
5155 if test -n "$OBJDUMP"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5157 $as_echo "$OBJDUMP" >&6; }
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 if test -z "$ac_cv_prog_OBJDUMP"; then
5166 ac_ct_OBJDUMP=$OBJDUMP
5167 # Extract the first word of "objdump", so it can be a program name with args.
5168 set dummy objdump; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5172 $as_echo_n "(cached) " >&6
5174 if test -n "$ac_ct_OBJDUMP"; then
5175 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5184 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5195 if test -n "$ac_ct_OBJDUMP"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5197 $as_echo "$ac_ct_OBJDUMP" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5203 if test "x$ac_ct_OBJDUMP" = x; then
5206 case $cross_compiling:$ac_tool_warned in
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5212 OBJDUMP=$ac_ct_OBJDUMP
5215 OBJDUMP="$ac_cv_prog_OBJDUMP"
5221 test -z "$AS" && AS=as
5227 test -z "$DLLTOOL" && DLLTOOL=dlltool
5233 test -z "$OBJDUMP" && OBJDUMP=objdump
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5244 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5249 macro_version='2.4.6.40-6ca5-dirty'
5250 macro_revision='2.4.6.40'
5264 ltmain=$ac_aux_dir/ltmain.sh
5266 # Backslashify metacharacters that are still active within
5267 # double-quoted strings.
5268 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5270 # Same as above, but do not quote variable references.
5271 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5273 # Sed substitution to delay expansion of an escaped shell variable in a
5274 # double_quote_subst'ed string.
5275 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5277 # Sed substitution to delay expansion of an escaped single quote.
5278 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5280 # Sed substitution to avoid accidental globbing in evaled expressions
5281 no_glob_subst='s/\*/\\\*/g'
5283 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5284 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5285 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5288 $as_echo_n "checking how to print strings... " >&6; }
5289 # Test print first, because it will be a builtin if present.
5290 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5291 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5293 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5296 # Use this function as a fallback that always works.
5297 func_fallback_echo ()
5299 eval 'cat <<_LTECHO_EOF
5303 ECHO='func_fallback_echo'
5306 # func_echo_all arg...
5307 # Invoke $ECHO with all args, space-separated.
5314 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5315 $as_echo "printf" >&6; } ;;
5316 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5317 $as_echo "print -r" >&6; } ;;
5318 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5319 $as_echo "cat" >&6; } ;;
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5336 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5337 if ${ac_cv_path_SED+:} false; then :
5338 $as_echo_n "(cached) " >&6
5340 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5341 for ac_i in 1 2 3 4 5 6 7; do
5342 ac_script="$ac_script$as_nl$ac_script"
5344 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5345 { ac_script=; unset ac_script;}
5346 if test -z "$SED"; then
5347 ac_path_SED_found=false
5348 # Loop through the user's path and test for each of PROGNAME-LIST
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir=.
5354 for ac_prog in sed gsed; do
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5357 as_fn_executable_p "$ac_path_SED" || continue
5358 # Check for GNU ac_path_SED and select it if it is found.
5359 # Check for GNU $ac_path_SED
5360 case `"$ac_path_SED" --version 2>&1` in
5362 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5365 $as_echo_n 0123456789 >"conftest.in"
5368 cat "conftest.in" "conftest.in" >"conftest.tmp"
5369 mv "conftest.tmp" "conftest.in"
5370 cp "conftest.in" "conftest.nl"
5371 $as_echo '' >> "conftest.nl"
5372 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5373 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5374 as_fn_arith $ac_count + 1 && ac_count=$as_val
5375 if test $ac_count -gt ${ac_path_SED_max-0}; then
5376 # Best one so far, save it but keep looking for a better one
5377 ac_cv_path_SED="$ac_path_SED"
5378 ac_path_SED_max=$ac_count
5380 # 10*(2^10) chars as input seems more than enough
5381 test $ac_count -gt 10 && break
5383 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5386 $ac_path_SED_found && break 3
5391 if test -z "$ac_cv_path_SED"; then
5392 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5400 $as_echo "$ac_cv_path_SED" >&6; }
5401 SED="$ac_cv_path_SED"
5404 test -z "$SED" && SED=sed
5405 Xsed="$SED -e 1s/^X//"
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5418 $as_echo_n "checking for fgrep... " >&6; }
5419 if ${ac_cv_path_FGREP+:} false; then :
5420 $as_echo_n "(cached) " >&6
5422 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5423 then ac_cv_path_FGREP="$GREP -F"
5425 if test -z "$FGREP"; then
5426 ac_path_FGREP_found=false
5427 # Loop through the user's path and test for each of PROGNAME-LIST
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5432 test -z "$as_dir" && as_dir=.
5433 for ac_prog in fgrep; do
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5436 as_fn_executable_p "$ac_path_FGREP" || continue
5437 # Check for GNU ac_path_FGREP and select it if it is found.
5438 # Check for GNU $ac_path_FGREP
5439 case `"$ac_path_FGREP" --version 2>&1` in
5441 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5444 $as_echo_n 0123456789 >"conftest.in"
5447 cat "conftest.in" "conftest.in" >"conftest.tmp"
5448 mv "conftest.tmp" "conftest.in"
5449 cp "conftest.in" "conftest.nl"
5450 $as_echo 'FGREP' >> "conftest.nl"
5451 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5452 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5453 as_fn_arith $ac_count + 1 && ac_count=$as_val
5454 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5455 # Best one so far, save it but keep looking for a better one
5456 ac_cv_path_FGREP="$ac_path_FGREP"
5457 ac_path_FGREP_max=$ac_count
5459 # 10*(2^10) chars as input seems more than enough
5460 test $ac_count -gt 10 && break
5462 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5465 $ac_path_FGREP_found && break 3
5470 if test -z "$ac_cv_path_FGREP"; then
5471 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5474 ac_cv_path_FGREP=$FGREP
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5480 $as_echo "$ac_cv_path_FGREP" >&6; }
5481 FGREP="$ac_cv_path_FGREP"
5484 test -z "$GREP" && GREP=grep
5504 # Check whether --with-gnu-ld was given.
5505 if test "${with_gnu_ld+set}" = set; then :
5506 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5512 if test yes = "$GCC"; then
5513 # Check if gcc -print-prog-name=ld gives a path.
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5515 $as_echo_n "checking for ld used by $CC... " >&6; }
5518 # gcc leaves a trailing carriage return, which upsets mingw
5519 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5521 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5524 # Accept absolute paths.
5526 re_direlt='/[^/][^/]*/\.\./'
5527 # Canonicalize the pathname of ld
5528 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5529 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5530 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5532 test -z "$LD" && LD=$ac_prog
5535 # If it fails, then pretend we aren't using GCC.
5539 # If it is relative, then search for the first ld in PATH.
5543 elif test yes = "$with_gnu_ld"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5545 $as_echo_n "checking for GNU ld... " >&6; }
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5548 $as_echo_n "checking for non-GNU ld... " >&6; }
5550 if ${lt_cv_path_LD+:} false; then :
5551 $as_echo_n "(cached) " >&6
5553 if test -z "$LD"; then
5554 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5555 for ac_dir in $PATH; do
5557 test -z "$ac_dir" && ac_dir=.
5558 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5559 lt_cv_path_LD=$ac_dir/$ac_prog
5560 # Check to see if the program is GNU ld. I'd rather use --version,
5561 # but apparently some variants of GNU ld only accept -v.
5562 # Break only if it was the GNU/non-GNU ld that we prefer.
5563 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5564 *GNU* | *'with BFD'*)
5565 test no != "$with_gnu_ld" && break
5568 test yes != "$with_gnu_ld" && break
5575 lt_cv_path_LD=$LD # Let the user override the test with a path.
5580 if test -n "$LD"; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5582 $as_echo "$LD" >&6; }
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5585 $as_echo "no" >&6; }
5587 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5589 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5590 if ${lt_cv_prog_gnu_ld+:} false; then :
5591 $as_echo_n "(cached) " >&6
5593 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5594 case `$LD -v 2>&1 </dev/null` in
5595 *GNU* | *'with BFD'*)
5596 lt_cv_prog_gnu_ld=yes
5599 lt_cv_prog_gnu_ld=no
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5604 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5605 with_gnu_ld=$lt_cv_prog_gnu_ld
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5616 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5617 if ${lt_cv_path_NM+:} false; then :
5618 $as_echo_n "(cached) " >&6
5620 if test -n "$NM"; then
5621 # Let the user override the test.
5624 lt_nm_to_check=${ac_tool_prefix}nm
5625 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5626 lt_nm_to_check="$lt_nm_to_check nm"
5628 for lt_tmp_nm in $lt_nm_to_check; do
5629 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5630 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5632 test -z "$ac_dir" && ac_dir=.
5633 tmp_nm=$ac_dir/$lt_tmp_nm
5634 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5635 # Check to see if the nm accepts a BSD-compat flag.
5636 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5637 # nm: unknown option "B" ignored
5638 # Tru64's nm complains that /dev/null is an invalid object file
5639 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5641 mingw*) lt_bad_file=conftest.nm/nofile ;;
5642 *) lt_bad_file=/dev/null ;;
5644 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5645 *$lt_bad_file* | *'Invalid file or object type'*)
5646 lt_cv_path_NM="$tmp_nm -B"
5650 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5652 lt_cv_path_NM="$tmp_nm -p"
5656 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5657 continue # so that we can try to find one that supports BSD flags
5666 : ${lt_cv_path_NM=no}
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5670 $as_echo "$lt_cv_path_NM" >&6; }
5671 if test no != "$lt_cv_path_NM"; then
5674 # Didn't find any BSD compatible name lister, look for dumpbin.
5675 if test -n "$DUMPBIN"; then :
5676 # Let the user override the test.
5678 if test -n "$ac_tool_prefix"; then
5679 for ac_prog in dumpbin "link -dump"
5681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5682 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_DUMPBIN+:} false; then :
5686 $as_echo_n "(cached) " >&6
5688 if test -n "$DUMPBIN"; then
5689 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 DUMPBIN=$ac_cv_prog_DUMPBIN
5709 if test -n "$DUMPBIN"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5711 $as_echo "$DUMPBIN" >&6; }
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5718 test -n "$DUMPBIN" && break
5721 if test -z "$DUMPBIN"; then
5722 ac_ct_DUMPBIN=$DUMPBIN
5723 for ac_prog in dumpbin "link -dump"
5725 # Extract the first word of "$ac_prog", so it can be a program name with args.
5726 set dummy $ac_prog; ac_word=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5730 $as_echo_n "(cached) " >&6
5732 if test -n "$ac_ct_DUMPBIN"; then
5733 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 test -z "$as_dir" && as_dir=.
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5742 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5753 if test -n "$ac_ct_DUMPBIN"; then
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5755 $as_echo "$ac_ct_DUMPBIN" >&6; }
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5762 test -n "$ac_ct_DUMPBIN" && break
5765 if test "x$ac_ct_DUMPBIN" = x; then
5768 case $cross_compiling:$ac_tool_warned in
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5772 ac_tool_warned=yes ;;
5774 DUMPBIN=$ac_ct_DUMPBIN
5778 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5780 DUMPBIN="$DUMPBIN -symbols -headers"
5788 if test : != "$DUMPBIN"; then
5792 test -z "$NM" && NM=nm
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5800 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5801 if ${lt_cv_nm_interface+:} false; then :
5802 $as_echo_n "(cached) " >&6
5804 lt_cv_nm_interface="BSD nm"
5805 echo "int some_variable = 0;" > conftest.$ac_ext
5806 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5807 (eval "$ac_compile" 2>conftest.err)
5808 cat conftest.err >&5
5809 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5810 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5811 cat conftest.err >&5
5812 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5813 cat conftest.out >&5
5814 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5815 lt_cv_nm_interface="MS dumpbin"
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5820 $as_echo "$lt_cv_nm_interface" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5823 $as_echo_n "checking whether ln -s works... " >&6; }
5825 if test "$LN_S" = "ln -s"; then
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5827 $as_echo "yes" >&6; }
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5830 $as_echo "no, using $LN_S" >&6; }
5833 # find the maximum length of command line arguments
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5835 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5836 if ${lt_cv_sys_max_cmd_len+:} false; then :
5837 $as_echo_n "(cached) " >&6
5844 # On DJGPP, this test can blow up pretty badly due to problems in libc
5845 # (any single argument exceeding 2000 bytes causes a buffer overrun
5846 # during glob expansion). Even if it were fixed, the result of this
5847 # check would be larger than it should be.
5848 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5852 # Under GNU Hurd, this test is not required because there is
5853 # no limit to the length of command line arguments.
5854 # Libtool will interpret -1 as no limit whatsoever
5855 lt_cv_sys_max_cmd_len=-1;
5858 cygwin* | mingw* | cegcc*)
5859 # On Win9x/ME, this test blows up -- it succeeds, but takes
5860 # about 5 minutes as the teststring grows exponentially.
5861 # Worse, since 9x/ME are not pre-emptively multitasking,
5862 # you end up with a "frozen" computer, even though with patience
5863 # the test eventually succeeds (with a max line length of 256k).
5864 # Instead, let's just punt: use the minimum linelength reported by
5865 # all of the supported platforms: 8192 (on NT/2K/XP).
5866 lt_cv_sys_max_cmd_len=8192;
5870 # On MiNT this can take a long time and run out of memory.
5871 lt_cv_sys_max_cmd_len=8192;
5875 # On AmigaOS with pdksh, this test takes hours, literally.
5876 # So we just punt and use a minimum line length of 8192.
5877 lt_cv_sys_max_cmd_len=8192;
5880 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5881 # This has been around since 386BSD, at least. Likely further.
5882 if test -x /sbin/sysctl; then
5883 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5884 elif test -x /usr/sbin/sysctl; then
5885 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5887 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5889 # And add a safety zone
5890 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5891 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5895 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5896 lt_cv_sys_max_cmd_len=196608
5900 # The test takes a long time on OS/2.
5901 lt_cv_sys_max_cmd_len=8192
5905 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5906 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5907 # nice to cause kernel panics so lets avoid the loop below.
5908 # First set a reasonable default.
5909 lt_cv_sys_max_cmd_len=16384
5911 if test -x /sbin/sysconfig; then
5912 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5913 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5918 lt_cv_sys_max_cmd_len=102400
5920 sysv5* | sco5v6* | sysv4.2uw2*)
5921 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5922 if test -n "$kargmax"; then
5923 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5925 lt_cv_sys_max_cmd_len=32768
5929 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5930 if test -n "$lt_cv_sys_max_cmd_len" && \
5931 test undefined != "$lt_cv_sys_max_cmd_len"; then
5932 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5933 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5935 # Make teststring a little bigger before we do anything with it.
5936 # a 1K string should be a reasonable start.
5937 for i in 1 2 3 4 5 6 7 8; do
5938 teststring=$teststring$teststring
5940 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5941 # If test is not a shell built-in, we'll probably end up computing a
5942 # maximum length that is only half of the actual maximum length, but
5944 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5945 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5946 test 17 != "$i" # 1/2 MB should be enough
5949 teststring=$teststring$teststring
5951 # Only check the string length outside the loop.
5952 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5954 # Add a significant safety factor because C++ compilers can tack on
5955 # massive amounts of additional arguments before passing them to the
5956 # linker. It appears as though 1/2 is a usable value.
5957 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5964 if test -n "$lt_cv_sys_max_cmd_len"; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5966 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5969 $as_echo "none" >&6; }
5971 max_cmd_len=$lt_cv_sys_max_cmd_len
5982 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5992 # test EBCDIC or ASCII
5993 case `echo X|tr X '\101'` in
5994 A) # ASCII based system
5995 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5996 lt_SP2NL='tr \040 \012'
5997 lt_NL2SP='tr \015\012 \040\040'
5999 *) # EBCDIC based system
6000 lt_SP2NL='tr \100 \n'
6001 lt_NL2SP='tr \r\n \100\100'
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6014 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6015 if ${lt_cv_to_host_file_cmd+:} false; then :
6016 $as_echo_n "(cached) " >&6
6021 *-*-mingw* ) # actually msys
6022 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6025 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6027 * ) # otherwise, assume *nix
6028 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6034 *-*-mingw* ) # actually msys
6035 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6038 lt_cv_to_host_file_cmd=func_convert_file_noop
6040 * ) # otherwise, assume *nix
6041 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6045 * ) # unhandled hosts (and "normal" native builds)
6046 lt_cv_to_host_file_cmd=func_convert_file_noop
6052 to_host_file_cmd=$lt_cv_to_host_file_cmd
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6054 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6061 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6062 if ${lt_cv_to_tool_file_cmd+:} false; then :
6063 $as_echo_n "(cached) " >&6
6065 #assume ordinary cross tools, or native build.
6066 lt_cv_to_tool_file_cmd=func_convert_file_noop
6070 *-*-mingw* ) # actually msys
6071 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6079 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6081 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6088 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6089 if ${lt_cv_ld_reload_flag+:} false; then :
6090 $as_echo_n "(cached) " >&6
6092 lt_cv_ld_reload_flag='-r'
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6095 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6096 reload_flag=$lt_cv_ld_reload_flag
6097 case $reload_flag in
6099 *) reload_flag=" $reload_flag" ;;
6101 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6103 cygwin* | mingw* | pw32* | cegcc*)
6104 if test yes != "$GCC"; then
6109 if test yes = "$GCC"; then
6110 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6112 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6125 if test -n "$ac_tool_prefix"; then
6126 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6127 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6129 $as_echo_n "checking for $ac_word... " >&6; }
6130 if ${ac_cv_prog_OBJDUMP+:} false; then :
6131 $as_echo_n "(cached) " >&6
6133 if test -n "$OBJDUMP"; then
6134 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 test -z "$as_dir" && as_dir=.
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6143 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 OBJDUMP=$ac_cv_prog_OBJDUMP
6154 if test -n "$OBJDUMP"; then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6156 $as_echo "$OBJDUMP" >&6; }
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159 $as_echo "no" >&6; }
6164 if test -z "$ac_cv_prog_OBJDUMP"; then
6165 ac_ct_OBJDUMP=$OBJDUMP
6166 # Extract the first word of "objdump", so it can be a program name with args.
6167 set dummy objdump; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6171 $as_echo_n "(cached) " >&6
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6193 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6194 if test -n "$ac_ct_OBJDUMP"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6196 $as_echo "$ac_ct_OBJDUMP" >&6; }
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6202 if test "x$ac_ct_OBJDUMP" = x; then
6205 case $cross_compiling:$ac_tool_warned in
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6209 ac_tool_warned=yes ;;
6211 OBJDUMP=$ac_ct_OBJDUMP
6214 OBJDUMP="$ac_cv_prog_OBJDUMP"
6217 test -z "$OBJDUMP" && OBJDUMP=objdump
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6225 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6226 if ${lt_cv_deplibs_check_method+:} false; then :
6227 $as_echo_n "(cached) " >&6
6229 lt_cv_file_magic_cmd='$MAGIC_CMD'
6230 lt_cv_file_magic_test_file=
6231 lt_cv_deplibs_check_method='unknown'
6232 # Need to set the preceding variable on all platforms that support
6233 # interlibrary dependencies.
6234 # 'none' -- dependencies not supported.
6235 # 'unknown' -- same as none, but documents that we really don't know.
6236 # 'pass_all' -- all dependencies passed with no checks.
6237 # 'test_compile' -- check by making test program.
6238 # 'file_magic [[regex]]' -- check by looking for files in library path
6239 # that responds to the $file_magic_cmd with a given extended regex.
6240 # If you have 'file' or equivalent on your system and you're not sure
6241 # whether 'pass_all' will *always* work, you probably want this one.
6245 lt_cv_deplibs_check_method=pass_all
6249 lt_cv_deplibs_check_method=pass_all
6253 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6254 lt_cv_file_magic_cmd='/usr/bin/file -L'
6255 lt_cv_file_magic_test_file=/shlib/libc.so
6259 # func_win32_libid is a shell function defined in ltmain.sh
6260 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6261 lt_cv_file_magic_cmd='func_win32_libid'
6265 # Base MSYS/MinGW do not provide the 'file' command needed by
6266 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6267 # unless we find 'file', for example because we are cross-compiling.
6268 if ( file / ) >/dev/null 2>&1; then
6269 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6270 lt_cv_file_magic_cmd='func_win32_libid'
6272 # Keep this pattern in sync with the one in func_win32_libid.
6273 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6274 lt_cv_file_magic_cmd='$OBJDUMP -f'
6279 # use the weaker test based on 'objdump'. See mingw*.
6280 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6281 lt_cv_file_magic_cmd='$OBJDUMP -f'
6284 darwin* | rhapsody*)
6285 lt_cv_deplibs_check_method=pass_all
6288 freebsd* | dragonfly*)
6289 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6292 # Not sure whether the presence of OpenBSD here was a mistake.
6293 # Let's accept both of them until this is cleared up.
6294 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6300 lt_cv_deplibs_check_method=pass_all
6305 lt_cv_deplibs_check_method=pass_all
6308 hpux10.20* | hpux11*)
6309 lt_cv_file_magic_cmd=/usr/bin/file
6312 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6313 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6316 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]'
6317 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6320 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6321 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6327 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6328 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6331 irix5* | irix6* | nonstopux*)
6333 *-32|*"-32 ") libmagic=32-bit;;
6334 *-n32|*"-n32 ") libmagic=N32;;
6335 *-64|*"-64 ") libmagic=64-bit;;
6336 *) libmagic=never-match;;
6338 lt_cv_deplibs_check_method=pass_all
6341 # This must be glibc/ELF.
6342 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6343 lt_cv_deplibs_check_method=pass_all
6347 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6348 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6350 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6355 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6356 lt_cv_file_magic_cmd=/usr/bin/file
6357 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6361 lt_cv_deplibs_check_method=pass_all
6365 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6366 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6368 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6372 osf3* | osf4* | osf5*)
6373 lt_cv_deplibs_check_method=pass_all
6377 lt_cv_deplibs_check_method=pass_all
6381 lt_cv_deplibs_check_method=pass_all
6384 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6385 lt_cv_deplibs_check_method=pass_all
6389 case $host_vendor in
6391 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]'
6392 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6395 lt_cv_deplibs_check_method=pass_all
6398 lt_cv_file_magic_cmd='/bin/file'
6399 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6402 lt_cv_file_magic_cmd='/bin/file'
6403 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6404 lt_cv_file_magic_test_file=/lib/libc.so
6407 lt_cv_deplibs_check_method=pass_all
6410 lt_cv_deplibs_check_method=pass_all
6416 lt_cv_deplibs_check_method=pass_all
6419 lt_cv_deplibs_check_method=pass_all
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6425 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6429 if test "$build" = "$host"; then
6432 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6435 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6441 file_magic_cmd=$lt_cv_file_magic_cmd
6442 deplibs_check_method=$lt_cv_deplibs_check_method
6443 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6466 if test -n "$ac_tool_prefix"; then
6467 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_DLLTOOL+:} false; then :
6472 $as_echo_n "(cached) " >&6
6474 if test -n "$DLLTOOL"; then
6475 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 DLLTOOL=$ac_cv_prog_DLLTOOL
6495 if test -n "$DLLTOOL"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6497 $as_echo "$DLLTOOL" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6505 if test -z "$ac_cv_prog_DLLTOOL"; then
6506 ac_ct_DLLTOOL=$DLLTOOL
6507 # Extract the first word of "dlltool", so it can be a program name with args.
6508 set dummy dlltool; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6512 $as_echo_n "(cached) " >&6
6514 if test -n "$ac_ct_DLLTOOL"; then
6515 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6524 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6535 if test -n "$ac_ct_DLLTOOL"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6537 $as_echo "$ac_ct_DLLTOOL" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6543 if test "x$ac_ct_DLLTOOL" = x; then
6546 case $cross_compiling:$ac_tool_warned in
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6550 ac_tool_warned=yes ;;
6552 DLLTOOL=$ac_ct_DLLTOOL
6555 DLLTOOL="$ac_cv_prog_DLLTOOL"
6558 test -z "$DLLTOOL" && DLLTOOL=dlltool
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6567 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6568 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6569 $as_echo_n "(cached) " >&6
6571 lt_cv_sharedlib_from_linklib_cmd='unknown'
6574 cygwin* | mingw* | pw32* | cegcc*)
6575 # two different shell functions defined in ltmain.sh;
6576 # decide which one to use based on capabilities of $DLLTOOL
6577 case `$DLLTOOL --help 2>&1` in
6578 *--identify-strict*)
6579 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6582 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6587 # fallback: assume linklib IS sharedlib
6588 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6594 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6595 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6596 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6604 if test -n "$ac_tool_prefix"; then
6607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if ${ac_cv_prog_AR+:} false; then :
6612 $as_echo_n "(cached) " >&6
6614 if test -n "$AR"; then
6615 ac_cv_prog_AR="$AR" # Let the user override the test.
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6624 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635 if test -n "$AR"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6637 $as_echo "$AR" >&6; }
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6644 test -n "$AR" && break
6647 if test -z "$AR"; then
6651 # Extract the first word of "$ac_prog", so it can be a program name with args.
6652 set dummy $ac_prog; ac_word=$2
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 $as_echo_n "checking for $ac_word... " >&6; }
6655 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6656 $as_echo_n "(cached) " >&6
6658 if test -n "$ac_ct_AR"; then
6659 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665 test -z "$as_dir" && as_dir=.
6666 for ac_exec_ext in '' $ac_executable_extensions; do
6667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6668 ac_cv_prog_ac_ct_AR="$ac_prog"
6669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6679 if test -n "$ac_ct_AR"; then
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6681 $as_echo "$ac_ct_AR" >&6; }
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6688 test -n "$ac_ct_AR" && break
6691 if test "x$ac_ct_AR" = x; then
6694 case $cross_compiling:$ac_tool_warned in
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6698 ac_tool_warned=yes ;;
6711 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
6712 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6713 # higher priority because thats what people were doing historically (setting
6714 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
6715 # variable obsoleted/removed.
6717 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6718 lt_ar_flags=$AR_FLAGS
6725 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
6726 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6734 $as_echo_n "checking for archiver @FILE support... " >&6; }
6735 if ${lt_cv_ar_at_file+:} false; then :
6736 $as_echo_n "(cached) " >&6
6739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6750 if ac_fn_c_try_compile "$LINENO"; then :
6751 echo conftest.$ac_objext > conftest.lst
6752 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6753 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6754 (eval $lt_ar_try) 2>&5
6756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6757 test $ac_status = 0; }
6758 if test 0 -eq "$ac_status"; then
6759 # Ensure the archiver fails upon bogus file names.
6760 rm -f conftest.$ac_objext libconftest.a
6761 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6762 (eval $lt_ar_try) 2>&5
6764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6765 test $ac_status = 0; }
6766 if test 0 -ne "$ac_status"; then
6770 rm -f conftest.* libconftest.a
6773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6777 $as_echo "$lt_cv_ar_at_file" >&6; }
6779 if test no = "$lt_cv_ar_at_file"; then
6782 archiver_list_spec=$lt_cv_ar_at_file
6791 if test -n "$ac_tool_prefix"; then
6792 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6793 set dummy ${ac_tool_prefix}strip; ac_word=$2
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 $as_echo_n "checking for $ac_word... " >&6; }
6796 if ${ac_cv_prog_STRIP+:} false; then :
6797 $as_echo_n "(cached) " >&6
6799 if test -n "$STRIP"; then
6800 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 test -z "$as_dir" && as_dir=.
6807 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6809 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 STRIP=$ac_cv_prog_STRIP
6820 if test -n "$STRIP"; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6822 $as_echo "$STRIP" >&6; }
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825 $as_echo "no" >&6; }
6830 if test -z "$ac_cv_prog_STRIP"; then
6832 # Extract the first word of "strip", so it can be a program name with args.
6833 set dummy strip; ac_word=$2
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 $as_echo_n "checking for $ac_word... " >&6; }
6836 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6837 $as_echo_n "(cached) " >&6
6839 if test -n "$ac_ct_STRIP"; then
6840 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6846 test -z "$as_dir" && as_dir=.
6847 for ac_exec_ext in '' $ac_executable_extensions; do
6848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6849 ac_cv_prog_ac_ct_STRIP="strip"
6850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6859 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6860 if test -n "$ac_ct_STRIP"; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6862 $as_echo "$ac_ct_STRIP" >&6; }
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 $as_echo "no" >&6; }
6868 if test "x$ac_ct_STRIP" = x; then
6871 case $cross_compiling:$ac_tool_warned in
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6875 ac_tool_warned=yes ;;
6880 STRIP="$ac_cv_prog_STRIP"
6883 test -z "$STRIP" && STRIP=:
6890 if test -n "$ac_tool_prefix"; then
6891 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6892 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if ${ac_cv_prog_RANLIB+:} false; then :
6896 $as_echo_n "(cached) " >&6
6898 if test -n "$RANLIB"; then
6899 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir=.
6906 for ac_exec_ext in '' $ac_executable_extensions; do
6907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6908 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 RANLIB=$ac_cv_prog_RANLIB
6919 if test -n "$RANLIB"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6921 $as_echo "$RANLIB" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6929 if test -z "$ac_cv_prog_RANLIB"; then
6930 ac_ct_RANLIB=$RANLIB
6931 # Extract the first word of "ranlib", so it can be a program name with args.
6932 set dummy ranlib; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6936 $as_echo_n "(cached) " >&6
6938 if test -n "$ac_ct_RANLIB"; then
6939 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6948 ac_cv_prog_ac_ct_RANLIB="ranlib"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6959 if test -n "$ac_ct_RANLIB"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6961 $as_echo "$ac_ct_RANLIB" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6967 if test "x$ac_ct_RANLIB" = x; then
6970 case $cross_compiling:$ac_tool_warned in
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6974 ac_tool_warned=yes ;;
6976 RANLIB=$ac_ct_RANLIB
6979 RANLIB="$ac_cv_prog_RANLIB"
6982 test -z "$RANLIB" && RANLIB=:
6989 # Determine commands to create old-style static archives.
6990 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6991 old_postinstall_cmds='chmod 644 $oldlib'
6992 old_postuninstall_cmds=
6994 if test -n "$RANLIB"; then
6997 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7000 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7003 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7008 lock_old_archive_extraction=yes ;;
7010 lock_old_archive_extraction=no ;;
7051 # If no C compiler was specified, use CC.
7054 # If no C compiler flags were specified, use CFLAGS.
7055 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7057 # Allow CC to be a program name with arguments.
7061 # Check for command to grab the raw symbol name followed by C symbol from nm.
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7063 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7064 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7065 $as_echo_n "(cached) " >&6
7068 # These are sane defaults that work on at least a few old systems.
7069 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7071 # Character class describing NM global symbol codes.
7072 symcode='[BCDEGRST]'
7074 # Regexp to match symbols that can be accessed directly from C.
7075 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7077 # Define system-specific variables.
7082 cygwin* | mingw* | pw32* | cegcc*)
7083 symcode='[ABCDGISTW]'
7086 if test ia64 = "$host_cpu"; then
7087 symcode='[ABCDEGRST]'
7091 symcode='[BCDEGRST]'
7094 symcode='[BCDEGQRST]'
7105 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7113 # If we're using GNU nm, then use its standard symbol codes.
7114 case `$NM -V 2>&1` in
7115 *GNU* | *'with BFD'*)
7116 symcode='[ABCDGIRSTW]' ;;
7119 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7120 # Gets list of data symbols to import.
7121 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7122 # Adjust the below global symbol transforms to fixup imported variables.
7123 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7124 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7125 lt_c_name_lib_hook="\
7126 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7127 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7129 # Disable hooks by default.
7130 lt_cv_sys_global_symbol_to_import=
7136 # Transform an extracted symbol line into a proper C declaration.
7137 # Some systems (esp. on ia64) link data and code symbols differently,
7138 # so use this general approach.
7139 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7141 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7142 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7144 # Transform an extracted symbol line into symbol name and symbol address
7145 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7147 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7148 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7150 # Transform an extracted symbol line into symbol name with lib prefix and
7152 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7153 $lt_c_name_lib_hook\
7154 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7155 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7156 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7158 # Handle CRLF in mingw tool chain
7162 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7166 # Try without a prefix underscore, then with it.
7167 for ac_symprfx in "" "_"; do
7169 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7170 symxfrm="\\1 $ac_symprfx\\2 \\2"
7172 # Write the raw and C identifiers.
7173 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7174 # Fake it for dumpbin and say T for any non-static function,
7175 # D for any global variable and I for any imported variable.
7176 # Also find C++ and __fastcall symbols from MSVC++,
7177 # which start with @ or ?.
7178 lt_cv_sys_global_symbol_pipe="$AWK '"\
7179 " {last_section=section; section=\$ 3};"\
7180 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7181 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7182 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7183 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7184 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7185 " \$ 0!~/External *\|/{next};"\
7186 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7187 " {if(hide[section]) next};"\
7188 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7189 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7190 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7191 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7192 " ' prfx=^$ac_symprfx"
7194 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7196 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7198 # Check to see that the pipe works correctly.
7202 cat > conftest.$ac_ext <<_LT_EOF
7207 void nm_test_func(void);
7208 void nm_test_func(void){}
7212 int main(){nm_test_var='a';nm_test_func();return(0);}
7215 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7216 (eval $ac_compile) 2>&5
7218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7219 test $ac_status = 0; }; then
7220 # Now try to grab the symbols.
7222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7223 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7226 test $ac_status = 0; } && test -s "$nlist"; then
7227 # Try sorting and uniquifying the output.
7228 if sort "$nlist" | uniq > "$nlist"T; then
7229 mv -f "$nlist"T "$nlist"
7234 # Make sure that we snagged all the symbols we need.
7235 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7236 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7237 cat <<_LT_EOF > conftest.$ac_ext
7238 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7239 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7240 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7241 relocations are performed -- see ld's documentation on pseudo-relocs. */
7242 # define LT_DLSYM_CONST
7243 #elif defined __osf__
7244 /* This system does not cope well with relocations in const data. */
7245 # define LT_DLSYM_CONST
7247 # define LT_DLSYM_CONST const
7255 # Now generate the symbol file.
7256 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7258 cat <<_LT_EOF >> conftest.$ac_ext
7260 /* The mapping between symbol names and symbols. */
7261 LT_DLSYM_CONST struct {
7265 lt__PROGRAM__LTX_preloaded_symbols[] =
7267 { "@PROGRAM@", (void *) 0 },
7269 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7270 cat <<\_LT_EOF >> conftest.$ac_ext
7274 /* This works around a problem in FreeBSD linker */
7275 #ifdef FREEBSD_WORKAROUND
7276 static const void *lt_preloaded_setup() {
7277 return lt__PROGRAM__LTX_preloaded_symbols;
7285 # Now try linking the two files.
7286 mv conftest.$ac_objext conftstm.$ac_objext
7287 lt_globsym_save_LIBS=$LIBS
7288 lt_globsym_save_CFLAGS=$CFLAGS
7289 LIBS=conftstm.$ac_objext
7290 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7291 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7292 (eval $ac_link) 2>&5
7294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7295 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7298 LIBS=$lt_globsym_save_LIBS
7299 CFLAGS=$lt_globsym_save_CFLAGS
7301 echo "cannot find nm_test_func in $nlist" >&5
7304 echo "cannot find nm_test_var in $nlist" >&5
7307 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7310 echo "$progname: failed program was:" >&5
7311 cat conftest.$ac_ext >&5
7313 rm -rf conftest* conftst*
7315 # Do not use the global_symbol_pipe unless it works.
7316 if test yes = "$pipe_works"; then
7319 lt_cv_sys_global_symbol_pipe=
7325 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7326 lt_cv_sys_global_symbol_to_cdecl=
7328 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7330 $as_echo "failed" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7333 $as_echo "ok" >&6; }
7336 # Response file support.
7337 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7338 nm_file_list_spec='@'
7339 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7340 nm_file_list_spec='@'
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7380 $as_echo_n "checking for sysroot... " >&6; }
7382 # Check whether --with-sysroot was given.
7383 if test "${with_sysroot+set}" = set; then :
7384 withval=$with_sysroot;
7391 case $with_sysroot in #(
7393 if test yes = "$GCC"; then
7394 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7398 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7404 $as_echo "$with_sysroot" >&6; }
7405 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7410 $as_echo "${lt_sysroot:-no}" >&6; }
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7417 $as_echo_n "checking for a working dd... " >&6; }
7418 if ${ac_cv_path_lt_DD+:} false; then :
7419 $as_echo_n "(cached) " >&6
7421 printf 0123456789abcdef0123456789abcdef >conftest.i
7422 cat conftest.i conftest.i >conftest2.i
7424 if test -z "$lt_DD"; then
7425 ac_path_lt_DD_found=false
7426 # Loop through the user's path and test for each of PROGNAME-LIST
7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7431 test -z "$as_dir" && as_dir=.
7432 for ac_prog in dd; do
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7435 as_fn_executable_p "$ac_path_lt_DD" || continue
7436 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7437 cmp -s conftest.i conftest.out \
7438 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7440 $ac_path_lt_DD_found && break 3
7445 if test -z "$ac_cv_path_lt_DD"; then
7449 ac_cv_path_lt_DD=$lt_DD
7452 rm -f conftest.i conftest2.i conftest.out
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7455 $as_echo "$ac_cv_path_lt_DD" >&6; }
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7459 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7460 if ${lt_cv_truncate_bin+:} false; then :
7461 $as_echo_n "(cached) " >&6
7463 printf 0123456789abcdef0123456789abcdef >conftest.i
7464 cat conftest.i conftest.i >conftest2.i
7466 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7467 cmp -s conftest.i conftest.out \
7468 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7470 rm -f conftest.i conftest2.i conftest.out
7471 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7474 $as_echo "$lt_cv_truncate_bin" >&6; }
7482 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7485 for cc_temp in $*""; do
7487 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7488 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7493 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7496 # Check whether --enable-libtool-lock was given.
7497 if test "${enable_libtool_lock+set}" = set; then :
7498 enableval=$enable_libtool_lock;
7501 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7503 # Some flags need to be propagated to the compiler or linker for good
7507 # Find out what ABI is being produced by ac_compile, and set mode
7508 # options accordingly.
7509 echo 'int i;' > conftest.$ac_ext
7510 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7511 (eval $ac_compile) 2>&5
7513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7514 test $ac_status = 0; }; then
7515 case `/usr/bin/file conftest.$ac_objext` in
7527 # Find out what ABI is being produced by ac_compile, and set linker
7528 # options accordingly.
7529 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7531 (eval $ac_compile) 2>&5
7533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7534 test $ac_status = 0; }; then
7535 if test yes = "$lt_cv_prog_gnu_ld"; then
7536 case `/usr/bin/file conftest.$ac_objext` in
7538 LD="${LD-ld} -melf32bsmip"
7541 LD="${LD-ld} -melf32bmipn32"
7544 LD="${LD-ld} -melf64bmip"
7548 case `/usr/bin/file conftest.$ac_objext` in
7565 # Find out what ABI is being produced by ac_compile, and set linker
7566 # options accordingly.
7567 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7568 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7569 (eval $ac_compile) 2>&5
7571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7572 test $ac_status = 0; }; then
7574 case `/usr/bin/file conftest.$ac_objext` in
7582 case `/usr/bin/file conftest.$ac_objext` in
7584 emul="${emul}btsmip"
7587 emul="${emul}ltsmip"
7590 case `/usr/bin/file conftest.$ac_objext` in
7595 LD="${LD-ld} -m $emul"
7600 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7601 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7602 # Find out what ABI is being produced by ac_compile, and set linker
7603 # options accordingly. Note that the listed cases only cover the
7604 # situations where additional linker options are needed (such as when
7605 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7606 # vice versa); the common cases where no linker options are needed do
7607 # not appear in the list.
7608 echo 'int i;' > conftest.$ac_ext
7609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7610 (eval $ac_compile) 2>&5
7612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7613 test $ac_status = 0; }; then
7614 case `/usr/bin/file conftest.o` in
7617 x86_64-*kfreebsd*-gnu)
7618 LD="${LD-ld} -m elf_i386_fbsd"
7621 case `/usr/bin/file conftest.o` in
7623 LD="${LD-ld} -m elf32_x86_64"
7626 LD="${LD-ld} -m elf_i386"
7630 powerpc64le-*linux*)
7631 LD="${LD-ld} -m elf32lppclinux"
7634 LD="${LD-ld} -m elf32ppclinux"
7637 LD="${LD-ld} -m elf_s390"
7640 LD="${LD-ld} -m elf32_sparc"
7646 x86_64-*kfreebsd*-gnu)
7647 LD="${LD-ld} -m elf_x86_64_fbsd"
7650 LD="${LD-ld} -m elf_x86_64"
7653 LD="${LD-ld} -m elf64lppc"
7656 LD="${LD-ld} -m elf64ppc"
7658 s390*-*linux*|s390*-*tpf*)
7659 LD="${LD-ld} -m elf64_s390"
7662 LD="${LD-ld} -m elf64_sparc"
7672 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7674 CFLAGS="$CFLAGS -belf"
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7676 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7677 if ${lt_cv_cc_needs_belf+:} false; then :
7678 $as_echo_n "(cached) " >&6
7681 ac_cpp='$CPP $CPPFLAGS'
7682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7687 /* end confdefs.h. */
7697 if ac_fn_c_try_link "$LINENO"; then :
7698 lt_cv_cc_needs_belf=yes
7700 lt_cv_cc_needs_belf=no
7702 rm -f core conftest.err conftest.$ac_objext \
7703 conftest$ac_exeext conftest.$ac_ext
7705 ac_cpp='$CPP $CPPFLAGS'
7706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7712 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7713 if test yes != "$lt_cv_cc_needs_belf"; then
7714 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7719 # Find out what ABI is being produced by ac_compile, and set linker
7720 # options accordingly.
7721 echo 'int i;' > conftest.$ac_ext
7722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7723 (eval $ac_compile) 2>&5
7725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7726 test $ac_status = 0; }; then
7727 case `/usr/bin/file conftest.o` in
7729 case $lt_cv_prog_gnu_ld in
7732 i?86-*-solaris*|x86_64-*-solaris*)
7733 LD="${LD-ld} -m elf_x86_64"
7736 LD="${LD-ld} -m elf64_sparc"
7739 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7740 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7745 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7757 need_locks=$enable_libtool_lock
7759 if test -n "$ac_tool_prefix"; then
7760 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7761 set dummy ${ac_tool_prefix}mt; ac_word=$2
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7763 $as_echo_n "checking for $ac_word... " >&6; }
7764 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7765 $as_echo_n "(cached) " >&6
7767 if test -n "$MANIFEST_TOOL"; then
7768 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7774 test -z "$as_dir" && as_dir=.
7775 for ac_exec_ext in '' $ac_executable_extensions; do
7776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7777 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7787 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7788 if test -n "$MANIFEST_TOOL"; then
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7790 $as_echo "$MANIFEST_TOOL" >&6; }
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7793 $as_echo "no" >&6; }
7798 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7799 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7800 # Extract the first word of "mt", so it can be a program name with args.
7801 set dummy mt; ac_word=$2
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7803 $as_echo_n "checking for $ac_word... " >&6; }
7804 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7805 $as_echo_n "(cached) " >&6
7807 if test -n "$ac_ct_MANIFEST_TOOL"; then
7808 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7814 test -z "$as_dir" && as_dir=.
7815 for ac_exec_ext in '' $ac_executable_extensions; do
7816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7817 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7827 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7828 if test -n "$ac_ct_MANIFEST_TOOL"; then
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7830 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7833 $as_echo "no" >&6; }
7836 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7839 case $cross_compiling:$ac_tool_warned in
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7843 ac_tool_warned=yes ;;
7845 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7848 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7851 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7853 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7854 if ${lt_cv_path_mainfest_tool+:} false; then :
7855 $as_echo_n "(cached) " >&6
7857 lt_cv_path_mainfest_tool=no
7858 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7859 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7860 cat conftest.err >&5
7861 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7862 lt_cv_path_mainfest_tool=yes
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7867 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7868 if test yes != "$lt_cv_path_mainfest_tool"; then
7878 rhapsody* | darwin*)
7879 if test -n "$ac_tool_prefix"; then
7880 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7881 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7883 $as_echo_n "checking for $ac_word... " >&6; }
7884 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7885 $as_echo_n "(cached) " >&6
7887 if test -n "$DSYMUTIL"; then
7888 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 test -z "$as_dir" && as_dir=.
7895 for ac_exec_ext in '' $ac_executable_extensions; do
7896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7897 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7907 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7908 if test -n "$DSYMUTIL"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7910 $as_echo "$DSYMUTIL" >&6; }
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7918 if test -z "$ac_cv_prog_DSYMUTIL"; then
7919 ac_ct_DSYMUTIL=$DSYMUTIL
7920 # Extract the first word of "dsymutil", so it can be a program name with args.
7921 set dummy dsymutil; ac_word=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923 $as_echo_n "checking for $ac_word... " >&6; }
7924 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7925 $as_echo_n "(cached) " >&6
7927 if test -n "$ac_ct_DSYMUTIL"; then
7928 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 test -z "$as_dir" && as_dir=.
7935 for ac_exec_ext in '' $ac_executable_extensions; do
7936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7948 if test -n "$ac_ct_DSYMUTIL"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7950 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953 $as_echo "no" >&6; }
7956 if test "x$ac_ct_DSYMUTIL" = x; then
7959 case $cross_compiling:$ac_tool_warned in
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7963 ac_tool_warned=yes ;;
7965 DSYMUTIL=$ac_ct_DSYMUTIL
7968 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7971 if test -n "$ac_tool_prefix"; then
7972 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7973 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_NMEDIT+:} false; then :
7977 $as_echo_n "(cached) " >&6
7979 if test -n "$NMEDIT"; then
7980 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7999 NMEDIT=$ac_cv_prog_NMEDIT
8000 if test -n "$NMEDIT"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8002 $as_echo "$NMEDIT" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8010 if test -z "$ac_cv_prog_NMEDIT"; then
8011 ac_ct_NMEDIT=$NMEDIT
8012 # Extract the first word of "nmedit", so it can be a program name with args.
8013 set dummy nmedit; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8017 $as_echo_n "(cached) " >&6
8019 if test -n "$ac_ct_NMEDIT"; then
8020 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8039 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8040 if test -n "$ac_ct_NMEDIT"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8042 $as_echo "$ac_ct_NMEDIT" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8048 if test "x$ac_ct_NMEDIT" = x; then
8051 case $cross_compiling:$ac_tool_warned in
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8055 ac_tool_warned=yes ;;
8057 NMEDIT=$ac_ct_NMEDIT
8060 NMEDIT="$ac_cv_prog_NMEDIT"
8063 if test -n "$ac_tool_prefix"; then
8064 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8065 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8067 $as_echo_n "checking for $ac_word... " >&6; }
8068 if ${ac_cv_prog_LIPO+:} false; then :
8069 $as_echo_n "(cached) " >&6
8071 if test -n "$LIPO"; then
8072 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 test -z "$as_dir" && as_dir=.
8079 for ac_exec_ext in '' $ac_executable_extensions; do
8080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8081 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8091 LIPO=$ac_cv_prog_LIPO
8092 if test -n "$LIPO"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8094 $as_echo "$LIPO" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8102 if test -z "$ac_cv_prog_LIPO"; then
8104 # Extract the first word of "lipo", so it can be a program name with args.
8105 set dummy lipo; ac_word=$2
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8107 $as_echo_n "checking for $ac_word... " >&6; }
8108 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8109 $as_echo_n "(cached) " >&6
8111 if test -n "$ac_ct_LIPO"; then
8112 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8121 ac_cv_prog_ac_ct_LIPO="lipo"
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8131 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8132 if test -n "$ac_ct_LIPO"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8134 $as_echo "$ac_ct_LIPO" >&6; }
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8140 if test "x$ac_ct_LIPO" = x; then
8143 case $cross_compiling:$ac_tool_warned in
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8147 ac_tool_warned=yes ;;
8152 LIPO="$ac_cv_prog_LIPO"
8155 if test -n "$ac_tool_prefix"; then
8156 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8157 set dummy ${ac_tool_prefix}otool; ac_word=$2
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8159 $as_echo_n "checking for $ac_word... " >&6; }
8160 if ${ac_cv_prog_OTOOL+:} false; then :
8161 $as_echo_n "(cached) " >&6
8163 if test -n "$OTOOL"; then
8164 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170 test -z "$as_dir" && as_dir=.
8171 for ac_exec_ext in '' $ac_executable_extensions; do
8172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8173 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8183 OTOOL=$ac_cv_prog_OTOOL
8184 if test -n "$OTOOL"; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8186 $as_echo "$OTOOL" >&6; }
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8189 $as_echo "no" >&6; }
8194 if test -z "$ac_cv_prog_OTOOL"; then
8196 # Extract the first word of "otool", so it can be a program name with args.
8197 set dummy otool; ac_word=$2
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8199 $as_echo_n "checking for $ac_word... " >&6; }
8200 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8201 $as_echo_n "(cached) " >&6
8203 if test -n "$ac_ct_OTOOL"; then
8204 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 test -z "$as_dir" && as_dir=.
8211 for ac_exec_ext in '' $ac_executable_extensions; do
8212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8213 ac_cv_prog_ac_ct_OTOOL="otool"
8214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8223 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8224 if test -n "$ac_ct_OTOOL"; then
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8226 $as_echo "$ac_ct_OTOOL" >&6; }
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8229 $as_echo "no" >&6; }
8232 if test "x$ac_ct_OTOOL" = x; then
8235 case $cross_compiling:$ac_tool_warned in
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8239 ac_tool_warned=yes ;;
8244 OTOOL="$ac_cv_prog_OTOOL"
8247 if test -n "$ac_tool_prefix"; then
8248 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8249 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8251 $as_echo_n "checking for $ac_word... " >&6; }
8252 if ${ac_cv_prog_OTOOL64+:} false; then :
8253 $as_echo_n "(cached) " >&6
8255 if test -n "$OTOOL64"; then
8256 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8265 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8275 OTOOL64=$ac_cv_prog_OTOOL64
8276 if test -n "$OTOOL64"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8278 $as_echo "$OTOOL64" >&6; }
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281 $as_echo "no" >&6; }
8286 if test -z "$ac_cv_prog_OTOOL64"; then
8287 ac_ct_OTOOL64=$OTOOL64
8288 # Extract the first word of "otool64", so it can be a program name with args.
8289 set dummy otool64; ac_word=$2
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8291 $as_echo_n "checking for $ac_word... " >&6; }
8292 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8293 $as_echo_n "(cached) " >&6
8295 if test -n "$ac_ct_OTOOL64"; then
8296 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302 test -z "$as_dir" && as_dir=.
8303 for ac_exec_ext in '' $ac_executable_extensions; do
8304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8305 ac_cv_prog_ac_ct_OTOOL64="otool64"
8306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8315 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8316 if test -n "$ac_ct_OTOOL64"; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8318 $as_echo "$ac_ct_OTOOL64" >&6; }
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8321 $as_echo "no" >&6; }
8324 if test "x$ac_ct_OTOOL64" = x; then
8327 case $cross_compiling:$ac_tool_warned in
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8331 ac_tool_warned=yes ;;
8333 OTOOL64=$ac_ct_OTOOL64
8336 OTOOL64="$ac_cv_prog_OTOOL64"
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8366 $as_echo_n "checking for -single_module linker flag... " >&6; }
8367 if ${lt_cv_apple_cc_single_mod+:} false; then :
8368 $as_echo_n "(cached) " >&6
8370 lt_cv_apple_cc_single_mod=no
8371 if test -z "$LT_MULTI_MODULE"; then
8372 # By default we will add the -single_module flag. You can override
8373 # by either setting the environment variable LT_MULTI_MODULE
8374 # non-empty at configure time, or by adding -multi_module to the
8376 rm -rf libconftest.dylib*
8377 echo "int foo(void){return 1;}" > conftest.c
8378 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8379 -dynamiclib -Wl,-single_module conftest.c" >&5
8380 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8381 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8383 # If there is a non-empty error log, and "single_module"
8384 # appears in it, assume the flag caused a linker warning
8385 if test -s conftest.err && $GREP single_module conftest.err; then
8386 cat conftest.err >&5
8387 # Otherwise, if the output was created with a 0 exit code from
8388 # the compiler, it worked.
8389 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8390 lt_cv_apple_cc_single_mod=yes
8392 cat conftest.err >&5
8394 rm -rf libconftest.dylib*
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8399 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8402 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8403 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8404 $as_echo_n "(cached) " >&6
8406 lt_cv_ld_exported_symbols_list=no
8407 save_LDFLAGS=$LDFLAGS
8408 echo "_main" > conftest.sym
8409 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8421 if ac_fn_c_try_link "$LINENO"; then :
8422 lt_cv_ld_exported_symbols_list=yes
8424 lt_cv_ld_exported_symbols_list=no
8426 rm -f core conftest.err conftest.$ac_objext \
8427 conftest$ac_exeext conftest.$ac_ext
8428 LDFLAGS=$save_LDFLAGS
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8432 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8435 $as_echo_n "checking for -force_load linker flag... " >&6; }
8436 if ${lt_cv_ld_force_load+:} false; then :
8437 $as_echo_n "(cached) " >&6
8439 lt_cv_ld_force_load=no
8440 cat > conftest.c << _LT_EOF
8441 int forced_loaded() { return 2;}
8443 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8444 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8445 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8446 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8447 echo "$RANLIB libconftest.a" >&5
8448 $RANLIB libconftest.a 2>&5
8449 cat > conftest.c << _LT_EOF
8450 int main() { return 0;}
8452 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8453 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8455 if test -s conftest.err && $GREP force_load conftest.err; then
8456 cat conftest.err >&5
8457 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8458 lt_cv_ld_force_load=yes
8460 cat conftest.err >&5
8462 rm -f conftest.err libconftest.a conftest conftest.c
8463 rm -rf conftest.dSYM
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8467 $as_echo "$lt_cv_ld_force_load" >&6; }
8469 rhapsody* | darwin1.[012])
8470 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8472 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8473 darwin*) # darwin 5.x on
8474 # if running on 10.5 or later, the deployment target defaults
8475 # to the OS version, if on x86, and 10.4, the deployment
8476 # target defaults to 10.4. Don't you love it?
8477 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8478 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8479 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8481 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8483 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8487 if test yes = "$lt_cv_apple_cc_single_mod"; then
8488 _lt_dar_single_mod='$single_module'
8490 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8491 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8493 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8495 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8496 _lt_dsymutil='~$DSYMUTIL $lib || :'
8503 # func_munge_path_list VARIABLE PATH
8504 # -----------------------------------
8505 # VARIABLE is name of variable containing _space_ separated list of
8506 # directories to be munged by the contents of PATH, which is string
8509 # string "DIR[ DIR]" will be prepended to VARIABLE
8511 # string "DIR[ DIR]" will be appended to VARIABLE
8512 # "DIRP[:DIRP]::[DIRA:]DIRA"
8513 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8514 # "DIRA[ DIRA]" will be appended to VARIABLE
8516 # VARIABLE will be replaced by "DIR[ DIR]"
8517 func_munge_path_list ()
8523 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8526 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8529 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8530 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8533 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8538 for ac_header in dlfcn.h
8540 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8542 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8543 cat >>confdefs.h <<_ACEOF
8544 #define HAVE_DLFCN_H 1
8563 # Check whether --enable-shared was given.
8564 if test "${enable_shared+set}" = set; then :
8565 enableval=$enable_shared; p=${PACKAGE-default}
8567 yes) enable_shared=yes ;;
8568 no) enable_shared=no ;;
8571 # Look at the argument we got. We use all the common list separators.
8572 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8573 for pkg in $enableval; do
8575 if test "X$pkg" = "X$p"; then
8594 # Check whether --enable-static was given.
8595 if test "${enable_static+set}" = set; then :
8596 enableval=$enable_static; p=${PACKAGE-default}
8598 yes) enable_static=yes ;;
8599 no) enable_static=no ;;
8602 # Look at the argument we got. We use all the common list separators.
8603 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8604 for pkg in $enableval; do
8606 if test "X$pkg" = "X$p"; then
8626 # Check whether --with-pic was given.
8627 if test "${with_pic+set}" = set; then :
8628 withval=$with_pic; lt_p=${PACKAGE-default}
8630 yes|no) pic_mode=$withval ;;
8633 # Look at the argument we got. We use all the common list separators.
8634 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8635 for lt_pkg in $withval; do
8637 if test "X$lt_pkg" = "X$lt_p"; then
8655 # Check whether --enable-fast-install was given.
8656 if test "${enable_fast_install+set}" = set; then :
8657 enableval=$enable_fast_install; p=${PACKAGE-default}
8659 yes) enable_fast_install=yes ;;
8660 no) enable_fast_install=no ;;
8662 enable_fast_install=no
8663 # Look at the argument we got. We use all the common list separators.
8664 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8665 for pkg in $enableval; do
8667 if test "X$pkg" = "X$p"; then
8668 enable_fast_install=yes
8675 enable_fast_install=yes
8685 shared_archive_member_spec=
8686 case $host,$enable_shared in
8687 power*-*-aix[5-9]*,yes)
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8689 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8691 # Check whether --with-aix-soname was given.
8692 if test "${with_aix_soname+set}" = set; then :
8693 withval=$with_aix_soname; case $withval in
8697 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8700 lt_cv_with_aix_soname=$with_aix_soname
8702 if ${lt_cv_with_aix_soname+:} false; then :
8703 $as_echo_n "(cached) " >&6
8705 lt_cv_with_aix_soname=aix
8708 with_aix_soname=$lt_cv_with_aix_soname
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8712 $as_echo "$with_aix_soname" >&6; }
8713 if test aix != "$with_aix_soname"; then
8714 # For the AIX way of multilib, we name the shared archive member
8715 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8716 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8717 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8718 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8719 if test 64 = "${OBJECT_MODE-32}"; then
8720 shared_archive_member_spec=shr_64
8722 shared_archive_member_spec=shr
8740 # This can be used to rebuild libtool when needed
8741 LIBTOOL_DEPS=$ltmain
8743 # Always use our own libtool.
8744 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8775 test -z "$LN_S" && LN_S="ln -s"
8790 if test -n "${ZSH_VERSION+set}"; then
8791 setopt NO_GLOB_SUBST
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8795 $as_echo_n "checking for objdir... " >&6; }
8796 if ${lt_cv_objdir+:} false; then :
8797 $as_echo_n "(cached) " >&6
8799 rm -f .libs 2>/dev/null
8800 mkdir .libs 2>/dev/null
8801 if test -d .libs; then
8804 # MS-DOS does not allow filenames that begin with a dot.
8807 rmdir .libs 2>/dev/null
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8810 $as_echo "$lt_cv_objdir" >&6; }
8811 objdir=$lt_cv_objdir
8817 cat >>confdefs.h <<_ACEOF
8818 #define LT_OBJDIR "$lt_cv_objdir/"
8826 # AIX sometimes has problems with the GCC collect2 program. For some
8827 # reason, if we set the COLLECT_NAMES environment variable, the problems
8828 # vanish in a puff of smoke.
8829 if test set != "${COLLECT_NAMES+set}"; then
8831 export COLLECT_NAMES
8838 can_build_shared=yes
8840 # All known linkers require a '.a' archive for static linking (except MSVC,
8841 # which needs '.lib').
8844 with_gnu_ld=$lt_cv_prog_gnu_ld
8849 # Set sane defaults for various variables
8850 test -z "$CC" && CC=cc
8851 test -z "$LTCC" && LTCC=$CC
8852 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8853 test -z "$LD" && LD=ld
8854 test -z "$ac_objext" && ac_objext=o
8856 func_cc_basename $compiler
8857 cc_basename=$func_cc_basename_result
8860 # Only perform the check for file, if the check method requires it
8861 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8862 case $deplibs_check_method in
8864 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8866 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8867 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8868 $as_echo_n "(cached) " >&6
8872 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8875 lt_save_MAGIC_CMD=$MAGIC_CMD
8876 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8877 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8878 for ac_dir in $ac_dummy; do
8880 test -z "$ac_dir" && ac_dir=.
8881 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8882 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8883 if test -n "$file_magic_test_file"; then
8884 case $deplibs_check_method in
8886 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8887 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8888 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8889 $EGREP "$file_magic_regex" > /dev/null; then
8894 *** Warning: the command libtool uses to detect shared libraries,
8895 *** $file_magic_cmd, produces output that libtool cannot recognize.
8896 *** The result is that libtool may fail to recognize shared libraries
8897 *** as such. This will affect the creation of libtool libraries that
8898 *** depend on shared libraries, but programs linked with such libtool
8899 *** libraries will work regardless of this problem. Nevertheless, you
8900 *** may want to report the problem to your system manager and/or to
8901 *** bug-libtool@gnu.org
8911 MAGIC_CMD=$lt_save_MAGIC_CMD
8916 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8917 if test -n "$MAGIC_CMD"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8919 $as_echo "$MAGIC_CMD" >&6; }
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8929 if test -z "$lt_cv_path_MAGIC_CMD"; then
8930 if test -n "$ac_tool_prefix"; then
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8932 $as_echo_n "checking for file... " >&6; }
8933 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8934 $as_echo_n "(cached) " >&6
8938 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8941 lt_save_MAGIC_CMD=$MAGIC_CMD
8942 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8943 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8944 for ac_dir in $ac_dummy; do
8946 test -z "$ac_dir" && ac_dir=.
8947 if test -f "$ac_dir/file"; then
8948 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8949 if test -n "$file_magic_test_file"; then
8950 case $deplibs_check_method in
8952 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8953 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8954 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8955 $EGREP "$file_magic_regex" > /dev/null; then
8960 *** Warning: the command libtool uses to detect shared libraries,
8961 *** $file_magic_cmd, produces output that libtool cannot recognize.
8962 *** The result is that libtool may fail to recognize shared libraries
8963 *** as such. This will affect the creation of libtool libraries that
8964 *** depend on shared libraries, but programs linked with such libtool
8965 *** libraries will work regardless of this problem. Nevertheless, you
8966 *** may want to report the problem to your system manager and/or to
8967 *** bug-libtool@gnu.org
8977 MAGIC_CMD=$lt_save_MAGIC_CMD
8982 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8983 if test -n "$MAGIC_CMD"; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8985 $as_echo "$MAGIC_CMD" >&6; }
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988 $as_echo "no" >&6; }
9001 # Use C for the default configuration in the libtool script
9005 ac_cpp='$CPP $CPPFLAGS'
9006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9011 # Source file extension for C test sources.
9014 # Object file extension for compiled C test sources.
9018 # Code to be used in simple compile tests
9019 lt_simple_compile_test_code="int some_variable = 0;"
9021 # Code to be used in simple link tests
9022 lt_simple_link_test_code='int main(){return(0);}'
9030 # If no C compiler was specified, use CC.
9033 # If no C compiler flags were specified, use CFLAGS.
9034 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9036 # Allow CC to be a program name with arguments.
9039 # Save the default compiler, since it gets overwritten when the other
9040 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9041 compiler_DEFAULT=$CC
9043 # save warnings/boilerplate of simple test code
9044 ac_outfile=conftest.$ac_objext
9045 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9046 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9047 _lt_compiler_boilerplate=`cat conftest.err`
9050 ac_outfile=conftest.$ac_objext
9051 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9052 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9053 _lt_linker_boilerplate=`cat conftest.err`
9058 ## There is no encapsulation within the following macros, do not change
9059 ## the running order or otherwise move them around unless you know exactly
9060 ## what you are doing...
9061 if test -n "$compiler"; then
9063 lt_prog_compiler_no_builtin_flag=
9065 if test yes = "$GCC"; then
9066 case $cc_basename in
9068 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9070 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9074 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9075 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9076 $as_echo_n "(cached) " >&6
9078 lt_cv_prog_compiler_rtti_exceptions=no
9079 ac_outfile=conftest.$ac_objext
9080 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9081 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9082 # Insert the option either (1) after the last *FLAGS variable, or
9083 # (2) before a word containing "conftest.", or (3) at the end.
9084 # Note that $ac_compile itself does not contain backslashes and begins
9085 # with a dollar sign (not a hyphen), so the echo should work correctly.
9086 # The option is referenced via a variable to avoid confusing sed.
9087 lt_compile=`echo "$ac_compile" | $SED \
9088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9090 -e 's:$: $lt_compiler_flag:'`
9091 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9092 (eval "$lt_compile" 2>conftest.err)
9094 cat conftest.err >&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 if (exit $ac_status) && test -s "$ac_outfile"; then
9097 # The compiler can only warn and ignore the option if not recognized
9098 # So say no if there are warnings other than the usual output.
9099 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9100 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9101 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9102 lt_cv_prog_compiler_rtti_exceptions=yes
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9109 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9111 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9112 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9124 lt_prog_compiler_wl=
9125 lt_prog_compiler_pic=
9126 lt_prog_compiler_static=
9129 if test yes = "$GCC"; then
9130 lt_prog_compiler_wl='-Wl,'
9131 lt_prog_compiler_static='-static'
9135 # All AIX code is PIC.
9136 if test ia64 = "$host_cpu"; then
9137 # AIX 5 now supports IA64 processor
9138 lt_prog_compiler_static='-Bstatic'
9140 lt_prog_compiler_pic='-fPIC'
9146 # see comment about AmigaOS4 .so support
9147 lt_prog_compiler_pic='-fPIC'
9150 # FIXME: we need at least 68020 code to build shared libraries, but
9151 # adding the '-m68020' flag to GCC prevents building anything better,
9153 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9158 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9159 # PIC is the default for these OSes.
9162 mingw* | cygwin* | pw32* | os2* | cegcc*)
9163 # This hack is so that the source file can tell whether it is being
9164 # built for inclusion in a dll (and should export symbols for example).
9165 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9166 # (--disable-auto-import) libraries
9167 lt_prog_compiler_pic='-DDLL_EXPORT'
9170 lt_prog_compiler_static='$wl-static'
9175 darwin* | rhapsody*)
9176 # PIC is the default on this platform
9177 # Common symbols not allowed in MH_DYLIB files
9178 lt_prog_compiler_pic='-fno-common'
9182 # PIC is the default for Haiku.
9183 # The "-static" flag exists, but is broken.
9184 lt_prog_compiler_static=
9188 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9189 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9190 # sets the default TLS model and affects inlining.
9196 lt_prog_compiler_pic='-fPIC'
9202 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9203 # Instead, we relocate shared libraries at runtime.
9207 # Just because we use GCC doesn't mean we suddenly get shared libraries
9208 # on systems that don't support them.
9209 lt_prog_compiler_can_build_shared=no
9214 # QNX uses GNU C++, but need to define -shared option too, otherwise
9216 lt_prog_compiler_pic='-fPIC -shared'
9220 if test -d /usr/nec; then
9221 lt_prog_compiler_pic=-Kconform_pic
9226 lt_prog_compiler_pic='-fPIC'
9230 case $cc_basename in
9231 nvcc*) # Cuda Compiler Driver 2.2
9232 lt_prog_compiler_wl='-Xlinker '
9233 if test -n "$lt_prog_compiler_pic"; then
9234 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9239 # PORTME Check for flag to pass linker flags through the system compiler.
9242 lt_prog_compiler_wl='-Wl,'
9243 if test ia64 = "$host_cpu"; then
9244 # AIX 5 now supports IA64 processor
9245 lt_prog_compiler_static='-Bstatic'
9247 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9251 darwin* | rhapsody*)
9252 # PIC is the default on this platform
9253 # Common symbols not allowed in MH_DYLIB files
9254 lt_prog_compiler_pic='-fno-common'
9255 case $cc_basename in
9257 # NAG Fortran compiler
9258 lt_prog_compiler_wl='-Wl,-Wl,,'
9259 lt_prog_compiler_pic='-PIC'
9260 lt_prog_compiler_static='-Bstatic'
9265 mingw* | cygwin* | pw32* | os2* | cegcc*)
9266 # This hack is so that the source file can tell whether it is being
9267 # built for inclusion in a dll (and should export symbols for example).
9268 lt_prog_compiler_pic='-DDLL_EXPORT'
9271 lt_prog_compiler_static='$wl-static'
9276 hpux9* | hpux10* | hpux11*)
9277 lt_prog_compiler_wl='-Wl,'
9278 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9285 lt_prog_compiler_pic='+Z'
9288 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9289 lt_prog_compiler_static='$wl-a ${wl}archive'
9292 irix5* | irix6* | nonstopux*)
9293 lt_prog_compiler_wl='-Wl,'
9294 # PIC (with -KPIC) is the default.
9295 lt_prog_compiler_static='-non_shared'
9298 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9299 case $cc_basename in
9300 # old Intel for x86_64, which still supported -KPIC.
9302 lt_prog_compiler_wl='-Wl,'
9303 lt_prog_compiler_pic='-KPIC'
9304 lt_prog_compiler_static='-static'
9306 # icc used to be incompatible with GCC.
9307 # ICC 10 doesn't accept -KPIC any more.
9309 lt_prog_compiler_wl='-Wl,'
9310 lt_prog_compiler_pic='-fPIC'
9311 lt_prog_compiler_static='-static'
9313 # Lahey Fortran 8.1.
9315 lt_prog_compiler_wl='-Wl,'
9316 lt_prog_compiler_pic='--shared'
9317 lt_prog_compiler_static='--static'
9320 # NAG Fortran compiler
9321 lt_prog_compiler_wl='-Wl,-Wl,,'
9322 lt_prog_compiler_pic='-PIC'
9323 lt_prog_compiler_static='-Bstatic'
9326 # Fabrice Bellard et al's Tiny C Compiler
9327 lt_prog_compiler_wl='-Wl,'
9328 lt_prog_compiler_pic='-fPIC'
9329 lt_prog_compiler_static='-static'
9331 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9332 # Portland Group compilers (*not* the Pentium gcc compiler,
9333 # which looks to be a dead project)
9334 lt_prog_compiler_wl='-Wl,'
9335 lt_prog_compiler_pic='-fpic'
9336 lt_prog_compiler_static='-Bstatic'
9339 lt_prog_compiler_wl='-Wl,'
9340 # All Alpha code is PIC.
9341 lt_prog_compiler_static='-non_shared'
9343 xl* | bgxl* | bgf* | mpixl*)
9344 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9345 lt_prog_compiler_wl='-Wl,'
9346 lt_prog_compiler_pic='-qpic'
9347 lt_prog_compiler_static='-qstaticlink'
9350 case `$CC -V 2>&1 | sed 5q` in
9351 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9352 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9353 lt_prog_compiler_pic='-KPIC'
9354 lt_prog_compiler_static='-Bstatic'
9355 lt_prog_compiler_wl=''
9357 *Sun\ F* | *Sun*Fortran*)
9358 lt_prog_compiler_pic='-KPIC'
9359 lt_prog_compiler_static='-Bstatic'
9360 lt_prog_compiler_wl='-Qoption ld '
9364 lt_prog_compiler_pic='-KPIC'
9365 lt_prog_compiler_static='-Bstatic'
9366 lt_prog_compiler_wl='-Wl,'
9368 *Intel*\ [CF]*Compiler*)
9369 lt_prog_compiler_wl='-Wl,'
9370 lt_prog_compiler_pic='-fPIC'
9371 lt_prog_compiler_static='-static'
9374 lt_prog_compiler_wl='-Wl,'
9375 lt_prog_compiler_pic='-fpic'
9376 lt_prog_compiler_static='-Bstatic'
9384 lt_prog_compiler_pic='-KPIC'
9385 lt_prog_compiler_static='-Bstatic'
9389 # QNX uses GNU C++, but need to define -shared option too, otherwise
9391 lt_prog_compiler_pic='-fPIC -shared'
9394 osf3* | osf4* | osf5*)
9395 lt_prog_compiler_wl='-Wl,'
9396 # All OSF/1 code is PIC.
9397 lt_prog_compiler_static='-non_shared'
9401 lt_prog_compiler_static='-non_shared'
9405 lt_prog_compiler_pic='-KPIC'
9406 lt_prog_compiler_static='-Bstatic'
9407 case $cc_basename in
9408 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9409 lt_prog_compiler_wl='-Qoption ld ';;
9411 lt_prog_compiler_wl='-Wl,';;
9416 lt_prog_compiler_wl='-Qoption ld '
9417 lt_prog_compiler_pic='-PIC'
9418 lt_prog_compiler_static='-Bstatic'
9421 sysv4 | sysv4.2uw2* | sysv4.3*)
9422 lt_prog_compiler_wl='-Wl,'
9423 lt_prog_compiler_pic='-KPIC'
9424 lt_prog_compiler_static='-Bstatic'
9428 if test -d /usr/nec; then
9429 lt_prog_compiler_pic='-Kconform_pic'
9430 lt_prog_compiler_static='-Bstatic'
9434 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9435 lt_prog_compiler_wl='-Wl,'
9436 lt_prog_compiler_pic='-KPIC'
9437 lt_prog_compiler_static='-Bstatic'
9441 lt_prog_compiler_wl='-Wl,'
9442 lt_prog_compiler_can_build_shared=no
9446 lt_prog_compiler_pic='-pic'
9447 lt_prog_compiler_static='-Bstatic'
9451 lt_prog_compiler_can_build_shared=no
9457 # For platforms that do not support PIC, -DPIC is meaningless:
9459 lt_prog_compiler_pic=
9462 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9467 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9468 if ${lt_cv_prog_compiler_pic+:} false; then :
9469 $as_echo_n "(cached) " >&6
9471 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9474 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9475 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9478 # Check to make sure the PIC flag actually works.
9480 if test -n "$lt_prog_compiler_pic"; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9482 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9483 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9484 $as_echo_n "(cached) " >&6
9486 lt_cv_prog_compiler_pic_works=no
9487 ac_outfile=conftest.$ac_objext
9488 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9489 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9490 # Insert the option either (1) after the last *FLAGS variable, or
9491 # (2) before a word containing "conftest.", or (3) at the end.
9492 # Note that $ac_compile itself does not contain backslashes and begins
9493 # with a dollar sign (not a hyphen), so the echo should work correctly.
9494 # The option is referenced via a variable to avoid confusing sed.
9495 lt_compile=`echo "$ac_compile" | $SED \
9496 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9497 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9498 -e 's:$: $lt_compiler_flag:'`
9499 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9500 (eval "$lt_compile" 2>conftest.err)
9502 cat conftest.err >&5
9503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 if (exit $ac_status) && test -s "$ac_outfile"; then
9505 # The compiler can only warn and ignore the option if not recognized
9506 # So say no if there are warnings other than the usual output.
9507 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9508 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9509 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9510 lt_cv_prog_compiler_pic_works=yes
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9517 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9519 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9520 case $lt_prog_compiler_pic in
9522 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9525 lt_prog_compiler_pic=
9526 lt_prog_compiler_can_build_shared=no
9542 # Check to make sure the static flag actually works.
9544 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9546 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9547 if ${lt_cv_prog_compiler_static_works+:} false; then :
9548 $as_echo_n "(cached) " >&6
9550 lt_cv_prog_compiler_static_works=no
9551 save_LDFLAGS=$LDFLAGS
9552 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9553 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9554 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9555 # The linker can only warn and ignore the option if not recognized
9556 # So say no if there are warnings
9557 if test -s conftest.err; then
9558 # Append any errors to the config.log.
9559 cat conftest.err 1>&5
9560 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9561 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9562 if diff conftest.exp conftest.er2 >/dev/null; then
9563 lt_cv_prog_compiler_static_works=yes
9566 lt_cv_prog_compiler_static_works=yes
9570 LDFLAGS=$save_LDFLAGS
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9574 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9576 if test yes = "$lt_cv_prog_compiler_static_works"; then
9579 lt_prog_compiler_static=
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9589 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9590 if ${lt_cv_prog_compiler_c_o+:} false; then :
9591 $as_echo_n "(cached) " >&6
9593 lt_cv_prog_compiler_c_o=no
9594 $RM -r conftest 2>/dev/null
9598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9600 lt_compiler_flag="-o out/conftest2.$ac_objext"
9601 # Insert the option either (1) after the last *FLAGS variable, or
9602 # (2) before a word containing "conftest.", or (3) at the end.
9603 # Note that $ac_compile itself does not contain backslashes and begins
9604 # with a dollar sign (not a hyphen), so the echo should work correctly.
9605 lt_compile=`echo "$ac_compile" | $SED \
9606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9608 -e 's:$: $lt_compiler_flag:'`
9609 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9610 (eval "$lt_compile" 2>out/conftest.err)
9612 cat out/conftest.err >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9616 # The compiler can only warn and ignore the option if not recognized
9617 # So say no if there are warnings
9618 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9619 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9620 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9621 lt_cv_prog_compiler_c_o=yes
9626 # SGI C++ compiler will create directory out/ii_files/ for
9627 # template instantiation
9628 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9629 $RM out/* && rmdir out
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9636 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9644 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9645 if ${lt_cv_prog_compiler_c_o+:} false; then :
9646 $as_echo_n "(cached) " >&6
9648 lt_cv_prog_compiler_c_o=no
9649 $RM -r conftest 2>/dev/null
9653 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9655 lt_compiler_flag="-o out/conftest2.$ac_objext"
9656 # Insert the option either (1) after the last *FLAGS variable, or
9657 # (2) before a word containing "conftest.", or (3) at the end.
9658 # Note that $ac_compile itself does not contain backslashes and begins
9659 # with a dollar sign (not a hyphen), so the echo should work correctly.
9660 lt_compile=`echo "$ac_compile" | $SED \
9661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9663 -e 's:$: $lt_compiler_flag:'`
9664 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9665 (eval "$lt_compile" 2>out/conftest.err)
9667 cat out/conftest.err >&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9671 # The compiler can only warn and ignore the option if not recognized
9672 # So say no if there are warnings
9673 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9674 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9675 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9676 lt_cv_prog_compiler_c_o=yes
9681 # SGI C++ compiler will create directory out/ii_files/ for
9682 # template instantiation
9683 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9684 $RM out/* && rmdir out
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9691 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9696 hard_links=nottested
9697 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9698 # do not overwrite the value of need_locks provided by the user
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9700 $as_echo_n "checking if we can lock with hard links... " >&6; }
9703 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9705 ln conftest.a conftest.b 2>&5 || hard_links=no
9706 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9708 $as_echo "$hard_links" >&6; }
9709 if test no = "$hard_links"; then
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9711 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9724 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9727 allow_undefined_flag=
9728 always_export_symbols=no
9730 archive_expsym_cmds=
9731 compiler_needs_object=no
9732 enable_shared_with_static_runtimes=no
9733 export_dynamic_flag_spec=
9734 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9735 hardcode_automatic=no
9737 hardcode_direct_absolute=no
9738 hardcode_libdir_flag_spec=
9739 hardcode_libdir_separator=
9741 hardcode_shlibpath_var=unsupported
9743 link_all_deplibs=unknown
9746 old_archive_from_new_cmds=
9747 old_archive_from_expsyms_cmds=
9748 thread_safe_flag_spec=
9749 whole_archive_flag_spec=
9750 # include_expsyms should be a list of space-separated symbols to be *always*
9751 # included in the symbol list
9753 # exclude_expsyms can be an extended regexp of symbols to exclude
9754 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9755 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9756 # as well as any symbol that contains 'd'.
9757 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9758 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9759 # platforms (ab)use it in PIC code, but their linkers get confused if
9760 # the symbol is explicitly referenced. Since portable code cannot
9761 # rely on this symbol name, it's probably fine to never include it in
9762 # preloaded symbol tables.
9763 # Exclude shared library initialization/finalization symbols.
9764 extract_expsyms_cmds=
9767 cygwin* | mingw* | pw32* | cegcc*)
9768 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9769 # When not using gcc, we currently assume that we are using
9770 # Microsoft Visual C++.
9771 if test yes != "$GCC"; then
9776 # we just hope/assume this is gcc and not c89 (= MSVC++)
9786 # On some targets, GNU ld is compatible enough with the native linker
9787 # that we're better off using the native interface for both.
9788 lt_use_gnu_ld_interface=no
9789 if test yes = "$with_gnu_ld"; then
9792 # The AIX port of GNU ld has always aspired to compatibility
9793 # with the native linker. However, as the warning in the GNU ld
9794 # block says, versions before 2.19.5* couldn't really create working
9795 # shared libraries, regardless of the interface used.
9796 case `$LD -v 2>&1` in
9797 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9798 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9799 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9801 lt_use_gnu_ld_interface=yes
9806 lt_use_gnu_ld_interface=yes
9811 if test yes = "$lt_use_gnu_ld_interface"; then
9812 # If archive_cmds runs LD, not CC, wlarc should be empty
9815 # Set some defaults for GNU ld with shared library support. These
9816 # are reset later if shared libraries are not supported. Putting them
9817 # here allows them to be overridden if necessary.
9818 runpath_var=LD_RUN_PATH
9819 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9820 export_dynamic_flag_spec='$wl--export-dynamic'
9821 # ancient GNU ld didn't support --whole-archive et. al.
9822 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9823 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9825 whole_archive_flag_spec=
9827 supports_anon_versioning=no
9828 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9829 *GNU\ gold*) supports_anon_versioning=yes ;;
9830 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9831 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9832 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9833 *\ 2.11.*) ;; # other 2.11 versions
9834 *) supports_anon_versioning=yes ;;
9837 # See if GNU ld supports shared libraries.
9840 # On AIX/PPC, the GNU linker is very broken
9841 if test ia64 != "$host_cpu"; then
9845 *** Warning: the GNU linker, at least up to release 2.19, is reported
9846 *** to be unable to reliably create shared libraries on AIX.
9847 *** Therefore, libtool is disabling shared libraries support. If you
9848 *** really care for shared libraries, you may want to install binutils
9849 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9850 *** You will then need to restart the configuration process.
9859 # see comment about AmigaOS4 .so support
9860 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9861 archive_expsym_cmds=''
9864 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)'
9865 hardcode_libdir_flag_spec='-L$libdir'
9866 hardcode_minus_L=yes
9872 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9873 allow_undefined_flag=unsupported
9874 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9875 # support --undefined. This deserves some investigation. FIXME
9876 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9882 cygwin* | mingw* | pw32* | cegcc*)
9883 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9884 # as there is no search path for DLLs.
9885 hardcode_libdir_flag_spec='-L$libdir'
9886 export_dynamic_flag_spec='$wl--export-all-symbols'
9887 allow_undefined_flag=unsupported
9888 always_export_symbols=no
9889 enable_shared_with_static_runtimes=yes
9890 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'
9891 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9893 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9895 # If the export-symbols file already is a .def file, use it as
9896 # is; otherwise, prepend EXPORTS...
9897 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9898 cp $export_symbols $output_objdir/$soname.def;
9900 echo EXPORTS > $output_objdir/$soname.def;
9901 cat $export_symbols >> $output_objdir/$soname.def;
9903 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9910 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9911 link_all_deplibs=yes
9915 hardcode_libdir_flag_spec='-L$libdir'
9916 hardcode_minus_L=yes
9917 allow_undefined_flag=unsupported
9919 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9920 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9921 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9922 $ECHO EXPORTS >> $output_objdir/$libname.def~
9923 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9924 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9925 emximp -o $lib $output_objdir/$libname.def'
9926 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9927 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9928 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9929 $ECHO EXPORTS >> $output_objdir/$libname.def~
9931 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9932 prefix_cmds="$prefix_cmds -e 1d";
9934 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9935 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9936 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9937 emximp -o $lib $output_objdir/$libname.def'
9938 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9939 enable_shared_with_static_runtimes=yes
9945 hardcode_shlibpath_var=no
9946 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9947 export_dynamic_flag_spec='$wl-E'
9948 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9949 # Instead, shared libraries are loaded at an image base (0x10000000 by
9950 # default) and relocated if they conflict, which is a slow very memory
9951 # consuming and fragmenting process. To avoid this, we pick a random,
9952 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9953 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9954 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9955 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'
9958 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9960 if test linux-dietlibc = "$host_os"; then
9961 case $cc_basename in
9962 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9965 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9966 && test no = "$tmp_diet"
9968 tmp_addflag=' $pic_flag'
9969 tmp_sharedflag='-shared'
9970 case $cc_basename,$host_cpu in
9971 pgcc*) # Portland Group C compiler
9972 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'
9973 tmp_addflag=' $pic_flag'
9975 pgf77* | pgf90* | pgf95* | pgfortran*)
9976 # Portland Group f77 and f90 compilers
9977 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'
9978 tmp_addflag=' $pic_flag -Mnomain' ;;
9979 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9980 tmp_addflag=' -i_dynamic' ;;
9981 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9982 tmp_addflag=' -i_dynamic -nofor_main' ;;
9983 ifc* | ifort*) # Intel Fortran compiler
9984 tmp_addflag=' -nofor_main' ;;
9985 lf95*) # Lahey Fortran 8.1
9986 whole_archive_flag_spec=
9987 tmp_sharedflag='--shared' ;;
9988 nagfor*) # NAGFOR 5.3
9989 tmp_sharedflag='-Wl,-shared' ;;
9990 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9991 tmp_sharedflag='-qmkshrobj'
9993 nvcc*) # Cuda Compiler Driver 2.2
9994 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'
9995 compiler_needs_object=yes
9998 case `$CC -V 2>&1 | sed 5q` in
9999 *Sun\ C*) # Sun C 5.9
10000 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'
10001 compiler_needs_object=yes
10002 tmp_sharedflag='-G' ;;
10003 *Sun\ F*) # Sun Fortran 8.3
10004 tmp_sharedflag='-G' ;;
10006 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10008 if test yes = "$supports_anon_versioning"; then
10009 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10010 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10011 echo "local: *; };" >> $output_objdir/$libname.ver~
10012 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10015 case $cc_basename in
10017 export_dynamic_flag_spec='-rdynamic'
10019 xlf* | bgf* | bgxlf* | mpixlf*)
10020 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10021 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10022 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10023 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10024 if test yes = "$supports_anon_versioning"; then
10025 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10026 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10027 echo "local: *; };" >> $output_objdir/$libname.ver~
10028 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10038 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10039 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10042 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10043 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10048 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10052 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10053 *** create shared libraries on Solaris systems. Therefore, libtool
10054 *** is disabling shared libraries support. We urge you to upgrade GNU
10055 *** binutils to release 2.9.1 or newer. Another option is to modify
10056 *** your PATH or compiler configuration so that the native linker is
10057 *** used, and then restart.
10060 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10061 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10062 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10068 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10069 case `$LD -v 2>&1` in
10070 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10074 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10075 *** reliably create shared libraries on SCO systems. Therefore, libtool
10076 *** is disabling shared libraries support. We urge you to upgrade GNU
10077 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10078 *** your PATH or compiler configuration so that the native linker is
10079 *** used, and then restart.
10084 # For security reasons, it is highly recommended that you always
10085 # use absolute paths for naming shared libraries, and exclude the
10086 # DT_RUNPATH tag from executables and libraries. But doing so
10087 # requires that you compile everything twice, which is a pain.
10088 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10089 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10090 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10091 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10100 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10102 hardcode_direct=yes
10103 hardcode_shlibpath_var=no
10107 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10108 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10109 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10116 if test no = "$ld_shlibs"; then
10118 hardcode_libdir_flag_spec=
10119 export_dynamic_flag_spec=
10120 whole_archive_flag_spec=
10123 # PORTME fill in a description of your system's linker (not GNU ld)
10126 allow_undefined_flag=unsupported
10127 always_export_symbols=yes
10128 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'
10129 # Note: this linker hardcodes the directories in LIBPATH if there
10130 # are no directories specified by -L.
10131 hardcode_minus_L=yes
10132 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10133 # Neither direct hardcoding nor static linking is supported with a
10135 hardcode_direct=unsupported
10140 if test ia64 = "$host_cpu"; then
10141 # On IA64, the linker does run time linking by default, so we don't
10142 # have to do anything special.
10143 aix_use_runtimelinking=no
10144 exp_sym_flag='-Bexport'
10147 # If we're using GNU nm, then we don't want the "-C" option.
10148 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10149 # Without the "-l" option, or with the "-B" option, AIX nm treats
10150 # weak defined symbols like other global defined symbols, whereas
10151 # GNU nm marks them as "W".
10152 # While the 'weak' keyword is ignored in the Export File, we need
10153 # it in the Import File for the 'aix-soname' feature, so we have
10154 # to replace the "-B" option with "-P" for AIX nm.
10155 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10156 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'
10158 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'
10160 aix_use_runtimelinking=no
10162 # Test if we are trying to use run time linking or normal
10163 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10164 # have runtime linking enabled, and use it for executables.
10165 # For shared libraries, we enable/disable runtime linking
10166 # depending on the kind of the shared library created -
10167 # when "with_aix_soname,aix_use_runtimelinking" is:
10168 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10169 # "aix,yes" lib.so shared, rtl:yes, for executables
10170 # lib.a static archive
10171 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10172 # lib.a(lib.so.V) shared, rtl:no, for executables
10173 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10174 # lib.a(lib.so.V) shared, rtl:no
10175 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10176 # lib.a static archive
10177 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10178 for ld_flag in $LDFLAGS; do
10179 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10180 aix_use_runtimelinking=yes
10184 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10185 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10186 # so we don't have lib.a shared libs to link our executables.
10187 # We have to force runtime linking in this case.
10188 aix_use_runtimelinking=yes
10189 LDFLAGS="$LDFLAGS -Wl,-brtl"
10194 exp_sym_flag='-bexport'
10195 no_entry_flag='-bnoentry'
10198 # When large executables or shared objects are built, AIX ld can
10199 # have problems creating the table of contents. If linking a library
10200 # or program results in "error TOC overflow" add -mminimal-toc to
10201 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10202 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10205 hardcode_direct=yes
10206 hardcode_direct_absolute=yes
10207 hardcode_libdir_separator=':'
10208 link_all_deplibs=yes
10209 file_list_spec='$wl-f,'
10210 case $with_aix_soname,$aix_use_runtimelinking in
10211 aix,*) ;; # traditional, no import file
10212 svr4,* | *,yes) # use import file
10213 # The Import File defines what to hardcode.
10215 hardcode_direct_absolute=no
10219 if test yes = "$GCC"; then
10220 case $host_os in aix4.[012]|aix4.[012].*)
10221 # We only want to do this on AIX 4.2 and lower, the check
10222 # below for broken collect2 doesn't work under 4.3+
10223 collect2name=`$CC -print-prog-name=collect2`
10224 if test -f "$collect2name" &&
10225 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10227 # We have reworked collect2
10230 # We have old collect2
10231 hardcode_direct=unsupported
10232 # It fails to find uninstalled libraries when the uninstalled
10233 # path is not listed in the libpath. Setting hardcode_minus_L
10234 # to unsupported forces relinking
10235 hardcode_minus_L=yes
10236 hardcode_libdir_flag_spec='-L$libdir'
10237 hardcode_libdir_separator=
10241 shared_flag='-shared'
10242 if test yes = "$aix_use_runtimelinking"; then
10243 shared_flag="$shared_flag "'$wl-G'
10245 # Need to ensure runtime linking is disabled for the traditional
10246 # shared library, or the linker may eventually find shared libraries
10247 # /with/ Import File - we do not want to mix them.
10248 shared_flag_aix='-shared'
10249 shared_flag_svr4='-shared $wl-G'
10252 if test ia64 = "$host_cpu"; then
10253 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10254 # chokes on -Wl,-G. The following line is correct:
10257 if test yes = "$aix_use_runtimelinking"; then
10258 shared_flag='$wl-G'
10260 shared_flag='$wl-bM:SRE'
10262 shared_flag_aix='$wl-bM:SRE'
10263 shared_flag_svr4='$wl-G'
10267 export_dynamic_flag_spec='$wl-bexpall'
10268 # It seems that -bexpall does not export symbols beginning with
10269 # underscore (_), so it is better to generate a list of symbols to export.
10270 always_export_symbols=yes
10271 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10272 # Warning - without using the other runtime loading flags (-brtl),
10273 # -berok will link without error, but may produce a broken library.
10274 allow_undefined_flag='-berok'
10275 # Determine the default libpath from the value encoded in an
10276 # empty executable.
10277 if test set = "${lt_cv_aix_libpath+set}"; then
10278 aix_libpath=$lt_cv_aix_libpath
10280 if ${lt_cv_aix_libpath_+:} false; then :
10281 $as_echo_n "(cached) " >&6
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10294 if ac_fn_c_try_link "$LINENO"; then :
10296 lt_aix_libpath_sed='
10297 /Import File Strings/,/^$/ {
10299 s/^0 *\([^ ]*\) *$/\1/
10303 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10304 # Check for a 64-bit object if we didn't find anything.
10305 if test -z "$lt_cv_aix_libpath_"; then
10306 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10309 rm -f core conftest.err conftest.$ac_objext \
10310 conftest$ac_exeext conftest.$ac_ext
10311 if test -z "$lt_cv_aix_libpath_"; then
10312 lt_cv_aix_libpath_=/usr/lib:/lib
10317 aix_libpath=$lt_cv_aix_libpath_
10320 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10321 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
10323 if test ia64 = "$host_cpu"; then
10324 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10325 allow_undefined_flag="-z nodefs"
10326 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"
10328 # Determine the default libpath from the value encoded in an
10329 # empty executable.
10330 if test set = "${lt_cv_aix_libpath+set}"; then
10331 aix_libpath=$lt_cv_aix_libpath
10333 if ${lt_cv_aix_libpath_+:} false; then :
10334 $as_echo_n "(cached) " >&6
10336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10347 if ac_fn_c_try_link "$LINENO"; then :
10349 lt_aix_libpath_sed='
10350 /Import File Strings/,/^$/ {
10352 s/^0 *\([^ ]*\) *$/\1/
10356 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10357 # Check for a 64-bit object if we didn't find anything.
10358 if test -z "$lt_cv_aix_libpath_"; then
10359 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10362 rm -f core conftest.err conftest.$ac_objext \
10363 conftest$ac_exeext conftest.$ac_ext
10364 if test -z "$lt_cv_aix_libpath_"; then
10365 lt_cv_aix_libpath_=/usr/lib:/lib
10370 aix_libpath=$lt_cv_aix_libpath_
10373 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10374 # Warning - without using the other run time loading flags,
10375 # -berok will link without error, but may produce a broken library.
10376 no_undefined_flag=' $wl-bernotok'
10377 allow_undefined_flag=' $wl-berok'
10378 if test yes = "$with_gnu_ld"; then
10379 # We only use this code for GNU lds that support --whole-archive.
10380 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10382 # Exported symbols can be pulled into shared objects from archives
10383 whole_archive_flag_spec='$convenience'
10385 archive_cmds_need_lc=yes
10386 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10387 # -brtl affects multiple linker settings, -berok does not and is overridden later
10388 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10389 if test svr4 != "$with_aix_soname"; then
10390 # This is similar to how AIX traditionally builds its shared libraries.
10391 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'
10393 if test aix != "$with_aix_soname"; then
10394 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'
10396 # used by -dlpreopen to get the symbols
10397 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10399 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10407 # see comment about AmigaOS4 .so support
10408 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10409 archive_expsym_cmds=''
10412 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)'
10413 hardcode_libdir_flag_spec='-L$libdir'
10414 hardcode_minus_L=yes
10420 export_dynamic_flag_spec=-rdynamic
10423 cygwin* | mingw* | pw32* | cegcc*)
10424 # When not using gcc, we currently assume that we are using
10425 # Microsoft Visual C++.
10426 # hardcode_libdir_flag_spec is actually meaningless, as there is
10427 # no search path for DLLs.
10428 case $cc_basename in
10431 hardcode_libdir_flag_spec=' '
10432 allow_undefined_flag=unsupported
10433 always_export_symbols=yes
10435 # Tell ltmain to make .lib files, not .a files.
10437 # Tell ltmain to make .dll files, not .so files.
10439 # FIXME: Setting linknames here is a bad hack.
10440 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10441 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10442 cp "$export_symbols" "$output_objdir/$soname.def";
10443 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10445 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10447 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10449 # The linker will not automatically build a static lib if we build a DLL.
10450 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10451 enable_shared_with_static_runtimes=yes
10452 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10453 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10455 old_postinstall_cmds='chmod 644 $oldlib'
10456 postlink_cmds='lt_outputfile="@OUTPUT@"~
10457 lt_tool_outputfile="@TOOL_OUTPUT@"~
10458 case $lt_outputfile in
10461 lt_outputfile=$lt_outputfile.exe
10462 lt_tool_outputfile=$lt_tool_outputfile.exe
10465 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10466 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10467 $RM "$lt_outputfile.manifest";
10471 # Assume MSVC wrapper
10472 hardcode_libdir_flag_spec=' '
10473 allow_undefined_flag=unsupported
10474 # Tell ltmain to make .lib files, not .a files.
10476 # Tell ltmain to make .dll files, not .so files.
10478 # FIXME: Setting linknames here is a bad hack.
10479 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10480 # The linker will automatically build a .lib file if we build a DLL.
10481 old_archive_from_new_cmds='true'
10482 # FIXME: Should let the user specify the lib program.
10483 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10484 enable_shared_with_static_runtimes=yes
10489 darwin* | rhapsody*)
10492 archive_cmds_need_lc=no
10494 hardcode_automatic=yes
10495 hardcode_shlibpath_var=unsupported
10496 if test yes = "$lt_cv_ld_force_load"; then
10497 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\"`'
10500 whole_archive_flag_spec=''
10502 link_all_deplibs=yes
10503 allow_undefined_flag=$_lt_dar_allow_undefined
10504 case $cc_basename in
10505 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10506 *) _lt_dar_can_shared=$GCC ;;
10508 if test yes = "$_lt_dar_can_shared"; then
10509 output_verbose_link_cmd=func_echo_all
10510 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10511 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10512 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"
10513 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"
10522 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10523 hardcode_libdir_flag_spec='-L$libdir'
10524 hardcode_shlibpath_var=no
10527 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10528 # support. Future versions do this automatically, but an explicit c++rt0.o
10529 # does not break anything, and helps significantly (at the cost of a little
10532 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10533 hardcode_libdir_flag_spec='-R$libdir'
10534 hardcode_direct=yes
10535 hardcode_shlibpath_var=no
10538 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10540 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10541 hardcode_direct=yes
10542 hardcode_minus_L=yes
10543 hardcode_shlibpath_var=no
10546 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10547 freebsd* | dragonfly*)
10548 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10549 hardcode_libdir_flag_spec='-R$libdir'
10550 hardcode_direct=yes
10551 hardcode_shlibpath_var=no
10555 if test yes = "$GCC"; then
10556 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'
10558 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'
10560 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10561 hardcode_libdir_separator=:
10562 hardcode_direct=yes
10564 # hardcode_minus_L: Not really in the search PATH,
10565 # but as the default location of the library.
10566 hardcode_minus_L=yes
10567 export_dynamic_flag_spec='$wl-E'
10571 if test yes,no = "$GCC,$with_gnu_ld"; then
10572 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10574 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10576 if test no = "$with_gnu_ld"; then
10577 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10578 hardcode_libdir_separator=:
10579 hardcode_direct=yes
10580 hardcode_direct_absolute=yes
10581 export_dynamic_flag_spec='$wl-E'
10582 # hardcode_minus_L: Not really in the search PATH,
10583 # but as the default location of the library.
10584 hardcode_minus_L=yes
10589 if test yes,no = "$GCC,$with_gnu_ld"; then
10592 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10595 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10598 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10604 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10607 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10611 # Older versions of the 11.00 compiler do not understand -b yet
10612 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10614 $as_echo_n "checking if $CC understands -b... " >&6; }
10615 if ${lt_cv_prog_compiler__b+:} false; then :
10616 $as_echo_n "(cached) " >&6
10618 lt_cv_prog_compiler__b=no
10619 save_LDFLAGS=$LDFLAGS
10620 LDFLAGS="$LDFLAGS -b"
10621 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10622 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10623 # The linker can only warn and ignore the option if not recognized
10624 # So say no if there are warnings
10625 if test -s conftest.err; then
10626 # Append any errors to the config.log.
10627 cat conftest.err 1>&5
10628 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10629 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10630 if diff conftest.exp conftest.er2 >/dev/null; then
10631 lt_cv_prog_compiler__b=yes
10634 lt_cv_prog_compiler__b=yes
10638 LDFLAGS=$save_LDFLAGS
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10642 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10644 if test yes = "$lt_cv_prog_compiler__b"; then
10645 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10647 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10653 if test no = "$with_gnu_ld"; then
10654 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10655 hardcode_libdir_separator=:
10660 hardcode_shlibpath_var=no
10663 hardcode_direct=yes
10664 hardcode_direct_absolute=yes
10665 export_dynamic_flag_spec='$wl-E'
10667 # hardcode_minus_L: Not really in the search PATH,
10668 # but as the default location of the library.
10669 hardcode_minus_L=yes
10675 irix5* | irix6* | nonstopux*)
10676 if test yes = "$GCC"; then
10677 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'
10678 # Try to use the -exported_symbol ld option, if it does not
10679 # work, assume that -exports_file does not work either and
10680 # implicitly export all symbols.
10681 # This should be the same for all languages, so no per-tag cache variable.
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10683 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10684 if ${lt_cv_irix_exported_symbol+:} false; then :
10685 $as_echo_n "(cached) " >&6
10687 save_LDFLAGS=$LDFLAGS
10688 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10691 int foo (void) { return 0; }
10693 if ac_fn_c_try_link "$LINENO"; then :
10694 lt_cv_irix_exported_symbol=yes
10696 lt_cv_irix_exported_symbol=no
10698 rm -f core conftest.err conftest.$ac_objext \
10699 conftest$ac_exeext conftest.$ac_ext
10700 LDFLAGS=$save_LDFLAGS
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10703 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10704 if test yes = "$lt_cv_irix_exported_symbol"; then
10705 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'
10708 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'
10709 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'
10711 archive_cmds_need_lc='no'
10712 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10713 hardcode_libdir_separator=:
10715 link_all_deplibs=yes
10719 case $cc_basename in
10721 # Fabrice Bellard et al's Tiny C Compiler
10723 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10729 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10730 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10732 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10734 hardcode_libdir_flag_spec='-R$libdir'
10735 hardcode_direct=yes
10736 hardcode_shlibpath_var=no
10740 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10741 hardcode_direct=yes
10742 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10743 hardcode_libdir_separator=:
10744 hardcode_shlibpath_var=no
10750 openbsd* | bitrig*)
10751 if test -f /usr/libexec/ld.so; then
10752 hardcode_direct=yes
10753 hardcode_shlibpath_var=no
10754 hardcode_direct_absolute=yes
10755 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10756 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10757 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10758 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10759 export_dynamic_flag_spec='$wl-E'
10761 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10762 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10770 hardcode_libdir_flag_spec='-L$libdir'
10771 hardcode_minus_L=yes
10772 allow_undefined_flag=unsupported
10774 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10775 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10776 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10777 $ECHO EXPORTS >> $output_objdir/$libname.def~
10778 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10779 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10780 emximp -o $lib $output_objdir/$libname.def'
10781 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10782 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10783 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10784 $ECHO EXPORTS >> $output_objdir/$libname.def~
10785 prefix_cmds="$SED"~
10786 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10787 prefix_cmds="$prefix_cmds -e 1d";
10789 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10790 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10791 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10792 emximp -o $lib $output_objdir/$libname.def'
10793 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10794 enable_shared_with_static_runtimes=yes
10799 if test yes = "$GCC"; then
10800 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10801 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'
10803 allow_undefined_flag=' -expect_unresolved \*'
10804 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'
10806 archive_cmds_need_lc='no'
10807 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10808 hardcode_libdir_separator=:
10811 osf4* | osf5*) # as osf3* with the addition of -msym flag
10812 if test yes = "$GCC"; then
10813 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10814 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'
10815 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10817 allow_undefined_flag=' -expect_unresolved \*'
10818 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'
10819 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~
10820 $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'
10822 # Both c and cxx compiler support -rpath directly
10823 hardcode_libdir_flag_spec='-rpath $libdir'
10825 archive_cmds_need_lc='no'
10826 hardcode_libdir_separator=:
10830 no_undefined_flag=' -z defs'
10831 if test yes = "$GCC"; then
10833 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10834 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10835 $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'
10837 case `$CC -V 2>&1` in
10840 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10841 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10842 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10846 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10847 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10848 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10852 hardcode_libdir_flag_spec='-R$libdir'
10853 hardcode_shlibpath_var=no
10855 solaris2.[0-5] | solaris2.[0-5].*) ;;
10857 # The compiler driver will combine and reorder linker options,
10858 # but understands '-z linker_flag'. GCC discards it without '$wl',
10859 # but is careful enough not to reorder.
10860 # Supported since Solaris 2.6 (maybe 2.5.1?)
10861 if test yes = "$GCC"; then
10862 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10864 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10868 link_all_deplibs=yes
10872 if test sequent = "$host_vendor"; then
10873 # Use $CC to link under sequent, because it throws in some extra .o
10874 # files that make .init and .fini sections work.
10875 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10877 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10879 hardcode_libdir_flag_spec='-L$libdir'
10880 hardcode_direct=yes
10881 hardcode_minus_L=yes
10882 hardcode_shlibpath_var=no
10886 case $host_vendor in
10888 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10889 hardcode_direct=yes # is this really true???
10892 ## LD is ld it makes a PLAMLIB
10893 ## CC just makes a GrossModule.
10894 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10895 reload_cmds='$CC -r -o $output$reload_objs'
10899 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10900 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10903 runpath_var='LD_RUN_PATH'
10904 hardcode_shlibpath_var=no
10908 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10909 hardcode_shlibpath_var=no
10910 export_dynamic_flag_spec='-Bexport'
10914 if test -d /usr/nec; then
10915 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10916 hardcode_shlibpath_var=no
10917 runpath_var=LD_RUN_PATH
10918 hardcode_runpath_var=yes
10923 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10924 no_undefined_flag='$wl-z,text'
10925 archive_cmds_need_lc=no
10926 hardcode_shlibpath_var=no
10927 runpath_var='LD_RUN_PATH'
10929 if test yes = "$GCC"; then
10930 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10931 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10933 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10934 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10938 sysv5* | sco3.2v5* | sco5v6*)
10939 # Note: We CANNOT use -z defs as we might desire, because we do not
10940 # link with -lc, and that would cause any symbols used from libc to
10941 # always be unresolved, which means just about no library would
10942 # ever link correctly. If we're not using GNU ld we use -z text
10943 # though, which does catch some bad symbols but isn't as heavy-handed
10945 no_undefined_flag='$wl-z,text'
10946 allow_undefined_flag='$wl-z,nodefs'
10947 archive_cmds_need_lc=no
10948 hardcode_shlibpath_var=no
10949 hardcode_libdir_flag_spec='$wl-R,$libdir'
10950 hardcode_libdir_separator=':'
10951 link_all_deplibs=yes
10952 export_dynamic_flag_spec='$wl-Bexport'
10953 runpath_var='LD_RUN_PATH'
10955 if test yes = "$GCC"; then
10956 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10957 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10959 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10960 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10965 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10966 hardcode_libdir_flag_spec='-L$libdir'
10967 hardcode_shlibpath_var=no
10975 if test sni = "$host_vendor"; then
10977 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10978 export_dynamic_flag_spec='$wl-Blargedynsym'
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10985 $as_echo "$ld_shlibs" >&6; }
10986 test no = "$ld_shlibs" && can_build_shared=no
10988 with_gnu_ld=$with_gnu_ld
11005 # Do we need to explicitly link libc?
11007 case "x$archive_cmds_need_lc" in
11009 # Assume -lc should be added
11010 archive_cmds_need_lc=yes
11012 if test yes,yes = "$GCC,$enable_shared"; then
11013 case $archive_cmds in
11015 # FIXME: we may have to deal with multi-command sequences.
11018 # Test whether the compiler implicitly links with -lc since on some
11019 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11020 # to ld, don't add -lc before -lgcc.
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11022 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11023 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11024 $as_echo_n "(cached) " >&6
11027 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11029 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11030 (eval $ac_compile) 2>&5
11032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11033 test $ac_status = 0; } 2>conftest.err; then
11036 libobjs=conftest.$ac_objext
11038 wl=$lt_prog_compiler_wl
11039 pic_flag=$lt_prog_compiler_pic
11045 lt_save_allow_undefined_flag=$allow_undefined_flag
11046 allow_undefined_flag=
11047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11048 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11051 test $ac_status = 0; }
11053 lt_cv_archive_cmds_need_lc=no
11055 lt_cv_archive_cmds_need_lc=yes
11057 allow_undefined_flag=$lt_save_allow_undefined_flag
11059 cat conftest.err 1>&5
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11065 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11066 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11225 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11227 if test yes = "$GCC"; then
11229 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11230 *) lt_awk_arg='/^libraries:/' ;;
11233 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11234 *) lt_sed_strip_eq='s|=/|/|g' ;;
11236 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11237 case $lt_search_path_spec in
11239 # if the path contains ";" then we assume it to be the separator
11240 # otherwise default to the standard path separator (i.e. ":") - it is
11241 # assumed that no part of a normal pathname contains ";" but that should
11242 # okay in the real world where ";" in dirpaths is itself problematic.
11243 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11246 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11249 # Ok, now we have the path, separated by spaces, we can step through it
11250 # and add multilib dir if necessary...
11251 lt_tmp_lt_search_path_spec=
11252 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11253 # ...but if some path component already ends with the multilib dir we assume
11254 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11255 case "$lt_multi_os_dir; $lt_search_path_spec " in
11256 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11260 for lt_sys_path in $lt_search_path_spec; do
11261 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11262 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11263 elif test -n "$lt_multi_os_dir"; then
11264 test -d "$lt_sys_path" && \
11265 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11268 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11269 BEGIN {RS = " "; FS = "/|\n";} {
11272 for (lt_i = NF; lt_i > 0; lt_i--) {
11273 if ($lt_i != "" && $lt_i != ".") {
11274 if ($lt_i == "..") {
11277 if (lt_count == 0) {
11278 lt_foo = "/" $lt_i lt_foo;
11285 if (lt_foo != "") { lt_freq[lt_foo]++; }
11286 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11288 # AWK program above erroneously prepends '/' to C:/dos/paths
11291 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11292 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11294 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11296 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11298 library_names_spec=
11299 libname_spec='lib$name'
11303 postuninstall_cmds=
11307 shlibpath_overrides_runpath=unknown
11309 dynamic_linker="$host_os ld.so"
11310 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11311 need_lib_prefix=unknown
11312 hardcode_into_libs=no
11314 # when you set need_version to no, make sure it does not cause -set_version
11315 # flags to be left without arguments
11316 need_version=unknown
11322 version_type=linux # correct to gnu/linux during the next big refactor
11323 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11324 shlibpath_var=LIBPATH
11326 # AIX 3 has no versioning support, so we append a major version to the name.
11327 soname_spec='$libname$release$shared_ext$major'
11331 version_type=linux # correct to gnu/linux during the next big refactor
11334 hardcode_into_libs=yes
11335 if test ia64 = "$host_cpu"; then
11336 # AIX 5 supports IA64
11337 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11338 shlibpath_var=LD_LIBRARY_PATH
11340 # With GCC up to 2.95.x, collect2 would create an import file
11341 # for dependence libraries. The import file would start with
11342 # the line '#! .'. This would cause the generated library to
11343 # depend on '.', always an invalid library. This was fixed in
11344 # development snapshots of GCC prior to 3.0.
11346 aix4 | aix4.[01] | aix4.[01].*)
11347 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11349 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11352 can_build_shared=no
11356 # Using Import Files as archive members, it is possible to support
11357 # filename-based versioning of shared library archives on AIX. While
11358 # this would work for both with and without runtime linking, it will
11359 # prevent static linking of such archives. So we do filename-based
11360 # shared library versioning with .so extension only, which is used
11361 # when both runtime linking and shared linking is enabled.
11362 # Unfortunately, runtime linking may impact performance, so we do
11363 # not want this to be the default eventually. Also, we use the
11364 # versioned .so libs for executables only if there is the -brtl
11365 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11366 # To allow for filename-based versioning support, we need to create
11367 # libNAME.so.V as an archive file, containing:
11368 # *) an Import File, referring to the versioned filename of the
11369 # archive as well as the shared archive member, telling the
11370 # bitwidth (32 or 64) of that shared object, and providing the
11371 # list of exported symbols of that shared object, eventually
11372 # decorated with the 'weak' keyword
11373 # *) the shared object with the F_LOADONLY flag set, to really avoid
11374 # it being seen by the linker.
11375 # At run time we better use the real file rather than another symlink,
11376 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11378 case $with_aix_soname,$aix_use_runtimelinking in
11379 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11380 # soname into executable. Probably we can add versioning support to
11381 # collect2, so additional links can be useful in future.
11382 aix,yes) # traditional libtool
11383 dynamic_linker='AIX unversionable lib.so'
11384 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11385 # instead of lib<name>.a to let people know that these are not
11386 # typical AIX shared libraries.
11387 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11389 aix,no) # traditional AIX only
11390 dynamic_linker='AIX lib.a(lib.so.V)'
11391 # We preserve .a as extension for shared libraries through AIX4.2
11392 # and later when we are not doing run time linking.
11393 library_names_spec='$libname$release.a $libname.a'
11394 soname_spec='$libname$release$shared_ext$major'
11396 svr4,*) # full svr4 only
11397 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11398 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11399 # We do not specify a path in Import Files, so LIBPATH fires.
11400 shlibpath_overrides_runpath=yes
11402 *,yes) # both, prefer svr4
11403 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11404 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11405 # unpreferred sharedlib libNAME.a needs extra handling
11406 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"'
11407 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"'
11408 # We do not specify a path in Import Files, so LIBPATH fires.
11409 shlibpath_overrides_runpath=yes
11411 *,no) # both, prefer aix
11412 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11413 library_names_spec='$libname$release.a $libname.a'
11414 soname_spec='$libname$release$shared_ext$major'
11415 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11416 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)'
11417 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"'
11420 shlibpath_var=LIBPATH
11427 # Since July 2007 AmigaOS4 officially supports .so libraries.
11428 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11429 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11432 library_names_spec='$libname.ixlibrary $libname.a'
11433 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11434 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'
11440 library_names_spec='$libname$shared_ext'
11441 dynamic_linker="$host_os ld.so"
11442 shlibpath_var=LIBRARY_PATH
11446 version_type=linux # correct to gnu/linux during the next big refactor
11448 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11449 soname_spec='$libname$release$shared_ext$major'
11450 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11451 shlibpath_var=LD_LIBRARY_PATH
11452 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11453 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11454 # the default ld.so.conf also contains /usr/contrib/lib and
11455 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11456 # libtool to hard-code these into programs
11459 cygwin* | mingw* | pw32* | cegcc*)
11460 version_type=windows
11465 case $GCC,$cc_basename in
11468 library_names_spec='$libname.dll.a'
11469 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11470 postinstall_cmds='base_file=`basename \$file`~
11471 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11472 dldir=$destdir/`dirname \$dlpath`~
11473 test -d \$dldir || mkdir -p \$dldir~
11474 $install_prog $dir/$dlname \$dldir/$dlname~
11475 chmod a+x \$dldir/$dlname~
11476 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11477 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11479 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11480 dlpath=$dir/\$dldll~
11482 shlibpath_overrides_runpath=yes
11486 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11487 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11489 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11492 # MinGW DLLs use traditional 'lib' prefix
11493 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11496 # pw32 DLLs use 'pw' prefix rather than 'lib'
11497 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11500 dynamic_linker='Win32 ld.exe'
11505 libname_spec='$name'
11506 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11507 library_names_spec='$libname.dll.lib'
11511 sys_lib_search_path_spec=
11514 for lt_path in $LIB
11517 # Let DOS variable expansion print the short 8.3 style file name.
11518 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11519 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11522 # Convert to MSYS style.
11523 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11526 # Convert to unix form, then to dos form, then back to unix form
11527 # but this time dos style (no spaces!) so that the unix form looks
11528 # like /cygdrive/c/PROGRA~1:/cygdr...
11529 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11530 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11531 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11534 sys_lib_search_path_spec=$LIB
11535 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11536 # It is most probably a Windows format PATH.
11537 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11539 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11541 # FIXME: find the short name or the path components, as spaces are
11542 # common. (e.g. "Program Files" -> "PROGRA~1")
11546 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11547 postinstall_cmds='base_file=`basename \$file`~
11548 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11549 dldir=$destdir/`dirname \$dlpath`~
11550 test -d \$dldir || mkdir -p \$dldir~
11551 $install_prog $dir/$dlname \$dldir/$dlname'
11552 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11553 dlpath=$dir/\$dldll~
11555 shlibpath_overrides_runpath=yes
11556 dynamic_linker='Win32 link.exe'
11560 # Assume MSVC wrapper
11561 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11562 dynamic_linker='Win32 ld.exe'
11565 # FIXME: first we should search . and the directory the executable is in
11569 darwin* | rhapsody*)
11570 dynamic_linker="$host_os dyld"
11571 version_type=darwin
11574 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11575 soname_spec='$libname$release$major$shared_ext'
11576 shlibpath_overrides_runpath=yes
11577 shlibpath_var=DYLD_LIBRARY_PATH
11578 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11580 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11581 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11585 version_type=linux # correct to gnu/linux during the next big refactor
11588 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11589 soname_spec='$libname$release$shared_ext$major'
11590 shlibpath_var=LD_LIBRARY_PATH
11593 freebsd* | dragonfly*)
11594 # DragonFly does not have aout. When/if they implement a new
11595 # versioning mechanism, adjust this.
11596 if test -x /usr/bin/objformat; then
11597 objformat=`/usr/bin/objformat`
11600 freebsd[23].*) objformat=aout ;;
11601 *) objformat=elf ;;
11604 version_type=freebsd-$objformat
11605 case $version_type in
11607 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11608 soname_spec='$libname$release$shared_ext$major'
11613 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11617 shlibpath_var=LD_LIBRARY_PATH
11620 shlibpath_overrides_runpath=yes
11622 freebsd3.[01]* | freebsdelf3.[01]*)
11623 shlibpath_overrides_runpath=yes
11624 hardcode_into_libs=yes
11626 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11627 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11628 shlibpath_overrides_runpath=no
11629 hardcode_into_libs=yes
11631 *) # from 4.6 on, and DragonFly
11632 shlibpath_overrides_runpath=yes
11633 hardcode_into_libs=yes
11639 version_type=linux # correct to gnu/linux during the next big refactor
11642 dynamic_linker="$host_os runtime_loader"
11643 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11644 soname_spec='$libname$release$shared_ext$major'
11645 shlibpath_var=LIBRARY_PATH
11646 shlibpath_overrides_runpath=no
11647 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11648 hardcode_into_libs=yes
11651 hpux9* | hpux10* | hpux11*)
11652 # Give a soname corresponding to the major version so that dld.sl refuses to
11653 # link against other versions.
11660 hardcode_into_libs=yes
11661 dynamic_linker="$host_os dld.so"
11662 shlibpath_var=LD_LIBRARY_PATH
11663 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11664 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11665 soname_spec='$libname$release$shared_ext$major'
11666 if test 32 = "$HPUX_IA64_MODE"; then
11667 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11668 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11670 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11671 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11676 hardcode_into_libs=yes
11677 dynamic_linker="$host_os dld.sl"
11678 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11679 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11680 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11681 soname_spec='$libname$release$shared_ext$major'
11682 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11683 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11687 dynamic_linker="$host_os dld.sl"
11688 shlibpath_var=SHLIB_PATH
11689 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11690 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11691 soname_spec='$libname$release$shared_ext$major'
11694 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11695 postinstall_cmds='chmod 555 $lib'
11696 # or fails outright, so override atomically:
11697 install_override_mode=555
11701 version_type=linux # correct to gnu/linux during the next big refactor
11704 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11705 soname_spec='$libname$release$shared_ext$major'
11706 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11707 shlibpath_var=LD_LIBRARY_PATH
11708 shlibpath_overrides_runpath=no
11709 hardcode_into_libs=yes
11712 irix5* | irix6* | nonstopux*)
11714 nonstopux*) version_type=nonstopux ;;
11716 if test yes = "$lt_cv_prog_gnu_ld"; then
11717 version_type=linux # correct to gnu/linux during the next big refactor
11724 soname_spec='$libname$release$shared_ext$major'
11725 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11727 irix5* | nonstopux*)
11728 libsuff= shlibsuff=
11731 case $LD in # libtool.m4 will add one of these switches to LD
11732 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11733 libsuff= shlibsuff= libmagic=32-bit;;
11734 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11735 libsuff=32 shlibsuff=N32 libmagic=N32;;
11736 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11737 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11738 *) libsuff= shlibsuff= libmagic=never-match;;
11742 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11743 shlibpath_overrides_runpath=no
11744 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11745 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11746 hardcode_into_libs=yes
11749 # No shared lib support for Linux oldld, aout, or coff.
11750 linux*oldld* | linux*aout* | linux*coff*)
11755 version_type=none # Android doesn't support versioned libraries.
11758 library_names_spec='$libname$release$shared_ext'
11759 soname_spec='$libname$release$shared_ext'
11761 shlibpath_var=LD_LIBRARY_PATH
11762 shlibpath_overrides_runpath=yes
11764 # This implies no fast_install, which is unacceptable.
11765 # Some rework will be needed to allow for fast_install
11766 # before this can be enabled.
11767 hardcode_into_libs=yes
11769 dynamic_linker='Android linker'
11770 # Don't embed -rpath directories since the linker doesn't support them.
11771 hardcode_libdir_flag_spec='-L$libdir'
11774 # This must be glibc/ELF.
11775 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11776 version_type=linux # correct to gnu/linux during the next big refactor
11779 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11780 soname_spec='$libname$release$shared_ext$major'
11781 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11782 shlibpath_var=LD_LIBRARY_PATH
11783 shlibpath_overrides_runpath=no
11785 # Some binutils ld are patched to set DT_RUNPATH
11786 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11787 $as_echo_n "(cached) " >&6
11789 lt_cv_shlibpath_overrides_runpath=no
11790 save_LDFLAGS=$LDFLAGS
11791 save_libdir=$libdir
11792 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11793 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11805 if ac_fn_c_try_link "$LINENO"; then :
11806 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11807 lt_cv_shlibpath_overrides_runpath=yes
11810 rm -f core conftest.err conftest.$ac_objext \
11811 conftest$ac_exeext conftest.$ac_ext
11812 LDFLAGS=$save_LDFLAGS
11813 libdir=$save_libdir
11817 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11819 # This implies no fast_install, which is unacceptable.
11820 # Some rework will be needed to allow for fast_install
11821 # before this can be enabled.
11822 hardcode_into_libs=yes
11824 # Ideally, we could use ldconfig to report *all* directores which are
11825 # searched for libraries, however this is still not possible. Aside from not
11826 # being certain /sbin/ldconfig is available, command
11827 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11828 # even though it is searched at run-time. Try to do the best guess by
11829 # appending ld.so.conf contents (and includes) to the search path.
11830 if test -f /etc/ld.so.conf; then
11831 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' ' '`
11832 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11835 # We used to test for /lib/ld.so.1 and disable shared libraries on
11836 # powerpc, because MkLinux only supported shared libraries with the
11837 # GNU dynamic linker. Since this was broken with cross compilers,
11838 # most powerpc-linux boxes support dynamic linking these days and
11839 # people can always --disable-shared, the test was removed, and we
11840 # assume the GNU/Linux dynamic linker is in use.
11841 dynamic_linker='GNU/Linux ld.so'
11848 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11849 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11850 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11851 dynamic_linker='NetBSD (a.out) ld.so'
11853 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11854 soname_spec='$libname$release$shared_ext$major'
11855 dynamic_linker='NetBSD ld.elf_so'
11857 shlibpath_var=LD_LIBRARY_PATH
11858 shlibpath_overrides_runpath=yes
11859 hardcode_into_libs=yes
11863 version_type=linux # correct to gnu/linux during the next big refactor
11864 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11865 shlibpath_var=LD_LIBRARY_PATH
11866 shlibpath_overrides_runpath=yes
11873 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11874 soname_spec='$libname$release$shared_ext$major'
11875 shlibpath_var=LD_LIBRARY_PATH
11876 shlibpath_overrides_runpath=no
11877 hardcode_into_libs=yes
11878 dynamic_linker='ldqnx.so'
11881 openbsd* | bitrig*)
11883 sys_lib_dlsearch_path_spec=/usr/lib
11885 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11890 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11891 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11892 shlibpath_var=LD_LIBRARY_PATH
11893 shlibpath_overrides_runpath=yes
11897 libname_spec='$name'
11898 version_type=windows
11902 # OS/2 can only load a DLL with a base name of 8 characters or less.
11903 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11904 v=$($ECHO $release$versuffix | tr -d .-);
11905 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11906 $ECHO $n$v`$shared_ext'
11907 library_names_spec='${libname}_dll.$libext'
11908 dynamic_linker='OS/2 ld.exe'
11909 shlibpath_var=BEGINLIBPATH
11910 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11911 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11912 postinstall_cmds='base_file=`basename \$file`~
11913 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11914 dldir=$destdir/`dirname \$dlpath`~
11915 test -d \$dldir || mkdir -p \$dldir~
11916 $install_prog $dir/$dlname \$dldir/$dlname~
11917 chmod a+x \$dldir/$dlname~
11918 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11919 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11921 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11922 dlpath=$dir/\$dldll~
11926 osf3* | osf4* | osf5*)
11930 soname_spec='$libname$release$shared_ext$major'
11931 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11932 shlibpath_var=LD_LIBRARY_PATH
11933 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11934 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11942 version_type=linux # correct to gnu/linux during the next big refactor
11945 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11946 soname_spec='$libname$release$shared_ext$major'
11947 shlibpath_var=LD_LIBRARY_PATH
11948 shlibpath_overrides_runpath=yes
11949 hardcode_into_libs=yes
11950 # ldd complains unless libraries are executable
11951 postinstall_cmds='chmod +x $lib'
11956 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11957 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11958 shlibpath_var=LD_LIBRARY_PATH
11959 shlibpath_overrides_runpath=yes
11960 if test yes = "$with_gnu_ld"; then
11967 version_type=linux # correct to gnu/linux during the next big refactor
11968 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11969 soname_spec='$libname$release$shared_ext$major'
11970 shlibpath_var=LD_LIBRARY_PATH
11971 case $host_vendor in
11973 shlibpath_overrides_runpath=no
11975 runpath_var=LD_RUN_PATH
11983 shlibpath_overrides_runpath=no
11984 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11990 if test -d /usr/nec; then
11991 version_type=linux # correct to gnu/linux during the next big refactor
11992 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11993 soname_spec='$libname$shared_ext.$major'
11994 shlibpath_var=LD_LIBRARY_PATH
11998 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12002 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12003 soname_spec='$libname$release$shared_ext$major'
12004 shlibpath_var=LD_LIBRARY_PATH
12005 shlibpath_overrides_runpath=yes
12006 hardcode_into_libs=yes
12007 if test yes = "$with_gnu_ld"; then
12008 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12010 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12013 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12017 sys_lib_dlsearch_path_spec='/usr/lib'
12021 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12022 version_type=linux # correct to gnu/linux during the next big refactor
12025 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12026 shlibpath_var=LD_LIBRARY_PATH
12027 shlibpath_overrides_runpath=no
12028 hardcode_into_libs=yes
12032 version_type=linux # correct to gnu/linux during the next big refactor
12033 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12034 soname_spec='$libname$release$shared_ext$major'
12035 shlibpath_var=LD_LIBRARY_PATH
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12043 $as_echo "$dynamic_linker" >&6; }
12044 test no = "$dynamic_linker" && can_build_shared=no
12046 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12047 if test yes = "$GCC"; then
12048 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12051 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12052 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12055 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12056 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12059 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12060 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12062 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12063 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12065 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12066 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12165 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12167 if test -n "$hardcode_libdir_flag_spec" ||
12168 test -n "$runpath_var" ||
12169 test yes = "$hardcode_automatic"; then
12171 # We can hardcode non-existent directories.
12172 if test no != "$hardcode_direct" &&
12173 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12174 # have to relink, otherwise we might link with an installed library
12175 # when we should be linking with a yet-to-be-installed one
12176 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12177 test no != "$hardcode_minus_L"; then
12178 # Linking always hardcodes the temporary library directory.
12179 hardcode_action=relink
12181 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12182 hardcode_action=immediate
12185 # We cannot hardcode anything, or else we can only hardcode existing
12187 hardcode_action=unsupported
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12190 $as_echo "$hardcode_action" >&6; }
12192 if test relink = "$hardcode_action" ||
12193 test yes = "$inherit_rpath"; then
12194 # Fast installation is not supported
12195 enable_fast_install=no
12196 elif test yes = "$shlibpath_overrides_runpath" ||
12197 test no = "$enable_shared"; then
12198 # Fast installation is not necessary
12199 enable_fast_install=needless
12207 if test yes != "$enable_dlopen"; then
12208 enable_dlopen=unknown
12209 enable_dlopen_self=unknown
12210 enable_dlopen_self_static=unknown
12217 lt_cv_dlopen=load_add_on
12219 lt_cv_dlopen_self=yes
12222 mingw* | pw32* | cegcc*)
12223 lt_cv_dlopen=LoadLibrary
12228 lt_cv_dlopen=dlopen
12233 # if libdl is installed we need to link against it
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12235 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12236 if ${ac_cv_lib_dl_dlopen+:} false; then :
12237 $as_echo_n "(cached) " >&6
12239 ac_check_lib_save_LIBS=$LIBS
12241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12259 if ac_fn_c_try_link "$LINENO"; then :
12260 ac_cv_lib_dl_dlopen=yes
12262 ac_cv_lib_dl_dlopen=no
12264 rm -f core conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 LIBS=$ac_check_lib_save_LIBS
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12269 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12270 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12271 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12276 lt_cv_dlopen_self=yes
12283 # Don't try to run any link tests for TPF. We know it's impossible
12284 # because TPF is a cross-compiler, and we know how we open DSOs.
12285 lt_cv_dlopen=dlopen
12287 lt_cv_dlopen_self=no
12291 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12292 if test "x$ac_cv_func_shl_load" = xyes; then :
12293 lt_cv_dlopen=shl_load
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12296 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12297 if ${ac_cv_lib_dld_shl_load+:} false; then :
12298 $as_echo_n "(cached) " >&6
12300 ac_check_lib_save_LIBS=$LIBS
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12305 /* Override any GCC internal prototype to avoid an error.
12306 Use char because int might match the return type of a GCC
12307 builtin and then its argument prototype would still apply. */
12315 return shl_load ();
12320 if ac_fn_c_try_link "$LINENO"; then :
12321 ac_cv_lib_dld_shl_load=yes
12323 ac_cv_lib_dld_shl_load=no
12325 rm -f core conftest.err conftest.$ac_objext \
12326 conftest$ac_exeext conftest.$ac_ext
12327 LIBS=$ac_check_lib_save_LIBS
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12330 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12331 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12332 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12334 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12335 if test "x$ac_cv_func_dlopen" = xyes; then :
12336 lt_cv_dlopen=dlopen
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12339 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12340 if ${ac_cv_lib_dl_dlopen+:} false; then :
12341 $as_echo_n "(cached) " >&6
12343 ac_check_lib_save_LIBS=$LIBS
12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12346 /* end confdefs.h. */
12348 /* Override any GCC internal prototype to avoid an error.
12349 Use char because int might match the return type of a GCC
12350 builtin and then its argument prototype would still apply. */
12363 if ac_fn_c_try_link "$LINENO"; then :
12364 ac_cv_lib_dl_dlopen=yes
12366 ac_cv_lib_dl_dlopen=no
12368 rm -f core conftest.err conftest.$ac_objext \
12369 conftest$ac_exeext conftest.$ac_ext
12370 LIBS=$ac_check_lib_save_LIBS
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12373 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12374 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12375 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12378 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12379 if ${ac_cv_lib_svld_dlopen+:} false; then :
12380 $as_echo_n "(cached) " >&6
12382 ac_check_lib_save_LIBS=$LIBS
12383 LIBS="-lsvld $LIBS"
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12402 if ac_fn_c_try_link "$LINENO"; then :
12403 ac_cv_lib_svld_dlopen=yes
12405 ac_cv_lib_svld_dlopen=no
12407 rm -f core conftest.err conftest.$ac_objext \
12408 conftest$ac_exeext conftest.$ac_ext
12409 LIBS=$ac_check_lib_save_LIBS
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12412 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12413 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12414 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12417 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12418 if ${ac_cv_lib_dld_dld_link+:} false; then :
12419 $as_echo_n "(cached) " >&6
12421 ac_check_lib_save_LIBS=$LIBS
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12436 return dld_link ();
12441 if ac_fn_c_try_link "$LINENO"; then :
12442 ac_cv_lib_dld_dld_link=yes
12444 ac_cv_lib_dld_dld_link=no
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 LIBS=$ac_check_lib_save_LIBS
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12451 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12452 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12453 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12474 if test no = "$lt_cv_dlopen"; then
12480 case $lt_cv_dlopen in
12482 save_CPPFLAGS=$CPPFLAGS
12483 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12485 save_LDFLAGS=$LDFLAGS
12486 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12489 LIBS="$lt_cv_dlopen_libs $LIBS"
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12492 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12493 if ${lt_cv_dlopen_self+:} false; then :
12494 $as_echo_n "(cached) " >&6
12496 if test yes = "$cross_compiling"; then :
12497 lt_cv_dlopen_self=cross
12499 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12500 lt_status=$lt_dlunknown
12501 cat > conftest.$ac_ext <<_LT_EOF
12502 #line $LINENO "configure"
12503 #include "confdefs.h"
12512 # define LT_DLGLOBAL RTLD_GLOBAL
12515 # define LT_DLGLOBAL DL_GLOBAL
12517 # define LT_DLGLOBAL 0
12521 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12522 find out it does not work in some platform. */
12523 #ifndef LT_DLLAZY_OR_NOW
12525 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12528 # define LT_DLLAZY_OR_NOW DL_LAZY
12531 # define LT_DLLAZY_OR_NOW RTLD_NOW
12534 # define LT_DLLAZY_OR_NOW DL_NOW
12536 # define LT_DLLAZY_OR_NOW 0
12543 /* When -fvisibility=hidden is used, assume the code has been annotated
12544 correspondingly for the symbols needed. */
12545 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12546 int fnord () __attribute__((visibility("default")));
12549 int fnord () { return 42; }
12552 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12553 int status = $lt_dlunknown;
12557 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12560 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12561 else puts (dlerror ());
12563 /* dlclose (self); */
12571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12572 (eval $ac_link) 2>&5
12574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12575 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12576 (./conftest; exit; ) >&5 2>/dev/null
12578 case x$lt_status in
12579 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12580 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12581 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12584 # compilation failed
12585 lt_cv_dlopen_self=no
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12593 $as_echo "$lt_cv_dlopen_self" >&6; }
12595 if test yes = "$lt_cv_dlopen_self"; then
12596 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12598 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12599 if ${lt_cv_dlopen_self_static+:} false; then :
12600 $as_echo_n "(cached) " >&6
12602 if test yes = "$cross_compiling"; then :
12603 lt_cv_dlopen_self_static=cross
12605 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12606 lt_status=$lt_dlunknown
12607 cat > conftest.$ac_ext <<_LT_EOF
12608 #line $LINENO "configure"
12609 #include "confdefs.h"
12618 # define LT_DLGLOBAL RTLD_GLOBAL
12621 # define LT_DLGLOBAL DL_GLOBAL
12623 # define LT_DLGLOBAL 0
12627 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12628 find out it does not work in some platform. */
12629 #ifndef LT_DLLAZY_OR_NOW
12631 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12634 # define LT_DLLAZY_OR_NOW DL_LAZY
12637 # define LT_DLLAZY_OR_NOW RTLD_NOW
12640 # define LT_DLLAZY_OR_NOW DL_NOW
12642 # define LT_DLLAZY_OR_NOW 0
12649 /* When -fvisibility=hidden is used, assume the code has been annotated
12650 correspondingly for the symbols needed. */
12651 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12652 int fnord () __attribute__((visibility("default")));
12655 int fnord () { return 42; }
12658 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12659 int status = $lt_dlunknown;
12663 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12666 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12667 else puts (dlerror ());
12669 /* dlclose (self); */
12677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12678 (eval $ac_link) 2>&5
12680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12681 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12682 (./conftest; exit; ) >&5 2>/dev/null
12684 case x$lt_status in
12685 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12686 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12687 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12690 # compilation failed
12691 lt_cv_dlopen_self_static=no
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12699 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12702 CPPFLAGS=$save_CPPFLAGS
12703 LDFLAGS=$save_LDFLAGS
12708 case $lt_cv_dlopen_self in
12709 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12710 *) enable_dlopen_self=unknown ;;
12713 case $lt_cv_dlopen_self_static in
12714 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12715 *) enable_dlopen_self_static=unknown ;;
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12738 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12739 if test -z "$STRIP"; then
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12741 $as_echo "no" >&6; }
12743 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12744 old_striplib="$STRIP --strip-debug"
12745 striplib="$STRIP --strip-unneeded"
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12747 $as_echo "yes" >&6; }
12751 # FIXME - insert some real tests, host_os isn't really good enough
12752 striplib="$STRIP -x"
12753 old_striplib="$STRIP -S"
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12755 $as_echo "yes" >&6; }
12758 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
12759 old_striplib="$STRIP --strip-debug"
12760 striplib="$STRIP --strip-unneeded"
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12762 $as_echo "yes" >&6; }
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12765 $as_echo "no" >&6; }
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12770 $as_echo "no" >&6; }
12787 # Report what library types will actually be built
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12789 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12791 $as_echo "$can_build_shared" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12794 $as_echo_n "checking whether to build shared libraries... " >&6; }
12795 test no = "$can_build_shared" && enable_shared=no
12797 # On AIX, shared libraries and static libraries use the same namespace, and
12798 # are all built from PIC.
12801 test yes = "$enable_shared" && enable_static=no
12802 if test -n "$RANLIB"; then
12803 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12804 postinstall_cmds='$RANLIB $lib'
12809 if test ia64 != "$host_cpu"; then
12810 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12811 yes,aix,yes) ;; # shared object as lib.so file only
12812 yes,svr4,*) ;; # shared object as lib.so archive member only
12813 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12819 $as_echo "$enable_shared" >&6; }
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12822 $as_echo_n "checking whether to build static libraries... " >&6; }
12823 # Make sure either enable_shared or enable_static is yes.
12824 test yes = "$enable_shared" || enable_static=yes
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12826 $as_echo "$enable_static" >&6; }
12833 ac_cpp='$CPP $CPPFLAGS'
12834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12854 ac_config_commands="$ac_config_commands libtool"
12859 # Only expand once:
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
12863 $as_echo_n "checking whether ln -s works... " >&6; }
12865 if test "$LN_S" = "ln -s"; then
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12867 $as_echo "yes" >&6; }
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
12870 $as_echo "no, using $LN_S" >&6; }
12874 # Check for GCC visibility feature
12879 VISIBILITY_CXXFLAGS=
12881 if test -n "$GCC"; then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
12883 $as_echo_n "checking whether the -Werror option is usable... " >&6; }
12884 if ${pcre2_cv_cc_vis_werror+:} false; then :
12885 $as_echo_n "(cached) " >&6
12888 pcre2_save_CFLAGS="$CFLAGS"
12889 CFLAGS="$CFLAGS -Werror"
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12901 if ac_fn_c_try_compile "$LINENO"; then :
12902 pcre2_cv_cc_vis_werror=yes
12904 pcre2_cv_cc_vis_werror=no
12906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12907 CFLAGS="$pcre2_save_CFLAGS"
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre2_cv_cc_vis_werror" >&5
12911 $as_echo "$pcre2_cv_cc_vis_werror" >&6; }
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
12913 $as_echo_n "checking for simple visibility declarations... " >&6; }
12914 if ${pcre2_cv_cc_visibility+:} false; then :
12915 $as_echo_n "(cached) " >&6
12918 pcre2_save_CFLAGS="$CFLAGS"
12919 CFLAGS="$CFLAGS -fvisibility=hidden"
12920 if test $pcre2_cv_cc_vis_werror = yes; then
12921 CFLAGS="$CFLAGS -Werror"
12923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12924 /* end confdefs.h. */
12925 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
12926 extern __attribute__((__visibility__("default"))) int exportedvar;
12927 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
12928 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
12929 void dummyfunc (void) {}
12939 if ac_fn_c_try_compile "$LINENO"; then :
12940 pcre2_cv_cc_visibility=yes
12942 pcre2_cv_cc_visibility=no
12944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12945 CFLAGS="$pcre2_save_CFLAGS"
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre2_cv_cc_visibility" >&5
12949 $as_echo "$pcre2_cv_cc_visibility" >&6; }
12950 if test $pcre2_cv_cc_visibility = yes; then
12951 VISIBILITY_CFLAGS="-fvisibility=hidden"
12952 VISIBILITY_CXXFLAGS="-fvisibility=hidden -fvisibility-inlines-hidden"
12955 $as_echo "#define PCRE2_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
12958 $as_echo "#define PCRE2_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
12961 $as_echo "#define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
12964 $as_echo "#define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
12972 cat >>confdefs.h <<_ACEOF
12973 #define HAVE_VISIBILITY $HAVE_VISIBILITY
12982 PCRE2_PRERELEASE=""
12983 PCRE2_DATE="2018-09-10"
12985 if test "$PCRE2_MINOR" = "08" -o "$PCRE2_MINOR" = "09"
12988 echo "*** Minor version number $PCRE2_MINOR must not be used. ***"
12989 echo "*** Use only 00 to 07 or 10 onwards, to avoid octal issues. ***"
12999 # Set a more sensible default value for $(htmldir).
13000 if test "x$htmldir" = 'x${docdir}'
13002 htmldir='${docdir}/html'
13005 # Force an error for PCRE1 size options
13006 # Check whether --enable-pcre8 was given.
13007 if test "${enable_pcre8+set}" = set; then :
13008 enableval=$enable_pcre8;
13013 # Check whether --enable-pcre16 was given.
13014 if test "${enable_pcre16+set}" = set; then :
13015 enableval=$enable_pcre16;
13020 # Check whether --enable-pcre32 was given.
13021 if test "${enable_pcre32+set}" = set; then :
13022 enableval=$enable_pcre32;
13028 if test "$enable_pcre8$enable_pcre16$enable_pcre32" != "nonono"
13030 echo "** ERROR: Use --[en|dis]able-pcre2-[8|16|32], not --[en|dis]able-pcre[8|16|32]"
13034 # Handle --disable-pcre2-8 (enabled by default)
13035 # Check whether --enable-pcre2-8 was given.
13036 if test "${enable_pcre2_8+set}" = set; then :
13037 enableval=$enable_pcre2_8;
13039 enable_pcre2_8=unset
13044 # Handle --enable-pcre2-16 (disabled by default)
13045 # Check whether --enable-pcre2-16 was given.
13046 if test "${enable_pcre2_16+set}" = set; then :
13047 enableval=$enable_pcre2_16;
13049 enable_pcre2_16=unset
13054 # Handle --enable-pcre2-32 (disabled by default)
13055 # Check whether --enable-pcre2-32 was given.
13056 if test "${enable_pcre2_32+set}" = set; then :
13057 enableval=$enable_pcre2_32;
13059 enable_pcre2_32=unset
13064 # Handle --dnable-debug (disabled by default)
13065 # Check whether --enable-debug was given.
13066 if test "${enable_debug+set}" = set; then :
13067 enableval=$enable_debug;
13073 # Handle --enable-jit (disabled by default)
13074 # Check whether --enable-jit was given.
13075 if test "${enable_jit+set}" = set; then :
13076 enableval=$enable_jit;
13082 # This code enables JIT if the hardware supports it.
13083 if test "$enable_jit" = "auto"; then
13085 ac_cpp='$CPP $CPPFLAGS'
13086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13093 #define SLJIT_CONFIG_AUTO 1
13094 #include "src/sljit/sljitConfigInternal.h"
13095 #if (defined SLJIT_CONFIG_UNSUPPORTED && SLJIT_CONFIG_UNSUPPORTED)
13099 if ac_fn_c_try_compile "$LINENO"; then :
13104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13105 echo checking for JIT support on this hardware... $enable_jit
13108 # Handle --enable-jit-sealloc (disabled by default)
13109 # Check whether --enable-jit-sealloc was given.
13110 if test "${enable_jit_sealloc+set}" = set; then :
13111 enableval=$enable_jit_sealloc;
13113 enable_jit_sealloc=no
13117 # Handle --disable-pcre2grep-jit (enabled by default)
13118 # Check whether --enable-pcre2grep-jit was given.
13119 if test "${enable_pcre2grep_jit+set}" = set; then :
13120 enableval=$enable_pcre2grep_jit;
13122 enable_pcre2grep_jit=yes
13126 # Handle --disable-pcre2grep-callout (enabled by default)
13127 # Check whether --enable-pcre2grep-callout was given.
13128 if test "${enable_pcre2grep_callout+set}" = set; then :
13129 enableval=$enable_pcre2grep_callout;
13131 enable_pcre2grep_callout=yes
13135 # Handle --enable-rebuild-chartables
13136 # Check whether --enable-rebuild-chartables was given.
13137 if test "${enable_rebuild_chartables+set}" = set; then :
13138 enableval=$enable_rebuild_chartables;
13140 enable_rebuild_chartables=no
13144 # Handle --disable-unicode (enabled by default)
13145 # Check whether --enable-unicode was given.
13146 if test "${enable_unicode+set}" = set; then :
13147 enableval=$enable_unicode;
13149 enable_unicode=unset
13153 # Handle newline options
13154 ac_pcre2_newline=lf
13155 # Check whether --enable-newline-is-cr was given.
13156 if test "${enable_newline_is_cr+set}" = set; then :
13157 enableval=$enable_newline_is_cr; ac_pcre2_newline=cr
13160 # Check whether --enable-newline-is-lf was given.
13161 if test "${enable_newline_is_lf+set}" = set; then :
13162 enableval=$enable_newline_is_lf; ac_pcre2_newline=lf
13165 # Check whether --enable-newline-is-crlf was given.
13166 if test "${enable_newline_is_crlf+set}" = set; then :
13167 enableval=$enable_newline_is_crlf; ac_pcre2_newline=crlf
13170 # Check whether --enable-newline-is-anycrlf was given.
13171 if test "${enable_newline_is_anycrlf+set}" = set; then :
13172 enableval=$enable_newline_is_anycrlf; ac_pcre2_newline=anycrlf
13175 # Check whether --enable-newline-is-any was given.
13176 if test "${enable_newline_is_any+set}" = set; then :
13177 enableval=$enable_newline_is_any; ac_pcre2_newline=any
13180 # Check whether --enable-newline-is-nul was given.
13181 if test "${enable_newline_is_nul+set}" = set; then :
13182 enableval=$enable_newline_is_nul; ac_pcre2_newline=nul
13185 enable_newline="$ac_pcre2_newline"
13187 # Handle --enable-bsr-anycrlf
13188 # Check whether --enable-bsr-anycrlf was given.
13189 if test "${enable_bsr_anycrlf+set}" = set; then :
13190 enableval=$enable_bsr_anycrlf;
13192 enable_bsr_anycrlf=no
13196 # Handle --enable-never-backslash-C
13197 # Check whether --enable-never-backslash-C was given.
13198 if test "${enable_never_backslash_C+set}" = set; then :
13199 enableval=$enable_never_backslash_C;
13201 enable_never_backslash_C=no
13205 # Handle --enable-ebcdic
13206 # Check whether --enable-ebcdic was given.
13207 if test "${enable_ebcdic+set}" = set; then :
13208 enableval=$enable_ebcdic;
13214 # Handle --enable-ebcdic-nl25
13215 # Check whether --enable-ebcdic-nl25 was given.
13216 if test "${enable_ebcdic_nl25+set}" = set; then :
13217 enableval=$enable_ebcdic_nl25;
13219 enable_ebcdic_nl25=no
13223 # Handle --enable-pcre2grep-libz
13224 # Check whether --enable-pcre2grep-libz was given.
13225 if test "${enable_pcre2grep_libz+set}" = set; then :
13226 enableval=$enable_pcre2grep_libz;
13228 enable_pcre2grep_libz=no
13232 # Handle --enable-pcre2grep-libbz2
13233 # Check whether --enable-pcre2grep-libbz2 was given.
13234 if test "${enable_pcre2grep_libbz2+set}" = set; then :
13235 enableval=$enable_pcre2grep_libbz2;
13237 enable_pcre2grep_libbz2=no
13241 # Handle --with-pcre2grep-bufsize=N
13243 # Check whether --with-pcre2grep-bufsize was given.
13244 if test "${with_pcre2grep_bufsize+set}" = set; then :
13245 withval=$with_pcre2grep_bufsize;
13247 with_pcre2grep_bufsize=20480
13251 # Handle --with-pcre2grep-max-bufsize=N
13253 # Check whether --with-pcre2grep-max-bufsize was given.
13254 if test "${with_pcre2grep_max_bufsize+set}" = set; then :
13255 withval=$with_pcre2grep_max_bufsize;
13257 with_pcre2grep_max_bufsize=1048576
13261 # Handle --enable-pcre2test-libedit
13262 # Check whether --enable-pcre2test-libedit was given.
13263 if test "${enable_pcre2test_libedit+set}" = set; then :
13264 enableval=$enable_pcre2test_libedit;
13266 enable_pcre2test_libedit=no
13270 # Handle --enable-pcre2test-libreadline
13271 # Check whether --enable-pcre2test-libreadline was given.
13272 if test "${enable_pcre2test_libreadline+set}" = set; then :
13273 enableval=$enable_pcre2test_libreadline;
13275 enable_pcre2test_libreadline=no
13279 # Handle --with-link-size=N
13281 # Check whether --with-link-size was given.
13282 if test "${with_link_size+set}" = set; then :
13283 withval=$with_link_size;
13289 # Handle --with-parens-nest-limit=N
13291 # Check whether --with-parens-nest-limit was given.
13292 if test "${with_parens_nest_limit+set}" = set; then :
13293 withval=$with_parens_nest_limit;
13295 with_parens_nest_limit=250
13299 # Handle --with-heap-limit
13301 # Check whether --with-heap-limit was given.
13302 if test "${with_heap_limit+set}" = set; then :
13303 withval=$with_heap_limit;
13305 with_heap_limit=20000000
13309 # Handle --with-match-limit=N
13311 # Check whether --with-match-limit was given.
13312 if test "${with_match_limit+set}" = set; then :
13313 withval=$with_match_limit;
13315 with_match_limit=10000000
13319 # Handle --with-match-limit-depth=N
13320 # Recognize old synonym --with-match-limit-recursion
13322 # Note: In config.h, the default is to define MATCH_LIMIT_DEPTH symbolically as
13323 # MATCH_LIMIT, which in turn is defined to be some numeric value (e.g.
13324 # 10000000). MATCH_LIMIT_DEPTH can otherwise be set to some different numeric
13325 # value (or even the same numeric value as MATCH_LIMIT, though no longer
13326 # defined in terms of the latter).
13329 # Check whether --with-match-limit-depth was given.
13330 if test "${with_match_limit_depth+set}" = set; then :
13331 withval=$with_match_limit_depth;
13333 with_match_limit_depth=MATCH_LIMIT
13338 # Check whether --with-match-limit-recursion was given.
13339 if test "${with_match_limit_recursion+set}" = set; then :
13340 withval=$with_match_limit_recursion;
13342 with_match_limit_recursion=UNSET
13346 # Handle --enable-valgrind
13347 # Check whether --enable-valgrind was given.
13348 if test "${enable_valgrind+set}" = set; then :
13349 enableval=$enable_valgrind;
13355 # Enable code coverage reports using gcov
13356 # Check whether --enable-coverage was given.
13357 if test "${enable_coverage+set}" = set; then :
13358 enableval=$enable_coverage;
13364 # Handle --enable-fuzz-support
13365 # Check whether --enable-fuzz_support was given.
13366 if test "${enable_fuzz_support+set}" = set; then :
13367 enableval=$enable_fuzz_support;
13369 enable_fuzz_support=no
13373 # Handle --disable-stack-for-recursion
13374 # This option became obsolete at release 10.30.
13375 # Check whether --enable-stack-for-recursion was given.
13376 if test "${enable_stack_for_recursion+set}" = set; then :
13377 enableval=$enable_stack_for_recursion;
13379 enable_stack_for_recursion=yes
13384 # AC_ARG_ENABLE(stack-for-recursion,
13385 # AS_HELP_STRING([--disable-stack-for-recursion],
13386 # [don't use stack recursion when matching]),
13387 # , enable_stack_for_recursion=yes)
13389 # Set the default value for pcre2-8
13390 if test "x$enable_pcre2_8" = "xunset"
13395 # Set the default value for pcre2-16
13396 if test "x$enable_pcre2_16" = "xunset"
13401 # Set the default value for pcre2-32
13402 if test "x$enable_pcre2_32" = "xunset"
13407 # Make sure at least one library is selected
13408 if test "x$enable_pcre2_8$enable_pcre2_16$enable_pcre2_32" = "xnonono"
13410 as_fn_error $? "At least one of the 8, 16 or 32 bit libraries must be enabled" "$LINENO" 5
13413 # Unicode is enabled by default.
13414 if test "x$enable_unicode" = "xunset"
13419 # Convert the newline identifier into the appropriate integer value. These must
13420 # agree with the PCRE2_NEWLINE_xxx values in pcre2.h.
13422 case "$enable_newline" in
13423 cr) ac_pcre2_newline_value=1 ;;
13424 lf) ac_pcre2_newline_value=2 ;;
13425 crlf) ac_pcre2_newline_value=3 ;;
13426 any) ac_pcre2_newline_value=4 ;;
13427 anycrlf) ac_pcre2_newline_value=5 ;;
13428 nul) ac_pcre2_newline_value=6 ;;
13430 as_fn_error $? "invalid argument \"$enable_newline\" to --enable-newline option" "$LINENO" 5
13434 # --enable-ebcdic-nl25 implies --enable-ebcdic
13435 if test "x$enable_ebcdic_nl25" = "xyes"; then
13439 # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled.
13440 # Also check that UTF support is not requested, because PCRE2 cannot handle
13441 # EBCDIC and UTF in the same build. To do so it would need to use different
13442 # character constants depending on the mode. Also, EBCDIC cannot be used with
13443 # 16-bit and 32-bit libraries.
13445 if test "x$enable_ebcdic" = "xyes"; then
13446 enable_rebuild_chartables=yes
13447 if test "x$enable_unicode" = "xyes"; then
13448 as_fn_error $? "support for EBCDIC and Unicode cannot be enabled at the same time" "$LINENO" 5
13450 if test "x$enable_pcre2_16" = "xyes" -o "x$enable_pcre2_32" = "xyes"; then
13451 as_fn_error $? "EBCDIC support is available only for the 8-bit library" "$LINENO" 5
13455 # Check argument to --with-link-size
13456 case "$with_link_size" in
13459 as_fn_error $? "invalid argument \"$with_link_size\" to --with-link-size option" "$LINENO" 5
13465 # Checks for header files.
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13467 $as_echo_n "checking for ANSI C header files... " >&6; }
13468 if ${ac_cv_header_stdc+:} false; then :
13469 $as_echo_n "(cached) " >&6
13471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13472 /* end confdefs.h. */
13473 #include <stdlib.h>
13474 #include <stdarg.h>
13475 #include <string.h>
13486 if ac_fn_c_try_compile "$LINENO"; then :
13487 ac_cv_header_stdc=yes
13489 ac_cv_header_stdc=no
13491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13493 if test $ac_cv_header_stdc = yes; then
13494 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13497 #include <string.h>
13500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13501 $EGREP "memchr" >/dev/null 2>&1; then :
13504 ac_cv_header_stdc=no
13510 if test $ac_cv_header_stdc = yes; then
13511 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13513 /* end confdefs.h. */
13514 #include <stdlib.h>
13517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13518 $EGREP "free" >/dev/null 2>&1; then :
13521 ac_cv_header_stdc=no
13527 if test $ac_cv_header_stdc = yes; then
13528 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13529 if test "$cross_compiling" = yes; then :
13532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13533 /* end confdefs.h. */
13535 #include <stdlib.h>
13536 #if ((' ' & 0x0FF) == 0x020)
13537 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13538 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13540 # define ISLOWER(c) \
13541 (('a' <= (c) && (c) <= 'i') \
13542 || ('j' <= (c) && (c) <= 'r') \
13543 || ('s' <= (c) && (c) <= 'z'))
13544 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13547 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13552 for (i = 0; i < 256; i++)
13553 if (XOR (islower (i), ISLOWER (i))
13554 || toupper (i) != TOUPPER (i))
13559 if ac_fn_c_try_run "$LINENO"; then :
13562 ac_cv_header_stdc=no
13564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13565 conftest.$ac_objext conftest.beam conftest.$ac_ext
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13571 $as_echo "$ac_cv_header_stdc" >&6; }
13572 if test $ac_cv_header_stdc = yes; then
13574 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13578 for ac_header in limits.h sys/types.h sys/stat.h dirent.h
13580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13581 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13582 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13583 cat >>confdefs.h <<_ACEOF
13584 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13591 for ac_header in windows.h
13593 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
13594 if test "x$ac_cv_header_windows_h" = xyes; then :
13595 cat >>confdefs.h <<_ACEOF
13596 #define HAVE_WINDOWS_H 1
13603 for ac_header in sys/wait.h
13605 ac_fn_c_check_header_mongrel "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
13606 if test "x$ac_cv_header_sys_wait_h" = xyes; then :
13607 cat >>confdefs.h <<_ACEOF
13608 #define HAVE_SYS_WAIT_H 1
13616 for ac_header in stdint.h
13618 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
13619 if test "x$ac_cv_header_stdint_h" = xyes; then :
13620 cat >>confdefs.h <<_ACEOF
13621 #define HAVE_STDINT_H 1
13623 PCRE2_HAVE_STDINT_H=1
13625 PCRE2_HAVE_STDINT_H=0
13630 for ac_header in inttypes.h
13632 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
13633 if test "x$ac_cv_header_inttypes_h" = xyes; then :
13634 cat >>confdefs.h <<_ACEOF
13635 #define HAVE_INTTYPES_H 1
13637 PCRE2_HAVE_INTTYPES_H=1
13639 PCRE2_HAVE_INTTYPES_H=0
13647 # Conditional compilation
13648 if test "x$enable_pcre2_8" = "xyes"; then
13650 WITH_PCRE2_8_FALSE='#'
13652 WITH_PCRE2_8_TRUE='#'
13653 WITH_PCRE2_8_FALSE=
13656 if test "x$enable_pcre2_16" = "xyes"; then
13657 WITH_PCRE2_16_TRUE=
13658 WITH_PCRE2_16_FALSE='#'
13660 WITH_PCRE2_16_TRUE='#'
13661 WITH_PCRE2_16_FALSE=
13664 if test "x$enable_pcre2_32" = "xyes"; then
13665 WITH_PCRE2_32_TRUE=
13666 WITH_PCRE2_32_FALSE='#'
13668 WITH_PCRE2_32_TRUE='#'
13669 WITH_PCRE2_32_FALSE=
13672 if test "x$enable_debug" = "xyes"; then
13674 WITH_DEBUG_FALSE='#'
13676 WITH_DEBUG_TRUE='#'
13680 if test "x$enable_rebuild_chartables" = "xyes"; then
13681 WITH_REBUILD_CHARTABLES_TRUE=
13682 WITH_REBUILD_CHARTABLES_FALSE='#'
13684 WITH_REBUILD_CHARTABLES_TRUE='#'
13685 WITH_REBUILD_CHARTABLES_FALSE=
13688 if test "x$enable_jit" = "xyes"; then
13696 if test "x$enable_unicode" = "xyes"; then
13698 WITH_UNICODE_FALSE='#'
13700 WITH_UNICODE_TRUE='#'
13701 WITH_UNICODE_FALSE=
13704 if test "x$enable_valgrind" = "xyes"; then
13705 WITH_VALGRIND_TRUE=
13706 WITH_VALGRIND_FALSE='#'
13708 WITH_VALGRIND_TRUE='#'
13709 WITH_VALGRIND_FALSE=
13712 if test "x$enable_fuzz_support" = "xyes"; then
13713 WITH_FUZZ_SUPPORT_TRUE=
13714 WITH_FUZZ_SUPPORT_FALSE='#'
13716 WITH_FUZZ_SUPPORT_TRUE='#'
13717 WITH_FUZZ_SUPPORT_FALSE=
13721 if test "$enable_fuzz_support" = "yes" -a "$enable_pcre2_8" = "no"; then
13722 echo "** ERROR: Fuzzer support requires the 8-bit library"
13726 # Checks for typedefs, structures, and compiler characteristics.
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13729 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13730 if ${ac_cv_c_const+:} false; then :
13731 $as_echo_n "(cached) " >&6
13733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13740 #ifndef __cplusplus
13741 /* Ultrix mips cc rejects this sort of thing. */
13742 typedef int charset[2];
13743 const charset cs = { 0, 0 };
13744 /* SunOS 4.1.1 cc rejects this. */
13745 char const *const *pcpcc;
13747 /* NEC SVR4.0.2 mips cc rejects this. */
13748 struct point {int x, y;};
13749 static struct point const zero = {0,0};
13750 /* AIX XL C 1.02.0.0 rejects this.
13751 It does not let you subtract one const X* pointer from another in
13752 an arm of an if-expression whose if-part is not a constant
13754 const char *g = "string";
13755 pcpcc = &g + (g ? g-g : 0);
13756 /* HPUX 7.0 cc rejects these. */
13758 ppc = (char**) pcpcc;
13759 pcpcc = (char const *const *) ppc;
13760 { /* SCO 3.2v4 cc rejects this sort of thing. */
13763 char const *s = 0 ? (char *) 0 : (char const *) 0;
13768 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13769 int x[] = {25, 17};
13770 const int *foo = &x[0];
13773 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13774 typedef const int *iptr;
13778 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13779 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13780 struct s { int j; const int *ap[3]; } bx;
13781 struct s *b = &bx; b->j = 5;
13783 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13784 const int foo = 10;
13785 if (!foo) return 0;
13787 return !cs[0] && !zero.x;
13794 if ac_fn_c_try_compile "$LINENO"; then :
13799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13802 $as_echo "$ac_cv_c_const" >&6; }
13803 if test $ac_cv_c_const = no; then
13805 $as_echo "#define const /**/" >>confdefs.h
13809 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13810 if test "x$ac_cv_type_size_t" = xyes; then :
13814 cat >>confdefs.h <<_ACEOF
13815 #define size_t unsigned int
13821 # Checks for library functions.
13823 for ac_func in bcopy memmove strerror mkostemp secure_getenv
13825 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13827 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13828 cat >>confdefs.h <<_ACEOF
13829 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13836 # Check for the availability of libz (aka zlib)
13838 for ac_header in zlib.h
13840 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13841 if test "x$ac_cv_header_zlib_h" = xyes; then :
13842 cat >>confdefs.h <<_ACEOF
13843 #define HAVE_ZLIB_H 1
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
13851 $as_echo_n "checking for gzopen in -lz... " >&6; }
13852 if ${ac_cv_lib_z_gzopen+:} false; then :
13853 $as_echo_n "(cached) " >&6
13855 ac_check_lib_save_LIBS=$LIBS
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 ac_cv_lib_z_gzopen=yes
13878 ac_cv_lib_z_gzopen=no
13880 rm -f core conftest.err conftest.$ac_objext \
13881 conftest$ac_exeext conftest.$ac_ext
13882 LIBS=$ac_check_lib_save_LIBS
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
13885 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
13886 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
13891 # Check for the availability of libbz2. Originally we just used AC_CHECK_LIB,
13892 # as for libz. However, this had the following problem, diagnosed and fixed by
13895 # - libbz2 uses the Pascal calling convention (WINAPI) for the functions
13897 # - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",
13898 # therefore missing the function definition.
13899 # - The compiler thus generates a "C" signature for the test function.
13900 # - The linker fails to find the "C" function.
13901 # - PCRE2 fails to configure if asked to do so against libbz2.
13905 # - Replace the AC_CHECK_LIB test with a custom test.
13907 for ac_header in bzlib.h
13909 ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
13910 if test "x$ac_cv_header_bzlib_h" = xyes; then :
13911 cat >>confdefs.h <<_ACEOF
13912 #define HAVE_BZLIB_H 1
13920 # AC_CHECK_LIB([bz2], [BZ2_bzopen], [HAVE_LIBBZ2=1])
13922 # Custom test follows
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbz2" >&5
13925 $as_echo_n "checking for libbz2... " >&6; }
13928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13931 #ifdef HAVE_BZLIB_H
13937 return (int)BZ2_bzopen("conftest", "rb");
13942 if ac_fn_c_try_link "$LINENO"; then :
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13944 $as_echo "yes" >&6; };HAVE_LIBBZ2=1; break;
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13947 $as_echo "no" >&6; }
13949 rm -f core conftest.err conftest.$ac_objext \
13950 conftest$ac_exeext conftest.$ac_ext
13953 # Check for the availabiity of libreadline
13955 if test "$enable_pcre2test_libreadline" = "yes"; then
13956 for ac_header in readline/readline.h
13958 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
13959 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
13960 cat >>confdefs.h <<_ACEOF
13961 #define HAVE_READLINE_READLINE_H 1
13968 for ac_header in readline/history.h
13970 ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
13971 if test "x$ac_cv_header_readline_history_h" = xyes; then :
13972 cat >>confdefs.h <<_ACEOF
13973 #define HAVE_READLINE_HISTORY_H 1
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
13981 $as_echo_n "checking for readline in -lreadline... " >&6; }
13982 if ${ac_cv_lib_readline_readline+:} false; then :
13983 $as_echo_n "(cached) " >&6
13985 ac_check_lib_save_LIBS=$LIBS
13986 LIBS="-lreadline $LIBS"
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13990 /* Override any GCC internal prototype to avoid an error.
13991 Use char because int might match the return type of a GCC
13992 builtin and then its argument prototype would still apply. */
14000 return readline ();
14005 if ac_fn_c_try_link "$LINENO"; then :
14006 ac_cv_lib_readline_readline=yes
14008 ac_cv_lib_readline_readline=no
14010 rm -f core conftest.err conftest.$ac_objext \
14011 conftest$ac_exeext conftest.$ac_ext
14012 LIBS=$ac_check_lib_save_LIBS
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
14015 $as_echo "$ac_cv_lib_readline_readline" >&6; }
14016 if test "x$ac_cv_lib_readline_readline" = xyes; then :
14017 LIBREADLINE="-lreadline"
14019 unset ac_cv_lib_readline_readline;
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
14021 $as_echo_n "checking for readline in -lreadline... " >&6; }
14022 if ${ac_cv_lib_readline_readline+:} false; then :
14023 $as_echo_n "(cached) " >&6
14025 ac_check_lib_save_LIBS=$LIBS
14026 LIBS="-lreadline -ltinfo $LIBS"
14027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14028 /* end confdefs.h. */
14030 /* Override any GCC internal prototype to avoid an error.
14031 Use char because int might match the return type of a GCC
14032 builtin and then its argument prototype would still apply. */
14040 return readline ();
14045 if ac_fn_c_try_link "$LINENO"; then :
14046 ac_cv_lib_readline_readline=yes
14048 ac_cv_lib_readline_readline=no
14050 rm -f core conftest.err conftest.$ac_objext \
14051 conftest$ac_exeext conftest.$ac_ext
14052 LIBS=$ac_check_lib_save_LIBS
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
14055 $as_echo "$ac_cv_lib_readline_readline" >&6; }
14056 if test "x$ac_cv_lib_readline_readline" = xyes; then :
14057 LIBREADLINE="-ltinfo"
14059 unset ac_cv_lib_readline_readline;
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
14061 $as_echo_n "checking for readline in -lreadline... " >&6; }
14062 if ${ac_cv_lib_readline_readline+:} false; then :
14063 $as_echo_n "(cached) " >&6
14065 ac_check_lib_save_LIBS=$LIBS
14066 LIBS="-lreadline -lcurses $LIBS"
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14080 return readline ();
14085 if ac_fn_c_try_link "$LINENO"; then :
14086 ac_cv_lib_readline_readline=yes
14088 ac_cv_lib_readline_readline=no
14090 rm -f core conftest.err conftest.$ac_objext \
14091 conftest$ac_exeext conftest.$ac_ext
14092 LIBS=$ac_check_lib_save_LIBS
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
14095 $as_echo "$ac_cv_lib_readline_readline" >&6; }
14096 if test "x$ac_cv_lib_readline_readline" = xyes; then :
14097 LIBREADLINE="-lcurses"
14099 unset ac_cv_lib_readline_readline;
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
14101 $as_echo_n "checking for readline in -lreadline... " >&6; }
14102 if ${ac_cv_lib_readline_readline+:} false; then :
14103 $as_echo_n "(cached) " >&6
14105 ac_check_lib_save_LIBS=$LIBS
14106 LIBS="-lreadline -lncurses $LIBS"
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14110 /* Override any GCC internal prototype to avoid an error.
14111 Use char because int might match the return type of a GCC
14112 builtin and then its argument prototype would still apply. */
14120 return readline ();
14125 if ac_fn_c_try_link "$LINENO"; then :
14126 ac_cv_lib_readline_readline=yes
14128 ac_cv_lib_readline_readline=no
14130 rm -f core conftest.err conftest.$ac_objext \
14131 conftest$ac_exeext conftest.$ac_ext
14132 LIBS=$ac_check_lib_save_LIBS
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
14135 $as_echo "$ac_cv_lib_readline_readline" >&6; }
14136 if test "x$ac_cv_lib_readline_readline" = xyes; then :
14137 LIBREADLINE="-lncurses"
14139 unset ac_cv_lib_readline_readline;
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
14141 $as_echo_n "checking for readline in -lreadline... " >&6; }
14142 if ${ac_cv_lib_readline_readline+:} false; then :
14143 $as_echo_n "(cached) " >&6
14145 ac_check_lib_save_LIBS=$LIBS
14146 LIBS="-lreadline -lncursesw $LIBS"
14147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14150 /* Override any GCC internal prototype to avoid an error.
14151 Use char because int might match the return type of a GCC
14152 builtin and then its argument prototype would still apply. */
14160 return readline ();
14165 if ac_fn_c_try_link "$LINENO"; then :
14166 ac_cv_lib_readline_readline=yes
14168 ac_cv_lib_readline_readline=no
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14172 LIBS=$ac_check_lib_save_LIBS
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
14175 $as_echo "$ac_cv_lib_readline_readline" >&6; }
14176 if test "x$ac_cv_lib_readline_readline" = xyes; then :
14177 LIBREADLINE="-lncursesw"
14179 unset ac_cv_lib_readline_readline;
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
14181 $as_echo_n "checking for readline in -lreadline... " >&6; }
14182 if ${ac_cv_lib_readline_readline+:} false; then :
14183 $as_echo_n "(cached) " >&6
14185 ac_check_lib_save_LIBS=$LIBS
14186 LIBS="-lreadline -ltermcap $LIBS"
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14190 /* Override any GCC internal prototype to avoid an error.
14191 Use char because int might match the return type of a GCC
14192 builtin and then its argument prototype would still apply. */
14200 return readline ();
14205 if ac_fn_c_try_link "$LINENO"; then :
14206 ac_cv_lib_readline_readline=yes
14208 ac_cv_lib_readline_readline=no
14210 rm -f core conftest.err conftest.$ac_objext \
14211 conftest$ac_exeext conftest.$ac_ext
14212 LIBS=$ac_check_lib_save_LIBS
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
14215 $as_echo "$ac_cv_lib_readline_readline" >&6; }
14216 if test "x$ac_cv_lib_readline_readline" = xyes; then :
14217 LIBREADLINE="-ltermcap"
14233 if test -n "$LIBREADLINE"; then
14234 if test "$LIBREADLINE" != "-lreadline"; then
14235 echo "-lreadline needs $LIBREADLINE"
14236 LIBREADLINE="-lreadline $LIBREADLINE"
14242 # Check for the availability of libedit. Different distributions put its
14243 # headers in different places. Try to cover the most common ones.
14245 if test "$enable_pcre2test_libedit" = "yes"; then
14246 for ac_header in editline/readline.h
14248 ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
14249 if test "x$ac_cv_header_editline_readline_h" = xyes; then :
14250 cat >>confdefs.h <<_ACEOF
14251 #define HAVE_EDITLINE_READLINE_H 1
14253 HAVE_EDITLINE_READLINE_H=1
14255 for ac_header in edit/readline/readline.h
14257 ac_fn_c_check_header_mongrel "$LINENO" "edit/readline/readline.h" "ac_cv_header_edit_readline_readline_h" "$ac_includes_default"
14258 if test "x$ac_cv_header_edit_readline_readline_h" = xyes; then :
14259 cat >>confdefs.h <<_ACEOF
14260 #define HAVE_EDIT_READLINE_READLINE_H 1
14262 HAVE_READLINE_READLINE_H=1
14264 for ac_header in readline/readline.h
14266 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
14267 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
14268 cat >>confdefs.h <<_ACEOF
14269 #define HAVE_READLINE_READLINE_H 1
14271 HAVE_READLINE_READLINE_H=1
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5
14285 $as_echo_n "checking for readline in -ledit... " >&6; }
14286 if ${ac_cv_lib_edit_readline+:} false; then :
14287 $as_echo_n "(cached) " >&6
14289 ac_check_lib_save_LIBS=$LIBS
14290 LIBS="-ledit $LIBS"
14291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14292 /* end confdefs.h. */
14294 /* Override any GCC internal prototype to avoid an error.
14295 Use char because int might match the return type of a GCC
14296 builtin and then its argument prototype would still apply. */
14304 return readline ();
14309 if ac_fn_c_try_link "$LINENO"; then :
14310 ac_cv_lib_edit_readline=yes
14312 ac_cv_lib_edit_readline=no
14314 rm -f core conftest.err conftest.$ac_objext \
14315 conftest$ac_exeext conftest.$ac_ext
14316 LIBS=$ac_check_lib_save_LIBS
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5
14319 $as_echo "$ac_cv_lib_edit_readline" >&6; }
14320 if test "x$ac_cv_lib_edit_readline" = xyes; then :
14326 PCRE2_STATIC_CFLAG=""
14327 if test "x$enable_shared" = "xno" ; then
14329 $as_echo "#define PCRE2_STATIC 1" >>confdefs.h
14331 PCRE2_STATIC_CFLAG="-DPCRE2_STATIC"
14335 # Here is where PCRE2-specific defines are handled
14337 if test "$enable_pcre2_8" = "yes"; then
14339 $as_echo "#define SUPPORT_PCRE2_8 /**/" >>confdefs.h
14343 if test "$enable_pcre2_16" = "yes"; then
14345 $as_echo "#define SUPPORT_PCRE2_16 /**/" >>confdefs.h
14349 if test "$enable_pcre2_32" = "yes"; then
14351 $as_echo "#define SUPPORT_PCRE2_32 /**/" >>confdefs.h
14355 if test "$enable_debug" = "yes"; then
14357 $as_echo "#define PCRE2_DEBUG /**/" >>confdefs.h
14361 # Unless running under Windows, JIT support requires pthreads.
14363 if test "$enable_jit" = "yes"; then
14364 if test "$HAVE_WINDOWS_H" != "1"; then
14368 ac_cpp='$CPP $CPPFLAGS'
14369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14375 # We used to check for pthread.h first, but this fails if pthread.h
14376 # requires special compiler flags (e.g. on True64 or Sequent).
14377 # It gets checked for in the link test anyway.
14379 # First of all, check if the user has set any of the PTHREAD_LIBS,
14380 # etcetera environment variables, and if threads linking works using
14382 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
14383 save_CFLAGS="$CFLAGS"
14384 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
14386 LIBS="$PTHREAD_LIBS $LIBS"
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
14388 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
14389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14392 /* Override any GCC internal prototype to avoid an error.
14393 Use char because int might match the return type of a GCC
14394 builtin and then its argument prototype would still apply. */
14398 char pthread_join ();
14402 return pthread_join ();
14407 if ac_fn_c_try_link "$LINENO"; then :
14410 rm -f core conftest.err conftest.$ac_objext \
14411 conftest$ac_exeext conftest.$ac_ext
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
14413 $as_echo "$ax_pthread_ok" >&6; }
14414 if test x"$ax_pthread_ok" = xno; then
14419 CFLAGS="$save_CFLAGS"
14422 # We must check for the threads library under a number of different
14423 # names; the ordering is very important because some systems
14424 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
14425 # libraries is broken (non-POSIX).
14427 # Create a list of thread flags to try. Items starting with a "-" are
14428 # C compiler flags, and other items are library names, except for "none"
14429 # which indicates that we try without any flags at all, and "pthread-config"
14430 # which is a program returning the flags for the Pth emulation library.
14432 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
14434 # The ordering *is* (sometimes) important. Some notes on the
14435 # individual items follow:
14437 # pthreads: AIX (must check this before -lpthread)
14438 # none: in case threads are in libc; should be tried before -Kthread and
14439 # other compiler flags to prevent continual compiler warnings
14440 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
14441 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
14442 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
14443 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
14444 # -pthreads: Solaris/gcc
14445 # -mthreads: Mingw32/gcc, Lynx/gcc
14446 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
14447 # doesn't hurt to check since this sometimes defines pthreads too;
14448 # also defines -D_REENTRANT)
14449 # ... -mt is also the pthreads flag for HP/aCC
14450 # pthread: Linux, etcetera
14451 # --thread-safe: KAI C++
14452 # pthread-config: use pthread-config program (for GNU Pth library)
14457 # On Solaris (at least, for some versions), libc contains stubbed
14458 # (non-functional) versions of the pthreads routines, so link-based
14459 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
14460 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
14461 # a function called by this macro, so we could check for that, but
14462 # who knows whether they'll stub that too in a future libc.) So,
14463 # we'll just look for -pthreads and -lpthread first:
14465 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
14469 ax_pthread_flags="-pthread $ax_pthread_flags"
14473 if test x"$ax_pthread_ok" = xno; then
14474 for flag in $ax_pthread_flags; do
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
14479 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
14484 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
14485 PTHREAD_CFLAGS="$flag"
14489 # Extract the first word of "pthread-config", so it can be a program name with args.
14490 set dummy pthread-config; ac_word=$2
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14492 $as_echo_n "checking for $ac_word... " >&6; }
14493 if ${ac_cv_prog_ax_pthread_config+:} false; then :
14494 $as_echo_n "(cached) " >&6
14496 if test -n "$ax_pthread_config"; then
14497 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
14499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14500 for as_dir in $PATH
14503 test -z "$as_dir" && as_dir=.
14504 for ac_exec_ext in '' $ac_executable_extensions; do
14505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14506 ac_cv_prog_ax_pthread_config="yes"
14507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14514 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
14517 ax_pthread_config=$ac_cv_prog_ax_pthread_config
14518 if test -n "$ax_pthread_config"; then
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
14520 $as_echo "$ax_pthread_config" >&6; }
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14523 $as_echo "no" >&6; }
14527 if test x"$ax_pthread_config" = xno; then continue; fi
14528 PTHREAD_CFLAGS="`pthread-config --cflags`"
14529 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
14534 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
14535 PTHREAD_LIBS="-l$flag"
14540 save_CFLAGS="$CFLAGS"
14541 LIBS="$PTHREAD_LIBS $LIBS"
14542 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
14544 # Check for various functions. We must include pthread.h,
14545 # since some functions may be macros. (On the Sequent, we
14546 # need a special flag -Kthread to make this header compile.)
14547 # We check for pthread_join because it is in -lpthread on IRIX
14548 # while pthread_create is in libc. We check for pthread_attr_init
14549 # due to DEC craziness with -lpthreads. We check for
14550 # pthread_cleanup_push because it is one of the few pthread
14551 # functions on Solaris that doesn't have a non-functional libc stub.
14552 # We try pthread_create on general principles.
14553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14554 /* end confdefs.h. */
14555 #include <pthread.h>
14556 static void routine(void *a) { a = 0; }
14557 static void *start_routine(void *a) { return a; }
14561 pthread_t th; pthread_attr_t attr;
14562 pthread_create(&th, 0, start_routine, 0);
14563 pthread_join(th, 0);
14564 pthread_attr_init(&attr);
14565 pthread_cleanup_push(routine, 0);
14566 pthread_cleanup_pop(0) /* ; */
14571 if ac_fn_c_try_link "$LINENO"; then :
14574 rm -f core conftest.err conftest.$ac_objext \
14575 conftest$ac_exeext conftest.$ac_ext
14578 CFLAGS="$save_CFLAGS"
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
14581 $as_echo "$ax_pthread_ok" >&6; }
14582 if test "x$ax_pthread_ok" = xyes; then
14591 # Various other checks:
14592 if test "x$ax_pthread_ok" = xyes; then
14594 LIBS="$PTHREAD_LIBS $LIBS"
14595 save_CFLAGS="$CFLAGS"
14596 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
14598 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
14600 $as_echo_n "checking for joinable pthread attribute... " >&6; }
14602 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
14603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604 /* end confdefs.h. */
14605 #include <pthread.h>
14609 int attr = $attr; return attr /* ; */
14614 if ac_fn_c_try_link "$LINENO"; then :
14615 attr_name=$attr; break
14617 rm -f core conftest.err conftest.$ac_objext \
14618 conftest$ac_exeext conftest.$ac_ext
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
14621 $as_echo "$attr_name" >&6; }
14622 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
14624 cat >>confdefs.h <<_ACEOF
14625 #define PTHREAD_CREATE_JOINABLE $attr_name
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
14631 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
14634 aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
14635 osf* | hpux*) flag="-D_REENTRANT";;
14637 if test "$GCC" = "yes"; then
14638 flag="-D_REENTRANT"
14640 flag="-mt -D_REENTRANT"
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
14645 $as_echo "${flag}" >&6; }
14646 if test "x$flag" != xno; then
14647 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
14651 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
14652 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
14653 $as_echo_n "(cached) " >&6
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14659 #include <pthread.h>
14663 int i = PTHREAD_PRIO_INHERIT;
14668 if ac_fn_c_try_link "$LINENO"; then :
14669 ax_cv_PTHREAD_PRIO_INHERIT=yes
14671 ax_cv_PTHREAD_PRIO_INHERIT=no
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
14678 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
14679 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
14681 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
14686 CFLAGS="$save_CFLAGS"
14688 # More AIX lossage: must compile with xlc_r or cc_r
14689 if test x"$GCC" != xyes; then
14690 for ac_prog in xlc_r cc_r
14692 # Extract the first word of "$ac_prog", so it can be a program name with args.
14693 set dummy $ac_prog; ac_word=$2
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14695 $as_echo_n "checking for $ac_word... " >&6; }
14696 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
14697 $as_echo_n "(cached) " >&6
14699 if test -n "$PTHREAD_CC"; then
14700 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
14702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14703 for as_dir in $PATH
14706 test -z "$as_dir" && as_dir=.
14707 for ac_exec_ext in '' $ac_executable_extensions; do
14708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14709 ac_cv_prog_PTHREAD_CC="$ac_prog"
14710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14719 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
14720 if test -n "$PTHREAD_CC"; then
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
14722 $as_echo "$PTHREAD_CC" >&6; }
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14725 $as_echo "no" >&6; }
14729 test -n "$PTHREAD_CC" && break
14731 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
14744 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
14745 if test x"$ax_pthread_ok" = xyes; then
14747 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
14752 as_fn_error $? "JIT support requires pthreads" "$LINENO" 5
14755 ac_cpp='$CPP $CPPFLAGS'
14756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14762 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
14763 LIBS="$PTHREAD_LIBS $LIBS"
14766 $as_echo "#define SUPPORT_JIT /**/" >>confdefs.h
14769 enable_pcre2grep_jit="no"
14772 if test "$enable_jit_sealloc" = "yes"; then
14774 $as_echo "#define SLJIT_PROT_EXECUTABLE_ALLOCATOR 1" >>confdefs.h
14778 if test "$enable_pcre2grep_jit" = "yes"; then
14780 $as_echo "#define SUPPORT_PCRE2GREP_JIT /**/" >>confdefs.h
14784 if test "$enable_pcre2grep_callout" = "yes"; then
14785 if test "$HAVE_WINDOWS_H" != "1"; then
14786 if test "$HAVE_SYS_WAIT_H" != "1"; then
14787 as_fn_error $? "Callout script support needs sys/wait.h." "$LINENO" 5
14791 $as_echo "#define SUPPORT_PCRE2GREP_CALLOUT /**/" >>confdefs.h
14795 if test "$enable_unicode" = "yes"; then
14797 $as_echo "#define SUPPORT_UNICODE /**/" >>confdefs.h
14801 if test "$enable_pcre2grep_libz" = "yes"; then
14803 $as_echo "#define SUPPORT_LIBZ /**/" >>confdefs.h
14807 if test "$enable_pcre2grep_libbz2" = "yes"; then
14809 $as_echo "#define SUPPORT_LIBBZ2 /**/" >>confdefs.h
14813 if test $with_pcre2grep_bufsize -lt 8192 ; then
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $with_pcre2grep_bufsize is too small for --with-pcre2grep-bufsize; using 8192" >&5
14815 $as_echo "$as_me: WARNING: $with_pcre2grep_bufsize is too small for --with-pcre2grep-bufsize; using 8192" >&2;}
14816 with_pcre2grep_bufsize="8192"
14818 if test $? -gt 1 ; then
14819 as_fn_error $? "Bad value for --with-pcre2grep-bufsize" "$LINENO" 5
14823 if test $with_pcre2grep_max_bufsize -lt $with_pcre2grep_bufsize ; then
14824 with_pcre2grep_max_bufsize="$with_pcre2grep_bufsize"
14826 if test $? -gt 1 ; then
14827 as_fn_error $? "Bad value for --with-pcre2grep-max-bufsize" "$LINENO" 5
14832 cat >>confdefs.h <<_ACEOF
14833 #define PCRE2GREP_BUFSIZE $with_pcre2grep_bufsize
14838 cat >>confdefs.h <<_ACEOF
14839 #define PCRE2GREP_MAX_BUFSIZE $with_pcre2grep_max_bufsize
14843 if test "$enable_pcre2test_libedit" = "yes"; then
14845 $as_echo "#define SUPPORT_LIBEDIT /**/" >>confdefs.h
14847 LIBREADLINE="$LIBEDIT"
14848 elif test "$enable_pcre2test_libreadline" = "yes"; then
14850 $as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h
14855 cat >>confdefs.h <<_ACEOF
14856 #define NEWLINE_DEFAULT $ac_pcre2_newline_value
14860 if test "$enable_bsr_anycrlf" = "yes"; then
14862 $as_echo "#define BSR_ANYCRLF /**/" >>confdefs.h
14866 if test "$enable_never_backslash_C" = "yes"; then
14868 $as_echo "#define NEVER_BACKSLASH_C /**/" >>confdefs.h
14873 cat >>confdefs.h <<_ACEOF
14874 #define LINK_SIZE $with_link_size
14879 cat >>confdefs.h <<_ACEOF
14880 #define PARENS_NEST_LIMIT $with_parens_nest_limit
14885 cat >>confdefs.h <<_ACEOF
14886 #define MATCH_LIMIT $with_match_limit
14890 # --with-match-limit-recursion is an obsolete synonym for --with-match-limit-depth
14892 if test "$with_match_limit_recursion" != "UNSET"; then
14895 WARNING: --with-match-limit-recursion is an obsolete option. Please use
14896 --with-match-limit-depth in future. If both are set, --with-match-limit-depth
14897 will be used. See also --with-heap-limit.
14900 if test "$with_match_limit_depth" = "MATCH_LIMIT"; then
14901 with_match_limit_depth=$with_match_limit_recursion
14906 cat >>confdefs.h <<_ACEOF
14907 #define MATCH_LIMIT_DEPTH $with_match_limit_depth
14912 cat >>confdefs.h <<_ACEOF
14913 #define HEAP_LIMIT $with_heap_limit
14918 $as_echo "#define MAX_NAME_SIZE 32" >>confdefs.h
14922 $as_echo "#define MAX_NAME_COUNT 10000" >>confdefs.h
14927 if test "$enable_ebcdic" = "yes"; then
14929 cat >>confdefs.h <<_ACEOF
14930 #define EBCDIC /**/
14935 if test "$enable_ebcdic_nl25" = "yes"; then
14937 cat >>confdefs.h <<_ACEOF
14938 #define EBCDIC_NL25 /**/
14943 if test "$enable_valgrind" = "yes"; then
14945 cat >>confdefs.h <<_ACEOF
14946 #define SUPPORT_VALGRIND /**/
14951 # Platform specific issues
14953 EXPORT_ALL_SYMBOLS=
14956 if test X"$enable_shared" = Xyes; then
14957 NO_UNDEFINED="-no-undefined"
14958 EXPORT_ALL_SYMBOLS="-Wl,--export-all-symbols"
14963 # The extra LDFLAGS for each particular library. The libpcre2*_version values
14964 # are m4 variables, assigned above.
14966 EXTRA_LIBPCRE2_8_LDFLAGS="$EXTRA_LIBPCRE2_8_LDFLAGS \
14967 $NO_UNDEFINED -version-info 7:1:7"
14969 EXTRA_LIBPCRE2_16_LDFLAGS="$EXTRA_LIBPCRE2_16_LDFLAGS \
14970 $NO_UNDEFINED -version-info 7:1:7"
14972 EXTRA_LIBPCRE2_32_LDFLAGS="$EXTRA_LIBPCRE2_32_LDFLAGS \
14973 $NO_UNDEFINED -version-info 7:1:7"
14975 EXTRA_LIBPCRE2_POSIX_LDFLAGS="$EXTRA_LIBPCRE2_POSIX_LDFLAGS \
14976 $NO_UNDEFINED -version-info 2:1:0"
14983 # When we run 'make distcheck', use these arguments. Turning off compiler
14984 # optimization makes it run faster.
14985 DISTCHECK_CONFIGURE_FLAGS="CFLAGS='' CXXFLAGS='' --enable-pcre2-16 --enable-pcre2-32 --enable-jit"
14988 # Check that, if --enable-pcre2grep-libz or --enable-pcre2grep-libbz2 is
14989 # specified, the relevant library is available.
14991 if test "$enable_pcre2grep_libz" = "yes"; then
14992 if test "$HAVE_ZLIB_H" != "1"; then
14993 echo "** Cannot --enable-pcre2grep-libz because zlib.h was not found"
14996 if test "$HAVE_LIBZ" != "1"; then
14997 echo "** Cannot --enable-pcre2grep-libz because libz was not found"
15004 if test "$enable_pcre2grep_libbz2" = "yes"; then
15005 if test "$HAVE_BZLIB_H" != "1"; then
15006 echo "** Cannot --enable-pcre2grep-libbz2 because bzlib.h was not found"
15009 if test "$HAVE_LIBBZ2" != "1"; then
15010 echo "** Cannot --enable-pcre2grep-libbz2 because libbz2 was not found"
15017 # Similarly for --enable-pcre2test-readline
15019 if test "$enable_pcre2test_libedit" = "yes"; then
15020 if test "$enable_pcre2test_libreadline" = "yes"; then
15021 echo "** Cannot use both --enable-pcre2test-libedit and --enable-pcre2test-readline"
15024 if test "$HAVE_EDITLINE_READLINE_H" != "1" -a \
15025 "$HAVE_READLINE_READLINE_H" != "1"; then
15026 echo "** Cannot --enable-pcre2test-libedit because neither editline/readline.h"
15027 echo "** nor readline/readline.h was found."
15030 if test -z "$LIBEDIT"; then
15031 echo "** Cannot --enable-pcre2test-libedit because libedit library was not found."
15036 if test "$enable_pcre2test_libreadline" = "yes"; then
15037 if test "$HAVE_READLINE_H" != "1"; then
15038 echo "** Cannot --enable-pcre2test-readline because readline/readline.h was not found."
15041 if test "$HAVE_HISTORY_H" != "1"; then
15042 echo "** Cannot --enable-pcre2test-readline because readline/history.h was not found."
15045 if test -z "$LIBREADLINE"; then
15046 echo "** Cannot --enable-pcre2test-readline because readline library was not found."
15051 # Handle valgrind support
15053 if test "$enable_valgrind" = "yes"; then
15061 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15062 if test -n "$ac_tool_prefix"; then
15063 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15064 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15066 $as_echo_n "checking for $ac_word... " >&6; }
15067 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15068 $as_echo_n "(cached) " >&6
15070 case $PKG_CONFIG in
15072 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15076 for as_dir in $PATH
15079 test -z "$as_dir" && as_dir=.
15080 for ac_exec_ext in '' $ac_executable_extensions; do
15081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15082 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15093 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15094 if test -n "$PKG_CONFIG"; then
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15096 $as_echo "$PKG_CONFIG" >&6; }
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15099 $as_echo "no" >&6; }
15104 if test -z "$ac_cv_path_PKG_CONFIG"; then
15105 ac_pt_PKG_CONFIG=$PKG_CONFIG
15106 # Extract the first word of "pkg-config", so it can be a program name with args.
15107 set dummy pkg-config; ac_word=$2
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15109 $as_echo_n "checking for $ac_word... " >&6; }
15110 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15111 $as_echo_n "(cached) " >&6
15113 case $ac_pt_PKG_CONFIG in
15115 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15119 for as_dir in $PATH
15122 test -z "$as_dir" && as_dir=.
15123 for ac_exec_ext in '' $ac_executable_extensions; do
15124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15125 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15136 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15137 if test -n "$ac_pt_PKG_CONFIG"; then
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15139 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15142 $as_echo "no" >&6; }
15145 if test "x$ac_pt_PKG_CONFIG" = x; then
15148 case $cross_compiling:$ac_tool_warned in
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15152 ac_tool_warned=yes ;;
15154 PKG_CONFIG=$ac_pt_PKG_CONFIG
15157 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15161 if test -n "$PKG_CONFIG"; then
15162 _pkg_min_version=0.9.0
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15164 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15165 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15167 $as_echo "yes" >&6; }
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15170 $as_echo "no" >&6; }
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
15177 $as_echo_n "checking for VALGRIND... " >&6; }
15179 if test -n "$VALGRIND_CFLAGS"; then
15180 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
15181 elif test -n "$PKG_CONFIG"; then
15182 if test -n "$PKG_CONFIG" && \
15183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
15184 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
15186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15187 test $ac_status = 0; }; then
15188 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null`
15189 test "x$?" != "x0" && pkg_failed=yes
15196 if test -n "$VALGRIND_LIBS"; then
15197 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
15198 elif test -n "$PKG_CONFIG"; then
15199 if test -n "$PKG_CONFIG" && \
15200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
15201 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
15203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15204 test $ac_status = 0; }; then
15205 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind" 2>/dev/null`
15206 test "x$?" != "x0" && pkg_failed=yes
15216 if test $pkg_failed = yes; then
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15218 $as_echo "no" >&6; }
15220 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15221 _pkg_short_errors_supported=yes
15223 _pkg_short_errors_supported=no
15225 if test $_pkg_short_errors_supported = yes; then
15226 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind" 2>&1`
15228 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "valgrind" 2>&1`
15230 # Put the nasty error message in config.log where it belongs
15231 echo "$VALGRIND_PKG_ERRORS" >&5
15233 as_fn_error $? "Package requirements (valgrind) were not met:
15235 $VALGRIND_PKG_ERRORS
15237 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15238 installed software in a non-standard prefix.
15240 Alternatively, you may set the environment variables VALGRIND_CFLAGS
15241 and VALGRIND_LIBS to avoid the need to call pkg-config.
15242 See the pkg-config man page for more details." "$LINENO" 5
15243 elif test $pkg_failed = untried; then
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15245 $as_echo "no" >&6; }
15246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15248 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15249 is in your PATH or set the PKG_CONFIG environment variable to the full
15250 path to pkg-config.
15252 Alternatively, you may set the environment variables VALGRIND_CFLAGS
15253 and VALGRIND_LIBS to avoid the need to call pkg-config.
15254 See the pkg-config man page for more details.
15256 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15257 See \`config.log' for more details" "$LINENO" 5; }
15259 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
15260 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15262 $as_echo "yes" >&6; }
15267 # Handle code coverage reporting support
15268 if test "$enable_coverage" = "yes"; then
15269 if test "x$GCC" != "xyes"; then
15270 as_fn_error $? "Code coverage reports can only be generated when using GCC" "$LINENO" 5
15273 # ccache is incompatible with gcov
15274 # Extract the first word of "shtool", so it can be a program name with args.
15275 set dummy shtool; ac_word=$2
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15277 $as_echo_n "checking for $ac_word... " >&6; }
15278 if ${ac_cv_path_SHTOOL+:} false; then :
15279 $as_echo_n "(cached) " >&6
15283 ac_cv_path_SHTOOL="$SHTOOL" # Let the user override the test with a path.
15286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15287 for as_dir in $PATH
15290 test -z "$as_dir" && as_dir=.
15291 for ac_exec_ext in '' $ac_executable_extensions; do
15292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15293 ac_cv_path_SHTOOL="$as_dir/$ac_word$ac_exec_ext"
15294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15301 test -z "$ac_cv_path_SHTOOL" && ac_cv_path_SHTOOL="false"
15305 SHTOOL=$ac_cv_path_SHTOOL
15306 if test -n "$SHTOOL"; then
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
15308 $as_echo "$SHTOOL" >&6; }
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15311 $as_echo "no" >&6; }
15315 case `$SHTOOL path $CC` in
15316 *ccache*) cc_ccache=yes;;
15320 if test "$cc_ccache" = "yes"; then
15321 if test -z "$CCACHE_DISABLE" -o "$CCACHE_DISABLE" != "1"; then
15322 as_fn_error $? "must export CCACHE_DISABLE=1 to disable ccache for code coverage" "$LINENO" 5
15327 # Extract the first word of "lcov", so it can be a program name with args.
15328 set dummy lcov; ac_word=$2
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15330 $as_echo_n "checking for $ac_word... " >&6; }
15331 if ${ac_cv_path_LCOV+:} false; then :
15332 $as_echo_n "(cached) " >&6
15336 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
15339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15340 for as_dir in $PATH
15343 test -z "$as_dir" && as_dir=.
15344 for ac_exec_ext in '' $ac_executable_extensions; do
15345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15346 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
15347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15354 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="false"
15358 LCOV=$ac_cv_path_LCOV
15359 if test -n "$LCOV"; then
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
15361 $as_echo "$LCOV" >&6; }
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15364 $as_echo "no" >&6; }
15368 if test "x$LCOV" = "xfalse"; then
15369 as_fn_error $? "lcov not found" "$LINENO" 5
15373 # Extract the first word of "genhtml", so it can be a program name with args.
15374 set dummy genhtml; ac_word=$2
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15376 $as_echo_n "checking for $ac_word... " >&6; }
15377 if ${ac_cv_path_GENHTML+:} false; then :
15378 $as_echo_n "(cached) " >&6
15382 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
15385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15386 for as_dir in $PATH
15389 test -z "$as_dir" && as_dir=.
15390 for ac_exec_ext in '' $ac_executable_extensions; do
15391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15392 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
15393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15400 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="false"
15404 GENHTML=$ac_cv_path_GENHTML
15405 if test -n "$GENHTML"; then
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
15407 $as_echo "$GENHTML" >&6; }
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15410 $as_echo "no" >&6; }
15414 if test "x$GENHTML" = "xfalse"; then
15415 as_fn_error $? "genhtml not found" "$LINENO" 5
15418 # Set flags needed for gcov
15419 GCOV_CFLAGS="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
15420 GCOV_CXXFLAGS="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
15425 fi # enable_coverage
15427 if test "x$enable_coverage" = "xyes"; then
15429 WITH_GCOV_FALSE='#'
15436 # Produce these files, in addition to config.h.
15437 ac_config_files="$ac_config_files Makefile libpcre2-8.pc libpcre2-16.pc libpcre2-32.pc libpcre2-posix.pc pcre2-config src/pcre2.h"
15440 # Make the generated script files executable.
15441 ac_config_commands="$ac_config_commands script-chmod"
15444 # Make sure that pcre2_chartables.c is removed in case the method for
15445 # creating it was changed by reconfiguration.
15446 ac_config_commands="$ac_config_commands delete-old-chartables"
15449 cat >confcache <<\_ACEOF
15450 # This file is a shell script that caches the results of configure
15451 # tests run on this system so they can be shared between configure
15452 # scripts and configure runs, see configure's option --config-cache.
15453 # It is not useful on other systems. If it contains results you don't
15454 # want to keep, you may remove or edit it.
15456 # config.status only pays attention to the cache file if you give it
15457 # the --recheck option to rerun configure.
15459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15461 # following values.
15465 # The following way of writing the cache mishandles newlines in values,
15466 # but we know of no workaround that is simple, portable, and efficient.
15467 # So, we kill variables containing newlines.
15468 # Ultrix sh set writes to stderr and can't be redirected directly,
15469 # and sets the high bit in the cache file unless we assign to the vars.
15471 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15472 eval ac_val=\$$ac_var
15476 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15477 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15480 _ | IFS | as_nl) ;; #(
15481 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15482 *) { eval $ac_var=; unset $ac_var;} ;;
15488 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15489 *${as_nl}ac_space=\ *)
15490 # `set' does not quote correctly, so add quotes: double-quote
15491 # substitution turns \\\\ into \\, and sed turns \\ into \.
15494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15497 # `set' quotes correctly as required by POSIX, so do not add quotes.
15498 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15507 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15509 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15511 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15512 if test -w "$cache_file"; then
15513 if test "x$cache_file" != "x/dev/null"; then
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15515 $as_echo "$as_me: updating cache $cache_file" >&6;}
15516 if test ! -f "$cache_file" || test -h "$cache_file"; then
15517 cat confcache >"$cache_file"
15519 case $cache_file in #(
15521 mv -f confcache "$cache_file"$$ &&
15522 mv -f "$cache_file"$$ "$cache_file" ;; #(
15524 mv -f confcache "$cache_file" ;;
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15530 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15535 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15536 # Let make expand exec_prefix.
15537 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15539 DEFS=-DHAVE_CONFIG_H
15544 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15545 # 1. Remove the extension, and $U if already installed.
15546 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15547 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15548 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15549 # will be set to the directory where LIBOBJS objects are built.
15550 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15551 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15553 LIBOBJS=$ac_libobjs
15555 LTLIBOBJS=$ac_ltlibobjs
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15559 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15560 if test -n "$am_sleep_pid"; then
15561 # Hide warnings about reused PIDs.
15562 wait $am_sleep_pid 2>/dev/null
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15565 $as_echo "done" >&6; }
15566 if test -n "$EXEEXT"; then
15568 am__EXEEXT_FALSE='#'
15570 am__EXEEXT_TRUE='#'
15574 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15575 as_fn_error $? "conditional \"AMDEP\" was never defined.
15576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15578 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15579 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15582 if test -z "${WITH_PCRE2_8_TRUE}" && test -z "${WITH_PCRE2_8_FALSE}"; then
15583 as_fn_error $? "conditional \"WITH_PCRE2_8\" was never defined.
15584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15586 if test -z "${WITH_PCRE2_16_TRUE}" && test -z "${WITH_PCRE2_16_FALSE}"; then
15587 as_fn_error $? "conditional \"WITH_PCRE2_16\" was never defined.
15588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15590 if test -z "${WITH_PCRE2_32_TRUE}" && test -z "${WITH_PCRE2_32_FALSE}"; then
15591 as_fn_error $? "conditional \"WITH_PCRE2_32\" was never defined.
15592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15594 if test -z "${WITH_DEBUG_TRUE}" && test -z "${WITH_DEBUG_FALSE}"; then
15595 as_fn_error $? "conditional \"WITH_DEBUG\" was never defined.
15596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15598 if test -z "${WITH_REBUILD_CHARTABLES_TRUE}" && test -z "${WITH_REBUILD_CHARTABLES_FALSE}"; then
15599 as_fn_error $? "conditional \"WITH_REBUILD_CHARTABLES\" was never defined.
15600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15602 if test -z "${WITH_JIT_TRUE}" && test -z "${WITH_JIT_FALSE}"; then
15603 as_fn_error $? "conditional \"WITH_JIT\" was never defined.
15604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15606 if test -z "${WITH_UNICODE_TRUE}" && test -z "${WITH_UNICODE_FALSE}"; then
15607 as_fn_error $? "conditional \"WITH_UNICODE\" was never defined.
15608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15610 if test -z "${WITH_VALGRIND_TRUE}" && test -z "${WITH_VALGRIND_FALSE}"; then
15611 as_fn_error $? "conditional \"WITH_VALGRIND\" was never defined.
15612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15614 if test -z "${WITH_FUZZ_SUPPORT_TRUE}" && test -z "${WITH_FUZZ_SUPPORT_FALSE}"; then
15615 as_fn_error $? "conditional \"WITH_FUZZ_SUPPORT\" was never defined.
15616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15618 if test -z "${WITH_GCOV_TRUE}" && test -z "${WITH_GCOV_FALSE}"; then
15619 as_fn_error $? "conditional \"WITH_GCOV\" was never defined.
15620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15623 : "${CONFIG_STATUS=./config.status}"
15625 ac_clean_files_save=$ac_clean_files
15626 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15628 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15630 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15632 # Generated by $as_me.
15633 # Run this file to recreate the current configuration.
15634 # Compiler output produced by configure, useful for debugging
15635 # configure, is in config.log if it exists.
15638 ac_cs_recheck=false
15641 SHELL=\${CONFIG_SHELL-$SHELL}
15644 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15645 ## -------------------- ##
15646 ## M4sh Initialization. ##
15647 ## -------------------- ##
15649 # Be more Bourne compatible
15650 DUALCASE=1; export DUALCASE # for MKS sh
15651 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15654 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15655 # is contrary to our usage. Disable this feature.
15656 alias -g '${1+"$@"}'='"$@"'
15657 setopt NO_GLOB_SUBST
15659 case `(set -o) 2>/dev/null` in #(
15671 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15672 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15673 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15674 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15675 # Prefer a ksh shell builtin over an external printf program on Solaris,
15676 # but without wasting forks for bash or zsh.
15677 if test -z "$BASH_VERSION$ZSH_VERSION" \
15678 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15679 as_echo='print -r --'
15680 as_echo_n='print -rn --'
15681 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15682 as_echo='printf %s\n'
15683 as_echo_n='printf %s'
15685 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15686 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15687 as_echo_n='/usr/ucb/echo -n'
15689 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15690 as_echo_n_body='eval
15694 expr "X$arg" : "X\\(.*\\)$as_nl";
15695 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15697 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15699 export as_echo_n_body
15700 as_echo_n='sh -c $as_echo_n_body as_echo'
15702 export as_echo_body
15703 as_echo='sh -c $as_echo_body as_echo'
15706 # The user is always right.
15707 if test "${PATH_SEPARATOR+set}" != set; then
15709 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15710 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15717 # We need space, tab and new line, in precisely that order. Quoting is
15718 # there to prevent editors from complaining about space-tab.
15719 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15720 # splitting by setting IFS to empty value.)
15723 # Find who we are. Look in the path if we contain no directory separator.
15726 *[\\/]* ) as_myself=$0 ;;
15727 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15728 for as_dir in $PATH
15731 test -z "$as_dir" && as_dir=.
15732 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15738 # We did not find ourselves, most probably we were run as `sh COMMAND'
15739 # in which case we are not to be found in the path.
15740 if test "x$as_myself" = x; then
15743 if test ! -f "$as_myself"; then
15744 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15748 # Unset variables that we do not need and which cause bugs (e.g. in
15749 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15750 # suppresses any "Segmentation fault" message there. '((' could
15751 # trigger a bug in pdksh 5.2.14.
15752 for as_var in BASH_ENV ENV MAIL MAILPATH
15753 do eval test x\${$as_var+set} = xset \
15754 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15767 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15770 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15771 # ----------------------------------------
15772 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15773 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15774 # script with STATUS, using 1 if that was 0.
15777 as_status=$1; test $as_status -eq 0 && as_status=1
15779 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15780 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15782 $as_echo "$as_me: error: $2" >&2
15783 as_fn_exit $as_status
15787 # as_fn_set_status STATUS
15788 # -----------------------
15789 # Set $? to STATUS, without forking.
15790 as_fn_set_status ()
15793 } # as_fn_set_status
15795 # as_fn_exit STATUS
15796 # -----------------
15797 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15801 as_fn_set_status $1
15807 # Portably unset VAR.
15810 { eval $1=; unset $1;}
15812 as_unset=as_fn_unset
15813 # as_fn_append VAR VALUE
15814 # ----------------------
15815 # Append the text in VALUE to the end of the definition contained in VAR. Take
15816 # advantage of any shell optimizations that allow amortized linear growth over
15817 # repeated appends, instead of the typical quadratic growth present in naive
15819 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15820 eval 'as_fn_append ()
15831 # as_fn_arith ARG...
15832 # ------------------
15833 # Perform arithmetic evaluation on the ARGs, and store the result in the
15834 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15835 # must be portable across $(()) and expr.
15836 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15837 eval 'as_fn_arith ()
15844 as_val=`expr "$@" || test $? -eq 1`
15849 if expr a : '\(a\)' >/dev/null 2>&1 &&
15850 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15856 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15857 as_basename=basename
15862 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15868 as_me=`$as_basename -- "$0" ||
15869 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15870 X"$0" : 'X\(//\)$' \| \
15871 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15873 sed '/^.*\/\([^/][^/]*\)\/*$/{
15887 # Avoid depending upon Character Ranges.
15888 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15889 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15890 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15891 as_cr_digits='0123456789'
15892 as_cr_alnum=$as_cr_Letters$as_cr_digits
15894 ECHO_C= ECHO_N= ECHO_T=
15895 case `echo -n x` in #(((((
15897 case `echo 'xy\c'` in
15898 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15900 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15907 rm -f conf$$ conf$$.exe conf$$.file
15908 if test -d conf$$.dir; then
15909 rm -f conf$$.dir/conf$$.file
15912 mkdir conf$$.dir 2>/dev/null
15914 if (echo >conf$$.file) 2>/dev/null; then
15915 if ln -s conf$$.file conf$$ 2>/dev/null; then
15917 # ... but there are two gotchas:
15918 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15919 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15920 # In both cases, we have to default to `cp -pR'.
15921 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15923 elif ln conf$$.file conf$$ 2>/dev/null; then
15931 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15932 rmdir conf$$.dir 2>/dev/null
15937 # Create "$as_dir" as a directory, including parents if necessary.
15942 -*) as_dir=./$as_dir;;
15944 test -d "$as_dir" || eval $as_mkdir_p || {
15948 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15949 *) as_qdir=$as_dir;;
15951 as_dirs="'$as_qdir' $as_dirs"
15952 as_dir=`$as_dirname -- "$as_dir" ||
15953 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15954 X"$as_dir" : 'X\(//\)[^/]' \| \
15955 X"$as_dir" : 'X\(//\)$' \| \
15956 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15957 $as_echo X"$as_dir" |
15958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15962 /^X\(\/\/\)[^/].*/{
15975 test -d "$as_dir" && break
15977 test -z "$as_dirs" || eval "mkdir $as_dirs"
15978 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15982 if mkdir -p . 2>/dev/null; then
15983 as_mkdir_p='mkdir -p "$as_dir"'
15985 test -d ./-p && rmdir ./-p
15990 # as_fn_executable_p FILE
15991 # -----------------------
15992 # Test if FILE is an executable regular file.
15993 as_fn_executable_p ()
15995 test -f "$1" && test -x "$1"
15996 } # as_fn_executable_p
15997 as_test_x='test -x'
15998 as_executable_p=as_fn_executable_p
16000 # Sed expression to map a string onto a valid CPP name.
16001 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16003 # Sed expression to map a string onto a valid variable name.
16004 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16008 ## ----------------------------------- ##
16009 ## Main body of $CONFIG_STATUS script. ##
16010 ## ----------------------------------- ##
16012 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16015 # Save the log message, to keep $0 and so on meaningful, and to
16016 # report actual input values of CONFIG_FILES etc. instead of their
16017 # values after options handling.
16019 This file was extended by PCRE2 $as_me 10.32, which was
16020 generated by GNU Autoconf 2.69. Invocation command line was
16022 CONFIG_FILES = $CONFIG_FILES
16023 CONFIG_HEADERS = $CONFIG_HEADERS
16024 CONFIG_LINKS = $CONFIG_LINKS
16025 CONFIG_COMMANDS = $CONFIG_COMMANDS
16028 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16033 case $ac_config_files in *"
16034 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16037 case $ac_config_headers in *"
16038 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16043 # Files that config.status was made for.
16044 config_files="$ac_config_files"
16045 config_headers="$ac_config_headers"
16046 config_commands="$ac_config_commands"
16050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16052 \`$as_me' instantiates files and other configuration actions
16053 from templates according to the current configuration. Unless the files
16054 and actions are specified as TAGs, all are instantiated by default.
16056 Usage: $0 [OPTION]... [TAG]...
16058 -h, --help print this help, then exit
16059 -V, --version print version number and configuration settings, then exit
16060 --config print configuration, then exit
16061 -q, --quiet, --silent
16062 do not print progress messages
16063 -d, --debug don't remove temporary files
16064 --recheck update $as_me by reconfiguring in the same conditions
16065 --file=FILE[:TEMPLATE]
16066 instantiate the configuration file FILE
16067 --header=FILE[:TEMPLATE]
16068 instantiate the configuration header FILE
16070 Configuration files:
16073 Configuration headers:
16076 Configuration commands:
16079 Report bugs to the package provider."
16082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16083 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16085 PCRE2 config.status 10.32
16086 configured by $0, generated by GNU Autoconf 2.69,
16087 with options \\"\$ac_cs_config\\"
16089 Copyright (C) 2012 Free Software Foundation, Inc.
16090 This config.status script is free software; the Free Software Foundation
16091 gives unlimited permission to copy, distribute and modify it."
16098 test -n "\$AWK" || AWK=awk
16101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16102 # The default lists apply if the user does not specify any file.
16108 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16109 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16113 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16125 # Handling of the options.
16126 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16128 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16129 $as_echo "$ac_cs_version"; exit ;;
16130 --config | --confi | --conf | --con | --co | --c )
16131 $as_echo "$ac_cs_config"; exit ;;
16132 --debug | --debu | --deb | --de | --d | -d )
16134 --file | --fil | --fi | --f )
16137 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16138 '') as_fn_error $? "missing file argument" ;;
16140 as_fn_append CONFIG_FILES " '$ac_optarg'"
16141 ac_need_defaults=false;;
16142 --header | --heade | --head | --hea )
16145 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16147 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16148 ac_need_defaults=false;;
16150 # Conflict between --help and --header
16151 as_fn_error $? "ambiguous option: \`$1'
16152 Try \`$0 --help' for more information.";;
16153 --help | --hel | -h )
16154 $as_echo "$ac_cs_usage"; exit ;;
16155 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16156 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16159 # This is an error.
16160 -*) as_fn_error $? "unrecognized option: \`$1'
16161 Try \`$0 --help' for more information." ;;
16163 *) as_fn_append ac_config_targets " $1"
16164 ac_need_defaults=false ;;
16170 ac_configure_extra_args=
16172 if $ac_cs_silent; then
16174 ac_configure_extra_args="$ac_configure_extra_args --silent"
16178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16179 if \$ac_cs_recheck; then
16180 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16182 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16183 CONFIG_SHELL='$SHELL'
16184 export CONFIG_SHELL
16189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16193 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16194 ## Running $as_me. ##
16200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16204 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16207 # The HP-UX ksh and POSIX shell print the target directory to stdout
16208 # if CDPATH is set.
16209 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16211 sed_quote_subst='$sed_quote_subst'
16212 double_quote_subst='$double_quote_subst'
16213 delay_variable_subst='$delay_variable_subst'
16214 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16215 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16216 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16217 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16218 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16219 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16220 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16221 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16222 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16223 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16224 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16225 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16226 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16227 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16228 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16229 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16230 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16231 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16232 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16233 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16234 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16235 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16236 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16237 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16238 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16239 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16240 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16241 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16242 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16243 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16244 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16245 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16246 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16247 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16248 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16249 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16250 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16251 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16252 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16253 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16254 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16255 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16256 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16257 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16258 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16259 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16260 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16261 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16262 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16263 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16264 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16265 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16266 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16267 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16268 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16269 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16270 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16271 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16272 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16273 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16274 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"`'
16275 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16276 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16277 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16278 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16279 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16280 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16281 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16282 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16283 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16284 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16285 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16286 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16287 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16288 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16289 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16290 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16291 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16292 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16293 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16294 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16295 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16296 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16297 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16298 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16299 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16300 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16301 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16302 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16303 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16304 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16305 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16306 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16307 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16308 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16309 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16310 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16311 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16312 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16313 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16314 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16315 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16316 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16317 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16318 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16319 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16320 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16321 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16322 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16323 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16324 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16325 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16326 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16327 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16328 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16329 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16330 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16331 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16332 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16333 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16334 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16335 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16336 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16337 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16338 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16339 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16340 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16341 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16342 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16343 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16344 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16345 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16346 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16347 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16348 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16349 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16350 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16353 LTCFLAGS='$LTCFLAGS'
16354 compiler='$compiler_DEFAULT'
16356 # A function that is used when there is no print builtin or printf.
16357 func_fallback_echo ()
16359 eval 'cat <<_LTECHO_EOF
16364 # Quote evaled strings.
16381 deplibs_check_method \
16385 sharedlib_from_linklib_cmd \
16387 archiver_list_spec \
16393 lt_cv_sys_global_symbol_pipe \
16394 lt_cv_sys_global_symbol_to_cdecl \
16395 lt_cv_sys_global_symbol_to_import \
16396 lt_cv_sys_global_symbol_to_c_name_address \
16397 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16398 lt_cv_nm_interface \
16399 nm_file_list_spec \
16400 lt_cv_truncate_bin \
16401 lt_prog_compiler_no_builtin_flag \
16402 lt_prog_compiler_pic \
16403 lt_prog_compiler_wl \
16404 lt_prog_compiler_static \
16405 lt_cv_prog_compiler_c_o \
16414 export_dynamic_flag_spec \
16415 whole_archive_flag_spec \
16416 compiler_needs_object \
16418 allow_undefined_flag \
16419 no_undefined_flag \
16420 hardcode_libdir_flag_spec \
16421 hardcode_libdir_separator \
16425 variables_saved_for_relink \
16427 library_names_spec \
16429 install_override_mode \
16433 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16434 *[\\\\\\\`\\"\\\$]*)
16435 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16438 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16443 # Double-quote double-evaled strings.
16444 for var in reload_cmds \
16445 old_postinstall_cmds \
16446 old_postuninstall_cmds \
16448 extract_expsyms_cmds \
16449 old_archive_from_new_cmds \
16450 old_archive_from_expsyms_cmds \
16452 archive_expsym_cmds \
16454 module_expsym_cmds \
16455 export_symbols_cmds \
16459 postuninstall_cmds \
16461 sys_lib_search_path_spec \
16462 configure_time_dlsearch_path \
16463 configure_time_lt_sys_library_path; do
16464 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16465 *[\\\\\\\`\\"\\\$]*)
16466 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16469 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16474 ac_aux_dir='$ac_aux_dir'
16476 # See if we are running on zsh, and set the options that allow our
16477 # commands through without removal of \ escapes INIT.
16478 if test -n "\${ZSH_VERSION+set}"; then
16479 setopt NO_GLOB_SUBST
16493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16495 # Handling of arguments.
16496 for ac_config_target in $ac_config_targets
16498 case $ac_config_target in
16499 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
16500 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16501 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16502 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16503 "libpcre2-8.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-8.pc" ;;
16504 "libpcre2-16.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-16.pc" ;;
16505 "libpcre2-32.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-32.pc" ;;
16506 "libpcre2-posix.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-posix.pc" ;;
16507 "pcre2-config") CONFIG_FILES="$CONFIG_FILES pcre2-config" ;;
16508 "src/pcre2.h") CONFIG_FILES="$CONFIG_FILES src/pcre2.h" ;;
16509 "script-chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS script-chmod" ;;
16510 "delete-old-chartables") CONFIG_COMMANDS="$CONFIG_COMMANDS delete-old-chartables" ;;
16512 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16517 # If the user did not use the arguments to specify the items to instantiate,
16518 # then the envvar interface is used. Set only those that are not.
16519 # We use the long form for the default assignment because of an extremely
16520 # bizarre bug on SunOS 4.1.3.
16521 if $ac_need_defaults; then
16522 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16523 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16524 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16527 # Have a temporary directory for convenience. Make it in the build tree
16528 # simply because there is no reason against having it here, and in addition,
16529 # creating and moving files from /tmp can sometimes cause problems.
16530 # Hook for its removal unless debugging.
16531 # Note that there is a small window in which the directory will not be cleaned:
16532 # after its creation but before its name has been assigned to `$tmp'.
16536 trap 'exit_status=$?
16537 : "${ac_tmp:=$tmp}"
16538 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16540 trap 'as_fn_exit 1' 1 2 13 15
16542 # Create a (secure) tmp directory for tmp files.
16545 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16549 tmp=./conf$$-$RANDOM
16550 (umask 077 && mkdir "$tmp")
16551 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16554 # Set up the scripts for CONFIG_FILES section.
16555 # No need to generate them if there are no CONFIG_FILES.
16556 # This happens for instance with `./config.status config.h'.
16557 if test -n "$CONFIG_FILES"; then
16560 ac_cr=`echo X | tr X '\015'`
16561 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16562 # But we know of no other shell where ac_cr would be empty at this
16563 # point, so we can use a bashism as a fallback.
16564 if test "x$ac_cr" = x; then
16565 eval ac_cr=\$\'\\r\'
16567 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16568 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16571 ac_cs_awk_cr=$ac_cr
16574 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16579 echo "cat >conf$$subs.awk <<_ACEOF" &&
16580 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16582 } >conf$$subs.sh ||
16583 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16584 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16586 for ac_last_try in false false false false false :; do
16587 . ./conf$$subs.sh ||
16588 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16590 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16591 if test $ac_delim_n = $ac_delim_num; then
16593 elif $ac_last_try; then
16594 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16596 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16599 rm -f conf$$subs.sh
16601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16602 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16606 s/^/S["/; s/!.*/"]=/
16616 s/\(.\{148\}\)..*/\1/
16618 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16623 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16630 s/\(.\{148\}\)..*/\1/
16632 s/["\\]/\\&/g; s/^/"/; s/$/"/
16636 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16641 ' <conf$$subs.awk | sed '
16646 ' >>$CONFIG_STATUS || ac_write_fail=1
16647 rm -f conf$$subs.awk
16648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16650 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16651 for (key in S) S_is_set[key] = 1
16657 nfields = split(line, field, "@")
16659 len = length(field[1])
16660 for (i = 2; i < nfields; i++) {
16662 keylen = length(key)
16663 if (S_is_set[key]) {
16665 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16666 len += length(value) + length(field[++i])
16677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16678 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16679 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16682 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16683 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16686 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16687 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16688 # trailing colons and then remove the whole line if VPATH becomes empty
16689 # (actually we leave an empty line to preserve line numbers).
16690 if test "x$srcdir" = x.; then
16691 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16710 fi # test -n "$CONFIG_FILES"
16712 # Set up the scripts for CONFIG_HEADERS section.
16713 # No need to generate them if there are no CONFIG_HEADERS.
16714 # This happens for instance with `./config.status Makefile'.
16715 if test -n "$CONFIG_HEADERS"; then
16716 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16720 # Transform confdefs.h into an awk script `defines.awk', embedded as
16721 # here-document in config.status, that substitutes the proper values into
16722 # config.h.in to produce config.h.
16724 # Create a delimiter string that does not exist in confdefs.h, to ease
16725 # handling of long lines.
16727 for ac_last_try in false false :; do
16728 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16729 if test -z "$ac_tt"; then
16731 elif $ac_last_try; then
16732 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16734 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16738 # For the awk script, D is an array of macro values keyed by name,
16739 # likewise P contains macro parameters if any. Preserve backslash
16740 # newline sequences.
16742 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16744 s/.\{148\}/&'"$ac_delim"'/g
16747 s/^[ ]*#[ ]*define[ ][ ]*/ /
16754 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16756 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16760 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16761 D["\1"]=" \3\\\\\\n"\\/p
16763 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16768 s/.\{148\}/&'"$ac_delim"'/g
16773 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16776 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16778 ' <confdefs.h | sed '
16779 s/'"$ac_delim"'/"\\\
16780 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16783 for (key in D) D_is_set[key] = 1
16786 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16788 split(line, arg, " ")
16789 if (arg[1] == "#") {
16793 defundef = substr(arg[1], 2)
16796 split(mac1, mac2, "(") #)
16798 prefix = substr(line, 1, index(line, defundef) - 1)
16799 if (D_is_set[macro]) {
16800 # Preserve the white space surrounding the "#".
16801 print prefix "define", macro P[macro] D[macro]
16804 # Replace #undef with comments. This is necessary, for example,
16805 # in the case of _POSIX_SOURCE, which is predefined and required
16806 # on some systems where configure will not decide to define it.
16807 if (defundef == "undef") {
16808 print "/*", prefix defundef, macro, "*/"
16816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16817 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16818 fi # test -n "$CONFIG_HEADERS"
16821 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16826 :[FHLC]) ac_mode=$ac_tag; continue;;
16828 case $ac_mode$ac_tag in
16830 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16831 :[FH]-) ac_tag=-:-;;
16832 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16849 -) ac_f="$ac_tmp/stdin";;
16850 *) # Look for the file first in the build tree, then in the source tree
16851 # (if the path is not absolute). The absolute path cannot be DOS-style,
16852 # because $ac_f cannot contain `:'.
16856 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16858 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16860 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16861 as_fn_append ac_file_inputs " '$ac_f'"
16864 # Let's still pretend it is `configure' which instantiates (i.e., don't
16865 # use $as_me), people would be surprised to read:
16866 # /* config.h. Generated by config.status. */
16867 configure_input='Generated from '`
16868 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16870 if test x"$ac_file" != x-; then
16871 configure_input="$ac_file. $configure_input"
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16873 $as_echo "$as_me: creating $ac_file" >&6;}
16875 # Neutralize special characters interpreted by sed in replacement strings.
16876 case $configure_input in #(
16877 *\&* | *\|* | *\\* )
16878 ac_sed_conf_input=`$as_echo "$configure_input" |
16879 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16880 *) ac_sed_conf_input=$configure_input;;
16884 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16890 ac_dir=`$as_dirname -- "$ac_file" ||
16891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16892 X"$ac_file" : 'X\(//\)[^/]' \| \
16893 X"$ac_file" : 'X\(//\)$' \| \
16894 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16895 $as_echo X"$ac_file" |
16896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16900 /^X\(\/\/\)[^/].*/{
16913 as_dir="$ac_dir"; as_fn_mkdir_p
16917 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16919 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16920 # A ".." for each directory in $ac_dir_suffix.
16921 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16922 case $ac_top_builddir_sub in
16923 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16924 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16927 ac_abs_top_builddir=$ac_pwd
16928 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16929 # for backward compatibility:
16930 ac_top_builddir=$ac_top_build_prefix
16933 .) # We are building in place.
16935 ac_top_srcdir=$ac_top_builddir_sub
16936 ac_abs_top_srcdir=$ac_pwd ;;
16937 [\\/]* | ?:[\\/]* ) # Absolute name.
16938 ac_srcdir=$srcdir$ac_dir_suffix;
16939 ac_top_srcdir=$srcdir
16940 ac_abs_top_srcdir=$srcdir ;;
16941 *) # Relative name.
16942 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16943 ac_top_srcdir=$ac_top_build_prefix$srcdir
16944 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16946 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16956 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16957 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16959 ac_MKDIR_P=$MKDIR_P
16961 [\\/$]* | ?:[\\/]* ) ;;
16962 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16967 # If the template does not know about datarootdir, expand it.
16968 # FIXME: This hack should be removed a few years after 2.60.
16969 ac_datarootdir_hack=; ac_datarootdir_seen=
16980 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16981 *datarootdir*) ac_datarootdir_seen=yes;;
16982 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16984 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16987 ac_datarootdir_hack='
16988 s&@datadir@&$datadir&g
16989 s&@docdir@&$docdir&g
16990 s&@infodir@&$infodir&g
16991 s&@localedir@&$localedir&g
16992 s&@mandir@&$mandir&g
16993 s&\\\${datarootdir}&$datarootdir&g' ;;
16997 # Neutralize VPATH when `$srcdir' = `.'.
16998 # Shell code in configure.ac might set extrasub.
16999 # FIXME: do we really want to maintain this feature?
17000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17001 ac_sed_extra="$ac_vpsub
17004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17006 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17007 s|@configure_input@|$ac_sed_conf_input|;t t
17008 s&@top_builddir@&$ac_top_builddir_sub&;t t
17009 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17010 s&@srcdir@&$ac_srcdir&;t t
17011 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17012 s&@top_srcdir@&$ac_top_srcdir&;t t
17013 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17014 s&@builddir@&$ac_builddir&;t t
17015 s&@abs_builddir@&$ac_abs_builddir&;t t
17016 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17017 s&@INSTALL@&$ac_INSTALL&;t t
17018 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17019 $ac_datarootdir_hack
17021 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17022 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17024 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17025 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17026 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17027 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17029 which seems to be undefined. Please make sure it is defined" >&5
17030 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17031 which seems to be undefined. Please make sure it is defined" >&2;}
17033 rm -f "$ac_tmp/stdin"
17035 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17036 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17038 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17044 if test x"$ac_file" != x-; then
17046 $as_echo "/* $configure_input */" \
17047 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17048 } >"$ac_tmp/config.h" \
17049 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17050 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17052 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17055 mv "$ac_tmp/config.h" "$ac_file" \
17056 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17059 $as_echo "/* $configure_input */" \
17060 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17061 || as_fn_error $? "could not create -" "$LINENO" 5
17063 # Compute "$ac_file"'s index in $config_headers.
17066 for _am_header in $config_headers :; do
17067 case $_am_header in
17068 $_am_arg | $_am_arg:* )
17071 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17074 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17075 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17076 X"$_am_arg" : 'X\(//\)[^/]' \| \
17077 X"$_am_arg" : 'X\(//\)$' \| \
17078 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17079 $as_echo X"$_am_arg" |
17080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17084 /^X\(\/\/\)[^/].*/{
17096 s/.*/./; q'`/stamp-h$_am_stamp_count
17099 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17100 $as_echo "$as_me: executing $ac_file commands" >&6;}
17105 case $ac_file$ac_mode in
17106 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17107 # Older Autoconf quotes --file arguments for eval, but not when files
17108 # are listed without --file. Let's play safe and only enable the eval
17109 # if we detect the quoting.
17110 case $CONFIG_FILES in
17111 *\'*) eval set x "$CONFIG_FILES" ;;
17112 *) set x $CONFIG_FILES ;;
17117 # Strip MF so we end up with the name of the file.
17118 mf=`echo "$mf" | sed -e 's/:.*$//'`
17119 # Check whether this is an Automake generated Makefile or not.
17120 # We used to match only the files named 'Makefile.in', but
17121 # some people rename them; so instead we look at the file content.
17122 # Grep'ing the first line is not enough: some people post-process
17123 # each Makefile.in and add a new line on top of each file to say so.
17124 # Grep'ing the whole file is not good either: AIX grep has a line
17125 # limit of 2048, but all sed's we know have understand at least 4000.
17126 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17127 dirpart=`$as_dirname -- "$mf" ||
17128 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17129 X"$mf" : 'X\(//\)[^/]' \| \
17130 X"$mf" : 'X\(//\)$' \| \
17131 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17137 /^X\(\/\/\)[^/].*/{
17153 # Extract the definition of DEPDIR, am__include, and am__quote
17154 # from the Makefile without running 'make'.
17155 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17156 test -z "$DEPDIR" && continue
17157 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17158 test -z "$am__include" && continue
17159 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17160 # Find all dependency output files, they are included files with
17161 # $(DEPDIR) in their names. We invoke sed twice because it is the
17162 # simplest approach to changing $(DEPDIR) to its actual value in the
17164 for file in `sed -n "
17165 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17166 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17167 # Make sure the directory exists.
17168 test -f "$dirpart/$file" && continue
17169 fdir=`$as_dirname -- "$file" ||
17170 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17171 X"$file" : 'X\(//\)[^/]' \| \
17172 X"$file" : 'X\(//\)$' \| \
17173 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17174 $as_echo X"$file" |
17175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17179 /^X\(\/\/\)[^/].*/{
17192 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17193 # echo "creating $dirpart/$file"
17194 echo '# dummy' > "$dirpart/$file"
17201 # See if we are running on zsh, and set the options that allow our
17202 # commands through without removal of \ escapes.
17203 if test -n "${ZSH_VERSION+set}"; then
17204 setopt NO_GLOB_SUBST
17208 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17211 cat <<_LT_EOF >> "$cfgfile"
17213 # Generated automatically by $as_me ($PACKAGE) $VERSION
17214 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17215 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17217 # Provide generalized library-building support services.
17218 # Written by Gordon Matzigkeit, 1996
17220 # Copyright (C) 2014 Free Software Foundation, Inc.
17221 # This is free software; see the source for copying conditions. There is NO
17222 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17224 # GNU Libtool is free software; you can redistribute it and/or modify
17225 # it under the terms of the GNU General Public License as published by
17226 # the Free Software Foundation; either version 2 of of the License, or
17227 # (at your option) any later version.
17229 # As a special exception to the GNU General Public License, if you
17230 # distribute this file as part of a program or library that is built
17231 # using GNU Libtool, you may include this file under the same
17232 # distribution terms that you use for the rest of that program.
17234 # GNU Libtool is distributed in the hope that it will be useful, but
17235 # WITHOUT ANY WARRANTY; without even the implied warranty of
17236 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17237 # GNU General Public License for more details.
17239 # You should have received a copy of the GNU General Public License
17240 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17243 # The names of the tagged configurations supported by this script.
17246 # Configured defaults for sys_lib_dlsearch_path munging.
17247 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17249 # ### BEGIN LIBTOOL CONFIG
17251 # Assembler program.
17254 # DLL creation program.
17255 DLLTOOL=$lt_DLLTOOL
17257 # Object dumper program.
17258 OBJDUMP=$lt_OBJDUMP
17260 # Which release of libtool.m4 was used?
17261 macro_version=$macro_version
17262 macro_revision=$macro_revision
17264 # Whether or not to build shared libraries.
17265 build_libtool_libs=$enable_shared
17267 # Whether or not to build static libraries.
17268 build_old_libs=$enable_static
17270 # What type of objects to build.
17273 # Whether or not to optimize for fast installation.
17274 fast_install=$enable_fast_install
17276 # Shared archive member basename,for filename based shared library versioning on AIX.
17277 shared_archive_member_spec=$shared_archive_member_spec
17279 # Shell to use when invoking shell scripts.
17282 # An echo program that protects backslashes.
17285 # The PATH separator for the build system.
17286 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17289 host_alias=$host_alias
17293 # The build system.
17294 build_alias=$build_alias
17298 # A sed program that does not truncate output.
17301 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17302 Xsed="\$SED -e 1s/^X//"
17304 # A grep program that handles long lines.
17310 # A literal string matcher.
17313 # A BSD- or MS-compatible name lister.
17316 # Whether we need soft or hard links.
17319 # What is the maximum length of a command?
17320 max_cmd_len=$max_cmd_len
17322 # Object file suffix (normally "o").
17325 # Executable file suffix (normally "").
17328 # whether the shell understands "unset".
17331 # turn spaces into newlines.
17334 # turn newlines into spaces.
17337 # convert \$build file names to \$host format.
17338 to_host_file_cmd=$lt_cv_to_host_file_cmd
17340 # convert \$build files to toolchain format.
17341 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17343 # Method to check whether dependent libraries are shared objects.
17344 deplibs_check_method=$lt_deplibs_check_method
17346 # Command to use when deplibs_check_method = "file_magic".
17347 file_magic_cmd=$lt_file_magic_cmd
17349 # How to find potential files when deplibs_check_method = "file_magic".
17350 file_magic_glob=$lt_file_magic_glob
17352 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17353 want_nocaseglob=$lt_want_nocaseglob
17355 # Command to associate shared and link libraries.
17356 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17361 # Flags to create an archive (by configure).
17362 lt_ar_flags=$lt_ar_flags
17364 # Flags to create an archive.
17365 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
17367 # How to feed a file listing to the archiver.
17368 archiver_list_spec=$lt_archiver_list_spec
17370 # A symbol stripping program.
17373 # Commands used to install an old-style archive.
17375 old_postinstall_cmds=$lt_old_postinstall_cmds
17376 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17378 # Whether to use a lock for old archive extraction.
17379 lock_old_archive_extraction=$lock_old_archive_extraction
17384 # LTCC compiler flags.
17385 LTCFLAGS=$lt_CFLAGS
17387 # Take the output of nm and produce a listing of raw symbols and C names.
17388 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17390 # Transform the output of nm in a proper C declaration.
17391 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17393 # Transform the output of nm into a list of symbols to manually relocate.
17394 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17396 # Transform the output of nm in a C name address pair.
17397 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17399 # Transform the output of nm in a C name address pair when lib prefix is needed.
17400 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17402 # The name lister interface.
17403 nm_interface=$lt_lt_cv_nm_interface
17405 # Specify filename containing input files for \$NM.
17406 nm_file_list_spec=$lt_nm_file_list_spec
17408 # The root where to search for dependent libraries,and where our libraries should be installed.
17409 lt_sysroot=$lt_sysroot
17411 # Command to truncate a binary pipe.
17412 lt_truncate_bin=$lt_lt_cv_truncate_bin
17414 # The name of the directory that contains temporary libtool files.
17417 # Used to examine libraries when file_magic_cmd begins with "file".
17418 MAGIC_CMD=$MAGIC_CMD
17420 # Must we lock files when doing compilation?
17421 need_locks=$lt_need_locks
17424 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17426 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17427 DSYMUTIL=$lt_DSYMUTIL
17429 # Tool to change global to local symbols on Mac OS X.
17432 # Tool to manipulate fat objects and archives on Mac OS X.
17435 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17438 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17439 OTOOL64=$lt_OTOOL64
17441 # Old archive suffix (normally "a").
17444 # Shared library suffix (normally ".so").
17445 shrext_cmds=$lt_shrext_cmds
17447 # The commands to extract the exported symbol list from a shared archive.
17448 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17450 # Variables whose values should be saved in libtool wrapper scripts and
17451 # restored at link time.
17452 variables_saved_for_relink=$lt_variables_saved_for_relink
17454 # Do we need the "lib" prefix for modules?
17455 need_lib_prefix=$need_lib_prefix
17457 # Do we need a version for libraries?
17458 need_version=$need_version
17460 # Library versioning type.
17461 version_type=$version_type
17463 # Shared library runtime path variable.
17464 runpath_var=$runpath_var
17466 # Shared library path variable.
17467 shlibpath_var=$shlibpath_var
17469 # Is shlibpath searched before the hard-coded library search path?
17470 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17472 # Format of library name prefix.
17473 libname_spec=$lt_libname_spec
17475 # List of archive names. First name is the real one, the rest are links.
17476 # The last name is the one that the linker finds with -lNAME
17477 library_names_spec=$lt_library_names_spec
17479 # The coded name of the library, if different from the real name.
17480 soname_spec=$lt_soname_spec
17482 # Permission mode override for installation of shared libraries.
17483 install_override_mode=$lt_install_override_mode
17485 # Command to use after installation of a shared archive.
17486 postinstall_cmds=$lt_postinstall_cmds
17488 # Command to use after uninstallation of a shared archive.
17489 postuninstall_cmds=$lt_postuninstall_cmds
17491 # Commands used to finish a libtool library installation in a directory.
17492 finish_cmds=$lt_finish_cmds
17494 # As "finish_cmds", except a single script fragment to be evaled but
17496 finish_eval=$lt_finish_eval
17498 # Whether we should hardcode library paths into libraries.
17499 hardcode_into_libs=$hardcode_into_libs
17501 # Compile-time system search path for libraries.
17502 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17504 # Detected run-time system search path for libraries.
17505 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17507 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17508 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17510 # Whether dlopen is supported.
17511 dlopen_support=$enable_dlopen
17513 # Whether dlopen of programs is supported.
17514 dlopen_self=$enable_dlopen_self
17516 # Whether dlopen of statically linked programs is supported.
17517 dlopen_self_static=$enable_dlopen_self_static
17519 # Commands to strip libraries.
17520 old_striplib=$lt_old_striplib
17521 striplib=$lt_striplib
17524 # The linker used to build libraries.
17527 # How to create reloadable object files.
17528 reload_flag=$lt_reload_flag
17529 reload_cmds=$lt_reload_cmds
17531 # Commands used to build an old-style archive.
17532 old_archive_cmds=$lt_old_archive_cmds
17534 # A language specific compiler.
17537 # Is the compiler the GNU compiler?
17540 # Compiler flag to turn off builtin functions.
17541 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17543 # Additional compiler flags for building library objects.
17544 pic_flag=$lt_lt_prog_compiler_pic
17546 # How to pass a linker flag through the compiler.
17547 wl=$lt_lt_prog_compiler_wl
17549 # Compiler flag to prevent dynamic linking.
17550 link_static_flag=$lt_lt_prog_compiler_static
17552 # Does compiler simultaneously support -c and -o options?
17553 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17555 # Whether or not to add -lc for building shared libraries.
17556 build_libtool_need_lc=$archive_cmds_need_lc
17558 # Whether or not to disallow shared libs when runtime libs are static.
17559 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17561 # Compiler flag to allow reflexive dlopens.
17562 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17564 # Compiler flag to generate shared objects directly from archives.
17565 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17567 # Whether the compiler copes with passing no objects directly.
17568 compiler_needs_object=$lt_compiler_needs_object
17570 # Create an old-style archive from a shared archive.
17571 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17573 # Create a temporary old-style archive to link instead of a shared archive.
17574 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17576 # Commands used to build a shared archive.
17577 archive_cmds=$lt_archive_cmds
17578 archive_expsym_cmds=$lt_archive_expsym_cmds
17580 # Commands used to build a loadable module if different from building
17581 # a shared archive.
17582 module_cmds=$lt_module_cmds
17583 module_expsym_cmds=$lt_module_expsym_cmds
17585 # Whether we are building with GNU ld or not.
17586 with_gnu_ld=$lt_with_gnu_ld
17588 # Flag that allows shared libraries with undefined symbols to be built.
17589 allow_undefined_flag=$lt_allow_undefined_flag
17591 # Flag that enforces no undefined symbols.
17592 no_undefined_flag=$lt_no_undefined_flag
17594 # Flag to hardcode \$libdir into a binary during linking.
17595 # This must work even if \$libdir does not exist
17596 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17598 # Whether we need a single "-rpath" flag with a separated argument.
17599 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17601 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17602 # DIR into the resulting binary.
17603 hardcode_direct=$hardcode_direct
17605 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17606 # DIR into the resulting binary and the resulting library dependency is
17607 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
17608 # library is relocated.
17609 hardcode_direct_absolute=$hardcode_direct_absolute
17611 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17612 # into the resulting binary.
17613 hardcode_minus_L=$hardcode_minus_L
17615 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17616 # into the resulting binary.
17617 hardcode_shlibpath_var=$hardcode_shlibpath_var
17619 # Set to "yes" if building a shared library automatically hardcodes DIR
17620 # into the library and all subsequent libraries and executables linked
17622 hardcode_automatic=$hardcode_automatic
17624 # Set to yes if linker adds runtime paths of dependent libraries
17625 # to runtime path list.
17626 inherit_rpath=$inherit_rpath
17628 # Whether libtool must link a program against all its dependency libraries.
17629 link_all_deplibs=$link_all_deplibs
17631 # Set to "yes" if exported symbols are required.
17632 always_export_symbols=$always_export_symbols
17634 # The commands to list exported symbols.
17635 export_symbols_cmds=$lt_export_symbols_cmds
17637 # Symbols that should not be listed in the preloaded symbols.
17638 exclude_expsyms=$lt_exclude_expsyms
17640 # Symbols that must always be exported.
17641 include_expsyms=$lt_include_expsyms
17643 # Commands necessary for linking programs (against libraries) with templates.
17644 prelink_cmds=$lt_prelink_cmds
17646 # Commands necessary for finishing linking programs.
17647 postlink_cmds=$lt_postlink_cmds
17649 # Specify filename containing input files.
17650 file_list_spec=$lt_file_list_spec
17652 # How to hardcode a shared library path into an executable.
17653 hardcode_action=$hardcode_action
17655 # ### END LIBTOOL CONFIG
17659 cat <<'_LT_EOF' >> "$cfgfile"
17661 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17663 # func_munge_path_list VARIABLE PATH
17664 # -----------------------------------
17665 # VARIABLE is name of variable containing _space_ separated list of
17666 # directories to be munged by the contents of PATH, which is string
17669 # string "DIR[ DIR]" will be prepended to VARIABLE
17671 # string "DIR[ DIR]" will be appended to VARIABLE
17672 # "DIRP[:DIRP]::[DIRA:]DIRA"
17673 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17674 # "DIRA[ DIRA]" will be appended to VARIABLE
17676 # VARIABLE will be replaced by "DIR[ DIR]"
17677 func_munge_path_list ()
17683 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17686 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17689 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17690 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17693 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17699 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17700 func_cc_basename ()
17702 for cc_temp in $*""; do
17704 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17705 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17710 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17714 # ### END FUNCTIONS SHARED WITH CONFIGURE
17720 cat <<\_LT_EOF >> "$cfgfile"
17721 # AIX sometimes has problems with the GCC collect2 program. For some
17722 # reason, if we set the COLLECT_NAMES environment variable, the problems
17723 # vanish in a puff of smoke.
17724 if test set != "${COLLECT_NAMES+set}"; then
17726 export COLLECT_NAMES
17733 ltmain=$ac_aux_dir/ltmain.sh
17736 # We use sed instead of cat because bash on DJGPP gets confused if
17737 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17738 # text mode, it properly converts lines to CR/LF. This bash problem
17739 # is reportedly fixed, but why not run on old versions too?
17740 sed '$q' "$ltmain" >> "$cfgfile" \
17741 || (rm -f "$cfgfile"; exit 1)
17743 mv -f "$cfgfile" "$ofile" ||
17744 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17748 "script-chmod":C) chmod a+x pcre2-config ;;
17749 "delete-old-chartables":C) rm -f pcre2_chartables.c ;;
17757 ac_clean_files=$ac_clean_files_save
17759 test $ac_write_fail = 0 ||
17760 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17763 # configure is writing to config.log, and then calls config.status.
17764 # config.status does its own redirection, appending to config.log.
17765 # Unfortunately, on DOS this fails, as config.log is still kept open
17766 # by configure, so config.status won't be able to write to it; its
17767 # output is simply discarded. So we exec the FD to /dev/null,
17768 # effectively closing config.log, so it can be properly (re)opened and
17769 # appended to by config.status. When coming back to configure, we
17770 # need to make the FD available again.
17771 if test "$no_create" != yes; then
17773 ac_config_status_args=
17774 test "$silent" = yes &&
17775 ac_config_status_args="$ac_config_status_args --quiet"
17777 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17779 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17780 # would make configure fail if this is the last instruction.
17781 $ac_cs_success || as_fn_exit 1
17783 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17785 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17789 # --disable-stack-for-recursion is obsolete and has no effect.
17791 if test "$enable_stack_for_recursion" = "no"; then
17794 WARNING: --disable-stack-for-recursion is obsolete and has no effect.
17798 # Print out a nice little message after configure is run displaying the
17802 if test "$enable_ebcdic_nl25" = "yes"; then
17803 ebcdic_nl_code=0x25
17804 elif test "$enable_ebcdic" = "yes"; then
17805 ebcdic_nl_code=0x15
17810 $PACKAGE-$VERSION configuration summary:
17812 Install prefix ..................... : ${prefix}
17813 C preprocessor ..................... : ${CPP}
17814 C compiler ......................... : ${CC}
17815 Linker ............................. : ${LD}
17816 C preprocessor flags ............... : ${CPPFLAGS}
17817 C compiler flags ................... : ${CFLAGS} ${VISIBILITY_CFLAGS}
17818 Linker flags ....................... : ${LDFLAGS}
17819 Extra libraries .................... : ${LIBS}
17821 Build 8-bit pcre2 library .......... : ${enable_pcre2_8}
17822 Build 16-bit pcre2 library ......... : ${enable_pcre2_16}
17823 Build 32-bit pcre2 library ......... : ${enable_pcre2_32}
17824 Include debugging code ............. : ${enable_debug}
17825 Enable JIT compiling support ....... : ${enable_jit}
17826 Use SELinux allocator in JIT ....... : ${enable_jit_sealloc}
17827 Enable Unicode support ............. : ${enable_unicode}
17828 Newline char/sequence .............. : ${enable_newline}
17829 \R matches only ANYCRLF ............ : ${enable_bsr_anycrlf}
17830 \C is disabled ..................... : ${enable_never_backslash_C}
17831 EBCDIC coding ...................... : ${enable_ebcdic}
17832 EBCDIC code for NL ................. : ${ebcdic_nl_code}
17833 Rebuild char tables ................ : ${enable_rebuild_chartables}
17834 Internal link size ................. : ${with_link_size}
17835 Nested parentheses limit ........... : ${with_parens_nest_limit}
17836 Heap limit ......................... : ${with_heap_limit} kibibytes
17837 Match limit ........................ : ${with_match_limit}
17838 Match depth limit .................. : ${with_match_limit_depth}
17839 Build shared libs .................. : ${enable_shared}
17840 Build static libs .................. : ${enable_static}
17841 Use JIT in pcre2grep ............... : ${enable_pcre2grep_jit}
17842 Enable callouts in pcre2grep ....... : ${enable_pcre2grep_callout}
17843 Initial buffer size for pcre2grep .. : ${with_pcre2grep_bufsize}
17844 Maximum buffer size for pcre2grep .. : ${with_pcre2grep_max_bufsize}
17845 Link pcre2grep with libz ........... : ${enable_pcre2grep_libz}
17846 Link pcre2grep with libbz2 ......... : ${enable_pcre2grep_libbz2}
17847 Link pcre2test with libedit ........ : ${enable_pcre2test_libedit}
17848 Link pcre2test with libreadline .... : ${enable_pcre2test_libreadline}
17849 Valgrind support ................... : ${enable_valgrind}
17850 Code coverage ...................... : ${enable_coverage}
17851 Fuzzer support ..................... : ${enable_fuzz_support}