2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Web2C 2016/dev.
5 # Report bugs to <tex-k@tug.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
592 PACKAGE_TARNAME
='web2c'
593 PACKAGE_VERSION
='2016/dev'
594 PACKAGE_STRING
='Web2C 2016/dev'
595 PACKAGE_BUGREPORT
='tex-k@tug.org'
598 ac_unique_file
="cpascal.h"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 enable_option_checking
=no
636 ac_subst_vars
='am__EXEEXT_FALSE
828 am__fastdepOBJCXX_FALSE
829 am__fastdepOBJCXX_TRUE
895 MAINTAINER_MODE_FALSE
909 INSTALL_STRIP_PROGRAM
952 program_transform_name
965 enable_option_checking
967 enable_maintainer_mode
968 enable_dependency_tracking
969 enable_compiler_warnings
979 enable_cxx_runtime_hack
997 enable_euptex_synctex
1000 enable_pdftex_synctex
1007 enable_xetex_synctex
1013 enable_mfluajit_nowin
1026 with_fontconfig_includes
1027 with_fontconfig_libdir
1029 with_system_kpathsea
1035 with_system_freetype2
1049 with_system_graphite2
1050 with_system_harfbuzz
1052 ac_precious_vars
='build_alias
1071 ac_subdirs_all
='web2c'
1073 # Initialize some variables set by options.
1075 ac_init_version
=false
1076 ac_unrecognized_opts
=
1077 ac_unrecognized_sep
=
1078 # The variables have the same names as the options, with
1079 # dashes changed to underlines.
1080 cache_file
=/dev
/null
1087 program_transform_name
=s
,x
,x
,
1095 # Installation directory options.
1096 # These are left unexpanded so users can "make install exec_prefix=/foo"
1097 # and all the variables that are supposed to be based on exec_prefix
1098 # by default will actually change.
1099 # Use braces instead of parens because sh, perl, etc. also accept them.
1100 # (The list follows the same order as the GNU Coding Standards.)
1101 bindir
='${exec_prefix}/bin'
1102 sbindir
='${exec_prefix}/sbin'
1103 libexecdir
='${exec_prefix}/libexec'
1104 datarootdir
='${prefix}/share'
1105 datadir
='${datarootdir}'
1106 sysconfdir
='${prefix}/etc'
1107 sharedstatedir
='${prefix}/com'
1108 localstatedir
='${prefix}/var'
1109 includedir
='${prefix}/include'
1110 oldincludedir
='/usr/include'
1111 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1112 infodir
='${datarootdir}/info'
1117 libdir
='${exec_prefix}/lib'
1118 localedir
='${datarootdir}/locale'
1119 mandir
='${datarootdir}/man'
1125 # If the previous option needs an argument, assign it.
1126 if test -n "$ac_prev"; then
1127 eval $ac_prev=\
$ac_option
1133 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1138 # Accept the important Cygnus configure options, so we can diagnose typos.
1140 case $ac_dashdash$ac_option in
1144 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1146 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1147 bindir
=$ac_optarg ;;
1149 -build |
--build |
--buil |
--bui |
--bu)
1150 ac_prev
=build_alias
;;
1151 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1152 build_alias
=$ac_optarg ;;
1154 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1155 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1156 ac_prev
=cache_file
;;
1157 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1158 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1159 cache_file
=$ac_optarg ;;
1161 --config-cache |
-C)
1162 cache_file
=config.cache
;;
1164 -datadir |
--datadir |
--datadi |
--datad)
1166 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1167 datadir
=$ac_optarg ;;
1169 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1170 |
--dataroo |
--dataro |
--datar)
1171 ac_prev
=datarootdir
;;
1172 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1173 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1174 datarootdir
=$ac_optarg ;;
1176 -disable-* |
--disable-*)
1177 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1180 as_fn_error $?
"invalid feature name: $ac_useropt"
1181 ac_useropt_orig
=$ac_useropt
1182 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1185 "enable_
$ac_useropt"
1187 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1188 ac_unrecognized_sep
=', ';;
1190 eval enable_
$ac_useropt=no
;;
1192 -docdir |
--docdir |
--docdi |
--doc |
--do)
1194 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1195 docdir
=$ac_optarg ;;
1197 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1199 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1200 dvidir
=$ac_optarg ;;
1202 -enable-* |
--enable-*)
1203 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1206 as_fn_error $?
"invalid feature name: $ac_useropt"
1207 ac_useropt_orig
=$ac_useropt
1208 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1211 "enable_
$ac_useropt"
1213 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1214 ac_unrecognized_sep
=', ';;
1216 eval enable_
$ac_useropt=\
$ac_optarg ;;
1218 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1219 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1220 |
--exec |
--exe |
--ex)
1221 ac_prev
=exec_prefix
;;
1222 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1223 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1224 |
--exec=* |
--exe=* |
--ex=*)
1225 exec_prefix
=$ac_optarg ;;
1227 -gas |
--gas |
--ga |
--g)
1228 # Obsolete; use --with-gas.
1231 -help |
--help |
--hel |
--he |
-h)
1232 ac_init_help
=long
;;
1233 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1234 ac_init_help
=recursive
;;
1235 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1236 ac_init_help
=short
;;
1238 -host |
--host |
--hos |
--ho)
1239 ac_prev
=host_alias
;;
1240 -host=* |
--host=* |
--hos=* |
--ho=*)
1241 host_alias
=$ac_optarg ;;
1243 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1245 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1247 htmldir
=$ac_optarg ;;
1249 -includedir |
--includedir |
--includedi |
--included |
--include \
1250 |
--includ |
--inclu |
--incl |
--inc)
1251 ac_prev
=includedir
;;
1252 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1253 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1254 includedir
=$ac_optarg ;;
1256 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1258 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1259 infodir
=$ac_optarg ;;
1261 -libdir |
--libdir |
--libdi |
--libd)
1263 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1264 libdir
=$ac_optarg ;;
1266 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1267 |
--libexe |
--libex |
--libe)
1268 ac_prev
=libexecdir
;;
1269 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1270 |
--libexe=* |
--libex=* |
--libe=*)
1271 libexecdir
=$ac_optarg ;;
1273 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1274 ac_prev
=localedir
;;
1275 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1276 localedir
=$ac_optarg ;;
1278 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1279 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1280 ac_prev
=localstatedir
;;
1281 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1282 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1283 localstatedir
=$ac_optarg ;;
1285 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1287 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1288 mandir
=$ac_optarg ;;
1290 -nfp |
--nfp |
--nf)
1291 # Obsolete; use --without-fp.
1294 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1295 |
--no-cr |
--no-c |
-n)
1298 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1299 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1302 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1303 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1304 |
--oldin |
--oldi |
--old |
--ol |
--o)
1305 ac_prev
=oldincludedir
;;
1306 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1307 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1308 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1309 oldincludedir
=$ac_optarg ;;
1311 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1313 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1314 prefix
=$ac_optarg ;;
1316 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1317 |
--program-pre |
--program-pr |
--program-p)
1318 ac_prev
=program_prefix
;;
1319 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1320 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1321 program_prefix
=$ac_optarg ;;
1323 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1324 |
--program-suf |
--program-su |
--program-s)
1325 ac_prev
=program_suffix
;;
1326 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1327 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1328 program_suffix
=$ac_optarg ;;
1330 -program-transform-name |
--program-transform-name \
1331 |
--program-transform-nam |
--program-transform-na \
1332 |
--program-transform-n |
--program-transform- \
1333 |
--program-transform |
--program-transfor \
1334 |
--program-transfo |
--program-transf \
1335 |
--program-trans |
--program-tran \
1336 |
--progr-tra |
--program-tr |
--program-t)
1337 ac_prev
=program_transform_name
;;
1338 -program-transform-name=* |
--program-transform-name=* \
1339 |
--program-transform-nam=* |
--program-transform-na=* \
1340 |
--program-transform-n=* |
--program-transform-=* \
1341 |
--program-transform=* |
--program-transfor=* \
1342 |
--program-transfo=* |
--program-transf=* \
1343 |
--program-trans=* |
--program-tran=* \
1344 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1345 program_transform_name
=$ac_optarg ;;
1347 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1349 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1350 pdfdir
=$ac_optarg ;;
1352 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1354 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1357 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1358 |
-silent |
--silent |
--silen |
--sile |
--sil)
1361 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1363 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1365 sbindir
=$ac_optarg ;;
1367 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1368 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1369 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1371 ac_prev
=sharedstatedir
;;
1372 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1373 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1374 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1376 sharedstatedir
=$ac_optarg ;;
1378 -site |
--site |
--sit)
1380 -site=* |
--site=* |
--sit=*)
1383 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1385 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1386 srcdir
=$ac_optarg ;;
1388 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1389 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1390 ac_prev
=sysconfdir
;;
1391 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1392 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1393 sysconfdir
=$ac_optarg ;;
1395 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1396 ac_prev
=target_alias
;;
1397 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1398 target_alias
=$ac_optarg ;;
1400 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1403 -version |
--version |
--versio |
--versi |
--vers |
-V)
1404 ac_init_version
=: ;;
1407 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1410 as_fn_error $?
"invalid package name: $ac_useropt"
1411 ac_useropt_orig
=$ac_useropt
1412 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1413 case $ac_user_opts in
1417 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1418 ac_unrecognized_sep
=', ';;
1420 eval with_
$ac_useropt=\
$ac_optarg ;;
1422 -without-* |
--without-*)
1423 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1424 # Reject names that are not valid shell variable names.
1425 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1426 as_fn_error $?
"invalid package name: $ac_useropt"
1427 ac_useropt_orig
=$ac_useropt
1428 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1429 case $ac_user_opts in
1433 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1434 ac_unrecognized_sep
=', ';;
1436 eval with_
$ac_useropt=no
;;
1439 # Obsolete; use --with-x.
1442 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1443 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1444 ac_prev
=x_includes
;;
1445 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1446 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1447 x_includes
=$ac_optarg ;;
1449 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1450 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1451 ac_prev
=x_libraries
;;
1452 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1453 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1454 x_libraries
=$ac_optarg ;;
1456 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1457 Try \`$0 --help' for more information"
1461 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1462 # Reject names that are not valid shell variable names.
1463 case $ac_envvar in #(
1464 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1465 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1467 eval $ac_envvar=\
$ac_optarg
1468 export $ac_envvar ;;
1471 # FIXME: should be removed in autoconf 3.0.
1472 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1473 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1474 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1475 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1481 if test -n "$ac_prev"; then
1482 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1483 as_fn_error $?
"missing argument to $ac_option"
1486 if test -n "$ac_unrecognized_opts"; then
1487 case $enable_option_checking in
1489 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1490 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1494 # Check all directory arguments for consistency.
1495 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1496 datadir sysconfdir sharedstatedir localstatedir includedir \
1497 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1498 libdir localedir mandir
1500 eval ac_val
=\$
$ac_var
1501 # Remove trailing slashes.
1504 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1505 eval $ac_var=\
$ac_val;;
1507 # Be sure to have absolute directory names.
1509 [\\/$
]* | ?
:[\\/]* ) continue;;
1510 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1512 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1515 # There might be people who depend on the old broken behavior: `$host'
1516 # used to hold the argument of --host etc.
1517 # FIXME: To remove some day.
1520 target
=$target_alias
1522 # FIXME: To remove some day.
1523 if test "x$host_alias" != x
; then
1524 if test "x$build_alias" = x
; then
1525 cross_compiling
=maybe
1526 elif test "x$build_alias" != "x$host_alias"; then
1532 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1534 test "$silent" = yes && exec 6>/dev
/null
1537 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1538 ac_ls_di
=`ls -di .` &&
1539 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1540 as_fn_error $?
"working directory cannot be determined"
1541 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1542 as_fn_error $?
"pwd does not report name of working directory"
1545 # Find the source files, if location was not specified.
1546 if test -z "$srcdir"; then
1547 ac_srcdir_defaulted
=yes
1548 # Try the directory containing this script, then the parent directory.
1549 ac_confdir
=`$as_dirname -- "$as_myself" ||
1550 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1551 X"$as_myself" : 'X\(//\)[^/]' \| \
1552 X"$as_myself" : 'X\(//\)$' \| \
1553 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1554 $as_echo X"$as_myself" |
1555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1573 if test ! -r "$srcdir/$ac_unique_file"; then
1577 ac_srcdir_defaulted
=no
1579 if test ! -r "$srcdir/$ac_unique_file"; then
1580 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1581 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1583 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1585 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1587 # When building in place, set srcdir=.
1588 if test "$ac_abs_confdir" = "$ac_pwd"; then
1591 # Remove unnecessary trailing slashes from srcdir.
1592 # Double slashes in file names in object file debugging info
1593 # mess up M-x gdb in Emacs.
1595 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1597 for ac_var
in $ac_precious_vars; do
1598 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1599 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1600 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1601 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1605 # Report the --help message.
1607 if test "$ac_init_help" = "long"; then
1608 # Omit some internal or obsolete options to make the list less imposing.
1609 # This message is too long to be a string in the A/UX 3.1 sh.
1611 \`configure' configures Web2C 2016/dev to adapt to many kinds of systems.
1613 Usage: $0 [OPTION]... [VAR=VALUE]...
1615 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1616 VAR=VALUE. See below for descriptions of some of the useful variables.
1618 Defaults for the options are specified in brackets.
1621 -h, --help display this help and exit
1622 --help=short display options specific to this package
1623 --help=recursive display the short help of all the included packages
1624 -V, --version display version information and exit
1625 -q, --quiet, --silent do not print \`checking ...' messages
1626 --cache-file=FILE cache test results in FILE [disabled]
1627 -C, --config-cache alias for \`--cache-file=config.cache'
1628 -n, --no-create do not create output files
1629 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1631 Installation directories:
1632 --prefix=PREFIX install architecture-independent files in PREFIX
1633 [$ac_default_prefix]
1634 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1637 By default, \`make install' will install all the files in
1638 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1639 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1640 for instance \`--prefix=\$HOME'.
1642 For better control, use the options below.
1644 Fine tuning of the installation directories:
1645 --bindir=DIR user executables [EPREFIX/bin]
1646 --sbindir=DIR system admin executables [EPREFIX/sbin]
1647 --libexecdir=DIR program executables [EPREFIX/libexec]
1648 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1649 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1650 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1651 --libdir=DIR object code libraries [EPREFIX/lib]
1652 --includedir=DIR C header files [PREFIX/include]
1653 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1654 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1655 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1656 --infodir=DIR info documentation [DATAROOTDIR/info]
1657 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1658 --mandir=DIR man documentation [DATAROOTDIR/man]
1659 --docdir=DIR documentation root [DATAROOTDIR/doc/web2c]
1660 --htmldir=DIR html documentation [DOCDIR]
1661 --dvidir=DIR dvi documentation [DOCDIR]
1662 --pdfdir=DIR pdf documentation [DOCDIR]
1663 --psdir=DIR ps documentation [DOCDIR]
1669 --program-prefix=PREFIX prepend PREFIX to installed program names
1670 --program-suffix=SUFFIX append SUFFIX to installed program names
1671 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1674 --x-includes=DIR X include files are
in DIR
1675 --x-libraries=DIR X library files are
in DIR
1678 --build=BUILD configure
for building on BUILD
[guessed
]
1679 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1683 if test -n "$ac_init_help"; then
1684 case $ac_init_help in
1685 short | recursive
) echo "Configuration of Web2C 2016/dev:";;
1690 --disable-option-checking ignore unrecognized
--enable/--with options
1691 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1692 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1693 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1694 --disable-silent-rules verbose build output
(undo
: "make V=0")
1695 --enable-maintainer-mode
1696 enable make rules and dependencies not useful
(and
1697 sometimes confusing
) to the casual installer
1698 --enable-dependency-tracking
1699 do not reject slow dependency extractors
1700 --disable-dependency-tracking
1701 speeds up one-time build
1702 --enable-compiler-warnings=[no|min|
yes|max|all
]
1703 Turn on compiler warnings
[default
: yes if
1704 maintainer-mode
, min otherwise
]
1705 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1706 --enable-static[=PKGS
] build static libraries
[default
=yes]
1707 --enable-fast-install[=PKGS
]
1708 optimize
for fast installation
[default
=yes]
1709 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1710 --disable-largefile omit support
for large files
1711 --enable-cxx-runtime-hack link C
++ runtime statically
1712 --enable-libtool-hack ignore libtool dependency_libs
1713 --enable-auto-core cause TeX
&MF to dump core
, given a certain filename
1714 --disable-dump-share make fmt
/base files architecture-dependent
1715 --disable-ipc disable TeX
's --ipc option, i.e., pipe to a program
1716 --disable-tex do not compile and install TeX
1717 --enable-tex-synctex build TeX with SyncTeX support
1718 --enable-etex compile and install e-TeX
1719 --disable-etex-synctex build e-TeX without SyncTeX support
1720 --disable-ptex do not compile and install pTeX
1721 --disable-ptex-synctex build pTeX without SyncTeX support
1722 --disable-eptex do not compile and install e-pTeX
1723 --disable-eptex-synctex build e-pTeX without SyncTeX support
1724 --disable-uptex do not compile and install upTeX
1725 --disable-uptex-synctex build upTeX without SyncTeX support
1726 --disable-euptex do not compile and install e-upTeX
1727 --disable-euptex-synctex build e-upTeX without SyncTeX support
1728 --disable-aleph do not compile and install Aleph
1729 --disable-pdftex do not compile and install pdfTeX
1730 --disable-pdftex-synctex build pdfTeX without SyncTeX support
1731 --disable-luatex do not compile and install LuaTeX
1732 --disable-luajittex do not compile and install LuaJITTeX
1733 --disable-mp do not compile and install MetaPost
1734 --disable-pmp do not compile and install pMetaPost
1735 --disable-upmp do not compile and install upMetaPost
1736 --disable-xetex do not compile and install XeTeX
1737 --disable-xetex-synctex build XeTeX without SyncTeX support
1738 --disable-mf do not compile and install METAFONT
1739 --disable-mf-nowin do not build a separate non-window-capable
1741 --disable-mflua do not compile and install MFLua
1742 --enable-mflua-nowin build a separate non-window-capable MFLua
1743 --disable-mfluajit do not compile and install MFLuaJIT
1744 --enable-mfluajit-nowin build a separate non-window-capable MFLuaJIT
1745 --enable-epsfwin include EPSF pseudo window support
1746 --enable-hp2627win include HP 2627 window support
1747 --enable-mftalkwin include mftalk (generic server) window support
1748 --enable-nextwin include NeXT window support
1749 --enable-regiswin include Regis window support
1750 --enable-suntoolswin include old Suntools (not X) window support
1751 --enable-tektronixwin include Tektronix window support
1752 --enable-unitermwin include Uniterm window support
1753 --disable-web-progs do not build WEB programs bibtex ... weave
1754 --disable-synctex do not build the SyncTeX library and tool
1755 --disable-missing terminate if a requested program or feature must be
1756 disabled, e.g., due to missing libraries
1759 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1760 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1761 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1763 --with-aix-soname=aix|svr4|both
1764 shared library versioning (aka "SONAME") variant to
1765 provide on AIX, [default=aix].
1766 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1767 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1768 compiler's sysroot
if not specified
).
1769 --with-banner-add=STR add STR to version string appended to
banner lines
1770 --with-editor=CMD invoke CMD from the
`e' option [vi +%d '%s'] or
1771 [texworks --position=%d "%s"]
1772 --with-mf-x-toolkit use X toolkit for METAFONT
1773 --with-fontconfig-includes=DIR
1774 fontconfig headers installed in DIR
1775 --with-fontconfig-libdir=DIR
1776 fontconfig library installed in DIR
1777 --with-x use the X Window System
1778 --with-system-kpathsea use installed kpathsea headers and library (requires
1780 --with-system-ptexenc use installed ptexenc headers and library (requires
1782 --with-system-zlib use installed zlib headers and library
1783 --with-zlib-includes=DIR
1784 zlib headers installed in DIR
1785 --with-zlib-libdir=DIR zlib library installed in DIR
1786 --with-system-libpng use installed libpng headers and library (requires
1788 --with-system-freetype2 use installed freetype2 headers and library
1789 (requires freetype-config)
1790 --with-system-pixman use installed pixman headers and library (requires
1792 --with-system-cairo use installed cairo headers and library (requires
1794 --with-system-gmp use installed gmp headers and library
1795 --with-gmp-includes=DIR gmp headers installed in DIR
1796 --with-gmp-libdir=DIR gmp library installed in DIR
1797 --with-system-mpfr use installed mpfr headers and library
1798 --with-mpfr-includes=DIR
1799 mpfr headers installed in DIR
1800 --with-mpfr-libdir=DIR mpfr library installed in DIR
1801 --with-system-poppler use installed poppler headers and library (requires
1803 --with-system-xpdf use installed poppler headers and library instead of
1804 xpdf library from TL (requires pkg-config)
1805 --with-system-zziplib use installed zziplib headers and library (requires
1807 --with-system-teckit use installed teckit headers and library (requires
1809 --with-system-icu use installed ICU headers and libraries (requires
1811 --with-system-graphite2 use installed graphite2 headers and library
1812 (requires pkg-config)
1813 --with-system-harfbuzz use installed harfbuzz headers and library (requires
1816 Some influential environment variables:
1817 CC C compiler command
1818 CFLAGS C compiler flags
1819 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1820 nonstandard directory <lib dir>
1821 LIBS libraries to pass to the linker, e.g. -l<library>
1822 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1823 you have headers in a nonstandard directory <include dir>
1825 User-defined run-time library search path.
1827 CXX C++ compiler command
1828 CXXFLAGS C++ compiler flags
1829 CXXCPP C++ preprocessor
1830 OBJCXX Objective C++ compiler command
1831 OBJCXXFLAGS Objective C++ compiler flags
1832 XMKMF Path to xmkmf, Makefile generator for X Window System
1833 YACC The `Yet Another Compiler Compiler
' implementation to use.
1834 Defaults to the first program found out of: `bison -y', `byacc',
1836 YFLAGS The list of arguments that will be passed by default to $YACC.
1837 This script will default YFLAGS to the empty string to avoid a
1838 default value of `-d' given by some
make applications.
1840 Use these variables to override the choices made by
`configure' or to help
1841 it to find libraries and programs with nonstandard names/locations.
1843 Report bugs to <tex-k@tug.org>.
1848 if test "$ac_init_help" = "recursive"; then
1849 # If there are subdirs, report their specific --help.
1850 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1851 test -d "$ac_dir" ||
1852 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1857 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1859 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1860 # A ".." for each directory in $ac_dir_suffix.
1861 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1862 case $ac_top_builddir_sub in
1863 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1864 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1867 ac_abs_top_builddir=$ac_pwd
1868 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1869 # for backward compatibility:
1870 ac_top_builddir=$ac_top_build_prefix
1873 .) # We are building in place.
1875 ac_top_srcdir=$ac_top_builddir_sub
1876 ac_abs_top_srcdir=$ac_pwd ;;
1877 [\\/]* | ?:[\\/]* ) # Absolute name.
1878 ac_srcdir=$srcdir$ac_dir_suffix;
1879 ac_top_srcdir=$srcdir
1880 ac_abs_top_srcdir=$srcdir ;;
1882 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1883 ac_top_srcdir=$ac_top_build_prefix$srcdir
1884 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1886 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1888 cd "$ac_dir" || { ac_status=$?; continue; }
1889 # Check for guested configure.
1890 if test -f "$ac_srcdir/configure.gnu"; then
1892 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1893 elif test -f "$ac_srcdir/configure"; then
1895 $SHELL "$ac_srcdir/configure" --help=recursive
1897 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1899 cd "$ac_pwd" || { ac_status=$?; break; }
1903 test -n "$ac_init_help" && exit $ac_status
1904 if $ac_init_version; then
1906 Web2C configure 2016/dev
1907 generated by GNU Autoconf 2.69
1909 Copyright (C) 2012 Free Software Foundation, Inc.
1910 This configure script is free software; the Free Software Foundation
1911 gives unlimited permission to copy, distribute and modify it.
1916 ## ------------------------ ##
1917 ## Autoconf initialization. ##
1918 ## ------------------------ ##
1920 # ac_fn_c_try_compile LINENO
1921 # --------------------------
1922 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1923 ac_fn_c_try_compile ()
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 rm -f conftest.$ac_objext
1927 if { { ac_try="$ac_compile"
1929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1930 *) ac_try_echo
=$ac_try;;
1932 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1933 $as_echo "$ac_try_echo"; } >&5
1934 (eval "$ac_compile") 2>conftest.err
1936 if test -s conftest.err
; then
1937 grep -v '^ *+' conftest.err
>conftest.er1
1938 cat conftest.er1
>&5
1939 mv -f conftest.er1 conftest.err
1941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test $ac_status = 0; } && {
1943 test -z "$ac_c_werror_flag" ||
1944 test ! -s conftest.err
1945 } && test -s conftest.
$ac_objext; then :
1948 $as_echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.
$ac_ext >&5
1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1954 as_fn_set_status
$ac_retval
1956 } # ac_fn_c_try_compile
1958 # ac_fn_c_try_link LINENO
1959 # -----------------------
1960 # Try to link conftest.$ac_ext, and return whether this succeeded.
1963 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1964 rm -f conftest.
$ac_objext conftest
$ac_exeext
1965 if { { ac_try
="$ac_link"
1967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1968 *) ac_try_echo=$ac_try;;
1970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971 $as_echo "$ac_try_echo"; } >&5
1972 (eval "$ac_link") 2>conftest.err
1974 if test -s conftest.err; then
1975 grep -v '^ *+' conftest.err >conftest.er1
1976 cat conftest.er1 >&5
1977 mv -f conftest.er1 conftest.err
1979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980 test $ac_status = 0; } && {
1981 test -z "$ac_c_werror_flag" ||
1982 test ! -s conftest.err
1983 } && test -s conftest$ac_exeext && {
1984 test "$cross_compiling" = yes ||
1985 test -x conftest$ac_exeext
1989 $as_echo "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.$ac_ext >&5
1994 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1995 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1996 # interfere with the next link command; also delete a directory that is
1997 # left behind by Apple's compiler. We do this before executing the actions.
1998 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000 as_fn_set_status $ac_retval
2002 } # ac_fn_c_try_link
2004 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2005 # -------------------------------------------------------
2006 # Tests whether HEADER exists and can be compiled using the include files in
2007 # INCLUDES, setting the cache variable VAR accordingly.
2008 ac_fn_c_check_header_compile ()
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012 $as_echo_n "checking for $2... " >&6; }
2013 if eval \${$3+:} false; then :
2014 $as_echo_n "(cached) " >&6
2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2021 if ac_fn_c_try_compile "$LINENO"; then :
2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2030 $as_echo "$ac_res" >&6; }
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 } # ac_fn_c_check_header_compile
2035 # ac_fn_c_try_cpp LINENO
2036 # ----------------------
2037 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041 if { { ac_try="$ac_cpp conftest.$ac_ext"
2043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2044 *) ac_try_echo
=$ac_try;;
2046 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2047 $as_echo "$ac_try_echo"; } >&5
2048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2050 if test -s conftest.err
; then
2051 grep -v '^ *+' conftest.err
>conftest.er1
2052 cat conftest.er1
>&5
2053 mv -f conftest.er1 conftest.err
2055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2056 test $ac_status = 0; } > conftest.i
&& {
2057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2058 test ! -s conftest.err
2062 $as_echo "$as_me: failed program was:" >&5
2063 sed 's/^/| /' conftest.
$ac_ext >&5
2067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2068 as_fn_set_status
$ac_retval
2072 # ac_fn_c_try_run LINENO
2073 # ----------------------
2074 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2075 # that executables *can* be run.
2078 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2079 if { { ac_try
="$ac_link"
2081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2082 *) ac_try_echo=$ac_try;;
2084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2085 $as_echo "$ac_try_echo"; } >&5
2086 (eval "$ac_link") 2>&5
2088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2089 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2090 { { case "(($ac_try" in
2091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2092 *) ac_try_echo
=$ac_try;;
2094 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2095 $as_echo "$ac_try_echo"; } >&5
2096 (eval "$ac_try") 2>&5
2098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2099 test $ac_status = 0; }; }; then :
2102 $as_echo "$as_me: program exited with status $ac_status" >&5
2103 $as_echo "$as_me: failed program was:" >&5
2104 sed 's/^/| /' conftest.
$ac_ext >&5
2106 ac_retval
=$ac_status
2108 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110 as_fn_set_status
$ac_retval
2114 # ac_fn_c_check_func LINENO FUNC VAR
2115 # ----------------------------------
2116 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2117 ac_fn_c_check_func
()
2119 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121 $as_echo_n "checking for $2... " >&6; }
2122 if eval \
${$3+:} false
; then :
2123 $as_echo_n "(cached) " >&6
2125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2126 /* end confdefs.h. */
2127 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2129 #define $2 innocuous_$2
2131 /* System header to define __stub macros and hopefully few prototypes,
2132 which can conflict with char $2 (); below.
2133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2134 <limits.h> exists even on freestanding compilers. */
2137 # include <limits.h>
2139 # include <assert.h>
2144 /* Override any GCC internal prototype to avoid an error.
2145 Use char because int might match the return type of a GCC
2146 builtin and then its argument prototype would still apply. */
2151 /* The GNU C library defines this for functions which it implements
2152 to always fail with ENOSYS. Some functions are actually named
2153 something starting with __ and the normal name is an alias. */
2154 #if defined __stub_$2 || defined __stub___$2
2166 if ac_fn_c_try_link
"$LINENO"; then :
2171 rm -f core conftest.err conftest.
$ac_objext \
2172 conftest
$ac_exeext conftest.
$ac_ext
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2176 $as_echo "$ac_res" >&6; }
2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 } # ac_fn_c_check_func
2181 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2182 # -------------------------------------------------------
2183 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2184 # the include files in INCLUDES and setting the cache variable VAR
2186 ac_fn_c_check_header_mongrel
()
2188 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2189 if eval \
${$3+:} false
; then :
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2191 $as_echo_n "checking for $2... " >&6; }
2192 if eval \
${$3+:} false
; then :
2193 $as_echo_n "(cached) " >&6
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2197 $as_echo "$ac_res" >&6; }
2199 # Is the header compilable?
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2201 $as_echo_n "checking $2 usability... " >&6; }
2202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2207 if ac_fn_c_try_compile
"$LINENO"; then :
2208 ac_header_compiler
=yes
2210 ac_header_compiler
=no
2212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2214 $as_echo "$ac_header_compiler" >&6; }
2216 # Is the header present?
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2218 $as_echo_n "checking $2 presence... " >&6; }
2219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2220 /* end confdefs.h. */
2223 if ac_fn_c_try_cpp
"$LINENO"; then :
2224 ac_header_preproc
=yes
2226 ac_header_preproc
=no
2228 rm -f conftest.err conftest.i conftest.
$ac_ext
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2230 $as_echo "$ac_header_preproc" >&6; }
2232 # So? What about this header?
2233 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2236 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2238 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2242 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2244 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2246 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2248 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2250 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2251 ( $as_echo "## ---------------------------- ##
2252 ## Report this to tex-k@tug.org ##
2253 ## ---------------------------- ##"
2254 ) |
sed "s/^/$as_me: WARNING: /" >&2
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2258 $as_echo_n "checking for $2... " >&6; }
2259 if eval \
${$3+:} false
; then :
2260 $as_echo_n "(cached) " >&6
2262 eval "$3=\$ac_header_compiler"
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2266 $as_echo "$ac_res" >&6; }
2268 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2270 } # ac_fn_c_check_header_mongrel
2272 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2273 # -------------------------------------------
2274 # Tests whether TYPE exists after having included INCLUDES, setting cache
2275 # variable VAR accordingly.
2276 ac_fn_c_check_type
()
2278 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2280 $as_echo_n "checking for $2... " >&6; }
2281 if eval \
${$3+:} false
; then :
2282 $as_echo_n "(cached) " >&6
2285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h. */
2297 if ac_fn_c_try_compile
"$LINENO"; then :
2298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2299 /* end confdefs.h. */
2310 if ac_fn_c_try_compile
"$LINENO"; then :
2315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2321 $as_echo "$ac_res" >&6; }
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 } # ac_fn_c_check_type
2326 # ac_fn_c_find_intX_t LINENO BITS VAR
2327 # -----------------------------------
2328 # Finds a signed integer type with width BITS, setting cache variable VAR
2330 ac_fn_c_find_intX_t
()
2332 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2334 $as_echo_n "checking for int$2_t... " >&6; }
2335 if eval \
${$3+:} false
; then :
2336 $as_echo_n "(cached) " >&6
2339 # Order is important - never check a type that is potentially smaller
2340 # than half of the expected target width.
2341 for ac_type
in int
$2_t 'int' 'long int' \
2342 'long long int' 'short int' 'signed char'; do
2343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2344 /* end confdefs.h. */
2345 $ac_includes_default
2346 enum { N = $2 / 2 - 1 };
2350 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2352 return test_array [0];
2358 if ac_fn_c_try_compile
"$LINENO"; then :
2359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2361 $ac_includes_default
2362 enum { N = $2 / 2 - 1 };
2366 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2367 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2369 return test_array [0];
2375 if ac_fn_c_try_compile
"$LINENO"; then :
2382 eval "$3=\$ac_type" ;;
2385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2388 if eval test \"x\$
"$3"\" = x
"no"; then :
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2397 $as_echo "$ac_res" >&6; }
2398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2400 } # ac_fn_c_find_intX_t
2402 # ac_fn_c_find_uintX_t LINENO BITS VAR
2403 # ------------------------------------
2404 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2406 ac_fn_c_find_uintX_t
()
2408 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2410 $as_echo_n "checking for uint$2_t... " >&6; }
2411 if eval \
${$3+:} false
; then :
2412 $as_echo_n "(cached) " >&6
2415 # Order is important - never check a type that is potentially smaller
2416 # than half of the expected target width.
2417 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
2418 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2420 /* end confdefs.h. */
2421 $ac_includes_default
2425 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2427 return test_array [0];
2433 if ac_fn_c_try_compile
"$LINENO"; then :
2438 eval "$3=\$ac_type" ;;
2441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2442 if eval test \"x\$
"$3"\" = x
"no"; then :
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2451 $as_echo "$ac_res" >&6; }
2452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2454 } # ac_fn_c_find_uintX_t
2456 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2457 # ---------------------------------------------
2458 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2460 ac_fn_c_check_decl
()
2462 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2463 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2464 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2466 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2467 if eval \
${$3+:} false
; then :
2468 $as_echo_n "(cached) " >&6
2470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2471 /* end confdefs.h. */
2476 #ifndef $as_decl_name
2478 (void) $as_decl_use;
2480 (void) $as_decl_name;
2488 if ac_fn_c_try_compile
"$LINENO"; then :
2493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2497 $as_echo "$ac_res" >&6; }
2498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2500 } # ac_fn_c_check_decl
2502 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2503 # ----------------------------------------------------
2504 # Tries to find if the field MEMBER exists in type AGGR, after including
2505 # INCLUDES, setting cache variable VAR accordingly.
2506 ac_fn_c_check_member
()
2508 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2510 $as_echo_n "checking for $2.$3... " >&6; }
2511 if eval \
${$4+:} false
; then :
2512 $as_echo_n "(cached) " >&6
2514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2515 /* end confdefs.h. */
2527 if ac_fn_c_try_compile
"$LINENO"; then :
2530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2531 /* end confdefs.h. */
2537 if (sizeof ac_aggr.$3)
2543 if ac_fn_c_try_compile
"$LINENO"; then :
2548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554 $as_echo "$ac_res" >&6; }
2555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2557 } # ac_fn_c_check_member
2559 # ac_fn_cxx_try_compile LINENO
2560 # ----------------------------
2561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2562 ac_fn_cxx_try_compile
()
2564 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2565 rm -f conftest.
$ac_objext
2566 if { { ac_try
="$ac_compile"
2568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572 $as_echo "$ac_try_echo"; } >&5
2573 (eval "$ac_compile") 2>conftest.err
2575 if test -s conftest.err; then
2576 grep -v '^ *+' conftest.err >conftest.er1
2577 cat conftest.er1 >&5
2578 mv -f conftest.er1 conftest.err
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; } && {
2582 test -z "$ac_cxx_werror_flag" ||
2583 test ! -s conftest.err
2584 } && test -s conftest.$ac_objext; then :
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 as_fn_set_status $ac_retval
2595 } # ac_fn_cxx_try_compile
2597 # ac_fn_cxx_try_cpp LINENO
2598 # ------------------------
2599 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2600 ac_fn_cxx_try_cpp ()
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 if { { ac_try="$ac_cpp conftest.$ac_ext"
2605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2606 *) ac_try_echo
=$ac_try;;
2608 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2609 $as_echo "$ac_try_echo"; } >&5
2610 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2612 if test -s conftest.err
; then
2613 grep -v '^ *+' conftest.err
>conftest.er1
2614 cat conftest.er1
>&5
2615 mv -f conftest.er1 conftest.err
2617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2618 test $ac_status = 0; } > conftest.i
&& {
2619 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2620 test ! -s conftest.err
2624 $as_echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.
$ac_ext >&5
2629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2630 as_fn_set_status
$ac_retval
2632 } # ac_fn_cxx_try_cpp
2634 # ac_fn_cxx_try_link LINENO
2635 # -------------------------
2636 # Try to link conftest.$ac_ext, and return whether this succeeded.
2637 ac_fn_cxx_try_link
()
2639 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2640 rm -f conftest.
$ac_objext conftest
$ac_exeext
2641 if { { ac_try
="$ac_link"
2643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2647 $as_echo "$ac_try_echo"; } >&5
2648 (eval "$ac_link") 2>conftest.err
2650 if test -s conftest.err; then
2651 grep -v '^ *+' conftest.err >conftest.er1
2652 cat conftest.er1 >&5
2653 mv -f conftest.er1 conftest.err
2655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2656 test $ac_status = 0; } && {
2657 test -z "$ac_cxx_werror_flag" ||
2658 test ! -s conftest.err
2659 } && test -s conftest$ac_exeext && {
2660 test "$cross_compiling" = yes ||
2661 test -x conftest$ac_exeext
2665 $as_echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2670 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2671 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2672 # interfere with the next link command; also delete a directory that is
2673 # left behind by Apple's compiler. We do this before executing the actions.
2674 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676 as_fn_set_status $ac_retval
2678 } # ac_fn_cxx_try_link
2680 # ac_fn_objcxx_try_compile LINENO
2681 # -------------------------------
2682 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2683 ac_fn_objcxx_try_compile ()
2685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2686 rm -f conftest.$ac_objext
2687 if { { ac_try="$ac_compile"
2689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2690 *) ac_try_echo
=$ac_try;;
2692 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694 (eval "$ac_compile") 2>conftest.err
2696 if test -s conftest.err
; then
2697 grep -v '^ *+' conftest.err
>conftest.er1
2698 cat conftest.er1
>&5
2699 mv -f conftest.er1 conftest.err
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; } && {
2703 test -z "$ac_objcxx_werror_flag" ||
2704 test ! -s conftest.err
2705 } && test -s conftest.
$ac_objext; then :
2708 $as_echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.
$ac_ext >&5
2713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2714 as_fn_set_status
$ac_retval
2716 } # ac_fn_objcxx_try_compile
2718 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2719 # ---------------------------------------------------------
2720 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2721 # the include files in INCLUDES and setting the cache variable VAR
2723 ac_fn_cxx_check_header_mongrel
()
2725 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2726 if eval \
${$3+:} false
; then :
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2728 $as_echo_n "checking for $2... " >&6; }
2729 if eval \
${$3+:} false
; then :
2730 $as_echo_n "(cached) " >&6
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2734 $as_echo "$ac_res" >&6; }
2736 # Is the header compilable?
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2738 $as_echo_n "checking $2 usability... " >&6; }
2739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2740 /* end confdefs.h. */
2744 if ac_fn_cxx_try_compile
"$LINENO"; then :
2745 ac_header_compiler
=yes
2747 ac_header_compiler
=no
2749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2751 $as_echo "$ac_header_compiler" >&6; }
2753 # Is the header present?
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2755 $as_echo_n "checking $2 presence... " >&6; }
2756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2760 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2761 ac_header_preproc
=yes
2763 ac_header_preproc
=no
2765 rm -f conftest.err conftest.i conftest.
$ac_ext
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2767 $as_echo "$ac_header_preproc" >&6; }
2769 # So? What about this header?
2770 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2773 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2775 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2779 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2781 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2783 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2785 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2787 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2788 ( $as_echo "## ---------------------------- ##
2789 ## Report this to tex-k@tug.org ##
2790 ## ---------------------------- ##"
2791 ) |
sed "s/^/$as_me: WARNING: /" >&2
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2795 $as_echo_n "checking for $2... " >&6; }
2796 if eval \
${$3+:} false
; then :
2797 $as_echo_n "(cached) " >&6
2799 eval "$3=\$ac_header_compiler"
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2803 $as_echo "$ac_res" >&6; }
2805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2807 } # ac_fn_cxx_check_header_mongrel
2809 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2810 # --------------------------------------------
2811 # Tries to find the compile-time value of EXPR in a program that includes
2812 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2814 ac_fn_c_compute_int
()
2816 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2817 if test "$cross_compiling" = yes; then
2818 # Depending upon the size, compute the lo and hi bounds.
2819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2825 static int test_array [1 - 2 * !(($2) >= 0)];
2827 return test_array [0];
2833 if ac_fn_c_try_compile
"$LINENO"; then :
2836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2842 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2844 return test_array [0];
2850 if ac_fn_c_try_compile
"$LINENO"; then :
2851 ac_hi
=$ac_mid; break
2853 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2854 if test $ac_lo -le $ac_mid; then
2858 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2869 static int test_array [1 - 2 * !(($2) < 0)];
2871 return test_array [0];
2877 if ac_fn_c_try_compile
"$LINENO"; then :
2880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2886 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2888 return test_array [0];
2894 if ac_fn_c_try_compile
"$LINENO"; then :
2895 ac_lo
=$ac_mid; break
2897 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2898 if test $ac_mid -le $ac_hi; then
2902 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2912 # Binary search between lo and hi bounds.
2913 while test "x$ac_lo" != "x$ac_hi"; do
2914 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2921 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2923 return test_array [0];
2929 if ac_fn_c_try_compile
"$LINENO"; then :
2932 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2937 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2944 static long int longval () { return $2; }
2945 static unsigned long int ulongval () { return $2; }
2952 FILE *f = fopen ("conftest.val", "w");
2957 long int i = longval ();
2960 fprintf (f, "%ld", i);
2964 unsigned long int i = ulongval ();
2967 fprintf (f, "%lu", i);
2969 /* Do not output a trailing newline, as this causes \r\n confusion
2970 on some platforms. */
2971 return ferror (f) || fclose (f) != 0;
2977 if ac_fn_c_try_run
"$LINENO"; then :
2978 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2982 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2983 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2988 as_fn_set_status
$ac_retval
2990 } # ac_fn_c_compute_int
2991 cat >config.log
<<_ACEOF
2992 This file contains any messages produced by compilers while
2993 running configure, to aid debugging if configure makes a mistake.
2995 It was created by Web2C $as_me 2016/dev, which was
2996 generated by GNU Autoconf 2.69. Invocation command line was
3008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3015 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3017 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3018 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3020 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3021 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3022 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3023 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir
=.
3032 $as_echo "PATH: $as_dir"
3048 # Keep a trace of the command line.
3049 # Strip out --no-create and --no-recursion so they do not pile up.
3050 # Strip out --silent because we don't want to record it for future runs.
3051 # Also quote any args containing shell meta-characters.
3052 # Make two passes to allow for proper duplicate-argument suppression.
3056 ac_must_keep_next
=false
3062 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3064 |
-silent |
--silent |
--silen |
--sile |
--sil)
3067 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3070 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3072 as_fn_append ac_configure_args1
" '$ac_arg'"
3073 if test $ac_must_keep_next = true
; then
3074 ac_must_keep_next
=false
# Got value, back to normal.
3077 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3078 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3079 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3080 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3081 case "$ac_configure_args0 " in
3082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3085 -* ) ac_must_keep_next
=true
;;
3088 as_fn_append ac_configure_args
" '$ac_arg'"
3093 { ac_configure_args0
=; unset ac_configure_args0
;}
3094 { ac_configure_args1
=; unset ac_configure_args1
;}
3096 # When interrupted or exit'd, cleanup temporary files, and complete
3097 # config.log. We remove comments because anyway the quotes in there
3098 # would cause problems or look ugly.
3099 # WARNING: Use '\'' to represent an apostrophe within the trap.
3100 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3101 trap 'exit_status=$?
3102 # Save into config.log some information that might help in debugging.
3106 $as_echo "## ---------------- ##
3107 ## Cache variables. ##
3108 ## ---------------- ##"
3110 # The following way of writing the cache mishandles newlines in values,
3112 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3113 eval ac_val=\$$ac_var
3117 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3118 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3121 _ | IFS | as_nl) ;; #(
3122 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3123 *) { eval $ac_var=; unset $ac_var;} ;;
3128 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3129 *${as_nl}ac_space=\ *)
3131 "s/'\''/'\''\\\\'\'''\''/g;
3132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3142 $as_echo "## ----------------- ##
3143 ## Output variables. ##
3144 ## ----------------- ##"
3146 for ac_var in $ac_subst_vars
3148 eval ac_val=\$$ac_var
3150 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3152 $as_echo "$ac_var='\''$ac_val'\''"
3156 if test -n "$ac_subst_files"; then
3157 $as_echo "## ------------------- ##
3158 ## File substitutions. ##
3159 ## ------------------- ##"
3161 for ac_var
in $ac_subst_files
3163 eval ac_val
=\$
$ac_var
3165 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3167 $as_echo "$ac_var='\''$ac_val'\''"
3172 if test -s confdefs.h; then
3173 $as_echo "## ----------- ##
3180 test "$ac_signal" != 0 &&
3181 $as_echo "$as_me: caught signal $ac_signal"
3182 $as_echo "$as_me: exit $exit_status"
3184 rm -f core *.core core.conftest.* &&
3185 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3188 for ac_signal
in 1 2 13 15; do
3189 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3193 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3194 rm -f -r conftest
* confdefs.h
3196 $as_echo "/* confdefs.h */" > confdefs.h
3198 # Predefined preprocessor variables.
3200 cat >>confdefs.h
<<_ACEOF
3201 #define PACKAGE_NAME "$PACKAGE_NAME"
3204 cat >>confdefs.h
<<_ACEOF
3205 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3208 cat >>confdefs.h
<<_ACEOF
3209 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3212 cat >>confdefs.h
<<_ACEOF
3213 #define PACKAGE_STRING "$PACKAGE_STRING"
3216 cat >>confdefs.h
<<_ACEOF
3217 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3220 cat >>confdefs.h
<<_ACEOF
3221 #define PACKAGE_URL "$PACKAGE_URL"
3225 # Let the site file select an alternate cache file if it wants to.
3226 # Prefer an explicitly selected file to automatically selected ones.
3229 if test -n "$CONFIG_SITE"; then
3230 # We do not want a PATH search for config.site.
3231 case $CONFIG_SITE in #((
3232 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3233 */*) ac_site_file1
=$CONFIG_SITE;;
3234 *) ac_site_file1
=.
/$CONFIG_SITE;;
3236 elif test "x$prefix" != xNONE
; then
3237 ac_site_file1
=$prefix/share
/config.site
3238 ac_site_file2
=$prefix/etc
/config.site
3240 ac_site_file1
=$ac_default_prefix/share
/config.site
3241 ac_site_file2
=$ac_default_prefix/etc
/config.site
3243 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3245 test "x$ac_site_file" = xNONE
&& continue
3246 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3248 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3249 sed 's/^/| /' "$ac_site_file" >&5
3251 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3253 as_fn_error $?
"failed to load site script $ac_site_file
3254 See \`config.log' for more details" "$LINENO" 5; }
3258 if test -r "$cache_file"; then
3259 # Some versions of bash will fail to source /dev/null (special files
3260 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3261 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3263 $as_echo "$as_me: loading cache $cache_file" >&6;}
3265 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3266 *) .
"./$cache_file";;
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3271 $as_echo "$as_me: creating cache $cache_file" >&6;}
3275 # Check that the precious variables saved in the cache have kept the same
3277 ac_cache_corrupted
=false
3278 for ac_var
in $ac_precious_vars; do
3279 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3280 eval ac_new_set
=\
$ac_env_${ac_var}_set
3281 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3282 eval ac_new_val
=\
$ac_env_${ac_var}_value
3283 case $ac_old_set,$ac_new_set in
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3286 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3287 ac_cache_corrupted
=: ;;
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3290 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3291 ac_cache_corrupted
=: ;;
3294 if test "x$ac_old_val" != "x$ac_new_val"; then
3295 # differences in whitespace do not lead to failure.
3296 ac_old_val_w
=`echo x $ac_old_val`
3297 ac_new_val_w
=`echo x $ac_new_val`
3298 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3300 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3301 ac_cache_corrupted
=:
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3304 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3305 eval $ac_var=\
$ac_old_val
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3308 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3310 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3313 # Pass precious variables to config.status.
3314 if test "$ac_new_set" = set; then
3316 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3317 *) ac_arg
=$ac_var=$ac_new_val ;;
3319 case " $ac_configure_args " in
3320 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3321 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3325 if $ac_cache_corrupted; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3329 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3330 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3332 ## -------------------- ##
3333 ## Main body of script. ##
3334 ## -------------------- ##
3337 ac_cpp
='$CPP $CPPFLAGS'
3338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3346 for ac_dir
in ..
/..
/build-aux
"$srcdir"/..
/..
/build-aux
; do
3347 if test -f "$ac_dir/install-sh"; then
3349 ac_install_sh
="$ac_aux_dir/install-sh -c"
3351 elif test -f "$ac_dir/install.sh"; then
3353 ac_install_sh
="$ac_aux_dir/install.sh -c"
3355 elif test -f "$ac_dir/shtool"; then
3357 ac_install_sh
="$ac_aux_dir/shtool install -c"
3361 if test -z "$ac_aux_dir"; then
3362 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
3365 # These three variables are undocumented and unsupported,
3366 # and are intended to be withdrawn in a future Autoconf release.
3367 # They can cause serious problems if a builder's source tree is in a directory
3368 # whose full name contains unusual characters.
3369 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3370 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3371 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3376 WEB2CVERSION
=2016/dev
3379 am__api_version
='1.15'
3381 # Find a good install program. We prefer a C program (faster),
3382 # so one script is as good as another. But avoid the broken or
3383 # incompatible versions:
3384 # SysV /etc/install, /usr/sbin/install
3385 # SunOS /usr/etc/install
3386 # IRIX /sbin/install
3388 # AmigaOS /C/install, which installs bootblocks on floppy discs
3389 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3390 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3391 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3392 # OS/2's system install, which has a completely different semantic
3393 # ./install, which can be erroneously created by make from ./install.sh.
3394 # Reject install programs that cannot install multiple files.
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3396 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3397 if test -z "$INSTALL"; then
3398 if ${ac_cv_path_install+:} false
; then :
3399 $as_echo_n "(cached) " >&6
3401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir
=.
3406 # Account for people who put trailing slashes in PATH elements.
3407 case $as_dir/ in #((
3408 .
/ | .
// |
/[cC
]/* | \
3409 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3410 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3413 # OSF1 and SCO ODT 3.0 have their own names for install.
3414 # Don't use installbsd from OSF since it installs stuff as root
3416 for ac_prog
in ginstall scoinst
install; do
3417 for ac_exec_ext
in '' $ac_executable_extensions; do
3418 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3419 if test $ac_prog = install &&
3420 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3421 # AIX install. It has an incompatible calling convention.
3423 elif test $ac_prog = install &&
3424 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3425 # program-specific install script used by HP pwplus--don't use.
3428 rm -rf conftest.one conftest.two conftest.dir
3429 echo one
> conftest.one
3430 echo two
> conftest.two
3432 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3433 test -s conftest.one
&& test -s conftest.two
&&
3434 test -s conftest.dir
/conftest.one
&&
3435 test -s conftest.dir
/conftest.two
3437 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3450 rm -rf conftest.one conftest.two conftest.dir
3453 if test "${ac_cv_path_install+set}" = set; then
3454 INSTALL
=$ac_cv_path_install
3456 # As a last resort, use the slow shell script. Don't cache a
3457 # value for INSTALL within a source directory, because that will
3458 # break other packages using the cache if that directory is
3459 # removed, or if the value is a relative name.
3460 INSTALL
=$ac_install_sh
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3464 $as_echo "$INSTALL" >&6; }
3466 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3467 # It thinks the first close brace ends the variable substitution.
3468 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3470 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3472 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3475 $as_echo_n "checking whether build environment is sane... " >&6; }
3476 # Reject unsafe characters in $srcdir or the absolute working directory
3477 # name. Accept space and tab only in the latter.
3481 *[\\\"\
#\$\&\'\`$am_lf]*)
3482 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3485 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3486 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3489 # Do 'set' in a subshell so we don't clobber the current shell's
3490 # arguments. Must try -L first in case configure is actually a
3491 # symlink; some systems play weird games with the mod time of symlinks
3492 # (eg FreeBSD returns the mod time of the symlink's containing
3496 for am_try
in 1 2; do
3497 echo "timestamp, slept: $am_has_slept" > conftest.
file
3498 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3499 if test "$*" = "X"; then
3501 set X
`ls -t "$srcdir/configure" conftest.file`
3503 if test "$*" != "X $srcdir/configure conftest.file" \
3504 && test "$*" != "X conftest.file $srcdir/configure"; then
3506 # If neither matched, then we have a broken ls. This can happen
3507 # if, for instance, CONFIG_SHELL is bash and it inherits a
3508 # broken ls alias from the environment. This has actually
3509 # happened. Such a system could not be considered "sane".
3510 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3511 alias in your environment" "$LINENO" 5
3513 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3520 test "$2" = conftest.
file
3526 as_fn_error $?
"newly created file is older than distributed files!
3527 Check your system clock" "$LINENO" 5
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3530 $as_echo "yes" >&6; }
3531 # If we didn't sleep, we still need to ensure time stamps of config.status and
3532 # generated files are strictly newer.
3534 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3541 test "$program_prefix" != NONE
&&
3542 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3543 # Use a double $ so make ignores it.
3544 test "$program_suffix" != NONE
&&
3545 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3546 # Double any \ or $.
3547 # By default was `s,x,x', remove it if useless.
3548 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3549 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3551 # Expand $ac_aux_dir to an absolute path.
3552 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3554 if test x
"${MISSING+set}" != xset
; then
3557 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3559 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3562 # Use eval to expand $SHELL
3563 if eval "$MISSING --is-lightweight"; then
3564 am_missing_run
="$MISSING "
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3568 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3571 if test x
"${install_sh+set}" != xset
; then
3574 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3576 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3580 # Installed binaries are usually stripped using 'strip' when the user
3581 # run "make install-strip". However 'strip' might not be the right
3582 # tool to use in cross-compilation environments, therefore Automake
3583 # will honor the 'STRIP' environment variable to overrule this program.
3584 if test "$cross_compiling" != no
; then
3585 if test -n "$ac_tool_prefix"; then
3586 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3587 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if ${ac_cv_prog_STRIP+:} false
; then :
3591 $as_echo_n "(cached) " >&6
3593 if test -n "$STRIP"; then
3594 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir
=.
3601 for ac_exec_ext
in '' $ac_executable_extensions; do
3602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3603 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 STRIP
=$ac_cv_prog_STRIP
3614 if test -n "$STRIP"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3616 $as_echo "$STRIP" >&6; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3624 if test -z "$ac_cv_prog_STRIP"; then
3626 # Extract the first word of "strip", so it can be a program name with args.
3627 set dummy strip
; ac_word
=$2
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3631 $as_echo_n "(cached) " >&6
3633 if test -n "$ac_ct_STRIP"; then
3634 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3640 test -z "$as_dir" && as_dir
=.
3641 for ac_exec_ext
in '' $ac_executable_extensions; do
3642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3643 ac_cv_prog_ac_ct_STRIP
="strip"
3644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3654 if test -n "$ac_ct_STRIP"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3656 $as_echo "$ac_ct_STRIP" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3662 if test "x$ac_ct_STRIP" = x
; then
3665 case $cross_compiling:$ac_tool_warned in
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3669 ac_tool_warned
=yes ;;
3674 STRIP
="$ac_cv_prog_STRIP"
3678 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3681 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3682 if test -z "$MKDIR_P"; then
3683 if ${ac_cv_path_mkdir+:} false
; then :
3684 $as_echo_n "(cached) " >&6
3686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3687 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3690 test -z "$as_dir" && as_dir
=.
3691 for ac_prog
in mkdir gmkdir
; do
3692 for ac_exec_ext
in '' $ac_executable_extensions; do
3693 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3694 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3695 'mkdir (GNU coreutils) '* | \
3696 'mkdir (coreutils) '* | \
3697 'mkdir (fileutils) '4.1*)
3698 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3708 test -d .
/--version && rmdir .
/--version
3709 if test "${ac_cv_path_mkdir+set}" = set; then
3710 MKDIR_P
="$ac_cv_path_mkdir -p"
3712 # As a last resort, use the slow shell script. Don't cache a
3713 # value for MKDIR_P within a source directory, because that will
3714 # break other packages using the cache if that directory is
3715 # removed, or if the value is a relative name.
3716 MKDIR_P
="$ac_install_sh -d"
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3720 $as_echo "$MKDIR_P" >&6; }
3722 for ac_prog
in gawk mawk nawk
awk
3724 # Extract the first word of "$ac_prog", so it can be a program name with args.
3725 set dummy
$ac_prog; ac_word
=$2
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3728 if ${ac_cv_prog_AWK+:} false
; then :
3729 $as_echo_n "(cached) " >&6
3731 if test -n "$AWK"; then
3732 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3738 test -z "$as_dir" && as_dir
=.
3739 for ac_exec_ext
in '' $ac_executable_extensions; do
3740 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3741 ac_cv_prog_AWK
="$ac_prog"
3742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 if test -n "$AWK"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3754 $as_echo "$AWK" >&6; }
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3761 test -n "$AWK" && break
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3765 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3767 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3768 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3769 $as_echo_n "(cached) " >&6
3771 cat >conftest.
make <<\_ACEOF
3774 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3776 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3777 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3779 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3781 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3785 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3787 $as_echo "yes" >&6; }
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3791 $as_echo "no" >&6; }
3792 SET_MAKE
="MAKE=${MAKE-make}"
3795 rm -rf .tst
2>/dev
/null
3796 mkdir .tst
2>/dev
/null
3797 if test -d .tst
; then
3802 rmdir .tst
2>/dev
/null
3804 # Check whether --enable-silent-rules was given.
3805 if test "${enable_silent_rules+set}" = set; then :
3806 enableval
=$enable_silent_rules;
3809 case $enable_silent_rules in # (((
3810 yes) AM_DEFAULT_VERBOSITY
=0;;
3811 no
) AM_DEFAULT_VERBOSITY
=1;;
3812 *) AM_DEFAULT_VERBOSITY
=1;;
3814 am_make
=${MAKE-make}
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3816 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3817 if ${am_cv_make_support_nested_variables+:} false
; then :
3818 $as_echo_n "(cached) " >&6
3820 if $as_echo 'TRUE=$(BAR$(V))
3826 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3827 am_cv_make_support_nested_variables
=yes
3829 am_cv_make_support_nested_variables
=no
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3833 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3834 if test $am_cv_make_support_nested_variables = yes; then
3836 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3838 AM_V
=$AM_DEFAULT_VERBOSITY
3839 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3843 DEPDIR="${am__leading_dot}deps"
3845 ac_config_commands="$ac_config_commands depfiles"
3848 am_make=${MAKE-make}
3849 cat > confinc << 'END
'
3851 @echo this is the am__doit target
3854 # If we don't
find an include directive
, just comment out the code.
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3856 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3860 # First try GNU make style include.
3861 echo "include confinc" > confmf
3862 # Ignore all kinds of additional output from 'make'.
3863 case `$am_make -s -f confmf 2> /dev/null` in #(
3864 *the\ am__doit\ target
*)
3870 # Now try BSD make style include.
3871 if test "$am__include" = "#"; then
3872 echo '.include "confinc"' > confmf
3873 case `$am_make -s -f confmf 2> /dev/null` in #(
3874 *the\ am__doit\ target
*)
3875 am__include
=.include
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3884 $as_echo "$_am_result" >&6; }
3885 rm -f confinc confmf
3887 # Check whether --enable-dependency-tracking was given.
3888 if test "${enable_dependency_tracking+set}" = set; then :
3889 enableval
=$enable_dependency_tracking;
3892 if test "x$enable_dependency_tracking" != xno
; then
3893 am_depcomp
="$ac_aux_dir/depcomp"
3897 if test "x$enable_dependency_tracking" != xno; then
3907 ac_cpp
='$CPP $CPPFLAGS'
3908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3911 if test -n "$ac_tool_prefix"; then
3912 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3913 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3915 $as_echo_n "checking for $ac_word... " >&6; }
3916 if ${ac_cv_prog_CC+:} false
; then :
3917 $as_echo_n "(cached) " >&6
3919 if test -n "$CC"; then
3920 ac_cv_prog_CC
="$CC" # Let the user override the test.
3922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3926 test -z "$as_dir" && as_dir
=.
3927 for ac_exec_ext
in '' $ac_executable_extensions; do
3928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3929 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3940 if test -n "$CC"; then
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3942 $as_echo "$CC" >&6; }
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 $as_echo "no" >&6; }
3950 if test -z "$ac_cv_prog_CC"; then
3952 # Extract the first word of "gcc", so it can be a program name with args.
3953 set dummy gcc
; ac_word
=$2
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955 $as_echo_n "checking for $ac_word... " >&6; }
3956 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3957 $as_echo_n "(cached) " >&6
3959 if test -n "$ac_ct_CC"; then
3960 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3966 test -z "$as_dir" && as_dir
=.
3967 for ac_exec_ext
in '' $ac_executable_extensions; do
3968 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3969 ac_cv_prog_ac_ct_CC
="gcc"
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3979 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3980 if test -n "$ac_ct_CC"; then
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3982 $as_echo "$ac_ct_CC" >&6; }
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3988 if test "x$ac_ct_CC" = x
; then
3991 case $cross_compiling:$ac_tool_warned in
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3995 ac_tool_warned
=yes ;;
4003 if test -z "$CC"; then
4004 if test -n "$ac_tool_prefix"; then
4005 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4006 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4008 $as_echo_n "checking for $ac_word... " >&6; }
4009 if ${ac_cv_prog_CC+:} false
; then :
4010 $as_echo_n "(cached) " >&6
4012 if test -n "$CC"; then
4013 ac_cv_prog_CC
="$CC" # Let the user override the test.
4015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4019 test -z "$as_dir" && as_dir
=.
4020 for ac_exec_ext
in '' $ac_executable_extensions; do
4021 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4022 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4033 if test -n "$CC"; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4035 $as_echo "$CC" >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4044 if test -z "$CC"; then
4045 # Extract the first word of "cc", so it can be a program name with args.
4046 set dummy cc
; ac_word
=$2
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048 $as_echo_n "checking for $ac_word... " >&6; }
4049 if ${ac_cv_prog_CC+:} false
; then :
4050 $as_echo_n "(cached) " >&6
4052 if test -n "$CC"; then
4053 ac_cv_prog_CC
="$CC" # Let the user override the test.
4056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4060 test -z "$as_dir" && as_dir
=.
4061 for ac_exec_ext
in '' $ac_executable_extensions; do
4062 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4063 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4064 ac_prog_rejected
=yes
4068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4075 if test $ac_prog_rejected = yes; then
4076 # We found a bogon in the path, so make sure we never use it.
4077 set dummy
$ac_cv_prog_CC
4079 if test $# != 0; then
4080 # We chose a different compiler from the bogus one.
4081 # However, it has the same basename, so the bogon will be chosen
4082 # first if we set CC to just the basename; use the full file name.
4084 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4090 if test -n "$CC"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4092 $as_echo "$CC" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 $as_echo "no" >&6; }
4100 if test -z "$CC"; then
4101 if test -n "$ac_tool_prefix"; then
4102 for ac_prog
in cl.exe
4104 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4105 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4107 $as_echo_n "checking for $ac_word... " >&6; }
4108 if ${ac_cv_prog_CC+:} false
; then :
4109 $as_echo_n "(cached) " >&6
4111 if test -n "$CC"; then
4112 ac_cv_prog_CC
="$CC" # Let the user override the test.
4114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4118 test -z "$as_dir" && as_dir
=.
4119 for ac_exec_ext
in '' $ac_executable_extensions; do
4120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4121 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4132 if test -n "$CC"; then
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4134 $as_echo "$CC" >&6; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4137 $as_echo "no" >&6; }
4141 test -n "$CC" && break
4144 if test -z "$CC"; then
4146 for ac_prog
in cl.exe
4148 # Extract the first word of "$ac_prog", so it can be a program name with args.
4149 set dummy
$ac_prog; ac_word
=$2
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4151 $as_echo_n "checking for $ac_word... " >&6; }
4152 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4153 $as_echo_n "(cached) " >&6
4155 if test -n "$ac_ct_CC"; then
4156 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4162 test -z "$as_dir" && as_dir
=.
4163 for ac_exec_ext
in '' $ac_executable_extensions; do
4164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4165 ac_cv_prog_ac_ct_CC
="$ac_prog"
4166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4175 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4176 if test -n "$ac_ct_CC"; then
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4178 $as_echo "$ac_ct_CC" >&6; }
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4181 $as_echo "no" >&6; }
4185 test -n "$ac_ct_CC" && break
4188 if test "x$ac_ct_CC" = x
; then
4191 case $cross_compiling:$ac_tool_warned in
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4195 ac_tool_warned
=yes ;;
4204 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4206 as_fn_error $?
"no acceptable C compiler found in \$PATH
4207 See \`config.log' for more details" "$LINENO" 5; }
4209 # Provide some information about the compiler.
4210 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4213 for ac_option
in --version -v -V -qversion; do
4214 { { ac_try
="$ac_compiler $ac_option >&5"
4216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4217 *) ac_try_echo=$ac_try;;
4219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4220 $as_echo "$ac_try_echo"; } >&5
4221 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4223 if test -s conftest.err; then
4225 ... rest of stderr output deleted ...
4226 10q' conftest.err >conftest.er1
4227 cat conftest.er1 >&5
4229 rm -f conftest.er1 conftest.err
4230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4231 test $ac_status = 0; }
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4245 ac_clean_files_save=$ac_clean_files
4246 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4247 # Try to create an executable without -o first, disregard a.out.
4248 # It will help us diagnose broken compilers, and finding out an intuition
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4251 $as_echo_n "checking whether the C compiler works... " >&6; }
4252 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4254 # The possible output files:
4255 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4258 for ac_file in $ac_files
4261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4262 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4267 if { { ac_try="$ac_link_default"
4269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4270 *) ac_try_echo
=$ac_try;;
4272 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4273 $as_echo "$ac_try_echo"; } >&5
4274 (eval "$ac_link_default") 2>&5
4276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4277 test $ac_status = 0; }; then :
4278 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4279 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4280 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4281 # so that the user can short-circuit this test for compilers unknown to
4283 for ac_file
in $ac_files ''
4285 test -f "$ac_file" ||
continue
4287 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4290 # We found the default executable, but exeext='' is most
4294 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4296 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4298 # We set ac_cv_exeext here because the later test for it is not
4299 # safe: cross compilers may not add the suffix if given an `-o'
4300 # argument, so we may need to know it at that point already.
4301 # Even if this section looks crufty: it has the advantage of
4308 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4313 if test -z "$ac_file"; then :
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4315 $as_echo "no" >&6; }
4316 $as_echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.
$ac_ext >&5
4319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321 as_fn_error
77 "C compiler cannot create executables
4322 See \`config.log' for more details" "$LINENO" 5; }
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4325 $as_echo "yes" >&6; }
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4328 $as_echo_n "checking for C compiler default output file name... " >&6; }
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4330 $as_echo "$ac_file" >&6; }
4331 ac_exeext
=$ac_cv_exeext
4333 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4334 ac_clean_files
=$ac_clean_files_save
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4336 $as_echo_n "checking for suffix of executables... " >&6; }
4337 if { { ac_try
="$ac_link"
4339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4343 $as_echo "$ac_try_echo"; } >&5
4344 (eval "$ac_link") 2>&5
4346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4347 test $ac_status = 0; }; then :
4348 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4349 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4350 # work properly (i.e., refer to `conftest.exe'), while it won't with
4352 for ac_file
in conftest.exe conftest conftest.
*; do
4353 test -f "$ac_file" ||
continue
4355 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4356 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4364 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4365 See \`config.log' for more details" "$LINENO" 5; }
4367 rm -f conftest conftest
$ac_cv_exeext
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4369 $as_echo "$ac_cv_exeext" >&6; }
4371 rm -f conftest.
$ac_ext
4372 EXEEXT
=$ac_cv_exeext
4374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4375 /* end confdefs.h. */
4380 FILE *f = fopen ("conftest.out", "w");
4381 return ferror (f) || fclose (f) != 0;
4387 ac_clean_files
="$ac_clean_files conftest.out"
4388 # Check that the compiler produces executables we can run. If not, either
4389 # the compiler is broken, or we cross compile.
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4391 $as_echo_n "checking whether we are cross compiling... " >&6; }
4392 if test "$cross_compiling" != yes; then
4393 { { ac_try
="$ac_link"
4395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4396 *) ac_try_echo=$ac_try;;
4398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4399 $as_echo "$ac_try_echo"; } >&5
4400 (eval "$ac_link") 2>&5
4402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4403 test $ac_status = 0; }
4404 if { ac_try='./conftest$ac_cv_exeext'
4405 { { case "(($ac_try" in
4406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4407 *) ac_try_echo
=$ac_try;;
4409 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4410 $as_echo "$ac_try_echo"; } >&5
4411 (eval "$ac_try") 2>&5
4413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4414 test $ac_status = 0; }; }; then
4417 if test "$cross_compiling" = maybe
; then
4420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4422 as_fn_error $?
"cannot run C compiled programs.
4423 If you meant to cross compile, use \`--host'.
4424 See \`config.log' for more details" "$LINENO" 5; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4429 $as_echo "$cross_compiling" >&6; }
4431 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4432 ac_clean_files
=$ac_clean_files_save
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4434 $as_echo_n "checking for suffix of object files... " >&6; }
4435 if ${ac_cv_objext+:} false
; then :
4436 $as_echo_n "(cached) " >&6
4438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4449 rm -f conftest.o conftest.obj
4450 if { { ac_try
="$ac_compile"
4452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4453 *) ac_try_echo=$ac_try;;
4455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4456 $as_echo "$ac_try_echo"; } >&5
4457 (eval "$ac_compile") 2>&5
4459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4460 test $ac_status = 0; }; then :
4461 for ac_file in conftest.o conftest.obj conftest.*; do
4462 test -f "$ac_file" || continue;
4464 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4465 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4470 $as_echo "$as_me: failed program was:" >&5
4471 sed 's/^/| /' conftest.$ac_ext >&5
4473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4475 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4476 See \
`config.log' for more details" "$LINENO" 5; }
4478 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4481 $as_echo "$ac_cv_objext" >&6; }
4482 OBJEXT=$ac_cv_objext
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4485 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4486 if ${ac_cv_c_compiler_gnu+:} false; then :
4487 $as_echo_n "(cached) " >&6
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4503 if ac_fn_c_try_compile "$LINENO"; then :
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4513 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4514 if test $ac_compiler_gnu = yes; then
4519 ac_test_CFLAGS=${CFLAGS+set}
4520 ac_save_CFLAGS=$CFLAGS
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4522 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4523 if ${ac_cv_prog_cc_g+:} false; then :
4524 $as_echo_n "(cached) " >&6
4526 ac_save_c_werror_flag=$ac_c_werror_flag
4527 ac_c_werror_flag=yes
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4541 if ac_fn_c_try_compile "$LINENO"; then :
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4556 if ac_fn_c_try_compile "$LINENO"; then :
4559 ac_c_werror_flag=$ac_save_c_werror_flag
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4572 if ac_fn_c_try_compile "$LINENO"; then :
4575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 ac_c_werror_flag=$ac_save_c_werror_flag
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4583 $as_echo "$ac_cv_prog_cc_g" >&6; }
4584 if test "$ac_test_CFLAGS" = set; then
4585 CFLAGS=$ac_save_CFLAGS
4586 elif test $ac_cv_prog_cc_g = yes; then
4587 if test "$GCC" = yes; then
4593 if test "$GCC" = yes; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4600 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4601 if ${ac_cv_prog_cc_c89+:} false; then :
4602 $as_echo_n "(cached) " >&6
4604 ac_cv_prog_cc_c89=no
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4611 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4612 struct buf { int x; };
4613 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4614 static char *e (p, i)
4620 static char *f (char * (*g) (char **, int), char **p, ...)
4625 s = g (p, va_arg (v,int));
4630 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4631 function prototypes and stuff, but not '\xHH' hex character constants.
4632 These don't provoke an error unfortunately, instead are silently treated
4633 as 'x'. The following induces an error, until -std is added to get
4634 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4635 array size at least. It's necessary to write '\x00'==0 to get something
4636 that's true only with -std. */
4637 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4639 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4640 inside strings and character constants. */
4642 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4644 int test (int i, double x);
4645 struct s1 {int (*f) (int a);};
4646 struct s2 {int (*f) (double a);};
4647 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4653 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4658 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4659 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4661 CC="$ac_save_CC $ac_arg"
4662 if ac_fn_c_try_compile "$LINENO"; then :
4663 ac_cv_prog_cc_c89=$ac_arg
4665 rm -f core conftest.err conftest.$ac_objext
4666 test "x$ac_cv_prog_cc_c89" != "xno" && break
4668 rm -f conftest.$ac_ext
4673 case "x$ac_cv_prog_cc_c89" in
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4676 $as_echo "none needed" >&6; } ;;
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4679 $as_echo "unsupported" >&6; } ;;
4681 CC="$CC $ac_cv_prog_cc_c89"
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4683 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4685 if test "x$ac_cv_prog_cc_c89" != xno; then :
4690 ac_cpp='$CPP $CPPFLAGS'
4691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4696 ac_cpp='$CPP $CPPFLAGS'
4697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4701 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4702 if ${am_cv_prog_cc_c_o+:} false; then :
4703 $as_echo_n "(cached) " >&6
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4716 # Make sure it works both with $CC and with simple cc.
4717 # Following AC_PROG_CC_C_O, we do the test twice because some
4718 # compilers refuse to overwrite an existing .o file with -o,
4719 # though they will create one.
4720 am_cv_prog_cc_c_o=yes
4722 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4723 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); } \
4727 && test -f conftest2.$ac_objext; then
4730 am_cv_prog_cc_c_o=no
4734 rm -f core conftest*
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4738 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4739 if test "$am_cv_prog_cc_c_o" != yes; then
4740 # Losing compiler, so override with the script.
4741 # FIXME: It is wrong to rewrite CC.
4742 # But if we don't then we get into trouble of one sort or another.
4743 # A longer-term fix would be to have automake use am__CC in this case,
4744 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4745 CC="$am_aux_dir/compile $CC"
4748 ac_cpp='$CPP $CPPFLAGS'
4749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4754 depcc="$CC" am_compiler_list=
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4757 $as_echo_n "checking dependency style of $depcc... " >&6; }
4758 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4759 $as_echo_n "(cached) " >&6
4761 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4762 # We make a subdir and do the tests there. Otherwise we can end up
4763 # making bogus files that we don't know about and never remove. For
4764 # instance it was reported that on HP-UX the gcc test will end up
4765 # making a dummy file named 'D' -- because '-MD' means "put the output
4769 # Copy depcomp to subdir because otherwise we won't find it if we're
4770 # using a relative directory.
4771 cp "$am_depcomp" conftest.dir
4773 # We will build objects and dependencies in a subdirectory because
4774 # it helps to detect inapplicable dependency modes. For instance
4775 # both Tru64's cc and ICC support -MD to output dependencies as a
4776 # side effect of compilation, but ICC will put the dependencies in
4777 # the current directory while Tru64 will put them in the object
4781 am_cv_CC_dependencies_compiler_type=none
4782 if test "$am_compiler_list" = ""; then
4783 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4786 case " $depcc " in #(
4787 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4790 for depmode in $am_compiler_list; do
4791 # Setup a source with many dependencies, because some compilers
4792 # like to wrap large dependency lists on column 80 (with \), and
4793 # we should not choose a depcomp mode which is confused by this.
4795 # We need to recreate these files for each test, as the compiler may
4796 # overwrite some of them when testing with obscure command lines.
4797 # This happens at least with the AIX C compiler.
4799 for i in 1 2 3 4 5 6; do
4800 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4801 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4802 # Solaris 10 /bin/sh.
4803 echo '/* dummy */' > sub/conftst$i.h
4805 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4807 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4808 # mode. It turns out that the SunPro C++ compiler does not properly
4809 # handle '-M -o', and we need to detect this. Also, some Intel
4810 # versions had trouble with output in subdirs.
4811 am__obj=sub/conftest.${OBJEXT-o}
4812 am__minus_obj="-o $am__obj"
4815 # This depmode causes a compiler race in universal mode.
4816 test "$am__universal" = false || continue
4819 # After this tag, mechanisms are not by side-effect, so they'll
4820 # only be used when explicitly requested.
4821 if test "x$enable_dependency_tracking" = xyes; then
4827 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4828 # This compiler won't grok '-c -o', but also, the minuso test has
4829 # not run yet. These depmodes are late enough in the game, and
4830 # so weak that their functioning should not be impacted.
4831 am__obj=conftest.${OBJEXT-o}
4836 if depmode=$depmode \
4837 source=sub/conftest.c object=$am__obj \
4838 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4839 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4840 >/dev/null 2>conftest.err &&
4841 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4842 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4843 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4844 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4845 # icc doesn't choke on unknown options, it will just issue warnings
4846 # or remarks (even with -Werror). So we grep stderr for any message
4847 # that says an option was ignored or not supported.
4848 # When given -MP, icc 7.0 and 7.1 complain thusly:
4849 # icc: Command line warning: ignoring option '-M'; no argument required
4850 # The diagnosis changed in icc 8.0:
4851 # icc: Command line remark: option '-MP' not supported
4852 if (grep 'ignoring option' conftest.err ||
4853 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4854 am_cv_CC_dependencies_compiler_type=$depmode
4863 am_cv_CC_dependencies_compiler_type=none
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4868 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4869 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4872 test "x$enable_dependency_tracking" != xno \
4873 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4875 am__fastdepCC_FALSE='#'
4877 am__fastdepCC_TRUE='#'
4878 am__fastdepCC_FALSE=
4883 # Check whether --enable-compiler-warnings was given.
4884 if test "${enable_compiler_warnings+set}" = set; then :
4885 enableval=$enable_compiler_warnings;
4887 case $enable_compiler_warnings in #(
4888 no | min | yes | max | all) :
4891 if test "x$enable_maintainer_mode" = xyes; then :
4892 enable_compiler_warnings=yes
4894 enable_compiler_warnings=min
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4901 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4906 macro_version='2.4.6'
4907 macro_revision='2.4.6'
4921 ltmain=$ac_aux_dir/ltmain.sh
4923 # Make sure we can run config.sub.
4924 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4925 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4928 $as_echo_n "checking build system type... " >&6; }
4929 if ${ac_cv_build+:} false; then :
4930 $as_echo_n "(cached) " >&6
4932 ac_build_alias=$build_alias
4933 test "x$ac_build_alias" = x &&
4934 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4935 test "x$ac_build_alias" = x &&
4936 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4937 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4938 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4942 $as_echo "$ac_cv_build" >&6; }
4943 case $ac_cv_build in
4945 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4948 ac_save_IFS=$IFS; IFS='-'
4954 # Remember, the first character of IFS is used to create $*,
4955 # except with old shells:
4958 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4962 $as_echo_n "checking host system type... " >&6; }
4963 if ${ac_cv_host+:} false; then :
4964 $as_echo_n "(cached) " >&6
4966 if test "x$host_alias" = x; then
4967 ac_cv_host=$ac_cv_build
4969 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4970 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4975 $as_echo "$ac_cv_host" >&6; }
4978 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4981 ac_save_IFS=$IFS; IFS='-'
4987 # Remember, the first character of IFS is used to create $*,
4988 # except with old shells:
4991 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4994 # Backslashify metacharacters that are still active within
4995 # double-quoted strings.
4996 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4998 # Same as above, but do not quote variable references.
4999 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5001 # Sed substitution to delay expansion of an escaped shell variable in a
5002 # double_quote_subst'ed string.
5003 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5005 # Sed substitution to delay expansion of an escaped single quote.
5006 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5008 # Sed substitution to avoid accidental globbing in evaled expressions
5009 no_glob_subst='s/\*/\\\*/g'
5011 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5012 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5013 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5016 $as_echo_n "checking how to print
strings...
" >&6; }
5017 # Test print first, because it will be a builtin if present.
5018 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5019 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5021 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5024 # Use this function as a fallback that always works.
5025 func_fallback_echo ()
5027 eval 'cat <<_LTECHO_EOF
5031 ECHO='func_fallback_echo'
5034 # func_echo_all arg...
5035 # Invoke $ECHO with all args, space-separated.
5042 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5043 $as_echo "printf" >&6; } ;;
5044 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5045 $as_echo "print
-r" >&6; } ;;
5046 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5047 $as_echo "cat" >&6; } ;;
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5064 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5065 if ${ac_cv_path_SED+:} false; then :
5066 $as_echo_n "(cached
) " >&6
5068 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5069 for ac_i in 1 2 3 4 5 6 7; do
5070 ac_script="$ac_script$as_nl$ac_script"
5072 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5073 { ac_script=; unset ac_script;}
5074 if test -z "$SED"; then
5075 ac_path_SED_found=false
5076 # Loop through the user's path and test for each of PROGNAME-LIST
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 test -z "$as_dir" && as_dir=.
5082 for ac_prog in sed gsed; do
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5085 as_fn_executable_p "$ac_path_SED" || continue
5086 # Check for GNU ac_path_SED and select it if it is found.
5087 # Check for GNU $ac_path_SED
5088 case `"$ac_path_SED" --version 2>&1` in
5090 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5093 $as_echo_n 0123456789 >"conftest.
in"
5096 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5097 mv "conftest.tmp
" "conftest.
in"
5098 cp "conftest.
in" "conftest.
nl"
5099 $as_echo '' >> "conftest.
nl"
5100 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5101 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5102 as_fn_arith $ac_count + 1 && ac_count=$as_val
5103 if test $ac_count -gt ${ac_path_SED_max-0}; then
5104 # Best one so far, save it but keep looking for a better one
5105 ac_cv_path_SED="$ac_path_SED"
5106 ac_path_SED_max=$ac_count
5108 # 10*(2^10) chars as input seems more than enough
5109 test $ac_count -gt 10 && break
5111 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5114 $ac_path_SED_found && break 3
5119 if test -z "$ac_cv_path_SED"; then
5120 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5128 $as_echo "$ac_cv_path_SED" >&6; }
5129 SED="$ac_cv_path_SED"
5132 test -z "$SED" && SED=sed
5133 Xsed="$SED -e 1s
/^X
//"
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5146 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5147 if ${ac_cv_path_GREP+:} false; then :
5148 $as_echo_n "(cached
) " >&6
5150 if test -z "$GREP"; then
5151 ac_path_GREP_found=false
5152 # Loop through the user's path and test for each of PROGNAME-LIST
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5157 test -z "$as_dir" && as_dir=.
5158 for ac_prog in grep ggrep; do
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5161 as_fn_executable_p "$ac_path_GREP" || continue
5162 # Check for GNU ac_path_GREP and select it if it is found.
5163 # Check for GNU $ac_path_GREP
5164 case `"$ac_path_GREP" --version 2>&1` in
5166 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5169 $as_echo_n 0123456789 >"conftest.
in"
5172 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5173 mv "conftest.tmp
" "conftest.
in"
5174 cp "conftest.
in" "conftest.
nl"
5175 $as_echo 'GREP' >> "conftest.
nl"
5176 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5177 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5178 as_fn_arith $ac_count + 1 && ac_count=$as_val
5179 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5180 # Best one so far, save it but keep looking for a better one
5181 ac_cv_path_GREP="$ac_path_GREP"
5182 ac_path_GREP_max=$ac_count
5184 # 10*(2^10) chars as input seems more than enough
5185 test $ac_count -gt 10 && break
5187 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5190 $ac_path_GREP_found && break 3
5195 if test -z "$ac_cv_path_GREP"; then
5196 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5199 ac_cv_path_GREP=$GREP
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5204 $as_echo "$ac_cv_path_GREP" >&6; }
5205 GREP="$ac_cv_path_GREP"
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5209 $as_echo_n "checking
for egrep...
" >&6; }
5210 if ${ac_cv_path_EGREP+:} false; then :
5211 $as_echo_n "(cached
) " >&6
5213 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5214 then ac_cv_path_EGREP="$GREP -E"
5216 if test -z "$EGREP"; then
5217 ac_path_EGREP_found=false
5218 # Loop through the user's path and test for each of PROGNAME-LIST
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5223 test -z "$as_dir" && as_dir=.
5224 for ac_prog in egrep; do
5225 for ac_exec_ext in '' $ac_executable_extensions; do
5226 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5227 as_fn_executable_p "$ac_path_EGREP" || continue
5228 # Check for GNU ac_path_EGREP and select it if it is found.
5229 # Check for GNU $ac_path_EGREP
5230 case `"$ac_path_EGREP" --version 2>&1` in
5232 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5235 $as_echo_n 0123456789 >"conftest.
in"
5238 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5239 mv "conftest.tmp
" "conftest.
in"
5240 cp "conftest.
in" "conftest.
nl"
5241 $as_echo 'EGREP' >> "conftest.
nl"
5242 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5243 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5244 as_fn_arith $ac_count + 1 && ac_count=$as_val
5245 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5246 # Best one so far, save it but keep looking for a better one
5247 ac_cv_path_EGREP="$ac_path_EGREP"
5248 ac_path_EGREP_max=$ac_count
5250 # 10*(2^10) chars as input seems more than enough
5251 test $ac_count -gt 10 && break
5253 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5256 $ac_path_EGREP_found && break 3
5261 if test -z "$ac_cv_path_EGREP"; then
5262 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5265 ac_cv_path_EGREP=$EGREP
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5271 $as_echo "$ac_cv_path_EGREP" >&6; }
5272 EGREP="$ac_cv_path_EGREP"
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5276 $as_echo_n "checking
for fgrep...
" >&6; }
5277 if ${ac_cv_path_FGREP+:} false; then :
5278 $as_echo_n "(cached
) " >&6
5280 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5281 then ac_cv_path_FGREP="$GREP -F"
5283 if test -z "$FGREP"; then
5284 ac_path_FGREP_found=false
5285 # Loop through the user's path and test for each of PROGNAME-LIST
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5290 test -z "$as_dir" && as_dir=.
5291 for ac_prog in fgrep; do
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5294 as_fn_executable_p "$ac_path_FGREP" || continue
5295 # Check for GNU ac_path_FGREP and select it if it is found.
5296 # Check for GNU $ac_path_FGREP
5297 case `"$ac_path_FGREP" --version 2>&1` in
5299 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5302 $as_echo_n 0123456789 >"conftest.
in"
5305 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5306 mv "conftest.tmp
" "conftest.
in"
5307 cp "conftest.
in" "conftest.
nl"
5308 $as_echo 'FGREP' >> "conftest.
nl"
5309 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5310 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5311 as_fn_arith $ac_count + 1 && ac_count=$as_val
5312 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5313 # Best one so far, save it but keep looking for a better one
5314 ac_cv_path_FGREP="$ac_path_FGREP"
5315 ac_path_FGREP_max=$ac_count
5317 # 10*(2^10) chars as input seems more than enough
5318 test $ac_count -gt 10 && break
5320 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5323 $ac_path_FGREP_found && break 3
5328 if test -z "$ac_cv_path_FGREP"; then
5329 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5332 ac_cv_path_FGREP=$FGREP
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5338 $as_echo "$ac_cv_path_FGREP" >&6; }
5339 FGREP="$ac_cv_path_FGREP"
5342 test -z "$GREP" && GREP=grep
5362 # Check whether --with-gnu-ld was given.
5363 if test "${with_gnu_ld+set}" = set; then :
5364 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5370 if test yes = "$GCC"; then
5371 # Check if gcc -print-prog-name=ld gives a path.
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5373 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5376 # gcc leaves a trailing carriage return, which upsets mingw
5377 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5379 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5382 # Accept absolute paths.
5384 re_direlt='/[^/][^/]*/\.\./'
5385 # Canonicalize the pathname of ld
5386 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5387 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5388 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5390 test -z "$LD" && LD=$ac_prog
5393 # If it fails, then pretend we aren't using GCC.
5397 # If it is relative, then search for the first ld in PATH.
5401 elif test yes = "$with_gnu_ld"; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5403 $as_echo_n "checking
for GNU ld...
" >&6; }
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5406 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5408 if ${lt_cv_path_LD+:} false; then :
5409 $as_echo_n "(cached
) " >&6
5411 if test -z "$LD"; then
5412 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5413 for ac_dir in $PATH; do
5415 test -z "$ac_dir" && ac_dir=.
5416 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5417 lt_cv_path_LD=$ac_dir/$ac_prog
5418 # Check to see if the program is GNU ld. I'd rather use --version,
5419 # but apparently some variants of GNU ld only accept -v.
5420 # Break only if it was the GNU/non-GNU ld that we prefer.
5421 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5422 *GNU* | *'with BFD'*)
5423 test no != "$with_gnu_ld" && break
5426 test yes != "$with_gnu_ld" && break
5433 lt_cv_path_LD=$LD # Let the user override the test with a path.
5438 if test -n "$LD"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5440 $as_echo "$LD" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5443 $as_echo "no
" >&6; }
5445 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5447 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5448 if ${lt_cv_prog_gnu_ld+:} false; then :
5449 $as_echo_n "(cached
) " >&6
5451 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5452 case `$LD -v 2>&1 </dev/null` in
5453 *GNU* | *'with BFD'*)
5454 lt_cv_prog_gnu_ld=yes
5457 lt_cv_prog_gnu_ld=no
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5462 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5463 with_gnu_ld=$lt_cv_prog_gnu_ld
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5474 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5475 if ${lt_cv_path_NM+:} false; then :
5476 $as_echo_n "(cached
) " >&6
5478 if test -n "$NM"; then
5479 # Let the user override the test.
5482 lt_nm_to_check=${ac_tool_prefix}nm
5483 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5484 lt_nm_to_check="$lt_nm_to_check nm
"
5486 for lt_tmp_nm in $lt_nm_to_check; do
5487 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5488 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5490 test -z "$ac_dir" && ac_dir=.
5491 tmp_nm=$ac_dir/$lt_tmp_nm
5492 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5493 # Check to see if the nm accepts a BSD-compat flag.
5494 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5495 # nm: unknown option "B
" ignored
5496 # Tru64's nm complains that /dev/null is an invalid object file
5497 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5499 mingw*) lt_bad_file=conftest.nm/nofile ;;
5500 *) lt_bad_file=/dev/null ;;
5502 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5503 *$lt_bad_file* | *'Invalid file or object type'*)
5504 lt_cv_path_NM="$tmp_nm -B"
5508 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5510 lt_cv_path_NM="$tmp_nm -p"
5514 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5515 continue # so that we can try to find one that supports BSD flags
5524 : ${lt_cv_path_NM=no}
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5528 $as_echo "$lt_cv_path_NM" >&6; }
5529 if test no != "$lt_cv_path_NM"; then
5532 # Didn't find any BSD compatible name lister, look for dumpbin.
5533 if test -n "$DUMPBIN"; then :
5534 # Let the user override the test.
5536 if test -n "$ac_tool_prefix"; then
5537 for ac_prog in dumpbin "link
-dump"
5539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5542 $as_echo_n "checking
for $ac_word...
" >&6; }
5543 if ${ac_cv_prog_DUMPBIN+:} false; then :
5544 $as_echo_n "(cached
) " >&6
5546 if test -n "$DUMPBIN"; then
5547 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 test -z "$as_dir" && as_dir=.
5554 for ac_exec_ext in '' $ac_executable_extensions; do
5555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5556 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5566 DUMPBIN=$ac_cv_prog_DUMPBIN
5567 if test -n "$DUMPBIN"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5569 $as_echo "$DUMPBIN" >&6; }
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5572 $as_echo "no
" >&6; }
5576 test -n "$DUMPBIN" && break
5579 if test -z "$DUMPBIN"; then
5580 ac_ct_DUMPBIN=$DUMPBIN
5581 for ac_prog in dumpbin "link
-dump"
5583 # Extract the first word of "$ac_prog", so it can be a program name with args.
5584 set dummy $ac_prog; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5586 $as_echo_n "checking
for $ac_word...
" >&6; }
5587 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5588 $as_echo_n "(cached
) " >&6
5590 if test -n "$ac_ct_DUMPBIN"; then
5591 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5611 if test -n "$ac_ct_DUMPBIN"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5613 $as_echo "$ac_ct_DUMPBIN" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5616 $as_echo "no
" >&6; }
5620 test -n "$ac_ct_DUMPBIN" && break
5623 if test "x
$ac_ct_DUMPBIN" = x; then
5626 case $cross_compiling:$ac_tool_warned in
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5629 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5630 ac_tool_warned=yes ;;
5632 DUMPBIN=$ac_ct_DUMPBIN
5636 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5638 DUMPBIN="$DUMPBIN -symbols -headers"
5646 if test : != "$DUMPBIN"; then
5650 test -z "$NM" && NM=nm
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5658 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5659 if ${lt_cv_nm_interface+:} false; then :
5660 $as_echo_n "(cached
) " >&6
5662 lt_cv_nm_interface="BSD nm
"
5663 echo "int some_variable
= 0;" > conftest.$ac_ext
5664 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5665 (eval "$ac_compile" 2>conftest.err)
5666 cat conftest.err >&5
5667 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5668 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5669 cat conftest.err >&5
5670 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5671 cat conftest.out >&5
5672 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5673 lt_cv_nm_interface="MS dumpbin
"
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5678 $as_echo "$lt_cv_nm_interface" >&6; }
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5681 $as_echo_n "checking whether
ln -s works...
" >&6; }
5683 if test "$LN_S" = "ln -s"; then
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5685 $as_echo "yes" >&6; }
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5688 $as_echo "no
, using
$LN_S" >&6; }
5691 # find the maximum length of command line arguments
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5693 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5694 if ${lt_cv_sys_max_cmd_len+:} false; then :
5695 $as_echo_n "(cached
) " >&6
5702 # On DJGPP, this test can blow up pretty badly due to problems in libc
5703 # (any single argument exceeding 2000 bytes causes a buffer overrun
5704 # during glob expansion). Even if it were fixed, the result of this
5705 # check would be larger than it should be.
5706 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5710 # Under GNU Hurd, this test is not required because there is
5711 # no limit to the length of command line arguments.
5712 # Libtool will interpret -1 as no limit whatsoever
5713 lt_cv_sys_max_cmd_len=-1;
5716 cygwin* | mingw* | cegcc*)
5717 # On Win9x/ME, this test blows up -- it succeeds, but takes
5718 # about 5 minutes as the teststring grows exponentially.
5719 # Worse, since 9x/ME are not pre-emptively multitasking,
5720 # you end up with a "frozen
" computer, even though with patience
5721 # the test eventually succeeds (with a max line length of 256k).
5722 # Instead, let's just punt: use the minimum linelength reported by
5723 # all of the supported platforms: 8192 (on NT/2K/XP).
5724 lt_cv_sys_max_cmd_len=8192;
5728 # On MiNT this can take a long time and run out of memory.
5729 lt_cv_sys_max_cmd_len=8192;
5733 # On AmigaOS with pdksh, this test takes hours, literally.
5734 # So we just punt and use a minimum line length of 8192.
5735 lt_cv_sys_max_cmd_len=8192;
5738 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5739 # This has been around since 386BSD, at least. Likely further.
5740 if test -x /sbin/sysctl; then
5741 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5742 elif test -x /usr/sbin/sysctl; then
5743 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5745 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5747 # And add a safety zone
5748 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5749 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5753 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5754 lt_cv_sys_max_cmd_len=196608
5758 # The test takes a long time on OS/2.
5759 lt_cv_sys_max_cmd_len=8192
5763 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5764 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5765 # nice to cause kernel panics so lets avoid the loop below.
5766 # First set a reasonable default.
5767 lt_cv_sys_max_cmd_len=16384
5769 if test -x /sbin/sysconfig; then
5770 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5771 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5776 lt_cv_sys_max_cmd_len=102400
5778 sysv5* | sco5v6* | sysv4.2uw2*)
5779 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5780 if test -n "$kargmax"; then
5781 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5783 lt_cv_sys_max_cmd_len=32768
5787 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5788 if test -n "$lt_cv_sys_max_cmd_len" && \
5789 test undefined != "$lt_cv_sys_max_cmd_len"; then
5790 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5791 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5793 # Make teststring a little bigger before we do anything with it.
5794 # a 1K string should be a reasonable start.
5795 for i in 1 2 3 4 5 6 7 8; do
5796 teststring=$teststring$teststring
5798 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5799 # If test is not a shell built-in, we'll probably end up computing a
5800 # maximum length that is only half of the actual maximum length, but
5802 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5803 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5804 test 17 != "$i" # 1/2 MB should be enough
5807 teststring=$teststring$teststring
5809 # Only check the string length outside the loop.
5810 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5812 # Add a significant safety factor because C++ compilers can tack on
5813 # massive amounts of additional arguments before passing them to the
5814 # linker. It appears as though 1/2 is a usable value.
5815 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5822 if test -n "$lt_cv_sys_max_cmd_len"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5824 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5827 $as_echo "none
" >&6; }
5829 max_cmd_len=$lt_cv_sys_max_cmd_len
5840 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5850 # test EBCDIC or ASCII
5851 case `echo X|tr X '\101'` in
5852 A) # ASCII based system
5853 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5854 lt_SP2NL='tr \040 \012'
5855 lt_NL2SP='tr \015\012 \040\040'
5857 *) # EBCDIC based system
5858 lt_SP2NL='tr \100 \n'
5859 lt_NL2SP='tr \r\n \100\100'
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5872 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5873 if ${lt_cv_to_host_file_cmd+:} false; then :
5874 $as_echo_n "(cached
) " >&6
5879 *-*-mingw* ) # actually msys
5880 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5883 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5885 * ) # otherwise, assume *nix
5886 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5892 *-*-mingw* ) # actually msys
5893 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5896 lt_cv_to_host_file_cmd=func_convert_file_noop
5898 * ) # otherwise, assume *nix
5899 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5903 * ) # unhandled hosts (and "normal
" native builds)
5904 lt_cv_to_host_file_cmd=func_convert_file_noop
5910 to_host_file_cmd=$lt_cv_to_host_file_cmd
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5912 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5919 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5920 if ${lt_cv_to_tool_file_cmd+:} false; then :
5921 $as_echo_n "(cached
) " >&6
5923 #assume ordinary cross tools, or native build.
5924 lt_cv_to_tool_file_cmd=func_convert_file_noop
5928 *-*-mingw* ) # actually msys
5929 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5937 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5939 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5946 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5947 if ${lt_cv_ld_reload_flag+:} false; then :
5948 $as_echo_n "(cached
) " >&6
5950 lt_cv_ld_reload_flag='-r'
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5953 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5954 reload_flag=$lt_cv_ld_reload_flag
5955 case $reload_flag in
5957 *) reload_flag=" $reload_flag" ;;
5959 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5961 cygwin* | mingw* | pw32* | cegcc*)
5962 if test yes != "$GCC"; then
5967 if test yes = "$GCC"; then
5968 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5970 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5983 if test -n "$ac_tool_prefix"; then
5984 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5985 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5987 $as_echo_n "checking
for $ac_word...
" >&6; }
5988 if ${ac_cv_prog_OBJDUMP+:} false; then :
5989 $as_echo_n "(cached
) " >&6
5991 if test -n "$OBJDUMP"; then
5992 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 test -z "$as_dir" && as_dir=.
5999 for ac_exec_ext in '' $ac_executable_extensions; do
6000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6001 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6011 OBJDUMP=$ac_cv_prog_OBJDUMP
6012 if test -n "$OBJDUMP"; then
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6014 $as_echo "$OBJDUMP" >&6; }
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6017 $as_echo "no
" >&6; }
6022 if test -z "$ac_cv_prog_OBJDUMP"; then
6023 ac_ct_OBJDUMP=$OBJDUMP
6024 # Extract the first word of "objdump
", so it can be a program name with args.
6025 set dummy objdump; ac_word=$2
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6027 $as_echo_n "checking
for $ac_word...
" >&6; }
6028 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6029 $as_echo_n "(cached
) " >&6
6031 if test -n "$ac_ct_OBJDUMP"; then
6032 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 test -z "$as_dir" && as_dir=.
6039 for ac_exec_ext in '' $ac_executable_extensions; do
6040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6041 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6051 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6052 if test -n "$ac_ct_OBJDUMP"; then
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6054 $as_echo "$ac_ct_OBJDUMP" >&6; }
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6057 $as_echo "no
" >&6; }
6060 if test "x
$ac_ct_OBJDUMP" = x; then
6063 case $cross_compiling:$ac_tool_warned in
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6066 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6067 ac_tool_warned=yes ;;
6069 OBJDUMP=$ac_ct_OBJDUMP
6072 OBJDUMP="$ac_cv_prog_OBJDUMP"
6075 test -z "$OBJDUMP" && OBJDUMP=objdump
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6083 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6084 if ${lt_cv_deplibs_check_method+:} false; then :
6085 $as_echo_n "(cached
) " >&6
6087 lt_cv_file_magic_cmd='$MAGIC_CMD'
6088 lt_cv_file_magic_test_file=
6089 lt_cv_deplibs_check_method='unknown'
6090 # Need to set the preceding variable on all platforms that support
6091 # interlibrary dependencies.
6092 # 'none' -- dependencies not supported.
6093 # 'unknown' -- same as none, but documents that we really don't know.
6094 # 'pass_all' -- all dependencies passed with no checks.
6095 # 'test_compile' -- check by making test program.
6096 # 'file_magic [[regex]]' -- check by looking for files in library path
6097 # that responds to the $file_magic_cmd with a given extended regex.
6098 # If you have 'file' or equivalent on your system and you're not sure
6099 # whether 'pass_all' will *always* work, you probably want this one.
6103 lt_cv_deplibs_check_method=pass_all
6107 lt_cv_deplibs_check_method=pass_all
6111 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6112 lt_cv_file_magic_cmd='/usr/bin/file -L'
6113 lt_cv_file_magic_test_file=/shlib/libc.so
6117 # func_win32_libid is a shell function defined in ltmain.sh
6118 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6119 lt_cv_file_magic_cmd='func_win32_libid'
6123 # Base MSYS/MinGW do not provide the 'file' command needed by
6124 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6125 # unless we find 'file', for example because we are cross-compiling.
6126 if ( file / ) >/dev/null 2>&1; then
6127 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6128 lt_cv_file_magic_cmd='func_win32_libid'
6130 # Keep this pattern in sync with the one in func_win32_libid.
6131 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6132 lt_cv_file_magic_cmd='$OBJDUMP -f'
6137 # use the weaker test based on 'objdump'. See mingw*.
6138 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6139 lt_cv_file_magic_cmd='$OBJDUMP -f'
6142 darwin* | rhapsody*)
6143 lt_cv_deplibs_check_method=pass_all
6146 freebsd* | dragonfly*)
6147 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6150 # Not sure whether the presence of OpenBSD here was a mistake.
6151 # Let's accept both of them until this is cleared up.
6152 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6153 lt_cv_file_magic_cmd=/usr/bin/file
6154 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6158 lt_cv_deplibs_check_method=pass_all
6163 lt_cv_deplibs_check_method=pass_all
6166 hpux10.20* | hpux11*)
6167 lt_cv_file_magic_cmd=/usr/bin/file
6170 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6171 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6174 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]'
6175 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6178 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6179 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6185 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6186 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6189 irix5* | irix6* | nonstopux*)
6191 *-32|*"-32 ") libmagic=32-bit;;
6192 *-n32|*"-n32 ") libmagic=N32;;
6193 *-64|*"-64 ") libmagic=64-bit;;
6194 *) libmagic=never-match;;
6196 lt_cv_deplibs_check_method=pass_all
6199 # This must be glibc/ELF.
6200 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6201 lt_cv_deplibs_check_method=pass_all
6205 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6206 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6208 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6213 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6214 lt_cv_file_magic_cmd=/usr/bin/file
6215 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6219 lt_cv_deplibs_check_method=pass_all
6223 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6224 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6226 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6230 osf3* | osf4* | osf5*)
6231 lt_cv_deplibs_check_method=pass_all
6235 lt_cv_deplibs_check_method=pass_all
6239 lt_cv_deplibs_check_method=pass_all
6242 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6243 lt_cv_deplibs_check_method=pass_all
6247 case $host_vendor in
6249 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]'
6250 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6253 lt_cv_deplibs_check_method=pass_all
6256 lt_cv_file_magic_cmd='/bin/file'
6257 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6260 lt_cv_file_magic_cmd='/bin/file'
6261 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6262 lt_cv_file_magic_test_file=/lib/libc.so
6265 lt_cv_deplibs_check_method=pass_all
6268 lt_cv_deplibs_check_method=pass_all
6274 lt_cv_deplibs_check_method=pass_all
6277 lt_cv_deplibs_check_method=pass_all
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6283 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6287 if test "$build" = "$host"; then
6290 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6293 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6299 file_magic_cmd=$lt_cv_file_magic_cmd
6300 deplibs_check_method=$lt_cv_deplibs_check_method
6301 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6324 if test -n "$ac_tool_prefix"; then
6325 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6326 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6328 $as_echo_n "checking
for $ac_word...
" >&6; }
6329 if ${ac_cv_prog_DLLTOOL+:} false; then :
6330 $as_echo_n "(cached
) " >&6
6332 if test -n "$DLLTOOL"; then
6333 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6342 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6352 DLLTOOL=$ac_cv_prog_DLLTOOL
6353 if test -n "$DLLTOOL"; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6355 $as_echo "$DLLTOOL" >&6; }
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6358 $as_echo "no
" >&6; }
6363 if test -z "$ac_cv_prog_DLLTOOL"; then
6364 ac_ct_DLLTOOL=$DLLTOOL
6365 # Extract the first word of "dlltool
", so it can be a program name with args.
6366 set dummy dlltool; ac_word=$2
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6368 $as_echo_n "checking
for $ac_word...
" >&6; }
6369 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6370 $as_echo_n "(cached
) " >&6
6372 if test -n "$ac_ct_DLLTOOL"; then
6373 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379 test -z "$as_dir" && as_dir=.
6380 for ac_exec_ext in '' $ac_executable_extensions; do
6381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6382 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6383 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6392 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6393 if test -n "$ac_ct_DLLTOOL"; then
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6395 $as_echo "$ac_ct_DLLTOOL" >&6; }
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6398 $as_echo "no
" >&6; }
6401 if test "x
$ac_ct_DLLTOOL" = x; then
6404 case $cross_compiling:$ac_tool_warned in
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6407 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6408 ac_tool_warned=yes ;;
6410 DLLTOOL=$ac_ct_DLLTOOL
6413 DLLTOOL="$ac_cv_prog_DLLTOOL"
6416 test -z "$DLLTOOL" && DLLTOOL=dlltool
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6425 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6426 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6427 $as_echo_n "(cached
) " >&6
6429 lt_cv_sharedlib_from_linklib_cmd='unknown'
6432 cygwin* | mingw* | pw32* | cegcc*)
6433 # two different shell functions defined in ltmain.sh;
6434 # decide which one to use based on capabilities of $DLLTOOL
6435 case `$DLLTOOL --help 2>&1` in
6436 *--identify-strict*)
6437 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6440 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6445 # fallback: assume linklib IS sharedlib
6446 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6452 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6453 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6454 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6462 if test -n "$ac_tool_prefix"; then
6465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6468 $as_echo_n "checking
for $ac_word...
" >&6; }
6469 if ${ac_cv_prog_AR+:} false; then :
6470 $as_echo_n "(cached
) " >&6
6472 if test -n "$AR"; then
6473 ac_cv_prog_AR="$AR" # Let the user override the test.
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6482 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6493 if test -n "$AR"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6495 $as_echo "$AR" >&6; }
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6498 $as_echo "no
" >&6; }
6502 test -n "$AR" && break
6505 if test -z "$AR"; then
6509 # Extract the first word of "$ac_prog", so it can be a program name with args.
6510 set dummy $ac_prog; ac_word=$2
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6512 $as_echo_n "checking
for $ac_word...
" >&6; }
6513 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6514 $as_echo_n "(cached
) " >&6
6516 if test -n "$ac_ct_AR"; then
6517 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 test -z "$as_dir" && as_dir=.
6524 for ac_exec_ext in '' $ac_executable_extensions; do
6525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6526 ac_cv_prog_ac_ct_AR="$ac_prog"
6527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6536 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6537 if test -n "$ac_ct_AR"; then
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6539 $as_echo "$ac_ct_AR" >&6; }
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6542 $as_echo "no
" >&6; }
6546 test -n "$ac_ct_AR" && break
6549 if test "x
$ac_ct_AR" = x; then
6552 case $cross_compiling:$ac_tool_warned in
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6555 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6556 ac_tool_warned=yes ;;
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6576 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6577 if ${lt_cv_ar_at_file+:} false; then :
6578 $as_echo_n "(cached
) " >&6
6581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6582 /* end confdefs.h. */
6592 if ac_fn_c_try_compile "$LINENO"; then :
6593 echo conftest.$ac_objext > conftest.lst
6594 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6595 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6596 (eval $lt_ar_try) 2>&5
6598 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6599 test $ac_status = 0; }
6600 if test 0 -eq "$ac_status"; then
6601 # Ensure the archiver fails upon bogus file names.
6602 rm -f conftest.$ac_objext libconftest.a
6603 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6604 (eval $lt_ar_try) 2>&5
6606 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6607 test $ac_status = 0; }
6608 if test 0 -ne "$ac_status"; then
6612 rm -f conftest.* libconftest.a
6615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6619 $as_echo "$lt_cv_ar_at_file" >&6; }
6621 if test no = "$lt_cv_ar_at_file"; then
6624 archiver_list_spec=$lt_cv_ar_at_file
6633 if test -n "$ac_tool_prefix"; then
6634 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6635 set dummy ${ac_tool_prefix}strip; ac_word=$2
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6637 $as_echo_n "checking
for $ac_word...
" >&6; }
6638 if ${ac_cv_prog_STRIP+:} false; then :
6639 $as_echo_n "(cached
) " >&6
6641 if test -n "$STRIP"; then
6642 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648 test -z "$as_dir" && as_dir=.
6649 for ac_exec_ext in '' $ac_executable_extensions; do
6650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6651 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6661 STRIP=$ac_cv_prog_STRIP
6662 if test -n "$STRIP"; then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6664 $as_echo "$STRIP" >&6; }
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6667 $as_echo "no
" >&6; }
6672 if test -z "$ac_cv_prog_STRIP"; then
6674 # Extract the first word of "strip
", so it can be a program name with args.
6675 set dummy strip; ac_word=$2
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6677 $as_echo_n "checking
for $ac_word...
" >&6; }
6678 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6679 $as_echo_n "(cached
) " >&6
6681 if test -n "$ac_ct_STRIP"; then
6682 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 test -z "$as_dir" && as_dir=.
6689 for ac_exec_ext in '' $ac_executable_extensions; do
6690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6691 ac_cv_prog_ac_ct_STRIP="strip
"
6692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6701 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6702 if test -n "$ac_ct_STRIP"; then
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6704 $as_echo "$ac_ct_STRIP" >&6; }
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6707 $as_echo "no
" >&6; }
6710 if test "x
$ac_ct_STRIP" = x; then
6713 case $cross_compiling:$ac_tool_warned in
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6716 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6717 ac_tool_warned=yes ;;
6722 STRIP="$ac_cv_prog_STRIP"
6725 test -z "$STRIP" && STRIP=:
6732 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6734 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6736 $as_echo_n "checking
for $ac_word...
" >&6; }
6737 if ${ac_cv_prog_RANLIB+:} false; then :
6738 $as_echo_n "(cached
) " >&6
6740 if test -n "$RANLIB"; then
6741 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 test -z "$as_dir" && as_dir=.
6748 for ac_exec_ext in '' $ac_executable_extensions; do
6749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6750 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6760 RANLIB=$ac_cv_prog_RANLIB
6761 if test -n "$RANLIB"; then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6763 $as_echo "$RANLIB" >&6; }
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6766 $as_echo "no
" >&6; }
6771 if test -z "$ac_cv_prog_RANLIB"; then
6772 ac_ct_RANLIB=$RANLIB
6773 # Extract the first word of "ranlib
", so it can be a program name with args.
6774 set dummy ranlib; ac_word=$2
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6776 $as_echo_n "checking
for $ac_word...
" >&6; }
6777 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6778 $as_echo_n "(cached
) " >&6
6780 if test -n "$ac_ct_RANLIB"; then
6781 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6787 test -z "$as_dir" && as_dir=.
6788 for ac_exec_ext in '' $ac_executable_extensions; do
6789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6790 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6800 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6801 if test -n "$ac_ct_RANLIB"; then
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6803 $as_echo "$ac_ct_RANLIB" >&6; }
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6806 $as_echo "no
" >&6; }
6809 if test "x
$ac_ct_RANLIB" = x; then
6812 case $cross_compiling:$ac_tool_warned in
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6815 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6816 ac_tool_warned=yes ;;
6818 RANLIB=$ac_ct_RANLIB
6821 RANLIB="$ac_cv_prog_RANLIB"
6824 test -z "$RANLIB" && RANLIB=:
6831 # Determine commands to create old-style static archives.
6832 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6833 old_postinstall_cmds='chmod 644 $oldlib'
6834 old_postuninstall_cmds=
6836 if test -n "$RANLIB"; then
6839 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6842 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6845 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6850 lock_old_archive_extraction=yes ;;
6852 lock_old_archive_extraction=no ;;
6893 # If no C compiler was specified, use CC.
6896 # If no C compiler flags were specified, use CFLAGS.
6897 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6899 # Allow CC to be a program name with arguments.
6903 # Check for command to grab the raw symbol name followed by C symbol from nm.
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6905 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6906 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6907 $as_echo_n "(cached
) " >&6
6910 # These are sane defaults that work on at least a few old systems.
6911 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6913 # Character class describing NM global symbol codes.
6914 symcode='[BCDEGRST]'
6916 # Regexp to match symbols that can be accessed directly from C.
6917 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6919 # Define system-specific variables.
6924 cygwin* | mingw* | pw32* | cegcc*)
6925 symcode='[ABCDGISTW]'
6928 if test ia64 = "$host_cpu"; then
6929 symcode='[ABCDEGRST]'
6933 symcode='[BCDEGRST]'
6936 symcode='[BCDEGQRST]'
6947 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6955 # If we're using GNU nm, then use its standard symbol codes.
6956 case `$NM -V 2>&1` in
6957 *GNU* | *'with BFD'*)
6958 symcode='[ABCDGIRSTW]' ;;
6961 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6962 # Gets list of data symbols to import.
6963 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6964 # Adjust the below global symbol transforms to fixup imported variables.
6965 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6966 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6967 lt_c_name_lib_hook="\
6968 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6969 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6971 # Disable hooks by default.
6972 lt_cv_sys_global_symbol_to_import=
6978 # Transform an extracted symbol line into a proper C declaration.
6979 # Some systems (esp. on ia64) link data and code symbols differently,
6980 # so use this general approach.
6981 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6983 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6984 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6986 # Transform an extracted symbol line into symbol name and symbol address
6987 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6989 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6990 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6992 # Transform an extracted symbol line into symbol name with lib prefix and
6994 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6995 $lt_c_name_lib_hook\
6996 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6997 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6998 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7000 # Handle CRLF in mingw tool chain
7004 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7008 # Try without a prefix underscore, then with it.
7009 for ac_symprfx in "" "_
"; do
7011 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7012 symxfrm="\\1 $ac_symprfx\\2 \\2"
7014 # Write the raw and C identifiers.
7015 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7016 # Fake it for dumpbin and say T for any non-static function,
7017 # D for any global variable and I for any imported variable.
7018 # Also find C++ and __fastcall symbols from MSVC++,
7019 # which start with @ or ?.
7020 lt_cv_sys_global_symbol_pipe="$AWK '"\
7021 " {last_section=section; section=\$ 3};"\
7022 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7023 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7024 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7025 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7026 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7027 " \$ 0!~/External *\|/{next};"\
7028 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7029 " {if(hide[section]) next};"\
7030 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7031 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7032 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7033 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7034 " ' prfx
=^
$ac_symprfx"
7036 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7038 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7040 # Check to see that the pipe works correctly.
7044 cat > conftest.$ac_ext <<_LT_EOF
7049 void nm_test_func(void);
7050 void nm_test_func(void){}
7054 int main(){nm_test_var='a';nm_test_func();return(0);}
7057 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7058 (eval $ac_compile) 2>&5
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7061 test $ac_status = 0; }; then
7062 # Now try to grab the symbols.
7064 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7065 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7067 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7068 test $ac_status = 0; } && test -s "$nlist"; then
7069 # Try sorting and uniquifying the output.
7070 if sort "$nlist" | uniq > "$nlist"T; then
7071 mv -f "$nlist"T "$nlist"
7076 # Make sure that we snagged all the symbols we need.
7077 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7078 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7079 cat <<_LT_EOF > conftest.$ac_ext
7080 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7081 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7082 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7083 relocations are performed -- see ld's documentation on pseudo-relocs. */
7084 # define LT_DLSYM_CONST
7085 #elif defined __osf__
7086 /* This system does not cope well with relocations in const data. */
7087 # define LT_DLSYM_CONST
7089 # define LT_DLSYM_CONST const
7097 # Now generate the symbol file.
7098 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7100 cat <<_LT_EOF >> conftest.$ac_ext
7102 /* The mapping between symbol names and symbols. */
7103 LT_DLSYM_CONST struct {
7107 lt__PROGRAM__LTX_preloaded_symbols[] =
7109 { "@PROGRAM@
", (void *) 0 },
7111 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7112 cat <<\_LT_EOF >> conftest.$ac_ext
7116 /* This works around a problem in FreeBSD linker */
7117 #ifdef FREEBSD_WORKAROUND
7118 static const void *lt_preloaded_setup() {
7119 return lt__PROGRAM__LTX_preloaded_symbols;
7127 # Now try linking the two files.
7128 mv conftest.$ac_objext conftstm.$ac_objext
7129 lt_globsym_save_LIBS=$LIBS
7130 lt_globsym_save_CFLAGS=$CFLAGS
7131 LIBS=conftstm.$ac_objext
7132 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7133 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7134 (eval $ac_link) 2>&5
7136 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7137 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7140 LIBS=$lt_globsym_save_LIBS
7141 CFLAGS=$lt_globsym_save_CFLAGS
7143 echo "cannot
find nm_test_func
in $nlist" >&5
7146 echo "cannot
find nm_test_var
in $nlist" >&5
7149 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7152 echo "$progname: failed program was
:" >&5
7153 cat conftest.$ac_ext >&5
7155 rm -rf conftest* conftst*
7157 # Do not use the global_symbol_pipe unless it works.
7158 if test yes = "$pipe_works"; then
7161 lt_cv_sys_global_symbol_pipe=
7167 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7168 lt_cv_sys_global_symbol_to_cdecl=
7170 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7172 $as_echo "failed
" >&6; }
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7175 $as_echo "ok
" >&6; }
7178 # Response file support.
7179 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7180 nm_file_list_spec='@'
7181 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7182 nm_file_list_spec='@'
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7222 $as_echo_n "checking
for sysroot...
" >&6; }
7224 # Check whether --with-sysroot was given.
7225 if test "${with_sysroot+set}" = set; then :
7226 withval=$with_sysroot;
7233 case $with_sysroot in #(
7235 if test yes = "$GCC"; then
7236 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7240 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7246 $as_echo "$with_sysroot" >&6; }
7247 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7252 $as_echo "${lt_sysroot:-no}" >&6; }
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7259 $as_echo_n "checking
for a working
dd...
" >&6; }
7260 if ${ac_cv_path_lt_DD+:} false; then :
7261 $as_echo_n "(cached
) " >&6
7263 printf 0123456789abcdef0123456789abcdef >conftest.i
7264 cat conftest.i conftest.i >conftest2.i
7266 if test -z "$lt_DD"; then
7267 ac_path_lt_DD_found=false
7268 # Loop through the user's path and test for each of PROGNAME-LIST
7269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 test -z "$as_dir" && as_dir=.
7274 for ac_prog in dd; do
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7277 as_fn_executable_p "$ac_path_lt_DD" || continue
7278 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7279 cmp -s conftest.i conftest.out \
7280 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7282 $ac_path_lt_DD_found && break 3
7287 if test -z "$ac_cv_path_lt_DD"; then
7291 ac_cv_path_lt_DD=$lt_DD
7294 rm -f conftest.i conftest2.i conftest.out
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7297 $as_echo "$ac_cv_path_lt_DD" >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7301 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7302 if ${lt_cv_truncate_bin+:} false; then :
7303 $as_echo_n "(cached
) " >&6
7305 printf 0123456789abcdef0123456789abcdef >conftest.i
7306 cat conftest.i conftest.i >conftest2.i
7308 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7309 cmp -s conftest.i conftest.out \
7310 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7312 rm -f conftest.i conftest2.i conftest.out
7313 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7316 $as_echo "$lt_cv_truncate_bin" >&6; }
7324 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7327 for cc_temp in $*""; do
7329 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7330 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7335 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7338 # Check whether --enable-libtool-lock was given.
7339 if test "${enable_libtool_lock+set}" = set; then :
7340 enableval=$enable_libtool_lock;
7343 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7345 # Some flags need to be propagated to the compiler or linker for good
7349 # Find out what ABI is being produced by ac_compile, and set mode
7350 # options accordingly.
7351 echo 'int i;' > conftest.$ac_ext
7352 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7353 (eval $ac_compile) 2>&5
7355 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7356 test $ac_status = 0; }; then
7357 case `/usr/bin/file conftest.$ac_objext` in
7369 # Find out what ABI is being produced by ac_compile, and set linker
7370 # options accordingly.
7371 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7372 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7373 (eval $ac_compile) 2>&5
7375 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7376 test $ac_status = 0; }; then
7377 if test yes = "$lt_cv_prog_gnu_ld"; then
7378 case `/usr/bin/file conftest.$ac_objext` in
7380 LD="${LD-ld} -melf32bsmip"
7383 LD="${LD-ld} -melf32bmipn32"
7386 LD="${LD-ld} -melf64bmip"
7390 case `/usr/bin/file conftest.$ac_objext` in
7407 # Find out what ABI is being produced by ac_compile, and set linker
7408 # options accordingly.
7409 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7410 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7411 (eval $ac_compile) 2>&5
7413 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7414 test $ac_status = 0; }; then
7416 case `/usr/bin/file conftest.$ac_objext` in
7424 case `/usr/bin/file conftest.$ac_objext` in
7426 emul="${emul}btsmip
"
7429 emul="${emul}ltsmip
"
7432 case `/usr/bin/file conftest.$ac_objext` in
7437 LD="${LD-ld} -m $emul"
7442 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7443 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7444 # Find out what ABI is being produced by ac_compile, and set linker
7445 # options accordingly. Note that the listed cases only cover the
7446 # situations where additional linker options are needed (such as when
7447 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7448 # vice versa); the common cases where no linker options are needed do
7449 # not appear in the list.
7450 echo 'int i;' > conftest.$ac_ext
7451 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7452 (eval $ac_compile) 2>&5
7454 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7455 test $ac_status = 0; }; then
7456 case `/usr/bin/file conftest.o` in
7459 x86_64-*kfreebsd*-gnu)
7460 LD="${LD-ld} -m elf_i386_fbsd
"
7463 case `/usr/bin/file conftest.o` in
7465 LD="${LD-ld} -m elf32_x86_64
"
7468 LD="${LD-ld} -m elf_i386
"
7472 powerpc64le-*linux*)
7473 LD="${LD-ld} -m elf32lppclinux
"
7476 LD="${LD-ld} -m elf32ppclinux
"
7479 LD="${LD-ld} -m elf_s390
"
7482 LD="${LD-ld} -m elf32_sparc
"
7488 x86_64-*kfreebsd*-gnu)
7489 LD="${LD-ld} -m elf_x86_64_fbsd
"
7492 LD="${LD-ld} -m elf_x86_64
"
7495 LD="${LD-ld} -m elf64lppc
"
7498 LD="${LD-ld} -m elf64ppc
"
7500 s390*-*linux*|s390*-*tpf*)
7501 LD="${LD-ld} -m elf64_s390
"
7504 LD="${LD-ld} -m elf64_sparc
"
7514 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7516 CFLAGS="$CFLAGS -belf"
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7518 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7519 if ${lt_cv_cc_needs_belf+:} false; then :
7520 $as_echo_n "(cached
) " >&6
7523 ac_cpp='$CPP $CPPFLAGS'
7524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7529 /* end confdefs.h. */
7539 if ac_fn_c_try_link "$LINENO"; then :
7540 lt_cv_cc_needs_belf=yes
7542 lt_cv_cc_needs_belf=no
7544 rm -f core conftest.err conftest.$ac_objext \
7545 conftest$ac_exeext conftest.$ac_ext
7547 ac_cpp='$CPP $CPPFLAGS'
7548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7554 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7555 if test yes != "$lt_cv_cc_needs_belf"; then
7556 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7561 # Find out what ABI is being produced by ac_compile, and set linker
7562 # options accordingly.
7563 echo 'int i;' > conftest.$ac_ext
7564 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7565 (eval $ac_compile) 2>&5
7567 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7568 test $ac_status = 0; }; then
7569 case `/usr/bin/file conftest.o` in
7571 case $lt_cv_prog_gnu_ld in
7574 i?86-*-solaris*|x86_64-*-solaris*)
7575 LD="${LD-ld} -m elf_x86_64
"
7578 LD="${LD-ld} -m elf64_sparc
"
7581 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7582 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7587 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7599 need_locks=$enable_libtool_lock
7601 if test -n "$ac_tool_prefix"; then
7602 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7603 set dummy ${ac_tool_prefix}mt; ac_word=$2
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7605 $as_echo_n "checking
for $ac_word...
" >&6; }
7606 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7607 $as_echo_n "(cached
) " >&6
7609 if test -n "$MANIFEST_TOOL"; then
7610 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616 test -z "$as_dir" && as_dir=.
7617 for ac_exec_ext in '' $ac_executable_extensions; do
7618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7619 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7620 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7629 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7630 if test -n "$MANIFEST_TOOL"; then
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7632 $as_echo "$MANIFEST_TOOL" >&6; }
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7635 $as_echo "no
" >&6; }
7640 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7641 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7642 # Extract the first word of "mt
", so it can be a program name with args.
7643 set dummy mt; ac_word=$2
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7645 $as_echo_n "checking
for $ac_word...
" >&6; }
7646 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7647 $as_echo_n "(cached
) " >&6
7649 if test -n "$ac_ct_MANIFEST_TOOL"; then
7650 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7656 test -z "$as_dir" && as_dir=.
7657 for ac_exec_ext in '' $ac_executable_extensions; do
7658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7659 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7660 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7669 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7670 if test -n "$ac_ct_MANIFEST_TOOL"; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7672 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7675 $as_echo "no
" >&6; }
7678 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7681 case $cross_compiling:$ac_tool_warned in
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7684 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7685 ac_tool_warned=yes ;;
7687 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7690 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7693 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7695 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7696 if ${lt_cv_path_mainfest_tool+:} false; then :
7697 $as_echo_n "(cached
) " >&6
7699 lt_cv_path_mainfest_tool=no
7700 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7701 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7702 cat conftest.err >&5
7703 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7704 lt_cv_path_mainfest_tool=yes
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7709 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7710 if test yes != "$lt_cv_path_mainfest_tool"; then
7720 rhapsody* | darwin*)
7721 if test -n "$ac_tool_prefix"; then
7722 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7723 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7725 $as_echo_n "checking
for $ac_word...
" >&6; }
7726 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7727 $as_echo_n "(cached
) " >&6
7729 if test -n "$DSYMUTIL"; then
7730 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7736 test -z "$as_dir" && as_dir=.
7737 for ac_exec_ext in '' $ac_executable_extensions; do
7738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7739 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7740 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7749 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7750 if test -n "$DSYMUTIL"; then
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7752 $as_echo "$DSYMUTIL" >&6; }
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7755 $as_echo "no
" >&6; }
7760 if test -z "$ac_cv_prog_DSYMUTIL"; then
7761 ac_ct_DSYMUTIL=$DSYMUTIL
7762 # Extract the first word of "dsymutil
", so it can be a program name with args.
7763 set dummy dsymutil; ac_word=$2
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7765 $as_echo_n "checking
for $ac_word...
" >&6; }
7766 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7767 $as_echo_n "(cached
) " >&6
7769 if test -n "$ac_ct_DSYMUTIL"; then
7770 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 test -z "$as_dir" && as_dir=.
7777 for ac_exec_ext in '' $ac_executable_extensions; do
7778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7779 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7789 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7790 if test -n "$ac_ct_DSYMUTIL"; then
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7792 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7795 $as_echo "no
" >&6; }
7798 if test "x
$ac_ct_DSYMUTIL" = x; then
7801 case $cross_compiling:$ac_tool_warned in
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7804 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7805 ac_tool_warned=yes ;;
7807 DSYMUTIL=$ac_ct_DSYMUTIL
7810 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7813 if test -n "$ac_tool_prefix"; then
7814 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7815 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7817 $as_echo_n "checking
for $ac_word...
" >&6; }
7818 if ${ac_cv_prog_NMEDIT+:} false; then :
7819 $as_echo_n "(cached
) " >&6
7821 if test -n "$NMEDIT"; then
7822 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7828 test -z "$as_dir" && as_dir=.
7829 for ac_exec_ext in '' $ac_executable_extensions; do
7830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7831 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7841 NMEDIT=$ac_cv_prog_NMEDIT
7842 if test -n "$NMEDIT"; then
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7844 $as_echo "$NMEDIT" >&6; }
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7847 $as_echo "no
" >&6; }
7852 if test -z "$ac_cv_prog_NMEDIT"; then
7853 ac_ct_NMEDIT=$NMEDIT
7854 # Extract the first word of "nmedit
", so it can be a program name with args.
7855 set dummy nmedit; ac_word=$2
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7857 $as_echo_n "checking
for $ac_word...
" >&6; }
7858 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7859 $as_echo_n "(cached
) " >&6
7861 if test -n "$ac_ct_NMEDIT"; then
7862 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868 test -z "$as_dir" && as_dir=.
7869 for ac_exec_ext in '' $ac_executable_extensions; do
7870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7881 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7882 if test -n "$ac_ct_NMEDIT"; then
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7884 $as_echo "$ac_ct_NMEDIT" >&6; }
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7887 $as_echo "no
" >&6; }
7890 if test "x
$ac_ct_NMEDIT" = x; then
7893 case $cross_compiling:$ac_tool_warned in
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7896 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7897 ac_tool_warned=yes ;;
7899 NMEDIT=$ac_ct_NMEDIT
7902 NMEDIT="$ac_cv_prog_NMEDIT"
7905 if test -n "$ac_tool_prefix"; then
7906 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7907 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7909 $as_echo_n "checking
for $ac_word...
" >&6; }
7910 if ${ac_cv_prog_LIPO+:} false; then :
7911 $as_echo_n "(cached
) " >&6
7913 if test -n "$LIPO"; then
7914 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 test -z "$as_dir" && as_dir=.
7921 for ac_exec_ext in '' $ac_executable_extensions; do
7922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7923 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7933 LIPO=$ac_cv_prog_LIPO
7934 if test -n "$LIPO"; then
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7936 $as_echo "$LIPO" >&6; }
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7939 $as_echo "no
" >&6; }
7944 if test -z "$ac_cv_prog_LIPO"; then
7946 # Extract the first word of "lipo
", so it can be a program name with args.
7947 set dummy lipo; ac_word=$2
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7949 $as_echo_n "checking
for $ac_word...
" >&6; }
7950 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7951 $as_echo_n "(cached
) " >&6
7953 if test -n "$ac_ct_LIPO"; then
7954 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960 test -z "$as_dir" && as_dir=.
7961 for ac_exec_ext in '' $ac_executable_extensions; do
7962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7963 ac_cv_prog_ac_ct_LIPO="lipo
"
7964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7973 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7974 if test -n "$ac_ct_LIPO"; then
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7976 $as_echo "$ac_ct_LIPO" >&6; }
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7979 $as_echo "no
" >&6; }
7982 if test "x
$ac_ct_LIPO" = x; then
7985 case $cross_compiling:$ac_tool_warned in
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7988 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7989 ac_tool_warned=yes ;;
7994 LIPO="$ac_cv_prog_LIPO"
7997 if test -n "$ac_tool_prefix"; then
7998 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7999 set dummy ${ac_tool_prefix}otool; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8001 $as_echo_n "checking
for $ac_word...
" >&6; }
8002 if ${ac_cv_prog_OTOOL+:} false; then :
8003 $as_echo_n "(cached
) " >&6
8005 if test -n "$OTOOL"; then
8006 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8025 OTOOL=$ac_cv_prog_OTOOL
8026 if test -n "$OTOOL"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8028 $as_echo "$OTOOL" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8031 $as_echo "no
" >&6; }
8036 if test -z "$ac_cv_prog_OTOOL"; then
8038 # Extract the first word of "otool
", so it can be a program name with args.
8039 set dummy otool; ac_word=$2
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8041 $as_echo_n "checking
for $ac_word...
" >&6; }
8042 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8043 $as_echo_n "(cached
) " >&6
8045 if test -n "$ac_ct_OTOOL"; then
8046 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052 test -z "$as_dir" && as_dir=.
8053 for ac_exec_ext in '' $ac_executable_extensions; do
8054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8055 ac_cv_prog_ac_ct_OTOOL="otool
"
8056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8065 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8066 if test -n "$ac_ct_OTOOL"; then
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8068 $as_echo "$ac_ct_OTOOL" >&6; }
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8071 $as_echo "no
" >&6; }
8074 if test "x
$ac_ct_OTOOL" = x; then
8077 case $cross_compiling:$ac_tool_warned in
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8080 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8081 ac_tool_warned=yes ;;
8086 OTOOL="$ac_cv_prog_OTOOL"
8089 if test -n "$ac_tool_prefix"; then
8090 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8091 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8093 $as_echo_n "checking
for $ac_word...
" >&6; }
8094 if ${ac_cv_prog_OTOOL64+:} false; then :
8095 $as_echo_n "(cached
) " >&6
8097 if test -n "$OTOOL64"; then
8098 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8107 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8117 OTOOL64=$ac_cv_prog_OTOOL64
8118 if test -n "$OTOOL64"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8120 $as_echo "$OTOOL64" >&6; }
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8123 $as_echo "no
" >&6; }
8128 if test -z "$ac_cv_prog_OTOOL64"; then
8129 ac_ct_OTOOL64=$OTOOL64
8130 # Extract the first word of "otool64
", so it can be a program name with args.
8131 set dummy otool64; ac_word=$2
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8133 $as_echo_n "checking
for $ac_word...
" >&6; }
8134 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8135 $as_echo_n "(cached
) " >&6
8137 if test -n "$ac_ct_OTOOL64"; then
8138 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8147 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8157 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8158 if test -n "$ac_ct_OTOOL64"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8160 $as_echo "$ac_ct_OTOOL64" >&6; }
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8163 $as_echo "no
" >&6; }
8166 if test "x
$ac_ct_OTOOL64" = x; then
8169 case $cross_compiling:$ac_tool_warned in
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8172 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8173 ac_tool_warned=yes ;;
8175 OTOOL64=$ac_ct_OTOOL64
8178 OTOOL64="$ac_cv_prog_OTOOL64"
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8208 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8209 if ${lt_cv_apple_cc_single_mod+:} false; then :
8210 $as_echo_n "(cached
) " >&6
8212 lt_cv_apple_cc_single_mod=no
8213 if test -z "$LT_MULTI_MODULE"; then
8214 # By default we will add the -single_module flag. You can override
8215 # by either setting the environment variable LT_MULTI_MODULE
8216 # non-empty at configure time, or by adding -multi_module to the
8218 rm -rf libconftest.dylib*
8219 echo "int foo
(void
){return 1;}" > conftest.c
8220 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8221 -dynamiclib -Wl,-single_module conftest.c
" >&5
8222 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8223 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8225 # If there is a non-empty error log, and "single_module
"
8226 # appears in it, assume the flag caused a linker warning
8227 if test -s conftest.err && $GREP single_module conftest.err; then
8228 cat conftest.err >&5
8229 # Otherwise, if the output was created with a 0 exit code from
8230 # the compiler, it worked.
8231 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8232 lt_cv_apple_cc_single_mod=yes
8234 cat conftest.err >&5
8236 rm -rf libconftest.dylib*
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8241 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8244 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8245 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8246 $as_echo_n "(cached
) " >&6
8248 lt_cv_ld_exported_symbols_list=no
8249 save_LDFLAGS=$LDFLAGS
8250 echo "_main
" > conftest.sym
8251 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8263 if ac_fn_c_try_link "$LINENO"; then :
8264 lt_cv_ld_exported_symbols_list=yes
8266 lt_cv_ld_exported_symbols_list=no
8268 rm -f core conftest.err conftest.$ac_objext \
8269 conftest$ac_exeext conftest.$ac_ext
8270 LDFLAGS=$save_LDFLAGS
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8274 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8277 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8278 if ${lt_cv_ld_force_load+:} false; then :
8279 $as_echo_n "(cached
) " >&6
8281 lt_cv_ld_force_load=no
8282 cat > conftest.c << _LT_EOF
8283 int forced_loaded() { return 2;}
8285 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8286 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8287 echo "$AR cru libconftest.a conftest.o
" >&5
8288 $AR cru libconftest.a conftest.o 2>&5
8289 echo "$RANLIB libconftest.a
" >&5
8290 $RANLIB libconftest.a 2>&5
8291 cat > conftest.c << _LT_EOF
8292 int main() { return 0;}
8294 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8295 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8297 if test -s conftest.err && $GREP force_load conftest.err; then
8298 cat conftest.err >&5
8299 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8300 lt_cv_ld_force_load=yes
8302 cat conftest.err >&5
8304 rm -f conftest.err libconftest.a conftest conftest.c
8305 rm -rf conftest.dSYM
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8309 $as_echo "$lt_cv_ld_force_load" >&6; }
8311 rhapsody* | darwin1.[012])
8312 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8314 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8315 darwin*) # darwin 5.x on
8316 # if running on 10.5 or later, the deployment target defaults
8317 # to the OS version, if on x86, and 10.4, the deployment
8318 # target defaults to 10.4. Don't you love it?
8319 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8320 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8321 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8323 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8325 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8329 if test yes = "$lt_cv_apple_cc_single_mod"; then
8330 _lt_dar_single_mod='$single_module'
8332 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8333 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8335 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8337 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8338 _lt_dsymutil='~$DSYMUTIL $lib || :'
8345 # func_munge_path_list VARIABLE PATH
8346 # -----------------------------------
8347 # VARIABLE is name of variable containing _space_ separated list of
8348 # directories to be munged by the contents of PATH, which is string
8351 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8353 # string "DIR
[ DIR
]" will be appended to VARIABLE
8354 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8355 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8356 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8358 # VARIABLE will be replaced by "DIR
[ DIR
]"
8359 func_munge_path_list ()
8365 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8368 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8371 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8372 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8375 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8381 ac_cpp='$CPP $CPPFLAGS'
8382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8386 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8387 # On Suns, sometimes $CPP names a directory.
8388 if test -n "$CPP" && test -d "$CPP"; then
8391 if test -z "$CPP"; then
8392 if ${ac_cv_prog_CPP+:} false; then :
8393 $as_echo_n "(cached
) " >&6
8395 # Double quotes because CPP needs to be expanded
8396 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8399 for ac_c_preproc_warn_flag in '' yes
8401 # Use a header file that comes with gcc, so configuring glibc
8402 # with a fresh cross-compiler works.
8403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8404 # <limits.h> exists even on freestanding compilers.
8405 # On the NeXT, cc -E runs the code through the compiler's parser,
8406 # not just through cpp. "Syntax error
" is here to catch this case.
8407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8410 # include <limits.h>
8412 # include <assert.h>
8416 if ac_fn_c_try_cpp "$LINENO"; then :
8419 # Broken: fails on valid input.
8422 rm -f conftest.err conftest.i conftest.$ac_ext
8424 # OK, works on sane cases. Now check whether nonexistent headers
8425 # can be detected and how.
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 #include <ac_nonexistent.h>
8430 if ac_fn_c_try_cpp "$LINENO"; then :
8431 # Broken: success on invalid input.
8434 # Passes both tests.
8438 rm -f conftest.err conftest.i conftest.$ac_ext
8441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8442 rm -f conftest.i conftest.err conftest.$ac_ext
8443 if $ac_preproc_ok; then :
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8456 $as_echo "$CPP" >&6; }
8458 for ac_c_preproc_warn_flag in '' yes
8460 # Use a header file that comes with gcc, so configuring glibc
8461 # with a fresh cross-compiler works.
8462 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8463 # <limits.h> exists even on freestanding compilers.
8464 # On the NeXT, cc -E runs the code through the compiler's parser,
8465 # not just through cpp. "Syntax error
" is here to catch this case.
8466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8469 # include <limits.h>
8471 # include <assert.h>
8475 if ac_fn_c_try_cpp "$LINENO"; then :
8478 # Broken: fails on valid input.
8481 rm -f conftest.err conftest.i conftest.$ac_ext
8483 # OK, works on sane cases. Now check whether nonexistent headers
8484 # can be detected and how.
8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 #include <ac_nonexistent.h>
8489 if ac_fn_c_try_cpp "$LINENO"; then :
8490 # Broken: success on invalid input.
8493 # Passes both tests.
8497 rm -f conftest.err conftest.i conftest.$ac_ext
8500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8501 rm -f conftest.i conftest.err conftest.$ac_ext
8502 if $ac_preproc_ok; then :
8505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8507 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8508 See \`config.log' for more details
" "$LINENO" 5; }
8512 ac_cpp='$CPP $CPPFLAGS'
8513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8519 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8520 if ${ac_cv_header_stdc+:} false; then :
8521 $as_echo_n "(cached
) " >&6
8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8524 /* end confdefs.h. */
8538 if ac_fn_c_try_compile "$LINENO"; then :
8539 ac_cv_header_stdc=yes
8541 ac_cv_header_stdc=no
8543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8545 if test $ac_cv_header_stdc = yes; then
8546 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8548 /* end confdefs.h. */
8552 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8553 $EGREP "memchr
" >/dev/null 2>&1; then :
8556 ac_cv_header_stdc=no
8562 if test $ac_cv_header_stdc = yes; then
8563 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8569 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8570 $EGREP "free
" >/dev/null 2>&1; then :
8573 ac_cv_header_stdc=no
8579 if test $ac_cv_header_stdc = yes; then
8580 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8581 if test "$cross_compiling" = yes; then :
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8588 #if ((' ' & 0x0FF) == 0x020)
8589 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8590 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8592 # define ISLOWER(c) \
8593 (('a' <= (c) && (c) <= 'i') \
8594 || ('j' <= (c) && (c) <= 'r') \
8595 || ('s' <= (c) && (c) <= 'z'))
8596 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8599 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8604 for (i = 0; i < 256; i++)
8605 if (XOR (islower (i), ISLOWER (i))
8606 || toupper (i) != TOUPPER (i))
8611 if ac_fn_c_try_run "$LINENO"; then :
8614 ac_cv_header_stdc=no
8616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8617 conftest.$ac_objext conftest.beam conftest.$ac_ext
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8623 $as_echo "$ac_cv_header_stdc" >&6; }
8624 if test $ac_cv_header_stdc = yes; then
8626 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8630 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8631 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8632 inttypes.h stdint.h unistd.h
8634 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8635 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8637 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8638 cat >>confdefs.h
<<_ACEOF
8639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8647 for ac_header
in dlfcn.h
8649 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8651 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8652 cat >>confdefs.h
<<_ACEOF
8653 #define HAVE_DLFCN_H 1
8661 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8662 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8663 # is not polluted with repeated "-I."
8664 am__isrc
=' -I$(srcdir)'
8665 # test to see if srcdir already configured
8666 if test -f $srcdir/config.status
; then
8667 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8671 # test whether we have cygpath
8672 if test -z "$CYGPATH_W"; then
8673 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
8674 CYGPATH_W
='cygpath -w'
8681 # Define the identity of the package.
8686 cat >>confdefs.h
<<_ACEOF
8687 #define PACKAGE "$PACKAGE"
8691 cat >>confdefs.h
<<_ACEOF
8692 #define VERSION "$VERSION"
8695 # Some tools Automake needs.
8697 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
8700 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
8703 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
8706 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
8709 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
8711 # For better backward compatibility. To be removed once Automake 1.9.x
8712 # dies out for good. For more background, see:
8713 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
8714 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
8715 mkdir_p
='$(MKDIR_P)'
8717 # We need awk for the "check" target (and possibly the TAP driver). The
8718 # system "awk" is bad on some platforms.
8719 # Always define AMTAR for backward compatibility. Yes, it's still used
8720 # in the wild :-( We should find a proper way to deprecate it ...
8724 # We'll loop over all known methods to create a tar archive until one works.
8725 _am_tools
='gnutar pax cpio none'
8727 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
8734 # POSIX will say in a future version that running "rm -f" with no argument
8735 # is OK; and we want to be able to make that assumption in our Makefile
8736 # recipes. So use an aggressive probe to check that the usage we want is
8737 # actually supported "in the wild" to an acceptable degree.
8738 # See automake bug#10828.
8739 # To make any issue more visible, cause the running configure to be aborted
8740 # by default if the 'rm' program in use doesn't match our expectations; the
8741 # user can still override this though.
8742 if rm -f && rm -fr && rm -rf; then : OK
; else
8746 Your 'rm' program seems unable to run without file operands specified
8747 on the command line, even when the '-f' option is present. This is contrary
8748 to the behaviour of most rm programs out there, and not conforming with
8749 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
8751 Please tell bug-automake@gnu.org about your system, including the value
8752 of your $PATH and any error possibly output before this message. This
8753 can help us improve future automake versions.
8756 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
8757 echo 'Configuration will proceed anyway, since you have set the' >&2
8758 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
8762 Aborting the configuration process, to ensure you take notice of the issue.
8764 You can download and install GNU coreutils to get an 'rm' implementation
8765 that behaves properly: <http://www.gnu.org/software/coreutils/>.
8767 If you want to complete the configuration process using your problematic
8768 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
8769 to "yes", and re-run configure.
8772 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
8778 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
8779 # Check whether --enable-maintainer-mode was given.
8780 if test "${enable_maintainer_mode+set}" = set; then :
8781 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
8783 USE_MAINTAINER_MODE
=no
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
8787 $as_echo "$USE_MAINTAINER_MODE" >&6; }
8788 if test $USE_MAINTAINER_MODE = yes; then
8789 MAINTAINER_MODE_TRUE
=
8790 MAINTAINER_MODE_FALSE
='#'
8792 MAINTAINER_MODE_TRUE
='#'
8793 MAINTAINER_MODE_FALSE
=
8796 MAINT
=$MAINTAINER_MODE_TRUE
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
8800 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
8801 if ${kb_cv_c_prototypes+:} false
; then :
8802 $as_echo_n "(cached) " >&6
8804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8810 extern void foo(int i,...);
8815 if ac_fn_c_try_link
"$LINENO"; then :
8816 kb_cv_c_prototypes
=yes
8818 kb_cv_c_prototypes
=no
8820 rm -f core conftest.err conftest.
$ac_objext \
8821 conftest
$ac_exeext conftest.
$ac_ext
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
8824 $as_echo "$kb_cv_c_prototypes" >&6; }
8825 if test "x$kb_cv_c_prototypes" = xno
; then
8826 as_fn_error $?
"Sorry, your compiler does not understand prototypes." "$LINENO" 5
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
8829 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
8830 if ${kpse_cv_warning_cflags+:} false
; then :
8831 $as_echo_n "(cached) " >&6
8833 if test "x$GCC" = xyes
; then
8834 kpse_cv_warning_cflags
=
8835 if test "x$enable_compiler_warnings" != xno
; then
8836 kpse_cv_warning_cflags
="-Wimplicit -Wreturn-type"
8837 case `$CC -dumpversion` in #(
8838 3.4.
* |
4.
* |
5.
*) :
8839 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
8843 case `$CC -dumpversion` in #(
8844 3.
[234].
* |
4.
* |
5.
*) :
8845 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
8849 if test "x$enable_compiler_warnings" != xmin
; then
8850 kpse_cv_warning_cflags
="-Wall -Wunused $kpse_cv_warning_cflags"
8851 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
8852 if test "x$enable_compiler_warnings" != xyes
; then
8853 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
8854 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
8855 case `$CC -dumpversion` in #(
8856 3.4.
* |
4.
* |
5.
*) :
8857 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
8861 if test "x$enable_compiler_warnings" != xmax
; then
8862 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wshadow"
8867 elif test "x$enable_compiler_warnings" = xno
; then
8868 kpse_cv_warning_cflags
=
8870 kpse_cv_warning_cflags
= # FIXME: warning flags for non-GNU C compilers
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
8874 $as_echo "$kpse_cv_warning_cflags" >&6; }
8875 WARNING_CFLAGS
=$kpse_cv_warning_cflags
8889 enable_win32_dll
=yes
8892 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
8893 if test -n "$ac_tool_prefix"; then
8894 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8895 set dummy
${ac_tool_prefix}as
; ac_word
=$2
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8897 $as_echo_n "checking for $ac_word... " >&6; }
8898 if ${ac_cv_prog_AS+:} false
; then :
8899 $as_echo_n "(cached) " >&6
8901 if test -n "$AS"; then
8902 ac_cv_prog_AS
="$AS" # Let the user override the test.
8904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8908 test -z "$as_dir" && as_dir
=.
8909 for ac_exec_ext
in '' $ac_executable_extensions; do
8910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8911 ac_cv_prog_AS
="${ac_tool_prefix}as"
8912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8922 if test -n "$AS"; then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8924 $as_echo "$AS" >&6; }
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8927 $as_echo "no" >&6; }
8932 if test -z "$ac_cv_prog_AS"; then
8934 # Extract the first word of "as", so it can be a program name with args.
8935 set dummy as
; ac_word
=$2
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8937 $as_echo_n "checking for $ac_word... " >&6; }
8938 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
8939 $as_echo_n "(cached) " >&6
8941 if test -n "$ac_ct_AS"; then
8942 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
8944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir
=.
8949 for ac_exec_ext
in '' $ac_executable_extensions; do
8950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8951 ac_cv_prog_ac_ct_AS
="as"
8952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8961 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
8962 if test -n "$ac_ct_AS"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8964 $as_echo "$ac_ct_AS" >&6; }
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8967 $as_echo "no" >&6; }
8970 if test "x$ac_ct_AS" = x
; then
8973 case $cross_compiling:$ac_tool_warned in
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8977 ac_tool_warned
=yes ;;
8985 if test -n "$ac_tool_prefix"; then
8986 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8987 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8989 $as_echo_n "checking for $ac_word... " >&6; }
8990 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8991 $as_echo_n "(cached) " >&6
8993 if test -n "$DLLTOOL"; then
8994 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9000 test -z "$as_dir" && as_dir
=.
9001 for ac_exec_ext
in '' $ac_executable_extensions; do
9002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9003 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9013 DLLTOOL
=$ac_cv_prog_DLLTOOL
9014 if test -n "$DLLTOOL"; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9016 $as_echo "$DLLTOOL" >&6; }
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9019 $as_echo "no" >&6; }
9024 if test -z "$ac_cv_prog_DLLTOOL"; then
9025 ac_ct_DLLTOOL
=$DLLTOOL
9026 # Extract the first word of "dlltool", so it can be a program name with args.
9027 set dummy dlltool
; ac_word
=$2
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9029 $as_echo_n "checking for $ac_word... " >&6; }
9030 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
9031 $as_echo_n "(cached) " >&6
9033 if test -n "$ac_ct_DLLTOOL"; then
9034 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9040 test -z "$as_dir" && as_dir
=.
9041 for ac_exec_ext
in '' $ac_executable_extensions; do
9042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9043 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9053 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9054 if test -n "$ac_ct_DLLTOOL"; then
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9056 $as_echo "$ac_ct_DLLTOOL" >&6; }
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9062 if test "x$ac_ct_DLLTOOL" = x
; then
9065 case $cross_compiling:$ac_tool_warned in
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9069 ac_tool_warned
=yes ;;
9071 DLLTOOL
=$ac_ct_DLLTOOL
9074 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9077 if test -n "$ac_tool_prefix"; then
9078 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9079 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9081 $as_echo_n "checking for $ac_word... " >&6; }
9082 if ${ac_cv_prog_OBJDUMP+:} false
; then :
9083 $as_echo_n "(cached) " >&6
9085 if test -n "$OBJDUMP"; then
9086 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
9088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9092 test -z "$as_dir" && as_dir
=.
9093 for ac_exec_ext
in '' $ac_executable_extensions; do
9094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9095 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
9096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9105 OBJDUMP
=$ac_cv_prog_OBJDUMP
9106 if test -n "$OBJDUMP"; then
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9108 $as_echo "$OBJDUMP" >&6; }
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9111 $as_echo "no" >&6; }
9116 if test -z "$ac_cv_prog_OBJDUMP"; then
9117 ac_ct_OBJDUMP
=$OBJDUMP
9118 # Extract the first word of "objdump", so it can be a program name with args.
9119 set dummy objdump
; ac_word
=$2
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9121 $as_echo_n "checking for $ac_word... " >&6; }
9122 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
9123 $as_echo_n "(cached) " >&6
9125 if test -n "$ac_ct_OBJDUMP"; then
9126 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
9128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9132 test -z "$as_dir" && as_dir
=.
9133 for ac_exec_ext
in '' $ac_executable_extensions; do
9134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9135 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
9136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9145 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
9146 if test -n "$ac_ct_OBJDUMP"; then
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9148 $as_echo "$ac_ct_OBJDUMP" >&6; }
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9151 $as_echo "no" >&6; }
9154 if test "x$ac_ct_OBJDUMP" = x
; then
9157 case $cross_compiling:$ac_tool_warned in
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9161 ac_tool_warned
=yes ;;
9163 OBJDUMP
=$ac_ct_OBJDUMP
9166 OBJDUMP
="$ac_cv_prog_OBJDUMP"
9172 test -z "$AS" && AS
=as
9178 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9184 test -z "$OBJDUMP" && OBJDUMP
=objdump
9196 # Check whether --enable-shared was given.
9197 if test "${enable_shared+set}" = set; then :
9198 enableval
=$enable_shared; p
=${PACKAGE-default}
9200 yes) enable_shared
=yes ;;
9201 no
) enable_shared
=no
;;
9204 # Look at the argument we got. We use all the common list separators.
9205 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9206 for pkg
in $enableval; do
9208 if test "X$pkg" = "X$p"; then
9227 # Check whether --enable-static was given.
9228 if test "${enable_static+set}" = set; then :
9229 enableval
=$enable_static; p
=${PACKAGE-default}
9231 yes) enable_static
=yes ;;
9232 no
) enable_static
=no
;;
9235 # Look at the argument we got. We use all the common list separators.
9236 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9237 for pkg
in $enableval; do
9239 if test "X$pkg" = "X$p"; then
9259 # Check whether --with-pic was given.
9260 if test "${with_pic+set}" = set; then :
9261 withval
=$with_pic; lt_p
=${PACKAGE-default}
9263 yes|no
) pic_mode
=$withval ;;
9266 # Look at the argument we got. We use all the common list separators.
9267 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9268 for lt_pkg
in $withval; do
9270 if test "X$lt_pkg" = "X$lt_p"; then
9288 # Check whether --enable-fast-install was given.
9289 if test "${enable_fast_install+set}" = set; then :
9290 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9292 yes) enable_fast_install
=yes ;;
9293 no
) enable_fast_install
=no
;;
9295 enable_fast_install
=no
9296 # Look at the argument we got. We use all the common list separators.
9297 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9298 for pkg
in $enableval; do
9300 if test "X$pkg" = "X$p"; then
9301 enable_fast_install
=yes
9308 enable_fast_install
=yes
9318 shared_archive_member_spec
=
9319 case $host,$enable_shared in
9320 power
*-*-aix[5-9]*,yes)
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9322 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9324 # Check whether --with-aix-soname was given.
9325 if test "${with_aix_soname+set}" = set; then :
9326 withval
=$with_aix_soname; case $withval in
9330 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9333 lt_cv_with_aix_soname
=$with_aix_soname
9335 if ${lt_cv_with_aix_soname+:} false
; then :
9336 $as_echo_n "(cached) " >&6
9338 lt_cv_with_aix_soname
=aix
9341 with_aix_soname
=$lt_cv_with_aix_soname
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9345 $as_echo "$with_aix_soname" >&6; }
9346 if test aix
!= "$with_aix_soname"; then
9347 # For the AIX way of multilib, we name the shared archive member
9348 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9349 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9350 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9351 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9352 if test 64 = "${OBJECT_MODE-32}"; then
9353 shared_archive_member_spec
=shr_64
9355 shared_archive_member_spec
=shr
9373 # This can be used to rebuild libtool when needed
9374 LIBTOOL_DEPS
=$ltmain
9376 # Always use our own libtool.
9377 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9408 test -z "$LN_S" && LN_S
="ln -s"
9423 if test -n "${ZSH_VERSION+set}"; then
9424 setopt NO_GLOB_SUBST
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9428 $as_echo_n "checking for objdir... " >&6; }
9429 if ${lt_cv_objdir+:} false
; then :
9430 $as_echo_n "(cached) " >&6
9432 rm -f .libs
2>/dev
/null
9433 mkdir .libs
2>/dev
/null
9434 if test -d .libs
; then
9437 # MS-DOS does not allow filenames that begin with a dot.
9440 rmdir .libs
2>/dev
/null
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9443 $as_echo "$lt_cv_objdir" >&6; }
9444 objdir
=$lt_cv_objdir
9450 cat >>confdefs.h
<<_ACEOF
9451 #define LT_OBJDIR "$lt_cv_objdir/"
9459 # AIX sometimes has problems with the GCC collect2 program. For some
9460 # reason, if we set the COLLECT_NAMES environment variable, the problems
9461 # vanish in a puff of smoke.
9462 if test set != "${COLLECT_NAMES+set}"; then
9464 export COLLECT_NAMES
9471 can_build_shared
=yes
9473 # All known linkers require a '.a' archive for static linking (except MSVC,
9474 # which needs '.lib').
9477 with_gnu_ld
=$lt_cv_prog_gnu_ld
9482 # Set sane defaults for various variables
9483 test -z "$CC" && CC
=cc
9484 test -z "$LTCC" && LTCC
=$CC
9485 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9486 test -z "$LD" && LD
=ld
9487 test -z "$ac_objext" && ac_objext
=o
9489 func_cc_basename
$compiler
9490 cc_basename
=$func_cc_basename_result
9493 # Only perform the check for file, if the check method requires it
9494 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9495 case $deplibs_check_method in
9497 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9499 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9500 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9501 $as_echo_n "(cached) " >&6
9505 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9508 lt_save_MAGIC_CMD
=$MAGIC_CMD
9509 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9510 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9511 for ac_dir
in $ac_dummy; do
9513 test -z "$ac_dir" && ac_dir
=.
9514 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9515 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9516 if test -n "$file_magic_test_file"; then
9517 case $deplibs_check_method in
9519 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9520 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9521 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9522 $EGREP "$file_magic_regex" > /dev
/null
; then
9527 *** Warning: the command libtool uses to detect shared libraries,
9528 *** $file_magic_cmd, produces output that libtool cannot recognize.
9529 *** The result is that libtool may fail to recognize shared libraries
9530 *** as such. This will affect the creation of libtool libraries that
9531 *** depend on shared libraries, but programs linked with such libtool
9532 *** libraries will work regardless of this problem. Nevertheless, you
9533 *** may want to report the problem to your system manager and/or to
9534 *** bug-libtool@gnu.org
9544 MAGIC_CMD
=$lt_save_MAGIC_CMD
9549 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9550 if test -n "$MAGIC_CMD"; then
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9552 $as_echo "$MAGIC_CMD" >&6; }
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9555 $as_echo "no" >&6; }
9562 if test -z "$lt_cv_path_MAGIC_CMD"; then
9563 if test -n "$ac_tool_prefix"; then
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9565 $as_echo_n "checking for file... " >&6; }
9566 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9567 $as_echo_n "(cached) " >&6
9571 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9574 lt_save_MAGIC_CMD
=$MAGIC_CMD
9575 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9576 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9577 for ac_dir
in $ac_dummy; do
9579 test -z "$ac_dir" && ac_dir
=.
9580 if test -f "$ac_dir/file"; then
9581 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9582 if test -n "$file_magic_test_file"; then
9583 case $deplibs_check_method in
9585 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9586 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9587 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9588 $EGREP "$file_magic_regex" > /dev
/null
; then
9593 *** Warning: the command libtool uses to detect shared libraries,
9594 *** $file_magic_cmd, produces output that libtool cannot recognize.
9595 *** The result is that libtool may fail to recognize shared libraries
9596 *** as such. This will affect the creation of libtool libraries that
9597 *** depend on shared libraries, but programs linked with such libtool
9598 *** libraries will work regardless of this problem. Nevertheless, you
9599 *** may want to report the problem to your system manager and/or to
9600 *** bug-libtool@gnu.org
9610 MAGIC_CMD
=$lt_save_MAGIC_CMD
9615 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9616 if test -n "$MAGIC_CMD"; then
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9618 $as_echo "$MAGIC_CMD" >&6; }
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9621 $as_echo "no" >&6; }
9634 # Use C for the default configuration in the libtool script
9638 ac_cpp
='$CPP $CPPFLAGS'
9639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9644 # Source file extension for C test sources.
9647 # Object file extension for compiled C test sources.
9651 # Code to be used in simple compile tests
9652 lt_simple_compile_test_code
="int some_variable = 0;"
9654 # Code to be used in simple link tests
9655 lt_simple_link_test_code
='int main(){return(0);}'
9663 # If no C compiler was specified, use CC.
9666 # If no C compiler flags were specified, use CFLAGS.
9667 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9669 # Allow CC to be a program name with arguments.
9672 # Save the default compiler, since it gets overwritten when the other
9673 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9674 compiler_DEFAULT
=$CC
9676 # save warnings/boilerplate of simple test code
9677 ac_outfile
=conftest.
$ac_objext
9678 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9679 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9680 _lt_compiler_boilerplate
=`cat conftest.err`
9683 ac_outfile
=conftest.
$ac_objext
9684 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9685 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9686 _lt_linker_boilerplate
=`cat conftest.err`
9691 ## There is no encapsulation within the following macros, do not change
9692 ## the running order or otherwise move them around unless you know exactly
9693 ## what you are doing...
9694 if test -n "$compiler"; then
9696 lt_prog_compiler_no_builtin_flag
=
9698 if test yes = "$GCC"; then
9699 case $cc_basename in
9701 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9703 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9707 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9708 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9709 $as_echo_n "(cached) " >&6
9711 lt_cv_prog_compiler_rtti_exceptions
=no
9712 ac_outfile
=conftest.
$ac_objext
9713 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9714 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9715 # Insert the option either (1) after the last *FLAGS variable, or
9716 # (2) before a word containing "conftest.", or (3) at the end.
9717 # Note that $ac_compile itself does not contain backslashes and begins
9718 # with a dollar sign (not a hyphen), so the echo should work correctly.
9719 # The option is referenced via a variable to avoid confusing sed.
9720 lt_compile
=`echo "$ac_compile" | $SED \
9721 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9723 -e 's:$: $lt_compiler_flag:'`
9724 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9725 (eval "$lt_compile" 2>conftest.err
)
9727 cat conftest.err
>&5
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 if (exit $ac_status) && test -s "$ac_outfile"; then
9730 # The compiler can only warn and ignore the option if not recognized
9731 # So say no if there are warnings other than the usual output.
9732 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9733 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9734 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9735 lt_cv_prog_compiler_rtti_exceptions
=yes
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9742 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9744 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9745 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9757 lt_prog_compiler_wl
=
9758 lt_prog_compiler_pic
=
9759 lt_prog_compiler_static
=
9762 if test yes = "$GCC"; then
9763 lt_prog_compiler_wl
='-Wl,'
9764 lt_prog_compiler_static
='-static'
9768 # All AIX code is PIC.
9769 if test ia64
= "$host_cpu"; then
9770 # AIX 5 now supports IA64 processor
9771 lt_prog_compiler_static
='-Bstatic'
9773 lt_prog_compiler_pic
='-fPIC'
9779 # see comment about AmigaOS4 .so support
9780 lt_prog_compiler_pic
='-fPIC'
9783 # FIXME: we need at least 68020 code to build shared libraries, but
9784 # adding the '-m68020' flag to GCC prevents building anything better,
9786 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9791 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9792 # PIC is the default for these OSes.
9795 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9796 # This hack is so that the source file can tell whether it is being
9797 # built for inclusion in a dll (and should export symbols for example).
9798 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9799 # (--disable-auto-import) libraries
9800 lt_prog_compiler_pic
='-DDLL_EXPORT'
9803 lt_prog_compiler_static
='$wl-static'
9808 darwin
* | rhapsody
*)
9809 # PIC is the default on this platform
9810 # Common symbols not allowed in MH_DYLIB files
9811 lt_prog_compiler_pic
='-fno-common'
9815 # PIC is the default for Haiku.
9816 # The "-static" flag exists, but is broken.
9817 lt_prog_compiler_static
=
9821 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9822 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9823 # sets the default TLS model and affects inlining.
9829 lt_prog_compiler_pic
='-fPIC'
9835 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9836 # Instead, we relocate shared libraries at runtime.
9840 # Just because we use GCC doesn't mean we suddenly get shared libraries
9841 # on systems that don't support them.
9842 lt_prog_compiler_can_build_shared
=no
9847 # QNX uses GNU C++, but need to define -shared option too, otherwise
9849 lt_prog_compiler_pic
='-fPIC -shared'
9853 if test -d /usr
/nec
; then
9854 lt_prog_compiler_pic
=-Kconform_pic
9859 lt_prog_compiler_pic
='-fPIC'
9863 case $cc_basename in
9864 nvcc
*) # Cuda Compiler Driver 2.2
9865 lt_prog_compiler_wl
='-Xlinker '
9866 if test -n "$lt_prog_compiler_pic"; then
9867 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9872 # PORTME Check for flag to pass linker flags through the system compiler.
9875 lt_prog_compiler_wl
='-Wl,'
9876 if test ia64
= "$host_cpu"; then
9877 # AIX 5 now supports IA64 processor
9878 lt_prog_compiler_static
='-Bstatic'
9880 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9884 darwin
* | rhapsody
*)
9885 # PIC is the default on this platform
9886 # Common symbols not allowed in MH_DYLIB files
9887 lt_prog_compiler_pic
='-fno-common'
9888 case $cc_basename in
9890 # NAG Fortran compiler
9891 lt_prog_compiler_wl
='-Wl,-Wl,,'
9892 lt_prog_compiler_pic
='-PIC'
9893 lt_prog_compiler_static
='-Bstatic'
9898 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9899 # This hack is so that the source file can tell whether it is being
9900 # built for inclusion in a dll (and should export symbols for example).
9901 lt_prog_compiler_pic
='-DDLL_EXPORT'
9904 lt_prog_compiler_static
='$wl-static'
9909 hpux9
* | hpux10
* | hpux11
*)
9910 lt_prog_compiler_wl
='-Wl,'
9911 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9918 lt_prog_compiler_pic
='+Z'
9921 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9922 lt_prog_compiler_static
='$wl-a ${wl}archive'
9925 irix5
* | irix6
* | nonstopux
*)
9926 lt_prog_compiler_wl
='-Wl,'
9927 # PIC (with -KPIC) is the default.
9928 lt_prog_compiler_static
='-non_shared'
9931 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9932 case $cc_basename in
9933 # old Intel for x86_64, which still supported -KPIC.
9935 lt_prog_compiler_wl
='-Wl,'
9936 lt_prog_compiler_pic
='-KPIC'
9937 lt_prog_compiler_static
='-static'
9939 # icc used to be incompatible with GCC.
9940 # ICC 10 doesn't accept -KPIC any more.
9942 lt_prog_compiler_wl
='-Wl,'
9943 lt_prog_compiler_pic
='-fPIC'
9944 lt_prog_compiler_static
='-static'
9946 # Lahey Fortran 8.1.
9948 lt_prog_compiler_wl
='-Wl,'
9949 lt_prog_compiler_pic
='--shared'
9950 lt_prog_compiler_static
='--static'
9953 # NAG Fortran compiler
9954 lt_prog_compiler_wl
='-Wl,-Wl,,'
9955 lt_prog_compiler_pic
='-PIC'
9956 lt_prog_compiler_static
='-Bstatic'
9959 # Fabrice Bellard et al's Tiny C Compiler
9960 lt_prog_compiler_wl
='-Wl,'
9961 lt_prog_compiler_pic
='-fPIC'
9962 lt_prog_compiler_static
='-static'
9964 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9965 # Portland Group compilers (*not* the Pentium gcc compiler,
9966 # which looks to be a dead project)
9967 lt_prog_compiler_wl
='-Wl,'
9968 lt_prog_compiler_pic
='-fpic'
9969 lt_prog_compiler_static
='-Bstatic'
9972 lt_prog_compiler_wl
='-Wl,'
9973 # All Alpha code is PIC.
9974 lt_prog_compiler_static
='-non_shared'
9976 xl
* | bgxl
* | bgf
* | mpixl
*)
9977 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9978 lt_prog_compiler_wl
='-Wl,'
9979 lt_prog_compiler_pic
='-qpic'
9980 lt_prog_compiler_static
='-qstaticlink'
9983 case `$CC -V 2>&1 | sed 5q` in
9984 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9985 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9986 lt_prog_compiler_pic
='-KPIC'
9987 lt_prog_compiler_static
='-Bstatic'
9988 lt_prog_compiler_wl
=''
9990 *Sun\ F
* |
*Sun
*Fortran
*)
9991 lt_prog_compiler_pic
='-KPIC'
9992 lt_prog_compiler_static
='-Bstatic'
9993 lt_prog_compiler_wl
='-Qoption ld '
9997 lt_prog_compiler_pic
='-KPIC'
9998 lt_prog_compiler_static
='-Bstatic'
9999 lt_prog_compiler_wl
='-Wl,'
10001 *Intel
*\
[CF
]*Compiler
*)
10002 lt_prog_compiler_wl
='-Wl,'
10003 lt_prog_compiler_pic
='-fPIC'
10004 lt_prog_compiler_static
='-static'
10007 lt_prog_compiler_wl
='-Wl,'
10008 lt_prog_compiler_pic
='-fpic'
10009 lt_prog_compiler_static
='-Bstatic'
10017 lt_prog_compiler_pic
='-KPIC'
10018 lt_prog_compiler_static
='-Bstatic'
10022 # QNX uses GNU C++, but need to define -shared option too, otherwise
10023 # it will coredump.
10024 lt_prog_compiler_pic
='-fPIC -shared'
10027 osf3
* | osf4
* | osf5
*)
10028 lt_prog_compiler_wl
='-Wl,'
10029 # All OSF/1 code is PIC.
10030 lt_prog_compiler_static
='-non_shared'
10034 lt_prog_compiler_static
='-non_shared'
10038 lt_prog_compiler_pic
='-KPIC'
10039 lt_prog_compiler_static
='-Bstatic'
10040 case $cc_basename in
10041 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10042 lt_prog_compiler_wl
='-Qoption ld ';;
10044 lt_prog_compiler_wl
='-Wl,';;
10049 lt_prog_compiler_wl
='-Qoption ld '
10050 lt_prog_compiler_pic
='-PIC'
10051 lt_prog_compiler_static
='-Bstatic'
10054 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10055 lt_prog_compiler_wl
='-Wl,'
10056 lt_prog_compiler_pic
='-KPIC'
10057 lt_prog_compiler_static
='-Bstatic'
10061 if test -d /usr
/nec
; then
10062 lt_prog_compiler_pic
='-Kconform_pic'
10063 lt_prog_compiler_static
='-Bstatic'
10067 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10068 lt_prog_compiler_wl
='-Wl,'
10069 lt_prog_compiler_pic
='-KPIC'
10070 lt_prog_compiler_static
='-Bstatic'
10074 lt_prog_compiler_wl
='-Wl,'
10075 lt_prog_compiler_can_build_shared
=no
10079 lt_prog_compiler_pic
='-pic'
10080 lt_prog_compiler_static
='-Bstatic'
10084 lt_prog_compiler_can_build_shared
=no
10090 # For platforms that do not support PIC, -DPIC is meaningless:
10092 lt_prog_compiler_pic
=
10095 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10100 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10101 if ${lt_cv_prog_compiler_pic+:} false
; then :
10102 $as_echo_n "(cached) " >&6
10104 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10107 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10108 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10111 # Check to make sure the PIC flag actually works.
10113 if test -n "$lt_prog_compiler_pic"; then
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10115 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10116 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10117 $as_echo_n "(cached) " >&6
10119 lt_cv_prog_compiler_pic_works
=no
10120 ac_outfile
=conftest.
$ac_objext
10121 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10122 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10123 # Insert the option either (1) after the last *FLAGS variable, or
10124 # (2) before a word containing "conftest.", or (3) at the end.
10125 # Note that $ac_compile itself does not contain backslashes and begins
10126 # with a dollar sign (not a hyphen), so the echo should work correctly.
10127 # The option is referenced via a variable to avoid confusing sed.
10128 lt_compile
=`echo "$ac_compile" | $SED \
10129 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10130 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10131 -e 's:$: $lt_compiler_flag:'`
10132 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10133 (eval "$lt_compile" 2>conftest.err
)
10135 cat conftest.err
>&5
10136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137 if (exit $ac_status) && test -s "$ac_outfile"; then
10138 # The compiler can only warn and ignore the option if not recognized
10139 # So say no if there are warnings other than the usual output.
10140 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10141 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10142 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10143 lt_cv_prog_compiler_pic_works
=yes
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10150 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10152 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10153 case $lt_prog_compiler_pic in
10155 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10158 lt_prog_compiler_pic
=
10159 lt_prog_compiler_can_build_shared
=no
10175 # Check to make sure the static flag actually works.
10177 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10179 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10180 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10181 $as_echo_n "(cached) " >&6
10183 lt_cv_prog_compiler_static_works
=no
10184 save_LDFLAGS
=$LDFLAGS
10185 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10186 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10187 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10188 # The linker can only warn and ignore the option if not recognized
10189 # So say no if there are warnings
10190 if test -s conftest.err
; then
10191 # Append any errors to the config.log.
10192 cat conftest.err
1>&5
10193 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10194 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10195 if diff conftest.exp conftest.er2
>/dev
/null
; then
10196 lt_cv_prog_compiler_static_works
=yes
10199 lt_cv_prog_compiler_static_works
=yes
10203 LDFLAGS
=$save_LDFLAGS
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10207 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10209 if test yes = "$lt_cv_prog_compiler_static_works"; then
10212 lt_prog_compiler_static
=
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10222 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10223 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10224 $as_echo_n "(cached) " >&6
10226 lt_cv_prog_compiler_c_o
=no
10227 $RM -r conftest
2>/dev
/null
10231 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10233 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10234 # Insert the option either (1) after the last *FLAGS variable, or
10235 # (2) before a word containing "conftest.", or (3) at the end.
10236 # Note that $ac_compile itself does not contain backslashes and begins
10237 # with a dollar sign (not a hyphen), so the echo should work correctly.
10238 lt_compile
=`echo "$ac_compile" | $SED \
10239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10241 -e 's:$: $lt_compiler_flag:'`
10242 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10243 (eval "$lt_compile" 2>out
/conftest.err
)
10245 cat out
/conftest.err
>&5
10246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10249 # The compiler can only warn and ignore the option if not recognized
10250 # So say no if there are warnings
10251 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10252 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10253 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10254 lt_cv_prog_compiler_c_o
=yes
10259 # SGI C++ compiler will create directory out/ii_files/ for
10260 # template instantiation
10261 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10262 $RM out
/* && rmdir out
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10269 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10277 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10278 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10279 $as_echo_n "(cached) " >&6
10281 lt_cv_prog_compiler_c_o
=no
10282 $RM -r conftest
2>/dev
/null
10286 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10288 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10289 # Insert the option either (1) after the last *FLAGS variable, or
10290 # (2) before a word containing "conftest.", or (3) at the end.
10291 # Note that $ac_compile itself does not contain backslashes and begins
10292 # with a dollar sign (not a hyphen), so the echo should work correctly.
10293 lt_compile
=`echo "$ac_compile" | $SED \
10294 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10295 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10296 -e 's:$: $lt_compiler_flag:'`
10297 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10298 (eval "$lt_compile" 2>out
/conftest.err
)
10300 cat out
/conftest.err
>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10304 # The compiler can only warn and ignore the option if not recognized
10305 # So say no if there are warnings
10306 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10307 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10308 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10309 lt_cv_prog_compiler_c_o
=yes
10314 # SGI C++ compiler will create directory out/ii_files/ for
10315 # template instantiation
10316 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10317 $RM out
/* && rmdir out
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10324 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10329 hard_links
=nottested
10330 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10331 # do not overwrite the value of need_locks provided by the user
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10333 $as_echo_n "checking if we can lock with hard links... " >&6; }
10336 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10338 ln conftest.a conftest.b
2>&5 || hard_links
=no
10339 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10341 $as_echo "$hard_links" >&6; }
10342 if test no
= "$hard_links"; then
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10344 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10357 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10360 allow_undefined_flag
=
10361 always_export_symbols
=no
10363 archive_expsym_cmds
=
10364 compiler_needs_object
=no
10365 enable_shared_with_static_runtimes
=no
10366 export_dynamic_flag_spec
=
10367 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10368 hardcode_automatic
=no
10370 hardcode_direct_absolute
=no
10371 hardcode_libdir_flag_spec
=
10372 hardcode_libdir_separator
=
10373 hardcode_minus_L
=no
10374 hardcode_shlibpath_var
=unsupported
10376 link_all_deplibs
=unknown
10378 module_expsym_cmds
=
10379 old_archive_from_new_cmds
=
10380 old_archive_from_expsyms_cmds
=
10381 thread_safe_flag_spec
=
10382 whole_archive_flag_spec
=
10383 # include_expsyms should be a list of space-separated symbols to be *always*
10384 # included in the symbol list
10386 # exclude_expsyms can be an extended regexp of symbols to exclude
10387 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10388 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10389 # as well as any symbol that contains 'd'.
10390 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10391 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10392 # platforms (ab)use it in PIC code, but their linkers get confused if
10393 # the symbol is explicitly referenced. Since portable code cannot
10394 # rely on this symbol name, it's probably fine to never include it in
10395 # preloaded symbol tables.
10396 # Exclude shared library initialization/finalization symbols.
10397 extract_expsyms_cmds
=
10400 cygwin
* | mingw
* | pw32
* | cegcc
*)
10401 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10402 # When not using gcc, we currently assume that we are using
10403 # Microsoft Visual C++.
10404 if test yes != "$GCC"; then
10409 # we just hope/assume this is gcc and not c89 (= MSVC++)
10412 openbsd
* | bitrig
*)
10419 # On some targets, GNU ld is compatible enough with the native linker
10420 # that we're better off using the native interface for both.
10421 lt_use_gnu_ld_interface
=no
10422 if test yes = "$with_gnu_ld"; then
10425 # The AIX port of GNU ld has always aspired to compatibility
10426 # with the native linker. However, as the warning in the GNU ld
10427 # block says, versions before 2.19.5* couldn't really create working
10428 # shared libraries, regardless of the interface used.
10429 case `$LD -v 2>&1` in
10430 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10431 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10432 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10434 lt_use_gnu_ld_interface
=yes
10439 lt_use_gnu_ld_interface
=yes
10444 if test yes = "$lt_use_gnu_ld_interface"; then
10445 # If archive_cmds runs LD, not CC, wlarc should be empty
10448 # Set some defaults for GNU ld with shared library support. These
10449 # are reset later if shared libraries are not supported. Putting them
10450 # here allows them to be overridden if necessary.
10451 runpath_var
=LD_RUN_PATH
10452 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10453 export_dynamic_flag_spec
='$wl--export-dynamic'
10454 # ancient GNU ld didn't support --whole-archive et. al.
10455 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10456 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10458 whole_archive_flag_spec
=
10460 supports_anon_versioning
=no
10461 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10462 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10463 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10464 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10465 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10466 *\
2.11.
*) ;; # other 2.11 versions
10467 *) supports_anon_versioning
=yes ;;
10470 # See if GNU ld supports shared libraries.
10473 # On AIX/PPC, the GNU linker is very broken
10474 if test ia64
!= "$host_cpu"; then
10478 *** Warning: the GNU linker, at least up to release 2.19, is reported
10479 *** to be unable to reliably create shared libraries on AIX.
10480 *** Therefore, libtool is disabling shared libraries support. If you
10481 *** really care for shared libraries, you may want to install binutils
10482 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10483 *** You will then need to restart the configuration process.
10492 # see comment about AmigaOS4 .so support
10493 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10494 archive_expsym_cmds
=''
10497 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)'
10498 hardcode_libdir_flag_spec
='-L$libdir'
10499 hardcode_minus_L
=yes
10505 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10506 allow_undefined_flag
=unsupported
10507 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10508 # support --undefined. This deserves some investigation. FIXME
10509 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10515 cygwin
* | mingw
* | pw32
* | cegcc
*)
10516 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10517 # as there is no search path for DLLs.
10518 hardcode_libdir_flag_spec
='-L$libdir'
10519 export_dynamic_flag_spec
='$wl--export-all-symbols'
10520 allow_undefined_flag
=unsupported
10521 always_export_symbols
=no
10522 enable_shared_with_static_runtimes
=yes
10523 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'
10524 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10526 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10527 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10528 # If the export-symbols file already is a .def file, use it as
10529 # is; otherwise, prepend EXPORTS...
10530 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10531 cp $export_symbols $output_objdir/$soname.def;
10533 echo EXPORTS > $output_objdir/$soname.def;
10534 cat $export_symbols >> $output_objdir/$soname.def;
10536 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10543 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10544 link_all_deplibs
=yes
10548 hardcode_libdir_flag_spec
='-L$libdir'
10549 hardcode_minus_L
=yes
10550 allow_undefined_flag
=unsupported
10552 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10553 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10554 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10555 $ECHO EXPORTS >> $output_objdir/$libname.def~
10556 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10557 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10558 emximp -o $lib $output_objdir/$libname.def'
10559 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10560 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10561 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10562 $ECHO EXPORTS >> $output_objdir/$libname.def~
10563 prefix_cmds="$SED"~
10564 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10565 prefix_cmds="$prefix_cmds -e 1d";
10567 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10568 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10569 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10570 emximp -o $lib $output_objdir/$libname.def'
10571 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10572 enable_shared_with_static_runtimes
=yes
10577 hardcode_shlibpath_var
=no
10578 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10579 export_dynamic_flag_spec
='$wl-E'
10580 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10581 # Instead, shared libraries are loaded at an image base (0x10000000 by
10582 # default) and relocated if they conflict, which is a slow very memory
10583 # consuming and fragmenting process. To avoid this, we pick a random,
10584 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10585 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10586 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10587 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'
10590 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10592 if test linux-dietlibc
= "$host_os"; then
10593 case $cc_basename in
10594 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10597 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10598 && test no
= "$tmp_diet"
10600 tmp_addflag
=' $pic_flag'
10601 tmp_sharedflag
='-shared'
10602 case $cc_basename,$host_cpu in
10603 pgcc
*) # Portland Group C compiler
10604 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'
10605 tmp_addflag
=' $pic_flag'
10607 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10608 # Portland Group f77 and f90 compilers
10609 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'
10610 tmp_addflag
=' $pic_flag -Mnomain' ;;
10611 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10612 tmp_addflag
=' -i_dynamic' ;;
10613 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10614 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10615 ifc
* | ifort
*) # Intel Fortran compiler
10616 tmp_addflag
=' -nofor_main' ;;
10617 lf95
*) # Lahey Fortran 8.1
10618 whole_archive_flag_spec
=
10619 tmp_sharedflag
='--shared' ;;
10620 nagfor
*) # NAGFOR 5.3
10621 tmp_sharedflag
='-Wl,-shared' ;;
10622 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10623 tmp_sharedflag
='-qmkshrobj'
10625 nvcc
*) # Cuda Compiler Driver 2.2
10626 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'
10627 compiler_needs_object
=yes
10630 case `$CC -V 2>&1 | sed 5q` in
10631 *Sun\ C
*) # Sun C 5.9
10632 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'
10633 compiler_needs_object
=yes
10634 tmp_sharedflag
='-G' ;;
10635 *Sun\ F
*) # Sun Fortran 8.3
10636 tmp_sharedflag
='-G' ;;
10638 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10640 if test yes = "$supports_anon_versioning"; then
10641 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10642 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10643 echo "local: *; };" >> $output_objdir/$libname.ver~
10644 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10647 case $cc_basename in
10649 export_dynamic_flag_spec
='-rdynamic'
10651 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10652 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10653 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10654 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10655 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10656 if test yes = "$supports_anon_versioning"; then
10657 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10658 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10659 echo "local: *; };" >> $output_objdir/$libname.ver~
10660 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10670 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10671 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10674 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10675 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10680 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10684 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10685 *** create shared libraries on Solaris systems. Therefore, libtool
10686 *** is disabling shared libraries support. We urge you to upgrade GNU
10687 *** binutils to release 2.9.1 or newer. Another option is to modify
10688 *** your PATH or compiler configuration so that the native linker is
10689 *** used, and then restart.
10692 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10693 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10694 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10700 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10701 case `$LD -v 2>&1` in
10702 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10706 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10707 *** reliably create shared libraries on SCO systems. Therefore, libtool
10708 *** is disabling shared libraries support. We urge you to upgrade GNU
10709 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10710 *** your PATH or compiler configuration so that the native linker is
10711 *** used, and then restart.
10716 # For security reasons, it is highly recommended that you always
10717 # use absolute paths for naming shared libraries, and exclude the
10718 # DT_RUNPATH tag from executables and libraries. But doing so
10719 # requires that you compile everything twice, which is a pain.
10720 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10721 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10722 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10723 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10732 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10734 hardcode_direct
=yes
10735 hardcode_shlibpath_var
=no
10739 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10740 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10741 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10748 if test no
= "$ld_shlibs"; then
10750 hardcode_libdir_flag_spec
=
10751 export_dynamic_flag_spec
=
10752 whole_archive_flag_spec
=
10755 # PORTME fill in a description of your system's linker (not GNU ld)
10758 allow_undefined_flag
=unsupported
10759 always_export_symbols
=yes
10760 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'
10761 # Note: this linker hardcodes the directories in LIBPATH if there
10762 # are no directories specified by -L.
10763 hardcode_minus_L
=yes
10764 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10765 # Neither direct hardcoding nor static linking is supported with a
10767 hardcode_direct
=unsupported
10772 if test ia64
= "$host_cpu"; then
10773 # On IA64, the linker does run time linking by default, so we don't
10774 # have to do anything special.
10775 aix_use_runtimelinking
=no
10776 exp_sym_flag
='-Bexport'
10779 # If we're using GNU nm, then we don't want the "-C" option.
10780 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10781 # Without the "-l" option, or with the "-B" option, AIX nm treats
10782 # weak defined symbols like other global defined symbols, whereas
10783 # GNU nm marks them as "W".
10784 # While the 'weak' keyword is ignored in the Export File, we need
10785 # it in the Import File for the 'aix-soname' feature, so we have
10786 # to replace the "-B" option with "-P" for AIX nm.
10787 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10788 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'
10790 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 == "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'
10792 aix_use_runtimelinking
=no
10794 # Test if we are trying to use run time linking or normal
10795 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10796 # have runtime linking enabled, and use it for executables.
10797 # For shared libraries, we enable/disable runtime linking
10798 # depending on the kind of the shared library created -
10799 # when "with_aix_soname,aix_use_runtimelinking" is:
10800 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10801 # "aix,yes" lib.so shared, rtl:yes, for executables
10802 # lib.a static archive
10803 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10804 # lib.a(lib.so.V) shared, rtl:no, for executables
10805 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10806 # lib.a(lib.so.V) shared, rtl:no
10807 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10808 # lib.a static archive
10809 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10810 for ld_flag
in $LDFLAGS; do
10811 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
10812 aix_use_runtimelinking
=yes
10816 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10817 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10818 # so we don't have lib.a shared libs to link our executables.
10819 # We have to force runtime linking in this case.
10820 aix_use_runtimelinking
=yes
10821 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10826 exp_sym_flag
='-bexport'
10827 no_entry_flag
='-bnoentry'
10830 # When large executables or shared objects are built, AIX ld can
10831 # have problems creating the table of contents. If linking a library
10832 # or program results in "error TOC overflow" add -mminimal-toc to
10833 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10834 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10837 hardcode_direct
=yes
10838 hardcode_direct_absolute
=yes
10839 hardcode_libdir_separator
=':'
10840 link_all_deplibs
=yes
10841 file_list_spec
='$wl-f,'
10842 case $with_aix_soname,$aix_use_runtimelinking in
10843 aix
,*) ;; # traditional, no import file
10844 svr4
,* |
*,yes) # use import file
10845 # The Import File defines what to hardcode.
10847 hardcode_direct_absolute
=no
10851 if test yes = "$GCC"; then
10852 case $host_os in aix4.
[012]|aix4.
[012].
*)
10853 # We only want to do this on AIX 4.2 and lower, the check
10854 # below for broken collect2 doesn't work under 4.3+
10855 collect2name
=`$CC -print-prog-name=collect2`
10856 if test -f "$collect2name" &&
10857 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10859 # We have reworked collect2
10862 # We have old collect2
10863 hardcode_direct
=unsupported
10864 # It fails to find uninstalled libraries when the uninstalled
10865 # path is not listed in the libpath. Setting hardcode_minus_L
10866 # to unsupported forces relinking
10867 hardcode_minus_L
=yes
10868 hardcode_libdir_flag_spec
='-L$libdir'
10869 hardcode_libdir_separator
=
10873 shared_flag
='-shared'
10874 if test yes = "$aix_use_runtimelinking"; then
10875 shared_flag
="$shared_flag "'$wl-G'
10877 # Need to ensure runtime linking is disabled for the traditional
10878 # shared library, or the linker may eventually find shared libraries
10879 # /with/ Import File - we do not want to mix them.
10880 shared_flag_aix
='-shared'
10881 shared_flag_svr4
='-shared $wl-G'
10884 if test ia64
= "$host_cpu"; then
10885 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10886 # chokes on -Wl,-G. The following line is correct:
10889 if test yes = "$aix_use_runtimelinking"; then
10890 shared_flag
='$wl-G'
10892 shared_flag
='$wl-bM:SRE'
10894 shared_flag_aix
='$wl-bM:SRE'
10895 shared_flag_svr4
='$wl-G'
10899 export_dynamic_flag_spec
='$wl-bexpall'
10900 # It seems that -bexpall does not export symbols beginning with
10901 # underscore (_), so it is better to generate a list of symbols to export.
10902 always_export_symbols
=yes
10903 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10904 # Warning - without using the other runtime loading flags (-brtl),
10905 # -berok will link without error, but may produce a broken library.
10906 allow_undefined_flag
='-berok'
10907 # Determine the default libpath from the value encoded in an
10908 # empty executable.
10909 if test set = "${lt_cv_aix_libpath+set}"; then
10910 aix_libpath
=$lt_cv_aix_libpath
10912 if ${lt_cv_aix_libpath_+:} false
; then :
10913 $as_echo_n "(cached) " >&6
10915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10926 if ac_fn_c_try_link
"$LINENO"; then :
10928 lt_aix_libpath_sed
='
10929 /Import File Strings/,/^$/ {
10931 s/^0 *\([^ ]*\) *$/\1/
10935 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10936 # Check for a 64-bit object if we didn't find anything.
10937 if test -z "$lt_cv_aix_libpath_"; then
10938 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10941 rm -f core conftest.err conftest.
$ac_objext \
10942 conftest
$ac_exeext conftest.
$ac_ext
10943 if test -z "$lt_cv_aix_libpath_"; then
10944 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10949 aix_libpath
=$lt_cv_aix_libpath_
10952 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10953 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
10955 if test ia64
= "$host_cpu"; then
10956 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10957 allow_undefined_flag
="-z nodefs"
10958 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"
10960 # Determine the default libpath from the value encoded in an
10961 # empty executable.
10962 if test set = "${lt_cv_aix_libpath+set}"; then
10963 aix_libpath
=$lt_cv_aix_libpath
10965 if ${lt_cv_aix_libpath_+:} false
; then :
10966 $as_echo_n "(cached) " >&6
10968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10979 if ac_fn_c_try_link
"$LINENO"; then :
10981 lt_aix_libpath_sed
='
10982 /Import File Strings/,/^$/ {
10984 s/^0 *\([^ ]*\) *$/\1/
10988 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10989 # Check for a 64-bit object if we didn't find anything.
10990 if test -z "$lt_cv_aix_libpath_"; then
10991 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10994 rm -f core conftest.err conftest.
$ac_objext \
10995 conftest
$ac_exeext conftest.
$ac_ext
10996 if test -z "$lt_cv_aix_libpath_"; then
10997 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11002 aix_libpath
=$lt_cv_aix_libpath_
11005 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11006 # Warning - without using the other run time loading flags,
11007 # -berok will link without error, but may produce a broken library.
11008 no_undefined_flag
=' $wl-bernotok'
11009 allow_undefined_flag
=' $wl-berok'
11010 if test yes = "$with_gnu_ld"; then
11011 # We only use this code for GNU lds that support --whole-archive.
11012 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11014 # Exported symbols can be pulled into shared objects from archives
11015 whole_archive_flag_spec
='$convenience'
11017 archive_cmds_need_lc
=yes
11018 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11019 # -brtl affects multiple linker settings, -berok does not and is overridden later
11020 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11021 if test svr4
!= "$with_aix_soname"; then
11022 # This is similar to how AIX traditionally builds its shared libraries.
11023 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'
11025 if test aix
!= "$with_aix_soname"; then
11026 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'
11028 # used by -dlpreopen to get the symbols
11029 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11031 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11039 # see comment about AmigaOS4 .so support
11040 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11041 archive_expsym_cmds
=''
11044 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)'
11045 hardcode_libdir_flag_spec
='-L$libdir'
11046 hardcode_minus_L
=yes
11052 export_dynamic_flag_spec
=-rdynamic
11055 cygwin
* | mingw
* | pw32
* | cegcc
*)
11056 # When not using gcc, we currently assume that we are using
11057 # Microsoft Visual C++.
11058 # hardcode_libdir_flag_spec is actually meaningless, as there is
11059 # no search path for DLLs.
11060 case $cc_basename in
11063 hardcode_libdir_flag_spec
=' '
11064 allow_undefined_flag
=unsupported
11065 always_export_symbols
=yes
11067 # Tell ltmain to make .lib files, not .a files.
11069 # Tell ltmain to make .dll files, not .so files.
11071 # FIXME: Setting linknames here is a bad hack.
11072 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11073 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11074 cp "$export_symbols" "$output_objdir/$soname.def";
11075 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11077 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11079 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11081 # The linker will not automatically build a static lib if we build a DLL.
11082 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11083 enable_shared_with_static_runtimes
=yes
11084 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11085 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11087 old_postinstall_cmds
='chmod 644 $oldlib'
11088 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11089 lt_tool_outputfile="@TOOL_OUTPUT@"~
11090 case $lt_outputfile in
11093 lt_outputfile=$lt_outputfile.exe
11094 lt_tool_outputfile=$lt_tool_outputfile.exe
11097 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11098 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11099 $RM "$lt_outputfile.manifest";
11103 # Assume MSVC wrapper
11104 hardcode_libdir_flag_spec
=' '
11105 allow_undefined_flag
=unsupported
11106 # Tell ltmain to make .lib files, not .a files.
11108 # Tell ltmain to make .dll files, not .so files.
11110 # FIXME: Setting linknames here is a bad hack.
11111 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11112 # The linker will automatically build a .lib file if we build a DLL.
11113 old_archive_from_new_cmds
='true'
11114 # FIXME: Should let the user specify the lib program.
11115 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11116 enable_shared_with_static_runtimes
=yes
11121 darwin
* | rhapsody
*)
11124 archive_cmds_need_lc
=no
11126 hardcode_automatic
=yes
11127 hardcode_shlibpath_var
=unsupported
11128 if test yes = "$lt_cv_ld_force_load"; then
11129 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\"`'
11132 whole_archive_flag_spec
=''
11134 link_all_deplibs
=yes
11135 allow_undefined_flag
=$_lt_dar_allow_undefined
11136 case $cc_basename in
11137 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11138 *) _lt_dar_can_shared
=$GCC ;;
11140 if test yes = "$_lt_dar_can_shared"; then
11141 output_verbose_link_cmd
=func_echo_all
11142 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11143 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11144 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"
11145 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"
11154 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11155 hardcode_libdir_flag_spec
='-L$libdir'
11156 hardcode_shlibpath_var
=no
11159 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11160 # support. Future versions do this automatically, but an explicit c++rt0.o
11161 # does not break anything, and helps significantly (at the cost of a little
11164 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11165 hardcode_libdir_flag_spec
='-R$libdir'
11166 hardcode_direct
=yes
11167 hardcode_shlibpath_var
=no
11170 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11172 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11173 hardcode_direct
=yes
11174 hardcode_minus_L
=yes
11175 hardcode_shlibpath_var
=no
11178 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11179 freebsd
* | dragonfly
*)
11180 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11181 hardcode_libdir_flag_spec
='-R$libdir'
11182 hardcode_direct
=yes
11183 hardcode_shlibpath_var
=no
11187 if test yes = "$GCC"; then
11188 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'
11190 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'
11192 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11193 hardcode_libdir_separator
=:
11194 hardcode_direct
=yes
11196 # hardcode_minus_L: Not really in the search PATH,
11197 # but as the default location of the library.
11198 hardcode_minus_L
=yes
11199 export_dynamic_flag_spec
='$wl-E'
11203 if test yes,no
= "$GCC,$with_gnu_ld"; then
11204 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11206 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11208 if test no
= "$with_gnu_ld"; then
11209 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11210 hardcode_libdir_separator
=:
11211 hardcode_direct
=yes
11212 hardcode_direct_absolute
=yes
11213 export_dynamic_flag_spec
='$wl-E'
11214 # hardcode_minus_L: Not really in the search PATH,
11215 # but as the default location of the library.
11216 hardcode_minus_L
=yes
11221 if test yes,no
= "$GCC,$with_gnu_ld"; then
11224 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11227 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11230 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11236 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11239 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11243 # Older versions of the 11.00 compiler do not understand -b yet
11244 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11246 $as_echo_n "checking if $CC understands -b... " >&6; }
11247 if ${lt_cv_prog_compiler__b+:} false
; then :
11248 $as_echo_n "(cached) " >&6
11250 lt_cv_prog_compiler__b
=no
11251 save_LDFLAGS
=$LDFLAGS
11252 LDFLAGS
="$LDFLAGS -b"
11253 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11254 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11255 # The linker can only warn and ignore the option if not recognized
11256 # So say no if there are warnings
11257 if test -s conftest.err
; then
11258 # Append any errors to the config.log.
11259 cat conftest.err
1>&5
11260 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11261 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11262 if diff conftest.exp conftest.er2
>/dev
/null
; then
11263 lt_cv_prog_compiler__b
=yes
11266 lt_cv_prog_compiler__b
=yes
11270 LDFLAGS
=$save_LDFLAGS
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11274 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11276 if test yes = "$lt_cv_prog_compiler__b"; then
11277 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11279 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11285 if test no
= "$with_gnu_ld"; then
11286 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11287 hardcode_libdir_separator
=:
11292 hardcode_shlibpath_var
=no
11295 hardcode_direct
=yes
11296 hardcode_direct_absolute
=yes
11297 export_dynamic_flag_spec
='$wl-E'
11299 # hardcode_minus_L: Not really in the search PATH,
11300 # but as the default location of the library.
11301 hardcode_minus_L
=yes
11307 irix5
* | irix6
* | nonstopux
*)
11308 if test yes = "$GCC"; then
11309 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'
11310 # Try to use the -exported_symbol ld option, if it does not
11311 # work, assume that -exports_file does not work either and
11312 # implicitly export all symbols.
11313 # This should be the same for all languages, so no per-tag cache variable.
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11315 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11316 if ${lt_cv_irix_exported_symbol+:} false
; then :
11317 $as_echo_n "(cached) " >&6
11319 save_LDFLAGS
=$LDFLAGS
11320 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11323 int foo (void) { return 0; }
11325 if ac_fn_c_try_link
"$LINENO"; then :
11326 lt_cv_irix_exported_symbol
=yes
11328 lt_cv_irix_exported_symbol
=no
11330 rm -f core conftest.err conftest.
$ac_objext \
11331 conftest
$ac_exeext conftest.
$ac_ext
11332 LDFLAGS
=$save_LDFLAGS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11335 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11336 if test yes = "$lt_cv_irix_exported_symbol"; then
11337 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'
11340 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'
11341 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'
11343 archive_cmds_need_lc
='no'
11344 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11345 hardcode_libdir_separator
=:
11347 link_all_deplibs
=yes
11351 case $cc_basename in
11353 # Fabrice Bellard et al's Tiny C Compiler
11355 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11361 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11362 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11364 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11366 hardcode_libdir_flag_spec
='-R$libdir'
11367 hardcode_direct
=yes
11368 hardcode_shlibpath_var
=no
11372 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11373 hardcode_direct
=yes
11374 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11375 hardcode_libdir_separator
=:
11376 hardcode_shlibpath_var
=no
11382 openbsd
* | bitrig
*)
11383 if test -f /usr
/libexec
/ld.so
; then
11384 hardcode_direct
=yes
11385 hardcode_shlibpath_var
=no
11386 hardcode_direct_absolute
=yes
11387 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11388 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11389 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11390 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11391 export_dynamic_flag_spec
='$wl-E'
11393 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11394 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11402 hardcode_libdir_flag_spec
='-L$libdir'
11403 hardcode_minus_L
=yes
11404 allow_undefined_flag
=unsupported
11406 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11407 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11408 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11409 $ECHO EXPORTS >> $output_objdir/$libname.def~
11410 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11411 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11412 emximp -o $lib $output_objdir/$libname.def'
11413 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11414 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11415 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11416 $ECHO EXPORTS >> $output_objdir/$libname.def~
11417 prefix_cmds="$SED"~
11418 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11419 prefix_cmds="$prefix_cmds -e 1d";
11421 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11422 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11423 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11424 emximp -o $lib $output_objdir/$libname.def'
11425 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11426 enable_shared_with_static_runtimes
=yes
11430 if test yes = "$GCC"; then
11431 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11432 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'
11434 allow_undefined_flag
=' -expect_unresolved \*'
11435 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'
11437 archive_cmds_need_lc
='no'
11438 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11439 hardcode_libdir_separator
=:
11442 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11443 if test yes = "$GCC"; then
11444 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11445 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'
11446 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11448 allow_undefined_flag
=' -expect_unresolved \*'
11449 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'
11450 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~
11451 $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'
11453 # Both c and cxx compiler support -rpath directly
11454 hardcode_libdir_flag_spec
='-rpath $libdir'
11456 archive_cmds_need_lc
='no'
11457 hardcode_libdir_separator
=:
11461 no_undefined_flag
=' -z defs'
11462 if test yes = "$GCC"; then
11464 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11465 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11466 $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'
11468 case `$CC -V 2>&1` in
11471 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11472 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11473 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11477 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11478 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11479 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11483 hardcode_libdir_flag_spec
='-R$libdir'
11484 hardcode_shlibpath_var
=no
11486 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11488 # The compiler driver will combine and reorder linker options,
11489 # but understands '-z linker_flag'. GCC discards it without '$wl',
11490 # but is careful enough not to reorder.
11491 # Supported since Solaris 2.6 (maybe 2.5.1?)
11492 if test yes = "$GCC"; then
11493 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11495 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11499 link_all_deplibs
=yes
11503 if test sequent
= "$host_vendor"; then
11504 # Use $CC to link under sequent, because it throws in some extra .o
11505 # files that make .init and .fini sections work.
11506 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11508 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11510 hardcode_libdir_flag_spec
='-L$libdir'
11511 hardcode_direct
=yes
11512 hardcode_minus_L
=yes
11513 hardcode_shlibpath_var
=no
11517 case $host_vendor in
11519 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11520 hardcode_direct
=yes # is this really true???
11523 ## LD is ld it makes a PLAMLIB
11524 ## CC just makes a GrossModule.
11525 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11526 reload_cmds
='$CC -r -o $output$reload_objs'
11530 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11531 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11534 runpath_var
='LD_RUN_PATH'
11535 hardcode_shlibpath_var
=no
11539 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11540 hardcode_shlibpath_var
=no
11541 export_dynamic_flag_spec
='-Bexport'
11545 if test -d /usr
/nec
; then
11546 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11547 hardcode_shlibpath_var
=no
11548 runpath_var
=LD_RUN_PATH
11549 hardcode_runpath_var
=yes
11554 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11555 no_undefined_flag
='$wl-z,text'
11556 archive_cmds_need_lc
=no
11557 hardcode_shlibpath_var
=no
11558 runpath_var
='LD_RUN_PATH'
11560 if test yes = "$GCC"; then
11561 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11562 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11564 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11565 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11569 sysv5
* | sco3.2v5
* | sco5v6
*)
11570 # Note: We CANNOT use -z defs as we might desire, because we do not
11571 # link with -lc, and that would cause any symbols used from libc to
11572 # always be unresolved, which means just about no library would
11573 # ever link correctly. If we're not using GNU ld we use -z text
11574 # though, which does catch some bad symbols but isn't as heavy-handed
11576 no_undefined_flag
='$wl-z,text'
11577 allow_undefined_flag
='$wl-z,nodefs'
11578 archive_cmds_need_lc
=no
11579 hardcode_shlibpath_var
=no
11580 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11581 hardcode_libdir_separator
=':'
11582 link_all_deplibs
=yes
11583 export_dynamic_flag_spec
='$wl-Bexport'
11584 runpath_var
='LD_RUN_PATH'
11586 if test yes = "$GCC"; then
11587 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11588 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11590 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11591 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11596 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11597 hardcode_libdir_flag_spec
='-L$libdir'
11598 hardcode_shlibpath_var
=no
11606 if test sni
= "$host_vendor"; then
11608 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11609 export_dynamic_flag_spec
='$wl-Blargedynsym'
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11616 $as_echo "$ld_shlibs" >&6; }
11617 test no
= "$ld_shlibs" && can_build_shared
=no
11619 with_gnu_ld
=$with_gnu_ld
11636 # Do we need to explicitly link libc?
11638 case "x$archive_cmds_need_lc" in
11640 # Assume -lc should be added
11641 archive_cmds_need_lc
=yes
11643 if test yes,yes = "$GCC,$enable_shared"; then
11644 case $archive_cmds in
11646 # FIXME: we may have to deal with multi-command sequences.
11649 # Test whether the compiler implicitly links with -lc since on some
11650 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11651 # to ld, don't add -lc before -lgcc.
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11653 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11654 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11655 $as_echo_n "(cached) " >&6
11658 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11661 (eval $ac_compile) 2>&5
11663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11664 test $ac_status = 0; } 2>conftest.err
; then
11667 libobjs
=conftest.
$ac_objext
11669 wl
=$lt_prog_compiler_wl
11670 pic_flag
=$lt_prog_compiler_pic
11676 lt_save_allow_undefined_flag
=$allow_undefined_flag
11677 allow_undefined_flag
=
11678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11679 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11682 test $ac_status = 0; }
11684 lt_cv_archive_cmds_need_lc
=no
11686 lt_cv_archive_cmds_need_lc
=yes
11688 allow_undefined_flag
=$lt_save_allow_undefined_flag
11690 cat conftest.err
1>&5
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11696 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11697 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11856 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11858 if test yes = "$GCC"; then
11860 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11861 *) lt_awk_arg
='/^libraries:/' ;;
11864 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11865 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11867 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11868 case $lt_search_path_spec in
11870 # if the path contains ";" then we assume it to be the separator
11871 # otherwise default to the standard path separator (i.e. ":") - it is
11872 # assumed that no part of a normal pathname contains ";" but that should
11873 # okay in the real world where ";" in dirpaths is itself problematic.
11874 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11877 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11880 # Ok, now we have the path, separated by spaces, we can step through it
11881 # and add multilib dir if necessary...
11882 lt_tmp_lt_search_path_spec
=
11883 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11884 # ...but if some path component already ends with the multilib dir we assume
11885 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11886 case "$lt_multi_os_dir; $lt_search_path_spec " in
11887 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
11891 for lt_sys_path
in $lt_search_path_spec; do
11892 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11893 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11894 elif test -n "$lt_multi_os_dir"; then
11895 test -d "$lt_sys_path" && \
11896 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11899 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11900 BEGIN {RS = " "; FS = "/|\n";} {
11903 for (lt_i = NF; lt_i > 0; lt_i--) {
11904 if ($lt_i != "" && $lt_i != ".") {
11905 if ($lt_i == "..") {
11908 if (lt_count == 0) {
11909 lt_foo = "/" $lt_i lt_foo;
11916 if (lt_foo != "") { lt_freq[lt_foo]++; }
11917 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11919 # AWK program above erroneously prepends '/' to C:/dos/paths
11922 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11923 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11925 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11927 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11929 library_names_spec
=
11930 libname_spec
='lib$name'
11934 postuninstall_cmds
=
11938 shlibpath_overrides_runpath
=unknown
11940 dynamic_linker
="$host_os ld.so"
11941 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11942 need_lib_prefix
=unknown
11943 hardcode_into_libs
=no
11945 # when you set need_version to no, make sure it does not cause -set_version
11946 # flags to be left without arguments
11947 need_version
=unknown
11953 version_type
=linux
# correct to gnu/linux during the next big refactor
11954 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11955 shlibpath_var
=LIBPATH
11957 # AIX 3 has no versioning support, so we append a major version to the name.
11958 soname_spec
='$libname$release$shared_ext$major'
11962 version_type
=linux
# correct to gnu/linux during the next big refactor
11965 hardcode_into_libs
=yes
11966 if test ia64
= "$host_cpu"; then
11967 # AIX 5 supports IA64
11968 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11969 shlibpath_var
=LD_LIBRARY_PATH
11971 # With GCC up to 2.95.x, collect2 would create an import file
11972 # for dependence libraries. The import file would start with
11973 # the line '#! .'. This would cause the generated library to
11974 # depend on '.', always an invalid library. This was fixed in
11975 # development snapshots of GCC prior to 3.0.
11977 aix4 | aix4.
[01] | aix4.
[01].
*)
11978 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11980 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
11983 can_build_shared
=no
11987 # Using Import Files as archive members, it is possible to support
11988 # filename-based versioning of shared library archives on AIX. While
11989 # this would work for both with and without runtime linking, it will
11990 # prevent static linking of such archives. So we do filename-based
11991 # shared library versioning with .so extension only, which is used
11992 # when both runtime linking and shared linking is enabled.
11993 # Unfortunately, runtime linking may impact performance, so we do
11994 # not want this to be the default eventually. Also, we use the
11995 # versioned .so libs for executables only if there is the -brtl
11996 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11997 # To allow for filename-based versioning support, we need to create
11998 # libNAME.so.V as an archive file, containing:
11999 # *) an Import File, referring to the versioned filename of the
12000 # archive as well as the shared archive member, telling the
12001 # bitwidth (32 or 64) of that shared object, and providing the
12002 # list of exported symbols of that shared object, eventually
12003 # decorated with the 'weak' keyword
12004 # *) the shared object with the F_LOADONLY flag set, to really avoid
12005 # it being seen by the linker.
12006 # At run time we better use the real file rather than another symlink,
12007 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12009 case $with_aix_soname,$aix_use_runtimelinking in
12010 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12011 # soname into executable. Probably we can add versioning support to
12012 # collect2, so additional links can be useful in future.
12013 aix
,yes) # traditional libtool
12014 dynamic_linker
='AIX unversionable lib.so'
12015 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12016 # instead of lib<name>.a to let people know that these are not
12017 # typical AIX shared libraries.
12018 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12020 aix
,no
) # traditional AIX only
12021 dynamic_linker
='AIX lib.a(lib.so.V)'
12022 # We preserve .a as extension for shared libraries through AIX4.2
12023 # and later when we are not doing run time linking.
12024 library_names_spec
='$libname$release.a $libname.a'
12025 soname_spec
='$libname$release$shared_ext$major'
12027 svr4
,*) # full svr4 only
12028 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12029 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12030 # We do not specify a path in Import Files, so LIBPATH fires.
12031 shlibpath_overrides_runpath
=yes
12033 *,yes) # both, prefer svr4
12034 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12035 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12036 # unpreferred sharedlib libNAME.a needs extra handling
12037 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"'
12038 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"'
12039 # We do not specify a path in Import Files, so LIBPATH fires.
12040 shlibpath_overrides_runpath
=yes
12042 *,no
) # both, prefer aix
12043 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12044 library_names_spec
='$libname$release.a $libname.a'
12045 soname_spec
='$libname$release$shared_ext$major'
12046 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12047 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)'
12048 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"'
12051 shlibpath_var
=LIBPATH
12058 # Since July 2007 AmigaOS4 officially supports .so libraries.
12059 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12060 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12063 library_names_spec
='$libname.ixlibrary $libname.a'
12064 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12065 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'
12071 library_names_spec
='$libname$shared_ext'
12072 dynamic_linker
="$host_os ld.so"
12073 shlibpath_var
=LIBRARY_PATH
12077 version_type
=linux
# correct to gnu/linux during the next big refactor
12079 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12080 soname_spec
='$libname$release$shared_ext$major'
12081 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12082 shlibpath_var
=LD_LIBRARY_PATH
12083 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12084 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12085 # the default ld.so.conf also contains /usr/contrib/lib and
12086 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12087 # libtool to hard-code these into programs
12090 cygwin
* | mingw
* | pw32
* | cegcc
*)
12091 version_type
=windows
12096 case $GCC,$cc_basename in
12099 library_names_spec
='$libname.dll.a'
12100 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12101 postinstall_cmds
='base_file=`basename \$file`~
12102 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12103 dldir=$destdir/`dirname \$dlpath`~
12104 test -d \$dldir || mkdir -p \$dldir~
12105 $install_prog $dir/$dlname \$dldir/$dlname~
12106 chmod a+x \$dldir/$dlname~
12107 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12108 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12110 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12111 dlpath=$dir/\$dldll~
12113 shlibpath_overrides_runpath
=yes
12117 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12118 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12120 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12123 # MinGW DLLs use traditional 'lib' prefix
12124 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12127 # pw32 DLLs use 'pw' prefix rather than 'lib'
12128 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12131 dynamic_linker
='Win32 ld.exe'
12136 libname_spec
='$name'
12137 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12138 library_names_spec
='$libname.dll.lib'
12142 sys_lib_search_path_spec
=
12145 for lt_path
in $LIB
12148 # Let DOS variable expansion print the short 8.3 style file name.
12149 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12150 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12153 # Convert to MSYS style.
12154 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12157 # Convert to unix form, then to dos form, then back to unix form
12158 # but this time dos style (no spaces!) so that the unix form looks
12159 # like /cygdrive/c/PROGRA~1:/cygdr...
12160 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12161 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12162 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12165 sys_lib_search_path_spec
=$LIB
12166 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12167 # It is most probably a Windows format PATH.
12168 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12170 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12172 # FIXME: find the short name or the path components, as spaces are
12173 # common. (e.g. "Program Files" -> "PROGRA~1")
12177 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12178 postinstall_cmds
='base_file=`basename \$file`~
12179 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12180 dldir=$destdir/`dirname \$dlpath`~
12181 test -d \$dldir || mkdir -p \$dldir~
12182 $install_prog $dir/$dlname \$dldir/$dlname'
12183 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12184 dlpath=$dir/\$dldll~
12186 shlibpath_overrides_runpath
=yes
12187 dynamic_linker
='Win32 link.exe'
12191 # Assume MSVC wrapper
12192 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12193 dynamic_linker
='Win32 ld.exe'
12196 # FIXME: first we should search . and the directory the executable is in
12200 darwin
* | rhapsody
*)
12201 dynamic_linker
="$host_os dyld"
12202 version_type
=darwin
12205 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12206 soname_spec
='$libname$release$major$shared_ext'
12207 shlibpath_overrides_runpath
=yes
12208 shlibpath_var
=DYLD_LIBRARY_PATH
12209 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12211 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12212 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12216 version_type
=linux
# correct to gnu/linux during the next big refactor
12219 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12220 soname_spec
='$libname$release$shared_ext$major'
12221 shlibpath_var
=LD_LIBRARY_PATH
12224 freebsd
* | dragonfly
*)
12225 # DragonFly does not have aout. When/if they implement a new
12226 # versioning mechanism, adjust this.
12227 if test -x /usr
/bin
/objformat
; then
12228 objformat
=`/usr/bin/objformat`
12231 freebsd
[23].
*) objformat
=aout
;;
12232 *) objformat
=elf
;;
12235 version_type
=freebsd-
$objformat
12236 case $version_type in
12238 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12239 soname_spec
='$libname$release$shared_ext$major'
12244 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12248 shlibpath_var
=LD_LIBRARY_PATH
12251 shlibpath_overrides_runpath
=yes
12253 freebsd3.
[01]* | freebsdelf3.
[01]*)
12254 shlibpath_overrides_runpath
=yes
12255 hardcode_into_libs
=yes
12257 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12258 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12259 shlibpath_overrides_runpath
=no
12260 hardcode_into_libs
=yes
12262 *) # from 4.6 on, and DragonFly
12263 shlibpath_overrides_runpath
=yes
12264 hardcode_into_libs
=yes
12270 version_type
=linux
# correct to gnu/linux during the next big refactor
12273 dynamic_linker
="$host_os runtime_loader"
12274 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12275 soname_spec
='$libname$release$shared_ext$major'
12276 shlibpath_var
=LIBRARY_PATH
12277 shlibpath_overrides_runpath
=no
12278 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12279 hardcode_into_libs
=yes
12282 hpux9
* | hpux10
* | hpux11
*)
12283 # Give a soname corresponding to the major version so that dld.sl refuses to
12284 # link against other versions.
12291 hardcode_into_libs
=yes
12292 dynamic_linker
="$host_os dld.so"
12293 shlibpath_var
=LD_LIBRARY_PATH
12294 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12295 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12296 soname_spec
='$libname$release$shared_ext$major'
12297 if test 32 = "$HPUX_IA64_MODE"; then
12298 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12299 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12301 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12302 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12307 hardcode_into_libs
=yes
12308 dynamic_linker
="$host_os dld.sl"
12309 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12310 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12311 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12312 soname_spec
='$libname$release$shared_ext$major'
12313 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12314 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12318 dynamic_linker
="$host_os dld.sl"
12319 shlibpath_var
=SHLIB_PATH
12320 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12321 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12322 soname_spec
='$libname$release$shared_ext$major'
12325 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12326 postinstall_cmds
='chmod 555 $lib'
12327 # or fails outright, so override atomically:
12328 install_override_mode
=555
12332 version_type
=linux
# correct to gnu/linux during the next big refactor
12335 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12336 soname_spec
='$libname$release$shared_ext$major'
12337 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12338 shlibpath_var
=LD_LIBRARY_PATH
12339 shlibpath_overrides_runpath
=no
12340 hardcode_into_libs
=yes
12343 irix5
* | irix6
* | nonstopux
*)
12345 nonstopux
*) version_type
=nonstopux
;;
12347 if test yes = "$lt_cv_prog_gnu_ld"; then
12348 version_type
=linux
# correct to gnu/linux during the next big refactor
12355 soname_spec
='$libname$release$shared_ext$major'
12356 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12358 irix5
* | nonstopux
*)
12359 libsuff
= shlibsuff
=
12362 case $LD in # libtool.m4 will add one of these switches to LD
12363 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12364 libsuff
= shlibsuff
= libmagic
=32-bit;;
12365 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12366 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12367 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12368 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12369 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12373 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12374 shlibpath_overrides_runpath
=no
12375 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12376 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12377 hardcode_into_libs
=yes
12380 # No shared lib support for Linux oldld, aout, or coff.
12381 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12386 version_type
=none
# Android doesn't support versioned libraries.
12389 library_names_spec
='$libname$release$shared_ext'
12390 soname_spec
='$libname$release$shared_ext'
12392 shlibpath_var
=LD_LIBRARY_PATH
12393 shlibpath_overrides_runpath
=yes
12395 # This implies no fast_install, which is unacceptable.
12396 # Some rework will be needed to allow for fast_install
12397 # before this can be enabled.
12398 hardcode_into_libs
=yes
12400 dynamic_linker
='Android linker'
12401 # Don't embed -rpath directories since the linker doesn't support them.
12402 hardcode_libdir_flag_spec
='-L$libdir'
12405 # This must be glibc/ELF.
12406 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12407 version_type
=linux
# correct to gnu/linux during the next big refactor
12410 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12411 soname_spec
='$libname$release$shared_ext$major'
12412 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12413 shlibpath_var
=LD_LIBRARY_PATH
12414 shlibpath_overrides_runpath
=no
12416 # Some binutils ld are patched to set DT_RUNPATH
12417 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12418 $as_echo_n "(cached) " >&6
12420 lt_cv_shlibpath_overrides_runpath
=no
12421 save_LDFLAGS
=$LDFLAGS
12422 save_libdir
=$libdir
12423 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12424 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12436 if ac_fn_c_try_link
"$LINENO"; then :
12437 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12438 lt_cv_shlibpath_overrides_runpath
=yes
12441 rm -f core conftest.err conftest.
$ac_objext \
12442 conftest
$ac_exeext conftest.
$ac_ext
12443 LDFLAGS
=$save_LDFLAGS
12444 libdir
=$save_libdir
12448 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12450 # This implies no fast_install, which is unacceptable.
12451 # Some rework will be needed to allow for fast_install
12452 # before this can be enabled.
12453 hardcode_into_libs
=yes
12455 # Ideally, we could use ldconfig to report *all* directores which are
12456 # searched for libraries, however this is still not possible. Aside from not
12457 # being certain /sbin/ldconfig is available, command
12458 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12459 # even though it is searched at run-time. Try to do the best guess by
12460 # appending ld.so.conf contents (and includes) to the search path.
12461 if test -f /etc
/ld.so.conf
; then
12462 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' ' '`
12463 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12466 # We used to test for /lib/ld.so.1 and disable shared libraries on
12467 # powerpc, because MkLinux only supported shared libraries with the
12468 # GNU dynamic linker. Since this was broken with cross compilers,
12469 # most powerpc-linux boxes support dynamic linking these days and
12470 # people can always --disable-shared, the test was removed, and we
12471 # assume the GNU/Linux dynamic linker is in use.
12472 dynamic_linker
='GNU/Linux ld.so'
12479 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12480 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12481 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12482 dynamic_linker
='NetBSD (a.out) ld.so'
12484 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12485 soname_spec
='$libname$release$shared_ext$major'
12486 dynamic_linker
='NetBSD ld.elf_so'
12488 shlibpath_var
=LD_LIBRARY_PATH
12489 shlibpath_overrides_runpath
=yes
12490 hardcode_into_libs
=yes
12494 version_type
=linux
# correct to gnu/linux during the next big refactor
12495 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12496 shlibpath_var
=LD_LIBRARY_PATH
12497 shlibpath_overrides_runpath
=yes
12504 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12505 soname_spec
='$libname$release$shared_ext$major'
12506 shlibpath_var
=LD_LIBRARY_PATH
12507 shlibpath_overrides_runpath
=no
12508 hardcode_into_libs
=yes
12509 dynamic_linker
='ldqnx.so'
12512 openbsd
* | bitrig
*)
12514 sys_lib_dlsearch_path_spec
=/usr
/lib
12516 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12521 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12522 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12523 shlibpath_var
=LD_LIBRARY_PATH
12524 shlibpath_overrides_runpath
=yes
12528 libname_spec
='$name'
12529 version_type
=windows
12533 # OS/2 can only load a DLL with a base name of 8 characters or less.
12534 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12535 v=$($ECHO $release$versuffix | tr -d .-);
12536 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12537 $ECHO $n$v`$shared_ext'
12538 library_names_spec
='${libname}_dll.$libext'
12539 dynamic_linker
='OS/2 ld.exe'
12540 shlibpath_var
=BEGINLIBPATH
12541 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12542 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12543 postinstall_cmds
='base_file=`basename \$file`~
12544 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12545 dldir=$destdir/`dirname \$dlpath`~
12546 test -d \$dldir || mkdir -p \$dldir~
12547 $install_prog $dir/$dlname \$dldir/$dlname~
12548 chmod a+x \$dldir/$dlname~
12549 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12550 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12552 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12553 dlpath=$dir/\$dldll~
12557 osf3
* | osf4
* | osf5
*)
12561 soname_spec
='$libname$release$shared_ext$major'
12562 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12563 shlibpath_var
=LD_LIBRARY_PATH
12564 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12565 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12573 version_type
=linux
# correct to gnu/linux during the next big refactor
12576 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12577 soname_spec
='$libname$release$shared_ext$major'
12578 shlibpath_var
=LD_LIBRARY_PATH
12579 shlibpath_overrides_runpath
=yes
12580 hardcode_into_libs
=yes
12581 # ldd complains unless libraries are executable
12582 postinstall_cmds
='chmod +x $lib'
12587 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12588 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12589 shlibpath_var
=LD_LIBRARY_PATH
12590 shlibpath_overrides_runpath
=yes
12591 if test yes = "$with_gnu_ld"; then
12598 version_type
=linux
# correct to gnu/linux during the next big refactor
12599 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12600 soname_spec
='$libname$release$shared_ext$major'
12601 shlibpath_var
=LD_LIBRARY_PATH
12602 case $host_vendor in
12604 shlibpath_overrides_runpath
=no
12606 runpath_var
=LD_RUN_PATH
12614 shlibpath_overrides_runpath
=no
12615 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12621 if test -d /usr
/nec
; then
12622 version_type
=linux
# correct to gnu/linux during the next big refactor
12623 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12624 soname_spec
='$libname$shared_ext.$major'
12625 shlibpath_var
=LD_LIBRARY_PATH
12629 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12633 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12634 soname_spec
='$libname$release$shared_ext$major'
12635 shlibpath_var
=LD_LIBRARY_PATH
12636 shlibpath_overrides_runpath
=yes
12637 hardcode_into_libs
=yes
12638 if test yes = "$with_gnu_ld"; then
12639 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12641 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12644 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12648 sys_lib_dlsearch_path_spec
='/usr/lib'
12652 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12653 version_type
=linux
# correct to gnu/linux during the next big refactor
12656 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12657 shlibpath_var
=LD_LIBRARY_PATH
12658 shlibpath_overrides_runpath
=no
12659 hardcode_into_libs
=yes
12663 version_type
=linux
# correct to gnu/linux during the next big refactor
12664 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12665 soname_spec
='$libname$release$shared_ext$major'
12666 shlibpath_var
=LD_LIBRARY_PATH
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12674 $as_echo "$dynamic_linker" >&6; }
12675 test no
= "$dynamic_linker" && can_build_shared
=no
12677 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12678 if test yes = "$GCC"; then
12679 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12682 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12683 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12686 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12687 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12690 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12691 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12693 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12694 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12696 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12697 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12796 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12798 if test -n "$hardcode_libdir_flag_spec" ||
12799 test -n "$runpath_var" ||
12800 test yes = "$hardcode_automatic"; then
12802 # We can hardcode non-existent directories.
12803 if test no
!= "$hardcode_direct" &&
12804 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12805 # have to relink, otherwise we might link with an installed library
12806 # when we should be linking with a yet-to-be-installed one
12807 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12808 test no
!= "$hardcode_minus_L"; then
12809 # Linking always hardcodes the temporary library directory.
12810 hardcode_action
=relink
12812 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12813 hardcode_action
=immediate
12816 # We cannot hardcode anything, or else we can only hardcode existing
12818 hardcode_action
=unsupported
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12821 $as_echo "$hardcode_action" >&6; }
12823 if test relink
= "$hardcode_action" ||
12824 test yes = "$inherit_rpath"; then
12825 # Fast installation is not supported
12826 enable_fast_install
=no
12827 elif test yes = "$shlibpath_overrides_runpath" ||
12828 test no
= "$enable_shared"; then
12829 # Fast installation is not necessary
12830 enable_fast_install
=needless
12838 if test yes != "$enable_dlopen"; then
12839 enable_dlopen
=unknown
12840 enable_dlopen_self
=unknown
12841 enable_dlopen_self_static
=unknown
12848 lt_cv_dlopen
=load_add_on
12850 lt_cv_dlopen_self
=yes
12853 mingw
* | pw32
* | cegcc
*)
12854 lt_cv_dlopen
=LoadLibrary
12859 lt_cv_dlopen
=dlopen
12864 # if libdl is installed we need to link against it
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12866 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12867 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12868 $as_echo_n "(cached) " >&6
12870 ac_check_lib_save_LIBS
=$LIBS
12872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12875 /* Override any GCC internal prototype to avoid an error.
12876 Use char because int might match the return type of a GCC
12877 builtin and then its argument prototype would still apply. */
12890 if ac_fn_c_try_link
"$LINENO"; then :
12891 ac_cv_lib_dl_dlopen
=yes
12893 ac_cv_lib_dl_dlopen
=no
12895 rm -f core conftest.err conftest.
$ac_objext \
12896 conftest
$ac_exeext conftest.
$ac_ext
12897 LIBS
=$ac_check_lib_save_LIBS
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12900 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12901 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12902 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12907 lt_cv_dlopen_self
=yes
12914 # Don't try to run any link tests for TPF. We know it's impossible
12915 # because TPF is a cross-compiler, and we know how we open DSOs.
12916 lt_cv_dlopen
=dlopen
12918 lt_cv_dlopen_self
=no
12922 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12923 if test "x$ac_cv_func_shl_load" = xyes
; then :
12924 lt_cv_dlopen
=shl_load
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12927 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12928 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12929 $as_echo_n "(cached) " >&6
12931 ac_check_lib_save_LIBS
=$LIBS
12933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12936 /* Override any GCC internal prototype to avoid an error.
12937 Use char because int might match the return type of a GCC
12938 builtin and then its argument prototype would still apply. */
12946 return shl_load ();
12951 if ac_fn_c_try_link
"$LINENO"; then :
12952 ac_cv_lib_dld_shl_load
=yes
12954 ac_cv_lib_dld_shl_load
=no
12956 rm -f core conftest.err conftest.
$ac_objext \
12957 conftest
$ac_exeext conftest.
$ac_ext
12958 LIBS
=$ac_check_lib_save_LIBS
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12961 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12962 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12963 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12965 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12966 if test "x$ac_cv_func_dlopen" = xyes
; then :
12967 lt_cv_dlopen
=dlopen
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12970 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12971 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12972 $as_echo_n "(cached) " >&6
12974 ac_check_lib_save_LIBS
=$LIBS
12976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12979 /* Override any GCC internal prototype to avoid an error.
12980 Use char because int might match the return type of a GCC
12981 builtin and then its argument prototype would still apply. */
12994 if ac_fn_c_try_link
"$LINENO"; then :
12995 ac_cv_lib_dl_dlopen
=yes
12997 ac_cv_lib_dl_dlopen
=no
12999 rm -f core conftest.err conftest.
$ac_objext \
13000 conftest
$ac_exeext conftest.
$ac_ext
13001 LIBS
=$ac_check_lib_save_LIBS
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13004 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13005 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13006 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13009 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13010 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13011 $as_echo_n "(cached) " >&6
13013 ac_check_lib_save_LIBS
=$LIBS
13014 LIBS
="-lsvld $LIBS"
13015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13018 /* Override any GCC internal prototype to avoid an error.
13019 Use char because int might match the return type of a GCC
13020 builtin and then its argument prototype would still apply. */
13033 if ac_fn_c_try_link
"$LINENO"; then :
13034 ac_cv_lib_svld_dlopen
=yes
13036 ac_cv_lib_svld_dlopen
=no
13038 rm -f core conftest.err conftest.
$ac_objext \
13039 conftest
$ac_exeext conftest.
$ac_ext
13040 LIBS
=$ac_check_lib_save_LIBS
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13043 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13044 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13045 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13048 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13049 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13050 $as_echo_n "(cached) " >&6
13052 ac_check_lib_save_LIBS
=$LIBS
13054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13057 /* Override any GCC internal prototype to avoid an error.
13058 Use char because int might match the return type of a GCC
13059 builtin and then its argument prototype would still apply. */
13067 return dld_link ();
13072 if ac_fn_c_try_link
"$LINENO"; then :
13073 ac_cv_lib_dld_dld_link
=yes
13075 ac_cv_lib_dld_dld_link
=no
13077 rm -f core conftest.err conftest.
$ac_objext \
13078 conftest
$ac_exeext conftest.
$ac_ext
13079 LIBS
=$ac_check_lib_save_LIBS
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13082 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13083 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13084 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13105 if test no
= "$lt_cv_dlopen"; then
13111 case $lt_cv_dlopen in
13113 save_CPPFLAGS
=$CPPFLAGS
13114 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13116 save_LDFLAGS
=$LDFLAGS
13117 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13120 LIBS
="$lt_cv_dlopen_libs $LIBS"
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13123 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13124 if ${lt_cv_dlopen_self+:} false
; then :
13125 $as_echo_n "(cached) " >&6
13127 if test yes = "$cross_compiling"; then :
13128 lt_cv_dlopen_self
=cross
13130 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13131 lt_status
=$lt_dlunknown
13132 cat > conftest.
$ac_ext <<_LT_EOF
13133 #line $LINENO "configure"
13134 #include "confdefs.h"
13143 # define LT_DLGLOBAL RTLD_GLOBAL
13146 # define LT_DLGLOBAL DL_GLOBAL
13148 # define LT_DLGLOBAL 0
13152 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13153 find out it does not work in some platform. */
13154 #ifndef LT_DLLAZY_OR_NOW
13156 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13159 # define LT_DLLAZY_OR_NOW DL_LAZY
13162 # define LT_DLLAZY_OR_NOW RTLD_NOW
13165 # define LT_DLLAZY_OR_NOW DL_NOW
13167 # define LT_DLLAZY_OR_NOW 0
13174 /* When -fvisibility=hidden is used, assume the code has been annotated
13175 correspondingly for the symbols needed. */
13176 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13177 int fnord () __attribute__((visibility("default")));
13180 int fnord () { return 42; }
13183 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13184 int status = $lt_dlunknown;
13188 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13191 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13192 else puts (dlerror ());
13194 /* dlclose (self); */
13202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13203 (eval $ac_link) 2>&5
13205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13206 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13207 (.
/conftest
; exit; ) >&5 2>/dev
/null
13209 case x
$lt_status in
13210 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13211 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13212 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13215 # compilation failed
13216 lt_cv_dlopen_self
=no
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13224 $as_echo "$lt_cv_dlopen_self" >&6; }
13226 if test yes = "$lt_cv_dlopen_self"; then
13227 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13229 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13230 if ${lt_cv_dlopen_self_static+:} false
; then :
13231 $as_echo_n "(cached) " >&6
13233 if test yes = "$cross_compiling"; then :
13234 lt_cv_dlopen_self_static
=cross
13236 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13237 lt_status
=$lt_dlunknown
13238 cat > conftest.
$ac_ext <<_LT_EOF
13239 #line $LINENO "configure"
13240 #include "confdefs.h"
13249 # define LT_DLGLOBAL RTLD_GLOBAL
13252 # define LT_DLGLOBAL DL_GLOBAL
13254 # define LT_DLGLOBAL 0
13258 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13259 find out it does not work in some platform. */
13260 #ifndef LT_DLLAZY_OR_NOW
13262 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13265 # define LT_DLLAZY_OR_NOW DL_LAZY
13268 # define LT_DLLAZY_OR_NOW RTLD_NOW
13271 # define LT_DLLAZY_OR_NOW DL_NOW
13273 # define LT_DLLAZY_OR_NOW 0
13280 /* When -fvisibility=hidden is used, assume the code has been annotated
13281 correspondingly for the symbols needed. */
13282 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13283 int fnord () __attribute__((visibility("default")));
13286 int fnord () { return 42; }
13289 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13290 int status = $lt_dlunknown;
13294 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13297 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13298 else puts (dlerror ());
13300 /* dlclose (self); */
13308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13309 (eval $ac_link) 2>&5
13311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13312 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13313 (.
/conftest
; exit; ) >&5 2>/dev
/null
13315 case x
$lt_status in
13316 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13317 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13318 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13321 # compilation failed
13322 lt_cv_dlopen_self_static
=no
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13330 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13333 CPPFLAGS
=$save_CPPFLAGS
13334 LDFLAGS
=$save_LDFLAGS
13339 case $lt_cv_dlopen_self in
13340 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13341 *) enable_dlopen_self
=unknown
;;
13344 case $lt_cv_dlopen_self_static in
13345 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13346 *) enable_dlopen_self_static
=unknown
;;
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13369 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13370 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13371 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13372 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13374 $as_echo "yes" >&6; }
13376 # FIXME - insert some real tests, host_os isn't really good enough
13379 if test -n "$STRIP"; then
13380 striplib
="$STRIP -x"
13381 old_striplib
="$STRIP -S"
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13383 $as_echo "yes" >&6; }
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13386 $as_echo "no" >&6; }
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13391 $as_echo "no" >&6; }
13407 # Report what library types will actually be built
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13409 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13411 $as_echo "$can_build_shared" >&6; }
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13414 $as_echo_n "checking whether to build shared libraries... " >&6; }
13415 test no
= "$can_build_shared" && enable_shared
=no
13417 # On AIX, shared libraries and static libraries use the same namespace, and
13418 # are all built from PIC.
13421 test yes = "$enable_shared" && enable_static
=no
13422 if test -n "$RANLIB"; then
13423 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13424 postinstall_cmds
='$RANLIB $lib'
13429 if test ia64
!= "$host_cpu"; then
13430 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13431 yes,aix
,yes) ;; # shared object as lib.so file only
13432 yes,svr4
,*) ;; # shared object as lib.so archive member only
13433 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13439 $as_echo "$enable_shared" >&6; }
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13442 $as_echo_n "checking whether to build static libraries... " >&6; }
13443 # Make sure either enable_shared or enable_static is yes.
13444 test yes = "$enable_shared" || enable_static
=yes
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13446 $as_echo "$enable_static" >&6; }
13453 ac_cpp
='$CPP $CPPFLAGS'
13454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13474 ac_config_commands
="$ac_config_commands libtool"
13479 # Only expand once:
13482 # Check whether --enable-largefile was given.
13483 if test "${enable_largefile+set}" = set; then :
13484 enableval
=$enable_largefile;
13487 if test "$enable_largefile" != no
; then
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13490 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13491 if ${ac_cv_sys_largefile_CC+:} false
; then :
13492 $as_echo_n "(cached) " >&6
13494 ac_cv_sys_largefile_CC
=no
13495 if test "$GCC" != yes; then
13498 # IRIX 6.2 and later do not support large files by default,
13499 # so use the C compiler's -n32 option if that helps.
13500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13502 #include <sys/types.h>
13503 /* Check that off_t can represent 2**63 - 1 correctly.
13504 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13505 since some C++ compilers masquerading as C compilers
13506 incorrectly reject 9223372036854775807. */
13507 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13508 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13509 && LARGE_OFF_T % 2147483647 == 1)
13519 if ac_fn_c_try_compile
"$LINENO"; then :
13522 rm -f core conftest.err conftest.
$ac_objext
13524 if ac_fn_c_try_compile
"$LINENO"; then :
13525 ac_cv_sys_largefile_CC
=' -n32'; break
13527 rm -f core conftest.err conftest.
$ac_objext
13531 rm -f conftest.
$ac_ext
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13535 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13536 if test "$ac_cv_sys_largefile_CC" != no
; then
13537 CC
=$CC$ac_cv_sys_largefile_CC
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13541 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13542 if ${ac_cv_sys_file_offset_bits+:} false
; then :
13543 $as_echo_n "(cached) " >&6
13546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13547 /* end confdefs.h. */
13548 #include <sys/types.h>
13549 /* Check that off_t can represent 2**63 - 1 correctly.
13550 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13551 since some C++ compilers masquerading as C compilers
13552 incorrectly reject 9223372036854775807. */
13553 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13554 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13555 && LARGE_OFF_T % 2147483647 == 1)
13565 if ac_fn_c_try_compile
"$LINENO"; then :
13566 ac_cv_sys_file_offset_bits
=no
; break
13568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13571 #define _FILE_OFFSET_BITS 64
13572 #include <sys/types.h>
13573 /* Check that off_t can represent 2**63 - 1 correctly.
13574 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13575 since some C++ compilers masquerading as C compilers
13576 incorrectly reject 9223372036854775807. */
13577 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13578 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13579 && LARGE_OFF_T % 2147483647 == 1)
13589 if ac_fn_c_try_compile
"$LINENO"; then :
13590 ac_cv_sys_file_offset_bits
=64; break
13592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13593 ac_cv_sys_file_offset_bits
=unknown
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13598 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13599 case $ac_cv_sys_file_offset_bits in #(
13602 cat >>confdefs.h
<<_ACEOF
13603 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13608 if test $ac_cv_sys_file_offset_bits = unknown
; then
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13610 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13611 if ${ac_cv_sys_large_files+:} false
; then :
13612 $as_echo_n "(cached) " >&6
13615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13617 #include <sys/types.h>
13618 /* Check that off_t can represent 2**63 - 1 correctly.
13619 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13620 since some C++ compilers masquerading as C compilers
13621 incorrectly reject 9223372036854775807. */
13622 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13623 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13624 && LARGE_OFF_T % 2147483647 == 1)
13634 if ac_fn_c_try_compile
"$LINENO"; then :
13635 ac_cv_sys_large_files
=no
; break
13637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13639 /* end confdefs.h. */
13640 #define _LARGE_FILES 1
13641 #include <sys/types.h>
13642 /* Check that off_t can represent 2**63 - 1 correctly.
13643 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13644 since some C++ compilers masquerading as C compilers
13645 incorrectly reject 9223372036854775807. */
13646 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13647 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13648 && LARGE_OFF_T % 2147483647 == 1)
13658 if ac_fn_c_try_compile
"$LINENO"; then :
13659 ac_cv_sys_large_files
=1; break
13661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13662 ac_cv_sys_large_files
=unknown
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13667 $as_echo "$ac_cv_sys_large_files" >&6; }
13668 case $ac_cv_sys_large_files in #(
13671 cat >>confdefs.h
<<_ACEOF
13672 #define _LARGE_FILES $ac_cv_sys_large_files
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
13683 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
13684 if ${ac_cv_sys_largefile_source+:} false
; then :
13685 $as_echo_n "(cached) " >&6
13688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13690 #include <sys/types.h> /* for off_t */
13695 int (*fp) (FILE *, off_t, int) = fseeko;
13696 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13701 if ac_fn_c_try_link
"$LINENO"; then :
13702 ac_cv_sys_largefile_source
=no
; break
13704 rm -f core conftest.err conftest.
$ac_objext \
13705 conftest
$ac_exeext conftest.
$ac_ext
13706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13708 #define _LARGEFILE_SOURCE 1
13709 #include <sys/types.h> /* for off_t */
13714 int (*fp) (FILE *, off_t, int) = fseeko;
13715 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13720 if ac_fn_c_try_link
"$LINENO"; then :
13721 ac_cv_sys_largefile_source
=1; break
13723 rm -f core conftest.err conftest.
$ac_objext \
13724 conftest
$ac_exeext conftest.
$ac_ext
13725 ac_cv_sys_largefile_source
=unknown
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
13730 $as_echo "$ac_cv_sys_largefile_source" >&6; }
13731 case $ac_cv_sys_largefile_source in #(
13734 cat >>confdefs.h
<<_ACEOF
13735 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
13741 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
13742 # in glibc 2.1.3, but that breaks too many other things.
13743 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
13744 if test $ac_cv_sys_largefile_source != unknown
; then
13746 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
13750 ac_header_dirent
=no
13751 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
13752 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
13754 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
13755 if eval \
${$as_ac_Header+:} false
; then :
13756 $as_echo_n "(cached) " >&6
13758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13760 #include <sys/types.h>
13772 if ac_fn_c_try_compile
"$LINENO"; then :
13773 eval "$as_ac_Header=yes"
13775 eval "$as_ac_Header=no"
13777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13779 eval ac_res
=\$
$as_ac_Header
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13781 $as_echo "$ac_res" >&6; }
13782 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13783 cat >>confdefs.h
<<_ACEOF
13784 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13787 ac_header_dirent
=$ac_hdr; break
13791 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13792 if test $ac_header_dirent = dirent.h
; then
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13794 $as_echo_n "checking for library containing opendir... " >&6; }
13795 if ${ac_cv_search_opendir+:} false
; then :
13796 $as_echo_n "(cached) " >&6
13798 ac_func_search_save_LIBS
=$LIBS
13799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13802 /* Override any GCC internal prototype to avoid an error.
13803 Use char because int might match the return type of a GCC
13804 builtin and then its argument prototype would still apply. */
13817 for ac_lib
in '' dir
; do
13818 if test -z "$ac_lib"; then
13819 ac_res
="none required"
13822 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13824 if ac_fn_c_try_link
"$LINENO"; then :
13825 ac_cv_search_opendir
=$ac_res
13827 rm -f core conftest.err conftest.
$ac_objext \
13829 if ${ac_cv_search_opendir+:} false
; then :
13833 if ${ac_cv_search_opendir+:} false
; then :
13836 ac_cv_search_opendir
=no
13838 rm conftest.
$ac_ext
13839 LIBS
=$ac_func_search_save_LIBS
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13842 $as_echo "$ac_cv_search_opendir" >&6; }
13843 ac_res
=$ac_cv_search_opendir
13844 if test "$ac_res" != no
; then :
13845 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13851 $as_echo_n "checking for library containing opendir... " >&6; }
13852 if ${ac_cv_search_opendir+:} false
; then :
13853 $as_echo_n "(cached) " >&6
13855 ac_func_search_save_LIBS
=$LIBS
13856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13874 for ac_lib
in '' x
; do
13875 if test -z "$ac_lib"; then
13876 ac_res
="none required"
13879 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13881 if ac_fn_c_try_link
"$LINENO"; then :
13882 ac_cv_search_opendir
=$ac_res
13884 rm -f core conftest.err conftest.
$ac_objext \
13886 if ${ac_cv_search_opendir+:} false
; then :
13890 if ${ac_cv_search_opendir+:} false
; then :
13893 ac_cv_search_opendir
=no
13895 rm conftest.
$ac_ext
13896 LIBS
=$ac_func_search_save_LIBS
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13899 $as_echo "$ac_cv_search_opendir" >&6; }
13900 ac_res
=$ac_cv_search_opendir
13901 if test "$ac_res" != no
; then :
13902 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13909 $as_echo_n "checking for ANSI C header files... " >&6; }
13910 if ${ac_cv_header_stdc+:} false
; then :
13911 $as_echo_n "(cached) " >&6
13913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13915 #include <stdlib.h>
13916 #include <stdarg.h>
13917 #include <string.h>
13928 if ac_fn_c_try_compile
"$LINENO"; then :
13929 ac_cv_header_stdc
=yes
13931 ac_cv_header_stdc
=no
13933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13935 if test $ac_cv_header_stdc = yes; then
13936 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13939 #include <string.h>
13942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13943 $EGREP "memchr" >/dev
/null
2>&1; then :
13946 ac_cv_header_stdc
=no
13952 if test $ac_cv_header_stdc = yes; then
13953 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13956 #include <stdlib.h>
13959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13960 $EGREP "free" >/dev
/null
2>&1; then :
13963 ac_cv_header_stdc
=no
13969 if test $ac_cv_header_stdc = yes; then
13970 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13971 if test "$cross_compiling" = yes; then :
13974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13977 #include <stdlib.h>
13978 #if ((' ' & 0x0FF) == 0x020)
13979 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13980 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13982 # define ISLOWER(c) \
13983 (('a' <= (c) && (c) <= 'i') \
13984 || ('j' <= (c) && (c) <= 'r') \
13985 || ('s' <= (c) && (c) <= 'z'))
13986 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13989 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13994 for (i = 0; i < 256; i++)
13995 if (XOR (islower (i), ISLOWER (i))
13996 || toupper (i) != TOUPPER (i))
14001 if ac_fn_c_try_run
"$LINENO"; then :
14004 ac_cv_header_stdc
=no
14006 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14007 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14013 $as_echo "$ac_cv_header_stdc" >&6; }
14014 if test $ac_cv_header_stdc = yes; then
14016 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
14021 $as_echo_n "checking whether closedir returns void... " >&6; }
14022 if ${ac_cv_func_closedir_void+:} false
; then :
14023 $as_echo_n "(cached) " >&6
14025 if test "$cross_compiling" = yes; then :
14026 ac_cv_func_closedir_void
=yes
14028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14029 /* end confdefs.h. */
14030 $ac_includes_default
14031 #include <$ac_header_dirent>
14032 #ifndef __cplusplus
14039 return closedir (opendir (".")) != 0;
14044 if ac_fn_c_try_run
"$LINENO"; then :
14045 ac_cv_func_closedir_void
=no
14047 ac_cv_func_closedir_void
=yes
14049 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14050 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
14055 $as_echo "$ac_cv_func_closedir_void" >&6; }
14056 if test $ac_cv_func_closedir_void = yes; then
14058 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
14062 for ac_header
in assert.h float.h limits.h
pwd.h stdlib.h sys
/param.h
14064 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14065 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14066 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14067 cat >>confdefs.h
<<_ACEOF
14068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14075 for ac_func
in putenv
14077 ac_fn_c_check_func
"$LINENO" "putenv" "ac_cv_func_putenv"
14078 if test "x$ac_cv_func_putenv" = xyes
; then :
14079 cat >>confdefs.h
<<_ACEOF
14080 #define HAVE_PUTENV 1
14086 for ac_func
in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr
14088 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14089 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14090 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14091 cat >>confdefs.h
<<_ACEOF
14092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14099 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14100 if ${ac_cv_c_const+:} false
; then :
14101 $as_echo_n "(cached) " >&6
14103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14110 #ifndef __cplusplus
14111 /* Ultrix mips cc rejects this sort of thing. */
14112 typedef int charset[2];
14113 const charset cs = { 0, 0 };
14114 /* SunOS 4.1.1 cc rejects this. */
14115 char const *const *pcpcc;
14117 /* NEC SVR4.0.2 mips cc rejects this. */
14118 struct point {int x, y;};
14119 static struct point const zero = {0,0};
14120 /* AIX XL C 1.02.0.0 rejects this.
14121 It does not let you subtract one const X* pointer from another in
14122 an arm of an if-expression whose if-part is not a constant
14124 const char *g = "string";
14125 pcpcc = &g + (g ? g-g : 0);
14126 /* HPUX 7.0 cc rejects these. */
14128 ppc = (char**) pcpcc;
14129 pcpcc = (char const *const *) ppc;
14130 { /* SCO 3.2v4 cc rejects this sort of thing. */
14133 char const *s = 0 ? (char *) 0 : (char const *) 0;
14138 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14139 int x[] = {25, 17};
14140 const int *foo = &x[0];
14143 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14144 typedef const int *iptr;
14148 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14149 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14150 struct s { int j; const int *ap[3]; } bx;
14151 struct s *b = &bx; b->j = 5;
14153 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14154 const int foo = 10;
14155 if (!foo) return 0;
14157 return !cs[0] && !zero.x;
14164 if ac_fn_c_try_compile
"$LINENO"; then :
14169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14172 $as_echo "$ac_cv_c_const" >&6; }
14173 if test $ac_cv_c_const = no
; then
14175 $as_echo "#define const /**/" >>confdefs.h
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14180 $as_echo_n "checking for inline... " >&6; }
14181 if ${ac_cv_c_inline+:} false
; then :
14182 $as_echo_n "(cached) " >&6
14185 for ac_kw
in inline __inline__ __inline
; do
14186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14188 #ifndef __cplusplus
14190 static $ac_kw foo_t static_foo () {return 0; }
14191 $ac_kw foo_t foo () {return 0; }
14195 if ac_fn_c_try_compile
"$LINENO"; then :
14196 ac_cv_c_inline
=$ac_kw
14198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14199 test "$ac_cv_c_inline" != no
&& break
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14204 $as_echo "$ac_cv_c_inline" >&6; }
14206 case $ac_cv_c_inline in
14209 case $ac_cv_c_inline in
14211 *) ac_val
=$ac_cv_c_inline;;
14213 cat >>confdefs.h
<<_ACEOF
14214 #ifndef __cplusplus
14215 #define inline $ac_val
14221 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14222 if test "x$ac_cv_type_size_t" = xyes
; then :
14226 cat >>confdefs.h
<<_ACEOF
14227 #define size_t unsigned int
14232 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
14233 case $ac_cv_c_int64_t in #(
14237 cat >>confdefs.h
<<_ACEOF
14238 #define int64_t $ac_cv_c_int64_t
14243 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
14244 case $ac_cv_c_uint64_t in #(
14248 $as_echo "#define _UINT64_T 1" >>confdefs.h
14251 cat >>confdefs.h
<<_ACEOF
14252 #define uint64_t $ac_cv_c_uint64_t
14257 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
14259 as_fn_error $?
"Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
14263 ac_fn_c_check_decl
"$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
14265 if test "x$ac_cv_have_decl_isascii" = xyes
; then :
14271 cat >>confdefs.h
<<_ACEOF
14272 #define HAVE_DECL_ISASCII $ac_have_decl
14275 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14276 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14278 cat >>confdefs.h
<<_ACEOF
14279 #define HAVE_STRUCT_STAT_ST_MTIM 1
14287 if test "x$cross_compiling" = xyes
; then
14297 ac_cpp
='$CXXCPP $CPPFLAGS'
14298 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14299 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14300 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14301 if test -z "$CXX"; then
14302 if test -n "$CCC"; then
14305 if test -n "$ac_tool_prefix"; then
14306 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
14308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14309 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14311 $as_echo_n "checking for $ac_word... " >&6; }
14312 if ${ac_cv_prog_CXX+:} false
; then :
14313 $as_echo_n "(cached) " >&6
14315 if test -n "$CXX"; then
14316 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14319 for as_dir
in $PATH
14322 test -z "$as_dir" && as_dir
=.
14323 for ac_exec_ext
in '' $ac_executable_extensions; do
14324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14325 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14335 CXX
=$ac_cv_prog_CXX
14336 if test -n "$CXX"; then
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14338 $as_echo "$CXX" >&6; }
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14341 $as_echo "no" >&6; }
14345 test -n "$CXX" && break
14348 if test -z "$CXX"; then
14350 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
14352 # Extract the first word of "$ac_prog", so it can be a program name with args.
14353 set dummy
$ac_prog; ac_word
=$2
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14355 $as_echo_n "checking for $ac_word... " >&6; }
14356 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
14357 $as_echo_n "(cached) " >&6
14359 if test -n "$ac_ct_CXX"; then
14360 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14363 for as_dir
in $PATH
14366 test -z "$as_dir" && as_dir
=.
14367 for ac_exec_ext
in '' $ac_executable_extensions; do
14368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14369 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14379 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14380 if test -n "$ac_ct_CXX"; then
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14382 $as_echo "$ac_ct_CXX" >&6; }
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14385 $as_echo "no" >&6; }
14389 test -n "$ac_ct_CXX" && break
14392 if test "x$ac_ct_CXX" = x
; then
14395 case $cross_compiling:$ac_tool_warned in
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14399 ac_tool_warned
=yes ;;
14407 # Provide some information about the compiler.
14408 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14411 for ac_option
in --version -v -V -qversion; do
14412 { { ac_try
="$ac_compiler $ac_option >&5"
14413 case "(($ac_try" in
14414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14415 *) ac_try_echo=$ac_try;;
14417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14418 $as_echo "$ac_try_echo"; } >&5
14419 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14421 if test -s conftest.err; then
14423 ... rest of stderr output deleted ...
14424 10q' conftest.err >conftest.er1
14425 cat conftest.er1 >&5
14427 rm -f conftest.er1 conftest.err
14428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14429 test $ac_status = 0; }
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14433 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14434 if ${ac_cv_cxx_compiler_gnu+:} false; then :
14435 $as_echo_n "(cached) " >&6
14437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14451 if ac_fn_cxx_try_compile "$LINENO"; then :
14452 ac_compiler_gnu=yes
14456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14457 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14461 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14462 if test $ac_compiler_gnu = yes; then
14467 ac_test_CXXFLAGS=${CXXFLAGS+set}
14468 ac_save_CXXFLAGS=$CXXFLAGS
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14470 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14471 if ${ac_cv_prog_cxx_g+:} false; then :
14472 $as_echo_n "(cached) " >&6
14474 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14475 ac_cxx_werror_flag=yes
14476 ac_cv_prog_cxx_g=no
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14489 if ac_fn_cxx_try_compile "$LINENO"; then :
14490 ac_cv_prog_cxx_g=yes
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14504 if ac_fn_cxx_try_compile "$LINENO"; then :
14507 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14510 /* end confdefs.h. */
14520 if ac_fn_cxx_try_compile "$LINENO"; then :
14521 ac_cv_prog_cxx_g=yes
14523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14528 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14531 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14532 if test "$ac_test_CXXFLAGS" = set; then
14533 CXXFLAGS=$ac_save_CXXFLAGS
14534 elif test $ac_cv_prog_cxx_g = yes; then
14535 if test "$GXX" = yes; then
14541 if test "$GXX" = yes; then
14548 ac_cpp='$CPP $CPPFLAGS'
14549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14553 depcc="$CXX" am_compiler_list=
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14556 $as_echo_n "checking dependency style of $depcc... " >&6; }
14557 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
14558 $as_echo_n "(cached) " >&6
14560 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14561 # We make a subdir and do the tests there. Otherwise we can end up
14562 # making bogus files that we don't know about and never remove. For
14563 # instance it was reported that on HP-UX the gcc test will end up
14564 # making a dummy file named 'D' -- because '-MD' means "put the output
14566 rm -rf conftest.dir
14568 # Copy depcomp to subdir because otherwise we won't find it if we're
14569 # using a relative directory.
14570 cp "$am_depcomp" conftest.dir
14572 # We will build objects and dependencies in a subdirectory because
14573 # it helps to detect inapplicable dependency modes. For instance
14574 # both Tru64's cc and ICC support -MD to output dependencies as a
14575 # side effect of compilation, but ICC will put the dependencies in
14576 # the current directory while Tru64 will put them in the object
14580 am_cv_CXX_dependencies_compiler_type=none
14581 if test "$am_compiler_list" = ""; then
14582 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
14584 am__universal=false
14585 case " $depcc " in #(
14586 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14589 for depmode in $am_compiler_list; do
14590 # Setup a source with many dependencies, because some compilers
14591 # like to wrap large dependency lists on column 80 (with \), and
14592 # we should not choose a depcomp mode which is confused by this.
14594 # We need to recreate these files for each test, as the compiler may
14595 # overwrite some of them when testing with obscure command lines.
14596 # This happens at least with the AIX C compiler.
14598 for i in 1 2 3 4 5 6; do
14599 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14600 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14601 # Solaris 10 /bin/sh.
14602 echo '/* dummy */' > sub/conftst$i.h
14604 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14606 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14607 # mode. It turns out that the SunPro C++ compiler does not properly
14608 # handle '-M -o', and we need to detect this. Also, some Intel
14609 # versions had trouble with output in subdirs.
14610 am__obj=sub/conftest.${OBJEXT-o}
14611 am__minus_obj="-o $am__obj"
14614 # This depmode causes a compiler race in universal mode.
14615 test "$am__universal" = false || continue
14618 # After this tag, mechanisms are not by side-effect, so they'll
14619 # only be used when explicitly requested.
14620 if test "x$enable_dependency_tracking" = xyes; then
14626 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14627 # This compiler won't grok '-c -o', but also, the minuso test has
14628 # not run yet. These depmodes are late enough in the game, and
14629 # so weak that their functioning should not be impacted.
14630 am__obj=conftest.${OBJEXT-o}
14635 if depmode=$depmode \
14636 source=sub/conftest.c object=$am__obj \
14637 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14638 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14639 >/dev/null 2>conftest.err &&
14640 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14641 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14642 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14643 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14644 # icc doesn't choke on unknown options, it will just issue warnings
14645 # or remarks (even with -Werror). So we grep stderr for any message
14646 # that says an option was ignored or not supported.
14647 # When given -MP, icc 7.0 and 7.1 complain thusly:
14648 # icc: Command line warning: ignoring option '-M'; no argument required
14649 # The diagnosis changed in icc 8.0:
14650 # icc: Command line remark: option '-MP' not supported
14651 if (grep 'ignoring option' conftest.err ||
14652 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14653 am_cv_CXX_dependencies_compiler_type=$depmode
14660 rm -rf conftest.dir
14662 am_cv_CXX_dependencies_compiler_type=none
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14667 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14668 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14671 test "x$enable_dependency_tracking" != xno \
14672 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14673 am__fastdepCXX_TRUE=
14674 am__fastdepCXX_FALSE='#'
14676 am__fastdepCXX_TRUE='#'
14677 am__fastdepCXX_FALSE=
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
14681 $as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
14682 if ${kpse_cv_warning_cxxflags+:} false; then :
14683 $as_echo_n "(cached) " >&6
14685 if test "x$GXX" = xyes; then
14686 kpse_cv_warning_cxxflags=
14687 kpse_warn_strings="-Wno-write-strings"
14688 if test "x$enable_compiler_warnings" != xno; then
14689 kpse_cv_warning_cxxflags="-Wreturn-type"
14690 case `$CXX -dumpversion` in #(
14691 3.* | 4.[012345].*) :
14692 kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #(
14696 case `$CXX -dumpversion` in #(
14697 3.[234].* | 4.* | 5.*) :
14698 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #(
14702 if test "x$enable_compiler_warnings" != xmin; then
14703 kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags"
14704 if test "x$enable_compiler_warnings" != xyes; then
14705 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
14706 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align"
14707 kpse_warn_strings="-Wwrite-strings"
14708 if test "x$enable_compiler_warnings" != xmax; then
14709 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow"
14714 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings"
14715 elif test "x$enable_compiler_warnings" = xno; then
14716 kpse_cv_warning_cxxflags=
14718 kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5
14722 $as_echo "$kpse_cv_warning_cxxflags" >&6; }
14723 WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags
14729 func_stripname_cnf ()
14732 .*) func_stripname_result=`$ECHO "$3" |
$SED "s%^$1%%; s%\\\\$2\$%%"`;;
14733 *) func_stripname_result=`$ECHO "$3" |
$SED "s%^$1%%; s%$2\$%%"`;;
14735 } # func_stripname_cnf
14737 if test -n "$CXX" && ( test no != "$CXX" &&
14738 ( (test g++ = "$CXX" && `g
++ -v >/dev
/null
2>&1` ) ||
14739 (test g++ != "$CXX"))); then
14741 ac_cpp='$CXXCPP $CPPFLAGS'
14742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14746 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14747 if test -z "$CXXCPP"; then
14748 if ${ac_cv_prog_CXXCPP+:} false; then :
14749 $as_echo_n "(cached) " >&6
14751 # Double quotes because CXXCPP needs to be expanded
14752 for CXXCPP in "$CXX -E" "/lib/cpp"
14754 ac_preproc_ok=false
14755 for ac_cxx_preproc_warn_flag in '' yes
14757 # Use a header file that comes with gcc, so configuring glibc
14758 # with a fresh cross-compiler works.
14759 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14760 # <limits.h> exists even on freestanding compilers.
14761 # On the NeXT, cc -E runs the code through the compiler's parser,
14762 # not just through cpp. "Syntax error" is here to catch this case.
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14766 # include <limits.h>
14768 # include <assert.h>
14772 if ac_fn_cxx_try_cpp "$LINENO"; then :
14775 # Broken: fails on valid input.
14778 rm -f conftest.err conftest.i conftest.$ac_ext
14780 # OK, works on sane cases. Now check whether nonexistent headers
14781 # can be detected and how.
14782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14783 /* end confdefs.h. */
14784 #include <ac_nonexistent.h>
14786 if ac_fn_cxx_try_cpp "$LINENO"; then :
14787 # Broken: success on invalid input.
14790 # Passes both tests.
14794 rm -f conftest.err conftest.i conftest.$ac_ext
14797 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14798 rm -f conftest.i conftest.err conftest.
$ac_ext
14799 if $ac_preproc_ok; then :
14804 ac_cv_prog_CXXCPP
=$CXXCPP
14807 CXXCPP
=$ac_cv_prog_CXXCPP
14809 ac_cv_prog_CXXCPP
=$CXXCPP
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14812 $as_echo "$CXXCPP" >&6; }
14813 ac_preproc_ok
=false
14814 for ac_cxx_preproc_warn_flag
in '' yes
14816 # Use a header file that comes with gcc, so configuring glibc
14817 # with a fresh cross-compiler works.
14818 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14819 # <limits.h> exists even on freestanding compilers.
14820 # On the NeXT, cc -E runs the code through the compiler's parser,
14821 # not just through cpp. "Syntax error" is here to catch this case.
14822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14825 # include <limits.h>
14827 # include <assert.h>
14831 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14834 # Broken: fails on valid input.
14837 rm -f conftest.err conftest.i conftest.
$ac_ext
14839 # OK, works on sane cases. Now check whether nonexistent headers
14840 # can be detected and how.
14841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14843 #include <ac_nonexistent.h>
14845 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14846 # Broken: success on invalid input.
14849 # Passes both tests.
14853 rm -f conftest.err conftest.i conftest.
$ac_ext
14856 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14857 rm -f conftest.i conftest.err conftest.
$ac_ext
14858 if $ac_preproc_ok; then :
14861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14863 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
14864 See \`config.log' for more details" "$LINENO" 5; }
14868 ac_cpp
='$CPP $CPPFLAGS'
14869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14874 _lt_caught_CXX_error
=yes
14878 ac_cpp
='$CXXCPP $CPPFLAGS'
14879 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14880 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14881 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14883 archive_cmds_need_lc_CXX
=no
14884 allow_undefined_flag_CXX
=
14885 always_export_symbols_CXX
=no
14886 archive_expsym_cmds_CXX
=
14887 compiler_needs_object_CXX
=no
14888 export_dynamic_flag_spec_CXX
=
14889 hardcode_direct_CXX
=no
14890 hardcode_direct_absolute_CXX
=no
14891 hardcode_libdir_flag_spec_CXX
=
14892 hardcode_libdir_separator_CXX
=
14893 hardcode_minus_L_CXX
=no
14894 hardcode_shlibpath_var_CXX
=unsupported
14895 hardcode_automatic_CXX
=no
14896 inherit_rpath_CXX
=no
14898 module_expsym_cmds_CXX
=
14899 link_all_deplibs_CXX
=unknown
14900 old_archive_cmds_CXX
=$old_archive_cmds
14901 reload_flag_CXX
=$reload_flag
14902 reload_cmds_CXX
=$reload_cmds
14903 no_undefined_flag_CXX
=
14904 whole_archive_flag_spec_CXX
=
14905 enable_shared_with_static_runtimes_CXX
=no
14907 # Source file extension for C++ test sources.
14910 # Object file extension for compiled C++ test sources.
14914 # No sense in running all these tests if we already determined that
14915 # the CXX compiler isn't working. Some variables (like enable_shared)
14916 # are currently assumed to apply to all compilers on this platform,
14917 # and will be corrupted by setting them based on a non-working compiler.
14918 if test yes != "$_lt_caught_CXX_error"; then
14919 # Code to be used in simple compile tests
14920 lt_simple_compile_test_code
="int some_variable = 0;"
14922 # Code to be used in simple link tests
14923 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
14925 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14932 # If no C compiler was specified, use CC.
14935 # If no C compiler flags were specified, use CFLAGS.
14936 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14938 # Allow CC to be a program name with arguments.
14942 # save warnings/boilerplate of simple test code
14943 ac_outfile
=conftest.
$ac_objext
14944 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14945 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14946 _lt_compiler_boilerplate
=`cat conftest.err`
14949 ac_outfile
=conftest.
$ac_objext
14950 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14951 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14952 _lt_linker_boilerplate
=`cat conftest.err`
14956 # Allow CC to be a program name with arguments.
14958 lt_save_CFLAGS
=$CFLAGS
14962 lt_save_with_gnu_ld
=$with_gnu_ld
14963 lt_save_path_LD
=$lt_cv_path_LD
14964 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14965 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
14967 $as_unset lt_cv_prog_gnu_ld
14969 if test -n "${lt_cv_path_LDCXX+set}"; then
14970 lt_cv_path_LD
=$lt_cv_path_LDCXX
14972 $as_unset lt_cv_path_LD
14974 test -z "${LDCXX+set}" || LD
=$LDCXX
14979 func_cc_basename
$compiler
14980 cc_basename
=$func_cc_basename_result
14983 if test -n "$compiler"; then
14984 # We don't want -fno-exception when compiling C++ code, so set the
14985 # no_builtin_flag separately
14986 if test yes = "$GXX"; then
14987 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
14989 lt_prog_compiler_no_builtin_flag_CXX
=
14992 if test yes = "$GXX"; then
14993 # Set up default GNU C++ configuration
14997 # Check whether --with-gnu-ld was given.
14998 if test "${with_gnu_ld+set}" = set; then :
14999 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
15005 if test yes = "$GCC"; then
15006 # Check if gcc -print-prog-name=ld gives a path.
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15008 $as_echo_n "checking for ld used by $CC... " >&6; }
15011 # gcc leaves a trailing carriage return, which upsets mingw
15012 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15014 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15017 # Accept absolute paths.
15019 re_direlt
='/[^/][^/]*/\.\./'
15020 # Canonicalize the pathname of ld
15021 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15022 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
15023 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15025 test -z "$LD" && LD
=$ac_prog
15028 # If it fails, then pretend we aren't using GCC.
15032 # If it is relative, then search for the first ld in PATH.
15033 with_gnu_ld
=unknown
15036 elif test yes = "$with_gnu_ld"; then
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15038 $as_echo_n "checking for GNU ld... " >&6; }
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15041 $as_echo_n "checking for non-GNU ld... " >&6; }
15043 if ${lt_cv_path_LD+:} false
; then :
15044 $as_echo_n "(cached) " >&6
15046 if test -z "$LD"; then
15047 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
15048 for ac_dir
in $PATH; do
15050 test -z "$ac_dir" && ac_dir
=.
15051 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15052 lt_cv_path_LD
=$ac_dir/$ac_prog
15053 # Check to see if the program is GNU ld. I'd rather use --version,
15054 # but apparently some variants of GNU ld only accept -v.
15055 # Break only if it was the GNU/non-GNU ld that we prefer.
15056 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15057 *GNU
* |
*'with BFD'*)
15058 test no
!= "$with_gnu_ld" && break
15061 test yes != "$with_gnu_ld" && break
15068 lt_cv_path_LD
=$LD # Let the user override the test with a path.
15073 if test -n "$LD"; then
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15075 $as_echo "$LD" >&6; }
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15078 $as_echo "no" >&6; }
15080 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15082 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15083 if ${lt_cv_prog_gnu_ld+:} false
; then :
15084 $as_echo_n "(cached) " >&6
15086 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15087 case `$LD -v 2>&1 </dev/null` in
15088 *GNU
* |
*'with BFD'*)
15089 lt_cv_prog_gnu_ld
=yes
15092 lt_cv_prog_gnu_ld
=no
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15097 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15098 with_gnu_ld
=$lt_cv_prog_gnu_ld
15106 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15107 # archiving commands below assume that GNU ld is being used.
15108 if test yes = "$with_gnu_ld"; then
15109 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15110 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15112 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15113 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15115 # If archive_cmds runs LD, not CC, wlarc should be empty
15116 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15117 # investigate it a little bit more. (MM)
15120 # ancient GNU ld didn't support --whole-archive et. al.
15121 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15122 $GREP 'no-whole-archive' > /dev
/null
; then
15123 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15125 whole_archive_flag_spec_CXX
=
15131 # A generic and very simple default shared library creation
15132 # command for GNU C++ for the case where it uses the native
15133 # linker, instead of GNU ld. If possible, this setting should
15134 # overridden to take advantage of the native linker features on
15135 # the platform it is being used on.
15136 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15139 # Commands to make compiler produce verbose output that lists
15140 # what "hidden" libraries, object files and flags are used when
15141 # linking a shared library.
15142 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15150 # PORTME: fill in a description of your system's C++ link characteristics
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15152 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15156 # FIXME: insert proper C++ library support
15160 if test ia64
= "$host_cpu"; then
15161 # On IA64, the linker does run time linking by default, so we don't
15162 # have to do anything special.
15163 aix_use_runtimelinking
=no
15164 exp_sym_flag
='-Bexport'
15167 aix_use_runtimelinking
=no
15169 # Test if we are trying to use run time linking or normal
15170 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15171 # have runtime linking enabled, and use it for executables.
15172 # For shared libraries, we enable/disable runtime linking
15173 # depending on the kind of the shared library created -
15174 # when "with_aix_soname,aix_use_runtimelinking" is:
15175 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15176 # "aix,yes" lib.so shared, rtl:yes, for executables
15177 # lib.a static archive
15178 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15179 # lib.a(lib.so.V) shared, rtl:no, for executables
15180 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15181 # lib.a(lib.so.V) shared, rtl:no
15182 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15183 # lib.a static archive
15184 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15185 for ld_flag
in $LDFLAGS; do
15188 aix_use_runtimelinking
=yes
15193 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
15194 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15195 # so we don't have lib.a shared libs to link our executables.
15196 # We have to force runtime linking in this case.
15197 aix_use_runtimelinking
=yes
15198 LDFLAGS
="$LDFLAGS -Wl,-brtl"
15203 exp_sym_flag
='-bexport'
15204 no_entry_flag
='-bnoentry'
15207 # When large executables or shared objects are built, AIX ld can
15208 # have problems creating the table of contents. If linking a library
15209 # or program results in "error TOC overflow" add -mminimal-toc to
15210 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15211 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15213 archive_cmds_CXX
=''
15214 hardcode_direct_CXX
=yes
15215 hardcode_direct_absolute_CXX
=yes
15216 hardcode_libdir_separator_CXX
=':'
15217 link_all_deplibs_CXX
=yes
15218 file_list_spec_CXX
='$wl-f,'
15219 case $with_aix_soname,$aix_use_runtimelinking in
15220 aix
,*) ;; # no import file
15221 svr4
,* |
*,yes) # use import file
15222 # The Import File defines what to hardcode.
15223 hardcode_direct_CXX
=no
15224 hardcode_direct_absolute_CXX
=no
15228 if test yes = "$GXX"; then
15229 case $host_os in aix4.
[012]|aix4.
[012].
*)
15230 # We only want to do this on AIX 4.2 and lower, the check
15231 # below for broken collect2 doesn't work under 4.3+
15232 collect2name
=`$CC -print-prog-name=collect2`
15233 if test -f "$collect2name" &&
15234 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
15236 # We have reworked collect2
15239 # We have old collect2
15240 hardcode_direct_CXX
=unsupported
15241 # It fails to find uninstalled libraries when the uninstalled
15242 # path is not listed in the libpath. Setting hardcode_minus_L
15243 # to unsupported forces relinking
15244 hardcode_minus_L_CXX
=yes
15245 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15246 hardcode_libdir_separator_CXX
=
15249 shared_flag
='-shared'
15250 if test yes = "$aix_use_runtimelinking"; then
15251 shared_flag
=$shared_flag' $wl-G'
15253 # Need to ensure runtime linking is disabled for the traditional
15254 # shared library, or the linker may eventually find shared libraries
15255 # /with/ Import File - we do not want to mix them.
15256 shared_flag_aix
='-shared'
15257 shared_flag_svr4
='-shared $wl-G'
15260 if test ia64
= "$host_cpu"; then
15261 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15262 # chokes on -Wl,-G. The following line is correct:
15265 if test yes = "$aix_use_runtimelinking"; then
15266 shared_flag
='$wl-G'
15268 shared_flag
='$wl-bM:SRE'
15270 shared_flag_aix
='$wl-bM:SRE'
15271 shared_flag_svr4
='$wl-G'
15275 export_dynamic_flag_spec_CXX
='$wl-bexpall'
15276 # It seems that -bexpall does not export symbols beginning with
15277 # underscore (_), so it is better to generate a list of symbols to
15279 always_export_symbols_CXX
=yes
15280 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15281 # Warning - without using the other runtime loading flags (-brtl),
15282 # -berok will link without error, but may produce a broken library.
15283 # The "-G" linker flag allows undefined symbols.
15284 no_undefined_flag_CXX
='-bernotok'
15285 # Determine the default libpath from the value encoded in an empty
15287 if test set = "${lt_cv_aix_libpath+set}"; then
15288 aix_libpath
=$lt_cv_aix_libpath
15290 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15291 $as_echo_n "(cached) " >&6
15293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15304 if ac_fn_cxx_try_link
"$LINENO"; then :
15306 lt_aix_libpath_sed
='
15307 /Import File Strings/,/^$/ {
15309 s/^0 *\([^ ]*\) *$/\1/
15313 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15314 # Check for a 64-bit object if we didn't find anything.
15315 if test -z "$lt_cv_aix_libpath__CXX"; then
15316 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15319 rm -f core conftest.err conftest.
$ac_objext \
15320 conftest
$ac_exeext conftest.
$ac_ext
15321 if test -z "$lt_cv_aix_libpath__CXX"; then
15322 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15327 aix_libpath
=$lt_cv_aix_libpath__CXX
15330 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15332 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
15334 if test ia64
= "$host_cpu"; then
15335 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
15336 allow_undefined_flag_CXX
="-z nodefs"
15337 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
15339 # Determine the default libpath from the value encoded in an
15340 # empty executable.
15341 if test set = "${lt_cv_aix_libpath+set}"; then
15342 aix_libpath
=$lt_cv_aix_libpath
15344 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15345 $as_echo_n "(cached) " >&6
15347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15348 /* end confdefs.h. */
15358 if ac_fn_cxx_try_link
"$LINENO"; then :
15360 lt_aix_libpath_sed
='
15361 /Import File Strings/,/^$/ {
15363 s/^0 *\([^ ]*\) *$/\1/
15367 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15368 # Check for a 64-bit object if we didn't find anything.
15369 if test -z "$lt_cv_aix_libpath__CXX"; then
15370 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15373 rm -f core conftest.err conftest.
$ac_objext \
15374 conftest
$ac_exeext conftest.
$ac_ext
15375 if test -z "$lt_cv_aix_libpath__CXX"; then
15376 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15381 aix_libpath
=$lt_cv_aix_libpath__CXX
15384 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15385 # Warning - without using the other run time loading flags,
15386 # -berok will link without error, but may produce a broken library.
15387 no_undefined_flag_CXX
=' $wl-bernotok'
15388 allow_undefined_flag_CXX
=' $wl-berok'
15389 if test yes = "$with_gnu_ld"; then
15390 # We only use this code for GNU lds that support --whole-archive.
15391 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15393 # Exported symbols can be pulled into shared objects from archives
15394 whole_archive_flag_spec_CXX
='$convenience'
15396 archive_cmds_need_lc_CXX
=yes
15397 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15398 # -brtl affects multiple linker settings, -berok does not and is overridden later
15399 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15400 if test svr4
!= "$with_aix_soname"; then
15401 # This is similar to how AIX traditionally builds its shared
15402 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15403 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
15405 if test aix
!= "$with_aix_soname"; then
15406 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
15408 # used by -dlpreopen to get the symbols
15409 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15411 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15417 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
15418 allow_undefined_flag_CXX
=unsupported
15419 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15420 # support --undefined. This deserves some investigation. FIXME
15421 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15428 case $cc_basename in
15430 # FIXME: insert proper C++ library support
15436 cygwin
* | mingw
* | pw32
* | cegcc
*)
15437 case $GXX,$cc_basename in
15440 # hardcode_libdir_flag_spec is actually meaningless, as there is
15441 # no search path for DLLs.
15442 hardcode_libdir_flag_spec_CXX
=' '
15443 allow_undefined_flag_CXX
=unsupported
15444 always_export_symbols_CXX
=yes
15445 file_list_spec_CXX
='@'
15446 # Tell ltmain to make .lib files, not .a files.
15448 # Tell ltmain to make .dll files, not .so files.
15450 # FIXME: Setting linknames here is a bad hack.
15451 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15452 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15453 cp "$export_symbols" "$output_objdir/$soname.def";
15454 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15456 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15458 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15460 # The linker will not automatically build a static lib if we build a DLL.
15461 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15462 enable_shared_with_static_runtimes_CXX
=yes
15464 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
15465 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
15466 lt_tool_outputfile="@TOOL_OUTPUT@"~
15467 case $lt_outputfile in
15470 lt_outputfile=$lt_outputfile.exe
15471 lt_tool_outputfile=$lt_tool_outputfile.exe
15474 func_to_tool_file "$lt_outputfile"~
15475 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15476 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15477 $RM "$lt_outputfile.manifest";
15482 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15483 # as there is no search path for DLLs.
15484 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15485 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
15486 allow_undefined_flag_CXX
=unsupported
15487 always_export_symbols_CXX
=no
15488 enable_shared_with_static_runtimes_CXX
=yes
15490 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
15491 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15492 # If the export-symbols file already is a .def file, use it as
15493 # is; otherwise, prepend EXPORTS...
15494 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15495 cp $export_symbols $output_objdir/$soname.def;
15497 echo EXPORTS > $output_objdir/$soname.def;
15498 cat $export_symbols >> $output_objdir/$soname.def;
15500 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15507 darwin
* | rhapsody
*)
15510 archive_cmds_need_lc_CXX
=no
15511 hardcode_direct_CXX
=no
15512 hardcode_automatic_CXX
=yes
15513 hardcode_shlibpath_var_CXX
=unsupported
15514 if test yes = "$lt_cv_ld_force_load"; then
15515 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15518 whole_archive_flag_spec_CXX
=''
15520 link_all_deplibs_CXX
=yes
15521 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
15522 case $cc_basename in
15523 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
15524 *) _lt_dar_can_shared
=$GCC ;;
15526 if test yes = "$_lt_dar_can_shared"; then
15527 output_verbose_link_cmd
=func_echo_all
15528 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
15529 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15530 archive_expsym_cmds_CXX
="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
15531 module_expsym_cmds_CXX
="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
15532 if test yes != "$lt_cv_apple_cc_single_mod"; then
15533 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
15534 archive_expsym_cmds_CXX
="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
15544 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15545 hardcode_minus_L_CXX
=yes
15546 allow_undefined_flag_CXX
=unsupported
15548 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15549 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15550 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15551 $ECHO EXPORTS >> $output_objdir/$libname.def~
15552 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15553 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15554 emximp -o $lib $output_objdir/$libname.def'
15555 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15556 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15557 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15558 $ECHO EXPORTS >> $output_objdir/$libname.def~
15559 prefix_cmds="$SED"~
15560 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15561 prefix_cmds="$prefix_cmds -e 1d";
15563 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15564 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15565 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15566 emximp -o $lib $output_objdir/$libname.def'
15567 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15568 enable_shared_with_static_runtimes_CXX
=yes
15572 case $cc_basename in
15574 # FIXME: insert proper C++ library support
15578 # Green Hills C++ Compiler
15579 # FIXME: insert proper C++ library support
15583 # FIXME: insert proper C++ library support
15590 # C++ shared libraries reported to be fairly broken before
15596 archive_cmds_need_lc_CXX
=no
15599 freebsd
* | dragonfly
*)
15600 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15606 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15607 link_all_deplibs_CXX
=yes
15611 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15612 hardcode_libdir_separator_CXX
=:
15613 export_dynamic_flag_spec_CXX
='$wl-E'
15614 hardcode_direct_CXX
=yes
15615 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15616 # but as the default
15617 # location of the library.
15619 case $cc_basename in
15621 # FIXME: insert proper C++ library support
15625 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15626 # Commands to make compiler produce verbose output that lists
15627 # what "hidden" libraries, object files and flags are used when
15628 # linking a shared library.
15630 # There doesn't appear to be a way to prevent this compiler from
15631 # explicitly linking system object files so we need to strip them
15632 # from the output so that they don't get included in the library
15634 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15637 if test yes = "$GXX"; then
15638 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15640 # FIXME: insert proper C++ library support
15648 if test no
= "$with_gnu_ld"; then
15649 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15650 hardcode_libdir_separator_CXX
=:
15656 export_dynamic_flag_spec_CXX
='$wl-E'
15662 hardcode_direct_CXX
=no
15663 hardcode_shlibpath_var_CXX
=no
15666 hardcode_direct_CXX
=yes
15667 hardcode_direct_absolute_CXX
=yes
15668 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15669 # but as the default
15670 # location of the library.
15674 case $cc_basename in
15676 # FIXME: insert proper C++ library support
15682 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15685 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15688 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15691 # Commands to make compiler produce verbose output that lists
15692 # what "hidden" libraries, object files and flags are used when
15693 # linking a shared library.
15695 # There doesn't appear to be a way to prevent this compiler from
15696 # explicitly linking system object files so we need to strip them
15697 # from the output so that they don't get included in the library
15699 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15702 if test yes = "$GXX"; then
15703 if test no
= "$with_gnu_ld"; then
15706 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15709 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15712 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15717 # FIXME: insert proper C++ library support
15725 hardcode_direct_CXX
=no
15726 hardcode_shlibpath_var_CXX
=no
15727 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15728 export_dynamic_flag_spec_CXX
='$wl-E'
15729 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15730 # Instead, shared libraries are loaded at an image base (0x10000000 by
15731 # default) and relocated if they conflict, which is a slow very memory
15732 # consuming and fragmenting process. To avoid this, we pick a random,
15733 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15734 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15735 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15736 archive_expsym_cmds_CXX
='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15739 case $cc_basename in
15742 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15744 # Archives containing C++ object files must be created using
15745 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15746 # necessary to make sure instantiated templates are included
15748 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15751 if test yes = "$GXX"; then
15752 if test no
= "$with_gnu_ld"; then
15753 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15755 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
15758 link_all_deplibs_CXX
=yes
15761 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15762 hardcode_libdir_separator_CXX
=:
15763 inherit_rpath_CXX
=yes
15766 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15767 case $cc_basename in
15769 # Kuck and Associates, Inc. (KAI) C++ Compiler
15771 # KCC will only create a shared library if the output file
15772 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15773 # to its proper name (with version) after linking.
15774 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15775 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
15776 # Commands to make compiler produce verbose output that lists
15777 # what "hidden" libraries, object files and flags are used when
15778 # linking a shared library.
15780 # There doesn't appear to be a way to prevent this compiler from
15781 # explicitly linking system object files so we need to strip them
15782 # from the output so that they don't get included in the library
15784 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15786 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15787 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15789 # Archives containing C++ object files must be created using
15790 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15791 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15796 # version 8.0 and above of icpc choke on multiply defined symbols
15797 # if we add $predep_objects and $postdep_objects, however 7.1 and
15798 # earlier do not add the objects themselves.
15799 case `$CC -V 2>&1` in
15801 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15802 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15804 *) # Version 8.0 or newer
15807 ia64
*) tmp_idyn
=' -i_dynamic';;
15809 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15810 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15813 archive_cmds_need_lc_CXX
=no
15814 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15815 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15816 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15819 # Portland Group C++ compiler
15821 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
15822 prelink_cmds_CXX
='tpldir=Template.dir~
15824 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15825 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15826 old_archive_cmds_CXX
='tpldir=Template.dir~
15828 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15829 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15831 archive_cmds_CXX
='tpldir=Template.dir~
15833 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15834 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15835 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15837 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15838 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15840 *) # Version 6 and above use weak symbols
15841 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15842 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15846 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
15847 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15848 whole_archive_flag_spec_CXX
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
15852 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15853 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
15855 runpath_var
=LD_RUN_PATH
15856 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15857 hardcode_libdir_separator_CXX
=:
15859 # Commands to make compiler produce verbose output that lists
15860 # what "hidden" libraries, object files and flags are used when
15861 # linking a shared library.
15863 # There doesn't appear to be a way to prevent this compiler from
15864 # explicitly linking system object files so we need to strip them
15865 # from the output so that they don't get included in the library
15867 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15869 xl
* | mpixl
* | bgxl
*)
15870 # IBM XL 8.0 on PPC, with GNU ld
15871 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15872 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15873 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15874 if test yes = "$supports_anon_versioning"; then
15875 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15876 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15877 echo "local: *; };" >> $output_objdir/$libname.ver~
15878 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15882 case `$CC -V 2>&1 | sed 5q` in
15885 no_undefined_flag_CXX
=' -zdefs'
15886 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15887 archive_expsym_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
15888 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15889 whole_archive_flag_spec_CXX
='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
15890 compiler_needs_object_CXX
=yes
15892 # Not sure whether something based on
15893 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15895 output_verbose_link_cmd
='func_echo_all'
15897 # Archives containing C++ object files must be created using
15898 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15899 # necessary to make sure instantiated templates are included
15901 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15909 # FIXME: insert proper C++ library support
15914 # FIXME: insert proper C++ library support
15919 case $cc_basename in
15921 # FIXME: insert proper C++ library support
15925 # FIXME: insert proper C++ library support
15932 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15933 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15935 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15936 hardcode_direct_CXX
=yes
15937 hardcode_shlibpath_var_CXX
=no
15939 # Workaround some broken pre-1.5 toolchains
15940 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15947 openbsd
* | bitrig
*)
15948 if test -f /usr
/libexec
/ld.so
; then
15949 hardcode_direct_CXX
=yes
15950 hardcode_shlibpath_var_CXX
=no
15951 hardcode_direct_absolute_CXX
=yes
15952 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15953 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15954 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15955 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15956 export_dynamic_flag_spec_CXX
='$wl-E'
15957 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15959 output_verbose_link_cmd
=func_echo_all
15965 osf3
* | osf4
* | osf5
*)
15966 case $cc_basename in
15968 # Kuck and Associates, Inc. (KAI) C++ Compiler
15970 # KCC will only create a shared library if the output file
15971 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15972 # to its proper name (with version) after linking.
15973 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15975 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15976 hardcode_libdir_separator_CXX
=:
15978 # Archives containing C++ object files must be created using
15979 # the KAI C++ compiler.
15981 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
15982 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
15986 # Rational C++ 2.4.1
15987 # FIXME: insert proper C++ library support
15993 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
15994 archive_cmds_CXX
='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15995 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15998 allow_undefined_flag_CXX
=' -expect_unresolved \*'
15999 archive_cmds_CXX
='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
16000 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16001 echo "-hidden">> $lib.exp~
16002 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
16004 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
16008 hardcode_libdir_separator_CXX
=:
16010 # Commands to make compiler produce verbose output that lists
16011 # what "hidden" libraries, object files and flags are used when
16012 # linking a shared library.
16014 # There doesn't appear to be a way to prevent this compiler from
16015 # explicitly linking system object files so we need to strip them
16016 # from the output so that they don't get included in the library
16018 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
16021 if test yes,no
= "$GXX,$with_gnu_ld"; then
16022 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16025 archive_cmds_CXX
='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
16028 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
16032 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16033 hardcode_libdir_separator_CXX
=:
16035 # Commands to make compiler produce verbose output that lists
16036 # what "hidden" libraries, object files and flags are used when
16037 # linking a shared library.
16038 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16041 # FIXME: insert proper C++ library support
16049 # FIXME: insert proper C++ library support
16054 case $cc_basename in
16057 # FIXME: insert proper C++ library support
16062 # FIXME: insert proper C++ library support
16066 # FIXME: insert proper C++ library support
16073 case $cc_basename in
16075 # Sun C++ 4.2, 5.x and Centerline C++
16076 archive_cmds_need_lc_CXX
=yes
16077 no_undefined_flag_CXX
=' -zdefs'
16078 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16079 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16080 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16082 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16083 hardcode_shlibpath_var_CXX
=no
16085 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16087 # The compiler driver will combine and reorder linker options,
16088 # but understands '-z linker_flag'.
16089 # Supported since Solaris 2.6 (maybe 2.5.1?)
16090 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16093 link_all_deplibs_CXX
=yes
16095 output_verbose_link_cmd
='func_echo_all'
16097 # Archives containing C++ object files must be created using
16098 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16099 # necessary to make sure instantiated templates are included
16101 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16104 # Green Hills C++ Compiler
16105 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16107 # The C++ compiler must be used to create the archive.
16108 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16111 # GNU C++ compiler with Solaris linker
16112 if test yes,no
= "$GXX,$with_gnu_ld"; then
16113 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
16114 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
16115 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16116 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16117 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16119 # Commands to make compiler produce verbose output that lists
16120 # what "hidden" libraries, object files and flags are used when
16121 # linking a shared library.
16122 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16124 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16126 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16127 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16128 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16130 # Commands to make compiler produce verbose output that lists
16131 # what "hidden" libraries, object files and flags are used when
16132 # linking a shared library.
16133 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16136 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
16138 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16140 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16148 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16149 no_undefined_flag_CXX
='$wl-z,text'
16150 archive_cmds_need_lc_CXX
=no
16151 hardcode_shlibpath_var_CXX
=no
16152 runpath_var
='LD_RUN_PATH'
16154 case $cc_basename in
16156 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16157 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16160 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16161 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16166 sysv5
* | sco3.2v5
* | sco5v6
*)
16167 # Note: We CANNOT use -z defs as we might desire, because we do not
16168 # link with -lc, and that would cause any symbols used from libc to
16169 # always be unresolved, which means just about no library would
16170 # ever link correctly. If we're not using GNU ld we use -z text
16171 # though, which does catch some bad symbols but isn't as heavy-handed
16173 no_undefined_flag_CXX
='$wl-z,text'
16174 allow_undefined_flag_CXX
='$wl-z,nodefs'
16175 archive_cmds_need_lc_CXX
=no
16176 hardcode_shlibpath_var_CXX
=no
16177 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
16178 hardcode_libdir_separator_CXX
=':'
16179 link_all_deplibs_CXX
=yes
16180 export_dynamic_flag_spec_CXX
='$wl-Bexport'
16181 runpath_var
='LD_RUN_PATH'
16183 case $cc_basename in
16185 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16186 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16187 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16188 '"$old_archive_cmds_CXX"
16189 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16190 '"$reload_cmds_CXX"
16193 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16194 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16200 case $cc_basename in
16202 # NonStop-UX NCC 3.20
16203 # FIXME: insert proper C++ library support
16207 # FIXME: insert proper C++ library support
16214 # FIXME: insert proper C++ library support
16219 # FIXME: insert proper C++ library support
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16225 $as_echo "$ld_shlibs_CXX" >&6; }
16226 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
16232 ## There is no encapsulation within the following macros, do not change
16233 ## the running order or otherwise move them around unless you know exactly
16234 ## what you are doing...
16235 # Dependencies to place before and after the object being linked:
16236 predep_objects_CXX
=
16237 postdep_objects_CXX
=
16240 compiler_lib_search_path_CXX
=
16242 cat > conftest.
$ac_ext <<_LT_EOF
16246 Foo (void) { a = 0; }
16253 _lt_libdeps_save_CFLAGS
=$CFLAGS
16254 case "$CC $CFLAGS " in #(
16255 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
16256 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
16257 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
16260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16261 (eval $ac_compile) 2>&5
16263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16264 test $ac_status = 0; }; then
16265 # Parse the compiler output and extract the necessary
16266 # objects, libraries and library flags.
16268 # Sentinel used to keep track of whether or not we are before
16269 # the conftest object file.
16270 pre_test_object_deps_done
=no
16272 for p
in `eval "$output_verbose_link_cmd"`; do
16276 # Some compilers place space between "-{L,R}" and the path.
16277 # Remove the space.
16278 if test x-L
= "$p" ||
16279 test x-R
= "$p"; then
16284 # Expand the sysroot to ease extracting the directories later.
16285 if test -z "$prev"; then
16287 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
16288 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
16289 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
16293 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
16295 if test no
= "$pre_test_object_deps_done"; then
16298 # Internal compiler library paths should come after those
16299 # provided the user. The postdeps already come after the
16300 # user supplied libs so there is no need to process them.
16301 if test -z "$compiler_lib_search_path_CXX"; then
16302 compiler_lib_search_path_CXX
=$prev$p
16304 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
16307 # The "-l" case would never come before the object being
16308 # linked, so don't bother handling this case.
16311 if test -z "$postdeps_CXX"; then
16312 postdeps_CXX
=$prev$p
16314 postdeps_CXX
="${postdeps_CXX} $prev$p"
16320 *.lto.
$objext) ;; # Ignore GCC LTO objects
16322 # This assumes that the test object file only shows up
16323 # once in the compiler output.
16324 if test "$p" = "conftest.$objext"; then
16325 pre_test_object_deps_done
=yes
16329 if test no
= "$pre_test_object_deps_done"; then
16330 if test -z "$predep_objects_CXX"; then
16331 predep_objects_CXX
=$p
16333 predep_objects_CXX
="$predep_objects_CXX $p"
16336 if test -z "$postdep_objects_CXX"; then
16337 postdep_objects_CXX
=$p
16339 postdep_objects_CXX
="$postdep_objects_CXX $p"
16344 *) ;; # Ignore the rest.
16352 echo "libtool.m4: error: problem compiling CXX test program"
16355 $RM -f confest.
$objext
16356 CFLAGS
=$_lt_libdeps_save_CFLAGS
16358 # PORTME: override above test on systems where it is broken
16361 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16362 # hack all around it, let's just trust "g++" to DTRT.
16363 predep_objects_CXX
=
16364 postdep_objects_CXX
=
16370 case " $postdeps_CXX " in
16371 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16373 compiler_lib_search_dirs_CXX
=
16374 if test -n "${compiler_lib_search_path_CXX}"; then
16375 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16408 lt_prog_compiler_wl_CXX
=
16409 lt_prog_compiler_pic_CXX
=
16410 lt_prog_compiler_static_CXX
=
16413 # C++ specific cases for pic, static, wl, etc.
16414 if test yes = "$GXX"; then
16415 lt_prog_compiler_wl_CXX
='-Wl,'
16416 lt_prog_compiler_static_CXX
='-static'
16420 # All AIX code is PIC.
16421 if test ia64
= "$host_cpu"; then
16422 # AIX 5 now supports IA64 processor
16423 lt_prog_compiler_static_CXX
='-Bstatic'
16425 lt_prog_compiler_pic_CXX
='-fPIC'
16431 # see comment about AmigaOS4 .so support
16432 lt_prog_compiler_pic_CXX
='-fPIC'
16435 # FIXME: we need at least 68020 code to build shared libraries, but
16436 # adding the '-m68020' flag to GCC prevents building anything better,
16438 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16443 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16444 # PIC is the default for these OSes.
16446 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16447 # This hack is so that the source file can tell whether it is being
16448 # built for inclusion in a dll (and should export symbols for example).
16449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16450 # (--disable-auto-import) libraries
16451 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16454 lt_prog_compiler_static_CXX
='$wl-static'
16458 darwin
* | rhapsody
*)
16459 # PIC is the default on this platform
16460 # Common symbols not allowed in MH_DYLIB files
16461 lt_prog_compiler_pic_CXX
='-fno-common'
16464 # DJGPP does not support shared libraries at all
16465 lt_prog_compiler_pic_CXX
=
16468 # PIC is the default for Haiku.
16469 # The "-static" flag exists, but is broken.
16470 lt_prog_compiler_static_CXX
=
16473 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16474 # Instead, we relocate shared libraries at runtime.
16477 if test -d /usr
/nec
; then
16478 lt_prog_compiler_pic_CXX
=-Kconform_pic
16482 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16483 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16484 # sets the default TLS model and affects inlining.
16489 lt_prog_compiler_pic_CXX
='-fPIC'
16494 # QNX uses GNU C++, but need to define -shared option too, otherwise
16495 # it will coredump.
16496 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16499 lt_prog_compiler_pic_CXX
='-fPIC'
16505 # All AIX code is PIC.
16506 if test ia64
= "$host_cpu"; then
16507 # AIX 5 now supports IA64 processor
16508 lt_prog_compiler_static_CXX
='-Bstatic'
16510 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16514 case $cc_basename in
16516 # Green Hills C++ Compiler
16517 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16521 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16522 # This hack is so that the source file can tell whether it is being
16523 # built for inclusion in a dll (and should export symbols for example).
16524 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16527 case $cc_basename in
16529 lt_prog_compiler_pic_CXX
='-KPIC'
16532 # Green Hills C++ Compiler
16533 lt_prog_compiler_pic_CXX
='-pic'
16539 freebsd
* | dragonfly
*)
16540 # FreeBSD uses GNU C++
16542 hpux9
* | hpux10
* | hpux11
*)
16543 case $cc_basename in
16545 lt_prog_compiler_wl_CXX
='-Wl,'
16546 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16547 if test ia64
!= "$host_cpu"; then
16548 lt_prog_compiler_pic_CXX
='+Z'
16552 lt_prog_compiler_wl_CXX
='-Wl,'
16553 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16559 lt_prog_compiler_pic_CXX
='+Z'
16568 # This is c89, which is MS Visual C++ (no shared libs)
16569 # Anyone wants to do a port?
16571 irix5
* | irix6
* | nonstopux
*)
16572 case $cc_basename in
16574 lt_prog_compiler_wl_CXX
='-Wl,'
16575 lt_prog_compiler_static_CXX
='-non_shared'
16576 # CC pic flag -KPIC is the default.
16582 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16583 case $cc_basename in
16586 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16587 lt_prog_compiler_pic_CXX
='-fPIC'
16590 # old Intel C++ for x86_64, which still supported -KPIC.
16591 lt_prog_compiler_wl_CXX
='-Wl,'
16592 lt_prog_compiler_pic_CXX
='-KPIC'
16593 lt_prog_compiler_static_CXX
='-static'
16596 # Intel C++, used to be incompatible with GCC.
16597 # ICC 10 doesn't accept -KPIC any more.
16598 lt_prog_compiler_wl_CXX
='-Wl,'
16599 lt_prog_compiler_pic_CXX
='-fPIC'
16600 lt_prog_compiler_static_CXX
='-static'
16603 # Portland Group C++ compiler
16604 lt_prog_compiler_wl_CXX
='-Wl,'
16605 lt_prog_compiler_pic_CXX
='-fpic'
16606 lt_prog_compiler_static_CXX
='-Bstatic'
16610 # Make sure the PIC flag is empty. It appears that all Alpha
16611 # Linux and Compaq Tru64 Unix objects are PIC.
16612 lt_prog_compiler_pic_CXX
=
16613 lt_prog_compiler_static_CXX
='-non_shared'
16615 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16616 # IBM XL 8.0, 9.0 on PPC and BlueGene
16617 lt_prog_compiler_wl_CXX
='-Wl,'
16618 lt_prog_compiler_pic_CXX
='-qpic'
16619 lt_prog_compiler_static_CXX
='-qstaticlink'
16622 case `$CC -V 2>&1 | sed 5q` in
16625 lt_prog_compiler_pic_CXX
='-KPIC'
16626 lt_prog_compiler_static_CXX
='-Bstatic'
16627 lt_prog_compiler_wl_CXX
='-Qoption ld '
16638 case $cc_basename in
16640 lt_prog_compiler_pic_CXX
='-W c,exportall'
16649 # QNX uses GNU C++, but need to define -shared option too, otherwise
16650 # it will coredump.
16651 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16653 osf3
* | osf4
* | osf5
*)
16654 case $cc_basename in
16656 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16659 # Rational C++ 2.4.1
16660 lt_prog_compiler_pic_CXX
='-pic'
16663 # Digital/Compaq C++
16664 lt_prog_compiler_wl_CXX
='-Wl,'
16665 # Make sure the PIC flag is empty. It appears that all Alpha
16666 # Linux and Compaq Tru64 Unix objects are PIC.
16667 lt_prog_compiler_pic_CXX
=
16668 lt_prog_compiler_static_CXX
='-non_shared'
16677 case $cc_basename in
16679 # Sun C++ 4.2, 5.x and Centerline C++
16680 lt_prog_compiler_pic_CXX
='-KPIC'
16681 lt_prog_compiler_static_CXX
='-Bstatic'
16682 lt_prog_compiler_wl_CXX
='-Qoption ld '
16685 # Green Hills C++ Compiler
16686 lt_prog_compiler_pic_CXX
='-PIC'
16693 case $cc_basename in
16696 lt_prog_compiler_pic_CXX
='-pic'
16697 lt_prog_compiler_static_CXX
='-Bstatic'
16701 lt_prog_compiler_pic_CXX
='-pic'
16707 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16708 case $cc_basename in
16710 lt_prog_compiler_wl_CXX
='-Wl,'
16711 lt_prog_compiler_pic_CXX
='-KPIC'
16712 lt_prog_compiler_static_CXX
='-Bstatic'
16717 case $cc_basename in
16719 # NonStop-UX NCC 3.20
16720 lt_prog_compiler_pic_CXX
='-KPIC'
16729 lt_prog_compiler_can_build_shared_CXX
=no
16735 # For platforms that do not support PIC, -DPIC is meaningless:
16737 lt_prog_compiler_pic_CXX
=
16740 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16745 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16746 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
16747 $as_echo_n "(cached) " >&6
16749 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16752 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16753 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
16756 # Check to make sure the PIC flag actually works.
16758 if test -n "$lt_prog_compiler_pic_CXX"; then
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16760 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16761 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16762 $as_echo_n "(cached) " >&6
16764 lt_cv_prog_compiler_pic_works_CXX
=no
16765 ac_outfile
=conftest.
$ac_objext
16766 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16767 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16768 # Insert the option either (1) after the last *FLAGS variable, or
16769 # (2) before a word containing "conftest.", or (3) at the end.
16770 # Note that $ac_compile itself does not contain backslashes and begins
16771 # with a dollar sign (not a hyphen), so the echo should work correctly.
16772 # The option is referenced via a variable to avoid confusing sed.
16773 lt_compile
=`echo "$ac_compile" | $SED \
16774 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16775 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16776 -e 's:$: $lt_compiler_flag:'`
16777 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16778 (eval "$lt_compile" 2>conftest.err
)
16780 cat conftest.err
>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 if (exit $ac_status) && test -s "$ac_outfile"; then
16783 # The compiler can only warn and ignore the option if not recognized
16784 # So say no if there are warnings other than the usual output.
16785 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
16786 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16787 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16788 lt_cv_prog_compiler_pic_works_CXX
=yes
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16795 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16797 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16798 case $lt_prog_compiler_pic_CXX in
16800 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16803 lt_prog_compiler_pic_CXX
=
16804 lt_prog_compiler_can_build_shared_CXX
=no
16814 # Check to make sure the static flag actually works.
16816 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16818 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16819 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16820 $as_echo_n "(cached) " >&6
16822 lt_cv_prog_compiler_static_works_CXX
=no
16823 save_LDFLAGS
=$LDFLAGS
16824 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16825 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16826 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16827 # The linker can only warn and ignore the option if not recognized
16828 # So say no if there are warnings
16829 if test -s conftest.err
; then
16830 # Append any errors to the config.log.
16831 cat conftest.err
1>&5
16832 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
16833 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16834 if diff conftest.exp conftest.er2
>/dev
/null
; then
16835 lt_cv_prog_compiler_static_works_CXX
=yes
16838 lt_cv_prog_compiler_static_works_CXX
=yes
16842 LDFLAGS
=$save_LDFLAGS
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16846 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16848 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16851 lt_prog_compiler_static_CXX
=
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16858 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16859 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16860 $as_echo_n "(cached) " >&6
16862 lt_cv_prog_compiler_c_o_CXX
=no
16863 $RM -r conftest
2>/dev
/null
16867 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16869 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16870 # Insert the option either (1) after the last *FLAGS variable, or
16871 # (2) before a word containing "conftest.", or (3) at the end.
16872 # Note that $ac_compile itself does not contain backslashes and begins
16873 # with a dollar sign (not a hyphen), so the echo should work correctly.
16874 lt_compile
=`echo "$ac_compile" | $SED \
16875 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16876 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16877 -e 's:$: $lt_compiler_flag:'`
16878 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16879 (eval "$lt_compile" 2>out
/conftest.err
)
16881 cat out
/conftest.err
>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16885 # The compiler can only warn and ignore the option if not recognized
16886 # So say no if there are warnings
16887 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
16888 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16889 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16890 lt_cv_prog_compiler_c_o_CXX
=yes
16895 # SGI C++ compiler will create directory out/ii_files/ for
16896 # template instantiation
16897 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16898 $RM out
/* && rmdir out
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16905 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16910 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16911 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16912 $as_echo_n "(cached) " >&6
16914 lt_cv_prog_compiler_c_o_CXX
=no
16915 $RM -r conftest
2>/dev
/null
16919 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16921 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16922 # Insert the option either (1) after the last *FLAGS variable, or
16923 # (2) before a word containing "conftest.", or (3) at the end.
16924 # Note that $ac_compile itself does not contain backslashes and begins
16925 # with a dollar sign (not a hyphen), so the echo should work correctly.
16926 lt_compile
=`echo "$ac_compile" | $SED \
16927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16929 -e 's:$: $lt_compiler_flag:'`
16930 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16931 (eval "$lt_compile" 2>out
/conftest.err
)
16933 cat out
/conftest.err
>&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16937 # The compiler can only warn and ignore the option if not recognized
16938 # So say no if there are warnings
16939 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
16940 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16941 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16942 lt_cv_prog_compiler_c_o_CXX
=yes
16947 # SGI C++ compiler will create directory out/ii_files/ for
16948 # template instantiation
16949 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16950 $RM out
/* && rmdir out
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16957 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16962 hard_links
=nottested
16963 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
16964 # do not overwrite the value of need_locks provided by the user
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16966 $as_echo_n "checking if we can lock with hard links... " >&6; }
16969 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16971 ln conftest.a conftest.b
2>&5 || hard_links
=no
16972 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16974 $as_echo "$hard_links" >&6; }
16975 if test no
= "$hard_links"; then
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16977 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16987 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16989 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16990 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16993 # If we're using GNU nm, then we don't want the "-C" option.
16994 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16995 # Without the "-l" option, or with the "-B" option, AIX nm treats
16996 # weak defined symbols like other global defined symbols, whereas
16997 # GNU nm marks them as "W".
16998 # While the 'weak' keyword is ignored in the Export File, we need
16999 # it in the Import File for the 'aix-soname' feature, so we have
17000 # to replace the "-B" option with "-P" for AIX nm.
17001 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
17002 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
17004 export_symbols_cmds_CXX
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "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'
17008 export_symbols_cmds_CXX
=$ltdll_cmds
17010 cygwin
* | mingw
* | cegcc
*)
17011 case $cc_basename in
17013 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17016 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17017 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17022 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17027 $as_echo "$ld_shlibs_CXX" >&6; }
17028 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
17030 with_gnu_ld_CXX
=$with_gnu_ld
17038 # Do we need to explicitly link libc?
17040 case "x$archive_cmds_need_lc_CXX" in
17042 # Assume -lc should be added
17043 archive_cmds_need_lc_CXX
=yes
17045 if test yes,yes = "$GCC,$enable_shared"; then
17046 case $archive_cmds_CXX in
17048 # FIXME: we may have to deal with multi-command sequences.
17051 # Test whether the compiler implicitly links with -lc since on some
17052 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17053 # to ld, don't add -lc before -lgcc.
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17055 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17056 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17057 $as_echo_n "(cached) " >&6
17060 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17063 (eval $ac_compile) 2>&5
17065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17066 test $ac_status = 0; } 2>conftest.err
; then
17069 libobjs
=conftest.
$ac_objext
17071 wl
=$lt_prog_compiler_wl_CXX
17072 pic_flag
=$lt_prog_compiler_pic_CXX
17078 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17079 allow_undefined_flag_CXX
=
17080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17081 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17084 test $ac_status = 0; }
17086 lt_cv_archive_cmds_need_lc_CXX
=no
17088 lt_cv_archive_cmds_need_lc_CXX
=yes
17090 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17092 cat conftest.err
1>&5
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17098 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17099 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17168 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17170 library_names_spec
=
17171 libname_spec
='lib$name'
17175 postuninstall_cmds
=
17179 shlibpath_overrides_runpath
=unknown
17181 dynamic_linker
="$host_os ld.so"
17182 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17183 need_lib_prefix
=unknown
17184 hardcode_into_libs
=no
17186 # when you set need_version to no, make sure it does not cause -set_version
17187 # flags to be left without arguments
17188 need_version
=unknown
17194 version_type
=linux
# correct to gnu/linux during the next big refactor
17195 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
17196 shlibpath_var
=LIBPATH
17198 # AIX 3 has no versioning support, so we append a major version to the name.
17199 soname_spec
='$libname$release$shared_ext$major'
17203 version_type
=linux
# correct to gnu/linux during the next big refactor
17206 hardcode_into_libs
=yes
17207 if test ia64
= "$host_cpu"; then
17208 # AIX 5 supports IA64
17209 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17210 shlibpath_var
=LD_LIBRARY_PATH
17212 # With GCC up to 2.95.x, collect2 would create an import file
17213 # for dependence libraries. The import file would start with
17214 # the line '#! .'. This would cause the generated library to
17215 # depend on '.', always an invalid library. This was fixed in
17216 # development snapshots of GCC prior to 3.0.
17218 aix4 | aix4.
[01] | aix4.
[01].
*)
17219 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17221 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
17224 can_build_shared
=no
17228 # Using Import Files as archive members, it is possible to support
17229 # filename-based versioning of shared library archives on AIX. While
17230 # this would work for both with and without runtime linking, it will
17231 # prevent static linking of such archives. So we do filename-based
17232 # shared library versioning with .so extension only, which is used
17233 # when both runtime linking and shared linking is enabled.
17234 # Unfortunately, runtime linking may impact performance, so we do
17235 # not want this to be the default eventually. Also, we use the
17236 # versioned .so libs for executables only if there is the -brtl
17237 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17238 # To allow for filename-based versioning support, we need to create
17239 # libNAME.so.V as an archive file, containing:
17240 # *) an Import File, referring to the versioned filename of the
17241 # archive as well as the shared archive member, telling the
17242 # bitwidth (32 or 64) of that shared object, and providing the
17243 # list of exported symbols of that shared object, eventually
17244 # decorated with the 'weak' keyword
17245 # *) the shared object with the F_LOADONLY flag set, to really avoid
17246 # it being seen by the linker.
17247 # At run time we better use the real file rather than another symlink,
17248 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17250 case $with_aix_soname,$aix_use_runtimelinking in
17251 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17252 # soname into executable. Probably we can add versioning support to
17253 # collect2, so additional links can be useful in future.
17254 aix
,yes) # traditional libtool
17255 dynamic_linker
='AIX unversionable lib.so'
17256 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17257 # instead of lib<name>.a to let people know that these are not
17258 # typical AIX shared libraries.
17259 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17261 aix
,no
) # traditional AIX only
17262 dynamic_linker
='AIX lib.a(lib.so.V)'
17263 # We preserve .a as extension for shared libraries through AIX4.2
17264 # and later when we are not doing run time linking.
17265 library_names_spec
='$libname$release.a $libname.a'
17266 soname_spec
='$libname$release$shared_ext$major'
17268 svr4
,*) # full svr4 only
17269 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
17270 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17271 # We do not specify a path in Import Files, so LIBPATH fires.
17272 shlibpath_overrides_runpath
=yes
17274 *,yes) # both, prefer svr4
17275 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17276 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17277 # unpreferred sharedlib libNAME.a needs extra handling
17278 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"'
17279 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"'
17280 # We do not specify a path in Import Files, so LIBPATH fires.
17281 shlibpath_overrides_runpath
=yes
17283 *,no
) # both, prefer aix
17284 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17285 library_names_spec
='$libname$release.a $libname.a'
17286 soname_spec
='$libname$release$shared_ext$major'
17287 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17288 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)'
17289 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"'
17292 shlibpath_var
=LIBPATH
17299 # Since July 2007 AmigaOS4 officially supports .so libraries.
17300 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17301 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17304 library_names_spec
='$libname.ixlibrary $libname.a'
17305 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17306 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'
17312 library_names_spec
='$libname$shared_ext'
17313 dynamic_linker
="$host_os ld.so"
17314 shlibpath_var
=LIBRARY_PATH
17318 version_type
=linux
# correct to gnu/linux during the next big refactor
17320 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17321 soname_spec
='$libname$release$shared_ext$major'
17322 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17323 shlibpath_var
=LD_LIBRARY_PATH
17324 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17325 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17326 # the default ld.so.conf also contains /usr/contrib/lib and
17327 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17328 # libtool to hard-code these into programs
17331 cygwin
* | mingw
* | pw32
* | cegcc
*)
17332 version_type
=windows
17337 case $GCC,$cc_basename in
17340 library_names_spec
='$libname.dll.a'
17341 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17342 postinstall_cmds
='base_file=`basename \$file`~
17343 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17344 dldir=$destdir/`dirname \$dlpath`~
17345 test -d \$dldir || mkdir -p \$dldir~
17346 $install_prog $dir/$dlname \$dldir/$dlname~
17347 chmod a+x \$dldir/$dlname~
17348 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17349 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17351 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17352 dlpath=$dir/\$dldll~
17354 shlibpath_overrides_runpath
=yes
17358 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17359 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17363 # MinGW DLLs use traditional 'lib' prefix
17364 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17367 # pw32 DLLs use 'pw' prefix rather than 'lib'
17368 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17371 dynamic_linker
='Win32 ld.exe'
17376 libname_spec
='$name'
17377 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17378 library_names_spec
='$libname.dll.lib'
17382 sys_lib_search_path_spec
=
17385 for lt_path
in $LIB
17388 # Let DOS variable expansion print the short 8.3 style file name.
17389 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17390 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
17393 # Convert to MSYS style.
17394 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17397 # Convert to unix form, then to dos form, then back to unix form
17398 # but this time dos style (no spaces!) so that the unix form looks
17399 # like /cygdrive/c/PROGRA~1:/cygdr...
17400 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
17401 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17402 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17405 sys_lib_search_path_spec
=$LIB
17406 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17407 # It is most probably a Windows format PATH.
17408 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17410 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17412 # FIXME: find the short name or the path components, as spaces are
17413 # common. (e.g. "Program Files" -> "PROGRA~1")
17417 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17418 postinstall_cmds
='base_file=`basename \$file`~
17419 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17420 dldir=$destdir/`dirname \$dlpath`~
17421 test -d \$dldir || mkdir -p \$dldir~
17422 $install_prog $dir/$dlname \$dldir/$dlname'
17423 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17424 dlpath=$dir/\$dldll~
17426 shlibpath_overrides_runpath
=yes
17427 dynamic_linker
='Win32 link.exe'
17431 # Assume MSVC wrapper
17432 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
17433 dynamic_linker
='Win32 ld.exe'
17436 # FIXME: first we should search . and the directory the executable is in
17440 darwin
* | rhapsody
*)
17441 dynamic_linker
="$host_os dyld"
17442 version_type
=darwin
17445 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
17446 soname_spec
='$libname$release$major$shared_ext'
17447 shlibpath_overrides_runpath
=yes
17448 shlibpath_var
=DYLD_LIBRARY_PATH
17449 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17451 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17455 version_type
=linux
# correct to gnu/linux during the next big refactor
17458 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17459 soname_spec
='$libname$release$shared_ext$major'
17460 shlibpath_var
=LD_LIBRARY_PATH
17463 freebsd
* | dragonfly
*)
17464 # DragonFly does not have aout. When/if they implement a new
17465 # versioning mechanism, adjust this.
17466 if test -x /usr
/bin
/objformat
; then
17467 objformat
=`/usr/bin/objformat`
17470 freebsd
[23].
*) objformat
=aout
;;
17471 *) objformat
=elf
;;
17474 version_type
=freebsd-
$objformat
17475 case $version_type in
17477 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17478 soname_spec
='$libname$release$shared_ext$major'
17483 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17487 shlibpath_var
=LD_LIBRARY_PATH
17490 shlibpath_overrides_runpath
=yes
17492 freebsd3.
[01]* | freebsdelf3.
[01]*)
17493 shlibpath_overrides_runpath
=yes
17494 hardcode_into_libs
=yes
17496 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17497 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17498 shlibpath_overrides_runpath
=no
17499 hardcode_into_libs
=yes
17501 *) # from 4.6 on, and DragonFly
17502 shlibpath_overrides_runpath
=yes
17503 hardcode_into_libs
=yes
17509 version_type
=linux
# correct to gnu/linux during the next big refactor
17512 dynamic_linker
="$host_os runtime_loader"
17513 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17514 soname_spec
='$libname$release$shared_ext$major'
17515 shlibpath_var
=LIBRARY_PATH
17516 shlibpath_overrides_runpath
=no
17517 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17518 hardcode_into_libs
=yes
17521 hpux9
* | hpux10
* | hpux11
*)
17522 # Give a soname corresponding to the major version so that dld.sl refuses to
17523 # link against other versions.
17530 hardcode_into_libs
=yes
17531 dynamic_linker
="$host_os dld.so"
17532 shlibpath_var
=LD_LIBRARY_PATH
17533 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17534 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17535 soname_spec
='$libname$release$shared_ext$major'
17536 if test 32 = "$HPUX_IA64_MODE"; then
17537 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17538 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
17540 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17541 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
17546 hardcode_into_libs
=yes
17547 dynamic_linker
="$host_os dld.sl"
17548 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17549 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17550 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17551 soname_spec
='$libname$release$shared_ext$major'
17552 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17553 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17557 dynamic_linker
="$host_os dld.sl"
17558 shlibpath_var
=SHLIB_PATH
17559 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17560 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17561 soname_spec
='$libname$release$shared_ext$major'
17564 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17565 postinstall_cmds
='chmod 555 $lib'
17566 # or fails outright, so override atomically:
17567 install_override_mode
=555
17571 version_type
=linux
# correct to gnu/linux during the next big refactor
17574 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17575 soname_spec
='$libname$release$shared_ext$major'
17576 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17577 shlibpath_var
=LD_LIBRARY_PATH
17578 shlibpath_overrides_runpath
=no
17579 hardcode_into_libs
=yes
17582 irix5
* | irix6
* | nonstopux
*)
17584 nonstopux
*) version_type
=nonstopux
;;
17586 if test yes = "$lt_cv_prog_gnu_ld"; then
17587 version_type
=linux
# correct to gnu/linux during the next big refactor
17594 soname_spec
='$libname$release$shared_ext$major'
17595 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17597 irix5
* | nonstopux
*)
17598 libsuff
= shlibsuff
=
17601 case $LD in # libtool.m4 will add one of these switches to LD
17602 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17603 libsuff
= shlibsuff
= libmagic
=32-bit;;
17604 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17605 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17606 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17607 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17608 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17612 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17613 shlibpath_overrides_runpath
=no
17614 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17615 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
17616 hardcode_into_libs
=yes
17619 # No shared lib support for Linux oldld, aout, or coff.
17620 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17625 version_type
=none
# Android doesn't support versioned libraries.
17628 library_names_spec
='$libname$release$shared_ext'
17629 soname_spec
='$libname$release$shared_ext'
17631 shlibpath_var
=LD_LIBRARY_PATH
17632 shlibpath_overrides_runpath
=yes
17634 # This implies no fast_install, which is unacceptable.
17635 # Some rework will be needed to allow for fast_install
17636 # before this can be enabled.
17637 hardcode_into_libs
=yes
17639 dynamic_linker
='Android linker'
17640 # Don't embed -rpath directories since the linker doesn't support them.
17641 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17644 # This must be glibc/ELF.
17645 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17646 version_type
=linux
# correct to gnu/linux during the next big refactor
17649 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17650 soname_spec
='$libname$release$shared_ext$major'
17651 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17652 shlibpath_var
=LD_LIBRARY_PATH
17653 shlibpath_overrides_runpath
=no
17655 # Some binutils ld are patched to set DT_RUNPATH
17656 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17657 $as_echo_n "(cached) " >&6
17659 lt_cv_shlibpath_overrides_runpath
=no
17660 save_LDFLAGS
=$LDFLAGS
17661 save_libdir
=$libdir
17662 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17663 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17675 if ac_fn_cxx_try_link
"$LINENO"; then :
17676 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
17677 lt_cv_shlibpath_overrides_runpath
=yes
17680 rm -f core conftest.err conftest.
$ac_objext \
17681 conftest
$ac_exeext conftest.
$ac_ext
17682 LDFLAGS
=$save_LDFLAGS
17683 libdir
=$save_libdir
17687 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17689 # This implies no fast_install, which is unacceptable.
17690 # Some rework will be needed to allow for fast_install
17691 # before this can be enabled.
17692 hardcode_into_libs
=yes
17694 # Ideally, we could use ldconfig to report *all* directores which are
17695 # searched for libraries, however this is still not possible. Aside from not
17696 # being certain /sbin/ldconfig is available, command
17697 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17698 # even though it is searched at run-time. Try to do the best guess by
17699 # appending ld.so.conf contents (and includes) to the search path.
17700 if test -f /etc
/ld.so.conf
; then
17701 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' ' '`
17702 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17705 # We used to test for /lib/ld.so.1 and disable shared libraries on
17706 # powerpc, because MkLinux only supported shared libraries with the
17707 # GNU dynamic linker. Since this was broken with cross compilers,
17708 # most powerpc-linux boxes support dynamic linking these days and
17709 # people can always --disable-shared, the test was removed, and we
17710 # assume the GNU/Linux dynamic linker is in use.
17711 dynamic_linker
='GNU/Linux ld.so'
17718 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17719 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17720 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17721 dynamic_linker
='NetBSD (a.out) ld.so'
17723 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17724 soname_spec
='$libname$release$shared_ext$major'
17725 dynamic_linker
='NetBSD ld.elf_so'
17727 shlibpath_var
=LD_LIBRARY_PATH
17728 shlibpath_overrides_runpath
=yes
17729 hardcode_into_libs
=yes
17733 version_type
=linux
# correct to gnu/linux during the next big refactor
17734 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17735 shlibpath_var
=LD_LIBRARY_PATH
17736 shlibpath_overrides_runpath
=yes
17743 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17744 soname_spec
='$libname$release$shared_ext$major'
17745 shlibpath_var
=LD_LIBRARY_PATH
17746 shlibpath_overrides_runpath
=no
17747 hardcode_into_libs
=yes
17748 dynamic_linker
='ldqnx.so'
17751 openbsd
* | bitrig
*)
17753 sys_lib_dlsearch_path_spec
=/usr
/lib
17755 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17760 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17761 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17762 shlibpath_var
=LD_LIBRARY_PATH
17763 shlibpath_overrides_runpath
=yes
17767 libname_spec
='$name'
17768 version_type
=windows
17772 # OS/2 can only load a DLL with a base name of 8 characters or less.
17773 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
17774 v=$($ECHO $release$versuffix | tr -d .-);
17775 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17776 $ECHO $n$v`$shared_ext'
17777 library_names_spec
='${libname}_dll.$libext'
17778 dynamic_linker
='OS/2 ld.exe'
17779 shlibpath_var
=BEGINLIBPATH
17780 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17781 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17782 postinstall_cmds
='base_file=`basename \$file`~
17783 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17784 dldir=$destdir/`dirname \$dlpath`~
17785 test -d \$dldir || mkdir -p \$dldir~
17786 $install_prog $dir/$dlname \$dldir/$dlname~
17787 chmod a+x \$dldir/$dlname~
17788 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17789 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17791 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17792 dlpath=$dir/\$dldll~
17796 osf3
* | osf4
* | osf5
*)
17800 soname_spec
='$libname$release$shared_ext$major'
17801 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17802 shlibpath_var
=LD_LIBRARY_PATH
17803 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17804 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17812 version_type
=linux
# correct to gnu/linux during the next big refactor
17815 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17816 soname_spec
='$libname$release$shared_ext$major'
17817 shlibpath_var
=LD_LIBRARY_PATH
17818 shlibpath_overrides_runpath
=yes
17819 hardcode_into_libs
=yes
17820 # ldd complains unless libraries are executable
17821 postinstall_cmds
='chmod +x $lib'
17826 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17827 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17828 shlibpath_var
=LD_LIBRARY_PATH
17829 shlibpath_overrides_runpath
=yes
17830 if test yes = "$with_gnu_ld"; then
17837 version_type
=linux
# correct to gnu/linux during the next big refactor
17838 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17839 soname_spec
='$libname$release$shared_ext$major'
17840 shlibpath_var
=LD_LIBRARY_PATH
17841 case $host_vendor in
17843 shlibpath_overrides_runpath
=no
17845 runpath_var
=LD_RUN_PATH
17853 shlibpath_overrides_runpath
=no
17854 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17860 if test -d /usr
/nec
; then
17861 version_type
=linux
# correct to gnu/linux during the next big refactor
17862 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17863 soname_spec
='$libname$shared_ext.$major'
17864 shlibpath_var
=LD_LIBRARY_PATH
17868 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17872 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17873 soname_spec
='$libname$release$shared_ext$major'
17874 shlibpath_var
=LD_LIBRARY_PATH
17875 shlibpath_overrides_runpath
=yes
17876 hardcode_into_libs
=yes
17877 if test yes = "$with_gnu_ld"; then
17878 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17880 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17883 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17887 sys_lib_dlsearch_path_spec
='/usr/lib'
17891 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17892 version_type
=linux
# correct to gnu/linux during the next big refactor
17895 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17896 shlibpath_var
=LD_LIBRARY_PATH
17897 shlibpath_overrides_runpath
=no
17898 hardcode_into_libs
=yes
17902 version_type
=linux
# correct to gnu/linux during the next big refactor
17903 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17904 soname_spec
='$libname$release$shared_ext$major'
17905 shlibpath_var
=LD_LIBRARY_PATH
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17913 $as_echo "$dynamic_linker" >&6; }
17914 test no
= "$dynamic_linker" && can_build_shared
=no
17916 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17917 if test yes = "$GCC"; then
17918 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17921 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17922 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
17925 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17926 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
17929 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17930 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
17932 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17933 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
17935 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17936 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17978 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17979 hardcode_action_CXX
=
17980 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17981 test -n "$runpath_var_CXX" ||
17982 test yes = "$hardcode_automatic_CXX"; then
17984 # We can hardcode non-existent directories.
17985 if test no
!= "$hardcode_direct_CXX" &&
17986 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17987 # have to relink, otherwise we might link with an installed library
17988 # when we should be linking with a yet-to-be-installed one
17989 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17990 test no
!= "$hardcode_minus_L_CXX"; then
17991 # Linking always hardcodes the temporary library directory.
17992 hardcode_action_CXX
=relink
17994 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17995 hardcode_action_CXX
=immediate
17998 # We cannot hardcode anything, or else we can only hardcode existing
18000 hardcode_action_CXX
=unsupported
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18003 $as_echo "$hardcode_action_CXX" >&6; }
18005 if test relink
= "$hardcode_action_CXX" ||
18006 test yes = "$inherit_rpath_CXX"; then
18007 # Fast installation is not supported
18008 enable_fast_install
=no
18009 elif test yes = "$shlibpath_overrides_runpath" ||
18010 test no
= "$enable_shared"; then
18011 # Fast installation is not necessary
18012 enable_fast_install
=needless
18021 fi # test -n "$compiler"
18024 CFLAGS
=$lt_save_CFLAGS
18028 with_gnu_ld
=$lt_save_with_gnu_ld
18029 lt_cv_path_LDCXX
=$lt_cv_path_LD
18030 lt_cv_path_LD
=$lt_save_path_LD
18031 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
18032 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
18033 fi # test yes != "$_lt_caught_CXX_error"
18036 ac_cpp
='$CPP $CPPFLAGS'
18037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18043 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18044 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18045 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18046 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18047 if test -n "$ac_tool_prefix"; then
18048 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
18050 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18051 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18053 $as_echo_n "checking for $ac_word... " >&6; }
18054 if ${ac_cv_prog_OBJCXX+:} false
; then :
18055 $as_echo_n "(cached) " >&6
18057 if test -n "$OBJCXX"; then
18058 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
18060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18061 for as_dir
in $PATH
18064 test -z "$as_dir" && as_dir
=.
18065 for ac_exec_ext
in '' $ac_executable_extensions; do
18066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18067 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
18068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18077 OBJCXX
=$ac_cv_prog_OBJCXX
18078 if test -n "$OBJCXX"; then
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
18080 $as_echo "$OBJCXX" >&6; }
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18083 $as_echo "no" >&6; }
18087 test -n "$OBJCXX" && break
18090 if test -z "$OBJCXX"; then
18091 ac_ct_OBJCXX
=$OBJCXX
18092 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
18094 # Extract the first word of "$ac_prog", so it can be a program name with args.
18095 set dummy
$ac_prog; ac_word
=$2
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18097 $as_echo_n "checking for $ac_word... " >&6; }
18098 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
18099 $as_echo_n "(cached) " >&6
18101 if test -n "$ac_ct_OBJCXX"; then
18102 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
18104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18105 for as_dir
in $PATH
18108 test -z "$as_dir" && as_dir
=.
18109 for ac_exec_ext
in '' $ac_executable_extensions; do
18110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18111 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
18112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18121 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
18122 if test -n "$ac_ct_OBJCXX"; then
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
18124 $as_echo "$ac_ct_OBJCXX" >&6; }
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18127 $as_echo "no" >&6; }
18131 test -n "$ac_ct_OBJCXX" && break
18134 if test "x$ac_ct_OBJCXX" = x
; then
18137 case $cross_compiling:$ac_tool_warned in
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18141 ac_tool_warned
=yes ;;
18143 OBJCXX
=$ac_ct_OBJCXX
18147 # Provide some information about the compiler.
18148 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
18151 for ac_option
in --version -v -V -qversion; do
18152 { { ac_try
="$ac_compiler $ac_option >&5"
18153 case "(($ac_try" in
18154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18155 *) ac_try_echo=$ac_try;;
18157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18158 $as_echo "$ac_try_echo"; } >&5
18159 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18161 if test -s conftest.err; then
18163 ... rest of stderr output deleted ...
18164 10q' conftest.err >conftest.er1
18165 cat conftest.er1 >&5
18167 rm -f conftest.er1 conftest.err
18168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18169 test $ac_status = 0; }
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
18173 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
18174 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
18175 $as_echo_n "(cached) " >&6
18177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18178 /* end confdefs.h. */
18191 if ac_fn_objcxx_try_compile "$LINENO"; then :
18192 ac_compiler_gnu=yes
18196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18197 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
18201 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
18202 if test $ac_compiler_gnu = yes; then
18207 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
18208 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
18210 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
18211 if ${ac_cv_prog_objcxx_g+:} false; then :
18212 $as_echo_n "(cached) " >&6
18214 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
18215 ac_objcxx_werror_flag=yes
18216 ac_cv_prog_objcxx_g=no
18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h. */
18229 if ac_fn_objcxx_try_compile "$LINENO"; then :
18230 ac_cv_prog_objcxx_g=yes
18233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18234 /* end confdefs.h. */
18244 if ac_fn_objcxx_try_compile "$LINENO"; then :
18247 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
18249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h. */
18260 if ac_fn_objcxx_try_compile "$LINENO"; then :
18261 ac_cv_prog_objcxx_g=yes
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
18271 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
18272 if test "$ac_test_OBJCXXFLAGS" = set; then
18273 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
18274 elif test $ac_cv_prog_objcxx_g = yes; then
18275 if test "$GOBJCXX" = yes; then
18276 OBJCXXFLAGS="-g -O2"
18281 if test "$GOBJCXX" = yes; then
18288 ac_cpp='$CPP $CPPFLAGS'
18289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18293 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
18296 $as_echo_n "checking dependency style of $depcc... " >&6; }
18297 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
18298 $as_echo_n "(cached) " >&6
18300 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18301 # We make a subdir and do the tests there. Otherwise we can end up
18302 # making bogus files that we don't know about and never remove. For
18303 # instance it was reported that on HP-UX the gcc test will end up
18304 # making a dummy file named 'D' -- because '-MD' means "put the output
18306 rm -rf conftest.dir
18308 # Copy depcomp to subdir because otherwise we won't find it if we're
18309 # using a relative directory.
18310 cp "$am_depcomp" conftest.dir
18312 # We will build objects and dependencies in a subdirectory because
18313 # it helps to detect inapplicable dependency modes. For instance
18314 # both Tru64's cc and ICC support -MD to output dependencies as a
18315 # side effect of compilation, but ICC will put the dependencies in
18316 # the current directory while Tru64 will put them in the object
18320 am_cv_OBJCXX_dependencies_compiler_type=none
18321 if test "$am_compiler_list" = ""; then
18322 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
18324 am__universal=false
18327 for depmode in $am_compiler_list; do
18328 # Setup a source with many dependencies, because some compilers
18329 # like to wrap large dependency lists on column 80 (with \), and
18330 # we should not choose a depcomp mode which is confused by this.
18332 # We need to recreate these files for each test, as the compiler may
18333 # overwrite some of them when testing with obscure command lines.
18334 # This happens at least with the AIX C compiler.
18336 for i in 1 2 3 4 5 6; do
18337 echo '#include "conftst'$i'.h"' >> sub/conftest.c
18338 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
18339 # Solaris 10 /bin/sh.
18340 echo '/* dummy */' > sub/conftst$i.h
18342 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18344 # We check with '-c' and '-o' for the sake of the "dashmstdout"
18345 # mode. It turns out that the SunPro C++ compiler does not properly
18346 # handle '-M -o', and we need to detect this. Also, some Intel
18347 # versions had trouble with output in subdirs.
18348 am__obj=sub/conftest.${OBJEXT-o}
18349 am__minus_obj="-o $am__obj"
18352 # This depmode causes a compiler race in universal mode.
18353 test "$am__universal" = false || continue
18356 # After this tag, mechanisms are not by side-effect, so they'll
18357 # only be used when explicitly requested.
18358 if test "x$enable_dependency_tracking" = xyes; then
18364 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
18365 # This compiler won't grok '-c -o', but also, the minuso test has
18366 # not run yet. These depmodes are late enough in the game, and
18367 # so weak that their functioning should not be impacted.
18368 am__obj=conftest.${OBJEXT-o}
18373 if depmode=$depmode \
18374 source=sub/conftest.c object=$am__obj \
18375 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
18376 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
18377 >/dev/null 2>conftest.err &&
18378 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
18379 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
18380 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
18381 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
18382 # icc doesn't choke on unknown options, it will just issue warnings
18383 # or remarks (even with -Werror). So we grep stderr for any message
18384 # that says an option was ignored or not supported.
18385 # When given -MP, icc 7.0 and 7.1 complain thusly:
18386 # icc: Command line warning: ignoring option '-M'; no argument required
18387 # The diagnosis changed in icc 8.0:
18388 # icc: Command line remark: option '-MP' not supported
18389 if (grep 'ignoring option' conftest.err ||
18390 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
18391 am_cv_OBJCXX_dependencies_compiler_type=$depmode
18398 rm -rf conftest.dir
18400 am_cv_OBJCXX_dependencies_compiler_type=none
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
18405 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
18406 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
18409 test "x$enable_dependency_tracking" != xno \
18410 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
18411 am__fastdepOBJCXX_TRUE=
18412 am__fastdepOBJCXX_FALSE='#'
18414 am__fastdepOBJCXX_TRUE='#'
18415 am__fastdepOBJCXX_FALSE=
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the Objective C++ compiler" >&5
18419 $as_echo_n "checking what warning flags to pass to the Objective C++ compiler... " >&6; }
18420 if ${kpse_cv_warning_objcxxflags+:} false; then :
18421 $as_echo_n "(cached) " >&6
18423 if test "x$GOBJCXX" = xyes; then
18424 kpse_cv_warning_objcxxflags=
18425 kpse_warn_strings="-Wno-write-strings"
18426 if test "x$enable_compiler_warnings" != xno; then
18427 kpse_cv_warning_objcxxflags="-Wreturn-type"
18428 case `$OBJCXX -dumpversion` in #(
18429 3.* | 4.[012345].*) :
18430 kpse_cv_warning_objcxxflags="-Wimplicit $kpse_cv_warning_objcxxflags" ;; #(
18434 case `$OBJCXX -dumpversion` in #(
18435 3.[234].* | 4.* | 5.*) :
18436 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wno-unknown-pragmas" ;; #(
18440 if test "x$enable_compiler_warnings" != xmin; then
18441 kpse_cv_warning_objcxxflags="-Wall -Wunused $kpse_cv_warning_objcxxflags"
18442 if test "x$enable_compiler_warnings" != xyes; then
18443 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
18444 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wcast-qual -Wcast-align"
18445 kpse_warn_strings="-Wwrite-strings"
18446 if test "x$enable_compiler_warnings" != xmax; then
18447 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wshadow"
18452 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags $kpse_warn_strings"
18453 elif test "x$enable_compiler_warnings" = xno; then
18454 kpse_cv_warning_objcxxflags=
18456 kpse_cv_warning_objcxxflags= # FIXME: warning flags for non-GNU Objective C++ compilers
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_objcxxflags" >&5
18460 $as_echo "$kpse_cv_warning_objcxxflags" >&6; }
18461 WARNING_OBJCXXFLAGS=$kpse_cv_warning_objcxxflags
18465 # Check whether --enable-cxx-runtime-hack was given.
18466 if test "${enable_cxx_runtime_hack+set}" = set; then :
18467 enableval=$enable_cxx_runtime_hack;
18471 if test "x$GXX:$enable_cxx_runtime_hack" = xyes:yes; then
18474 ac_cpp='$CXXCPP $CPPFLAGS'
18475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18479 for ac_header in iostream
18481 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default"
18482 if test "x$ac_cv_header_iostream" = xyes; then :
18483 cat >>confdefs.h <<_ACEOF
18484 #define HAVE_IOSTREAM 1
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statically linking C++ runtime library" >&5
18492 $as_echo_n "checking for statically linking C++ runtime library... " >&6; }
18493 if ${kpse_cv_cxx_hack+:} false; then :
18494 $as_echo_n "(cached) " >&6
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h. */
18498 #ifdef HAVE_IOSTREAM
18499 #include <iostream>
18500 using namespace std;
18502 #include <iostream.h>
18507 cout <<"worksok\n";
18514 flags_try0='-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic' ;; #(
18516 flags_try0='-nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm'
18517 flags_try1='-lgcc_eh -lgcc -lc -lgcc_eh -lgcc'
18518 flags_try2='-lgcc -lc -lgcc' ;;
18520 kpse_save_LIBS=$LIBS
18521 cpp_link_hack=false
18522 for flags in "$flags_try1" "$flags_try2"; do
18523 LIBS="$kpse_save_LIBS $flags_try0 $flags"
18524 if ac_fn_cxx_try_link "$LINENO"; then :
18525 if test "x$cross_compiling" = xyes; then :
18526 cpp_link_hack=true; break
18528 case `(.
/conftest
$ac_exeext; exit) 2>/dev
/null
` in #(
18530 cpp_link_hack=true; break ;; #(
18536 rm -f core conftest.err conftest.$ac_objext \
18539 LIBS=$kpse_save_LIBS
18540 if $cpp_link_hack; then
18541 kpse_cv_cxx_hack=ok
18542 kpse_cv_cxx_flags="$flags_try0 $flags"
18544 kpse_cv_cxx_hack="not supported"
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_cxx_hack" >&5
18548 $as_echo "$kpse_cv_cxx_hack" >&6; }
18549 if test "x$kpse_cv_cxx_hack" = xok; then
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: using $kpse_cv_cxx_flags" >&5
18551 $as_echo "$as_me: using $kpse_cv_cxx_flags" >&6;}
18554 ac_cpp='$CPP $CPPFLAGS'
18555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18561 if test "x$kpse_cv_cxx_hack" = xok; then
18562 CXXLD='$(top_builddir)/CXXLD.sh'
18563 cxxld_sh="#! ${CONFIG_SHELL-/bin/sh}
18564 # CXXLD.sh. Generated by configure.
18565 set -- $CXX \"\$@\" $kpse_cv_cxx_flags
18566 echo \"\$0:\" \"\$@\"
18568 ac_config_commands="$ac_config_commands CXXLD.sh"
18575 # Check whether --enable-libtool-hack was given.
18576 if test "${enable_libtool_hack+set}" = set; then :
18577 enableval=$enable_libtool_hack;
18586 ## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
18587 ## configure options for TeX and MF
18589 # Check whether --with-banner-add was given.
18590 if test "${with_banner_add+set}" = set; then :
18591 withval=$with_banner_add;
18594 # Check whether --with-editor was given.
18595 if test "${with_editor+set}" = set; then :
18596 withval=$with_editor;
18598 # Check whether --enable-auto-core was given.
18599 if test "${enable_auto_core+set}" = set; then :
18600 enableval=$enable_auto_core;
18602 # Check whether --enable-dump-share was given.
18603 if test "${enable_dump_share+set}" = set; then :
18604 enableval=$enable_dump_share;
18606 ## configure options for TeX
18607 # Check whether --enable-ipc was given.
18608 if test "${enable_ipc+set}" = set; then :
18609 enableval=$enable_ipc;
18611 # Check whether --enable-tex was given.
18612 if test "${enable_tex+set}" = set; then :
18613 enableval=$enable_tex;
18615 case $enable_tex in #(
18622 # Check whether --enable-tex-synctex was given.
18623 if test "${enable_tex_synctex+set}" = set; then :
18624 enableval=$enable_tex_synctex;
18626 # Check whether --enable-etex was given.
18627 if test "${enable_etex+set}" = set; then :
18628 enableval=$enable_etex;
18630 case $enable_etex in #(
18637 # Check whether --enable-etex-synctex was given.
18638 if test "${enable_etex_synctex+set}" = set; then :
18639 enableval=$enable_etex_synctex;
18641 # Check whether --enable-ptex was given.
18642 if test "${enable_ptex+set}" = set; then :
18643 enableval=$enable_ptex;
18645 case $enable_ptex in #(
18652 # Check whether --enable-ptex-synctex was given.
18653 if test "${enable_ptex_synctex+set}" = set; then :
18654 enableval=$enable_ptex_synctex;
18657 test "x$enable_web2c:$enable_ptex" = xyes:yes && {
18660 # Check whether --enable-eptex was given.
18661 if test "${enable_eptex+set}" = set; then :
18662 enableval=$enable_eptex;
18664 case $enable_eptex in #(
18668 enable_eptex=yes ;;
18671 # Check whether --enable-eptex-synctex was given.
18672 if test "${enable_eptex_synctex+set}" = set; then :
18673 enableval=$enable_eptex_synctex;
18676 test "x$enable_web2c:$enable_eptex" = xyes:yes && {
18679 # Check whether --enable-uptex was given.
18680 if test "${enable_uptex+set}" = set; then :
18681 enableval=$enable_uptex;
18683 case $enable_uptex in #(
18687 enable_uptex=yes ;;
18690 # Check whether --enable-uptex-synctex was given.
18691 if test "${enable_uptex_synctex+set}" = set; then :
18692 enableval=$enable_uptex_synctex;
18695 test "x$enable_web2c:$enable_uptex" = xyes:yes && {
18698 # Check whether --enable-euptex was given.
18699 if test "${enable_euptex+set}" = set; then :
18700 enableval=$enable_euptex;
18702 case $enable_euptex in #(
18706 enable_euptex=yes ;;
18709 # Check whether --enable-euptex-synctex was given.
18710 if test "${enable_euptex_synctex+set}" = set; then :
18711 enableval=$enable_euptex_synctex;
18714 test "x$enable_web2c:$enable_euptex" = xyes:yes && {
18717 # Check whether --enable-aleph was given.
18718 if test "${enable_aleph+set}" = set; then :
18719 enableval=$enable_aleph;
18721 case $enable_aleph in #(
18725 enable_aleph=yes ;;
18727 # Check whether --enable-pdftex was given.
18728 if test "${enable_pdftex+set}" = set; then :
18729 enableval=$enable_pdftex;
18731 case $enable_pdftex in #(
18735 enable_pdftex=yes ;;
18738 # Check whether --enable-pdftex-synctex was given.
18739 if test "${enable_pdftex_synctex+set}" = set; then :
18740 enableval=$enable_pdftex_synctex;
18743 test "x$enable_web2c:$enable_pdftex" = xyes:yes && {
18747 # Check whether --enable-luatex was given.
18748 if test "${enable_luatex+set}" = set; then :
18749 enableval=$enable_luatex;
18751 case $enable_luatex in #(
18755 enable_luatex=yes ;;
18758 test "x$enable_web2c:$enable_luatex" = xyes:yes && {
18766 # Check whether --enable-luajittex was given.
18767 if test "${enable_luajittex+set}" = set; then :
18768 enableval=$enable_luajittex;
18770 case $enable_luajittex in #(
18774 enable_luajittex=yes ;;
18777 test "x$enable_web2c:$enable_luajittex" = xyes:yes && {
18785 # Check whether --enable-mp was given.
18786 if test "${enable_mp+set}" = set; then :
18787 enableval=$enable_mp;
18789 case $enable_mp in #(
18796 test "x$enable_web2c:$enable_mp" = xyes:yes && {
18801 # Check whether --enable-pmp was given.
18802 if test "${enable_pmp+set}" = set; then :
18803 enableval=$enable_pmp;
18805 case $enable_pmp in #(
18812 test "x$enable_web2c:$enable_pmp" = xyes:yes && {
18818 # Check whether --enable-upmp was given.
18819 if test "${enable_upmp+set}" = set; then :
18820 enableval=$enable_upmp;
18822 case $enable_upmp in #(
18829 test "x$enable_web2c:$enable_upmp" = xyes:yes && {
18835 # Check whether --enable-xetex was given.
18836 if test "${enable_xetex+set}" = set; then :
18837 enableval=$enable_xetex;
18839 case $enable_xetex in #(
18843 enable_xetex=yes ;;
18846 # Check whether --enable-xetex-synctex was given.
18847 if test "${enable_xetex_synctex+set}" = set; then :
18848 enableval=$enable_xetex_synctex;
18851 test "x$enable_web2c:$enable_xetex" = xyes:yes && {
18858 ## configure options for MF
18859 # Check whether --enable-mf was given.
18860 if test "${enable_mf+set}" = set; then :
18861 enableval=$enable_mf;
18863 case $enable_mf in #(
18870 # Check whether --enable-mf-nowin was given.
18871 if test "${enable_mf_nowin+set}" = set; then :
18872 enableval=$enable_mf_nowin;
18874 case $enable_mf_nowin in #(
18878 enable_mf_nowin=yes ;;
18880 # Check whether --enable-mflua was given.
18881 if test "${enable_mflua+set}" = set; then :
18882 enableval=$enable_mflua;
18884 case $enable_mflua in #(
18888 enable_mflua=yes ;;
18891 # Check whether --enable-mflua-nowin was given.
18892 if test "${enable_mflua_nowin+set}" = set; then :
18893 enableval=$enable_mflua_nowin;
18895 case $enable_mflua_nowin in #(
18899 enable_mflua_nowin=no ;;
18902 test "x$enable_web2c:$enable_mflua" = xyes:yes && {
18905 # Check whether --enable-mfluajit was given.
18906 if test "${enable_mfluajit+set}" = set; then :
18907 enableval=$enable_mfluajit;
18909 case $enable_mfluajit in #(
18913 enable_mfluajit=yes ;;
18916 # Check whether --enable-mfluajit-nowin was given.
18917 if test "${enable_mfluajit_nowin+set}" = set; then :
18918 enableval=$enable_mfluajit_nowin;
18920 case $enable_mfluajit_nowin in #(
18924 enable_mfluajit_nowin=no ;;
18927 test "x$enable_web2c:$enable_mfluajit" = xyes:yes && {
18931 # Check whether --with-mf-x-toolkit was given.
18932 if test "${with_mf_x_toolkit+set}" = set; then :
18933 withval=$with_mf_x_toolkit;
18935 # Check whether --enable-epsfwin was given.
18936 if test "${enable_epsfwin+set}" = set; then :
18937 enableval=$enable_epsfwin;
18939 # Check whether --enable-hp2627win was given.
18940 if test "${enable_hp2627win+set}" = set; then :
18941 enableval=$enable_hp2627win;
18943 # Check whether --enable-mftalkwin was given.
18944 if test "${enable_mftalkwin+set}" = set; then :
18945 enableval=$enable_mftalkwin;
18947 # Check whether --enable-nextwin was given.
18948 if test "${enable_nextwin+set}" = set; then :
18949 enableval=$enable_nextwin;
18951 # Check whether --enable-regiswin was given.
18952 if test "${enable_regiswin+set}" = set; then :
18953 enableval=$enable_regiswin;
18955 # Check whether --enable-suntoolswin was given.
18956 if test "${enable_suntoolswin+set}" = set; then :
18957 enableval=$enable_suntoolswin;
18959 # Check whether --enable-tektronixwin was given.
18960 if test "${enable_tektronixwin+set}" = set; then :
18961 enableval=$enable_tektronixwin;
18963 # Check whether --enable-unitermwin was given.
18964 if test "${enable_unitermwin+set}" = set; then :
18965 enableval=$enable_unitermwin;
18967 ## configure options for WEB programs
18968 # Check whether --enable-web-progs was given.
18969 if test "${enable_web_progs+set}" = set; then :
18970 enableval=$enable_web_progs;
18972 ## configure option for the SyncTeX library and tool
18973 # Check whether --enable-synctex was given.
18974 if test "${enable_synctex+set}" = set; then :
18975 enableval=$enable_synctex;
18980 if test "x$enable_texlive_build" = xyes; then :
18981 banner_pre='TeX Live'
18985 cat >>confdefs.h <<_ACEOF
18986 #define WEB2CVERSION " ($banner_pre $WEB2CVERSION$with_banner_add)"
18990 for ac_prog in kpsewhich
18992 # Extract the first word of "$ac_prog", so it can be a program name with args.
18993 set dummy $ac_prog; ac_word=$2
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18995 $as_echo_n "checking for $ac_word... " >&6; }
18996 if ${ac_cv_prog_KPSEWHICH+:} false; then :
18997 $as_echo_n "(cached) " >&6
18999 if test -n "$KPSEWHICH"; then
19000 ac_cv_prog_KPSEWHICH="$KPSEWHICH" # Let the user override the test.
19002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19003 for as_dir in $PATH
19006 test -z "$as_dir" && as_dir=.
19007 for ac_exec_ext in '' $ac_executable_extensions; do
19008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19009 ac_cv_prog_KPSEWHICH="$ac_prog"
19010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19019 KPSEWHICH=$ac_cv_prog_KPSEWHICH
19020 if test -n "$KPSEWHICH"; then
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KPSEWHICH" >&5
19022 $as_echo "$KPSEWHICH" >&6; }
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19025 $as_echo "no" >&6; }
19029 test -n "$KPSEWHICH" && break
19031 test -n "$KPSEWHICH" || KPSEWHICH="false"
19034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc asm needs underscore" >&5
19035 $as_echo_n "checking whether gcc asm needs underscore... " >&6; }
19036 if ${pb_cv_asm_underscore+:} false; then :
19037 $as_echo_n "(cached) " >&6
19040 # Some versions of GCC asm for i386 need an underscore prepended to
19041 # external symbols. Figure out if this is so.
19042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19043 /* end confdefs.h. */
19046 extern void sub () ;
19047 #if defined (__i386__) && defined (__GNUC__)
19054 void sub () { val = 1; }
19055 #endif /* assembler */
19065 if ac_fn_c_try_link "$LINENO"; then :
19066 pb_cv_asm_underscore=no
19068 pb_cv_asm_underscore=yes
19070 rm -f core conftest.err conftest.$ac_objext \
19071 conftest$ac_exeext conftest.$ac_ext
19073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pb_cv_asm_underscore" >&5
19074 $as_echo "$pb_cv_asm_underscore" >&6; }
19075 if test "x$pb_cv_asm_underscore" = xyes; then
19077 $as_echo "#define ASM_NEEDS_UNDERSCORE 1" >>confdefs.h
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
19082 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
19083 if ${kpse_cv_have_win32+:} false; then :
19084 $as_echo_n "(cached) " >&6
19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19087 /* end confdefs.h. */
19099 if ac_fn_c_try_compile "$LINENO"; then :
19100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19101 /* end confdefs.h. */
19102 #ifndef __MINGW32__
19113 if ac_fn_c_try_compile "$LINENO"; then :
19114 kpse_cv_have_win32=mingw32
19116 kpse_cv_have_win32=native
19118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19120 kpse_cv_have_win32=no
19122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
19125 $as_echo "$kpse_cv_have_win32" >&6; }
19127 if test "x$kpse_cv_have_win32" != xno; then
19136 if test "x$kpse_cv_have_win32" = xmingw32; then
19145 if test -r "$srcdir/../texlive/w32_wrapper/callexe.c"; then
19147 WIN32_CALL_FALSE='#'
19149 WIN32_CALL_TRUE='#'
19153 if test -z "$WIN32_TRUE"; then :
19154 ac_config_links="$ac_config_links callexe.c:../texlive/w32_wrapper/callexe.c"
19159 case $with_editor in #(
19161 if test "x$kpse_cv_have_win32" = xno; then :
19162 with_editor="vi +%d '%s'"
19164 with_editor='texworks --position=%d \"%s\"'
19170 cat >>confdefs.h <<_ACEOF
19171 #define EDITOR "$with_editor"
19175 if test "x$enable_auto_core" = xyes; then :
19177 $as_echo "#define FUNNY_CORE_DUMP 1" >>confdefs.h
19181 if test "x$enable_dump_share" = xno; then :
19183 $as_echo "#define NO_DUMP_SHARE 1" >>confdefs.h
19187 case $enable_ipc in #(
19195 if test "x$kpse_cv_have_win32" = xno; then :
19196 kpse_save_LIBS=$LIBS
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19198 $as_echo_n "checking for library containing connect... " >&6; }
19199 if ${ac_cv_search_connect+:} false; then :
19200 $as_echo_n "(cached) " >&6
19202 ac_func_search_save_LIBS=$LIBS
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19206 /* Override any GCC internal prototype to avoid an error.
19207 Use char because int might match the return type of a GCC
19208 builtin and then its argument prototype would still apply. */
19221 for ac_lib in '' socket nsl; do
19222 if test -z "$ac_lib"; then
19223 ac_res="none required"
19226 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19228 if ac_fn_c_try_link "$LINENO"; then :
19229 ac_cv_search_connect=$ac_res
19231 rm -f core conftest.err conftest.$ac_objext \
19233 if ${ac_cv_search_connect+:} false; then :
19237 if ${ac_cv_search_connect+:} false; then :
19240 ac_cv_search_connect=no
19242 rm conftest.$ac_ext
19243 LIBS=$ac_func_search_save_LIBS
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19246 $as_echo "$ac_cv_search_connect" >&6; }
19247 ac_res=$ac_cv_search_connect
19248 if test "$ac_res" != no; then :
19249 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19253 LIBS=$kpse_save_LIBS
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lwsock32" >&5
19256 $as_echo_n "checking for main in -lwsock32... " >&6; }
19257 if ${ac_cv_lib_wsock32_main+:} false; then :
19258 $as_echo_n "(cached) " >&6
19260 ac_check_lib_save_LIBS=$LIBS
19261 LIBS="-lwsock32 $LIBS"
19262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19263 /* end confdefs.h. */
19274 if ac_fn_c_try_link "$LINENO"; then :
19275 ac_cv_lib_wsock32_main=yes
19277 ac_cv_lib_wsock32_main=no
19279 rm -f core conftest.err conftest.$ac_objext \
19280 conftest$ac_exeext conftest.$ac_ext
19281 LIBS=$ac_check_lib_save_LIBS
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_main" >&5
19284 $as_echo "$ac_cv_lib_wsock32_main" >&6; }
19285 if test "x$ac_cv_lib_wsock32_main" = xyes; then :
19286 ac_cv_search_connect=-lwsock32
19288 ac_cv_search_connect=no
19293 # Check whether --enable-missing was given.
19294 if test "${enable_missing+set}" = set; then :
19295 enableval=$enable_missing;
19298 case $ac_cv_search_connect in #(
19302 if test "x$enable_luatex" = xyes; then :
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no socket library: disabling luatex" >&5
19304 $as_echo "$as_me: WARNING: Sorry, no socket library: disabling luatex" >&2;}
19305 if test "x$enable_missing" = xno; then :
19306 as_fn_error $? "terminating." "$LINENO" 5
19312 if test "x$enable_ipc" = xyes; then :
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no socket library: disabling ipc" >&5
19314 $as_echo "$as_me: WARNING: Sorry, no socket library: disabling ipc" >&2;}
19315 if test "x$enable_missing" = xno; then :
19316 as_fn_error $? "terminating." "$LINENO" 5
19323 socketlibs=$ac_cv_search_connect ;;
19325 if test "x$enable_ipc" = xyes; then
19326 ipc_socketlibs=$socketlibs
19328 $as_echo "#define IPC 1" >>confdefs.h
19332 # We may need additional libraries for luaTeX.
19333 # On Solaris -lnsl for gethostbyname(), -lrt for nanosleep(),
19334 # and maybe -lresolv for inet_aton().
19335 lua_socketlibs=$socketlibs
19336 kpse_save_LIBS=$LIBS
19337 LUA52_DEFINES='-DLUA_COMPAT_MODULE -DLUAI_HASHLIMIT=6'
19339 if test "x$kpse_cv_have_win32" = xno; then
19340 LUA52_DEFINES="$LUA52_DEFINES -DLUA_USE_POSIX"
19341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19342 $as_echo_n "checking for library containing dlopen... " >&6; }
19343 if ${ac_cv_search_dlopen+:} false; then :
19344 $as_echo_n "(cached) " >&6
19346 ac_func_search_save_LIBS=$LIBS
19347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19348 /* end confdefs.h. */
19350 /* Override any GCC internal prototype to avoid an error.
19351 Use char because int might match the return type of a GCC
19352 builtin and then its argument prototype would still apply. */
19365 for ac_lib in '' dl; do
19366 if test -z "$ac_lib"; then
19367 ac_res="none required"
19370 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19372 if ac_fn_c_try_link "$LINENO"; then :
19373 ac_cv_search_dlopen=$ac_res
19375 rm -f core conftest.err conftest.$ac_objext \
19377 if ${ac_cv_search_dlopen+:} false; then :
19381 if ${ac_cv_search_dlopen+:} false; then :
19384 ac_cv_search_dlopen=no
19386 rm conftest.$ac_ext
19387 LIBS=$ac_func_search_save_LIBS
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19390 $as_echo "$ac_cv_search_dlopen" >&6; }
19391 ac_res=$ac_cv_search_dlopen
19392 if test "$ac_res" != no; then :
19393 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19397 if test "x$ac_cv_search_dlopen" != xno; then
19398 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
19400 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
19401 LUA52_DEFINES="$LUA52_DEFINES -DLUA_USE_DLOPEN"
19408 LUAJIT_DEFINES='-DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6'
19410 case $host_os:$host_cpu in #(
19412 LUAJIT_LDEXTRA='-pagezero_size 10000 -image_base 100000000' ;; #(
19418 LIBS=$kpse_save_LIBS
19419 if test "x$kpse_cv_have_win32" = xno; then
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19421 $as_echo_n "checking for library containing gethostbyname... " >&6; }
19422 if ${ac_cv_search_gethostbyname+:} false; then :
19423 $as_echo_n "(cached) " >&6
19425 ac_func_search_save_LIBS=$LIBS
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19429 /* Override any GCC internal prototype to avoid an error.
19430 Use char because int might match the return type of a GCC
19431 builtin and then its argument prototype would still apply. */
19435 char gethostbyname ();
19439 return gethostbyname ();
19444 for ac_lib in '' nsl; do
19445 if test -z "$ac_lib"; then
19446 ac_res="none required"
19449 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19451 if ac_fn_c_try_link "$LINENO"; then :
19452 ac_cv_search_gethostbyname=$ac_res
19454 rm -f core conftest.err conftest.$ac_objext \
19456 if ${ac_cv_search_gethostbyname+:} false; then :
19460 if ${ac_cv_search_gethostbyname+:} false; then :
19463 ac_cv_search_gethostbyname=no
19465 rm conftest.$ac_ext
19466 LIBS=$ac_func_search_save_LIBS
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19469 $as_echo "$ac_cv_search_gethostbyname" >&6; }
19470 ac_res=$ac_cv_search_gethostbyname
19471 if test "$ac_res" != no; then :
19472 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5
19477 $as_echo_n "checking for library containing hstrerror... " >&6; }
19478 if ${ac_cv_search_hstrerror+:} false; then :
19479 $as_echo_n "(cached) " >&6
19481 ac_func_search_save_LIBS=$LIBS
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19485 /* Override any GCC internal prototype to avoid an error.
19486 Use char because int might match the return type of a GCC
19487 builtin and then its argument prototype would still apply. */
19495 return hstrerror ();
19500 for ac_lib in '' resolv; do
19501 if test -z "$ac_lib"; then
19502 ac_res="none required"
19505 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19507 if ac_fn_c_try_link "$LINENO"; then :
19508 ac_cv_search_hstrerror=$ac_res
19510 rm -f core conftest.err conftest.$ac_objext \
19512 if ${ac_cv_search_hstrerror+:} false; then :
19516 if ${ac_cv_search_hstrerror+:} false; then :
19519 ac_cv_search_hstrerror=no
19521 rm conftest.$ac_ext
19522 LIBS=$ac_func_search_save_LIBS
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5
19525 $as_echo "$ac_cv_search_hstrerror" >&6; }
19526 ac_res=$ac_cv_search_hstrerror
19527 if test "$ac_res" != no; then :
19528 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19533 $as_echo_n "checking for library containing inet_aton... " >&6; }
19534 if ${ac_cv_search_inet_aton+:} false; then :
19535 $as_echo_n "(cached) " >&6
19537 ac_func_search_save_LIBS=$LIBS
19538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19539 /* end confdefs.h. */
19541 /* Override any GCC internal prototype to avoid an error.
19542 Use char because int might match the return type of a GCC
19543 builtin and then its argument prototype would still apply. */
19551 return inet_aton ();
19556 for ac_lib in '' resolv; do
19557 if test -z "$ac_lib"; then
19558 ac_res="none required"
19561 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19563 if ac_fn_c_try_link "$LINENO"; then :
19564 ac_cv_search_inet_aton=$ac_res
19566 rm -f core conftest.err conftest.$ac_objext \
19568 if ${ac_cv_search_inet_aton+:} false; then :
19572 if ${ac_cv_search_inet_aton+:} false; then :
19575 ac_cv_search_inet_aton=no
19577 rm conftest.$ac_ext
19578 LIBS=$ac_func_search_save_LIBS
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19581 $as_echo "$ac_cv_search_inet_aton" >&6; }
19582 ac_res=$ac_cv_search_inet_aton
19583 if test "$ac_res" != no; then :
19584 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19588 LIBS=$kpse_save_LIBS
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19590 $as_echo_n "checking for library containing nanosleep... " >&6; }
19591 if ${ac_cv_search_nanosleep+:} false; then :
19592 $as_echo_n "(cached) " >&6
19594 ac_func_search_save_LIBS=$LIBS
19595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19596 /* end confdefs.h. */
19598 /* Override any GCC internal prototype to avoid an error.
19599 Use char because int might match the return type of a GCC
19600 builtin and then its argument prototype would still apply. */
19608 return nanosleep ();
19613 for ac_lib in '' rt; do
19614 if test -z "$ac_lib"; then
19615 ac_res="none required"
19618 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19620 if ac_fn_c_try_link "$LINENO"; then :
19621 ac_cv_search_nanosleep=$ac_res
19623 rm -f core conftest.err conftest.$ac_objext \
19625 if ${ac_cv_search_nanosleep+:} false; then :
19629 if ${ac_cv_search_nanosleep+:} false; then :
19632 ac_cv_search_nanosleep=no
19634 rm conftest.$ac_ext
19635 LIBS=$ac_func_search_save_LIBS
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19638 $as_echo "$ac_cv_search_nanosleep" >&6; }
19639 ac_res=$ac_cv_search_nanosleep
19640 if test "$ac_res" != no; then :
19641 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19645 LIBS=$kpse_save_LIBS
19646 case $ac_cv_header_dlfcn_h in #(
19648 case $ac_cv_search_dlopen in #(
19652 lua_socketlibs="$lua_socketlibs $ac_cv_search_dlopen" ;;
19657 case $ac_cv_search_hstrerror in #(
19661 if test "x$enable_luatex" = xyes; then :
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no hstrerror(): disabling luatex" >&5
19663 $as_echo "$as_me: WARNING: Sorry, no hstrerror(): disabling luatex" >&2;}
19664 if test "x$enable_missing" = xno; then :
19665 as_fn_error $? "terminating." "$LINENO" 5
19672 lua_socketlibs="$lua_socketlibs $ac_cv_search_hstrerror" ;;
19674 case $ac_cv_search_inet_aton in #(
19678 if test "x$enable_luatex" = xyes; then :
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no inet_aton(): disabling luatex" >&5
19680 $as_echo "$as_me: WARNING: Sorry, no inet_aton(): disabling luatex" >&2;}
19681 if test "x$enable_missing" = xno; then :
19682 as_fn_error $? "terminating." "$LINENO" 5
19689 lua_socketlibs="$lua_socketlibs $ac_cv_search_inet_aton" ;;
19691 case $ac_cv_search_gethostbyname in #(
19695 if test "x$enable_luatex" = xyes; then :
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no gethostbyname(): disabling luatex" >&5
19697 $as_echo "$as_me: WARNING: Sorry, no gethostbyname(): disabling luatex" >&2;}
19698 if test "x$enable_missing" = xno; then :
19699 as_fn_error $? "terminating." "$LINENO" 5
19706 lua_socketlibs="$lua_socketlibs $ac_cv_search_gethostbyname" ;;
19708 case $ac_cv_search_nanosleep in #(
19712 if test "x$enable_luatex" = xyes; then :
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no nanosleep(): disabling luatex" >&5
19714 $as_echo "$as_me: WARNING: Sorry, no nanosleep(): disabling luatex" >&2;}
19715 if test "x$enable_missing" = xno; then :
19716 as_fn_error $? "terminating." "$LINENO" 5
19723 lua_socketlibs="$lua_socketlibs $ac_cv_search_nanosleep" ;;
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
19727 $as_echo_n "checking for main in -lws2_32... " >&6; }
19728 if ${ac_cv_lib_ws2_32_main+:} false; then :
19729 $as_echo_n "(cached) " >&6
19731 ac_check_lib_save_LIBS=$LIBS
19732 LIBS="-lws2_32 $LIBS"
19733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19734 /* end confdefs.h. */
19745 if ac_fn_c_try_link "$LINENO"; then :
19746 ac_cv_lib_ws2_32_main=yes
19748 ac_cv_lib_ws2_32_main=no
19750 rm -f core conftest.err conftest.$ac_objext \
19751 conftest$ac_exeext conftest.$ac_ext
19752 LIBS=$ac_check_lib_save_LIBS
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
19755 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
19756 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
19757 lua_socketlibs="$socketlibs -lws2_32"
19759 if test "x$enable_luatex" = xyes; then :
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no getaddrinfo(): disabling luatex" >&5
19761 $as_echo "$as_me: WARNING: Sorry, no getaddrinfo(): disabling luatex" >&2;}
19762 if test "x$enable_missing" = xno; then :
19763 as_fn_error $? "terminating." "$LINENO" 5
19772 if test "x$ac_cv_header_dlfcn_h" = xyes; then
19774 USE_DLOPEN_FALSE='#'
19776 USE_DLOPEN_TRUE='#'
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS X ApplicationServices framework" >&5
19784 $as_echo_n "checking for Mac OS X ApplicationServices framework... " >&6; }
19785 if ${kpse_cv_have_ApplicationServices+:} false; then :
19786 $as_echo_n "(cached) " >&6
19788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19790 #include <ApplicationServices/ApplicationServices.h>
19799 if ac_fn_c_try_compile "$LINENO"; then :
19800 kpse_cv_have_ApplicationServices=yes
19802 kpse_cv_have_ApplicationServices=no
19804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_ApplicationServices" >&5
19807 $as_echo "$kpse_cv_have_ApplicationServices" >&6; }
19808 if test "x$kpse_cv_have_ApplicationServices" = xyes; then :
19810 $as_echo "#define HAVE_APPLICATIONSERVICES 1" >>confdefs.h
19814 if test -n "$ac_tool_prefix"; then
19815 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19816 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19818 $as_echo_n "checking for $ac_word... " >&6; }
19819 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
19820 $as_echo_n "(cached) " >&6
19822 if test -n "$PKG_CONFIG"; then
19823 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
19825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19826 for as_dir in $PATH
19829 test -z "$as_dir" && as_dir=.
19830 for ac_exec_ext in '' $ac_executable_extensions; do
19831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19832 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
19833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19842 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
19843 if test -n "$PKG_CONFIG"; then
19844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19845 $as_echo "$PKG_CONFIG" >&6; }
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19848 $as_echo "no" >&6; }
19853 if test -z "$ac_cv_prog_PKG_CONFIG"; then
19854 ac_ct_PKG_CONFIG=$PKG_CONFIG
19855 # Extract the first word of "pkg-config", so it can be a program name with args.
19856 set dummy pkg-config; ac_word=$2
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19858 $as_echo_n "checking for $ac_word... " >&6; }
19859 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then :
19860 $as_echo_n "(cached) " >&6
19862 if test -n "$ac_ct_PKG_CONFIG"; then
19863 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
19865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19866 for as_dir in $PATH
19869 test -z "$as_dir" && as_dir=.
19870 for ac_exec_ext in '' $ac_executable_extensions; do
19871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19872 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
19873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19882 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
19883 if test -n "$ac_ct_PKG_CONFIG"; then
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
19885 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19888 $as_echo "no" >&6; }
19891 if test "x$ac_ct_PKG_CONFIG" = x; then
19894 case $cross_compiling:$ac_tool_warned in
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19898 ac_tool_warned=yes ;;
19900 PKG_CONFIG=$ac_ct_PKG_CONFIG
19903 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
19907 # Check whether --with-fontconfig-includes was given.
19908 if test "${with_fontconfig_includes+set}" = set; then :
19909 withval=$with_fontconfig_includes;
19912 # Check whether --with-fontconfig-libdir was given.
19913 if test "${with_fontconfig_libdir+set}" = set; then :
19914 withval=$with_fontconfig_libdir;
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed fontconfig headers and library" >&5
19917 $as_echo_n "checking for installed fontconfig headers and library... " >&6; }
19918 if ${kpse_cv_have_fontconfig+:} false; then :
19919 $as_echo_n "(cached) " >&6
19921 kpse_save_CPPFLAGS=$CPPFLAGS
19922 kpse_save_LIBS=$LIBS
19923 kpse_cv_fontconfig_includes=
19924 kpse_cv_fontconfig_libs='-lfontconfig'
19925 if test "x$with_fontconfig_includes:$with_fontconfig_libdir" != x:; then
19926 if test "x$with_fontconfig_includes" != x; then
19927 kpse_cv_fontconfig_includes="-I$with_fontconfig_includes"
19929 if test "x$with_fontconfig_libdir" != x; then
19930 kpse_cv_fontconfig_libs="-L$with_fontconfig_libdir $kpse_cv_fontconfig_libs"
19932 elif $PKG_CONFIG fontconfig; then
19933 kpse_cv_fontconfig_includes=`$PKG_CONFIG fontconfig
--cflags`
19934 kpse_cv_fontconfig_libs=`$PKG_CONFIG fontconfig
--libs`
19936 CPPFLAGS="$kpse_cv_fontconfig_includes $CPPFLAGS"
19937 LIBS="$kpse_cv_fontconfig_libs $LIBS"
19938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19939 /* end confdefs.h. */
19940 #include <fontconfig/fontconfig.h>
19944 FcObjectSet *os; FcInit();
19949 if ac_fn_c_try_link "$LINENO"; then :
19950 kpse_cv_have_fontconfig=yes
19952 kpse_cv_have_fontconfig=no
19954 rm -f core conftest.err conftest.$ac_objext \
19955 conftest$ac_exeext conftest.$ac_ext
19956 CPPFLAGS=$kpse_save_CPPFLAGS
19957 LIBS=$kpse_save_LIBS
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_fontconfig" >&5
19960 $as_echo "$kpse_cv_have_fontconfig" >&6; }
19961 if test "x$kpse_cv_have_fontconfig" = xyes; then
19962 FONTCONFIG_INCLUDES=$kpse_cv_fontconfig_includes
19963 FONTCONFIG_LIBS=$kpse_cv_fontconfig_libs
19965 $as_echo "#define HAVE_LIBFONTCONFIG 1" >>confdefs.h
19971 if test "x$kpse_cv_have_ApplicationServices:$kpse_cv_have_fontconfig" = xno:no; then :
19972 if test "x$enable_xetex" = xyes; then :
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, neither ApplicationServices framework nor fontconfig library: disabling xetex" >&5
19974 $as_echo "$as_me: WARNING: Sorry, neither ApplicationServices framework nor fontconfig library: disabling xetex" >&2;}
19975 if test "x$enable_missing" = xno; then :
19976 as_fn_error $? "terminating." "$LINENO" 5
19983 if test "x$kpse_cv_have_ApplicationServices" = xyes; then
19985 XETEX_MACOSX_FALSE='#'
19987 XETEX_MACOSX_TRUE='#'
19988 XETEX_MACOSX_FALSE=
19992 if test "x$enable_tex" = xyes; then
20000 case $enable_native_texlive_build:$enable_tex_synctex in #(
20001 yes:no | no:yes | no:no) :
20004 if test -z "$enable_tex_synctex"; then :
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tex-synctex=no
'" >&5
20006 $as_echo "$as_me: Assuming \`--enable-tex-synctex=no'" >&6;}
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Enforcing \
`--enable-tex-synctex=no' (native TeX Live build)" >&5
20009 $as_echo "$as_me: WARNING: Enforcing \`--enable-tex-synctex=no
' (native TeX Live build)" >&2;}
20011 enable_tex_synctex=no ;;
20013 if test "x$enable_tex_synctex" = xyes; then
20015 TEX_SYNCTEX_FALSE='#'
20017 TEX_SYNCTEX_TRUE
='#'
20020 if test "x$enable_etex" = xyes
; then
20028 case $enable_native_texlive_build:$enable_etex_synctex in #(
20029 yes:yes | no
:yes | no
:no
) :
20032 if test -z "$enable_etex_synctex"; then :
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-etex-synctex=yes'" >&5
20034 $as_echo "$as_me: Assuming \`--enable-etex-synctex=yes'" >&6;}
20036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-etex-synctex=yes' (native TeX Live build)" >&5
20037 $as_echo "$as_me: WARNING: Enforcing \`--enable-etex-synctex=yes' (native TeX Live build)" >&2;}
20039 enable_etex_synctex
=yes ;;
20041 if test "x$enable_etex_synctex" = xyes
; then
20043 ETEX_SYNCTEX_FALSE
='#'
20045 ETEX_SYNCTEX_TRUE
='#'
20046 ETEX_SYNCTEX_FALSE
=
20048 if test "x$enable_ptex" = xyes
; then
20056 case $enable_native_texlive_build:$enable_ptex_synctex in #(
20057 yes:yes | no
:yes | no
:no
) :
20060 if test -z "$enable_ptex_synctex"; then :
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ptex-synctex=yes'" >&5
20062 $as_echo "$as_me: Assuming \`--enable-ptex-synctex=yes'" >&6;}
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-ptex-synctex=yes' (native TeX Live build)" >&5
20065 $as_echo "$as_me: WARNING: Enforcing \`--enable-ptex-synctex=yes' (native TeX Live build)" >&2;}
20067 enable_ptex_synctex
=yes ;;
20069 if test "x$enable_ptex_synctex" = xyes
; then
20071 PTEX_SYNCTEX_FALSE
='#'
20073 PTEX_SYNCTEX_TRUE
='#'
20074 PTEX_SYNCTEX_FALSE
=
20076 if test "x$enable_eptex" = xyes
; then
20084 case $enable_native_texlive_build:$enable_eptex_synctex in #(
20085 yes:yes | no
:yes | no
:no
) :
20088 if test -z "$enable_eptex_synctex"; then :
20089 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-eptex-synctex=yes'" >&5
20090 $as_echo "$as_me: Assuming \`--enable-eptex-synctex=yes'" >&6;}
20092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-eptex-synctex=yes' (native TeX Live build)" >&5
20093 $as_echo "$as_me: WARNING: Enforcing \`--enable-eptex-synctex=yes' (native TeX Live build)" >&2;}
20095 enable_eptex_synctex
=yes ;;
20097 if test "x$enable_eptex_synctex" = xyes
; then
20098 EPTEX_SYNCTEX_TRUE
=
20099 EPTEX_SYNCTEX_FALSE
='#'
20101 EPTEX_SYNCTEX_TRUE
='#'
20102 EPTEX_SYNCTEX_FALSE
=
20104 if test "x$enable_uptex" = xyes
; then
20112 case $enable_native_texlive_build:$enable_uptex_synctex in #(
20113 yes:yes | no
:yes | no
:no
) :
20116 if test -z "$enable_uptex_synctex"; then :
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-uptex-synctex=yes'" >&5
20118 $as_echo "$as_me: Assuming \`--enable-uptex-synctex=yes'" >&6;}
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-uptex-synctex=yes' (native TeX Live build)" >&5
20121 $as_echo "$as_me: WARNING: Enforcing \`--enable-uptex-synctex=yes' (native TeX Live build)" >&2;}
20123 enable_uptex_synctex
=yes ;;
20125 if test "x$enable_uptex_synctex" = xyes
; then
20126 UPTEX_SYNCTEX_TRUE
=
20127 UPTEX_SYNCTEX_FALSE
='#'
20129 UPTEX_SYNCTEX_TRUE
='#'
20130 UPTEX_SYNCTEX_FALSE
=
20132 if test "x$enable_euptex" = xyes
; then
20140 case $enable_native_texlive_build:$enable_euptex_synctex in #(
20141 yes:yes | no
:yes | no
:no
) :
20144 if test -z "$enable_euptex_synctex"; then :
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-euptex-synctex=yes'" >&5
20146 $as_echo "$as_me: Assuming \`--enable-euptex-synctex=yes'" >&6;}
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-euptex-synctex=yes' (native TeX Live build)" >&5
20149 $as_echo "$as_me: WARNING: Enforcing \`--enable-euptex-synctex=yes' (native TeX Live build)" >&2;}
20151 enable_euptex_synctex
=yes ;;
20153 if test "x$enable_euptex_synctex" = xyes
; then
20154 EUPTEX_SYNCTEX_TRUE
=
20155 EUPTEX_SYNCTEX_FALSE
='#'
20157 EUPTEX_SYNCTEX_TRUE
='#'
20158 EUPTEX_SYNCTEX_FALSE
=
20160 if test "x$enable_aleph" = xyes
; then
20167 if test "x$enable_pdftex" = xyes
; then
20175 case $enable_native_texlive_build:$enable_pdftex_synctex in #(
20176 yes:yes | no
:yes | no
:no
) :
20179 if test -z "$enable_pdftex_synctex"; then :
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-pdftex-synctex=yes'" >&5
20181 $as_echo "$as_me: Assuming \`--enable-pdftex-synctex=yes'" >&6;}
20183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-pdftex-synctex=yes' (native TeX Live build)" >&5
20184 $as_echo "$as_me: WARNING: Enforcing \`--enable-pdftex-synctex=yes' (native TeX Live build)" >&2;}
20186 enable_pdftex_synctex
=yes ;;
20188 if test "x$enable_pdftex_synctex" = xyes
; then
20189 PDFTEX_SYNCTEX_TRUE
=
20190 PDFTEX_SYNCTEX_FALSE
='#'
20192 PDFTEX_SYNCTEX_TRUE
='#'
20193 PDFTEX_SYNCTEX_FALSE
=
20195 if test "x$enable_luatex" = xyes
; then
20202 if test "x$enable_luajittex" = xyes
; then
20204 LUAJITTEX_FALSE
='#'
20209 if test "x$enable_mp" = xyes
; then
20216 if test "x$enable_pmp" = xyes
; then
20223 if test "x$enable_upmp" = xyes
; then
20230 if test "x$enable_xetex" = xyes
; then
20238 case $enable_native_texlive_build:$enable_xetex_synctex in #(
20239 yes:yes | no
:yes | no
:no
) :
20242 if test -z "$enable_xetex_synctex"; then :
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xetex-synctex=yes'" >&5
20244 $as_echo "$as_me: Assuming \`--enable-xetex-synctex=yes'" >&6;}
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-xetex-synctex=yes' (native TeX Live build)" >&5
20247 $as_echo "$as_me: WARNING: Enforcing \`--enable-xetex-synctex=yes' (native TeX Live build)" >&2;}
20249 enable_xetex_synctex
=yes ;;
20251 if test "x$enable_xetex_synctex" = xyes
; then
20252 XETEX_SYNCTEX_TRUE
=
20253 XETEX_SYNCTEX_FALSE
='#'
20255 XETEX_SYNCTEX_TRUE
='#'
20256 XETEX_SYNCTEX_FALSE
=
20259 test "x$enable_omfonts" = xno || enable_omfonts
=yes
20261 if test "x$enable_aleph:$enable_xetex:$enable_omfonts" = xno
:no
:yes; then :
20266 if test "x$enable_otangle" = xyes
; then
20274 # Handle --with-mf-x-toolkit and --with-x
20275 case $with_mf_x_toolkit in #(
20279 with_mf_x_toolkit
=no
;; #(
20281 with_mf_x_toolkit
=yes ;; #(
20283 with_mf_x_toolkit
=no
;; #(
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown --with-mf-x-toolkit argument \`$with_mf_x_toolkit'; using no." >&5
20286 $as_echo "$as_me: WARNING: unknown --with-mf-x-toolkit argument \`$with_mf_x_toolkit'; using no." >&2;}
20287 with_mf_x_toolkit
=no
;;
20289 test "x$with_x_toolkit" = xyes
&& with_x
=yes
20290 test "x$with_x" = xno
&& with_x_toolkit
=no
20292 if test "x$enable_mf" != xno
; then
20299 test "x$enable_mf" = xyes
&& : ${with_x=yes}
20301 if test "x$enable_mf_nowin" != xno
; then
20308 if test "x$enable_mflua" != xno
; then
20315 test "x$enable_mflua" = xyes
&& : ${with_x=yes}
20317 if test "x$enable_mflua_nowin" != xno
; then
20324 if test "x$enable_mfluajit" != xno
; then
20331 test "x$enable_mfluajit" = xyes
&& : ${with_x=yes}
20333 if test "x$enable_mfluajit_nowin" != xno
; then
20335 MFLUAJITN_FALSE
='#'
20342 # Distinguish no X at all, no toolkit, or toolkit.
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
20344 $as_echo_n "checking for X... " >&6; }
20347 # Check whether --with-x was given.
20348 if test "${with_x+set}" = set; then :
20352 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20353 if test "x$with_x" = xno
; then
20354 # The user explicitly disabled X.
20357 case $x_includes,$x_libraries in #(
20358 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
20359 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
20360 $as_echo_n "(cached) " >&6
20362 # One or both of the vars are not set, and there is no cached value.
20363 ac_x_includes
=no ac_x_libraries
=no
20364 rm -f -r conftest.dir
20365 if mkdir conftest.dir
; then
20367 cat >Imakefile
<<'_ACEOF'
20369 @echo incroot='${INCROOT}'
20371 @echo usrlibdir='${USRLIBDIR}'
20373 @echo libdir='${LIBDIR}'
20375 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
20376 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
20377 for ac_var
in incroot usrlibdir libdir
; do
20378 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
20380 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20381 for ac_extension
in a so sl dylib la dll
; do
20382 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
20383 test -f "$ac_im_libdir/libX11.$ac_extension"; then
20384 ac_im_usrlibdir
=$ac_im_libdir; break
20387 # Screen out bogus values from the imake configuration. They are
20388 # bogus both because they are the default anyway, and because
20389 # using them would break gcc on systems where it needs fixed includes.
20390 case $ac_im_incroot in
20391 /usr
/include
) ac_x_includes
= ;;
20392 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
20394 case $ac_im_usrlibdir in
20395 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
20396 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
20400 rm -f -r conftest.dir
20403 # Standard set of common directories for X headers.
20404 # Check X11 before X11Rn because it is often a symlink to the current release.
20418 /usr/local/X11/include
20419 /usr/local/X11R7/include
20420 /usr/local/X11R6/include
20421 /usr/local/X11R5/include
20422 /usr/local/X11R4/include
20424 /usr/local/include/X11
20425 /usr/local/include/X11R7
20426 /usr/local/include/X11R6
20427 /usr/local/include/X11R5
20428 /usr/local/include/X11R4
20432 /usr/XFree86/include/X11
20436 /usr/unsupported/include
20437 /usr/athena/include
20438 /usr/local/x11r5/include
20439 /usr/lpp/Xamples/include
20441 /usr/openwin/include
20442 /usr/openwin/share/include'
20444 if test "$ac_x_includes" = no
; then
20445 # Guess where to find include files, by looking for Xlib.h.
20446 # First, try using that file with no special directory specified.
20447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20448 /* end confdefs.h. */
20449 #include <X11/Xlib.h>
20451 if ac_fn_c_try_cpp
"$LINENO"; then :
20452 # We can compile using X headers with no special include directory.
20455 for ac_dir
in $ac_x_header_dirs; do
20456 if test -r "$ac_dir/X11/Xlib.h"; then
20457 ac_x_includes
=$ac_dir
20462 rm -f conftest.err conftest.i conftest.
$ac_ext
20463 fi # $ac_x_includes = no
20465 if test "$ac_x_libraries" = no
; then
20466 # Check for the libraries.
20467 # See if we find them without any special options.
20468 # Don't add to $LIBS permanently.
20471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20472 /* end confdefs.h. */
20473 #include <X11/Xlib.h>
20482 if ac_fn_c_try_link
"$LINENO"; then :
20484 # We can link X programs with no special library path.
20488 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20490 # Don't even attempt the hair of trying to link an X program!
20491 for ac_extension
in a so sl dylib la dll
; do
20492 if test -r "$ac_dir/libX11.$ac_extension"; then
20493 ac_x_libraries
=$ac_dir
20499 rm -f core conftest.err conftest.
$ac_objext \
20500 conftest
$ac_exeext conftest.
$ac_ext
20501 fi # $ac_x_libraries = no
20503 case $ac_x_includes,$ac_x_libraries in #(
20504 no
,* |
*,no |
*\'*)
20505 # Didn't find X, or a directory has "'" in its name.
20506 ac_cv_have_x
="have_x=no";; #(
20508 # Record where we found X for the cache.
20509 ac_cv_have_x
="have_x=yes\
20510 ac_x_includes='$ac_x_includes'\
20511 ac_x_libraries='$ac_x_libraries'"
20517 eval "$ac_cv_have_x"
20520 if test "$have_x" != yes; then
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
20522 $as_echo "$have_x" >&6; }
20525 # If each of the values was on the command line, it overrides each guess.
20526 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
20527 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
20528 # Update the cache value to reflect the command line values.
20529 ac_cv_have_x
="have_x=yes\
20530 ac_x_includes='$x_includes'\
20531 ac_x_libraries='$x_libraries'"
20532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
20533 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
20536 if test "$no_x" = yes; then
20537 # Not all programs may use this symbol, but it does not hurt to define it.
20539 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
20541 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
20543 if test -n "$x_includes"; then
20544 X_CFLAGS
="$X_CFLAGS -I$x_includes"
20547 # It would also be nice to do this for all -L options, not just this one.
20548 if test -n "$x_libraries"; then
20549 X_LIBS
="$X_LIBS -L$x_libraries"
20550 # For Solaris; some versions of Sun CC require a space after -R and
20551 # others require no space. Words are not sufficient . . . .
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
20553 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
20554 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
20555 ac_xsave_c_werror_flag
=$ac_c_werror_flag
20556 ac_c_werror_flag
=yes
20557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20558 /* end confdefs.h. */
20568 if ac_fn_c_try_link
"$LINENO"; then :
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20570 $as_echo "no" >&6; }
20571 X_LIBS
="$X_LIBS -R$x_libraries"
20573 LIBS
="$ac_xsave_LIBS -R $x_libraries"
20574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20575 /* end confdefs.h. */
20585 if ac_fn_c_try_link
"$LINENO"; then :
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20587 $as_echo "yes" >&6; }
20588 X_LIBS
="$X_LIBS -R $x_libraries"
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
20591 $as_echo "neither works" >&6; }
20593 rm -f core conftest.err conftest.
$ac_objext \
20594 conftest
$ac_exeext conftest.
$ac_ext
20596 rm -f core conftest.err conftest.
$ac_objext \
20597 conftest
$ac_exeext conftest.
$ac_ext
20598 ac_c_werror_flag
=$ac_xsave_c_werror_flag
20599 LIBS
=$ac_xsave_LIBS
20602 # Check for system-dependent libraries X programs must link with.
20603 # Do this before checking for the system-independent R6 libraries
20604 # (-lICE), since we may need -lsocket or whatever for X linking.
20606 if test "$ISC" = yes; then
20607 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
20609 # Martyn Johnson says this is needed for Ultrix, if the X
20610 # libraries were built with DECnet support. And Karl Berry says
20611 # the Alpha needs dnet_stub (dnet does not exist).
20612 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
20613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20614 /* end confdefs.h. */
20616 /* Override any GCC internal prototype to avoid an error.
20617 Use char because int might match the return type of a GCC
20618 builtin and then its argument prototype would still apply. */
20622 char XOpenDisplay ();
20626 return XOpenDisplay ();
20631 if ac_fn_c_try_link
"$LINENO"; then :
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
20635 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20636 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
20637 $as_echo_n "(cached) " >&6
20639 ac_check_lib_save_LIBS
=$LIBS
20640 LIBS
="-ldnet $LIBS"
20641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20642 /* end confdefs.h. */
20644 /* Override any GCC internal prototype to avoid an error.
20645 Use char because int might match the return type of a GCC
20646 builtin and then its argument prototype would still apply. */
20654 return dnet_ntoa ();
20659 if ac_fn_c_try_link
"$LINENO"; then :
20660 ac_cv_lib_dnet_dnet_ntoa
=yes
20662 ac_cv_lib_dnet_dnet_ntoa
=no
20664 rm -f core conftest.err conftest.
$ac_objext \
20665 conftest
$ac_exeext conftest.
$ac_ext
20666 LIBS
=$ac_check_lib_save_LIBS
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20669 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20670 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
20671 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
20674 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
20676 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20677 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
20678 $as_echo_n "(cached) " >&6
20680 ac_check_lib_save_LIBS
=$LIBS
20681 LIBS
="-ldnet_stub $LIBS"
20682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h. */
20685 /* Override any GCC internal prototype to avoid an error.
20686 Use char because int might match the return type of a GCC
20687 builtin and then its argument prototype would still apply. */
20695 return dnet_ntoa ();
20700 if ac_fn_c_try_link
"$LINENO"; then :
20701 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
20703 ac_cv_lib_dnet_stub_dnet_ntoa
=no
20705 rm -f core conftest.err conftest.
$ac_objext \
20706 conftest
$ac_exeext conftest.
$ac_ext
20707 LIBS
=$ac_check_lib_save_LIBS
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20710 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20711 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
20712 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
20717 rm -f core conftest.err conftest.
$ac_objext \
20718 conftest
$ac_exeext conftest.
$ac_ext
20719 LIBS
="$ac_xsave_LIBS"
20721 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20722 # to get the SysV transport functions.
20723 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20725 # The nsl library prevents programs from opening the X display
20726 # on Irix 5.2, according to T.E. Dickey.
20727 # The functions gethostbyname, getservbyname, and inet_addr are
20728 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20729 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20730 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
20734 if test $ac_cv_func_gethostbyname = no
; then
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20736 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20737 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
20738 $as_echo_n "(cached) " >&6
20740 ac_check_lib_save_LIBS
=$LIBS
20742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20743 /* end confdefs.h. */
20745 /* Override any GCC internal prototype to avoid an error.
20746 Use char because int might match the return type of a GCC
20747 builtin and then its argument prototype would still apply. */
20751 char gethostbyname ();
20755 return gethostbyname ();
20760 if ac_fn_c_try_link
"$LINENO"; then :
20761 ac_cv_lib_nsl_gethostbyname
=yes
20763 ac_cv_lib_nsl_gethostbyname
=no
20765 rm -f core conftest.err conftest.
$ac_objext \
20766 conftest
$ac_exeext conftest.
$ac_ext
20767 LIBS
=$ac_check_lib_save_LIBS
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20770 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20771 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
20772 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
20775 if test $ac_cv_lib_nsl_gethostbyname = no
; then
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20777 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20778 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
20779 $as_echo_n "(cached) " >&6
20781 ac_check_lib_save_LIBS
=$LIBS
20783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20784 /* end confdefs.h. */
20786 /* Override any GCC internal prototype to avoid an error.
20787 Use char because int might match the return type of a GCC
20788 builtin and then its argument prototype would still apply. */
20792 char gethostbyname ();
20796 return gethostbyname ();
20801 if ac_fn_c_try_link
"$LINENO"; then :
20802 ac_cv_lib_bsd_gethostbyname
=yes
20804 ac_cv_lib_bsd_gethostbyname
=no
20806 rm -f core conftest.err conftest.
$ac_objext \
20807 conftest
$ac_exeext conftest.
$ac_ext
20808 LIBS
=$ac_check_lib_save_LIBS
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20811 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20812 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
20813 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
20819 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20820 # socket/setsockopt and other routines are undefined under SCO ODT
20821 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20822 # on later versions), says Simon Leinen: it contains gethostby*
20823 # variants that don't use the name server (or something). -lsocket
20824 # must be given before -lnsl if both are needed. We assume that
20825 # if connect needs -lnsl, so does gethostbyname.
20826 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
20827 if test "x$ac_cv_func_connect" = xyes
; then :
20831 if test $ac_cv_func_connect = no
; then
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20833 $as_echo_n "checking for connect in -lsocket... " >&6; }
20834 if ${ac_cv_lib_socket_connect+:} false
; then :
20835 $as_echo_n "(cached) " >&6
20837 ac_check_lib_save_LIBS
=$LIBS
20838 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
20839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20842 /* Override any GCC internal prototype to avoid an error.
20843 Use char because int might match the return type of a GCC
20844 builtin and then its argument prototype would still apply. */
20857 if ac_fn_c_try_link
"$LINENO"; then :
20858 ac_cv_lib_socket_connect
=yes
20860 ac_cv_lib_socket_connect
=no
20862 rm -f core conftest.err conftest.
$ac_objext \
20863 conftest
$ac_exeext conftest.
$ac_ext
20864 LIBS
=$ac_check_lib_save_LIBS
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20867 $as_echo "$ac_cv_lib_socket_connect" >&6; }
20868 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
20869 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
20874 # Guillermo Gomez says -lposix is necessary on A/UX.
20875 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
20876 if test "x$ac_cv_func_remove" = xyes
; then :
20880 if test $ac_cv_func_remove = no
; then
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20882 $as_echo_n "checking for remove in -lposix... " >&6; }
20883 if ${ac_cv_lib_posix_remove+:} false
; then :
20884 $as_echo_n "(cached) " >&6
20886 ac_check_lib_save_LIBS
=$LIBS
20887 LIBS
="-lposix $LIBS"
20888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20889 /* end confdefs.h. */
20891 /* Override any GCC internal prototype to avoid an error.
20892 Use char because int might match the return type of a GCC
20893 builtin and then its argument prototype would still apply. */
20906 if ac_fn_c_try_link
"$LINENO"; then :
20907 ac_cv_lib_posix_remove
=yes
20909 ac_cv_lib_posix_remove
=no
20911 rm -f core conftest.err conftest.
$ac_objext \
20912 conftest
$ac_exeext conftest.
$ac_ext
20913 LIBS
=$ac_check_lib_save_LIBS
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20916 $as_echo "$ac_cv_lib_posix_remove" >&6; }
20917 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
20918 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20923 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20924 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
20925 if test "x$ac_cv_func_shmat" = xyes
; then :
20929 if test $ac_cv_func_shmat = no
; then
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20931 $as_echo_n "checking for shmat in -lipc... " >&6; }
20932 if ${ac_cv_lib_ipc_shmat+:} false
; then :
20933 $as_echo_n "(cached) " >&6
20935 ac_check_lib_save_LIBS
=$LIBS
20937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20938 /* end confdefs.h. */
20940 /* Override any GCC internal prototype to avoid an error.
20941 Use char because int might match the return type of a GCC
20942 builtin and then its argument prototype would still apply. */
20955 if ac_fn_c_try_link
"$LINENO"; then :
20956 ac_cv_lib_ipc_shmat
=yes
20958 ac_cv_lib_ipc_shmat
=no
20960 rm -f core conftest.err conftest.
$ac_objext \
20961 conftest
$ac_exeext conftest.
$ac_ext
20962 LIBS
=$ac_check_lib_save_LIBS
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20965 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20966 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
20967 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20973 # Check for libraries that X11R6 Xt/Xaw programs need.
20974 ac_save_LDFLAGS
=$LDFLAGS
20975 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20976 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20977 # check for ICE first), but we must link in the order -lSM -lICE or
20978 # we get undefined symbols. So assume we have SM if we have ICE.
20979 # These have to be linked with before -lX11, unlike the other
20980 # libraries we check for below, so use a different variable.
20981 # John Interrante, Karl Berry
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20983 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20984 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
20985 $as_echo_n "(cached) " >&6
20987 ac_check_lib_save_LIBS
=$LIBS
20988 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h. */
20992 /* Override any GCC internal prototype to avoid an error.
20993 Use char because int might match the return type of a GCC
20994 builtin and then its argument prototype would still apply. */
20998 char IceConnectionNumber ();
21002 return IceConnectionNumber ();
21007 if ac_fn_c_try_link
"$LINENO"; then :
21008 ac_cv_lib_ICE_IceConnectionNumber
=yes
21010 ac_cv_lib_ICE_IceConnectionNumber
=no
21012 rm -f core conftest.err conftest.
$ac_objext \
21013 conftest
$ac_exeext conftest.
$ac_ext
21014 LIBS
=$ac_check_lib_save_LIBS
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21017 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
21018 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
21019 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
21022 LDFLAGS
=$ac_save_LDFLAGS
21026 if test "x$with_x" = xyes
; then
21027 if test "x$no_x" = xyes
; then
21028 as_fn_error $?
"Sorry, could not find X include and library files required for Metafont." "$LINENO" 5
21030 test -n "$x_libraries" && XLFLAG
="-L$x_libraries"
21031 wlibs
="$XLFLAG -lX11"
21032 if test -z "$x_ext_lib"; then # allow envvar override
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XextCreateExtension in -lXext" >&5
21034 $as_echo_n "checking for XextCreateExtension in -lXext... " >&6; }
21035 if ${ac_cv_lib_Xext_XextCreateExtension+:} false
; then :
21036 $as_echo_n "(cached) " >&6
21038 ac_check_lib_save_LIBS
=$LIBS
21039 LIBS
="-lXext $wlibs $X_EXTRA_LIBS $LIBS"
21040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21041 /* end confdefs.h. */
21043 /* Override any GCC internal prototype to avoid an error.
21044 Use char because int might match the return type of a GCC
21045 builtin and then its argument prototype would still apply. */
21049 char XextCreateExtension ();
21053 return XextCreateExtension ();
21058 if ac_fn_c_try_link
"$LINENO"; then :
21059 ac_cv_lib_Xext_XextCreateExtension
=yes
21061 ac_cv_lib_Xext_XextCreateExtension
=no
21063 rm -f core conftest.err conftest.
$ac_objext \
21064 conftest
$ac_exeext conftest.
$ac_ext
21065 LIBS
=$ac_check_lib_save_LIBS
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XextCreateExtension" >&5
21068 $as_echo "$ac_cv_lib_Xext_XextCreateExtension" >&6; }
21069 if test "x$ac_cv_lib_Xext_XextCreateExtension" = xyes
; then :
21074 test "x$with_mf_x_toolkit" = xyes
&& x_tool_libs
="-lXt"
21076 $as_echo "#define X11WIN 1" >>confdefs.h
21079 if test "x$with_mf_x_toolkit" = xyes
; then
21091 if test "x$enable_epsfwin" = xyes
; then :
21093 $as_echo "#define EPSFWIN /**/" >>confdefs.h
21096 if test "x$enable_hp2627win" = xyes
; then :
21098 $as_echo "#define HP2627WIN /**/" >>confdefs.h
21101 if test "x$enable_mftalkwin" = xyes
; then :
21103 $as_echo "#define MFTALKWIN /**/" >>confdefs.h
21106 if test "x$enable_nextwin" = xyes
; then :
21108 $as_echo "#define NEXTWIN /**/" >>confdefs.h
21111 if test "x$enable_regiswin" = xyes
; then :
21113 $as_echo "#define REGISWIN /**/" >>confdefs.h
21116 if test "x$enable_suntoolswin" = xyes
; then :
21118 $as_echo "#define SUNWIN /**/" >>confdefs.h
21121 if test "x$enable_tektronixwin" = xyes
; then :
21123 $as_echo "#define TEKTRONIXWIN /**/" >>confdefs.h
21126 if test "x$enable_unitermwin" = xyes
; then :
21128 $as_echo "#define UNITERMWIN /**/" >>confdefs.h
21132 if test "x$enable_web_progs" != xno
; then
21141 if test "x$enable_ptex:$enable_eptex" = xno
:no
; then :
21142 enable_pweb_progs
=no
21144 enable_pweb_progs
=$enable_web_progs
21146 if test "x$enable_pweb_progs" != xno
; then
21155 if test "x$enable_uptex:$enable_euptex" = xno
:no
; then :
21156 enable_upweb_progs
=no
21158 enable_upweb_progs
=$enable_web_progs
21160 if test "x$enable_upweb_progs" != xno
; then
21169 for ac_prog
in 'bison -y' byacc
21171 # Extract the first word of "$ac_prog", so it can be a program name with args.
21172 set dummy
$ac_prog; ac_word
=$2
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21174 $as_echo_n "checking for $ac_word... " >&6; }
21175 if ${ac_cv_prog_YACC+:} false
; then :
21176 $as_echo_n "(cached) " >&6
21178 if test -n "$YACC"; then
21179 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
21181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21182 for as_dir
in $PATH
21185 test -z "$as_dir" && as_dir
=.
21186 for ac_exec_ext
in '' $ac_executable_extensions; do
21187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21188 ac_cv_prog_YACC
="$ac_prog"
21189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21198 YACC
=$ac_cv_prog_YACC
21199 if test -n "$YACC"; then
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
21201 $as_echo "$YACC" >&6; }
21203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21204 $as_echo "no" >&6; }
21208 test -n "$YACC" && break
21210 test -n "$YACC" || YACC
="yacc"
21212 for ac_prog
in flex
lex
21214 # Extract the first word of "$ac_prog", so it can be a program name with args.
21215 set dummy
$ac_prog; ac_word
=$2
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21217 $as_echo_n "checking for $ac_word... " >&6; }
21218 if ${ac_cv_prog_LEX+:} false
; then :
21219 $as_echo_n "(cached) " >&6
21221 if test -n "$LEX"; then
21222 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
21224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21225 for as_dir
in $PATH
21228 test -z "$as_dir" && as_dir
=.
21229 for ac_exec_ext
in '' $ac_executable_extensions; do
21230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21231 ac_cv_prog_LEX
="$ac_prog"
21232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21241 LEX
=$ac_cv_prog_LEX
21242 if test -n "$LEX"; then
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
21244 $as_echo "$LEX" >&6; }
21246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21247 $as_echo "no" >&6; }
21251 test -n "$LEX" && break
21253 test -n "$LEX" || LEX
=":"
21255 if test "x$LEX" != "x:"; then
21256 cat >conftest.l
<<_ACEOF
21262 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
21263 yyless ((input () != 0)); }
21264 f { unput (yytext[0]); }
21265 . { BEGIN INITIAL; }
21267 #ifdef YYTEXT_POINTER
21268 extern char *yytext;
21273 return ! yylex () + ! yywrap ();
21276 { { ac_try
="$LEX conftest.l"
21277 case "(($ac_try" in
21278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21279 *) ac_try_echo=$ac_try;;
21281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21282 $as_echo "$ac_try_echo"; } >&5
21283 (eval "$LEX conftest.l") 2>&5
21285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21286 test $ac_status = 0; }
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
21288 $as_echo_n "checking lex output file root... " >&6; }
21289 if ${ac_cv_prog_lex_root+:} false; then :
21290 $as_echo_n "(cached) " >&6
21293 if test -f lex.yy.c; then
21294 ac_cv_prog_lex_root=lex.yy
21295 elif test -f lexyy.c; then
21296 ac_cv_prog_lex_root=lexyy
21298 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
21301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
21302 $as_echo "$ac_cv_prog_lex_root" >&6; }
21303 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
21305 if test -z "${LEXLIB+set}"; then
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
21307 $as_echo_n "checking lex library... " >&6; }
21308 if ${ac_cv_lib_lex+:} false; then :
21309 $as_echo_n "(cached) " >&6
21313 ac_cv_lib_lex='none needed'
21314 for ac_lib in '' -lfl -ll; do
21315 LIBS="$ac_lib $ac_save_LIBS"
21316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21317 /* end confdefs.h. */
21318 `cat $LEX_OUTPUT_ROOT.c
`
21320 if ac_fn_c_try_link "$LINENO"; then :
21321 ac_cv_lib_lex=$ac_lib
21323 rm -f core conftest.err conftest.$ac_objext \
21324 conftest$ac_exeext conftest.$ac_ext
21325 test "$ac_cv_lib_lex" != 'none needed' && break
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
21331 $as_echo "$ac_cv_lib_lex" >&6; }
21332 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
21336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
21337 $as_echo_n "checking whether yytext is a pointer... " >&6; }
21338 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
21339 $as_echo_n "(cached) " >&6
21341 # POSIX says lex can declare yytext either as a pointer or an array; the
21342 # default is implementation-dependent. Figure out which it is, since
21343 # not all implementations provide the %pointer and %array declarations.
21344 ac_cv_prog_lex_yytext_pointer=no
21346 LIBS="$LEXLIB $ac_save_LIBS"
21347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21348 /* end confdefs.h. */
21350 #define YYTEXT_POINTER 1
21351 `cat $LEX_OUTPUT_ROOT.c
`
21353 if ac_fn_c_try_link "$LINENO"; then :
21354 ac_cv_prog_lex_yytext_pointer=yes
21356 rm -f core conftest.err conftest.$ac_objext \
21357 conftest$ac_exeext conftest.$ac_ext
21361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
21362 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
21363 if test $ac_cv_prog_lex_yytext_pointer = yes; then
21365 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
21368 rm -f conftest.l $LEX_OUTPUT_ROOT.c
21372 # Work around a problem with Flex Version 2.5.31 which needs -l flag.
21373 # Since all recent versions of flex support -l, don't check for the
21374 # specific version, but check that at least "--version" is supported.
21375 # We also want to catch LEX=/some/where/flex, so:
21377 *flex) $LEX --version >/dev/null 2>&1 && LEX="$LEX -l" ;;
21381 # Needed on A/UX 3.0. I don't want to pull in other -lposix's, though.
21382 # From: bernt@weinberg.pop.bio.aau.dk (Bernt Guldbrandtsen)
21383 if test `(uname
) 2>/dev
/null
` = aux; then
21384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigemptyset in -lposix" >&5
21385 $as_echo_n "checking for sigemptyset in -lposix... " >&6; }
21386 if ${ac_cv_lib_posix_sigemptyset+:} false; then :
21387 $as_echo_n "(cached) " >&6
21389 ac_check_lib_save_LIBS=$LIBS
21390 LIBS="-lposix $LIBS"
21391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21392 /* end confdefs.h. */
21394 /* Override any GCC internal prototype to avoid an error.
21395 Use char because int might match the return type of a GCC
21396 builtin and then its argument prototype would still apply. */
21400 char sigemptyset ();
21404 return sigemptyset ();
21409 if ac_fn_c_try_link "$LINENO"; then :
21410 ac_cv_lib_posix_sigemptyset=yes
21412 ac_cv_lib_posix_sigemptyset=no
21414 rm -f core conftest.err conftest.$ac_objext \
21415 conftest$ac_exeext conftest.$ac_ext
21416 LIBS=$ac_check_lib_save_LIBS
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_sigemptyset" >&5
21419 $as_echo "$ac_cv_lib_posix_sigemptyset" >&6; }
21420 if test "x$ac_cv_lib_posix_sigemptyset" = xyes; then :
21421 cat >>confdefs.h <<_ACEOF
21422 #define HAVE_LIBPOSIX 1
21425 LIBS="-lposix $LIBS"
21431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
21432 $as_echo_n "checking whether char is unsigned... " >&6; }
21433 if ${ac_cv_c_char_unsigned+:} false; then :
21434 $as_echo_n "(cached) " >&6
21436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21437 /* end confdefs.h. */
21438 $ac_includes_default
21442 static int test_array [1 - 2 * !(((char) -1) < 0)];
21443 test_array [0] = 0;
21444 return test_array [0];
21450 if ac_fn_c_try_compile "$LINENO"; then :
21451 ac_cv_c_char_unsigned=no
21453 ac_cv_c_char_unsigned=yes
21455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
21458 $as_echo "$ac_cv_c_char_unsigned" >&6; }
21459 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
21460 $as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h
21464 # The cast to long int works around a bug in the HP C Compiler
21465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21466 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
21467 # This bug is HP SR number 8606223364.
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
21469 $as_echo_n "checking size of int... " >&6; }
21470 if ${ac_cv_sizeof_int+:} false; then :
21471 $as_echo_n "(cached) " >&6
21473 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
21476 if test "$ac_cv_type_int" = yes; then
21477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21478 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
21479 as_fn_error 77 "cannot compute sizeof (int)
21480 See \`config.log
' for more details" "$LINENO" 5; }
21487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
21488 $as_echo "$ac_cv_sizeof_int" >&6; }
21492 cat >>confdefs.h <<_ACEOF
21493 #define SIZEOF_INT $ac_cv_sizeof_int
21497 if test $ac_cv_sizeof_int -lt 4; then
21498 as_fn_error $? "Sorry, need \`int' with
at least
4 bytes.
" "$LINENO" 5
21500 # The cast to long int works around a bug in the HP C Compiler
21501 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21502 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21503 # This bug is HP SR number 8606223364.
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long
" >&5
21505 $as_echo_n "checking size of long...
" >&6; }
21506 if ${ac_cv_sizeof_long+:} false; then :
21507 $as_echo_n "(cached
) " >&6
21509 if ac_fn_c_compute_int "$LINENO" "(long int
) (sizeof
(long
))" "ac_cv_sizeof_long
" "$ac_includes_default"; then :
21512 if test "$ac_cv_type_long" = yes; then
21513 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
21514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21515 as_fn_error 77 "cannot compute sizeof (long)
21516 See \`config.log' for more details
" "$LINENO" 5; }
21518 ac_cv_sizeof_long=0
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_sizeof_long" >&5
21524 $as_echo "$ac_cv_sizeof_long" >&6; }
21528 cat >>confdefs.h <<_ACEOF
21529 #define SIZEOF_LONG $ac_cv_sizeof_long
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing pow
" >&5
21534 $as_echo_n "checking
for library containing pow...
" >&6; }
21535 if ${ac_cv_search_pow+:} false; then :
21536 $as_echo_n "(cached
) " >&6
21538 ac_func_search_save_LIBS=$LIBS
21539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21540 /* end confdefs.h. */
21542 /* Override any GCC internal prototype to avoid an error.
21543 Use char because int might match the return type of a GCC
21544 builtin and then its argument prototype would still apply. */
21557 for ac_lib in '' m; do
21558 if test -z "$ac_lib"; then
21559 ac_res="none required
"
21562 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21564 if ac_fn_c_try_link "$LINENO"; then :
21565 ac_cv_search_pow=$ac_res
21567 rm -f core conftest.err conftest.$ac_objext \
21569 if ${ac_cv_search_pow+:} false; then :
21573 if ${ac_cv_search_pow+:} false; then :
21576 ac_cv_search_pow=no
21578 rm conftest.$ac_ext
21579 LIBS=$ac_func_search_save_LIBS
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_pow" >&5
21582 $as_echo "$ac_cv_search_pow" >&6; }
21583 ac_res=$ac_cv_search_pow
21584 if test "$ac_res" != no; then :
21585 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
21589 for ac_func in access atoi fmax ftime gettimeofday mkdtemp setlocale strerror strlcat strlcpy strndup
21591 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21593 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
21594 cat >>confdefs.h <<_ACEOF
21595 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21601 ac_fn_c_check_decl "$LINENO" "strndup
" "ac_cv_have_decl_strndup
" "$ac_includes_default"
21602 if test "x
$ac_cv_have_decl_strndup" = xyes; then :
21608 cat >>confdefs.h <<_ACEOF
21609 #define HAVE_DECL_STRNDUP $ac_have_decl
21612 for ac_header in errno.h langinfo.h locale.h sys/time.h sys/timeb.h sys/wait.h time.h
21614 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21615 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21616 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21617 cat >>confdefs.h <<_ACEOF
21618 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for long double
" >&5
21627 $as_echo_n "checking
for long double...
" >&6; }
21628 if ${ac_cv_type_long_double+:} false; then :
21629 $as_echo_n "(cached
) " >&6
21631 if test "$GCC" = yes; then
21632 ac_cv_type_long_double=yes
21634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21635 /* end confdefs.h. */
21636 /* The Stardent Vistra knows sizeof (long double), but does
21638 long double foo = 0.0L;
21642 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
21643 sizeof (double) <= sizeof (long double))];
21644 test_array [0] = 0;
21645 return test_array [0];
21651 if ac_fn_c_try_compile "$LINENO"; then :
21652 ac_cv_type_long_double=yes
21654 ac_cv_type_long_double=no
21656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_type_long_double" >&5
21660 $as_echo "$ac_cv_type_long_double" >&6; }
21661 if test $ac_cv_type_long_double = yes; then
21663 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
21668 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
21669 if ${ac_cv_header_stdbool_h+:} false
; then :
21670 $as_echo_n "(cached) " >&6
21672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21673 /* end confdefs.h. */
21675 #include <stdbool.h>
21677 "error: bool is not defined"
21680 "error: false is not defined"
21683 "error: false is not 0"
21686 "error: true is not defined"
21689 "error: true is not 1"
21691 #ifndef __bool_true_false_are_defined
21692 "error: __bool_true_false_are_defined is not defined"
21695 struct s { _Bool s: 1; _Bool t; } s;
21697 char a[true == 1 ? 1 : -1];
21698 char b[false == 0 ? 1 : -1];
21699 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
21700 char d[(bool) 0.5 == true ? 1 : -1];
21701 /* See body of main program for 'e'. */
21702 char f[(_Bool) 0.0 == false ? 1 : -1];
21704 char h[sizeof (_Bool)];
21705 char i[sizeof s.t];
21706 enum { j = false, k = true, l = false * true, m = true * 256 };
21707 /* The following fails for
21708 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
21710 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
21711 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
21712 /* Catch a bug in an HP-UX C compiler. See
21713 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
21714 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
21726 /* Refer to every declared value, to avoid compiler optimizations. */
21727 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
21728 + !m + !n + !o + !p + !q + !pq);
21734 if ac_fn_c_try_compile
"$LINENO"; then :
21735 ac_cv_header_stdbool_h
=yes
21737 ac_cv_header_stdbool_h
=no
21739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
21742 $as_echo "$ac_cv_header_stdbool_h" >&6; }
21743 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
21744 if test "x$ac_cv_type__Bool" = xyes
; then :
21746 cat >>confdefs.h
<<_ACEOF
21747 #define HAVE__BOOL 1
21754 if test $ac_cv_header_stdbool_h = yes; then
21756 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21762 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21763 if ${ac_cv_c_bigendian+:} false
; then :
21764 $as_echo_n "(cached) " >&6
21766 ac_cv_c_bigendian
=unknown
21767 # See if we're dealing with a universal compiler.
21768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21769 /* end confdefs.h. */
21770 #ifndef __APPLE_CC__
21771 not a universal capable compiler
21776 if ac_fn_c_try_compile
"$LINENO"; then :
21778 # Check for potential -arch flags. It is not universal unless
21779 # there are at least two -arch flags with different values.
21782 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
21783 if test -n "$ac_prev"; then
21785 i?
86 | x86_64 | ppc | ppc64
)
21786 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
21789 ac_cv_c_bigendian
=universal
21795 elif test "x$ac_word" = "x-arch"; then
21800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21801 if test $ac_cv_c_bigendian = unknown
; then
21802 # See if sys/param.h defines the BYTE_ORDER macro.
21803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21804 /* end confdefs.h. */
21805 #include <sys/types.h>
21806 #include <sys/param.h>
21811 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
21812 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
21814 bogus endian macros
21821 if ac_fn_c_try_compile
"$LINENO"; then :
21822 # It does; now see whether it defined to BIG_ENDIAN or not.
21823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21824 /* end confdefs.h. */
21825 #include <sys/types.h>
21826 #include <sys/param.h>
21831 #if BYTE_ORDER != BIG_ENDIAN
21839 if ac_fn_c_try_compile
"$LINENO"; then :
21840 ac_cv_c_bigendian
=yes
21842 ac_cv_c_bigendian
=no
21844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21848 if test $ac_cv_c_bigendian = unknown
; then
21849 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
21850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21851 /* end confdefs.h. */
21852 #include <limits.h>
21857 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
21858 bogus endian macros
21865 if ac_fn_c_try_compile
"$LINENO"; then :
21866 # It does; now see whether it defined to _BIG_ENDIAN or not.
21867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21868 /* end confdefs.h. */
21869 #include <limits.h>
21874 #ifndef _BIG_ENDIAN
21882 if ac_fn_c_try_compile
"$LINENO"; then :
21883 ac_cv_c_bigendian
=yes
21885 ac_cv_c_bigendian
=no
21887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21891 if test $ac_cv_c_bigendian = unknown
; then
21892 # Compile a test program.
21893 if test "$cross_compiling" = yes; then :
21894 # Try to guess by grepping values from an object file.
21895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21896 /* end confdefs.h. */
21897 short int ascii_mm[] =
21898 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
21899 short int ascii_ii[] =
21900 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
21901 int use_ascii (int i) {
21902 return ascii_mm[i] + ascii_ii[i];
21904 short int ebcdic_ii[] =
21905 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
21906 short int ebcdic_mm[] =
21907 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
21908 int use_ebcdic (int i) {
21909 return ebcdic_mm[i] + ebcdic_ii[i];
21916 return use_ascii (foo) == use_ebcdic (foo);
21921 if ac_fn_c_try_compile
"$LINENO"; then :
21922 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
21923 ac_cv_c_bigendian
=yes
21925 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
21926 if test "$ac_cv_c_bigendian" = unknown
; then
21927 ac_cv_c_bigendian
=no
21929 # finding both strings is unlikely to happen, but who knows?
21930 ac_cv_c_bigendian
=unknown
21934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21937 /* end confdefs.h. */
21938 $ac_includes_default
21943 /* Are we little or big endian? From Harbison&Steele. */
21947 char c[sizeof (long int)];
21950 return u.c[sizeof (long int) - 1] == 1;
21956 if ac_fn_c_try_run
"$LINENO"; then :
21957 ac_cv_c_bigendian
=no
21959 ac_cv_c_bigendian
=yes
21961 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21962 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21968 $as_echo "$ac_cv_c_bigendian" >&6; }
21969 case $ac_cv_c_bigendian in #(
21971 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21977 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
21981 as_fn_error $?
"unknown endianness
21982 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
21987 $as_echo_n "checking return type of signal handlers... " >&6; }
21988 if ${ac_cv_type_signal+:} false
; then :
21989 $as_echo_n "(cached) " >&6
21991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21992 /* end confdefs.h. */
21993 #include <sys/types.h>
21994 #include <signal.h>
21999 return *(signal (0, 0)) (0) == 1;
22004 if ac_fn_c_try_compile
"$LINENO"; then :
22005 ac_cv_type_signal
=int
22007 ac_cv_type_signal
=void
22009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
22012 $as_echo "$ac_cv_type_signal" >&6; }
22014 cat >>confdefs.h
<<_ACEOF
22015 #define RETSIGTYPE $ac_cv_type_signal
22020 kpse_save_CPPFLAGS
=$CPPFLAGS
22021 kpse_save_LIBS
=$LIBS
22023 ## _KPSE_INIT: Initialize TL infrastructure
22024 kpse_BLD
=`(cd "./../../." && pwd)`
22025 kpse_SRC
=`(cd "$srcdir/../../." && pwd)`
22027 ## _KPSE_USE_LIBTOOL: Generate a libtool script for use in configure tests
22028 : ${CONFIG_LT=./config.lt}
22029 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
22030 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
22032 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
22034 # Generated by $as_me.
22035 # Run this file to recreate a libtool stub with the current configuration.
22036 SHELL=\${CONFIG_SHELL-$SHELL}
22039 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail
=1
22040 ## -------------------- ##
22041 ## M4sh Initialization. ##
22042 ## -------------------- ##
22044 # Be more Bourne compatible
22045 DUALCASE
=1; export DUALCASE
# for MKS sh
22046 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22049 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22050 # is contrary to our usage. Disable this feature.
22051 alias -g '${1+"$@"}'='"$@"'
22052 setopt NO_GLOB_SUBST
22054 case `(set -o) 2>/dev/null` in #(
22066 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22067 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22068 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22069 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22070 # Prefer a ksh shell builtin over an external printf program on Solaris,
22071 # but without wasting forks for bash or zsh.
22072 if test -z "$BASH_VERSION$ZSH_VERSION" \
22073 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22074 as_echo='print
-r --'
22075 as_echo_n='print
-rn --'
22076 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22077 as_echo='printf %s
\n'
22078 as_echo_n='printf %s
'
22080 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22081 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22082 as_echo_n='/usr
/ucb
/echo -n'
22084 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22085 as_echo_n_body='eval
22089 expr "X$arg" : "X\\(.*\\)$as_nl";
22090 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22092 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22094 export as_echo_n_body
22095 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22097 export as_echo_body
22098 as_echo='sh
-c $as_echo_body as_echo
'
22101 # The user is always right.
22102 if test "${PATH_SEPARATOR+set}" != set; then
22104 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22105 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22112 # We need space, tab and new line, in precisely that order. Quoting is
22113 # there to prevent editors from complaining about space-tab.
22114 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22115 # splitting by setting IFS to empty value.)
22118 # Find who we are. Look in the path if we contain no directory separator.
22121 *[\\/]* ) as_myself=$0 ;;
22122 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22123 for as_dir in $PATH
22126 test -z "$as_dir" && as_dir=.
22127 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22133 # We did not find ourselves, most probably we were run as `sh COMMAND'
22134 # in which case we are not to be found in the path.
22135 if test "x$as_myself" = x
; then
22138 if test ! -f "$as_myself"; then
22139 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22143 # Unset variables that we do not need and which cause bugs (e.g. in
22144 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22145 # suppresses any "Segmentation fault" message there. '((' could
22146 # trigger a bug in pdksh 5.2.14.
22147 for as_var
in BASH_ENV ENV MAIL MAILPATH
22148 do eval test x\
${$as_var+set} = xset \
22149 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22162 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22165 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22166 # ----------------------------------------
22167 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22168 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22169 # script with STATUS, using 1 if that was 0.
22172 as_status
=$1; test $as_status -eq 0 && as_status
=1
22174 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22175 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22177 $as_echo "$as_me: error: $2" >&2
22178 as_fn_exit
$as_status
22182 # as_fn_set_status STATUS
22183 # -----------------------
22184 # Set $? to STATUS, without forking.
22185 as_fn_set_status
()
22188 } # as_fn_set_status
22190 # as_fn_exit STATUS
22191 # -----------------
22192 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22196 as_fn_set_status
$1
22202 # Portably unset VAR.
22205 { eval $1=; unset $1;}
22207 as_unset
=as_fn_unset
22208 # as_fn_append VAR VALUE
22209 # ----------------------
22210 # Append the text in VALUE to the end of the definition contained in VAR. Take
22211 # advantage of any shell optimizations that allow amortized linear growth over
22212 # repeated appends, instead of the typical quadratic growth present in naive
22214 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22215 eval 'as_fn_append ()
22226 # as_fn_arith ARG...
22227 # ------------------
22228 # Perform arithmetic evaluation on the ARGs, and store the result in the
22229 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22230 # must be portable across $(()) and expr.
22231 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22232 eval 'as_fn_arith ()
22239 as_val
=`expr "$@" || test $? -eq 1`
22244 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22245 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22251 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22252 as_basename
=basename
22257 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22263 as_me
=`$as_basename -- "$0" ||
22264 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22265 X"$0" : 'X\(//\)$' \| \
22266 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22268 sed '/^.*\/\([^/][^/]*\)\/*$/{
22282 # Avoid depending upon Character Ranges.
22283 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22284 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22285 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22286 as_cr_digits
='0123456789'
22287 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22289 ECHO_C
= ECHO_N
= ECHO_T
=
22290 case `echo -n x` in #(((((
22292 case `echo 'xy\c'` in
22293 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22295 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22302 rm -f conf$$ conf$$.exe conf$$.
file
22303 if test -d conf$$.dir
; then
22304 rm -f conf$$.dir
/conf$$.
file
22307 mkdir conf$$.dir
2>/dev
/null
22309 if (echo >conf$$.
file) 2>/dev
/null
; then
22310 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22312 # ... but there are two gotchas:
22313 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22314 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22315 # In both cases, we have to default to `cp -pR'.
22316 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22318 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22326 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22327 rmdir conf$$.dir
2>/dev
/null
22332 # Create "$as_dir" as a directory, including parents if necessary.
22337 -*) as_dir
=.
/$as_dir;;
22339 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22343 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22344 *) as_qdir
=$as_dir;;
22346 as_dirs
="'$as_qdir' $as_dirs"
22347 as_dir
=`$as_dirname -- "$as_dir" ||
22348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22349 X"$as_dir" : 'X\(//\)[^/]' \| \
22350 X"$as_dir" : 'X\(//\)$' \| \
22351 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22352 $as_echo X"$as_dir" |
22353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22357 /^X\(\/\/\)[^/].*/{
22370 test -d "$as_dir" && break
22372 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22373 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22377 if mkdir
-p .
2>/dev
/null
; then
22378 as_mkdir_p
='mkdir -p "$as_dir"'
22380 test -d .
/-p && rmdir .
/-p
22385 # as_fn_executable_p FILE
22386 # -----------------------
22387 # Test if FILE is an executable regular file.
22388 as_fn_executable_p
()
22390 test -f "$1" && test -x "$1"
22391 } # as_fn_executable_p
22392 as_test_x
='test -x'
22393 as_executable_p
=as_fn_executable_p
22395 # Sed expression to map a string onto a valid CPP name.
22396 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22398 # Sed expression to map a string onto a valid variable name.
22399 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22403 ## --------------------------------- ##
22404 ## Main body of "$CONFIG_LT" script. ##
22405 ## --------------------------------- ##
22407 test $as_write_fail = 0 && chmod +x
"$CONFIG_LT"
22409 cat >>"$CONFIG_LT" <<\_LTEOF
22414 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22415 ## Running $as_me. ##
22420 '$as_me' creates a local libtool stub from the current configuration,
22421 for use in further configure time tests before the real libtool is
22424 Usage: $0 [OPTIONS]
22426 -h, --help print this help, then exit
22427 -V, --version print version number, then exit
22428 -q, --quiet do not print progress messages
22429 -d, --debug don't remove temporary files
22431 Report bugs to <bug-libtool@gnu.org>."
22434 Web2C config.lt 2016/dev
22435 configured by $0, generated by GNU Autoconf 2.69.
22437 Copyright (C) 2011 Free Software Foundation, Inc.
22438 This config.lt script is free software; the Free Software Foundation
22439 gives unlimited permision to copy, distribute and modify it."
22444 --version |
--v* |
-V )
22445 echo "$lt_cl_version"; exit 0 ;;
22446 --help |
--h* |
-h )
22447 echo "$lt_cl_help"; exit 0 ;;
22448 --debug |
--d* |
-d )
22450 --quiet |
--q* |
--silent |
--s* |
-q )
22453 -*) as_fn_error $?
"unrecognized option: $1
22454 Try '$0 --help' for more information." "$LINENO" 5 ;;
22456 *) as_fn_error $?
"unrecognized argument: $1
22457 Try '$0 --help' for more information." "$LINENO" 5 ;;
22462 if $lt_cl_silent; then
22467 cat >>"$CONFIG_LT" <<_LTEOF
22470 # The HP-UX ksh and POSIX shell print the target directory to stdout
22471 # if CDPATH is set.
22472 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22474 sed_quote_subst='$sed_quote_subst'
22475 double_quote_subst='$double_quote_subst'
22476 delay_variable_subst='$delay_variable_subst'
22477 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22478 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22479 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
22480 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22481 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22482 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22483 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22484 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22485 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22486 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22487 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22488 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22489 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22490 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22491 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22492 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22493 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22494 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22495 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22496 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22497 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22498 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22499 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22500 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22501 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22502 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22503 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22504 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22505 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22506 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22507 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22508 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22509 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22510 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22511 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22512 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22513 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22514 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22515 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22516 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22517 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22518 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22519 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22520 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22521 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22522 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22523 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22524 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22525 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22526 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22527 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22528 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22529 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22530 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22531 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22532 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22533 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22534 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22535 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22536 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"`'
22537 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22538 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22539 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22540 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22541 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22542 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22543 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22544 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22545 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22546 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22547 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22548 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22549 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22550 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22551 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22552 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22553 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22554 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22555 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22556 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22557 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22558 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22559 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22560 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22561 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22562 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22563 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22564 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22565 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22566 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22567 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22568 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22569 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22570 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22571 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22572 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22573 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22574 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22575 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22576 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22577 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22578 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22579 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22580 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22581 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22582 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22583 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22584 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22585 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22586 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22587 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22588 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22589 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22590 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22591 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22592 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22593 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22594 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22595 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22596 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22597 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22598 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22599 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22600 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22601 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22602 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22603 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22604 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22605 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22606 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22607 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22608 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22609 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22610 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22611 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22612 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22613 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22614 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22615 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22616 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22617 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22618 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22619 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22620 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22621 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22622 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22623 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22624 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22625 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22626 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22627 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22628 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22629 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22630 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22631 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22632 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22633 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22634 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22635 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22636 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22637 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22638 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22639 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22640 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22641 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22642 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22643 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22644 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22645 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22646 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22647 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22648 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22649 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22650 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22651 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22652 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22653 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22654 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22655 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22656 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22657 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22658 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22659 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22660 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22661 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22662 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22663 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22664 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22665 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22666 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22669 LTCFLAGS='$LTCFLAGS'
22670 compiler='$compiler_DEFAULT'
22672 # A function that is used when there is no print builtin or printf.
22673 func_fallback_echo ()
22675 eval 'cat <<_LTECHO_EOF
22680 # Quote evaled strings.
22697 deplibs_check_method \
22701 sharedlib_from_linklib_cmd \
22704 archiver_list_spec \
22710 lt_cv_sys_global_symbol_pipe \
22711 lt_cv_sys_global_symbol_to_cdecl \
22712 lt_cv_sys_global_symbol_to_import \
22713 lt_cv_sys_global_symbol_to_c_name_address \
22714 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22715 lt_cv_nm_interface \
22716 nm_file_list_spec \
22717 lt_cv_truncate_bin \
22718 lt_prog_compiler_no_builtin_flag \
22719 lt_prog_compiler_pic \
22720 lt_prog_compiler_wl \
22721 lt_prog_compiler_static \
22722 lt_cv_prog_compiler_c_o \
22731 export_dynamic_flag_spec \
22732 whole_archive_flag_spec \
22733 compiler_needs_object \
22735 allow_undefined_flag \
22736 no_undefined_flag \
22737 hardcode_libdir_flag_spec \
22738 hardcode_libdir_separator \
22742 variables_saved_for_relink \
22744 library_names_spec \
22746 install_override_mode \
22750 compiler_lib_search_dirs \
22755 compiler_lib_search_path \
22759 lt_prog_compiler_no_builtin_flag_CXX \
22760 lt_prog_compiler_pic_CXX \
22761 lt_prog_compiler_wl_CXX \
22762 lt_prog_compiler_static_CXX \
22763 lt_cv_prog_compiler_c_o_CXX \
22764 export_dynamic_flag_spec_CXX \
22765 whole_archive_flag_spec_CXX \
22766 compiler_needs_object_CXX \
22768 allow_undefined_flag_CXX \
22769 no_undefined_flag_CXX \
22770 hardcode_libdir_flag_spec_CXX \
22771 hardcode_libdir_separator_CXX \
22772 exclude_expsyms_CXX \
22773 include_expsyms_CXX \
22774 file_list_spec_CXX \
22775 compiler_lib_search_dirs_CXX \
22776 predep_objects_CXX \
22777 postdep_objects_CXX \
22780 compiler_lib_search_path_CXX; do
22781 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22782 *[\\\\\\\`\\"\\\$]*)
22783 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22786 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22791 # Double-quote double-evaled strings.
22792 for var in reload_cmds \
22793 old_postinstall_cmds \
22794 old_postuninstall_cmds \
22796 extract_expsyms_cmds \
22797 old_archive_from_new_cmds \
22798 old_archive_from_expsyms_cmds \
22800 archive_expsym_cmds \
22802 module_expsym_cmds \
22803 export_symbols_cmds \
22807 postuninstall_cmds \
22809 sys_lib_search_path_spec \
22810 configure_time_dlsearch_path \
22811 configure_time_lt_sys_library_path \
22813 old_archive_cmds_CXX \
22814 old_archive_from_new_cmds_CXX \
22815 old_archive_from_expsyms_cmds_CXX \
22817 archive_expsym_cmds_CXX \
22819 module_expsym_cmds_CXX \
22820 export_symbols_cmds_CXX \
22822 postlink_cmds_CXX; do
22823 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22824 *[\\\\\\\`\\"\\\$]*)
22825 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22828 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22833 ac_aux_dir='$ac_aux_dir'
22835 # See if we are running on zsh, and set the options that allow our
22836 # commands through without removal of \ escapes INIT.
22837 if test -n "\${ZSH_VERSION+set}"; then
22838 setopt NO_GLOB_SUBST
22849 enable_libtool_hack='$enable_libtool_hack'
22854 cat >>"$CONFIG_LT" <<\_LTEOF
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
22856 $as_echo "$as_me: creating $ofile" >&6;}
22859 # See if we are running on zsh, and set the options that allow our
22860 # commands through without removal of \ escapes.
22861 if test -n "${ZSH_VERSION+set}"; then
22862 setopt NO_GLOB_SUBST
22866 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22869 cat <<_LT_EOF >> "$cfgfile"
22871 # Generated automatically by $as_me ($PACKAGE) $VERSION
22872 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22873 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22875 # Provide generalized library-building support services.
22876 # Written by Gordon Matzigkeit, 1996
22878 # Copyright (C) 2014 Free Software Foundation, Inc.
22879 # This is free software; see the source for copying conditions. There is NO
22880 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22882 # GNU Libtool is free software; you can redistribute it and/or modify
22883 # it under the terms of the GNU General Public License as published by
22884 # the Free Software Foundation; either version 2 of of the License, or
22885 # (at your option) any later version.
22887 # As a special exception to the GNU General Public License, if you
22888 # distribute this file as part of a program or library that is built
22889 # using GNU Libtool, you may include this file under the same
22890 # distribution terms that you use for the rest of that program.
22892 # GNU Libtool is distributed in the hope that it will be useful, but
22893 # WITHOUT ANY WARRANTY; without even the implied warranty of
22894 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22895 # GNU General Public License for more details.
22897 # You should have received a copy of the GNU General Public License
22898 # along with this program. If not, see <http://www.gnu.org/licenses/>.
22901 # The names of the tagged configurations supported by this script.
22902 available_tags='CXX '
22904 # Configured defaults for sys_lib_dlsearch_path munging.
22905 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
22907 # ### BEGIN LIBTOOL CONFIG
22909 # Which release of libtool.m4 was used?
22910 macro_version=$macro_version
22911 macro_revision=$macro_revision
22913 # Assembler program.
22916 # DLL creation program.
22917 DLLTOOL=$lt_DLLTOOL
22919 # Object dumper program.
22920 OBJDUMP=$lt_OBJDUMP
22922 # Whether or not to build shared libraries.
22923 build_libtool_libs=$enable_shared
22925 # Whether or not to build static libraries.
22926 build_old_libs=$enable_static
22928 # What type of objects to build.
22931 # Whether or not to optimize for fast installation.
22932 fast_install=$enable_fast_install
22934 # Shared archive member basename,for filename based shared library versioning on AIX.
22935 shared_archive_member_spec=$shared_archive_member_spec
22937 # Shell to use when invoking shell scripts.
22940 # An echo program that protects backslashes.
22943 # The PATH separator for the build system.
22944 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22947 host_alias=$host_alias
22951 # The build system.
22952 build_alias=$build_alias
22956 # A sed program that does not truncate output.
22959 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22960 Xsed="\$SED -e 1s/^X//"
22962 # A grep program that handles long lines.
22968 # A literal string matcher.
22971 # A BSD- or MS-compatible name lister.
22974 # Whether we need soft or hard links.
22977 # What is the maximum length of a command?
22978 max_cmd_len=$max_cmd_len
22980 # Object file suffix (normally "o").
22983 # Executable file suffix (normally "").
22986 # whether the shell understands "unset".
22989 # turn spaces into newlines.
22992 # turn newlines into spaces.
22995 # convert \$build file names to \$host format.
22996 to_host_file_cmd=$lt_cv_to_host_file_cmd
22998 # convert \$build files to toolchain format.
22999 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23001 # Method to check whether dependent libraries are shared objects.
23002 deplibs_check_method=$lt_deplibs_check_method
23004 # Command to use when deplibs_check_method = "file_magic".
23005 file_magic_cmd=$lt_file_magic_cmd
23007 # How to find potential files when deplibs_check_method = "file_magic".
23008 file_magic_glob=$lt_file_magic_glob
23010 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23011 want_nocaseglob=$lt_want_nocaseglob
23013 # Command to associate shared and link libraries.
23014 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23019 # Flags to create an archive.
23020 AR_FLAGS=$lt_AR_FLAGS
23022 # How to feed a file listing to the archiver.
23023 archiver_list_spec=$lt_archiver_list_spec
23025 # A symbol stripping program.
23028 # Commands used to install an old-style archive.
23030 old_postinstall_cmds=$lt_old_postinstall_cmds
23031 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23033 # Whether to use a lock for old archive extraction.
23034 lock_old_archive_extraction=$lock_old_archive_extraction
23039 # LTCC compiler flags.
23040 LTCFLAGS=$lt_CFLAGS
23042 # Take the output of nm and produce a listing of raw symbols and C names.
23043 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23045 # Transform the output of nm in a proper C declaration.
23046 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23048 # Transform the output of nm into a list of symbols to manually relocate.
23049 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23051 # Transform the output of nm in a C name address pair.
23052 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23054 # Transform the output of nm in a C name address pair when lib prefix is needed.
23055 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23057 # The name lister interface.
23058 nm_interface=$lt_lt_cv_nm_interface
23060 # Specify filename containing input files for \$NM.
23061 nm_file_list_spec=$lt_nm_file_list_spec
23063 # The root where to search for dependent libraries,and where our libraries should be installed.
23064 lt_sysroot=$lt_sysroot
23066 # Command to truncate a binary pipe.
23067 lt_truncate_bin=$lt_lt_cv_truncate_bin
23069 # The name of the directory that contains temporary libtool files.
23072 # Used to examine libraries when file_magic_cmd begins with "file".
23073 MAGIC_CMD=$MAGIC_CMD
23075 # Must we lock files when doing compilation?
23076 need_locks=$lt_need_locks
23079 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23081 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23082 DSYMUTIL=$lt_DSYMUTIL
23084 # Tool to change global to local symbols on Mac OS X.
23087 # Tool to manipulate fat objects and archives on Mac OS X.
23090 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23093 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23094 OTOOL64=$lt_OTOOL64
23096 # Old archive suffix (normally "a").
23099 # Shared library suffix (normally ".so").
23100 shrext_cmds=$lt_shrext_cmds
23102 # The commands to extract the exported symbol list from a shared archive.
23103 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23105 # Variables whose values should be saved in libtool wrapper scripts and
23106 # restored at link time.
23107 variables_saved_for_relink=$lt_variables_saved_for_relink
23109 # Do we need the "lib" prefix for modules?
23110 need_lib_prefix=$need_lib_prefix
23112 # Do we need a version for libraries?
23113 need_version=$need_version
23115 # Library versioning type.
23116 version_type=$version_type
23118 # Shared library runtime path variable.
23119 runpath_var=$runpath_var
23121 # Shared library path variable.
23122 shlibpath_var=$shlibpath_var
23124 # Is shlibpath searched before the hard-coded library search path?
23125 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23127 # Format of library name prefix.
23128 libname_spec=$lt_libname_spec
23130 # List of archive names. First name is the real one, the rest are links.
23131 # The last name is the one that the linker finds with -lNAME
23132 library_names_spec=$lt_library_names_spec
23134 # The coded name of the library, if different from the real name.
23135 soname_spec=$lt_soname_spec
23137 # Permission mode override for installation of shared libraries.
23138 install_override_mode=$lt_install_override_mode
23140 # Command to use after installation of a shared archive.
23141 postinstall_cmds=$lt_postinstall_cmds
23143 # Command to use after uninstallation of a shared archive.
23144 postuninstall_cmds=$lt_postuninstall_cmds
23146 # Commands used to finish a libtool library installation in a directory.
23147 finish_cmds=$lt_finish_cmds
23149 # As "finish_cmds", except a single script fragment to be evaled but
23151 finish_eval=$lt_finish_eval
23153 # Whether we should hardcode library paths into libraries.
23154 hardcode_into_libs=$hardcode_into_libs
23156 # Compile-time system search path for libraries.
23157 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23159 # Detected run-time system search path for libraries.
23160 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23162 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23163 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23165 # Whether dlopen is supported.
23166 dlopen_support=$enable_dlopen
23168 # Whether dlopen of programs is supported.
23169 dlopen_self=$enable_dlopen_self
23171 # Whether dlopen of statically linked programs is supported.
23172 dlopen_self_static=$enable_dlopen_self_static
23174 # Commands to strip libraries.
23175 old_striplib=$lt_old_striplib
23176 striplib=$lt_striplib
23179 # The linker used to build libraries.
23182 # How to create reloadable object files.
23183 reload_flag=$lt_reload_flag
23184 reload_cmds=$lt_reload_cmds
23186 # Commands used to build an old-style archive.
23187 old_archive_cmds=$lt_old_archive_cmds
23189 # A language specific compiler.
23192 # Is the compiler the GNU compiler?
23195 # Compiler flag to turn off builtin functions.
23196 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23198 # Additional compiler flags for building library objects.
23199 pic_flag=$lt_lt_prog_compiler_pic
23201 # How to pass a linker flag through the compiler.
23202 wl=$lt_lt_prog_compiler_wl
23204 # Compiler flag to prevent dynamic linking.
23205 link_static_flag=$lt_lt_prog_compiler_static
23207 # Does compiler simultaneously support -c and -o options?
23208 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23210 # Whether or not to add -lc for building shared libraries.
23211 build_libtool_need_lc=$archive_cmds_need_lc
23213 # Whether or not to disallow shared libs when runtime libs are static.
23214 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23216 # Compiler flag to allow reflexive dlopens.
23217 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23219 # Compiler flag to generate shared objects directly from archives.
23220 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23222 # Whether the compiler copes with passing no objects directly.
23223 compiler_needs_object=$lt_compiler_needs_object
23225 # Create an old-style archive from a shared archive.
23226 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23228 # Create a temporary old-style archive to link instead of a shared archive.
23229 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23231 # Commands used to build a shared archive.
23232 archive_cmds=$lt_archive_cmds
23233 archive_expsym_cmds=$lt_archive_expsym_cmds
23235 # Commands used to build a loadable module if different from building
23236 # a shared archive.
23237 module_cmds=$lt_module_cmds
23238 module_expsym_cmds=$lt_module_expsym_cmds
23240 # Whether we are building with GNU ld or not.
23241 with_gnu_ld=$lt_with_gnu_ld
23243 # Flag that allows shared libraries with undefined symbols to be built.
23244 allow_undefined_flag=$lt_allow_undefined_flag
23246 # Flag that enforces no undefined symbols.
23247 no_undefined_flag=$lt_no_undefined_flag
23249 # Flag to hardcode \$libdir into a binary during linking.
23250 # This must work even if \$libdir does not exist
23251 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23253 # Whether we need a single "-rpath" flag with a separated argument.
23254 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23256 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23257 # DIR into the resulting binary.
23258 hardcode_direct=$hardcode_direct
23260 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23261 # DIR into the resulting binary and the resulting library dependency is
23262 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23263 # library is relocated.
23264 hardcode_direct_absolute=$hardcode_direct_absolute
23266 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23267 # into the resulting binary.
23268 hardcode_minus_L=$hardcode_minus_L
23270 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23271 # into the resulting binary.
23272 hardcode_shlibpath_var=$hardcode_shlibpath_var
23274 # Set to "yes" if building a shared library automatically hardcodes DIR
23275 # into the library and all subsequent libraries and executables linked
23277 hardcode_automatic=$hardcode_automatic
23279 # Set to yes if linker adds runtime paths of dependent libraries
23280 # to runtime path list.
23281 inherit_rpath=$inherit_rpath
23283 # Whether libtool must link a program against all its dependency libraries.
23284 link_all_deplibs=$link_all_deplibs
23286 # Set to "yes" if exported symbols are required.
23287 always_export_symbols=$always_export_symbols
23289 # The commands to list exported symbols.
23290 export_symbols_cmds=$lt_export_symbols_cmds
23292 # Symbols that should not be listed in the preloaded symbols.
23293 exclude_expsyms=$lt_exclude_expsyms
23295 # Symbols that must always be exported.
23296 include_expsyms=$lt_include_expsyms
23298 # Commands necessary for linking programs (against libraries) with templates.
23299 prelink_cmds=$lt_prelink_cmds
23301 # Commands necessary for finishing linking programs.
23302 postlink_cmds=$lt_postlink_cmds
23304 # Specify filename containing input files.
23305 file_list_spec=$lt_file_list_spec
23307 # How to hardcode a shared library path into an executable.
23308 hardcode_action=$hardcode_action
23310 # The directories searched by this compiler when creating a shared library.
23311 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23313 # Dependencies to place before and after the objects being linked to
23314 # create a shared library.
23315 predep_objects=$lt_predep_objects
23316 postdep_objects=$lt_postdep_objects
23317 predeps=$lt_predeps
23318 postdeps=$lt_postdeps
23320 # The library search path used internally by the compiler when linking
23321 # a shared library.
23322 compiler_lib_search_path=$lt_compiler_lib_search_path
23324 # ### END LIBTOOL CONFIG
23328 cat <<'_LT_EOF' >> "$cfgfile"
23330 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23332 # func_munge_path_list VARIABLE PATH
23333 # -----------------------------------
23334 # VARIABLE is name of variable containing _space_ separated list of
23335 # directories to be munged by the contents of PATH, which is string
23338 # string "DIR[ DIR]" will be prepended to VARIABLE
23340 # string "DIR[ DIR]" will be appended to VARIABLE
23341 # "DIRP[:DIRP]::[DIRA:]DIRA"
23342 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23343 # "DIRA[ DIRA]" will be appended to VARIABLE
23345 # VARIABLE will be replaced by "DIR[ DIR]"
23346 func_munge_path_list ()
23352 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23355 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23358 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23359 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23362 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23368 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
23369 func_cc_basename ()
23371 for cc_temp in $*""; do
23373 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23374 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23379 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23383 # ### END FUNCTIONS SHARED WITH CONFIGURE
23389 cat <<\_LT_EOF
>> "$cfgfile"
23390 # AIX sometimes has problems with the GCC collect2 program. For some
23391 # reason, if we set the COLLECT_NAMES environment variable, the problems
23392 # vanish in a puff of smoke.
23393 if test set != "${COLLECT_NAMES+set}"; then
23395 export COLLECT_NAMES
23402 ltmain
=$ac_aux_dir/ltmain.sh
23405 # We use sed instead of cat because bash on DJGPP gets confused if
23406 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23407 # text mode, it properly converts lines to CR/LF. This bash problem
23408 # is reportedly fixed, but why not run on old versions too?
23409 sed '$q' "$ltmain" >> "$cfgfile" \
23410 ||
(rm -f "$cfgfile"; exit 1)
23412 mv -f "$cfgfile" "$ofile" ||
23413 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23417 cat <<_LT_EOF >> "$ofile"
23419 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23421 # The linker used to build libraries.
23424 # How to create reloadable object files.
23425 reload_flag=$lt_reload_flag_CXX
23426 reload_cmds=$lt_reload_cmds_CXX
23428 # Commands used to build an old-style archive.
23429 old_archive_cmds=$lt_old_archive_cmds_CXX
23431 # A language specific compiler.
23432 CC=$lt_compiler_CXX
23434 # Is the compiler the GNU compiler?
23437 # Compiler flag to turn off builtin functions.
23438 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23440 # Additional compiler flags for building library objects.
23441 pic_flag=$lt_lt_prog_compiler_pic_CXX
23443 # How to pass a linker flag through the compiler.
23444 wl=$lt_lt_prog_compiler_wl_CXX
23446 # Compiler flag to prevent dynamic linking.
23447 link_static_flag=$lt_lt_prog_compiler_static_CXX
23449 # Does compiler simultaneously support -c and -o options?
23450 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23452 # Whether or not to add -lc for building shared libraries.
23453 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23455 # Whether or not to disallow shared libs when runtime libs are static.
23456 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23458 # Compiler flag to allow reflexive dlopens.
23459 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23461 # Compiler flag to generate shared objects directly from archives.
23462 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23464 # Whether the compiler copes with passing no objects directly.
23465 compiler_needs_object=$lt_compiler_needs_object_CXX
23467 # Create an old-style archive from a shared archive.
23468 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23470 # Create a temporary old-style archive to link instead of a shared archive.
23471 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23473 # Commands used to build a shared archive.
23474 archive_cmds=$lt_archive_cmds_CXX
23475 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23477 # Commands used to build a loadable module if different from building
23478 # a shared archive.
23479 module_cmds=$lt_module_cmds_CXX
23480 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23482 # Whether we are building with GNU ld or not.
23483 with_gnu_ld=$lt_with_gnu_ld_CXX
23485 # Flag that allows shared libraries with undefined symbols to be built.
23486 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23488 # Flag that enforces no undefined symbols.
23489 no_undefined_flag=$lt_no_undefined_flag_CXX
23491 # Flag to hardcode \$libdir into a binary during linking.
23492 # This must work even if \$libdir does not exist
23493 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23495 # Whether we need a single "-rpath" flag with a separated argument.
23496 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23498 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23499 # DIR into the resulting binary.
23500 hardcode_direct=$hardcode_direct_CXX
23502 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23503 # DIR into the resulting binary and the resulting library dependency is
23504 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23505 # library is relocated.
23506 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23508 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23509 # into the resulting binary.
23510 hardcode_minus_L=$hardcode_minus_L_CXX
23512 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23513 # into the resulting binary.
23514 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23516 # Set to "yes" if building a shared library automatically hardcodes DIR
23517 # into the library and all subsequent libraries and executables linked
23519 hardcode_automatic=$hardcode_automatic_CXX
23521 # Set to yes if linker adds runtime paths of dependent libraries
23522 # to runtime path list.
23523 inherit_rpath=$inherit_rpath_CXX
23525 # Whether libtool must link a program against all its dependency libraries.
23526 link_all_deplibs=$link_all_deplibs_CXX
23528 # Set to "yes" if exported symbols are required.
23529 always_export_symbols=$always_export_symbols_CXX
23531 # The commands to list exported symbols.
23532 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23534 # Symbols that should not be listed in the preloaded symbols.
23535 exclude_expsyms=$lt_exclude_expsyms_CXX
23537 # Symbols that must always be exported.
23538 include_expsyms=$lt_include_expsyms_CXX
23540 # Commands necessary for linking programs (against libraries) with templates.
23541 prelink_cmds=$lt_prelink_cmds_CXX
23543 # Commands necessary for finishing linking programs.
23544 postlink_cmds=$lt_postlink_cmds_CXX
23546 # Specify filename containing input files.
23547 file_list_spec=$lt_file_list_spec_CXX
23549 # How to hardcode a shared library path into an executable.
23550 hardcode_action=$hardcode_action_CXX
23552 # The directories searched by this compiler when creating a shared library.
23553 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23555 # Dependencies to place before and after the objects being linked to
23556 # create a shared library.
23557 predep_objects=$lt_predep_objects_CXX
23558 postdep_objects=$lt_postdep_objects_CXX
23559 predeps=$lt_predeps_CXX
23560 postdeps=$lt_postdeps_CXX
23562 # The library search path used internally by the compiler when linking
23563 # a shared library.
23564 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23566 # ### END LIBTOOL TAG CONFIG: CXX
23569 ## KPSE_LT_HACK: Prevent libtool from linking dependency_libs
23570 if test "x$enable_libtool_hack" = xyes
; then
23571 $SED '/# Convert "-framework/i\
23572 ## KPSE_LT_HACK: ignore dependency_libs\
23573 test "X$installed" = Xyes && dependency_libs=\
23574 ' "$ofile" >"$cfgfile"
23575 mv "$cfgfile" "$ofile" ||
23576 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23582 chmod +x
"$CONFIG_LT"
23584 # configure is writing to config.log, but config.lt does its own redirection,
23585 # appending to config.log, which fails on DOS, as config.log is still kept
23586 # open by configure. Here we exec the FD to /dev/null, effectively closing
23587 # config.log, so it can be properly (re)opened and appended to by config.lt.
23589 test yes = "$silent" &&
23590 lt_config_lt_args
="$lt_config_lt_args --quiet"
23592 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success
=false
23594 $lt_cl_success || as_fn_exit
1
23597 ac_cpp
='$CPP $CPPFLAGS'
23598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23601 ac_link
="./libtool --mode=link --tag=CC $ac_link"
23603 ## _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags
23605 # Check whether --with-system-kpathsea was given.
23606 if test "${with_system_kpathsea+set}" = set; then :
23607 withval
=$with_system_kpathsea;
23609 if test "x$with_system_kpathsea" = xyes
; then
23610 if $PKG_CONFIG kpathsea
; then
23611 KPATHSEA_INCLUDES
=`$PKG_CONFIG kpathsea --cflags`
23612 KPATHSEA_LIBS
=`$PKG_CONFIG kpathsea --libs`
23613 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes
:yes; then
23614 as_fn_error $?
"did not find kpathsea" "$LINENO" 5
23617 KPATHSEA_INCLUDES
="-I$kpse_BLD/texk -I$kpse_SRC/texk"
23618 KPATHSEA_LIBS
="$kpse_BLD/texk/kpathsea/libkpathsea.la"
23619 KPATHSEA_DEPEND
='${top_builddir}/../kpathsea/libkpathsea.la'
23620 KPATHSEA_RULE
='# Rebuild libkpathsea
23621 $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
23622 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
23623 ${top_builddir}/../kpathsea/paths.h:
23624 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
23628 $as_echo_n "checking if libkpathsea supports debugging... " >&6; }
23629 if ${kpse_cv_kpse_debug+:} false
; then :
23630 $as_echo_n "(cached) " >&6
23632 eval CPPFLAGS
=\"$KPATHSEA_INCLUDES \
$CPPFLAGS\"
23633 eval LIBS
=\"$KPATHSEA_LIBS \
$LIBS\"
23635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23636 /* end confdefs.h. */
23637 #include <kpathsea/kpathsea.h>
23641 FILE *f = fopen("f", "r")
23646 if ac_fn_c_try_link
"$LINENO"; then :
23647 kpse_cv_kpse_debug
=yes
23649 kpse_cv_kpse_debug
=no
23651 rm -f core conftest.err conftest.
$ac_objext \
23652 conftest
$ac_exeext conftest.
$ac_ext
23653 CPPFLAGS
=$kpse_save_CPPFLAGS
23654 LIBS
=$kpse_save_LIBS
23657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
23658 $as_echo "$kpse_cv_kpse_debug" >&6; }
23659 if test "x$kpse_cv_kpse_debug" != xyes
; then :
23660 KPATHSEA_INCLUDES
="$KPATHSEA_INCLUDES -DNO_DEBUG"
23663 ## _KPSE_LIB_FLAGS: Setup ptexenc (-lptexenc) flags
23665 # Check whether --with-system-ptexenc was given.
23666 if test "${with_system_ptexenc+set}" = set; then :
23667 withval
=$with_system_ptexenc;
23669 if test "x$with_system_ptexenc" = xyes
; then
23670 if $PKG_CONFIG ptexenc
; then
23671 PTEXENC_INCLUDES
=`$PKG_CONFIG ptexenc --cflags`
23672 PTEXENC_LIBS
=`$PKG_CONFIG ptexenc --libs`
23673 elif test "x$need_ptexenc:$with_system_ptexenc" = xyes
:yes; then
23674 as_fn_error $?
"did not find ptexenc" "$LINENO" 5
23677 PTEXENC_INCLUDES
="-I$kpse_BLD/texk/ptexenc -I$kpse_SRC/texk/ptexenc"
23678 PTEXENC_LIBS
="$kpse_BLD/texk/ptexenc/libptexenc.la"
23679 PTEXENC_DEPEND
='${top_builddir}/../ptexenc/libptexenc.la'
23680 PTEXENC_RULE
='# Rebuild libptexenc
23681 $(PTEXENC_DEPEND): ${top_srcdir}/../ptexenc/*.c ${top_srcdir}/../ptexenc/ptexenc/*.h
23682 cd ${top_builddir}/../ptexenc && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23685 ## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags
23687 # Check whether --with-system-zlib was given.
23688 if test "${with_system_zlib+set}" = set; then :
23689 withval
=$with_system_zlib;
23692 # Check whether --with-zlib-includes was given.
23693 if test "${with_zlib_includes+set}" = set; then :
23694 withval
=$with_zlib_includes;
23697 # Check whether --with-zlib-libdir was given.
23698 if test "${with_zlib_libdir+set}" = set; then :
23699 withval
=$with_zlib_libdir;
23701 if test "x$with_system_zlib" = xyes
; then
23702 if test "x$with_zlib_includes" != x
&& test "x$with_zlib_includes" != xyes
; then
23703 ZLIB_INCLUDES
="-I$with_zlib_includes"
23706 if test "x$with_zlib_libdir" != x
&& test "x$with_zlib_libdir" != xyes
; then
23707 ZLIB_LIBS
="-L$with_zlib_libdir $ZLIB_LIBS"
23710 ZLIB_INCLUDES
="-I$kpse_BLD/libs/zlib/include"
23711 ZLIB_LIBS
="$kpse_BLD/libs/zlib/libz.a"
23712 ZLIB_DEPEND
='${top_builddir}/../../libs/zlib/libz.a'
23713 ZLIB_RULE
='# Rebuild libz
23714 $(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
23715 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
23716 ${top_builddir}/../../libs/zlib/include/zconf.h:
23717 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5
23720 $as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; }
23721 if ${kpse_cv_have_decl_z_const+:} false
; then :
23722 $as_echo_n "(cached) " >&6
23724 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
23725 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
23727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23728 /* end confdefs.h. */
23733 z_const char * foo();
23738 if ac_fn_c_try_compile
"$LINENO"; then :
23739 kpse_cv_have_decl_z_const
=yes
23741 kpse_cv_have_decl_z_const
=no
23743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23744 CPPFLAGS
=$kpse_save_CPPFLAGS
23745 LIBS
=$kpse_save_LIBS
23748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5
23749 $as_echo "$kpse_cv_have_decl_z_const" >&6; }
23750 case $kpse_cv_have_decl_z_const in #(
23753 $as_echo "#define ZLIB_CONST 1" >>confdefs.h
23757 $as_echo "#define z_const /**/" >>confdefs.h
23761 ## _KPSE_LIB_FLAGS: Setup lua52 (-ltexlua52) flags
23762 LUA52_INCLUDES
="-I$kpse_BLD/libs/lua52/include"
23763 LUA52_LIBS
="$kpse_BLD/libs/lua52/libtexlua52.la"
23764 LUA52_DEPEND
='${top_builddir}/../../libs/lua52/libtexlua52.la'
23765 LUA52_RULE
='# Rebuild libtexlua52
23766 $(LUA52_DEPEND): ${top_builddir}/../../libs/lua52/include/lua.h
23767 cd ${top_builddir}/../../libs/lua52 && $(MAKE) $(AM_MAKEFLAGS) rebuild
23768 ${top_builddir}/../../libs/lua52/include/lua.h:
23769 cd ${top_builddir}/../../libs/lua52 && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23771 ## _KPSE_LIB_FLAGS: Setup luajit (-ltexluajit) flags
23772 LUAJIT_INCLUDES
="-I$kpse_BLD/libs/luajit/include"
23773 LUAJIT_LIBS
="$kpse_BLD/libs/luajit/libtexluajit.la"
23774 LUAJIT_DEPEND
='${top_builddir}/../../libs/luajit/libtexluajit.la'
23775 LUAJIT_RULE
='# Rebuild libtexluajit
23776 $(LUAJIT_DEPEND): ${top_builddir}/../../libs/luajit/include/luajit.h
23777 cd ${top_builddir}/../../libs/luajit && $(MAKE) $(AM_MAKEFLAGS) rebuild
23778 ${top_builddir}/../../libs/luajit/include/luajit.h:
23779 cd ${top_builddir}/../../libs/luajit && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23781 ## _KPSE_LIB_FLAGS: Setup libpng (-lpng) flags
23783 # Check whether --with-system-libpng was given.
23784 if test "${with_system_libpng+set}" = set; then :
23785 withval
=$with_system_libpng;
23787 if test "x$with_system_libpng" = xyes
; then
23788 if $PKG_CONFIG libpng
; then
23789 LIBPNG_INCLUDES
=`$PKG_CONFIG libpng --cflags`
23790 LIBPNG_LIBS
=`$PKG_CONFIG libpng --libs`
23791 elif test "x$need_libpng:$with_system_libpng" = xyes
:yes; then
23792 as_fn_error $?
"did not find libpng" "$LINENO" 5
23795 LIBPNG_INCLUDES
="-I$kpse_BLD/libs/libpng/include"
23796 LIBPNG_LIBS
="$kpse_BLD/libs/libpng/libpng.a"
23797 LIBPNG_DEPEND
='${top_builddir}/../../libs/libpng/libpng.a'
23798 LIBPNG_RULE
='# Rebuild libpng
23799 $(LIBPNG_DEPEND): ${top_builddir}/../../libs/libpng/include/png.h
23800 cd ${top_builddir}/../../libs/libpng && $(MAKE) $(AM_MAKEFLAGS) rebuild
23801 ${top_builddir}/../../libs/libpng/include/png.h:
23802 cd ${top_builddir}/../../libs/libpng && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23805 ## _KPSE_LIB_FLAGS: Setup freetype2 (-lfreetype) flags
23807 # Check whether --with-system-freetype2 was given.
23808 if test "${with_system_freetype2+set}" = set; then :
23809 withval
=$with_system_freetype2;
23811 if test "x$with_system_freetype2" = xyes
; then
23812 if test -n "$ac_tool_prefix"; then
23813 # Extract the first word of "${ac_tool_prefix}freetype-config", so it can be a program name with args.
23814 set dummy
${ac_tool_prefix}freetype-config
; ac_word
=$2
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23816 $as_echo_n "checking for $ac_word... " >&6; }
23817 if ${ac_cv_prog_FT2_CONFIG+:} false
; then :
23818 $as_echo_n "(cached) " >&6
23820 if test -n "$FT2_CONFIG"; then
23821 ac_cv_prog_FT2_CONFIG
="$FT2_CONFIG" # Let the user override the test.
23823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23824 for as_dir
in $PATH
23827 test -z "$as_dir" && as_dir
=.
23828 for ac_exec_ext
in '' $ac_executable_extensions; do
23829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23830 ac_cv_prog_FT2_CONFIG
="${ac_tool_prefix}freetype-config"
23831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23840 FT2_CONFIG
=$ac_cv_prog_FT2_CONFIG
23841 if test -n "$FT2_CONFIG"; then
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
23843 $as_echo "$FT2_CONFIG" >&6; }
23845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23846 $as_echo "no" >&6; }
23851 if test -z "$ac_cv_prog_FT2_CONFIG"; then
23852 ac_ct_FT2_CONFIG
=$FT2_CONFIG
23853 # Extract the first word of "freetype-config", so it can be a program name with args.
23854 set dummy freetype-config
; ac_word
=$2
23855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23856 $as_echo_n "checking for $ac_word... " >&6; }
23857 if ${ac_cv_prog_ac_ct_FT2_CONFIG+:} false
; then :
23858 $as_echo_n "(cached) " >&6
23860 if test -n "$ac_ct_FT2_CONFIG"; then
23861 ac_cv_prog_ac_ct_FT2_CONFIG
="$ac_ct_FT2_CONFIG" # Let the user override the test.
23863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23864 for as_dir
in $PATH
23867 test -z "$as_dir" && as_dir
=.
23868 for ac_exec_ext
in '' $ac_executable_extensions; do
23869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23870 ac_cv_prog_ac_ct_FT2_CONFIG
="freetype-config"
23871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23880 ac_ct_FT2_CONFIG
=$ac_cv_prog_ac_ct_FT2_CONFIG
23881 if test -n "$ac_ct_FT2_CONFIG"; then
23882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FT2_CONFIG" >&5
23883 $as_echo "$ac_ct_FT2_CONFIG" >&6; }
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23886 $as_echo "no" >&6; }
23889 if test "x$ac_ct_FT2_CONFIG" = x
; then
23892 case $cross_compiling:$ac_tool_warned in
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23896 ac_tool_warned
=yes ;;
23898 FT2_CONFIG
=$ac_ct_FT2_CONFIG
23901 FT2_CONFIG
="$ac_cv_prog_FT2_CONFIG"
23903 if $FT2_CONFIG --ftversion >/dev
/null
2>&1; then
23904 FREETYPE2_INCLUDES
=`$FT2_CONFIG --cflags`
23905 FREETYPE2_LIBS
=`$FT2_CONFIG --libs`
23906 elif test "x$need_freetype2:$with_system_freetype2" = xyes
:yes; then
23907 as_fn_error $?
"did not find freetype-config required for system freetype2 library" "$LINENO" 5
23910 FREETYPE2_INCLUDES
="-I$kpse_BLD/libs/freetype2/freetype2"
23911 FREETYPE2_LIBS
="$kpse_BLD/libs/freetype2/libfreetype.a"
23912 FREETYPE2_DEPEND
='${top_builddir}/../../libs/freetype2/libfreetype.a'
23913 FREETYPE2_RULE
='# Rebuild libfreetype
23914 $(FREETYPE2_DEPEND): ${top_builddir}/../../libs/freetype2/freetype2/ft2build.h
23915 cd ${top_builddir}/../../libs/freetype2 && $(MAKE) $(AM_MAKEFLAGS) rebuild
23916 ${top_builddir}/../../libs/freetype2/freetype2/ft2build.h:
23917 cd ${top_builddir}/../../libs/freetype2 && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23920 ## _KPSE_LIB_FLAGS: Setup pixman (-lpixman) flags
23922 # Check whether --with-system-pixman was given.
23923 if test "${with_system_pixman+set}" = set; then :
23924 withval
=$with_system_pixman;
23926 if test "x$with_system_pixman" = xyes
; then
23927 if $PKG_CONFIG pixman-1
--atleast-version=0.18; then
23928 PIXMAN_INCLUDES
=`$PKG_CONFIG pixman-1 --cflags`
23929 PIXMAN_LIBS
=`$PKG_CONFIG pixman-1 --libs`
23930 elif test "x$need_pixman:$with_system_pixman" = xyes
:yes; then
23931 as_fn_error $?
"did not find pixman-1 0.18 or better" "$LINENO" 5
23934 PIXMAN_INCLUDES
="-I$kpse_BLD/libs/pixman/include"
23935 PIXMAN_LIBS
="$kpse_BLD/libs/pixman/libpixman.a"
23936 PIXMAN_DEPEND
='${top_builddir}/../../libs/pixman/libpixman.a'
23937 PIXMAN_RULE
='# Rebuild libpixman
23938 $(PIXMAN_DEPEND): ${top_builddir}/../../libs/pixman/include/pixman.h
23939 cd ${top_builddir}/../../libs/pixman && $(MAKE) $(AM_MAKEFLAGS) rebuild
23940 ${top_builddir}/../../libs/pixman/include/pixman.h:
23941 cd ${top_builddir}/../../libs/pixman && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23944 ## _KPSE_LIB_FLAGS: Setup cairo (-lcairo) flags
23946 # Check whether --with-system-cairo was given.
23947 if test "${with_system_cairo+set}" = set; then :
23948 withval
=$with_system_cairo;
23950 if test "x$with_system_cairo" = xyes
; then
23951 if $PKG_CONFIG cairo
--atleast-version=1.12; then
23952 CAIRO_INCLUDES
=`$PKG_CONFIG cairo --cflags`
23953 CAIRO_LIBS
=`$PKG_CONFIG cairo --libs`
23954 elif test "x$need_cairo:$with_system_cairo" = xyes
:yes; then
23955 as_fn_error $?
"did not find cairo 1.12 or better" "$LINENO" 5
23958 CAIRO_INCLUDES
="-I$kpse_BLD/libs/cairo/cairo"
23959 CAIRO_LIBS
="$kpse_BLD/libs/cairo/libcairo.a"
23960 CAIRO_DEPEND
='${top_builddir}/../../libs/cairo/libcairo.a'
23961 CAIRO_RULE
='# Rebuild libcairo
23962 $(CAIRO_DEPEND): ${top_builddir}/../../libs/cairo/cairo/cairo.h
23963 cd ${top_builddir}/../../libs/cairo && $(MAKE) $(AM_MAKEFLAGS) rebuild
23964 ${top_builddir}/../../libs/cairo/cairo/cairo.h:
23965 cd ${top_builddir}/../../libs/cairo && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23968 ## _KPSE_LIB_FLAGS: Setup gmp (-lgmp) flags
23970 # Check whether --with-system-gmp was given.
23971 if test "${with_system_gmp+set}" = set; then :
23972 withval
=$with_system_gmp;
23975 # Check whether --with-gmp-includes was given.
23976 if test "${with_gmp_includes+set}" = set; then :
23977 withval
=$with_gmp_includes;
23980 # Check whether --with-gmp-libdir was given.
23981 if test "${with_gmp_libdir+set}" = set; then :
23982 withval
=$with_gmp_libdir;
23984 if test "x$with_system_gmp" = xyes
; then
23985 if test "x$with_gmp_includes" != x
&& test "x$with_gmp_includes" != xyes
; then
23986 GMP_INCLUDES
="-I$with_gmp_includes"
23989 if test "x$with_gmp_libdir" != x
&& test "x$with_gmp_libdir" != xyes
; then
23990 GMP_LIBS
="-L$with_gmp_libdir $GMP_LIBS"
23993 GMP_INCLUDES
="-I$kpse_BLD/libs/gmp/include"
23994 GMP_LIBS
="$kpse_BLD/libs/gmp/libgmp.a"
23995 GMP_DEPEND
='${top_builddir}/../../libs/gmp/libgmp.a'
23996 GMP_RULE
='# Rebuild libgmp
23997 $(GMP_DEPEND): ${top_builddir}/../../libs/gmp/include/gmp.h
23998 cd ${top_builddir}/../../libs/gmp && $(MAKE) $(AM_MAKEFLAGS) rebuild
23999 ${top_builddir}/../../libs/gmp/include/gmp.h:
24000 cd ${top_builddir}/../../libs/gmp && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24003 ## _KPSE_LIB_FLAGS: Setup mpfr (-lmpfr) flags
24005 # Check whether --with-system-mpfr was given.
24006 if test "${with_system_mpfr+set}" = set; then :
24007 withval
=$with_system_mpfr;
24010 # Check whether --with-mpfr-includes was given.
24011 if test "${with_mpfr_includes+set}" = set; then :
24012 withval
=$with_mpfr_includes;
24015 # Check whether --with-mpfr-libdir was given.
24016 if test "${with_mpfr_libdir+set}" = set; then :
24017 withval
=$with_mpfr_libdir;
24019 if test "x$with_system_mpfr" = xyes
; then
24020 if test "x$with_mpfr_includes" != x
&& test "x$with_mpfr_includes" != xyes
; then
24021 MPFR_INCLUDES
="-I$with_mpfr_includes"
24024 if test "x$with_mpfr_libdir" != x
&& test "x$with_mpfr_libdir" != xyes
; then
24025 MPFR_LIBS
="-L$with_mpfr_libdir $MPFR_LIBS"
24028 MPFR_INCLUDES
="-I$kpse_BLD/libs/mpfr/include"
24029 MPFR_LIBS
="$kpse_BLD/libs/mpfr/libmpfr.a"
24030 MPFR_DEPEND
='${top_builddir}/../../libs/mpfr/libmpfr.a'
24031 MPFR_RULE
='# Rebuild libmpfr
24032 $(MPFR_DEPEND): ${top_builddir}/../../libs/mpfr/include/mpfr.h
24033 cd ${top_builddir}/../../libs/mpfr && $(MAKE) $(AM_MAKEFLAGS) rebuild
24034 ${top_builddir}/../../libs/mpfr/include/mpfr.h:
24035 cd ${top_builddir}/../../libs/mpfr && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24038 ## _KPSE_LIB_FLAGS: Setup poppler (-lpoppler) flags
24040 # Check whether --with-system-poppler was given.
24041 if test "${with_system_poppler+set}" = set; then :
24042 withval
=$with_system_poppler;
24044 if test "x$with_system_poppler" = xyes
; then
24045 if $PKG_CONFIG poppler
--atleast-version=0.30; then
24046 POPPLER_INCLUDES
=`$PKG_CONFIG poppler --cflags`
24047 POPPLER_LIBS
=`$PKG_CONFIG poppler --libs`
24048 elif test "x$need_poppler:$with_system_poppler" = xyes
:yes; then
24049 as_fn_error $?
"did not find poppler 0.30 or better" "$LINENO" 5
24052 POPPLER_VERSION
='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
24053 POPPLER_INCLUDES
="$POPPLER_VERSION $POPPLER_INCLUDES"
24055 POPPLER_INCLUDES
="-I$kpse_BLD/libs/poppler/include"
24056 POPPLER_LIBS
="$kpse_BLD/libs/poppler/libpoppler.a"
24057 POPPLER_DEPEND
='${top_builddir}/../../libs/poppler/libpoppler.a'
24058 POPPLER_RULE
='# Rebuild libpoppler
24059 $(POPPLER_DEPEND): ${top_builddir}/../../libs/poppler/include/Stream.h
24060 cd ${top_builddir}/../../libs/poppler && $(MAKE) $(AM_MAKEFLAGS) rebuild
24061 ${top_builddir}/../../libs/poppler/include/Stream.h:
24062 cd ${top_builddir}/../../libs/poppler && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24064 test "x$kpse_cv_have_win32" = xno || POPPLER_LIBS
="$POPPLER_LIBS -lgdi32"
24066 ## _KPSE_LIB_FLAGS: Setup xpdf (-lxpdf) flags
24068 # Check whether --with-system-xpdf was given.
24069 if test "${with_system_xpdf+set}" = set; then :
24070 withval
=$with_system_xpdf;
24072 if test "x$with_system_xpdf" = xyes
; then
24073 if $PKG_CONFIG poppler
--atleast-version=0.12; then
24074 XPDF_INCLUDES
=`$PKG_CONFIG poppler --cflags`
24075 XPDF_LIBS
=`$PKG_CONFIG poppler --libs`
24076 elif test "x$need_xpdf:$with_system_xpdf" = xyes
:yes; then
24077 as_fn_error $?
"did not find poppler 0.12 or better" "$LINENO" 5
24080 POPPLER_VERSION
='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
24081 XPDF_INCLUDES
="$POPPLER_VERSION $XPDF_INCLUDES"
24083 XPDF_INCLUDES
="-DPDF_PARSER_ONLY -I$kpse_BLD/libs/xpdf -I$kpse_BLD/libs/xpdf/goo -I$kpse_BLD/libs/xpdf/xpdf"
24084 XPDF_LIBS
="$kpse_BLD/libs/xpdf/libxpdf.a"
24085 XPDF_DEPEND
='${top_builddir}/../../libs/xpdf/libxpdf.a'
24086 XPDF_RULE
='# Rebuild libxpdf
24087 $(XPDF_DEPEND): ${top_builddir}/../../libs/xpdf/xpdf/Stream.h
24088 cd ${top_builddir}/../../libs/xpdf && $(MAKE) $(AM_MAKEFLAGS) rebuild
24089 ${top_builddir}/../../libs/xpdf/xpdf/Stream.h:
24090 cd ${top_builddir}/../../libs/xpdf && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24092 test "x$kpse_cv_have_win32" = xno || XPDF_LIBS
="$XPDF_LIBS -lgdi32"
24094 ## _KPSE_LIB_FLAGS: Setup zziplib (-lzzip) flags
24096 # Check whether --with-system-zziplib was given.
24097 if test "${with_system_zziplib+set}" = set; then :
24098 withval
=$with_system_zziplib;
24100 if test "x$with_system_zziplib" = xyes
; then
24101 if $PKG_CONFIG zziplib
--atleast-version=0.12; then
24102 ZZIPLIB_INCLUDES
=`$PKG_CONFIG zziplib --cflags`
24103 ZZIPLIB_LIBS
=`$PKG_CONFIG zziplib --libs`
24104 elif test "x$need_zziplib:$with_system_zziplib" = xyes
:yes; then
24105 as_fn_error $?
"did not find zziplib 0.12 or better" "$LINENO" 5
24108 ZZIPLIB_INCLUDES
="-I$kpse_BLD/libs/zziplib/include"
24109 ZZIPLIB_LIBS
="$kpse_BLD/libs/zziplib/libzzip.a"
24110 ZZIPLIB_DEPEND
='${top_builddir}/../../libs/zziplib/libzzip.a'
24111 ZZIPLIB_RULE
='# Rebuild libzzip
24112 $(ZZIPLIB_DEPEND): ${top_builddir}/../../libs/zziplib/include/zzip/zzip.h
24113 cd ${top_builddir}/../../libs/zziplib && $(MAKE) $(AM_MAKEFLAGS) rebuild
24114 ${top_builddir}/../../libs/zziplib/include/zzip/zzip.h:
24115 cd ${top_builddir}/../../libs/zziplib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24118 ## _KPSE_LIB_FLAGS: Setup teckit (-lTECkit) flags
24120 # Check whether --with-system-teckit was given.
24121 if test "${with_system_teckit+set}" = set; then :
24122 withval
=$with_system_teckit;
24124 if test "x$with_system_teckit" = xyes
; then
24125 if $PKG_CONFIG teckit
; then
24126 TECKIT_INCLUDES
=`$PKG_CONFIG teckit --cflags`
24127 TECKIT_LIBS
=`$PKG_CONFIG teckit --libs`
24128 elif test "x$need_teckit:$with_system_teckit" = xyes
:yes; then
24129 as_fn_error $?
"did not find teckit" "$LINENO" 5
24132 TECKIT_INCLUDES
="-I$kpse_BLD/libs/teckit/include"
24133 TECKIT_LIBS
="$kpse_BLD/libs/teckit/libTECkit.a"
24134 TECKIT_DEPEND
='${top_builddir}/../../libs/teckit/libTECkit.a'
24135 TECKIT_RULE
='# Rebuild libTECkit
24136 $(TECKIT_DEPEND): ${top_builddir}/../../libs/teckit/include/teckit/TECkit_Common.h
24137 cd ${top_builddir}/../../libs/teckit && $(MAKE) $(AM_MAKEFLAGS) rebuild
24138 ${top_builddir}/../../libs/teckit/include/teckit/TECkit_Common.h:
24139 cd ${top_builddir}/../../libs/teckit && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24142 ## _KPSE_LIB_FLAGS: Setup icu (-licuxxx) flags
24144 # Check whether --with-system-icu was given.
24145 if test "${with_system_icu+set}" = set; then :
24146 withval
=$with_system_icu;
24148 if test "x$with_system_icu" = xyes
; then
24149 if test -n "$ac_tool_prefix"; then
24150 # Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args.
24151 set dummy
${ac_tool_prefix}icu-config
; ac_word
=$2
24152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24153 $as_echo_n "checking for $ac_word... " >&6; }
24154 if ${ac_cv_prog_ICU_CONFIG+:} false
; then :
24155 $as_echo_n "(cached) " >&6
24157 if test -n "$ICU_CONFIG"; then
24158 ac_cv_prog_ICU_CONFIG
="$ICU_CONFIG" # Let the user override the test.
24160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24161 for as_dir
in $PATH
24164 test -z "$as_dir" && as_dir
=.
24165 for ac_exec_ext
in '' $ac_executable_extensions; do
24166 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24167 ac_cv_prog_ICU_CONFIG
="${ac_tool_prefix}icu-config"
24168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24177 ICU_CONFIG
=$ac_cv_prog_ICU_CONFIG
24178 if test -n "$ICU_CONFIG"; then
24179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5
24180 $as_echo "$ICU_CONFIG" >&6; }
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24183 $as_echo "no" >&6; }
24188 if test -z "$ac_cv_prog_ICU_CONFIG"; then
24189 ac_ct_ICU_CONFIG
=$ICU_CONFIG
24190 # Extract the first word of "icu-config", so it can be a program name with args.
24191 set dummy icu-config
; ac_word
=$2
24192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24193 $as_echo_n "checking for $ac_word... " >&6; }
24194 if ${ac_cv_prog_ac_ct_ICU_CONFIG+:} false
; then :
24195 $as_echo_n "(cached) " >&6
24197 if test -n "$ac_ct_ICU_CONFIG"; then
24198 ac_cv_prog_ac_ct_ICU_CONFIG
="$ac_ct_ICU_CONFIG" # Let the user override the test.
24200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24201 for as_dir
in $PATH
24204 test -z "$as_dir" && as_dir
=.
24205 for ac_exec_ext
in '' $ac_executable_extensions; do
24206 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24207 ac_cv_prog_ac_ct_ICU_CONFIG
="icu-config"
24208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24217 ac_ct_ICU_CONFIG
=$ac_cv_prog_ac_ct_ICU_CONFIG
24218 if test -n "$ac_ct_ICU_CONFIG"; then
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5
24220 $as_echo "$ac_ct_ICU_CONFIG" >&6; }
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24223 $as_echo "no" >&6; }
24226 if test "x$ac_ct_ICU_CONFIG" = x
; then
24229 case $cross_compiling:$ac_tool_warned in
24231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24233 ac_tool_warned
=yes ;;
24235 ICU_CONFIG
=$ac_ct_ICU_CONFIG
24238 ICU_CONFIG
="$ac_cv_prog_ICU_CONFIG"
24240 if $ICU_CONFIG --version >/dev
/null
2>&1; then
24241 ICU_INCLUDES
=`$ICU_CONFIG --cppflags`
24242 ICU_LIBS
=`$ICU_CONFIG --ldflags-searchpath --ldflags-libsonly --ldflags-system`
24243 elif test "x$need_icu:$with_system_icu" = xyes
:yes; then
24244 as_fn_error $?
"did not find icu-config required for system icu libraries" "$LINENO" 5
24247 ICU_INCLUDES
="-DU_STATIC_IMPLEMENTATION -I$kpse_BLD/libs/icu/include"
24248 ICU_LIBS
=" $kpse_BLD/libs/icu/icu-build/lib/libicuuc.a $kpse_BLD/libs/icu/icu-build/lib/libicudata.a"
24249 ICU_DEPEND
=' ${top_builddir}/../../libs/icu/icu-build/lib/libicuuc.a ${top_builddir}/../../libs/icu/icu-build/lib/libicudata.a'
24250 ICU_RULE
='# Rebuild libicuxxx
24251 $(ICU_DEPEND): ${top_builddir}/../../libs/icu/include/unicode/uversion.h
24252 cd ${top_builddir}/../../libs/icu && $(MAKE) $(AM_MAKEFLAGS) rebuild
24253 ${top_builddir}/../../libs/icu/include/unicode/uversion.h:
24254 cd ${top_builddir}/../../libs/icu && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24257 ## _KPSE_LIB_FLAGS: Setup graphite2 (-lgraphite2) flags
24259 # Check whether --with-system-graphite2 was given.
24260 if test "${with_system_graphite2+set}" = set; then :
24261 withval
=$with_system_graphite2;
24263 if test "x$with_system_graphite2" = xyes
; then
24264 if $PKG_CONFIG graphite2
; then
24265 GRAPHITE2_INCLUDES
=`$PKG_CONFIG graphite2 --cflags`
24266 GRAPHITE2_LIBS
=`$PKG_CONFIG graphite2 --libs`
24267 elif test "x$need_graphite2:$with_system_graphite2" = xyes
:yes; then
24268 as_fn_error $?
"did not find graphite2" "$LINENO" 5
24271 GRAPHITE2_INCLUDES
="-I$kpse_BLD/libs/graphite2/include -DGRAPHITE2_STATIC"
24272 GRAPHITE2_LIBS
="$kpse_BLD/libs/graphite2/libgraphite2.a"
24273 GRAPHITE2_DEPEND
='${top_builddir}/../../libs/graphite2/libgraphite2.a'
24274 GRAPHITE2_RULE
='# Rebuild libgraphite2
24275 $(GRAPHITE2_DEPEND): ${top_builddir}/../../libs/graphite2/include/graphite2/Font.h
24276 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild
24277 ${top_builddir}/../../libs/graphite2/include/graphite2/Font.h:
24278 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24281 ## _KPSE_LIB_FLAGS: Setup harfbuzz (-lharfbuzz) flags
24283 # Check whether --with-system-harfbuzz was given.
24284 if test "${with_system_harfbuzz+set}" = set; then :
24285 withval
=$with_system_harfbuzz;
24287 if test "x$with_system_harfbuzz" = xyes
; then
24288 if $PKG_CONFIG harfbuzz-icu
; then
24289 HARFBUZZ_INCLUDES
=`$PKG_CONFIG harfbuzz-icu --cflags`
24290 HARFBUZZ_LIBS
=`$PKG_CONFIG harfbuzz-icu --libs`
24291 elif test "x$need_harfbuzz:$with_system_harfbuzz" = xyes
:yes; then
24292 as_fn_error $?
"did not find harfbuzz-icu" "$LINENO" 5
24295 HARFBUZZ_INCLUDES
="-I$kpse_BLD/libs/harfbuzz/include"
24296 HARFBUZZ_LIBS
="$kpse_BLD/libs/harfbuzz/libharfbuzz.a"
24297 HARFBUZZ_DEPEND
='${top_builddir}/../../libs/harfbuzz/libharfbuzz.a'
24298 HARFBUZZ_RULE
='# Rebuild libharfbuzz
24299 $(HARFBUZZ_DEPEND): ${top_builddir}/../../libs/harfbuzz/include/hb.h
24300 cd ${top_builddir}/../../libs/harfbuzz && $(MAKE) $(AM_MAKEFLAGS) rebuild
24301 ${top_builddir}/../../libs/harfbuzz/include/hb.h:
24302 cd ${top_builddir}/../../libs/harfbuzz && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24305 ## _KPSE_LIB_FLAGS: Setup graphite2 (-lgraphite2) flags
24307 # Check whether --with-system-graphite2 was given.
24308 if test "${with_system_graphite2+set}" = set; then :
24309 withval
=$with_system_graphite2;
24311 if test "x$with_system_graphite2" = xyes
; then
24312 if $PKG_CONFIG graphite2
; then
24313 GRAPHITE2_INCLUDES
=`$PKG_CONFIG graphite2 --cflags`
24314 GRAPHITE2_LIBS
=`$PKG_CONFIG graphite2 --libs`
24315 elif test "x$need_graphite2:$with_system_graphite2" = xyes
:yes; then
24316 as_fn_error $?
"did not find graphite2" "$LINENO" 5
24319 GRAPHITE2_INCLUDES
="-I$kpse_BLD/libs/graphite2/include -DGRAPHITE2_STATIC"
24320 GRAPHITE2_LIBS
="$kpse_BLD/libs/graphite2/libgraphite2.a"
24321 GRAPHITE2_DEPEND
='${top_builddir}/../../libs/graphite2/libgraphite2.a'
24322 GRAPHITE2_RULE
='# Rebuild libgraphite2
24323 $(GRAPHITE2_DEPEND): ${top_builddir}/../../libs/graphite2/include/graphite2/Font.h
24324 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild
24325 ${top_builddir}/../../libs/graphite2/include/graphite2/Font.h:
24326 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24330 # Check size of off_t (using <kpathsea/config.h>)
24331 eval CPPFLAGS
=\"$KPATHSEA_INCLUDES \
$CPPFLAGS\"
24332 eval LIBS
=\"$KPATHSEA_LIBS \
$LIBS\"
24334 # The cast to long int works around a bug in the HP C Compiler
24335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24337 # This bug is HP SR number 8606223364.
24338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
24339 $as_echo_n "checking size of off_t... " >&6; }
24340 if ${ac_cv_sizeof_off_t+:} false
; then :
24341 $as_echo_n "(cached) " >&6
24343 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default
24344 #include <kpathsea/config.h>
24348 if test "$ac_cv_type_off_t" = yes; then
24349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24351 as_fn_error
77 "cannot compute sizeof (off_t)
24352 See \`config.log' for more details" "$LINENO" 5; }
24354 ac_cv_sizeof_off_t
=0
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
24360 $as_echo "$ac_cv_sizeof_off_t" >&6; }
24364 cat >>confdefs.h
<<_ACEOF
24365 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
24370 if test "x$with_system_kpathsea" = xyes
; then
24371 list
="/usr/include /usr/local/include `echo $KPATHSEA_INCLUDES | sed 's/-I//g'`"
24373 for KPATHSEA_PATHS_H
in $list; do
24374 if test -r "$KPATHSEA_PATHS_H/kpathsea/paths.h"; then
24379 if test "x$found" = xno
; then
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: You requested to build \`web2c' using an installed \`kpathsea' version," >&5
24381 $as_echo "$as_me: You requested to build \`web2c' using an installed \`kpathsea' version," >&6;}
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: which requires to locate the <kpathsea/paths.h> header file." >&5
24383 $as_echo "$as_me: which requires to locate the <kpathsea/paths.h> header file." >&6;}
24384 as_fn_error $?
"Sorry, not found under any of: $list *****" "$LINENO" 5
24387 KPATHSEA_PATHS_H
='${top_builddir}/..'
24390 CPPFLAGS
=$kpse_save_CPPFLAGS
24391 LIBS
=$kpse_save_LIBS
24394 ac_config_headers
="$ac_config_headers w2c/c-auto.h:c-auto.in"
24400 ac_config_headers
="$ac_config_headers ff-config.h:luatexdir/luafontloader/ff-config.in"
24403 # For cross-compilation. Put at the end so there is a fair chance
24404 # these are still visible when the configure script has finished.
24406 # The supporting programs we need to have available on the build machine.
24407 # make variable cross native
24408 if test "x$cross_compiling" = xyes
; then :
24409 # Extract the first word of "tangle", so it can be a program name with args.
24410 set dummy tangle
; ac_word
=$2
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24412 $as_echo_n "checking for $ac_word... " >&6; }
24413 if ${ac_cv_path_TANGLEBOOT+:} false
; then :
24414 $as_echo_n "(cached) " >&6
24416 case $TANGLEBOOT in
24418 ac_cv_path_TANGLEBOOT
="$TANGLEBOOT" # Let the user override the test with a path.
24421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24422 for as_dir
in $PATH
24425 test -z "$as_dir" && as_dir
=.
24426 for ac_exec_ext
in '' $ac_executable_extensions; do
24427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24428 ac_cv_path_TANGLEBOOT
="$as_dir/$ac_word$ac_exec_ext"
24429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24439 TANGLEBOOT
=$ac_cv_path_TANGLEBOOT
24440 if test -n "$TANGLEBOOT"; then
24441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TANGLEBOOT" >&5
24442 $as_echo "$TANGLEBOOT" >&6; }
24444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24445 $as_echo "no" >&6; }
24449 if test -z "${TANGLEBOOT}"; then :
24450 as_fn_error $?
"tangle was not found but is required when cross-compiling.
24451 Install tangle or set \$TANGLEBOOT to the full pathname." "$LINENO" 5
24454 TANGLEBOOT
=.
/tangleboot
24457 if test "x$cross_compiling" = xyes
; then :
24458 # Extract the first word of "tangle", so it can be a program name with args.
24459 set dummy tangle
; ac_word
=$2
24460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24461 $as_echo_n "checking for $ac_word... " >&6; }
24462 if ${ac_cv_path_TANGLE+:} false
; then :
24463 $as_echo_n "(cached) " >&6
24467 ac_cv_path_TANGLE
="$TANGLE" # Let the user override the test with a path.
24470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24471 for as_dir
in $PATH
24474 test -z "$as_dir" && as_dir
=.
24475 for ac_exec_ext
in '' $ac_executable_extensions; do
24476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24477 ac_cv_path_TANGLE
="$as_dir/$ac_word$ac_exec_ext"
24478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24488 TANGLE
=$ac_cv_path_TANGLE
24489 if test -n "$TANGLE"; then
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TANGLE" >&5
24491 $as_echo "$TANGLE" >&6; }
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24494 $as_echo "no" >&6; }
24498 if test -z "${TANGLE}"; then :
24499 as_fn_error $?
"tangle was not found but is required when cross-compiling.
24500 Install tangle or set \$TANGLE to the full pathname." "$LINENO" 5
24506 if test "x$cross_compiling" = xyes
; then :
24507 # Extract the first word of "ctangle", so it can be a program name with args.
24508 set dummy ctangle
; ac_word
=$2
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24510 $as_echo_n "checking for $ac_word... " >&6; }
24511 if ${ac_cv_path_CTANGLEBOOT+:} false
; then :
24512 $as_echo_n "(cached) " >&6
24514 case $CTANGLEBOOT in
24516 ac_cv_path_CTANGLEBOOT
="$CTANGLEBOOT" # Let the user override the test with a path.
24519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24520 for as_dir
in $PATH
24523 test -z "$as_dir" && as_dir
=.
24524 for ac_exec_ext
in '' $ac_executable_extensions; do
24525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24526 ac_cv_path_CTANGLEBOOT
="$as_dir/$ac_word$ac_exec_ext"
24527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24537 CTANGLEBOOT
=$ac_cv_path_CTANGLEBOOT
24538 if test -n "$CTANGLEBOOT"; then
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTANGLEBOOT" >&5
24540 $as_echo "$CTANGLEBOOT" >&6; }
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24543 $as_echo "no" >&6; }
24547 if test -z "${CTANGLEBOOT}"; then :
24548 as_fn_error $?
"ctangle was not found but is required when cross-compiling.
24549 Install ctangle or set \$CTANGLEBOOT to the full pathname." "$LINENO" 5
24552 CTANGLEBOOT
=.
/ctangleboot
24555 if test "x$cross_compiling" = xyes
; then :
24556 # Extract the first word of "ctangle", so it can be a program name with args.
24557 set dummy ctangle
; ac_word
=$2
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24559 $as_echo_n "checking for $ac_word... " >&6; }
24560 if ${ac_cv_path_CTANGLE+:} false
; then :
24561 $as_echo_n "(cached) " >&6
24565 ac_cv_path_CTANGLE
="$CTANGLE" # Let the user override the test with a path.
24568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24569 for as_dir
in $PATH
24572 test -z "$as_dir" && as_dir
=.
24573 for ac_exec_ext
in '' $ac_executable_extensions; do
24574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24575 ac_cv_path_CTANGLE
="$as_dir/$ac_word$ac_exec_ext"
24576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24586 CTANGLE
=$ac_cv_path_CTANGLE
24587 if test -n "$CTANGLE"; then
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTANGLE" >&5
24589 $as_echo "$CTANGLE" >&6; }
24591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24592 $as_echo "no" >&6; }
24596 if test -z "${CTANGLE}"; then :
24597 as_fn_error $?
"ctangle was not found but is required when cross-compiling.
24598 Install ctangle or set \$CTANGLE to the full pathname." "$LINENO" 5
24604 if test "x$cross_compiling" = xyes
; then :
24605 # Extract the first word of "tie", so it can be a program name with args.
24606 set dummy tie
; ac_word
=$2
24607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24608 $as_echo_n "checking for $ac_word... " >&6; }
24609 if ${ac_cv_path_TIE+:} false
; then :
24610 $as_echo_n "(cached) " >&6
24614 ac_cv_path_TIE
="$TIE" # Let the user override the test with a path.
24617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24618 for as_dir
in $PATH
24621 test -z "$as_dir" && as_dir
=.
24622 for ac_exec_ext
in '' $ac_executable_extensions; do
24623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24624 ac_cv_path_TIE
="$as_dir/$ac_word$ac_exec_ext"
24625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24635 TIE
=$ac_cv_path_TIE
24636 if test -n "$TIE"; then
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIE" >&5
24638 $as_echo "$TIE" >&6; }
24640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24641 $as_echo "no" >&6; }
24645 if test -z "${TIE}"; then :
24646 as_fn_error $?
"tie was not found but is required when cross-compiling.
24647 Install tie or set \$TIE to the full pathname." "$LINENO" 5
24653 if test "x$cross_compiling" = xyes
; then :
24654 # Extract the first word of "otangle", so it can be a program name with args.
24655 set dummy otangle
; ac_word
=$2
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24657 $as_echo_n "checking for $ac_word... " >&6; }
24658 if ${ac_cv_path_OTANGLE+:} false
; then :
24659 $as_echo_n "(cached) " >&6
24663 ac_cv_path_OTANGLE
="$OTANGLE" # Let the user override the test with a path.
24666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24667 for as_dir
in $PATH
24670 test -z "$as_dir" && as_dir
=.
24671 for ac_exec_ext
in '' $ac_executable_extensions; do
24672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24673 ac_cv_path_OTANGLE
="$as_dir/$ac_word$ac_exec_ext"
24674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24684 OTANGLE
=$ac_cv_path_OTANGLE
24685 if test -n "$OTANGLE"; then
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTANGLE" >&5
24687 $as_echo "$OTANGLE" >&6; }
24689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24690 $as_echo "no" >&6; }
24694 if test -z "${OTANGLE}"; then :
24695 as_fn_error $?
"otangle was not found but is required when cross-compiling.
24696 Install otangle or set \$OTANGLE to the full pathname." "$LINENO" 5
24703 if test "x$cross_compiling" = xyes
; then
24704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your tie supports WEBINPUTS" >&5
24705 $as_echo_n "checking if your tie supports WEBINPUTS... " >&6; }
24706 ( WEBINPUTS
=$srcdir/tiedir
24708 $TIE -c tie.outc tie.tie tie.cf1 tie.cf2 tie.cf3
24709 $TIE -m tie.outm tie.tie tie.cf1 tie.cf2 tie.cf3
) >/dev
/null
2>&1
24710 if diff tie.outc
$srcdir/tiedir
/tie.chf.gen
>/dev
/null
2>&1 && \
24711 diff tie.outm
$srcdir/tiedir
/tie.master.gen
>/dev
/null
2>&1; then
24716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_ok" >&5
24717 $as_echo "$tool_ok" >&6; }
24718 if test "x$tool_ok" != xyes
; then
24719 as_fn_error $?
"Sorry, your $TIE is too old and does not support WEBINPUTS" "$LINENO" 5
24721 rm -f tie.outc tie.outm
24722 if test "x$enable_otangle" = xyes
; then
24723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your otangle supports WEBINPUTS" >&5
24724 $as_echo_n "checking if your otangle supports WEBINPUTS... " >&6; }
24725 ( WEBINPUTS
=$srcdir/cftests
24727 $OTANGLE cftest cftest
) >/dev
/null
2>&1
24728 if diff cftest.p
$srcdir/cftests
/ocftest.p
>/dev
/null
2>&1; then
24733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_ok" >&5
24734 $as_echo "$tool_ok" >&6; }
24735 if test "x$tool_ok" != xyes
; then
24736 as_fn_error $?
"Sorry, your $OTANGLE is too old and does not support WEBINPUTS" "$LINENO" 5
24742 ac_config_files
="$ac_config_files Makefile doc/Makefile lib/Makefile man/Makefile omegafonts/Makefile otps/Makefile otps/win32/Makefile window/Makefile"
24744 ac_config_files
="$ac_config_files web2c-sh"
24746 ac_config_files
="$ac_config_files tangle-sh"
24748 ac_config_files
="$ac_config_files ctangleboot-sh"
24750 ac_config_files
="$ac_config_files silent-sh"
24753 ## texk/web2c/synctexdir/ac/synctex.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
24755 SYNCTEXVERSION
=1.18.0
24758 SYNCTEX_LT_VERSINFO
=19:0:18
24761 if test "x$enable_synctex" != xno
; then
24770 if test "x$with_system_zlib" = xyes
; then :
24771 LTLIBSYNCTEX
=libsynctex.la
24774 LIBSYNCTEX
=libsynctex.a
24778 ac_config_files
="$ac_config_files synctexdir/synctex.pc"
24783 if test "x$host_alias" != x
&& test "x$build_alias" = x
; then :
24784 as_fn_error $?
"when cross-compiling you must specify both --host and --build." "$LINENO" 5
24786 eval kpse_build_alias
=\
${build_alias-$build}
24790 subdirs
="$subdirs web2c"
24795 cat >confcache
<<\_ACEOF
24796 # This file is a shell script that caches the results of configure
24797 # tests run on this system so they can be shared between configure
24798 # scripts and configure runs, see configure's option --config-cache.
24799 # It is not useful on other systems. If it contains results you don't
24800 # want to keep, you may remove or edit it.
24802 # config.status only pays attention to the cache file if you give it
24803 # the --recheck option to rerun configure.
24805 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24806 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24807 # following values.
24811 # The following way of writing the cache mishandles newlines in values,
24812 # but we know of no workaround that is simple, portable, and efficient.
24813 # So, we kill variables containing newlines.
24814 # Ultrix sh set writes to stderr and can't be redirected directly,
24815 # and sets the high bit in the cache file unless we assign to the vars.
24817 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24818 eval ac_val
=\$
$ac_var
24822 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24823 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24826 _ | IFS | as_nl
) ;; #(
24827 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24828 *) { eval $ac_var=; unset $ac_var;} ;;
24834 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24835 *${as_nl}ac_space
=\
*)
24836 # `set' does not quote correctly, so add quotes: double-quote
24837 # substitution turns \\\\ into \\, and sed turns \\ into \.
24840 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24843 # `set' quotes correctly as required by POSIX, so do not add quotes.
24844 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24855 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24857 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24858 if test -w "$cache_file"; then
24859 if test "x$cache_file" != "x/dev/null"; then
24860 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24861 $as_echo "$as_me: updating cache $cache_file" >&6;}
24862 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
24863 cat confcache
>"$cache_file"
24865 case $cache_file in #(
24867 mv -f confcache
"$cache_file"$$
&&
24868 mv -f "$cache_file"$$
"$cache_file" ;; #(
24870 mv -f confcache
"$cache_file" ;;
24875 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24876 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24881 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24882 # Let make expand exec_prefix.
24883 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24885 DEFS
=-DHAVE_CONFIG_H
24890 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24891 # 1. Remove the extension, and $U if already installed.
24892 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24893 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24894 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24895 # will be set to the directory where LIBOBJS objects are built.
24896 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24897 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24899 LIBOBJS
=$ac_libobjs
24901 LTLIBOBJS
=$ac_ltlibobjs
24904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
24905 $as_echo_n "checking that generated files are newer than configure... " >&6; }
24906 if test -n "$am_sleep_pid"; then
24907 # Hide warnings about reused PIDs.
24908 wait $am_sleep_pid 2>/dev
/null
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
24911 $as_echo "done" >&6; }
24912 if test -n "$EXEEXT"; then
24914 am__EXEEXT_FALSE
='#'
24916 am__EXEEXT_TRUE
='#'
24920 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24921 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
24922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24924 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24925 as_fn_error $?
"conditional \"AMDEP\" was never defined.
24926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24928 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24929 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
24930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24932 if test -z "${cross_TRUE}" && test -z "${cross_FALSE}"; then
24933 as_fn_error $?
"conditional \"cross\" was never defined.
24934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24936 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24937 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
24938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24940 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
24941 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
24942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24944 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
24945 as_fn_error $?
"conditional \"WIN32\" was never defined.
24946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24948 if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then
24949 as_fn_error $?
"conditional \"MINGW32\" was never defined.
24950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24952 if test -z "${WIN32_CALL_TRUE}" && test -z "${WIN32_CALL_FALSE}"; then
24953 as_fn_error $?
"conditional \"WIN32_CALL\" was never defined.
24954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24956 if test -z "${USE_DLOPEN_TRUE}" && test -z "${USE_DLOPEN_FALSE}"; then
24957 as_fn_error $?
"conditional \"USE_DLOPEN\" was never defined.
24958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24960 if test -z "${XETEX_MACOSX_TRUE}" && test -z "${XETEX_MACOSX_FALSE}"; then
24961 as_fn_error $?
"conditional \"XETEX_MACOSX\" was never defined.
24962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24964 if test -z "${TEX_TRUE}" && test -z "${TEX_FALSE}"; then
24965 as_fn_error $?
"conditional \"TEX\" was never defined.
24966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24968 if test -z "${TEX_SYNCTEX_TRUE}" && test -z "${TEX_SYNCTEX_FALSE}"; then
24969 as_fn_error $?
"conditional \"TEX_SYNCTEX\" was never defined.
24970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24972 if test -z "${ETEX_TRUE}" && test -z "${ETEX_FALSE}"; then
24973 as_fn_error $?
"conditional \"ETEX\" was never defined.
24974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24976 if test -z "${ETEX_SYNCTEX_TRUE}" && test -z "${ETEX_SYNCTEX_FALSE}"; then
24977 as_fn_error $?
"conditional \"ETEX_SYNCTEX\" was never defined.
24978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24980 if test -z "${PTEX_TRUE}" && test -z "${PTEX_FALSE}"; then
24981 as_fn_error $?
"conditional \"PTEX\" was never defined.
24982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24984 if test -z "${PTEX_SYNCTEX_TRUE}" && test -z "${PTEX_SYNCTEX_FALSE}"; then
24985 as_fn_error $?
"conditional \"PTEX_SYNCTEX\" was never defined.
24986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24988 if test -z "${EPTEX_TRUE}" && test -z "${EPTEX_FALSE}"; then
24989 as_fn_error $?
"conditional \"EPTEX\" was never defined.
24990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24992 if test -z "${EPTEX_SYNCTEX_TRUE}" && test -z "${EPTEX_SYNCTEX_FALSE}"; then
24993 as_fn_error $?
"conditional \"EPTEX_SYNCTEX\" was never defined.
24994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24996 if test -z "${UPTEX_TRUE}" && test -z "${UPTEX_FALSE}"; then
24997 as_fn_error $?
"conditional \"UPTEX\" was never defined.
24998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25000 if test -z "${UPTEX_SYNCTEX_TRUE}" && test -z "${UPTEX_SYNCTEX_FALSE}"; then
25001 as_fn_error $?
"conditional \"UPTEX_SYNCTEX\" was never defined.
25002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25004 if test -z "${EUPTEX_TRUE}" && test -z "${EUPTEX_FALSE}"; then
25005 as_fn_error $?
"conditional \"EUPTEX\" was never defined.
25006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25008 if test -z "${EUPTEX_SYNCTEX_TRUE}" && test -z "${EUPTEX_SYNCTEX_FALSE}"; then
25009 as_fn_error $?
"conditional \"EUPTEX_SYNCTEX\" was never defined.
25010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25012 if test -z "${ALEPH_TRUE}" && test -z "${ALEPH_FALSE}"; then
25013 as_fn_error $?
"conditional \"ALEPH\" was never defined.
25014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25016 if test -z "${PDFTEX_TRUE}" && test -z "${PDFTEX_FALSE}"; then
25017 as_fn_error $?
"conditional \"PDFTEX\" was never defined.
25018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25020 if test -z "${PDFTEX_SYNCTEX_TRUE}" && test -z "${PDFTEX_SYNCTEX_FALSE}"; then
25021 as_fn_error $?
"conditional \"PDFTEX_SYNCTEX\" was never defined.
25022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25024 if test -z "${LUATEX_TRUE}" && test -z "${LUATEX_FALSE}"; then
25025 as_fn_error $?
"conditional \"LUATEX\" was never defined.
25026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25028 if test -z "${LUAJITTEX_TRUE}" && test -z "${LUAJITTEX_FALSE}"; then
25029 as_fn_error $?
"conditional \"LUAJITTEX\" was never defined.
25030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25032 if test -z "${MP_TRUE}" && test -z "${MP_FALSE}"; then
25033 as_fn_error $?
"conditional \"MP\" was never defined.
25034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25036 if test -z "${PMP_TRUE}" && test -z "${PMP_FALSE}"; then
25037 as_fn_error $?
"conditional \"PMP\" was never defined.
25038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25040 if test -z "${UPMP_TRUE}" && test -z "${UPMP_FALSE}"; then
25041 as_fn_error $?
"conditional \"UPMP\" was never defined.
25042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25044 if test -z "${XETEX_TRUE}" && test -z "${XETEX_FALSE}"; then
25045 as_fn_error $?
"conditional \"XETEX\" was never defined.
25046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25048 if test -z "${XETEX_SYNCTEX_TRUE}" && test -z "${XETEX_SYNCTEX_FALSE}"; then
25049 as_fn_error $?
"conditional \"XETEX_SYNCTEX\" was never defined.
25050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25052 if test -z "${OTANGLE_TRUE}" && test -z "${OTANGLE_FALSE}"; then
25053 as_fn_error $?
"conditional \"OTANGLE\" was never defined.
25054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25056 if test -z "${MF_TRUE}" && test -z "${MF_FALSE}"; then
25057 as_fn_error $?
"conditional \"MF\" was never defined.
25058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25060 if test -z "${MFN_TRUE}" && test -z "${MFN_FALSE}"; then
25061 as_fn_error $?
"conditional \"MFN\" was never defined.
25062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25064 if test -z "${MFLUA_TRUE}" && test -z "${MFLUA_FALSE}"; then
25065 as_fn_error $?
"conditional \"MFLUA\" was never defined.
25066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25068 if test -z "${MFLUAN_TRUE}" && test -z "${MFLUAN_FALSE}"; then
25069 as_fn_error $?
"conditional \"MFLUAN\" was never defined.
25070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25072 if test -z "${MFLUAJIT_TRUE}" && test -z "${MFLUAJIT_FALSE}"; then
25073 as_fn_error $?
"conditional \"MFLUAJIT\" was never defined.
25074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25076 if test -z "${MFLUAJITN_TRUE}" && test -z "${MFLUAJITN_FALSE}"; then
25077 as_fn_error $?
"conditional \"MFLUAJITN\" was never defined.
25078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25080 if test -z "${MFXT_TRUE}" && test -z "${MFXT_FALSE}"; then
25081 as_fn_error $?
"conditional \"MFXT\" was never defined.
25082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25084 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
25085 as_fn_error $?
"conditional \"WEB\" was never defined.
25086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25088 if test -z "${PWEB_TRUE}" && test -z "${PWEB_FALSE}"; then
25089 as_fn_error $?
"conditional \"PWEB\" was never defined.
25090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25092 if test -z "${UPWEB_TRUE}" && test -z "${UPWEB_FALSE}"; then
25093 as_fn_error $?
"conditional \"UPWEB\" was never defined.
25094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25097 if test -z "${SYNCTEX_TRUE}" && test -z "${SYNCTEX_FALSE}"; then
25098 as_fn_error $?
"conditional \"SYNCTEX\" was never defined.
25099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25102 : "${CONFIG_STATUS=./config.status}"
25104 ac_clean_files_save
=$ac_clean_files
25105 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25106 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25107 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25109 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25111 # Generated by $as_me.
25112 # Run this file to recreate the current configuration.
25113 # Compiler output produced by configure, useful for debugging
25114 # configure, is in config.log if it exists.
25117 ac_cs_recheck=false
25120 SHELL=\${CONFIG_SHELL-$SHELL}
25123 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25124 ## -------------------- ##
25125 ## M4sh Initialization. ##
25126 ## -------------------- ##
25128 # Be more Bourne compatible
25129 DUALCASE
=1; export DUALCASE
# for MKS sh
25130 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25133 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25134 # is contrary to our usage. Disable this feature.
25135 alias -g '${1+"$@"}'='"$@"'
25136 setopt NO_GLOB_SUBST
25138 case `(set -o) 2>/dev/null` in #(
25150 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25151 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25152 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25153 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25154 # Prefer a ksh shell builtin over an external printf program on Solaris,
25155 # but without wasting forks for bash or zsh.
25156 if test -z "$BASH_VERSION$ZSH_VERSION" \
25157 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25158 as_echo='print
-r --'
25159 as_echo_n='print
-rn --'
25160 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25161 as_echo='printf %s
\n'
25162 as_echo_n='printf %s
'
25164 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25165 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25166 as_echo_n='/usr
/ucb
/echo -n'
25168 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25169 as_echo_n_body='eval
25173 expr "X$arg" : "X\\(.*\\)$as_nl";
25174 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25176 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25178 export as_echo_n_body
25179 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25181 export as_echo_body
25182 as_echo='sh
-c $as_echo_body as_echo
'
25185 # The user is always right.
25186 if test "${PATH_SEPARATOR+set}" != set; then
25188 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25189 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25196 # We need space, tab and new line, in precisely that order. Quoting is
25197 # there to prevent editors from complaining about space-tab.
25198 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25199 # splitting by setting IFS to empty value.)
25202 # Find who we are. Look in the path if we contain no directory separator.
25205 *[\\/]* ) as_myself=$0 ;;
25206 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25207 for as_dir in $PATH
25210 test -z "$as_dir" && as_dir=.
25211 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25217 # We did not find ourselves, most probably we were run as `sh COMMAND'
25218 # in which case we are not to be found in the path.
25219 if test "x$as_myself" = x
; then
25222 if test ! -f "$as_myself"; then
25223 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25227 # Unset variables that we do not need and which cause bugs (e.g. in
25228 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25229 # suppresses any "Segmentation fault" message there. '((' could
25230 # trigger a bug in pdksh 5.2.14.
25231 for as_var
in BASH_ENV ENV MAIL MAILPATH
25232 do eval test x\
${$as_var+set} = xset \
25233 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
25246 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
25249 # as_fn_error STATUS ERROR [LINENO LOG_FD]
25250 # ----------------------------------------
25251 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25252 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25253 # script with STATUS, using 1 if that was 0.
25256 as_status
=$1; test $as_status -eq 0 && as_status
=1
25258 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
25259 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
25261 $as_echo "$as_me: error: $2" >&2
25262 as_fn_exit
$as_status
25266 # as_fn_set_status STATUS
25267 # -----------------------
25268 # Set $? to STATUS, without forking.
25269 as_fn_set_status
()
25272 } # as_fn_set_status
25274 # as_fn_exit STATUS
25275 # -----------------
25276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25280 as_fn_set_status
$1
25286 # Portably unset VAR.
25289 { eval $1=; unset $1;}
25291 as_unset
=as_fn_unset
25292 # as_fn_append VAR VALUE
25293 # ----------------------
25294 # Append the text in VALUE to the end of the definition contained in VAR. Take
25295 # advantage of any shell optimizations that allow amortized linear growth over
25296 # repeated appends, instead of the typical quadratic growth present in naive
25298 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
25299 eval 'as_fn_append ()
25310 # as_fn_arith ARG...
25311 # ------------------
25312 # Perform arithmetic evaluation on the ARGs, and store the result in the
25313 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25314 # must be portable across $(()) and expr.
25315 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
25316 eval 'as_fn_arith ()
25323 as_val
=`expr "$@" || test $? -eq 1`
25328 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25329 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25335 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25336 as_basename
=basename
25341 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25347 as_me
=`$as_basename -- "$0" ||
25348 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25349 X"$0" : 'X\(//\)$' \| \
25350 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25352 sed '/^.*\/\([^/][^/]*\)\/*$/{
25366 # Avoid depending upon Character Ranges.
25367 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25368 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25369 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25370 as_cr_digits
='0123456789'
25371 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25373 ECHO_C
= ECHO_N
= ECHO_T
=
25374 case `echo -n x` in #(((((
25376 case `echo 'xy\c'` in
25377 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25379 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25386 rm -f conf$$ conf$$.exe conf$$.
file
25387 if test -d conf$$.dir
; then
25388 rm -f conf$$.dir
/conf$$.
file
25391 mkdir conf$$.dir
2>/dev
/null
25393 if (echo >conf$$.
file) 2>/dev
/null
; then
25394 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25396 # ... but there are two gotchas:
25397 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25398 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25399 # In both cases, we have to default to `cp -pR'.
25400 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25402 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25410 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25411 rmdir conf$$.dir
2>/dev
/null
25416 # Create "$as_dir" as a directory, including parents if necessary.
25421 -*) as_dir
=.
/$as_dir;;
25423 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25427 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25428 *) as_qdir
=$as_dir;;
25430 as_dirs
="'$as_qdir' $as_dirs"
25431 as_dir
=`$as_dirname -- "$as_dir" ||
25432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25433 X"$as_dir" : 'X\(//\)[^/]' \| \
25434 X"$as_dir" : 'X\(//\)$' \| \
25435 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25436 $as_echo X"$as_dir" |
25437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25441 /^X\(\/\/\)[^/].*/{
25454 test -d "$as_dir" && break
25456 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25457 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
25461 if mkdir
-p .
2>/dev
/null
; then
25462 as_mkdir_p
='mkdir -p "$as_dir"'
25464 test -d .
/-p && rmdir .
/-p
25469 # as_fn_executable_p FILE
25470 # -----------------------
25471 # Test if FILE is an executable regular file.
25472 as_fn_executable_p
()
25474 test -f "$1" && test -x "$1"
25475 } # as_fn_executable_p
25476 as_test_x
='test -x'
25477 as_executable_p
=as_fn_executable_p
25479 # Sed expression to map a string onto a valid CPP name.
25480 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25482 # Sed expression to map a string onto a valid variable name.
25483 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25487 ## ----------------------------------- ##
25488 ## Main body of $CONFIG_STATUS script. ##
25489 ## ----------------------------------- ##
25491 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25494 # Save the log message, to keep $0 and so on meaningful, and to
25495 # report actual input values of CONFIG_FILES etc. instead of their
25496 # values after options handling.
25498 This file was extended by Web2C $as_me 2016/dev, which was
25499 generated by GNU Autoconf 2.69. Invocation command line was
25501 CONFIG_FILES = $CONFIG_FILES
25502 CONFIG_HEADERS = $CONFIG_HEADERS
25503 CONFIG_LINKS = $CONFIG_LINKS
25504 CONFIG_COMMANDS = $CONFIG_COMMANDS
25507 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25512 case $ac_config_files in *"
25513 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25516 case $ac_config_headers in *"
25517 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25522 # Files that config.status was made for.
25523 config_files="$ac_config_files"
25524 config_headers="$ac_config_headers"
25525 config_links="$ac_config_links"
25526 config_commands="$ac_config_commands"
25530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25532 \`$as_me' instantiates files and other configuration actions
25533 from templates according to the current configuration. Unless the files
25534 and actions are specified as TAGs, all are instantiated by default.
25536 Usage: $0 [OPTION]... [TAG]...
25538 -h, --help print this help, then exit
25539 -V, --version print version number and configuration settings, then exit
25540 --config print configuration, then exit
25541 -q, --quiet, --silent
25542 do not print progress messages
25543 -d, --debug don't remove temporary files
25544 --recheck update $as_me by reconfiguring in the same conditions
25545 --file=FILE[:TEMPLATE]
25546 instantiate the configuration file FILE
25547 --header=FILE[:TEMPLATE]
25548 instantiate the configuration header FILE
25550 Configuration files:
25553 Configuration headers:
25556 Configuration links:
25559 Configuration commands:
25562 Report bugs to <tex-k@tug.org>."
25565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25566 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25568 Web2C config.status 2016/dev
25569 configured by $0, generated by GNU Autoconf 2.69,
25570 with options \\"\$ac_cs_config\\"
25572 Copyright (C) 2012 Free Software Foundation, Inc.
25573 This config.status script is free software; the Free Software Foundation
25574 gives unlimited permission to copy, distribute and modify it."
25581 test -n "\$AWK" || AWK=awk
25584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25585 # The default lists apply if the user does not specify any file.
25591 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25592 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25596 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25608 # Handling of the options.
25609 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25611 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25612 $as_echo "$ac_cs_version"; exit ;;
25613 --config |
--confi |
--conf |
--con |
--co |
--c )
25614 $as_echo "$ac_cs_config"; exit ;;
25615 --debug |
--debu |
--deb |
--de |
--d |
-d )
25617 --file |
--fil |
--fi |
--f )
25620 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25621 '') as_fn_error $?
"missing file argument" ;;
25623 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25624 ac_need_defaults
=false
;;
25625 --header |
--heade |
--head |
--hea )
25628 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25630 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25631 ac_need_defaults
=false
;;
25633 # Conflict between --help and --header
25634 as_fn_error $?
"ambiguous option: \`$1'
25635 Try \`$0 --help' for more information.";;
25636 --help |
--hel |
-h )
25637 $as_echo "$ac_cs_usage"; exit ;;
25638 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25639 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25642 # This is an error.
25643 -*) as_fn_error $?
"unrecognized option: \`$1'
25644 Try \`$0 --help' for more information." ;;
25646 *) as_fn_append ac_config_targets
" $1"
25647 ac_need_defaults
=false
;;
25653 ac_configure_extra_args
=
25655 if $ac_cs_silent; then
25657 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25662 if \$ac_cs_recheck; then
25663 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25665 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25666 CONFIG_SHELL='$SHELL'
25667 export CONFIG_SHELL
25672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25676 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25677 ## Running $as_me. ##
25683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25687 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25690 # The HP-UX ksh and POSIX shell print the target directory to stdout
25691 # if CDPATH is set.
25692 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25694 sed_quote_subst='$sed_quote_subst'
25695 double_quote_subst='$double_quote_subst'
25696 delay_variable_subst='$delay_variable_subst'
25697 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25698 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25699 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
25700 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
25701 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25702 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25703 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25704 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25705 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25706 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
25707 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25708 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25709 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
25710 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25711 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25712 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25713 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25714 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25715 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25716 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25717 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25718 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25719 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25720 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25721 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25722 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25723 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25724 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25725 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25726 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25727 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25728 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25729 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25730 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
25731 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
25732 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25733 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25734 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25735 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25736 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
25737 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
25738 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
25739 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25740 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25741 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
25742 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25743 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25744 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25745 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25746 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25747 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25748 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25749 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25750 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25751 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25752 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25753 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25754 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
25755 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25756 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"`'
25757 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
25758 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
25759 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
25760 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
25761 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25762 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25763 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25764 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25765 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25766 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25767 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25768 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25769 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
25770 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25771 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25772 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25773 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25774 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25775 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25776 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25777 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25778 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25779 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25780 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25781 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25782 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25783 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25784 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25785 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25786 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25787 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25788 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25789 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25790 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25791 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25792 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25793 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25794 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25795 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25796 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25797 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25798 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25799 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25800 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25801 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25802 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25803 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25804 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25805 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25806 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
25807 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25808 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25809 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25810 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25811 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25812 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25813 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25814 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25815 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25816 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25817 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25818 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25819 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25820 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25821 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25822 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25823 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25824 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25825 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
25826 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
25827 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25828 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25829 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25830 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25831 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25832 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25833 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25834 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25835 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25836 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25837 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25838 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25839 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25840 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25841 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25842 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25843 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25844 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25845 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25846 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25847 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25848 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25849 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25850 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25851 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25852 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25853 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25854 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25855 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25856 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25857 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25858 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25859 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25860 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25861 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25862 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25863 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25864 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25865 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25866 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25867 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25868 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25869 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25870 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25871 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25872 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25873 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25874 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25875 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25876 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25877 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25878 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25879 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25880 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25881 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25882 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25883 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25884 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25885 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25886 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25889 LTCFLAGS='$LTCFLAGS'
25890 compiler='$compiler_DEFAULT'
25892 # A function that is used when there is no print builtin or printf.
25893 func_fallback_echo ()
25895 eval 'cat <<_LTECHO_EOF
25900 # Quote evaled strings.
25917 deplibs_check_method \
25921 sharedlib_from_linklib_cmd \
25924 archiver_list_spec \
25930 lt_cv_sys_global_symbol_pipe \
25931 lt_cv_sys_global_symbol_to_cdecl \
25932 lt_cv_sys_global_symbol_to_import \
25933 lt_cv_sys_global_symbol_to_c_name_address \
25934 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25935 lt_cv_nm_interface \
25936 nm_file_list_spec \
25937 lt_cv_truncate_bin \
25938 lt_prog_compiler_no_builtin_flag \
25939 lt_prog_compiler_pic \
25940 lt_prog_compiler_wl \
25941 lt_prog_compiler_static \
25942 lt_cv_prog_compiler_c_o \
25951 export_dynamic_flag_spec \
25952 whole_archive_flag_spec \
25953 compiler_needs_object \
25955 allow_undefined_flag \
25956 no_undefined_flag \
25957 hardcode_libdir_flag_spec \
25958 hardcode_libdir_separator \
25962 variables_saved_for_relink \
25964 library_names_spec \
25966 install_override_mode \
25970 compiler_lib_search_dirs \
25975 compiler_lib_search_path \
25979 lt_prog_compiler_no_builtin_flag_CXX \
25980 lt_prog_compiler_pic_CXX \
25981 lt_prog_compiler_wl_CXX \
25982 lt_prog_compiler_static_CXX \
25983 lt_cv_prog_compiler_c_o_CXX \
25984 export_dynamic_flag_spec_CXX \
25985 whole_archive_flag_spec_CXX \
25986 compiler_needs_object_CXX \
25988 allow_undefined_flag_CXX \
25989 no_undefined_flag_CXX \
25990 hardcode_libdir_flag_spec_CXX \
25991 hardcode_libdir_separator_CXX \
25992 exclude_expsyms_CXX \
25993 include_expsyms_CXX \
25994 file_list_spec_CXX \
25995 compiler_lib_search_dirs_CXX \
25996 predep_objects_CXX \
25997 postdep_objects_CXX \
26000 compiler_lib_search_path_CXX; do
26001 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26002 *[\\\\\\\`\\"\\\$]*)
26003 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
26006 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26011 # Double-quote double-evaled strings.
26012 for var in reload_cmds \
26013 old_postinstall_cmds \
26014 old_postuninstall_cmds \
26016 extract_expsyms_cmds \
26017 old_archive_from_new_cmds \
26018 old_archive_from_expsyms_cmds \
26020 archive_expsym_cmds \
26022 module_expsym_cmds \
26023 export_symbols_cmds \
26027 postuninstall_cmds \
26029 sys_lib_search_path_spec \
26030 configure_time_dlsearch_path \
26031 configure_time_lt_sys_library_path \
26033 old_archive_cmds_CXX \
26034 old_archive_from_new_cmds_CXX \
26035 old_archive_from_expsyms_cmds_CXX \
26037 archive_expsym_cmds_CXX \
26039 module_expsym_cmds_CXX \
26040 export_symbols_cmds_CXX \
26042 postlink_cmds_CXX; do
26043 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26044 *[\\\\\\\`\\"\\\$]*)
26045 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
26048 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26053 ac_aux_dir='$ac_aux_dir'
26055 # See if we are running on zsh, and set the options that allow our
26056 # commands through without removal of \ escapes INIT.
26057 if test -n "\${ZSH_VERSION+set}"; then
26058 setopt NO_GLOB_SUBST
26069 enable_libtool_hack='$enable_libtool_hack'
26070 ac_aux_dir='$ac_aux_dir'
26073 cxxld_sh='$cxxld_sh'
26077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26079 # Handling of arguments.
26080 for ac_config_target
in $ac_config_targets
26082 case $ac_config_target in
26083 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26084 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26085 "CXXLD.sh") CONFIG_COMMANDS
="$CONFIG_COMMANDS CXXLD.sh" ;;
26086 "callexe.c") CONFIG_LINKS
="$CONFIG_LINKS callexe.c:../texlive/w32_wrapper/callexe.c" ;;
26087 "w2c/c-auto.h") CONFIG_HEADERS
="$CONFIG_HEADERS w2c/c-auto.h:c-auto.in" ;;
26088 "ff-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS ff-config.h:luatexdir/luafontloader/ff-config.in" ;;
26089 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26090 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
26091 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
26092 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
26093 "omegafonts/Makefile") CONFIG_FILES
="$CONFIG_FILES omegafonts/Makefile" ;;
26094 "otps/Makefile") CONFIG_FILES
="$CONFIG_FILES otps/Makefile" ;;
26095 "otps/win32/Makefile") CONFIG_FILES
="$CONFIG_FILES otps/win32/Makefile" ;;
26096 "window/Makefile") CONFIG_FILES
="$CONFIG_FILES window/Makefile" ;;
26097 "web2c-sh") CONFIG_FILES
="$CONFIG_FILES web2c-sh" ;;
26098 "tangle-sh") CONFIG_FILES
="$CONFIG_FILES tangle-sh" ;;
26099 "ctangleboot-sh") CONFIG_FILES
="$CONFIG_FILES ctangleboot-sh" ;;
26100 "silent-sh") CONFIG_FILES
="$CONFIG_FILES silent-sh" ;;
26101 "synctexdir/synctex.pc") CONFIG_FILES
="$CONFIG_FILES synctexdir/synctex.pc" ;;
26103 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26108 # If the user did not use the arguments to specify the items to instantiate,
26109 # then the envvar interface is used. Set only those that are not.
26110 # We use the long form for the default assignment because of an extremely
26111 # bizarre bug on SunOS 4.1.3.
26112 if $ac_need_defaults; then
26113 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26114 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26115 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
26116 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26119 # Have a temporary directory for convenience. Make it in the build tree
26120 # simply because there is no reason against having it here, and in addition,
26121 # creating and moving files from /tmp can sometimes cause problems.
26122 # Hook for its removal unless debugging.
26123 # Note that there is a small window in which the directory will not be cleaned:
26124 # after its creation but before its name has been assigned to `$tmp'.
26128 trap 'exit_status=$?
26129 : "${ac_tmp:=$tmp}"
26130 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
26132 trap 'as_fn_exit 1' 1 2 13 15
26134 # Create a (secure) tmp directory for tmp files.
26137 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26141 tmp
=.
/conf$$
-$RANDOM
26142 (umask 077 && mkdir
"$tmp")
26143 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
26146 # Set up the scripts for CONFIG_FILES section.
26147 # No need to generate them if there are no CONFIG_FILES.
26148 # This happens for instance with `./config.status config.h'.
26149 if test -n "$CONFIG_FILES"; then
26152 ac_cr
=`echo X | tr X '\015'`
26153 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26154 # But we know of no other shell where ac_cr would be empty at this
26155 # point, so we can use a bashism as a fallback.
26156 if test "x$ac_cr" = x
; then
26157 eval ac_cr
=\$
\'\\r
\'
26159 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26160 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26163 ac_cs_awk_cr
=$ac_cr
26166 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
26171 echo "cat >conf$$subs.awk <<_ACEOF" &&
26172 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26174 } >conf$$subs.sh ||
26175 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
26176 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
26178 for ac_last_try in false false false false false :; do
26179 . ./conf$$subs.sh ||
26180 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
26182 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26183 if test $ac_delim_n = $ac_delim_num; then
26185 elif $ac_last_try; then
26186 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
26188 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26191 rm -f conf$$subs.sh
26193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26194 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
26198 s/^/S["/; s
/!.
*/"]=/
26208 s/\(.\{148\}\)..*/\1/
26210 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26215 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26222 s/\(.\{148\}\)..*/\1/
26224 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26228 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26233 ' <conf$$subs.awk | sed '
26238 ' >>$CONFIG_STATUS || ac_write_fail=1
26239 rm -f conf$$subs.awk
26240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26242 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
26243 for (key in S) S_is_set[key] = 1
26249 nfields = split(line, field, "@
")
26251 len = length(field[1])
26252 for (i = 2; i < nfields; i++) {
26254 keylen = length(key)
26255 if (S_is_set[key]) {
26257 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26258 len += length(value) + length(field[++i])
26269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26270 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26271 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26274 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
26275 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
26278 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
26279 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
26280 # trailing colons and then remove the whole line if VPATH becomes empty
26281 # (actually we leave an empty line to preserve line numbers).
26282 if test "x
$srcdir" = x.; then
26283 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
26301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26302 fi # test -n "$CONFIG_FILES"
26304 # Set up the scripts for CONFIG_HEADERS section.
26305 # No need to generate them if there are no CONFIG_HEADERS.
26306 # This happens for instance with `./config.status Makefile'.
26307 if test -n "$CONFIG_HEADERS"; then
26308 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
26312 # Transform confdefs.h into an awk script `defines.awk', embedded as
26313 # here-document in config.status, that substitutes the proper values into
26314 # config.h.in to produce config.h.
26316 # Create a delimiter string that does not exist in confdefs.h, to ease
26317 # handling of long lines.
26319 for ac_last_try in false false :; do
26320 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
26321 if test -z "$ac_tt"; then
26323 elif $ac_last_try; then
26324 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
26326 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26330 # For the awk script, D is an array of macro values keyed by name,
26331 # likewise P contains macro parameters if any. Preserve backslash
26332 # newline sequences.
26334 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26336 s/.\{148\}/&'"$ac_delim"'/g
26339 s/^[ ]*#[ ]*define[ ][ ]*/ /
26346 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26348 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26352 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26353 D["\
1"]=" \
3\\\\\\n
"\\/p
26355 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26360 s/.\{148\}/&'"$ac_delim"'/g
26365 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26368 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26370 ' <confdefs.h | sed '
26371 s/'"$ac_delim"'/"\\\
26372 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26375 for (key in D) D_is_set[key] = 1
26378 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26380 split(line, arg, " ")
26381 if (arg[1] == "#") {
26385 defundef
= substr
(arg
[1], 2)
26388 split(mac1
, mac2
, "(") #)
26390 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26391 if (D_is_set
[macro
]) {
26392 # Preserve the white space surrounding the "#".
26393 print prefix
"define", macro P
[macro
] D
[macro
]
26396 # Replace #undef with comments. This is necessary, for example,
26397 # in the case of _POSIX_SOURCE, which is predefined and required
26398 # on some systems where configure will not decide to define it.
26399 if (defundef
== "undef") {
26400 print
"/*", prefix defundef
, macro
, "*/"
26408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26409 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
26410 fi # test -n "$CONFIG_HEADERS"
26413 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26418 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26420 case $ac_mode$ac_tag in
26422 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26423 :[FH
]-) ac_tag
=-:-;;
26424 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26441 -) ac_f
="$ac_tmp/stdin";;
26442 *) # Look for the file first in the build tree, then in the source tree
26443 # (if the path is not absolute). The absolute path cannot be DOS-style,
26444 # because $ac_f cannot contain `:'.
26448 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26450 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26452 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26453 as_fn_append ac_file_inputs
" '$ac_f'"
26456 # Let's still pretend it is `configure' which instantiates (i.e., don't
26457 # use $as_me), people would be surprised to read:
26458 # /* config.h. Generated by config.status. */
26459 configure_input
='Generated from '`
26460 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26462 if test x
"$ac_file" != x-
; then
26463 configure_input
="$ac_file. $configure_input"
26464 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26465 $as_echo "$as_me: creating $ac_file" >&6;}
26467 # Neutralize special characters interpreted by sed in replacement strings.
26468 case $configure_input in #(
26469 *\
&* |
*\|
* |
*\\* )
26470 ac_sed_conf_input
=`$as_echo "$configure_input" |
26471 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26472 *) ac_sed_conf_input
=$configure_input;;
26476 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
26477 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
26482 ac_dir
=`$as_dirname -- "$ac_file" ||
26483 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26484 X"$ac_file" : 'X\(//\)[^/]' \| \
26485 X"$ac_file" : 'X\(//\)$' \| \
26486 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26487 $as_echo X"$ac_file" |
26488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26492 /^X\(\/\/\)[^/].*/{
26505 as_dir
="$ac_dir"; as_fn_mkdir_p
26509 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26511 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26512 # A ".." for each directory in $ac_dir_suffix.
26513 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26514 case $ac_top_builddir_sub in
26515 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26516 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26519 ac_abs_top_builddir
=$ac_pwd
26520 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26521 # for backward compatibility:
26522 ac_top_builddir
=$ac_top_build_prefix
26525 .
) # We are building in place.
26527 ac_top_srcdir
=$ac_top_builddir_sub
26528 ac_abs_top_srcdir
=$ac_pwd ;;
26529 [\\/]* | ?
:[\\/]* ) # Absolute name.
26530 ac_srcdir
=$srcdir$ac_dir_suffix;
26531 ac_top_srcdir
=$srcdir
26532 ac_abs_top_srcdir
=$srcdir ;;
26533 *) # Relative name.
26534 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26535 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26536 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26538 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26548 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26549 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26551 ac_MKDIR_P
=$MKDIR_P
26553 [\\/$
]* | ?
:[\\/]* ) ;;
26554 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26559 # If the template does not know about datarootdir, expand it.
26560 # FIXME: This hack should be removed a few years after 2.60.
26561 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26572 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26573 *datarootdir
*) ac_datarootdir_seen
=yes;;
26574 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26576 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26579 ac_datarootdir_hack='
26580 s&@datadir@&$datadir&g
26581 s&@docdir@&$docdir&g
26582 s&@infodir@&$infodir&g
26583 s&@localedir@&$localedir&g
26584 s&@mandir@&$mandir&g
26585 s&\\\${datarootdir}&$datarootdir&g' ;;
26589 # Neutralize VPATH when `$srcdir' = `.'.
26590 # Shell code in configure.ac might set extrasub.
26591 # FIXME: do we really want to maintain this feature?
26592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26593 ac_sed_extra="$ac_vpsub
26596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26598 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26599 s|@configure_input@|
$ac_sed_conf_input|
;t t
26600 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26601 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26602 s
&@srcdir@
&$ac_srcdir&;t t
26603 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26604 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26605 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26606 s
&@builddir@
&$ac_builddir&;t t
26607 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26608 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26609 s
&@INSTALL@
&$ac_INSTALL&;t t
26610 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26611 $ac_datarootdir_hack
26613 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
26614 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
26616 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26617 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
26618 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
26619 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
26620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26621 which seems to be undefined. Please make sure it is defined" >&5
26622 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26623 which seems to be undefined. Please make sure it is defined" >&2;}
26625 rm -f "$ac_tmp/stdin"
26627 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
26628 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
26630 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26636 if test x"$ac_file" != x-; then
26638 $as_echo "/* $configure_input */" \
26639 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
26640 } >"$ac_tmp/config.h" \
26641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26642 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
26643 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26644 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26647 mv "$ac_tmp/config.h" "$ac_file" \
26648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26651 $as_echo "/* $configure_input */" \
26652 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
26653 || as_fn_error $? "could not create -" "$LINENO" 5
26655 # Compute "$ac_file"'s index
in $config_headers.
26658 for _am_header
in $config_headers :; do
26659 case $_am_header in
26660 $_am_arg |
$_am_arg:* )
26663 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26666 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26667 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26668 X"$_am_arg" : 'X\(//\)[^/]' \| \
26669 X"$_am_arg" : 'X\(//\)$' \| \
26670 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26671 $as_echo X"$_am_arg" |
26672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26676 /^X\(\/\/\)[^/].*/{
26688 s/.*/./; q'`/stamp-h
$_am_stamp_count
26695 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26698 # Prefer the file from the source tree if names are identical.
26699 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26700 ac_source
=$srcdir/$ac_source
26703 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26704 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26706 if test ! -r "$ac_source"; then
26707 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
26711 # Try a relative symlink, then a hard link, then a copy.
26713 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26714 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26716 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26717 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26718 cp -p "$ac_source" "$ac_file" ||
26719 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26722 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26723 $as_echo "$as_me: executing $ac_file commands" >&6;}
26728 case $ac_file$ac_mode in
26729 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26730 # Older Autoconf quotes --file arguments for eval, but not when files
26731 # are listed without --file. Let's play safe and only enable the eval
26732 # if we detect the quoting.
26733 case $CONFIG_FILES in
26734 *\'*) eval set x
"$CONFIG_FILES" ;;
26735 *) set x
$CONFIG_FILES ;;
26740 # Strip MF so we end up with the name of the file.
26741 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26742 # Check whether this is an Automake generated Makefile or not.
26743 # We used to match only the files named 'Makefile.in', but
26744 # some people rename them; so instead we look at the file content.
26745 # Grep'ing the first line is not enough: some people post-process
26746 # each Makefile.in and add a new line on top of each file to say so.
26747 # Grep'ing the whole file is not good either: AIX grep has a line
26748 # limit of 2048, but all sed's we know have understand at least 4000.
26749 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26750 dirpart
=`$as_dirname -- "$mf" ||
26751 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26752 X"$mf" : 'X\(//\)[^/]' \| \
26753 X"$mf" : 'X\(//\)$' \| \
26754 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26760 /^X\(\/\/\)[^/].*/{
26776 # Extract the definition of DEPDIR, am__include, and am__quote
26777 # from the Makefile without running 'make'.
26778 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26779 test -z "$DEPDIR" && continue
26780 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26781 test -z "$am__include" && continue
26782 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26783 # Find all dependency output files, they are included files with
26784 # $(DEPDIR) in their names. We invoke sed twice because it is the
26785 # simplest approach to changing $(DEPDIR) to its actual value in the
26787 for file in `sed -n "
26788 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26789 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
26790 # Make sure the directory exists.
26791 test -f "$dirpart/$file" && continue
26792 fdir
=`$as_dirname -- "$file" ||
26793 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26794 X"$file" : 'X\(//\)[^/]' \| \
26795 X"$file" : 'X\(//\)$' \| \
26796 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26797 $as_echo X"$file" |
26798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26802 /^X\(\/\/\)[^/].*/{
26815 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26816 # echo "creating $dirpart/$file"
26817 echo '# dummy' > "$dirpart/$file"
26824 # See if we are running on zsh, and set the options that allow our
26825 # commands through without removal of \ escapes.
26826 if test -n "${ZSH_VERSION+set}"; then
26827 setopt NO_GLOB_SUBST
26831 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26834 cat <<_LT_EOF >> "$cfgfile"
26836 # Generated automatically by $as_me ($PACKAGE) $VERSION
26837 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26838 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26840 # Provide generalized library-building support services.
26841 # Written by Gordon Matzigkeit, 1996
26843 # Copyright (C) 2014 Free Software Foundation, Inc.
26844 # This is free software; see the source for copying conditions. There is NO
26845 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26847 # GNU Libtool is free software; you can redistribute it and/or modify
26848 # it under the terms of the GNU General Public License as published by
26849 # the Free Software Foundation; either version 2 of of the License, or
26850 # (at your option) any later version.
26852 # As a special exception to the GNU General Public License, if you
26853 # distribute this file as part of a program or library that is built
26854 # using GNU Libtool, you may include this file under the same
26855 # distribution terms that you use for the rest of that program.
26857 # GNU Libtool is distributed in the hope that it will be useful, but
26858 # WITHOUT ANY WARRANTY; without even the implied warranty of
26859 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26860 # GNU General Public License for more details.
26862 # You should have received a copy of the GNU General Public License
26863 # along with this program. If not, see <http://www.gnu.org/licenses/>.
26866 # The names of the tagged configurations supported by this script.
26867 available_tags='CXX '
26869 # Configured defaults for sys_lib_dlsearch_path munging.
26870 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
26872 # ### BEGIN LIBTOOL CONFIG
26874 # Which release of libtool.m4 was used?
26875 macro_version=$macro_version
26876 macro_revision=$macro_revision
26878 # Assembler program.
26881 # DLL creation program.
26882 DLLTOOL=$lt_DLLTOOL
26884 # Object dumper program.
26885 OBJDUMP=$lt_OBJDUMP
26887 # Whether or not to build shared libraries.
26888 build_libtool_libs=$enable_shared
26890 # Whether or not to build static libraries.
26891 build_old_libs=$enable_static
26893 # What type of objects to build.
26896 # Whether or not to optimize for fast installation.
26897 fast_install=$enable_fast_install
26899 # Shared archive member basename,for filename based shared library versioning on AIX.
26900 shared_archive_member_spec=$shared_archive_member_spec
26902 # Shell to use when invoking shell scripts.
26905 # An echo program that protects backslashes.
26908 # The PATH separator for the build system.
26909 PATH_SEPARATOR=$lt_PATH_SEPARATOR
26912 host_alias=$host_alias
26916 # The build system.
26917 build_alias=$build_alias
26921 # A sed program that does not truncate output.
26924 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26925 Xsed="\$SED -e 1s/^X//"
26927 # A grep program that handles long lines.
26933 # A literal string matcher.
26936 # A BSD- or MS-compatible name lister.
26939 # Whether we need soft or hard links.
26942 # What is the maximum length of a command?
26943 max_cmd_len=$max_cmd_len
26945 # Object file suffix (normally "o").
26948 # Executable file suffix (normally "").
26951 # whether the shell understands "unset".
26954 # turn spaces into newlines.
26957 # turn newlines into spaces.
26960 # convert \$build file names to \$host format.
26961 to_host_file_cmd=$lt_cv_to_host_file_cmd
26963 # convert \$build files to toolchain format.
26964 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
26966 # Method to check whether dependent libraries are shared objects.
26967 deplibs_check_method=$lt_deplibs_check_method
26969 # Command to use when deplibs_check_method = "file_magic".
26970 file_magic_cmd=$lt_file_magic_cmd
26972 # How to find potential files when deplibs_check_method = "file_magic".
26973 file_magic_glob=$lt_file_magic_glob
26975 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
26976 want_nocaseglob=$lt_want_nocaseglob
26978 # Command to associate shared and link libraries.
26979 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
26984 # Flags to create an archive.
26985 AR_FLAGS=$lt_AR_FLAGS
26987 # How to feed a file listing to the archiver.
26988 archiver_list_spec=$lt_archiver_list_spec
26990 # A symbol stripping program.
26993 # Commands used to install an old-style archive.
26995 old_postinstall_cmds=$lt_old_postinstall_cmds
26996 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26998 # Whether to use a lock for old archive extraction.
26999 lock_old_archive_extraction=$lock_old_archive_extraction
27004 # LTCC compiler flags.
27005 LTCFLAGS=$lt_CFLAGS
27007 # Take the output of nm and produce a listing of raw symbols and C names.
27008 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27010 # Transform the output of nm in a proper C declaration.
27011 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27013 # Transform the output of nm into a list of symbols to manually relocate.
27014 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
27016 # Transform the output of nm in a C name address pair.
27017 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27019 # Transform the output of nm in a C name address pair when lib prefix is needed.
27020 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27022 # The name lister interface.
27023 nm_interface=$lt_lt_cv_nm_interface
27025 # Specify filename containing input files for \$NM.
27026 nm_file_list_spec=$lt_nm_file_list_spec
27028 # The root where to search for dependent libraries,and where our libraries should be installed.
27029 lt_sysroot=$lt_sysroot
27031 # Command to truncate a binary pipe.
27032 lt_truncate_bin=$lt_lt_cv_truncate_bin
27034 # The name of the directory that contains temporary libtool files.
27037 # Used to examine libraries when file_magic_cmd begins with "file".
27038 MAGIC_CMD=$MAGIC_CMD
27040 # Must we lock files when doing compilation?
27041 need_locks=$lt_need_locks
27044 MANIFEST_TOOL=$lt_MANIFEST_TOOL
27046 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27047 DSYMUTIL=$lt_DSYMUTIL
27049 # Tool to change global to local symbols on Mac OS X.
27052 # Tool to manipulate fat objects and archives on Mac OS X.
27055 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27058 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27059 OTOOL64=$lt_OTOOL64
27061 # Old archive suffix (normally "a").
27064 # Shared library suffix (normally ".so").
27065 shrext_cmds=$lt_shrext_cmds
27067 # The commands to extract the exported symbol list from a shared archive.
27068 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27070 # Variables whose values should be saved in libtool wrapper scripts and
27071 # restored at link time.
27072 variables_saved_for_relink=$lt_variables_saved_for_relink
27074 # Do we need the "lib" prefix for modules?
27075 need_lib_prefix=$need_lib_prefix
27077 # Do we need a version for libraries?
27078 need_version=$need_version
27080 # Library versioning type.
27081 version_type=$version_type
27083 # Shared library runtime path variable.
27084 runpath_var=$runpath_var
27086 # Shared library path variable.
27087 shlibpath_var=$shlibpath_var
27089 # Is shlibpath searched before the hard-coded library search path?
27090 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27092 # Format of library name prefix.
27093 libname_spec=$lt_libname_spec
27095 # List of archive names. First name is the real one, the rest are links.
27096 # The last name is the one that the linker finds with -lNAME
27097 library_names_spec=$lt_library_names_spec
27099 # The coded name of the library, if different from the real name.
27100 soname_spec=$lt_soname_spec
27102 # Permission mode override for installation of shared libraries.
27103 install_override_mode=$lt_install_override_mode
27105 # Command to use after installation of a shared archive.
27106 postinstall_cmds=$lt_postinstall_cmds
27108 # Command to use after uninstallation of a shared archive.
27109 postuninstall_cmds=$lt_postuninstall_cmds
27111 # Commands used to finish a libtool library installation in a directory.
27112 finish_cmds=$lt_finish_cmds
27114 # As "finish_cmds", except a single script fragment to be evaled but
27116 finish_eval=$lt_finish_eval
27118 # Whether we should hardcode library paths into libraries.
27119 hardcode_into_libs=$hardcode_into_libs
27121 # Compile-time system search path for libraries.
27122 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27124 # Detected run-time system search path for libraries.
27125 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
27127 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
27128 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
27130 # Whether dlopen is supported.
27131 dlopen_support=$enable_dlopen
27133 # Whether dlopen of programs is supported.
27134 dlopen_self=$enable_dlopen_self
27136 # Whether dlopen of statically linked programs is supported.
27137 dlopen_self_static=$enable_dlopen_self_static
27139 # Commands to strip libraries.
27140 old_striplib=$lt_old_striplib
27141 striplib=$lt_striplib
27144 # The linker used to build libraries.
27147 # How to create reloadable object files.
27148 reload_flag=$lt_reload_flag
27149 reload_cmds=$lt_reload_cmds
27151 # Commands used to build an old-style archive.
27152 old_archive_cmds=$lt_old_archive_cmds
27154 # A language specific compiler.
27157 # Is the compiler the GNU compiler?
27160 # Compiler flag to turn off builtin functions.
27161 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27163 # Additional compiler flags for building library objects.
27164 pic_flag=$lt_lt_prog_compiler_pic
27166 # How to pass a linker flag through the compiler.
27167 wl=$lt_lt_prog_compiler_wl
27169 # Compiler flag to prevent dynamic linking.
27170 link_static_flag=$lt_lt_prog_compiler_static
27172 # Does compiler simultaneously support -c and -o options?
27173 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27175 # Whether or not to add -lc for building shared libraries.
27176 build_libtool_need_lc=$archive_cmds_need_lc
27178 # Whether or not to disallow shared libs when runtime libs are static.
27179 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27181 # Compiler flag to allow reflexive dlopens.
27182 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27184 # Compiler flag to generate shared objects directly from archives.
27185 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27187 # Whether the compiler copes with passing no objects directly.
27188 compiler_needs_object=$lt_compiler_needs_object
27190 # Create an old-style archive from a shared archive.
27191 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27193 # Create a temporary old-style archive to link instead of a shared archive.
27194 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27196 # Commands used to build a shared archive.
27197 archive_cmds=$lt_archive_cmds
27198 archive_expsym_cmds=$lt_archive_expsym_cmds
27200 # Commands used to build a loadable module if different from building
27201 # a shared archive.
27202 module_cmds=$lt_module_cmds
27203 module_expsym_cmds=$lt_module_expsym_cmds
27205 # Whether we are building with GNU ld or not.
27206 with_gnu_ld=$lt_with_gnu_ld
27208 # Flag that allows shared libraries with undefined symbols to be built.
27209 allow_undefined_flag=$lt_allow_undefined_flag
27211 # Flag that enforces no undefined symbols.
27212 no_undefined_flag=$lt_no_undefined_flag
27214 # Flag to hardcode \$libdir into a binary during linking.
27215 # This must work even if \$libdir does not exist
27216 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27218 # Whether we need a single "-rpath" flag with a separated argument.
27219 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27221 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27222 # DIR into the resulting binary.
27223 hardcode_direct=$hardcode_direct
27225 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27226 # DIR into the resulting binary and the resulting library dependency is
27227 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
27228 # library is relocated.
27229 hardcode_direct_absolute=$hardcode_direct_absolute
27231 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27232 # into the resulting binary.
27233 hardcode_minus_L=$hardcode_minus_L
27235 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27236 # into the resulting binary.
27237 hardcode_shlibpath_var=$hardcode_shlibpath_var
27239 # Set to "yes" if building a shared library automatically hardcodes DIR
27240 # into the library and all subsequent libraries and executables linked
27242 hardcode_automatic=$hardcode_automatic
27244 # Set to yes if linker adds runtime paths of dependent libraries
27245 # to runtime path list.
27246 inherit_rpath=$inherit_rpath
27248 # Whether libtool must link a program against all its dependency libraries.
27249 link_all_deplibs=$link_all_deplibs
27251 # Set to "yes" if exported symbols are required.
27252 always_export_symbols=$always_export_symbols
27254 # The commands to list exported symbols.
27255 export_symbols_cmds=$lt_export_symbols_cmds
27257 # Symbols that should not be listed in the preloaded symbols.
27258 exclude_expsyms=$lt_exclude_expsyms
27260 # Symbols that must always be exported.
27261 include_expsyms=$lt_include_expsyms
27263 # Commands necessary for linking programs (against libraries) with templates.
27264 prelink_cmds=$lt_prelink_cmds
27266 # Commands necessary for finishing linking programs.
27267 postlink_cmds=$lt_postlink_cmds
27269 # Specify filename containing input files.
27270 file_list_spec=$lt_file_list_spec
27272 # How to hardcode a shared library path into an executable.
27273 hardcode_action=$hardcode_action
27275 # The directories searched by this compiler when creating a shared library.
27276 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27278 # Dependencies to place before and after the objects being linked to
27279 # create a shared library.
27280 predep_objects=$lt_predep_objects
27281 postdep_objects=$lt_postdep_objects
27282 predeps=$lt_predeps
27283 postdeps=$lt_postdeps
27285 # The library search path used internally by the compiler when linking
27286 # a shared library.
27287 compiler_lib_search_path=$lt_compiler_lib_search_path
27289 # ### END LIBTOOL CONFIG
27293 cat <<'_LT_EOF' >> "$cfgfile"
27295 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
27297 # func_munge_path_list VARIABLE PATH
27298 # -----------------------------------
27299 # VARIABLE is name of variable containing _space_ separated list of
27300 # directories to be munged by the contents of PATH, which is string
27303 # string "DIR[ DIR]" will be prepended to VARIABLE
27305 # string "DIR[ DIR]" will be appended to VARIABLE
27306 # "DIRP[:DIRP]::[DIRA:]DIRA"
27307 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
27308 # "DIRA[ DIRA]" will be appended to VARIABLE
27310 # VARIABLE will be replaced by "DIR[ DIR]"
27311 func_munge_path_list ()
27317 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
27320 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
27323 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
27324 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
27327 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
27333 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
27334 func_cc_basename ()
27336 for cc_temp in $*""; do
27338 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27339 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27344 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
27348 # ### END FUNCTIONS SHARED WITH CONFIGURE
27354 cat <<\_LT_EOF
>> "$cfgfile"
27355 # AIX sometimes has problems with the GCC collect2 program. For some
27356 # reason, if we set the COLLECT_NAMES environment variable, the problems
27357 # vanish in a puff of smoke.
27358 if test set != "${COLLECT_NAMES+set}"; then
27360 export COLLECT_NAMES
27367 ltmain
=$ac_aux_dir/ltmain.sh
27370 # We use sed instead of cat because bash on DJGPP gets confused if
27371 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27372 # text mode, it properly converts lines to CR/LF. This bash problem
27373 # is reportedly fixed, but why not run on old versions too?
27374 sed '$q' "$ltmain" >> "$cfgfile" \
27375 ||
(rm -f "$cfgfile"; exit 1)
27377 mv -f "$cfgfile" "$ofile" ||
27378 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27382 cat <<_LT_EOF >> "$ofile"
27384 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27386 # The linker used to build libraries.
27389 # How to create reloadable object files.
27390 reload_flag=$lt_reload_flag_CXX
27391 reload_cmds=$lt_reload_cmds_CXX
27393 # Commands used to build an old-style archive.
27394 old_archive_cmds=$lt_old_archive_cmds_CXX
27396 # A language specific compiler.
27397 CC=$lt_compiler_CXX
27399 # Is the compiler the GNU compiler?
27402 # Compiler flag to turn off builtin functions.
27403 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27405 # Additional compiler flags for building library objects.
27406 pic_flag=$lt_lt_prog_compiler_pic_CXX
27408 # How to pass a linker flag through the compiler.
27409 wl=$lt_lt_prog_compiler_wl_CXX
27411 # Compiler flag to prevent dynamic linking.
27412 link_static_flag=$lt_lt_prog_compiler_static_CXX
27414 # Does compiler simultaneously support -c and -o options?
27415 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27417 # Whether or not to add -lc for building shared libraries.
27418 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27420 # Whether or not to disallow shared libs when runtime libs are static.
27421 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27423 # Compiler flag to allow reflexive dlopens.
27424 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27426 # Compiler flag to generate shared objects directly from archives.
27427 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27429 # Whether the compiler copes with passing no objects directly.
27430 compiler_needs_object=$lt_compiler_needs_object_CXX
27432 # Create an old-style archive from a shared archive.
27433 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27435 # Create a temporary old-style archive to link instead of a shared archive.
27436 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27438 # Commands used to build a shared archive.
27439 archive_cmds=$lt_archive_cmds_CXX
27440 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27442 # Commands used to build a loadable module if different from building
27443 # a shared archive.
27444 module_cmds=$lt_module_cmds_CXX
27445 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27447 # Whether we are building with GNU ld or not.
27448 with_gnu_ld=$lt_with_gnu_ld_CXX
27450 # Flag that allows shared libraries with undefined symbols to be built.
27451 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27453 # Flag that enforces no undefined symbols.
27454 no_undefined_flag=$lt_no_undefined_flag_CXX
27456 # Flag to hardcode \$libdir into a binary during linking.
27457 # This must work even if \$libdir does not exist
27458 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27460 # Whether we need a single "-rpath" flag with a separated argument.
27461 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27463 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27464 # DIR into the resulting binary.
27465 hardcode_direct=$hardcode_direct_CXX
27467 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27468 # DIR into the resulting binary and the resulting library dependency is
27469 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
27470 # library is relocated.
27471 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27473 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27474 # into the resulting binary.
27475 hardcode_minus_L=$hardcode_minus_L_CXX
27477 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27478 # into the resulting binary.
27479 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27481 # Set to "yes" if building a shared library automatically hardcodes DIR
27482 # into the library and all subsequent libraries and executables linked
27484 hardcode_automatic=$hardcode_automatic_CXX
27486 # Set to yes if linker adds runtime paths of dependent libraries
27487 # to runtime path list.
27488 inherit_rpath=$inherit_rpath_CXX
27490 # Whether libtool must link a program against all its dependency libraries.
27491 link_all_deplibs=$link_all_deplibs_CXX
27493 # Set to "yes" if exported symbols are required.
27494 always_export_symbols=$always_export_symbols_CXX
27496 # The commands to list exported symbols.
27497 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27499 # Symbols that should not be listed in the preloaded symbols.
27500 exclude_expsyms=$lt_exclude_expsyms_CXX
27502 # Symbols that must always be exported.
27503 include_expsyms=$lt_include_expsyms_CXX
27505 # Commands necessary for linking programs (against libraries) with templates.
27506 prelink_cmds=$lt_prelink_cmds_CXX
27508 # Commands necessary for finishing linking programs.
27509 postlink_cmds=$lt_postlink_cmds_CXX
27511 # Specify filename containing input files.
27512 file_list_spec=$lt_file_list_spec_CXX
27514 # How to hardcode a shared library path into an executable.
27515 hardcode_action=$hardcode_action_CXX
27517 # The directories searched by this compiler when creating a shared library.
27518 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27520 # Dependencies to place before and after the objects being linked to
27521 # create a shared library.
27522 predep_objects=$lt_predep_objects_CXX
27523 postdep_objects=$lt_postdep_objects_CXX
27524 predeps=$lt_predeps_CXX
27525 postdeps=$lt_postdeps_CXX
27527 # The library search path used internally by the compiler when linking
27528 # a shared library.
27529 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27531 # ### END LIBTOOL TAG CONFIG: CXX
27534 ## KPSE_LT_HACK: Prevent libtool from linking dependency_libs
27535 if test "x$enable_libtool_hack" = xyes
; then
27536 $SED '/# Convert "-framework/i\
27537 ## KPSE_LT_HACK: ignore dependency_libs\
27538 test "X$installed" = Xyes && dependency_libs=\
27539 ' "$ofile" >"$cfgfile"
27540 mv "$cfgfile" "$ofile" ||
27541 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27545 "CXXLD.sh":C
) echo "$cxxld_sh" >CXXLD.sh
; chmod +x CXXLD.sh
;;
27546 "w2c/c-auto.h":H
) sed -e 's/^#define PACKAGE/#define WEB2C_PACKAGE/' \
27547 -e 's/^#define VERSION/#define WEB2C_VERSION/' w2c
/c-auto.h
>c-auto.tmp \
27548 && mv -f c-auto.tmp w2c
/c-auto.h
;;
27549 "web2c-sh":F
) chmod +x web2c-sh
;;
27550 "tangle-sh":F
) chmod +x tangle-sh
;;
27551 "ctangleboot-sh":F
) chmod +x ctangleboot-sh
;;
27552 "silent-sh":F
) chmod +x silent-sh
;;
27560 ac_clean_files
=$ac_clean_files_save
27562 test $ac_write_fail = 0 ||
27563 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27565 if test "x$cross_compiling" = xyes
; then :
27566 if test "x$cache_file" != x
/dev
/null
; then :
27567 cache_file
=config.cache
27569 ac_configure_args
="$ac_configure_args --host='$kpse_build_alias' \
27570 CC='$BUILDCC' CFLAGS='$BUILDCFLAGS' \
27571 CPPFLAGS='$BUILDCPPFLAGS' LDFLAGS='$BUILDLDFLAGS'"
27574 # configure is writing to config.log, and then calls config.status.
27575 # config.status does its own redirection, appending to config.log.
27576 # Unfortunately, on DOS this fails, as config.log is still kept open
27577 # by configure, so config.status won't be able to write to it; its
27578 # output is simply discarded. So we exec the FD to /dev/null,
27579 # effectively closing config.log, so it can be properly (re)opened and
27580 # appended to by config.status. When coming back to configure, we
27581 # need to make the FD available again.
27582 if test "$no_create" != yes; then
27584 ac_config_status_args
=
27585 test "$silent" = yes &&
27586 ac_config_status_args
="$ac_config_status_args --quiet"
27588 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27590 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27591 # would make configure fail if this is the last instruction.
27592 $ac_cs_success || as_fn_exit
1
27596 # CONFIG_SUBDIRS section.
27598 if test "$no_recursion" != yes; then
27600 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
27601 # so they do not pile up.
27602 ac_sub_configure_args
=
27604 eval "set x $ac_configure_args"
27608 if test -n "$ac_prev"; then
27613 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27614 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27615 ac_prev
=cache_file
;;
27616 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27617 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27620 --config-cache |
-C)
27622 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27624 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27626 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27628 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27630 --disable-option-checking)
27634 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27636 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
27640 # Always prepend --prefix to ensure using the same prefix
27641 # in subdir configurations.
27642 ac_arg
="--prefix=$prefix"
27644 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27646 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
27649 if test "$silent" = yes; then
27650 ac_sub_configure_args
="--silent $ac_sub_configure_args"
27653 # Always prepend --disable-option-checking to silence warnings, since
27654 # different subdirs can have different --enable and --with options.
27655 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
27658 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
27660 # Do not complain, so a configure script can configure whichever
27661 # parts of a large source tree are present.
27662 test -d "$srcdir/$ac_dir" ||
continue
27664 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
27665 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
27666 $as_echo "$ac_msg" >&6
27667 as_dir
="$ac_dir"; as_fn_mkdir_p
27671 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27673 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27674 # A ".." for each directory in $ac_dir_suffix.
27675 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27676 case $ac_top_builddir_sub in
27677 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27678 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27681 ac_abs_top_builddir
=$ac_pwd
27682 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27683 # for backward compatibility:
27684 ac_top_builddir
=$ac_top_build_prefix
27687 .
) # We are building in place.
27689 ac_top_srcdir
=$ac_top_builddir_sub
27690 ac_abs_top_srcdir
=$ac_pwd ;;
27691 [\\/]* | ?
:[\\/]* ) # Absolute name.
27692 ac_srcdir
=$srcdir$ac_dir_suffix;
27693 ac_top_srcdir
=$srcdir
27694 ac_abs_top_srcdir
=$srcdir ;;
27695 *) # Relative name.
27696 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27697 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27698 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27700 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27705 # Check for guested configure; otherwise get Cygnus style configure.
27706 if test -f "$ac_srcdir/configure.gnu"; then
27707 ac_sub_configure
=$ac_srcdir/configure.gnu
27708 elif test -f "$ac_srcdir/configure"; then
27709 ac_sub_configure
=$ac_srcdir/configure
27710 elif test -f "$ac_srcdir/configure.in"; then
27711 # This should be Cygnus configure.
27712 ac_sub_configure
=$ac_aux_dir/configure
27714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
27715 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
27719 # The recursion is here.
27720 if test -n "$ac_sub_configure"; then
27721 # Make the cache file name correct relative to the subdirectory.
27722 case $cache_file in
27723 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
27724 *) # Relative name.
27725 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
27729 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
27730 # The eval makes quoting arguments work.
27731 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
27732 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
27733 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
27739 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27741 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}