2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Web2C 2015.
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
='2015'
594 PACKAGE_STRING
='Web2C 2015'
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
820 am__fastdepOBJCXX_FALSE
821 am__fastdepOBJCXX_TRUE
887 MAINTAINER_MODE_FALSE
901 INSTALL_STRIP_PROGRAM
944 program_transform_name
957 enable_option_checking
959 enable_maintainer_mode
960 enable_dependency_tracking
961 enable_compiler_warnings
971 enable_cxx_runtime_hack
989 enable_euptex_synctex
992 enable_pdftex_synctex
1014 with_fontconfig_includes
1015 with_fontconfig_libdir
1017 with_system_kpathsea
1023 with_system_freetype2
1037 with_system_graphite2
1038 with_system_harfbuzz
1040 ac_precious_vars
='build_alias
1059 ac_subdirs_all
='web2c'
1061 # Initialize some variables set by options.
1063 ac_init_version
=false
1064 ac_unrecognized_opts
=
1065 ac_unrecognized_sep
=
1066 # The variables have the same names as the options, with
1067 # dashes changed to underlines.
1068 cache_file
=/dev
/null
1075 program_transform_name
=s
,x
,x
,
1083 # Installation directory options.
1084 # These are left unexpanded so users can "make install exec_prefix=/foo"
1085 # and all the variables that are supposed to be based on exec_prefix
1086 # by default will actually change.
1087 # Use braces instead of parens because sh, perl, etc. also accept them.
1088 # (The list follows the same order as the GNU Coding Standards.)
1089 bindir
='${exec_prefix}/bin'
1090 sbindir
='${exec_prefix}/sbin'
1091 libexecdir
='${exec_prefix}/libexec'
1092 datarootdir
='${prefix}/share'
1093 datadir
='${datarootdir}'
1094 sysconfdir
='${prefix}/etc'
1095 sharedstatedir
='${prefix}/com'
1096 localstatedir
='${prefix}/var'
1097 includedir
='${prefix}/include'
1098 oldincludedir
='/usr/include'
1099 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1100 infodir
='${datarootdir}/info'
1105 libdir
='${exec_prefix}/lib'
1106 localedir
='${datarootdir}/locale'
1107 mandir
='${datarootdir}/man'
1113 # If the previous option needs an argument, assign it.
1114 if test -n "$ac_prev"; then
1115 eval $ac_prev=\
$ac_option
1121 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1126 # Accept the important Cygnus configure options, so we can diagnose typos.
1128 case $ac_dashdash$ac_option in
1132 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1134 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1135 bindir
=$ac_optarg ;;
1137 -build |
--build |
--buil |
--bui |
--bu)
1138 ac_prev
=build_alias
;;
1139 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1140 build_alias
=$ac_optarg ;;
1142 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1143 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1144 ac_prev
=cache_file
;;
1145 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1146 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1147 cache_file
=$ac_optarg ;;
1149 --config-cache |
-C)
1150 cache_file
=config.cache
;;
1152 -datadir |
--datadir |
--datadi |
--datad)
1154 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1155 datadir
=$ac_optarg ;;
1157 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1158 |
--dataroo |
--dataro |
--datar)
1159 ac_prev
=datarootdir
;;
1160 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1161 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1162 datarootdir
=$ac_optarg ;;
1164 -disable-* |
--disable-*)
1165 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1168 as_fn_error $?
"invalid feature name: $ac_useropt"
1169 ac_useropt_orig
=$ac_useropt
1170 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1173 "enable_
$ac_useropt"
1175 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1176 ac_unrecognized_sep
=', ';;
1178 eval enable_
$ac_useropt=no
;;
1180 -docdir |
--docdir |
--docdi |
--doc |
--do)
1182 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1183 docdir
=$ac_optarg ;;
1185 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1187 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1188 dvidir
=$ac_optarg ;;
1190 -enable-* |
--enable-*)
1191 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error $?
"invalid feature name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1199 "enable_
$ac_useropt"
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval enable_
$ac_useropt=\
$ac_optarg ;;
1206 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1207 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1208 |
--exec |
--exe |
--ex)
1209 ac_prev
=exec_prefix
;;
1210 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1211 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1212 |
--exec=* |
--exe=* |
--ex=*)
1213 exec_prefix
=$ac_optarg ;;
1215 -gas |
--gas |
--ga |
--g)
1216 # Obsolete; use --with-gas.
1219 -help |
--help |
--hel |
--he |
-h)
1220 ac_init_help
=long
;;
1221 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1222 ac_init_help
=recursive
;;
1223 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1224 ac_init_help
=short
;;
1226 -host |
--host |
--hos |
--ho)
1227 ac_prev
=host_alias
;;
1228 -host=* |
--host=* |
--hos=* |
--ho=*)
1229 host_alias
=$ac_optarg ;;
1231 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1233 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1235 htmldir
=$ac_optarg ;;
1237 -includedir |
--includedir |
--includedi |
--included |
--include \
1238 |
--includ |
--inclu |
--incl |
--inc)
1239 ac_prev
=includedir
;;
1240 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1241 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1242 includedir
=$ac_optarg ;;
1244 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1246 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1247 infodir
=$ac_optarg ;;
1249 -libdir |
--libdir |
--libdi |
--libd)
1251 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1252 libdir
=$ac_optarg ;;
1254 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1255 |
--libexe |
--libex |
--libe)
1256 ac_prev
=libexecdir
;;
1257 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1258 |
--libexe=* |
--libex=* |
--libe=*)
1259 libexecdir
=$ac_optarg ;;
1261 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1262 ac_prev
=localedir
;;
1263 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1264 localedir
=$ac_optarg ;;
1266 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1267 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1268 ac_prev
=localstatedir
;;
1269 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1270 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1271 localstatedir
=$ac_optarg ;;
1273 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1275 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1276 mandir
=$ac_optarg ;;
1278 -nfp |
--nfp |
--nf)
1279 # Obsolete; use --without-fp.
1282 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1283 |
--no-cr |
--no-c |
-n)
1286 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1287 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1290 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1291 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1292 |
--oldin |
--oldi |
--old |
--ol |
--o)
1293 ac_prev
=oldincludedir
;;
1294 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1295 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1296 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1297 oldincludedir
=$ac_optarg ;;
1299 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1301 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1302 prefix
=$ac_optarg ;;
1304 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1305 |
--program-pre |
--program-pr |
--program-p)
1306 ac_prev
=program_prefix
;;
1307 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1308 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1309 program_prefix
=$ac_optarg ;;
1311 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1312 |
--program-suf |
--program-su |
--program-s)
1313 ac_prev
=program_suffix
;;
1314 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1315 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1316 program_suffix
=$ac_optarg ;;
1318 -program-transform-name |
--program-transform-name \
1319 |
--program-transform-nam |
--program-transform-na \
1320 |
--program-transform-n |
--program-transform- \
1321 |
--program-transform |
--program-transfor \
1322 |
--program-transfo |
--program-transf \
1323 |
--program-trans |
--program-tran \
1324 |
--progr-tra |
--program-tr |
--program-t)
1325 ac_prev
=program_transform_name
;;
1326 -program-transform-name=* |
--program-transform-name=* \
1327 |
--program-transform-nam=* |
--program-transform-na=* \
1328 |
--program-transform-n=* |
--program-transform-=* \
1329 |
--program-transform=* |
--program-transfor=* \
1330 |
--program-transfo=* |
--program-transf=* \
1331 |
--program-trans=* |
--program-tran=* \
1332 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1333 program_transform_name
=$ac_optarg ;;
1335 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1337 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1338 pdfdir
=$ac_optarg ;;
1340 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1342 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1345 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1346 |
-silent |
--silent |
--silen |
--sile |
--sil)
1349 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1351 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1353 sbindir
=$ac_optarg ;;
1355 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1356 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1357 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1359 ac_prev
=sharedstatedir
;;
1360 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1361 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1362 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1364 sharedstatedir
=$ac_optarg ;;
1366 -site |
--site |
--sit)
1368 -site=* |
--site=* |
--sit=*)
1371 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1373 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1374 srcdir
=$ac_optarg ;;
1376 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1377 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1378 ac_prev
=sysconfdir
;;
1379 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1380 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1381 sysconfdir
=$ac_optarg ;;
1383 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1384 ac_prev
=target_alias
;;
1385 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1386 target_alias
=$ac_optarg ;;
1388 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1391 -version |
--version |
--versio |
--versi |
--vers |
-V)
1392 ac_init_version
=: ;;
1395 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1396 # Reject names that are not valid shell variable names.
1397 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1398 as_fn_error $?
"invalid package name: $ac_useropt"
1399 ac_useropt_orig
=$ac_useropt
1400 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1401 case $ac_user_opts in
1405 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1406 ac_unrecognized_sep
=', ';;
1408 eval with_
$ac_useropt=\
$ac_optarg ;;
1410 -without-* |
--without-*)
1411 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1412 # Reject names that are not valid shell variable names.
1413 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1414 as_fn_error $?
"invalid package name: $ac_useropt"
1415 ac_useropt_orig
=$ac_useropt
1416 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1417 case $ac_user_opts in
1421 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1422 ac_unrecognized_sep
=', ';;
1424 eval with_
$ac_useropt=no
;;
1427 # Obsolete; use --with-x.
1430 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1431 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1432 ac_prev
=x_includes
;;
1433 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1434 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1435 x_includes
=$ac_optarg ;;
1437 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1438 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1439 ac_prev
=x_libraries
;;
1440 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1441 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1442 x_libraries
=$ac_optarg ;;
1444 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1445 Try \`$0 --help' for more information"
1449 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1450 # Reject names that are not valid shell variable names.
1451 case $ac_envvar in #(
1452 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1453 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1455 eval $ac_envvar=\
$ac_optarg
1456 export $ac_envvar ;;
1459 # FIXME: should be removed in autoconf 3.0.
1460 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1461 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1462 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1463 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1469 if test -n "$ac_prev"; then
1470 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1471 as_fn_error $?
"missing argument to $ac_option"
1474 if test -n "$ac_unrecognized_opts"; then
1475 case $enable_option_checking in
1477 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1478 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1482 # Check all directory arguments for consistency.
1483 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1488 eval ac_val
=\$
$ac_var
1489 # Remove trailing slashes.
1492 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1493 eval $ac_var=\
$ac_val;;
1495 # Be sure to have absolute directory names.
1497 [\\/$
]* | ?
:[\\/]* ) continue;;
1498 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1500 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1503 # There might be people who depend on the old broken behavior: `$host'
1504 # used to hold the argument of --host etc.
1505 # FIXME: To remove some day.
1508 target
=$target_alias
1510 # FIXME: To remove some day.
1511 if test "x$host_alias" != x
; then
1512 if test "x$build_alias" = x
; then
1513 cross_compiling
=maybe
1514 elif test "x$build_alias" != "x$host_alias"; then
1520 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1522 test "$silent" = yes && exec 6>/dev
/null
1525 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1526 ac_ls_di
=`ls -di .` &&
1527 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1528 as_fn_error $?
"working directory cannot be determined"
1529 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1530 as_fn_error $?
"pwd does not report name of working directory"
1533 # Find the source files, if location was not specified.
1534 if test -z "$srcdir"; then
1535 ac_srcdir_defaulted
=yes
1536 # Try the directory containing this script, then the parent directory.
1537 ac_confdir
=`$as_dirname -- "$as_myself" ||
1538 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1539 X"$as_myself" : 'X\(//\)[^/]' \| \
1540 X"$as_myself" : 'X\(//\)$' \| \
1541 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1542 $as_echo X"$as_myself" |
1543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1561 if test ! -r "$srcdir/$ac_unique_file"; then
1565 ac_srcdir_defaulted
=no
1567 if test ! -r "$srcdir/$ac_unique_file"; then
1568 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1569 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1571 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1573 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1583 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1585 for ac_var
in $ac_precious_vars; do
1586 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1588 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1593 # Report the --help message.
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1599 \`configure' configures Web2C 2015 to adapt to many kinds of systems.
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1606 Defaults for the options are specified in brackets.
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking ...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1630 For better control, use the options below.
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/web2c]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1657 --program-prefix=PREFIX prepend PREFIX to installed program names
1658 --program-suffix=SUFFIX append SUFFIX to installed program names
1659 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1662 --x-includes=DIR X include files are
in DIR
1663 --x-libraries=DIR X library files are
in DIR
1666 --build=BUILD configure
for building on BUILD
[guessed
]
1667 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1671 if test -n "$ac_init_help"; then
1672 case $ac_init_help in
1673 short | recursive
) echo "Configuration of Web2C 2015:";;
1678 --disable-option-checking ignore unrecognized
--enable/--with options
1679 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1680 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1681 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1682 --disable-silent-rules verbose build output
(undo
: "make V=0")
1683 --enable-maintainer-mode
1684 enable make rules and dependencies not useful
(and
1685 sometimes confusing
) to the casual installer
1686 --enable-dependency-tracking
1687 do not reject slow dependency extractors
1688 --disable-dependency-tracking
1689 speeds up one-time build
1690 --enable-compiler-warnings=[no|min|
yes|max|all
]
1691 Turn on compiler warnings
[default
: yes if
1692 maintainer-mode
, min otherwise
]
1693 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1694 --enable-static[=PKGS
] build static libraries
[default
=yes]
1695 --enable-fast-install[=PKGS
]
1696 optimize
for fast installation
[default
=yes]
1697 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1698 --disable-largefile omit support
for large files
1699 --enable-cxx-runtime-hack link C
++ runtime statically
1700 --enable-libtool-hack ignore libtool dependency_libs
1701 --enable-auto-core cause TeX
&MF to dump core
, given a certain filename
1702 --disable-dump-share make fmt
/base files architecture-dependent
1703 --disable-ipc disable TeX
's --ipc option, i.e., pipe to a program
1704 --disable-tex do not compile and install TeX
1705 --enable-tex-synctex build TeX with SyncTeX support
1706 --enable-etex compile and install e-TeX
1707 --disable-etex-synctex build e-TeX without SyncTeX support
1708 --disable-ptex do not compile and install pTeX
1709 --disable-ptex-synctex build pTeX without SyncTeX support
1710 --disable-eptex do not compile and install e-pTeX
1711 --disable-eptex-synctex build e-pTeX without SyncTeX support
1712 --disable-uptex do not compile and install upTeX
1713 --disable-uptex-synctex build upTeX without SyncTeX support
1714 --disable-euptex do not compile and install e-upTeX
1715 --disable-euptex-synctex build e-upTeX without SyncTeX support
1716 --disable-aleph do not compile and install Aleph
1717 --disable-pdftex do not compile and install pdfTeX
1718 --disable-pdftex-synctex build pdfTeX without SyncTeX support
1719 --disable-luatex do not compile and install LuaTeX
1720 --disable-luajittex do not compile and install LuaJITTeX
1721 --disable-mp do not compile and install MetaPost
1722 --disable-pmp do not compile and install pMetaPost
1723 --disable-upmp do not compile and install upMetaPost
1724 --disable-xetex do not compile and install XeTeX
1725 --disable-xetex-synctex build XeTeX without SyncTeX support
1726 --disable-mf do not compile and install METAFONT
1727 --disable-mf-nowin do not build a separate non-window-capable
1729 --enable-epsfwin include EPSF pseudo window support
1730 --enable-hp2627win include HP 2627 window support
1731 --enable-mftalkwin include mftalk (generic server) window support
1732 --enable-nextwin include NeXT window support
1733 --enable-regiswin include Regis window support
1734 --enable-suntoolswin include old Suntools (not X) window support
1735 --enable-tektronixwin include Tektronix window support
1736 --enable-unitermwin include Uniterm window support
1737 --disable-web-progs do not build WEB programs bibtex ... weave
1738 --disable-synctex do not build the SyncTeX library and tool
1739 --disable-missing terminate if a requested program or feature must be
1740 disabled, e.g., due to missing libraries
1743 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1744 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1745 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1747 --with-aix-soname=aix|svr4|both
1748 shared library versioning (aka "SONAME") variant to
1749 provide on AIX, [default=aix].
1750 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1751 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1752 compiler's sysroot
if not specified
).
1753 --with-banner-add=STR add STR to version string appended to
banner lines
1754 --with-editor=CMD invoke CMD from the
`e' option [vi +%d '%s'] or
1755 [texworks --position=%d "%s"]
1756 --with-mf-x-toolkit use X toolkit for METAFONT
1757 --with-fontconfig-includes=DIR
1758 fontconfig headers installed in DIR
1759 --with-fontconfig-libdir=DIR
1760 fontconfig library installed in DIR
1761 --with-x use the X Window System
1762 --with-system-kpathsea use installed kpathsea headers and library (requires
1764 --with-system-ptexenc use installed ptexenc headers and library (requires
1766 --with-system-zlib use installed zlib headers and library
1767 --with-zlib-includes=DIR
1768 zlib headers installed in DIR
1769 --with-zlib-libdir=DIR zlib library installed in DIR
1770 --with-system-libpng use installed libpng headers and library (requires
1772 --with-system-freetype2 use installed freetype2 headers and library
1773 (requires freetype-config)
1774 --with-system-pixman use installed pixman headers and library (requires
1776 --with-system-cairo use installed cairo headers and library (requires
1778 --with-system-gmp use installed gmp headers and library
1779 --with-gmp-includes=DIR gmp headers installed in DIR
1780 --with-gmp-libdir=DIR gmp library installed in DIR
1781 --with-system-mpfr use installed mpfr headers and library
1782 --with-mpfr-includes=DIR
1783 mpfr headers installed in DIR
1784 --with-mpfr-libdir=DIR mpfr library installed in DIR
1785 --with-system-poppler use installed poppler headers and library (requires
1787 --with-system-xpdf use installed poppler headers and library instead of
1788 xpdf library from TL (requires pkg-config)
1789 --with-system-zziplib use installed zziplib headers and library (requires
1791 --with-system-teckit use installed teckit headers and library (requires
1793 --with-system-icu use installed ICU headers and libraries (requires
1795 --with-system-graphite2 use installed graphite2 headers and library
1796 (requires pkg-config)
1797 --with-system-harfbuzz use installed harfbuzz headers and library (requires
1800 Some influential environment variables:
1801 CC C compiler command
1802 CFLAGS C compiler flags
1803 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1804 nonstandard directory <lib dir>
1805 LIBS libraries to pass to the linker, e.g. -l<library>
1806 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1807 you have headers in a nonstandard directory <include dir>
1809 User-defined run-time library search path.
1811 CXX C++ compiler command
1812 CXXFLAGS C++ compiler flags
1813 CXXCPP C++ preprocessor
1814 OBJCXX Objective C++ compiler command
1815 OBJCXXFLAGS Objective C++ compiler flags
1816 XMKMF Path to xmkmf, Makefile generator for X Window System
1817 YACC The `Yet Another Compiler Compiler
' implementation to use.
1818 Defaults to the first program found out of: `bison -y', `byacc',
1820 YFLAGS The list of arguments that will be passed by default to $YACC.
1821 This script will default YFLAGS to the empty string to avoid a
1822 default value of `-d' given by some
make applications.
1824 Use these variables to override the choices made by
`configure' or to help
1825 it to find libraries and programs with nonstandard names/locations.
1827 Report bugs to <tex-k@tug.org>.
1832 if test "$ac_init_help" = "recursive"; then
1833 # If there are subdirs, report their specific --help.
1834 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1835 test -d "$ac_dir" ||
1836 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1841 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1843 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1844 # A ".." for each directory in $ac_dir_suffix.
1845 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1846 case $ac_top_builddir_sub in
1847 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1848 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1851 ac_abs_top_builddir=$ac_pwd
1852 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1853 # for backward compatibility:
1854 ac_top_builddir=$ac_top_build_prefix
1857 .) # We are building in place.
1859 ac_top_srcdir=$ac_top_builddir_sub
1860 ac_abs_top_srcdir=$ac_pwd ;;
1861 [\\/]* | ?:[\\/]* ) # Absolute name.
1862 ac_srcdir=$srcdir$ac_dir_suffix;
1863 ac_top_srcdir=$srcdir
1864 ac_abs_top_srcdir=$srcdir ;;
1866 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1867 ac_top_srcdir=$ac_top_build_prefix$srcdir
1868 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1870 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1872 cd "$ac_dir" || { ac_status=$?; continue; }
1873 # Check for guested configure.
1874 if test -f "$ac_srcdir/configure.gnu"; then
1876 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1877 elif test -f "$ac_srcdir/configure"; then
1879 $SHELL "$ac_srcdir/configure" --help=recursive
1881 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1883 cd "$ac_pwd" || { ac_status=$?; break; }
1887 test -n "$ac_init_help" && exit $ac_status
1888 if $ac_init_version; then
1890 Web2C configure 2015
1891 generated by GNU Autoconf 2.69
1893 Copyright (C) 2012 Free Software Foundation, Inc.
1894 This configure script is free software; the Free Software Foundation
1895 gives unlimited permission to copy, distribute and modify it.
1900 ## ------------------------ ##
1901 ## Autoconf initialization. ##
1902 ## ------------------------ ##
1904 # ac_fn_c_try_compile LINENO
1905 # --------------------------
1906 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1907 ac_fn_c_try_compile ()
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 rm -f conftest.$ac_objext
1911 if { { ac_try="$ac_compile"
1913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1914 *) ac_try_echo
=$ac_try;;
1916 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_compile") 2>conftest.err
1920 if test -s conftest.err
; then
1921 grep -v '^ *+' conftest.err
>conftest.er1
1922 cat conftest.er1
>&5
1923 mv -f conftest.er1 conftest.err
1925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926 test $ac_status = 0; } && {
1927 test -z "$ac_c_werror_flag" ||
1928 test ! -s conftest.err
1929 } && test -s conftest.
$ac_objext; then :
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.
$ac_ext >&5
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938 as_fn_set_status
$ac_retval
1940 } # ac_fn_c_try_compile
1942 # ac_fn_c_try_link LINENO
1943 # -----------------------
1944 # Try to link conftest.$ac_ext, and return whether this succeeded.
1947 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1948 rm -f conftest.
$ac_objext conftest
$ac_exeext
1949 if { { ac_try
="$ac_link"
1951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1952 *) ac_try_echo=$ac_try;;
1954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_link") 2>conftest.err
1958 if test -s conftest.err; then
1959 grep -v '^ *+' conftest.err >conftest.er1
1960 cat conftest.er1 >&5
1961 mv -f conftest.er1 conftest.err
1963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964 test $ac_status = 0; } && {
1965 test -z "$ac_c_werror_flag" ||
1966 test ! -s conftest.err
1967 } && test -s conftest$ac_exeext && {
1968 test "$cross_compiling" = yes ||
1969 test -x conftest$ac_exeext
1973 $as_echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.$ac_ext >&5
1978 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1979 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1980 # interfere with the next link command; also delete a directory that is
1981 # left behind by Apple's compiler. We do this before executing the actions.
1982 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984 as_fn_set_status $ac_retval
1986 } # ac_fn_c_try_link
1988 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1989 # -------------------------------------------------------
1990 # Tests whether HEADER exists and can be compiled using the include files in
1991 # INCLUDES, setting the cache variable VAR accordingly.
1992 ac_fn_c_check_header_compile ()
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1996 $as_echo_n "checking for $2... " >&6; }
1997 if eval \${$3+:} false; then :
1998 $as_echo_n "(cached) " >&6
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2005 if ac_fn_c_try_compile "$LINENO"; then :
2010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2014 $as_echo "$ac_res" >&6; }
2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2017 } # ac_fn_c_check_header_compile
2019 # ac_fn_c_try_cpp LINENO
2020 # ----------------------
2021 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2025 if { { ac_try="$ac_cpp conftest.$ac_ext"
2027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2028 *) ac_try_echo
=$ac_try;;
2030 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2034 if test -s conftest.err
; then
2035 grep -v '^ *+' conftest.err
>conftest.er1
2036 cat conftest.er1
>&5
2037 mv -f conftest.er1 conftest.err
2039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2040 test $ac_status = 0; } > conftest.i
&& {
2041 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2042 test ! -s conftest.err
2046 $as_echo "$as_me: failed program was:" >&5
2047 sed 's/^/| /' conftest.
$ac_ext >&5
2051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052 as_fn_set_status
$ac_retval
2056 # ac_fn_c_try_run LINENO
2057 # ----------------------
2058 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2059 # that executables *can* be run.
2062 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2063 if { { ac_try
="$ac_link"
2065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2066 *) ac_try_echo=$ac_try;;
2068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2069 $as_echo "$ac_try_echo"; } >&5
2070 (eval "$ac_link") 2>&5
2072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2073 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2074 { { case "(($ac_try" in
2075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2076 *) ac_try_echo
=$ac_try;;
2078 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2079 $as_echo "$ac_try_echo"; } >&5
2080 (eval "$ac_try") 2>&5
2082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2083 test $ac_status = 0; }; }; then :
2086 $as_echo "$as_me: program exited with status $ac_status" >&5
2087 $as_echo "$as_me: failed program was:" >&5
2088 sed 's/^/| /' conftest.
$ac_ext >&5
2090 ac_retval
=$ac_status
2092 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2094 as_fn_set_status
$ac_retval
2098 # ac_fn_c_check_func LINENO FUNC VAR
2099 # ----------------------------------
2100 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2101 ac_fn_c_check_func
()
2103 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2105 $as_echo_n "checking for $2... " >&6; }
2106 if eval \
${$3+:} false
; then :
2107 $as_echo_n "(cached) " >&6
2109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2111 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2113 #define $2 innocuous_$2
2115 /* System header to define __stub macros and hopefully few prototypes,
2116 which can conflict with char $2 (); below.
2117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2118 <limits.h> exists even on freestanding compilers. */
2121 # include <limits.h>
2123 # include <assert.h>
2128 /* Override any GCC internal prototype to avoid an error.
2129 Use char because int might match the return type of a GCC
2130 builtin and then its argument prototype would still apply. */
2135 /* The GNU C library defines this for functions which it implements
2136 to always fail with ENOSYS. Some functions are actually named
2137 something starting with __ and the normal name is an alias. */
2138 #if defined __stub_$2 || defined __stub___$2
2150 if ac_fn_c_try_link
"$LINENO"; then :
2155 rm -f core conftest.err conftest.
$ac_objext \
2156 conftest
$ac_exeext conftest.
$ac_ext
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2160 $as_echo "$ac_res" >&6; }
2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2163 } # ac_fn_c_check_func
2165 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2166 # -------------------------------------------------------
2167 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2168 # the include files in INCLUDES and setting the cache variable VAR
2170 ac_fn_c_check_header_mongrel
()
2172 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2173 if eval \
${$3+:} false
; then :
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2175 $as_echo_n "checking for $2... " >&6; }
2176 if eval \
${$3+:} false
; then :
2177 $as_echo_n "(cached) " >&6
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181 $as_echo "$ac_res" >&6; }
2183 # Is the header compilable?
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2185 $as_echo_n "checking $2 usability... " >&6; }
2186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h. */
2191 if ac_fn_c_try_compile
"$LINENO"; then :
2192 ac_header_compiler
=yes
2194 ac_header_compiler
=no
2196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2198 $as_echo "$ac_header_compiler" >&6; }
2200 # Is the header present?
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2202 $as_echo_n "checking $2 presence... " >&6; }
2203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2204 /* end confdefs.h. */
2207 if ac_fn_c_try_cpp
"$LINENO"; then :
2208 ac_header_preproc
=yes
2210 ac_header_preproc
=no
2212 rm -f conftest.err conftest.i conftest.
$ac_ext
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2214 $as_echo "$ac_header_preproc" >&6; }
2216 # So? What about this header?
2217 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2220 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2222 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2226 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2228 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2230 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2232 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2234 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2235 ( $as_echo "## ---------------------------- ##
2236 ## Report this to tex-k@tug.org ##
2237 ## ---------------------------- ##"
2238 ) |
sed "s/^/$as_me: WARNING: /" >&2
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2242 $as_echo_n "checking for $2... " >&6; }
2243 if eval \
${$3+:} false
; then :
2244 $as_echo_n "(cached) " >&6
2246 eval "$3=\$ac_header_compiler"
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2250 $as_echo "$ac_res" >&6; }
2252 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2254 } # ac_fn_c_check_header_mongrel
2256 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2257 # -------------------------------------------
2258 # Tests whether TYPE exists after having included INCLUDES, setting cache
2259 # variable VAR accordingly.
2260 ac_fn_c_check_type
()
2262 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2264 $as_echo_n "checking for $2... " >&6; }
2265 if eval \
${$3+:} false
; then :
2266 $as_echo_n "(cached) " >&6
2269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2281 if ac_fn_c_try_compile
"$LINENO"; then :
2282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2283 /* end confdefs.h. */
2294 if ac_fn_c_try_compile
"$LINENO"; then :
2299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2305 $as_echo "$ac_res" >&6; }
2306 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2308 } # ac_fn_c_check_type
2310 # ac_fn_c_find_intX_t LINENO BITS VAR
2311 # -----------------------------------
2312 # Finds a signed integer type with width BITS, setting cache variable VAR
2314 ac_fn_c_find_intX_t
()
2316 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2318 $as_echo_n "checking for int$2_t... " >&6; }
2319 if eval \
${$3+:} false
; then :
2320 $as_echo_n "(cached) " >&6
2323 # Order is important - never check a type that is potentially smaller
2324 # than half of the expected target width.
2325 for ac_type
in int
$2_t 'int' 'long int' \
2326 'long long int' 'short int' 'signed char'; do
2327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2328 /* end confdefs.h. */
2329 $ac_includes_default
2330 enum { N = $2 / 2 - 1 };
2334 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2336 return test_array [0];
2342 if ac_fn_c_try_compile
"$LINENO"; then :
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 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2351 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2353 return test_array [0];
2359 if ac_fn_c_try_compile
"$LINENO"; then :
2366 eval "$3=\$ac_type" ;;
2369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2372 if eval test \"x\$
"$3"\" = x
"no"; then :
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2381 $as_echo "$ac_res" >&6; }
2382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2384 } # ac_fn_c_find_intX_t
2386 # ac_fn_c_find_uintX_t LINENO BITS VAR
2387 # ------------------------------------
2388 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2390 ac_fn_c_find_uintX_t
()
2392 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2394 $as_echo_n "checking for uint$2_t... " >&6; }
2395 if eval \
${$3+:} false
; then :
2396 $as_echo_n "(cached) " >&6
2399 # Order is important - never check a type that is potentially smaller
2400 # than half of the expected target width.
2401 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
2402 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2404 /* end confdefs.h. */
2405 $ac_includes_default
2409 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2411 return test_array [0];
2417 if ac_fn_c_try_compile
"$LINENO"; then :
2422 eval "$3=\$ac_type" ;;
2425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2426 if eval test \"x\$
"$3"\" = x
"no"; then :
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2435 $as_echo "$ac_res" >&6; }
2436 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2438 } # ac_fn_c_find_uintX_t
2440 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2441 # ----------------------------------------------------
2442 # Tries to find if the field MEMBER exists in type AGGR, after including
2443 # INCLUDES, setting cache variable VAR accordingly.
2444 ac_fn_c_check_member
()
2446 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2448 $as_echo_n "checking for $2.$3... " >&6; }
2449 if eval \
${$4+:} false
; then :
2450 $as_echo_n "(cached) " >&6
2452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2453 /* end confdefs.h. */
2465 if ac_fn_c_try_compile
"$LINENO"; then :
2468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2475 if (sizeof ac_aggr.$3)
2481 if ac_fn_c_try_compile
"$LINENO"; then :
2486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2492 $as_echo "$ac_res" >&6; }
2493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2495 } # ac_fn_c_check_member
2497 # ac_fn_cxx_try_compile LINENO
2498 # ----------------------------
2499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2500 ac_fn_cxx_try_compile
()
2502 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2503 rm -f conftest.
$ac_objext
2504 if { { ac_try
="$ac_compile"
2506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2507 *) ac_try_echo=$ac_try;;
2509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2510 $as_echo "$ac_try_echo"; } >&5
2511 (eval "$ac_compile") 2>conftest.err
2513 if test -s conftest.err; then
2514 grep -v '^ *+' conftest.err >conftest.er1
2515 cat conftest.er1 >&5
2516 mv -f conftest.er1 conftest.err
2518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2519 test $ac_status = 0; } && {
2520 test -z "$ac_cxx_werror_flag" ||
2521 test ! -s conftest.err
2522 } && test -s conftest.$ac_objext; then :
2525 $as_echo "$as_me: failed program was:" >&5
2526 sed 's/^/| /' conftest.$ac_ext >&5
2530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2531 as_fn_set_status $ac_retval
2533 } # ac_fn_cxx_try_compile
2535 # ac_fn_cxx_try_cpp LINENO
2536 # ------------------------
2537 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2538 ac_fn_cxx_try_cpp ()
2540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2541 if { { ac_try="$ac_cpp conftest.$ac_ext"
2543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2544 *) ac_try_echo
=$ac_try;;
2546 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2547 $as_echo "$ac_try_echo"; } >&5
2548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2550 if test -s conftest.err
; then
2551 grep -v '^ *+' conftest.err
>conftest.er1
2552 cat conftest.er1
>&5
2553 mv -f conftest.er1 conftest.err
2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2556 test $ac_status = 0; } > conftest.i
&& {
2557 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2558 test ! -s conftest.err
2562 $as_echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.
$ac_ext >&5
2567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2568 as_fn_set_status
$ac_retval
2570 } # ac_fn_cxx_try_cpp
2572 # ac_fn_cxx_try_link LINENO
2573 # -------------------------
2574 # Try to link conftest.$ac_ext, and return whether this succeeded.
2575 ac_fn_cxx_try_link
()
2577 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2578 rm -f conftest.
$ac_objext conftest
$ac_exeext
2579 if { { ac_try
="$ac_link"
2581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2582 *) ac_try_echo=$ac_try;;
2584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2585 $as_echo "$ac_try_echo"; } >&5
2586 (eval "$ac_link") 2>conftest.err
2588 if test -s conftest.err; then
2589 grep -v '^ *+' conftest.err >conftest.er1
2590 cat conftest.er1 >&5
2591 mv -f conftest.er1 conftest.err
2593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2594 test $ac_status = 0; } && {
2595 test -z "$ac_cxx_werror_flag" ||
2596 test ! -s conftest.err
2597 } && test -s conftest$ac_exeext && {
2598 test "$cross_compiling" = yes ||
2599 test -x conftest$ac_exeext
2603 $as_echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.$ac_ext >&5
2608 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2609 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2610 # interfere with the next link command; also delete a directory that is
2611 # left behind by Apple's compiler. We do this before executing the actions.
2612 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2614 as_fn_set_status $ac_retval
2616 } # ac_fn_cxx_try_link
2618 # ac_fn_objcxx_try_compile LINENO
2619 # -------------------------------
2620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2621 ac_fn_objcxx_try_compile ()
2623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2624 rm -f conftest.$ac_objext
2625 if { { ac_try="$ac_compile"
2627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2628 *) ac_try_echo
=$ac_try;;
2630 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2631 $as_echo "$ac_try_echo"; } >&5
2632 (eval "$ac_compile") 2>conftest.err
2634 if test -s conftest.err
; then
2635 grep -v '^ *+' conftest.err
>conftest.er1
2636 cat conftest.er1
>&5
2637 mv -f conftest.er1 conftest.err
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; } && {
2641 test -z "$ac_objcxx_werror_flag" ||
2642 test ! -s conftest.err
2643 } && test -s conftest.
$ac_objext; then :
2646 $as_echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.
$ac_ext >&5
2651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2652 as_fn_set_status
$ac_retval
2654 } # ac_fn_objcxx_try_compile
2656 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2657 # ---------------------------------------------------------
2658 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2659 # the include files in INCLUDES and setting the cache variable VAR
2661 ac_fn_cxx_check_header_mongrel
()
2663 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2664 if eval \
${$3+:} false
; then :
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2666 $as_echo_n "checking for $2... " >&6; }
2667 if eval \
${$3+:} false
; then :
2668 $as_echo_n "(cached) " >&6
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2672 $as_echo "$ac_res" >&6; }
2674 # Is the header compilable?
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2676 $as_echo_n "checking $2 usability... " >&6; }
2677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2682 if ac_fn_cxx_try_compile
"$LINENO"; then :
2683 ac_header_compiler
=yes
2685 ac_header_compiler
=no
2687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2689 $as_echo "$ac_header_compiler" >&6; }
2691 # Is the header present?
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2693 $as_echo_n "checking $2 presence... " >&6; }
2694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2695 /* end confdefs.h. */
2698 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2699 ac_header_preproc
=yes
2701 ac_header_preproc
=no
2703 rm -f conftest.err conftest.i conftest.
$ac_ext
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2705 $as_echo "$ac_header_preproc" >&6; }
2707 # So? What about this header?
2708 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2711 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2713 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2717 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2719 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2721 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2723 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2726 ( $as_echo "## ---------------------------- ##
2727 ## Report this to tex-k@tug.org ##
2728 ## ---------------------------- ##"
2729 ) |
sed "s/^/$as_me: WARNING: /" >&2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2733 $as_echo_n "checking for $2... " >&6; }
2734 if eval \
${$3+:} false
; then :
2735 $as_echo_n "(cached) " >&6
2737 eval "$3=\$ac_header_compiler"
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2745 } # ac_fn_cxx_check_header_mongrel
2747 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2748 # --------------------------------------------
2749 # Tries to find the compile-time value of EXPR in a program that includes
2750 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2752 ac_fn_c_compute_int
()
2754 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2755 if test "$cross_compiling" = yes; then
2756 # Depending upon the size, compute the lo and hi bounds.
2757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2763 static int test_array [1 - 2 * !(($2) >= 0)];
2765 return test_array [0];
2771 if ac_fn_c_try_compile
"$LINENO"; then :
2774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2775 /* end confdefs.h. */
2780 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2782 return test_array [0];
2788 if ac_fn_c_try_compile
"$LINENO"; then :
2789 ac_hi
=$ac_mid; break
2791 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2792 if test $ac_lo -le $ac_mid; then
2796 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2802 /* end confdefs.h. */
2807 static int test_array [1 - 2 * !(($2) < 0)];
2809 return test_array [0];
2815 if ac_fn_c_try_compile
"$LINENO"; then :
2818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2819 /* end confdefs.h. */
2824 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2826 return test_array [0];
2832 if ac_fn_c_try_compile
"$LINENO"; then :
2833 ac_lo
=$ac_mid; break
2835 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2836 if test $ac_mid -le $ac_hi; then
2840 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2850 # Binary search between lo and hi bounds.
2851 while test "x$ac_lo" != "x$ac_hi"; do
2852 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2859 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2861 return test_array [0];
2867 if ac_fn_c_try_compile
"$LINENO"; then :
2870 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2875 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2882 static long int longval () { return $2; }
2883 static unsigned long int ulongval () { return $2; }
2890 FILE *f = fopen ("conftest.val", "w");
2895 long int i = longval ();
2898 fprintf (f, "%ld", i);
2902 unsigned long int i = ulongval ();
2905 fprintf (f, "%lu", i);
2907 /* Do not output a trailing newline, as this causes \r\n confusion
2908 on some platforms. */
2909 return ferror (f) || fclose (f) != 0;
2915 if ac_fn_c_try_run
"$LINENO"; then :
2916 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2920 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2921 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2926 as_fn_set_status
$ac_retval
2928 } # ac_fn_c_compute_int
2930 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2931 # ---------------------------------------------
2932 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2934 ac_fn_c_check_decl
()
2936 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2937 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2938 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2940 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2941 if eval \
${$3+:} false
; then :
2942 $as_echo_n "(cached) " >&6
2944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2950 #ifndef $as_decl_name
2952 (void) $as_decl_use;
2954 (void) $as_decl_name;
2962 if ac_fn_c_try_compile
"$LINENO"; then :
2967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2971 $as_echo "$ac_res" >&6; }
2972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2974 } # ac_fn_c_check_decl
2975 cat >config.log
<<_ACEOF
2976 This file contains any messages produced by compilers while
2977 running configure, to aid debugging if configure makes a mistake.
2979 It was created by Web2C $as_me 2015, which was
2980 generated by GNU Autoconf 2.69. Invocation command line was
2992 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2993 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2994 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2995 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2996 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2998 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2999 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3001 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3002 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3003 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3004 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3005 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3006 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3007 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir
=.
3016 $as_echo "PATH: $as_dir"
3032 # Keep a trace of the command line.
3033 # Strip out --no-create and --no-recursion so they do not pile up.
3034 # Strip out --silent because we don't want to record it for future runs.
3035 # Also quote any args containing shell meta-characters.
3036 # Make two passes to allow for proper duplicate-argument suppression.
3040 ac_must_keep_next
=false
3046 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3048 |
-silent |
--silent |
--silen |
--sile |
--sil)
3051 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3054 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3056 as_fn_append ac_configure_args1
" '$ac_arg'"
3057 if test $ac_must_keep_next = true
; then
3058 ac_must_keep_next
=false
# Got value, back to normal.
3061 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3062 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3063 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3064 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3065 case "$ac_configure_args0 " in
3066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3069 -* ) ac_must_keep_next
=true
;;
3072 as_fn_append ac_configure_args
" '$ac_arg'"
3077 { ac_configure_args0
=; unset ac_configure_args0
;}
3078 { ac_configure_args1
=; unset ac_configure_args1
;}
3080 # When interrupted or exit'd, cleanup temporary files, and complete
3081 # config.log. We remove comments because anyway the quotes in there
3082 # would cause problems or look ugly.
3083 # WARNING: Use '\'' to represent an apostrophe within the trap.
3084 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3085 trap 'exit_status=$?
3086 # Save into config.log some information that might help in debugging.
3090 $as_echo "## ---------------- ##
3091 ## Cache variables. ##
3092 ## ---------------- ##"
3094 # The following way of writing the cache mishandles newlines in values,
3096 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3097 eval ac_val=\$$ac_var
3101 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3102 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3105 _ | IFS | as_nl) ;; #(
3106 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3107 *) { eval $ac_var=; unset $ac_var;} ;;
3112 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3113 *${as_nl}ac_space=\ *)
3115 "s/'\''/'\''\\\\'\'''\''/g;
3116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3119 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3126 $as_echo "## ----------------- ##
3127 ## Output variables. ##
3128 ## ----------------- ##"
3130 for ac_var in $ac_subst_vars
3132 eval ac_val=\$$ac_var
3134 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3136 $as_echo "$ac_var='\''$ac_val'\''"
3140 if test -n "$ac_subst_files"; then
3141 $as_echo "## ------------------- ##
3142 ## File substitutions. ##
3143 ## ------------------- ##"
3145 for ac_var
in $ac_subst_files
3147 eval ac_val
=\$
$ac_var
3149 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3151 $as_echo "$ac_var='\''$ac_val'\''"
3156 if test -s confdefs.h; then
3157 $as_echo "## ----------- ##
3164 test "$ac_signal" != 0 &&
3165 $as_echo "$as_me: caught signal $ac_signal"
3166 $as_echo "$as_me: exit $exit_status"
3168 rm -f core *.core core.conftest.* &&
3169 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3172 for ac_signal
in 1 2 13 15; do
3173 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3178 rm -f -r conftest
* confdefs.h
3180 $as_echo "/* confdefs.h */" > confdefs.h
3182 # Predefined preprocessor variables.
3184 cat >>confdefs.h
<<_ACEOF
3185 #define PACKAGE_NAME "$PACKAGE_NAME"
3188 cat >>confdefs.h
<<_ACEOF
3189 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3192 cat >>confdefs.h
<<_ACEOF
3193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3196 cat >>confdefs.h
<<_ACEOF
3197 #define PACKAGE_STRING "$PACKAGE_STRING"
3200 cat >>confdefs.h
<<_ACEOF
3201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3204 cat >>confdefs.h
<<_ACEOF
3205 #define PACKAGE_URL "$PACKAGE_URL"
3209 # Let the site file select an alternate cache file if it wants to.
3210 # Prefer an explicitly selected file to automatically selected ones.
3213 if test -n "$CONFIG_SITE"; then
3214 # We do not want a PATH search for config.site.
3215 case $CONFIG_SITE in #((
3216 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3217 */*) ac_site_file1
=$CONFIG_SITE;;
3218 *) ac_site_file1
=.
/$CONFIG_SITE;;
3220 elif test "x$prefix" != xNONE
; then
3221 ac_site_file1
=$prefix/share
/config.site
3222 ac_site_file2
=$prefix/etc
/config.site
3224 ac_site_file1
=$ac_default_prefix/share
/config.site
3225 ac_site_file2
=$ac_default_prefix/etc
/config.site
3227 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3229 test "x$ac_site_file" = xNONE
&& continue
3230 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3232 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3233 sed 's/^/| /' "$ac_site_file" >&5
3235 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3237 as_fn_error $?
"failed to load site script $ac_site_file
3238 See \`config.log' for more details" "$LINENO" 5; }
3242 if test -r "$cache_file"; then
3243 # Some versions of bash will fail to source /dev/null (special files
3244 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3245 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3247 $as_echo "$as_me: loading cache $cache_file" >&6;}
3249 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3250 *) .
"./$cache_file";;
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3255 $as_echo "$as_me: creating cache $cache_file" >&6;}
3259 # Check that the precious variables saved in the cache have kept the same
3261 ac_cache_corrupted
=false
3262 for ac_var
in $ac_precious_vars; do
3263 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3264 eval ac_new_set
=\
$ac_env_${ac_var}_set
3265 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3266 eval ac_new_val
=\
$ac_env_${ac_var}_value
3267 case $ac_old_set,$ac_new_set in
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3270 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3271 ac_cache_corrupted
=: ;;
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3274 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3275 ac_cache_corrupted
=: ;;
3278 if test "x$ac_old_val" != "x$ac_new_val"; then
3279 # differences in whitespace do not lead to failure.
3280 ac_old_val_w
=`echo x $ac_old_val`
3281 ac_new_val_w
=`echo x $ac_new_val`
3282 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3284 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3285 ac_cache_corrupted
=:
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3288 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3289 eval $ac_var=\
$ac_old_val
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3292 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3294 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3297 # Pass precious variables to config.status.
3298 if test "$ac_new_set" = set; then
3300 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3301 *) ac_arg
=$ac_var=$ac_new_val ;;
3303 case " $ac_configure_args " in
3304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3305 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3309 if $ac_cache_corrupted; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3313 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3314 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3316 ## -------------------- ##
3317 ## Main body of script. ##
3318 ## -------------------- ##
3321 ac_cpp
='$CPP $CPPFLAGS'
3322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3330 for ac_dir
in ..
/..
/build-aux
"$srcdir"/..
/..
/build-aux
; do
3331 if test -f "$ac_dir/install-sh"; then
3333 ac_install_sh
="$ac_aux_dir/install-sh -c"
3335 elif test -f "$ac_dir/install.sh"; then
3337 ac_install_sh
="$ac_aux_dir/install.sh -c"
3339 elif test -f "$ac_dir/shtool"; then
3341 ac_install_sh
="$ac_aux_dir/shtool install -c"
3345 if test -z "$ac_aux_dir"; then
3346 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
3349 # These three variables are undocumented and unsupported,
3350 # and are intended to be withdrawn in a future Autoconf release.
3351 # They can cause serious problems if a builder's source tree is in a directory
3352 # whose full name contains unusual characters.
3353 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3354 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3355 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3363 am__api_version
='1.15'
3365 # Find a good install program. We prefer a C program (faster),
3366 # so one script is as good as another. But avoid the broken or
3367 # incompatible versions:
3368 # SysV /etc/install, /usr/sbin/install
3369 # SunOS /usr/etc/install
3370 # IRIX /sbin/install
3372 # AmigaOS /C/install, which installs bootblocks on floppy discs
3373 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3376 # OS/2's system install, which has a completely different semantic
3377 # ./install, which can be erroneously created by make from ./install.sh.
3378 # Reject install programs that cannot install multiple files.
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3380 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3381 if test -z "$INSTALL"; then
3382 if ${ac_cv_path_install+:} false
; then :
3383 $as_echo_n "(cached) " >&6
3385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir
=.
3390 # Account for people who put trailing slashes in PATH elements.
3391 case $as_dir/ in #((
3392 .
/ | .
// |
/[cC
]/* | \
3393 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3394 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3397 # OSF1 and SCO ODT 3.0 have their own names for install.
3398 # Don't use installbsd from OSF since it installs stuff as root
3400 for ac_prog
in ginstall scoinst
install; do
3401 for ac_exec_ext
in '' $ac_executable_extensions; do
3402 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3403 if test $ac_prog = install &&
3404 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3405 # AIX install. It has an incompatible calling convention.
3407 elif test $ac_prog = install &&
3408 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3409 # program-specific install script used by HP pwplus--don't use.
3412 rm -rf conftest.one conftest.two conftest.dir
3413 echo one
> conftest.one
3414 echo two
> conftest.two
3416 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3417 test -s conftest.one
&& test -s conftest.two
&&
3418 test -s conftest.dir
/conftest.one
&&
3419 test -s conftest.dir
/conftest.two
3421 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3434 rm -rf conftest.one conftest.two conftest.dir
3437 if test "${ac_cv_path_install+set}" = set; then
3438 INSTALL
=$ac_cv_path_install
3440 # As a last resort, use the slow shell script. Don't cache a
3441 # value for INSTALL within a source directory, because that will
3442 # break other packages using the cache if that directory is
3443 # removed, or if the value is a relative name.
3444 INSTALL
=$ac_install_sh
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3448 $as_echo "$INSTALL" >&6; }
3450 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3451 # It thinks the first close brace ends the variable substitution.
3452 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3454 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3456 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3459 $as_echo_n "checking whether build environment is sane... " >&6; }
3460 # Reject unsafe characters in $srcdir or the absolute working directory
3461 # name. Accept space and tab only in the latter.
3465 *[\\\"\
#\$\&\'\`$am_lf]*)
3466 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3469 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3470 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3473 # Do 'set' in a subshell so we don't clobber the current shell's
3474 # arguments. Must try -L first in case configure is actually a
3475 # symlink; some systems play weird games with the mod time of symlinks
3476 # (eg FreeBSD returns the mod time of the symlink's containing
3480 for am_try
in 1 2; do
3481 echo "timestamp, slept: $am_has_slept" > conftest.
file
3482 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3483 if test "$*" = "X"; then
3485 set X
`ls -t "$srcdir/configure" conftest.file`
3487 if test "$*" != "X $srcdir/configure conftest.file" \
3488 && test "$*" != "X conftest.file $srcdir/configure"; then
3490 # If neither matched, then we have a broken ls. This can happen
3491 # if, for instance, CONFIG_SHELL is bash and it inherits a
3492 # broken ls alias from the environment. This has actually
3493 # happened. Such a system could not be considered "sane".
3494 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3495 alias in your environment" "$LINENO" 5
3497 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3504 test "$2" = conftest.
file
3510 as_fn_error $?
"newly created file is older than distributed files!
3511 Check your system clock" "$LINENO" 5
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3514 $as_echo "yes" >&6; }
3515 # If we didn't sleep, we still need to ensure time stamps of config.status and
3516 # generated files are strictly newer.
3518 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3525 test "$program_prefix" != NONE
&&
3526 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3527 # Use a double $ so make ignores it.
3528 test "$program_suffix" != NONE
&&
3529 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3530 # Double any \ or $.
3531 # By default was `s,x,x', remove it if useless.
3532 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3533 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3535 # Expand $ac_aux_dir to an absolute path.
3536 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3538 if test x
"${MISSING+set}" != xset
; then
3541 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3543 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3546 # Use eval to expand $SHELL
3547 if eval "$MISSING --is-lightweight"; then
3548 am_missing_run
="$MISSING "
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3552 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3555 if test x
"${install_sh+set}" != xset
; then
3558 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3560 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3564 # Installed binaries are usually stripped using 'strip' when the user
3565 # run "make install-strip". However 'strip' might not be the right
3566 # tool to use in cross-compilation environments, therefore Automake
3567 # will honor the 'STRIP' environment variable to overrule this program.
3568 if test "$cross_compiling" != no
; then
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3571 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if ${ac_cv_prog_STRIP+:} false
; then :
3575 $as_echo_n "(cached) " >&6
3577 if test -n "$STRIP"; then
3578 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir
=.
3585 for ac_exec_ext
in '' $ac_executable_extensions; do
3586 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3587 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 STRIP
=$ac_cv_prog_STRIP
3598 if test -n "$STRIP"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3600 $as_echo "$STRIP" >&6; }
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3608 if test -z "$ac_cv_prog_STRIP"; then
3610 # Extract the first word of "strip", so it can be a program name with args.
3611 set dummy strip
; ac_word
=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3615 $as_echo_n "(cached) " >&6
3617 if test -n "$ac_ct_STRIP"; then
3618 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir
=.
3625 for ac_exec_ext
in '' $ac_executable_extensions; do
3626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3627 ac_cv_prog_ac_ct_STRIP
="strip"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3638 if test -n "$ac_ct_STRIP"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3640 $as_echo "$ac_ct_STRIP" >&6; }
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3646 if test "x$ac_ct_STRIP" = x
; then
3649 case $cross_compiling:$ac_tool_warned in
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3653 ac_tool_warned
=yes ;;
3658 STRIP
="$ac_cv_prog_STRIP"
3662 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3665 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3666 if test -z "$MKDIR_P"; then
3667 if ${ac_cv_path_mkdir+:} false
; then :
3668 $as_echo_n "(cached) " >&6
3670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3671 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3674 test -z "$as_dir" && as_dir
=.
3675 for ac_prog
in mkdir gmkdir
; do
3676 for ac_exec_ext
in '' $ac_executable_extensions; do
3677 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3678 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3679 'mkdir (GNU coreutils) '* | \
3680 'mkdir (coreutils) '* | \
3681 'mkdir (fileutils) '4.1*)
3682 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3692 test -d .
/--version && rmdir .
/--version
3693 if test "${ac_cv_path_mkdir+set}" = set; then
3694 MKDIR_P
="$ac_cv_path_mkdir -p"
3696 # As a last resort, use the slow shell script. Don't cache a
3697 # value for MKDIR_P within a source directory, because that will
3698 # break other packages using the cache if that directory is
3699 # removed, or if the value is a relative name.
3700 MKDIR_P
="$ac_install_sh -d"
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3704 $as_echo "$MKDIR_P" >&6; }
3706 for ac_prog
in gawk mawk nawk
awk
3708 # Extract the first word of "$ac_prog", so it can be a program name with args.
3709 set dummy
$ac_prog; ac_word
=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_AWK+:} false
; then :
3713 $as_echo_n "(cached) " >&6
3715 if test -n "$AWK"; then
3716 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3722 test -z "$as_dir" && as_dir
=.
3723 for ac_exec_ext
in '' $ac_executable_extensions; do
3724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_AWK
="$ac_prog"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 if test -n "$AWK"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3738 $as_echo "$AWK" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3745 test -n "$AWK" && break
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3749 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3751 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3752 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3753 $as_echo_n "(cached) " >&6
3755 cat >conftest.
make <<\_ACEOF
3758 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3760 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3761 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3763 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3765 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3769 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3771 $as_echo "yes" >&6; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 SET_MAKE
="MAKE=${MAKE-make}"
3779 rm -rf .tst
2>/dev
/null
3780 mkdir .tst
2>/dev
/null
3781 if test -d .tst
; then
3786 rmdir .tst
2>/dev
/null
3788 # Check whether --enable-silent-rules was given.
3789 if test "${enable_silent_rules+set}" = set; then :
3790 enableval
=$enable_silent_rules;
3793 case $enable_silent_rules in # (((
3794 yes) AM_DEFAULT_VERBOSITY
=0;;
3795 no
) AM_DEFAULT_VERBOSITY
=1;;
3796 *) AM_DEFAULT_VERBOSITY
=1;;
3798 am_make
=${MAKE-make}
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3800 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3801 if ${am_cv_make_support_nested_variables+:} false
; then :
3802 $as_echo_n "(cached) " >&6
3804 if $as_echo 'TRUE=$(BAR$(V))
3810 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3811 am_cv_make_support_nested_variables
=yes
3813 am_cv_make_support_nested_variables
=no
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3817 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3818 if test $am_cv_make_support_nested_variables = yes; then
3820 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3822 AM_V
=$AM_DEFAULT_VERBOSITY
3823 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3827 DEPDIR="${am__leading_dot}deps"
3829 ac_config_commands="$ac_config_commands depfiles"
3832 am_make=${MAKE-make}
3833 cat > confinc << 'END
'
3835 @echo this is the am__doit target
3838 # If we don't
find an include directive
, just comment out the code.
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3840 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3844 # First try GNU make style include.
3845 echo "include confinc" > confmf
3846 # Ignore all kinds of additional output from 'make'.
3847 case `$am_make -s -f confmf 2> /dev/null` in #(
3848 *the\ am__doit\ target
*)
3854 # Now try BSD make style include.
3855 if test "$am__include" = "#"; then
3856 echo '.include "confinc"' > confmf
3857 case `$am_make -s -f confmf 2> /dev/null` in #(
3858 *the\ am__doit\ target
*)
3859 am__include
=.include
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3868 $as_echo "$_am_result" >&6; }
3869 rm -f confinc confmf
3871 # Check whether --enable-dependency-tracking was given.
3872 if test "${enable_dependency_tracking+set}" = set; then :
3873 enableval
=$enable_dependency_tracking;
3876 if test "x$enable_dependency_tracking" != xno
; then
3877 am_depcomp
="$ac_aux_dir/depcomp"
3881 if test "x$enable_dependency_tracking" != xno; then
3891 ac_cpp
='$CPP $CPPFLAGS'
3892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3895 if test -n "$ac_tool_prefix"; then
3896 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3897 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if ${ac_cv_prog_CC+:} false
; then :
3901 $as_echo_n "(cached) " >&6
3903 if test -n "$CC"; then
3904 ac_cv_prog_CC
="$CC" # Let the user override the test.
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_exec_ext
in '' $ac_executable_extensions; do
3912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3924 if test -n "$CC"; then
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3926 $as_echo "$CC" >&6; }
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3934 if test -z "$ac_cv_prog_CC"; then
3936 # Extract the first word of "gcc", so it can be a program name with args.
3937 set dummy gcc
; ac_word
=$2
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3941 $as_echo_n "(cached) " >&6
3943 if test -n "$ac_ct_CC"; then
3944 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3950 test -z "$as_dir" && as_dir
=.
3951 for ac_exec_ext
in '' $ac_executable_extensions; do
3952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3953 ac_cv_prog_ac_ct_CC
="gcc"
3954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3964 if test -n "$ac_ct_CC"; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3966 $as_echo "$ac_ct_CC" >&6; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3972 if test "x$ac_ct_CC" = x
; then
3975 case $cross_compiling:$ac_tool_warned in
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3979 ac_tool_warned
=yes ;;
3987 if test -z "$CC"; then
3988 if test -n "$ac_tool_prefix"; then
3989 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3990 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3992 $as_echo_n "checking for $ac_word... " >&6; }
3993 if ${ac_cv_prog_CC+:} false
; then :
3994 $as_echo_n "(cached) " >&6
3996 if test -n "$CC"; then
3997 ac_cv_prog_CC
="$CC" # Let the user override the test.
3999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4003 test -z "$as_dir" && as_dir
=.
4004 for ac_exec_ext
in '' $ac_executable_extensions; do
4005 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4006 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4017 if test -n "$CC"; then
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4019 $as_echo "$CC" >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022 $as_echo "no" >&6; }
4028 if test -z "$CC"; then
4029 # Extract the first word of "cc", so it can be a program name with args.
4030 set dummy cc
; ac_word
=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if ${ac_cv_prog_CC+:} false
; then :
4034 $as_echo_n "(cached) " >&6
4036 if test -n "$CC"; then
4037 ac_cv_prog_CC
="$CC" # Let the user override the test.
4040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir
=.
4045 for ac_exec_ext
in '' $ac_executable_extensions; do
4046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4047 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4048 ac_prog_rejected
=yes
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 if test $ac_prog_rejected = yes; then
4060 # We found a bogon in the path, so make sure we never use it.
4061 set dummy
$ac_cv_prog_CC
4063 if test $# != 0; then
4064 # We chose a different compiler from the bogus one.
4065 # However, it has the same basename, so the bogon will be chosen
4066 # first if we set CC to just the basename; use the full file name.
4068 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4074 if test -n "$CC"; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4076 $as_echo "$CC" >&6; }
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4084 if test -z "$CC"; then
4085 if test -n "$ac_tool_prefix"; then
4086 for ac_prog
in cl.exe
4088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4089 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4091 $as_echo_n "checking for $ac_word... " >&6; }
4092 if ${ac_cv_prog_CC+:} false
; then :
4093 $as_echo_n "(cached) " >&6
4095 if test -n "$CC"; then
4096 ac_cv_prog_CC
="$CC" # Let the user override the test.
4098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4102 test -z "$as_dir" && as_dir
=.
4103 for ac_exec_ext
in '' $ac_executable_extensions; do
4104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4105 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4116 if test -n "$CC"; then
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4118 $as_echo "$CC" >&6; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4121 $as_echo "no" >&6; }
4125 test -n "$CC" && break
4128 if test -z "$CC"; then
4130 for ac_prog
in cl.exe
4132 # Extract the first word of "$ac_prog", so it can be a program name with args.
4133 set dummy
$ac_prog; ac_word
=$2
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4135 $as_echo_n "checking for $ac_word... " >&6; }
4136 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4137 $as_echo_n "(cached) " >&6
4139 if test -n "$ac_ct_CC"; then
4140 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4146 test -z "$as_dir" && as_dir
=.
4147 for ac_exec_ext
in '' $ac_executable_extensions; do
4148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4149 ac_cv_prog_ac_ct_CC
="$ac_prog"
4150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4159 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4160 if test -n "$ac_ct_CC"; then
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4162 $as_echo "$ac_ct_CC" >&6; }
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4165 $as_echo "no" >&6; }
4169 test -n "$ac_ct_CC" && break
4172 if test "x$ac_ct_CC" = x
; then
4175 case $cross_compiling:$ac_tool_warned in
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4179 ac_tool_warned
=yes ;;
4188 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4190 as_fn_error $?
"no acceptable C compiler found in \$PATH
4191 See \`config.log' for more details" "$LINENO" 5; }
4193 # Provide some information about the compiler.
4194 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4197 for ac_option
in --version -v -V -qversion; do
4198 { { ac_try
="$ac_compiler $ac_option >&5"
4200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4204 $as_echo "$ac_try_echo"; } >&5
4205 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4207 if test -s conftest.err; then
4209 ... rest of stderr output deleted ...
4210 10q' conftest.err >conftest.er1
4211 cat conftest.er1 >&5
4213 rm -f conftest.er1 conftest.err
4214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4215 test $ac_status = 0; }
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4229 ac_clean_files_save=$ac_clean_files
4230 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4231 # Try to create an executable without -o first, disregard a.out.
4232 # It will help us diagnose broken compilers, and finding out an intuition
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4235 $as_echo_n "checking whether the C compiler works... " >&6; }
4236 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4238 # The possible output files:
4239 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4242 for ac_file in $ac_files
4245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4246 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4251 if { { ac_try="$ac_link_default"
4253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4254 *) ac_try_echo
=$ac_try;;
4256 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4257 $as_echo "$ac_try_echo"; } >&5
4258 (eval "$ac_link_default") 2>&5
4260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4261 test $ac_status = 0; }; then :
4262 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4263 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4264 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4265 # so that the user can short-circuit this test for compilers unknown to
4267 for ac_file
in $ac_files ''
4269 test -f "$ac_file" ||
continue
4271 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4274 # We found the default executable, but exeext='' is most
4278 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4280 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4282 # We set ac_cv_exeext here because the later test for it is not
4283 # safe: cross compilers may not add the suffix if given an `-o'
4284 # argument, so we may need to know it at that point already.
4285 # Even if this section looks crufty: it has the advantage of
4292 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4297 if test -z "$ac_file"; then :
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4299 $as_echo "no" >&6; }
4300 $as_echo "$as_me: failed program was:" >&5
4301 sed 's/^/| /' conftest.
$ac_ext >&5
4303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4305 as_fn_error
77 "C compiler cannot create executables
4306 See \`config.log' for more details" "$LINENO" 5; }
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4309 $as_echo "yes" >&6; }
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4312 $as_echo_n "checking for C compiler default output file name... " >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4314 $as_echo "$ac_file" >&6; }
4315 ac_exeext
=$ac_cv_exeext
4317 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4318 ac_clean_files
=$ac_clean_files_save
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4320 $as_echo_n "checking for suffix of executables... " >&6; }
4321 if { { ac_try
="$ac_link"
4323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 $as_echo "$ac_try_echo"; } >&5
4328 (eval "$ac_link") 2>&5
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }; then :
4332 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4333 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4334 # work properly (i.e., refer to `conftest.exe'), while it won't with
4336 for ac_file
in conftest.exe conftest conftest.
*; do
4337 test -f "$ac_file" ||
continue
4339 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4340 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4348 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4349 See \`config.log' for more details" "$LINENO" 5; }
4351 rm -f conftest conftest
$ac_cv_exeext
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4353 $as_echo "$ac_cv_exeext" >&6; }
4355 rm -f conftest.
$ac_ext
4356 EXEEXT
=$ac_cv_exeext
4358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4359 /* end confdefs.h. */
4364 FILE *f = fopen ("conftest.out", "w");
4365 return ferror (f) || fclose (f) != 0;
4371 ac_clean_files
="$ac_clean_files conftest.out"
4372 # Check that the compiler produces executables we can run. If not, either
4373 # the compiler is broken, or we cross compile.
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4375 $as_echo_n "checking whether we are cross compiling... " >&6; }
4376 if test "$cross_compiling" != yes; then
4377 { { ac_try
="$ac_link"
4379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4380 *) ac_try_echo=$ac_try;;
4382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4383 $as_echo "$ac_try_echo"; } >&5
4384 (eval "$ac_link") 2>&5
4386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4387 test $ac_status = 0; }
4388 if { ac_try='./conftest$ac_cv_exeext'
4389 { { case "(($ac_try" in
4390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4391 *) ac_try_echo
=$ac_try;;
4393 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4394 $as_echo "$ac_try_echo"; } >&5
4395 (eval "$ac_try") 2>&5
4397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4398 test $ac_status = 0; }; }; then
4401 if test "$cross_compiling" = maybe
; then
4404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4406 as_fn_error $?
"cannot run C compiled programs.
4407 If you meant to cross compile, use \`--host'.
4408 See \`config.log' for more details" "$LINENO" 5; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4413 $as_echo "$cross_compiling" >&6; }
4415 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4416 ac_clean_files
=$ac_clean_files_save
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4418 $as_echo_n "checking for suffix of object files... " >&6; }
4419 if ${ac_cv_objext+:} false
; then :
4420 $as_echo_n "(cached) " >&6
4422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4433 rm -f conftest.o conftest.obj
4434 if { { ac_try
="$ac_compile"
4436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4437 *) ac_try_echo=$ac_try;;
4439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4440 $as_echo "$ac_try_echo"; } >&5
4441 (eval "$ac_compile") 2>&5
4443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4444 test $ac_status = 0; }; then :
4445 for ac_file in conftest.o conftest.obj conftest.*; do
4446 test -f "$ac_file" || continue;
4448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4449 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4454 $as_echo "$as_me: failed program was:" >&5
4455 sed 's/^/| /' conftest.$ac_ext >&5
4457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4459 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4460 See \
`config.log' for more details" "$LINENO" 5; }
4462 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4465 $as_echo "$ac_cv_objext" >&6; }
4466 OBJEXT=$ac_cv_objext
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4469 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4470 if ${ac_cv_c_compiler_gnu+:} false; then :
4471 $as_echo_n "(cached) " >&6
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4487 if ac_fn_c_try_compile "$LINENO"; then :
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4497 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4498 if test $ac_compiler_gnu = yes; then
4503 ac_test_CFLAGS=${CFLAGS+set}
4504 ac_save_CFLAGS=$CFLAGS
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4506 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4507 if ${ac_cv_prog_cc_g+:} false; then :
4508 $as_echo_n "(cached) " >&6
4510 ac_save_c_werror_flag=$ac_c_werror_flag
4511 ac_c_werror_flag=yes
4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4525 if ac_fn_c_try_compile "$LINENO"; then :
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4540 if ac_fn_c_try_compile "$LINENO"; then :
4543 ac_c_werror_flag=$ac_save_c_werror_flag
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4556 if ac_fn_c_try_compile "$LINENO"; then :
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564 ac_c_werror_flag=$ac_save_c_werror_flag
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4567 $as_echo "$ac_cv_prog_cc_g" >&6; }
4568 if test "$ac_test_CFLAGS" = set; then
4569 CFLAGS=$ac_save_CFLAGS
4570 elif test $ac_cv_prog_cc_g = yes; then
4571 if test "$GCC" = yes; then
4577 if test "$GCC" = yes; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4584 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4585 if ${ac_cv_prog_cc_c89+:} false; then :
4586 $as_echo_n "(cached) " >&6
4588 ac_cv_prog_cc_c89=no
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4595 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4596 struct buf { int x; };
4597 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4598 static char *e (p, i)
4604 static char *f (char * (*g) (char **, int), char **p, ...)
4609 s = g (p, va_arg (v,int));
4614 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4615 function prototypes and stuff, but not '\xHH' hex character constants.
4616 These don't provoke an error unfortunately, instead are silently treated
4617 as 'x'. The following induces an error, until -std is added to get
4618 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4619 array size at least. It's necessary to write '\x00'==0 to get something
4620 that's true only with -std. */
4621 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4623 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4624 inside strings and character constants. */
4626 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4628 int test (int i, double x);
4629 struct s1 {int (*f) (int a);};
4630 struct s2 {int (*f) (double a);};
4631 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4637 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4642 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4643 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4645 CC="$ac_save_CC $ac_arg"
4646 if ac_fn_c_try_compile "$LINENO"; then :
4647 ac_cv_prog_cc_c89=$ac_arg
4649 rm -f core conftest.err conftest.$ac_objext
4650 test "x$ac_cv_prog_cc_c89" != "xno" && break
4652 rm -f conftest.$ac_ext
4657 case "x$ac_cv_prog_cc_c89" in
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4660 $as_echo "none needed" >&6; } ;;
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4663 $as_echo "unsupported" >&6; } ;;
4665 CC="$CC $ac_cv_prog_cc_c89"
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4667 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4669 if test "x$ac_cv_prog_cc_c89" != xno; then :
4674 ac_cpp='$CPP $CPPFLAGS'
4675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4680 ac_cpp='$CPP $CPPFLAGS'
4681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4685 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4686 if ${am_cv_prog_cc_c_o+:} false; then :
4687 $as_echo_n "(cached) " >&6
4689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4690 /* end confdefs.h. */
4700 # Make sure it works both with $CC and with simple cc.
4701 # Following AC_PROG_CC_C_O, we do the test twice because some
4702 # compilers refuse to overwrite an existing .o file with -o,
4703 # though they will create one.
4704 am_cv_prog_cc_c_o=yes
4706 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4707 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); } \
4711 && test -f conftest2.$ac_objext; then
4714 am_cv_prog_cc_c_o=no
4718 rm -f core conftest*
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4722 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4723 if test "$am_cv_prog_cc_c_o" != yes; then
4724 # Losing compiler, so override with the script.
4725 # FIXME: It is wrong to rewrite CC.
4726 # But if we don't then we get into trouble of one sort or another.
4727 # A longer-term fix would be to have automake use am__CC in this case,
4728 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4729 CC="$am_aux_dir/compile $CC"
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4738 depcc="$CC" am_compiler_list=
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4741 $as_echo_n "checking dependency style of $depcc... " >&6; }
4742 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4743 $as_echo_n "(cached) " >&6
4745 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4746 # We make a subdir and do the tests there. Otherwise we can end up
4747 # making bogus files that we don't know about and never remove. For
4748 # instance it was reported that on HP-UX the gcc test will end up
4749 # making a dummy file named 'D' -- because '-MD' means "put the output
4753 # Copy depcomp to subdir because otherwise we won't find it if we're
4754 # using a relative directory.
4755 cp "$am_depcomp" conftest.dir
4757 # We will build objects and dependencies in a subdirectory because
4758 # it helps to detect inapplicable dependency modes. For instance
4759 # both Tru64's cc and ICC support -MD to output dependencies as a
4760 # side effect of compilation, but ICC will put the dependencies in
4761 # the current directory while Tru64 will put them in the object
4765 am_cv_CC_dependencies_compiler_type=none
4766 if test "$am_compiler_list" = ""; then
4767 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4770 case " $depcc " in #(
4771 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4774 for depmode in $am_compiler_list; do
4775 # Setup a source with many dependencies, because some compilers
4776 # like to wrap large dependency lists on column 80 (with \), and
4777 # we should not choose a depcomp mode which is confused by this.
4779 # We need to recreate these files for each test, as the compiler may
4780 # overwrite some of them when testing with obscure command lines.
4781 # This happens at least with the AIX C compiler.
4783 for i in 1 2 3 4 5 6; do
4784 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4785 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4786 # Solaris 10 /bin/sh.
4787 echo '/* dummy */' > sub/conftst$i.h
4789 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4791 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4792 # mode. It turns out that the SunPro C++ compiler does not properly
4793 # handle '-M -o', and we need to detect this. Also, some Intel
4794 # versions had trouble with output in subdirs.
4795 am__obj=sub/conftest.${OBJEXT-o}
4796 am__minus_obj="-o $am__obj"
4799 # This depmode causes a compiler race in universal mode.
4800 test "$am__universal" = false || continue
4803 # After this tag, mechanisms are not by side-effect, so they'll
4804 # only be used when explicitly requested.
4805 if test "x$enable_dependency_tracking" = xyes; then
4811 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4812 # This compiler won't grok '-c -o', but also, the minuso test has
4813 # not run yet. These depmodes are late enough in the game, and
4814 # so weak that their functioning should not be impacted.
4815 am__obj=conftest.${OBJEXT-o}
4820 if depmode=$depmode \
4821 source=sub/conftest.c object=$am__obj \
4822 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4823 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4824 >/dev/null 2>conftest.err &&
4825 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4826 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4827 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4828 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4829 # icc doesn't choke on unknown options, it will just issue warnings
4830 # or remarks (even with -Werror). So we grep stderr for any message
4831 # that says an option was ignored or not supported.
4832 # When given -MP, icc 7.0 and 7.1 complain thusly:
4833 # icc: Command line warning: ignoring option '-M'; no argument required
4834 # The diagnosis changed in icc 8.0:
4835 # icc: Command line remark: option '-MP' not supported
4836 if (grep 'ignoring option' conftest.err ||
4837 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4838 am_cv_CC_dependencies_compiler_type=$depmode
4847 am_cv_CC_dependencies_compiler_type=none
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4852 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4853 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4856 test "x$enable_dependency_tracking" != xno \
4857 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4859 am__fastdepCC_FALSE='#'
4861 am__fastdepCC_TRUE='#'
4862 am__fastdepCC_FALSE=
4867 # Check whether --enable-compiler-warnings was given.
4868 if test "${enable_compiler_warnings+set}" = set; then :
4869 enableval=$enable_compiler_warnings;
4871 case $enable_compiler_warnings in #(
4872 no | min | yes | max | all) :
4875 if test "x$enable_maintainer_mode" = xyes; then :
4876 enable_compiler_warnings=yes
4878 enable_compiler_warnings=min
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4885 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4890 macro_version='2.4.6'
4891 macro_revision='2.4.6'
4905 ltmain=$ac_aux_dir/ltmain.sh
4907 # Make sure we can run config.sub.
4908 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4909 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4912 $as_echo_n "checking build system type... " >&6; }
4913 if ${ac_cv_build+:} false; then :
4914 $as_echo_n "(cached) " >&6
4916 ac_build_alias=$build_alias
4917 test "x$ac_build_alias" = x &&
4918 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4919 test "x$ac_build_alias" = x &&
4920 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4921 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4922 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4926 $as_echo "$ac_cv_build" >&6; }
4927 case $ac_cv_build in
4929 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4932 ac_save_IFS=$IFS; IFS='-'
4938 # Remember, the first character of IFS is used to create $*,
4939 # except with old shells:
4942 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4946 $as_echo_n "checking host system type... " >&6; }
4947 if ${ac_cv_host+:} false; then :
4948 $as_echo_n "(cached) " >&6
4950 if test "x$host_alias" = x; then
4951 ac_cv_host=$ac_cv_build
4953 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4954 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4959 $as_echo "$ac_cv_host" >&6; }
4962 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4965 ac_save_IFS=$IFS; IFS='-'
4971 # Remember, the first character of IFS is used to create $*,
4972 # except with old shells:
4975 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4978 # Backslashify metacharacters that are still active within
4979 # double-quoted strings.
4980 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4982 # Same as above, but do not quote variable references.
4983 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4985 # Sed substitution to delay expansion of an escaped shell variable in a
4986 # double_quote_subst'ed string.
4987 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4989 # Sed substitution to delay expansion of an escaped single quote.
4990 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4992 # Sed substitution to avoid accidental globbing in evaled expressions
4993 no_glob_subst='s/\*/\\\*/g'
4995 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4996 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4997 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5000 $as_echo_n "checking how to print
strings...
" >&6; }
5001 # Test print first, because it will be a builtin if present.
5002 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5003 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5005 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5008 # Use this function as a fallback that always works.
5009 func_fallback_echo ()
5011 eval 'cat <<_LTECHO_EOF
5015 ECHO='func_fallback_echo'
5018 # func_echo_all arg...
5019 # Invoke $ECHO with all args, space-separated.
5026 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5027 $as_echo "printf" >&6; } ;;
5028 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5029 $as_echo "print
-r" >&6; } ;;
5030 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5031 $as_echo "cat" >&6; } ;;
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5048 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5049 if ${ac_cv_path_SED+:} false; then :
5050 $as_echo_n "(cached
) " >&6
5052 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5053 for ac_i in 1 2 3 4 5 6 7; do
5054 ac_script="$ac_script$as_nl$ac_script"
5056 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5057 { ac_script=; unset ac_script;}
5058 if test -z "$SED"; then
5059 ac_path_SED_found=false
5060 # Loop through the user's path and test for each of PROGNAME-LIST
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 test -z "$as_dir" && as_dir=.
5066 for ac_prog in sed gsed; do
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5069 as_fn_executable_p "$ac_path_SED" || continue
5070 # Check for GNU ac_path_SED and select it if it is found.
5071 # Check for GNU $ac_path_SED
5072 case `"$ac_path_SED" --version 2>&1` in
5074 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5077 $as_echo_n 0123456789 >"conftest.
in"
5080 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5081 mv "conftest.tmp
" "conftest.
in"
5082 cp "conftest.
in" "conftest.
nl"
5083 $as_echo '' >> "conftest.
nl"
5084 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5085 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5086 as_fn_arith $ac_count + 1 && ac_count=$as_val
5087 if test $ac_count -gt ${ac_path_SED_max-0}; then
5088 # Best one so far, save it but keep looking for a better one
5089 ac_cv_path_SED="$ac_path_SED"
5090 ac_path_SED_max=$ac_count
5092 # 10*(2^10) chars as input seems more than enough
5093 test $ac_count -gt 10 && break
5095 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5098 $ac_path_SED_found && break 3
5103 if test -z "$ac_cv_path_SED"; then
5104 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5112 $as_echo "$ac_cv_path_SED" >&6; }
5113 SED="$ac_cv_path_SED"
5116 test -z "$SED" && SED=sed
5117 Xsed="$SED -e 1s
/^X
//"
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5130 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5131 if ${ac_cv_path_GREP+:} false; then :
5132 $as_echo_n "(cached
) " >&6
5134 if test -z "$GREP"; then
5135 ac_path_GREP_found=false
5136 # Loop through the user's path and test for each of PROGNAME-LIST
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5141 test -z "$as_dir" && as_dir=.
5142 for ac_prog in grep ggrep; do
5143 for ac_exec_ext in '' $ac_executable_extensions; do
5144 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5145 as_fn_executable_p "$ac_path_GREP" || continue
5146 # Check for GNU ac_path_GREP and select it if it is found.
5147 # Check for GNU $ac_path_GREP
5148 case `"$ac_path_GREP" --version 2>&1` in
5150 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5153 $as_echo_n 0123456789 >"conftest.
in"
5156 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5157 mv "conftest.tmp
" "conftest.
in"
5158 cp "conftest.
in" "conftest.
nl"
5159 $as_echo 'GREP' >> "conftest.
nl"
5160 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5161 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5162 as_fn_arith $ac_count + 1 && ac_count=$as_val
5163 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5164 # Best one so far, save it but keep looking for a better one
5165 ac_cv_path_GREP="$ac_path_GREP"
5166 ac_path_GREP_max=$ac_count
5168 # 10*(2^10) chars as input seems more than enough
5169 test $ac_count -gt 10 && break
5171 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5174 $ac_path_GREP_found && break 3
5179 if test -z "$ac_cv_path_GREP"; then
5180 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5183 ac_cv_path_GREP=$GREP
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5188 $as_echo "$ac_cv_path_GREP" >&6; }
5189 GREP="$ac_cv_path_GREP"
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5193 $as_echo_n "checking
for egrep...
" >&6; }
5194 if ${ac_cv_path_EGREP+:} false; then :
5195 $as_echo_n "(cached
) " >&6
5197 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5198 then ac_cv_path_EGREP="$GREP -E"
5200 if test -z "$EGREP"; then
5201 ac_path_EGREP_found=false
5202 # Loop through the user's path and test for each of PROGNAME-LIST
5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5204 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5207 test -z "$as_dir" && as_dir=.
5208 for ac_prog in egrep; do
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5211 as_fn_executable_p "$ac_path_EGREP" || continue
5212 # Check for GNU ac_path_EGREP and select it if it is found.
5213 # Check for GNU $ac_path_EGREP
5214 case `"$ac_path_EGREP" --version 2>&1` in
5216 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5219 $as_echo_n 0123456789 >"conftest.
in"
5222 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5223 mv "conftest.tmp
" "conftest.
in"
5224 cp "conftest.
in" "conftest.
nl"
5225 $as_echo 'EGREP' >> "conftest.
nl"
5226 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5227 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5228 as_fn_arith $ac_count + 1 && ac_count=$as_val
5229 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5230 # Best one so far, save it but keep looking for a better one
5231 ac_cv_path_EGREP="$ac_path_EGREP"
5232 ac_path_EGREP_max=$ac_count
5234 # 10*(2^10) chars as input seems more than enough
5235 test $ac_count -gt 10 && break
5237 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5240 $ac_path_EGREP_found && break 3
5245 if test -z "$ac_cv_path_EGREP"; then
5246 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5249 ac_cv_path_EGREP=$EGREP
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5255 $as_echo "$ac_cv_path_EGREP" >&6; }
5256 EGREP="$ac_cv_path_EGREP"
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5260 $as_echo_n "checking
for fgrep...
" >&6; }
5261 if ${ac_cv_path_FGREP+:} false; then :
5262 $as_echo_n "(cached
) " >&6
5264 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5265 then ac_cv_path_FGREP="$GREP -F"
5267 if test -z "$FGREP"; then
5268 ac_path_FGREP_found=false
5269 # Loop through the user's path and test for each of PROGNAME-LIST
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5274 test -z "$as_dir" && as_dir=.
5275 for ac_prog in fgrep; do
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5278 as_fn_executable_p "$ac_path_FGREP" || continue
5279 # Check for GNU ac_path_FGREP and select it if it is found.
5280 # Check for GNU $ac_path_FGREP
5281 case `"$ac_path_FGREP" --version 2>&1` in
5283 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5286 $as_echo_n 0123456789 >"conftest.
in"
5289 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5290 mv "conftest.tmp
" "conftest.
in"
5291 cp "conftest.
in" "conftest.
nl"
5292 $as_echo 'FGREP' >> "conftest.
nl"
5293 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5294 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5295 as_fn_arith $ac_count + 1 && ac_count=$as_val
5296 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5297 # Best one so far, save it but keep looking for a better one
5298 ac_cv_path_FGREP="$ac_path_FGREP"
5299 ac_path_FGREP_max=$ac_count
5301 # 10*(2^10) chars as input seems more than enough
5302 test $ac_count -gt 10 && break
5304 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5307 $ac_path_FGREP_found && break 3
5312 if test -z "$ac_cv_path_FGREP"; then
5313 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5316 ac_cv_path_FGREP=$FGREP
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5322 $as_echo "$ac_cv_path_FGREP" >&6; }
5323 FGREP="$ac_cv_path_FGREP"
5326 test -z "$GREP" && GREP=grep
5346 # Check whether --with-gnu-ld was given.
5347 if test "${with_gnu_ld+set}" = set; then :
5348 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5354 if test yes = "$GCC"; then
5355 # Check if gcc -print-prog-name=ld gives a path.
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5357 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5360 # gcc leaves a trailing carriage return, which upsets mingw
5361 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5363 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5366 # Accept absolute paths.
5368 re_direlt='/[^/][^/]*/\.\./'
5369 # Canonicalize the pathname of ld
5370 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5371 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5372 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5374 test -z "$LD" && LD=$ac_prog
5377 # If it fails, then pretend we aren't using GCC.
5381 # If it is relative, then search for the first ld in PATH.
5385 elif test yes = "$with_gnu_ld"; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5387 $as_echo_n "checking
for GNU ld...
" >&6; }
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5390 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5392 if ${lt_cv_path_LD+:} false; then :
5393 $as_echo_n "(cached
) " >&6
5395 if test -z "$LD"; then
5396 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5397 for ac_dir in $PATH; do
5399 test -z "$ac_dir" && ac_dir=.
5400 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5401 lt_cv_path_LD=$ac_dir/$ac_prog
5402 # Check to see if the program is GNU ld. I'd rather use --version,
5403 # but apparently some variants of GNU ld only accept -v.
5404 # Break only if it was the GNU/non-GNU ld that we prefer.
5405 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5406 *GNU* | *'with BFD'*)
5407 test no != "$with_gnu_ld" && break
5410 test yes != "$with_gnu_ld" && break
5417 lt_cv_path_LD=$LD # Let the user override the test with a path.
5422 if test -n "$LD"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5424 $as_echo "$LD" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5427 $as_echo "no
" >&6; }
5429 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5431 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5432 if ${lt_cv_prog_gnu_ld+:} false; then :
5433 $as_echo_n "(cached
) " >&6
5435 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5436 case `$LD -v 2>&1 </dev/null` in
5437 *GNU* | *'with BFD'*)
5438 lt_cv_prog_gnu_ld=yes
5441 lt_cv_prog_gnu_ld=no
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5446 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5447 with_gnu_ld=$lt_cv_prog_gnu_ld
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5458 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5459 if ${lt_cv_path_NM+:} false; then :
5460 $as_echo_n "(cached
) " >&6
5462 if test -n "$NM"; then
5463 # Let the user override the test.
5466 lt_nm_to_check=${ac_tool_prefix}nm
5467 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5468 lt_nm_to_check="$lt_nm_to_check nm
"
5470 for lt_tmp_nm in $lt_nm_to_check; do
5471 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5472 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5474 test -z "$ac_dir" && ac_dir=.
5475 tmp_nm=$ac_dir/$lt_tmp_nm
5476 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5477 # Check to see if the nm accepts a BSD-compat flag.
5478 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5479 # nm: unknown option "B
" ignored
5480 # Tru64's nm complains that /dev/null is an invalid object file
5481 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5483 mingw*) lt_bad_file=conftest.nm/nofile ;;
5484 *) lt_bad_file=/dev/null ;;
5486 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5487 *$lt_bad_file* | *'Invalid file or object type'*)
5488 lt_cv_path_NM="$tmp_nm -B"
5492 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5494 lt_cv_path_NM="$tmp_nm -p"
5498 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5499 continue # so that we can try to find one that supports BSD flags
5508 : ${lt_cv_path_NM=no}
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5512 $as_echo "$lt_cv_path_NM" >&6; }
5513 if test no != "$lt_cv_path_NM"; then
5516 # Didn't find any BSD compatible name lister, look for dumpbin.
5517 if test -n "$DUMPBIN"; then :
5518 # Let the user override the test.
5520 if test -n "$ac_tool_prefix"; then
5521 for ac_prog in dumpbin "link
-dump"
5523 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5524 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5526 $as_echo_n "checking
for $ac_word...
" >&6; }
5527 if ${ac_cv_prog_DUMPBIN+:} false; then :
5528 $as_echo_n "(cached
) " >&6
5530 if test -n "$DUMPBIN"; then
5531 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5550 DUMPBIN=$ac_cv_prog_DUMPBIN
5551 if test -n "$DUMPBIN"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5553 $as_echo "$DUMPBIN" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5556 $as_echo "no
" >&6; }
5560 test -n "$DUMPBIN" && break
5563 if test -z "$DUMPBIN"; then
5564 ac_ct_DUMPBIN=$DUMPBIN
5565 for ac_prog in dumpbin "link
-dump"
5567 # Extract the first word of "$ac_prog", so it can be a program name with args.
5568 set dummy $ac_prog; ac_word=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5570 $as_echo_n "checking
for $ac_word...
" >&6; }
5571 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5572 $as_echo_n "(cached
) " >&6
5574 if test -n "$ac_ct_DUMPBIN"; then
5575 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 test -z "$as_dir" && as_dir=.
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5584 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5594 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5595 if test -n "$ac_ct_DUMPBIN"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5597 $as_echo "$ac_ct_DUMPBIN" >&6; }
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5600 $as_echo "no
" >&6; }
5604 test -n "$ac_ct_DUMPBIN" && break
5607 if test "x
$ac_ct_DUMPBIN" = x; then
5610 case $cross_compiling:$ac_tool_warned in
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5613 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5614 ac_tool_warned=yes ;;
5616 DUMPBIN=$ac_ct_DUMPBIN
5620 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5622 DUMPBIN="$DUMPBIN -symbols -headers"
5630 if test : != "$DUMPBIN"; then
5634 test -z "$NM" && NM=nm
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5642 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5643 if ${lt_cv_nm_interface+:} false; then :
5644 $as_echo_n "(cached
) " >&6
5646 lt_cv_nm_interface="BSD nm
"
5647 echo "int some_variable
= 0;" > conftest.$ac_ext
5648 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5649 (eval "$ac_compile" 2>conftest.err)
5650 cat conftest.err >&5
5651 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5652 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5653 cat conftest.err >&5
5654 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5655 cat conftest.out >&5
5656 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5657 lt_cv_nm_interface="MS dumpbin
"
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5662 $as_echo "$lt_cv_nm_interface" >&6; }
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5665 $as_echo_n "checking whether
ln -s works...
" >&6; }
5667 if test "$LN_S" = "ln -s"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5669 $as_echo "yes" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5672 $as_echo "no
, using
$LN_S" >&6; }
5675 # find the maximum length of command line arguments
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5677 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5678 if ${lt_cv_sys_max_cmd_len+:} false; then :
5679 $as_echo_n "(cached
) " >&6
5686 # On DJGPP, this test can blow up pretty badly due to problems in libc
5687 # (any single argument exceeding 2000 bytes causes a buffer overrun
5688 # during glob expansion). Even if it were fixed, the result of this
5689 # check would be larger than it should be.
5690 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5694 # Under GNU Hurd, this test is not required because there is
5695 # no limit to the length of command line arguments.
5696 # Libtool will interpret -1 as no limit whatsoever
5697 lt_cv_sys_max_cmd_len=-1;
5700 cygwin* | mingw* | cegcc*)
5701 # On Win9x/ME, this test blows up -- it succeeds, but takes
5702 # about 5 minutes as the teststring grows exponentially.
5703 # Worse, since 9x/ME are not pre-emptively multitasking,
5704 # you end up with a "frozen
" computer, even though with patience
5705 # the test eventually succeeds (with a max line length of 256k).
5706 # Instead, let's just punt: use the minimum linelength reported by
5707 # all of the supported platforms: 8192 (on NT/2K/XP).
5708 lt_cv_sys_max_cmd_len=8192;
5712 # On MiNT this can take a long time and run out of memory.
5713 lt_cv_sys_max_cmd_len=8192;
5717 # On AmigaOS with pdksh, this test takes hours, literally.
5718 # So we just punt and use a minimum line length of 8192.
5719 lt_cv_sys_max_cmd_len=8192;
5722 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5723 # This has been around since 386BSD, at least. Likely further.
5724 if test -x /sbin/sysctl; then
5725 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5726 elif test -x /usr/sbin/sysctl; then
5727 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5729 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5731 # And add a safety zone
5732 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5733 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5737 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5738 lt_cv_sys_max_cmd_len=196608
5742 # The test takes a long time on OS/2.
5743 lt_cv_sys_max_cmd_len=8192
5747 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5748 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5749 # nice to cause kernel panics so lets avoid the loop below.
5750 # First set a reasonable default.
5751 lt_cv_sys_max_cmd_len=16384
5753 if test -x /sbin/sysconfig; then
5754 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5755 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5760 lt_cv_sys_max_cmd_len=102400
5762 sysv5* | sco5v6* | sysv4.2uw2*)
5763 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5764 if test -n "$kargmax"; then
5765 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5767 lt_cv_sys_max_cmd_len=32768
5771 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5772 if test -n "$lt_cv_sys_max_cmd_len" && \
5773 test undefined != "$lt_cv_sys_max_cmd_len"; then
5774 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5775 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5777 # Make teststring a little bigger before we do anything with it.
5778 # a 1K string should be a reasonable start.
5779 for i in 1 2 3 4 5 6 7 8; do
5780 teststring=$teststring$teststring
5782 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5783 # If test is not a shell built-in, we'll probably end up computing a
5784 # maximum length that is only half of the actual maximum length, but
5786 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5787 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5788 test 17 != "$i" # 1/2 MB should be enough
5791 teststring=$teststring$teststring
5793 # Only check the string length outside the loop.
5794 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5796 # Add a significant safety factor because C++ compilers can tack on
5797 # massive amounts of additional arguments before passing them to the
5798 # linker. It appears as though 1/2 is a usable value.
5799 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5806 if test -n "$lt_cv_sys_max_cmd_len"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5808 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5811 $as_echo "none
" >&6; }
5813 max_cmd_len=$lt_cv_sys_max_cmd_len
5824 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5834 # test EBCDIC or ASCII
5835 case `echo X|tr X '\101'` in
5836 A) # ASCII based system
5837 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5838 lt_SP2NL='tr \040 \012'
5839 lt_NL2SP='tr \015\012 \040\040'
5841 *) # EBCDIC based system
5842 lt_SP2NL='tr \100 \n'
5843 lt_NL2SP='tr \r\n \100\100'
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5856 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5857 if ${lt_cv_to_host_file_cmd+:} false; then :
5858 $as_echo_n "(cached
) " >&6
5863 *-*-mingw* ) # actually msys
5864 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5867 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5869 * ) # otherwise, assume *nix
5870 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5876 *-*-mingw* ) # actually msys
5877 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5880 lt_cv_to_host_file_cmd=func_convert_file_noop
5882 * ) # otherwise, assume *nix
5883 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5887 * ) # unhandled hosts (and "normal
" native builds)
5888 lt_cv_to_host_file_cmd=func_convert_file_noop
5894 to_host_file_cmd=$lt_cv_to_host_file_cmd
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5896 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5903 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5904 if ${lt_cv_to_tool_file_cmd+:} false; then :
5905 $as_echo_n "(cached
) " >&6
5907 #assume ordinary cross tools, or native build.
5908 lt_cv_to_tool_file_cmd=func_convert_file_noop
5912 *-*-mingw* ) # actually msys
5913 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5921 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5923 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5930 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5931 if ${lt_cv_ld_reload_flag+:} false; then :
5932 $as_echo_n "(cached
) " >&6
5934 lt_cv_ld_reload_flag='-r'
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5937 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5938 reload_flag=$lt_cv_ld_reload_flag
5939 case $reload_flag in
5941 *) reload_flag=" $reload_flag" ;;
5943 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5945 cygwin* | mingw* | pw32* | cegcc*)
5946 if test yes != "$GCC"; then
5951 if test yes = "$GCC"; then
5952 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5954 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5967 if test -n "$ac_tool_prefix"; then
5968 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5969 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5971 $as_echo_n "checking
for $ac_word...
" >&6; }
5972 if ${ac_cv_prog_OBJDUMP+:} false; then :
5973 $as_echo_n "(cached
) " >&6
5975 if test -n "$OBJDUMP"; then
5976 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 test -z "$as_dir" && as_dir=.
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5985 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5995 OBJDUMP=$ac_cv_prog_OBJDUMP
5996 if test -n "$OBJDUMP"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5998 $as_echo "$OBJDUMP" >&6; }
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6001 $as_echo "no
" >&6; }
6006 if test -z "$ac_cv_prog_OBJDUMP"; then
6007 ac_ct_OBJDUMP=$OBJDUMP
6008 # Extract the first word of "objdump
", so it can be a program name with args.
6009 set dummy objdump; ac_word=$2
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6011 $as_echo_n "checking
for $ac_word...
" >&6; }
6012 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6013 $as_echo_n "(cached
) " >&6
6015 if test -n "$ac_ct_OBJDUMP"; then
6016 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022 test -z "$as_dir" && as_dir=.
6023 for ac_exec_ext in '' $ac_executable_extensions; do
6024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6025 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6035 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6036 if test -n "$ac_ct_OBJDUMP"; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6038 $as_echo "$ac_ct_OBJDUMP" >&6; }
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6041 $as_echo "no
" >&6; }
6044 if test "x
$ac_ct_OBJDUMP" = x; then
6047 case $cross_compiling:$ac_tool_warned in
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6050 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6051 ac_tool_warned=yes ;;
6053 OBJDUMP=$ac_ct_OBJDUMP
6056 OBJDUMP="$ac_cv_prog_OBJDUMP"
6059 test -z "$OBJDUMP" && OBJDUMP=objdump
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6067 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6068 if ${lt_cv_deplibs_check_method+:} false; then :
6069 $as_echo_n "(cached
) " >&6
6071 lt_cv_file_magic_cmd='$MAGIC_CMD'
6072 lt_cv_file_magic_test_file=
6073 lt_cv_deplibs_check_method='unknown'
6074 # Need to set the preceding variable on all platforms that support
6075 # interlibrary dependencies.
6076 # 'none' -- dependencies not supported.
6077 # 'unknown' -- same as none, but documents that we really don't know.
6078 # 'pass_all' -- all dependencies passed with no checks.
6079 # 'test_compile' -- check by making test program.
6080 # 'file_magic [[regex]]' -- check by looking for files in library path
6081 # that responds to the $file_magic_cmd with a given extended regex.
6082 # If you have 'file' or equivalent on your system and you're not sure
6083 # whether 'pass_all' will *always* work, you probably want this one.
6087 lt_cv_deplibs_check_method=pass_all
6091 lt_cv_deplibs_check_method=pass_all
6095 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6096 lt_cv_file_magic_cmd='/usr/bin/file -L'
6097 lt_cv_file_magic_test_file=/shlib/libc.so
6101 # func_win32_libid is a shell function defined in ltmain.sh
6102 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6103 lt_cv_file_magic_cmd='func_win32_libid'
6107 # Base MSYS/MinGW do not provide the 'file' command needed by
6108 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6109 # unless we find 'file', for example because we are cross-compiling.
6110 if ( file / ) >/dev/null 2>&1; then
6111 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6112 lt_cv_file_magic_cmd='func_win32_libid'
6114 # Keep this pattern in sync with the one in func_win32_libid.
6115 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6116 lt_cv_file_magic_cmd='$OBJDUMP -f'
6121 # use the weaker test based on 'objdump'. See mingw*.
6122 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6123 lt_cv_file_magic_cmd='$OBJDUMP -f'
6126 darwin* | rhapsody*)
6127 lt_cv_deplibs_check_method=pass_all
6130 freebsd* | dragonfly*)
6131 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6134 # Not sure whether the presence of OpenBSD here was a mistake.
6135 # Let's accept both of them until this is cleared up.
6136 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6137 lt_cv_file_magic_cmd=/usr/bin/file
6138 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6142 lt_cv_deplibs_check_method=pass_all
6147 lt_cv_deplibs_check_method=pass_all
6150 hpux10.20* | hpux11*)
6151 lt_cv_file_magic_cmd=/usr/bin/file
6154 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6155 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6158 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]'
6159 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6162 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6163 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6169 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6170 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6173 irix5* | irix6* | nonstopux*)
6175 *-32|*"-32 ") libmagic=32-bit;;
6176 *-n32|*"-n32 ") libmagic=N32;;
6177 *-64|*"-64 ") libmagic=64-bit;;
6178 *) libmagic=never-match;;
6180 lt_cv_deplibs_check_method=pass_all
6183 # This must be glibc/ELF.
6184 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6185 lt_cv_deplibs_check_method=pass_all
6189 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6190 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6192 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6197 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6198 lt_cv_file_magic_cmd=/usr/bin/file
6199 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6203 lt_cv_deplibs_check_method=pass_all
6207 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6208 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6210 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6214 osf3* | osf4* | osf5*)
6215 lt_cv_deplibs_check_method=pass_all
6219 lt_cv_deplibs_check_method=pass_all
6223 lt_cv_deplibs_check_method=pass_all
6226 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6227 lt_cv_deplibs_check_method=pass_all
6231 case $host_vendor in
6233 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]'
6234 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6237 lt_cv_deplibs_check_method=pass_all
6240 lt_cv_file_magic_cmd='/bin/file'
6241 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6244 lt_cv_file_magic_cmd='/bin/file'
6245 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6246 lt_cv_file_magic_test_file=/lib/libc.so
6249 lt_cv_deplibs_check_method=pass_all
6252 lt_cv_deplibs_check_method=pass_all
6258 lt_cv_deplibs_check_method=pass_all
6261 lt_cv_deplibs_check_method=pass_all
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6267 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6271 if test "$build" = "$host"; then
6274 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6277 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6283 file_magic_cmd=$lt_cv_file_magic_cmd
6284 deplibs_check_method=$lt_cv_deplibs_check_method
6285 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6308 if test -n "$ac_tool_prefix"; then
6309 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6310 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6312 $as_echo_n "checking
for $ac_word...
" >&6; }
6313 if ${ac_cv_prog_DLLTOOL+:} false; then :
6314 $as_echo_n "(cached
) " >&6
6316 if test -n "$DLLTOOL"; then
6317 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 test -z "$as_dir" && as_dir=.
6324 for ac_exec_ext in '' $ac_executable_extensions; do
6325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6326 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6336 DLLTOOL=$ac_cv_prog_DLLTOOL
6337 if test -n "$DLLTOOL"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6339 $as_echo "$DLLTOOL" >&6; }
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6342 $as_echo "no
" >&6; }
6347 if test -z "$ac_cv_prog_DLLTOOL"; then
6348 ac_ct_DLLTOOL=$DLLTOOL
6349 # Extract the first word of "dlltool
", so it can be a program name with args.
6350 set dummy dlltool; ac_word=$2
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6352 $as_echo_n "checking
for $ac_word...
" >&6; }
6353 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6354 $as_echo_n "(cached
) " >&6
6356 if test -n "$ac_ct_DLLTOOL"; then
6357 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6363 test -z "$as_dir" && as_dir=.
6364 for ac_exec_ext in '' $ac_executable_extensions; do
6365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6366 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6376 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6377 if test -n "$ac_ct_DLLTOOL"; then
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6379 $as_echo "$ac_ct_DLLTOOL" >&6; }
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6382 $as_echo "no
" >&6; }
6385 if test "x
$ac_ct_DLLTOOL" = x; then
6388 case $cross_compiling:$ac_tool_warned in
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6391 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6392 ac_tool_warned=yes ;;
6394 DLLTOOL=$ac_ct_DLLTOOL
6397 DLLTOOL="$ac_cv_prog_DLLTOOL"
6400 test -z "$DLLTOOL" && DLLTOOL=dlltool
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6409 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6410 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6411 $as_echo_n "(cached
) " >&6
6413 lt_cv_sharedlib_from_linklib_cmd='unknown'
6416 cygwin* | mingw* | pw32* | cegcc*)
6417 # two different shell functions defined in ltmain.sh;
6418 # decide which one to use based on capabilities of $DLLTOOL
6419 case `$DLLTOOL --help 2>&1` in
6420 *--identify-strict*)
6421 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6424 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6429 # fallback: assume linklib IS sharedlib
6430 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6436 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6437 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6438 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6446 if test -n "$ac_tool_prefix"; then
6449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6452 $as_echo_n "checking
for $ac_word...
" >&6; }
6453 if ${ac_cv_prog_AR+:} false; then :
6454 $as_echo_n "(cached
) " >&6
6456 if test -n "$AR"; then
6457 ac_cv_prog_AR="$AR" # Let the user override the test.
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6466 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6477 if test -n "$AR"; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6479 $as_echo "$AR" >&6; }
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6482 $as_echo "no
" >&6; }
6486 test -n "$AR" && break
6489 if test -z "$AR"; then
6493 # Extract the first word of "$ac_prog", so it can be a program name with args.
6494 set dummy $ac_prog; ac_word=$2
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6496 $as_echo_n "checking
for $ac_word...
" >&6; }
6497 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6498 $as_echo_n "(cached
) " >&6
6500 if test -n "$ac_ct_AR"; then
6501 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 test -z "$as_dir" && as_dir=.
6508 for ac_exec_ext in '' $ac_executable_extensions; do
6509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6510 ac_cv_prog_ac_ct_AR="$ac_prog"
6511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6520 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6521 if test -n "$ac_ct_AR"; then
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6523 $as_echo "$ac_ct_AR" >&6; }
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6526 $as_echo "no
" >&6; }
6530 test -n "$ac_ct_AR" && break
6533 if test "x
$ac_ct_AR" = x; then
6536 case $cross_compiling:$ac_tool_warned in
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6539 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6540 ac_tool_warned=yes ;;
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6560 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6561 if ${lt_cv_ar_at_file+:} false; then :
6562 $as_echo_n "(cached
) " >&6
6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */
6576 if ac_fn_c_try_compile "$LINENO"; then :
6577 echo conftest.$ac_objext > conftest.lst
6578 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6579 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6580 (eval $lt_ar_try) 2>&5
6582 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6583 test $ac_status = 0; }
6584 if test 0 -eq "$ac_status"; then
6585 # Ensure the archiver fails upon bogus file names.
6586 rm -f conftest.$ac_objext libconftest.a
6587 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6588 (eval $lt_ar_try) 2>&5
6590 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6591 test $ac_status = 0; }
6592 if test 0 -ne "$ac_status"; then
6596 rm -f conftest.* libconftest.a
6599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6603 $as_echo "$lt_cv_ar_at_file" >&6; }
6605 if test no = "$lt_cv_ar_at_file"; then
6608 archiver_list_spec=$lt_cv_ar_at_file
6617 if test -n "$ac_tool_prefix"; then
6618 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6619 set dummy ${ac_tool_prefix}strip; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6621 $as_echo_n "checking
for $ac_word...
" >&6; }
6622 if ${ac_cv_prog_STRIP+:} false; then :
6623 $as_echo_n "(cached
) " >&6
6625 if test -n "$STRIP"; then
6626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6645 STRIP=$ac_cv_prog_STRIP
6646 if test -n "$STRIP"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6648 $as_echo "$STRIP" >&6; }
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6651 $as_echo "no
" >&6; }
6656 if test -z "$ac_cv_prog_STRIP"; then
6658 # Extract the first word of "strip
", so it can be a program name with args.
6659 set dummy strip; ac_word=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6661 $as_echo_n "checking
for $ac_word...
" >&6; }
6662 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6663 $as_echo_n "(cached
) " >&6
6665 if test -n "$ac_ct_STRIP"; then
6666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 test -z "$as_dir" && as_dir=.
6673 for ac_exec_ext in '' $ac_executable_extensions; do
6674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6675 ac_cv_prog_ac_ct_STRIP="strip
"
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6686 if test -n "$ac_ct_STRIP"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6688 $as_echo "$ac_ct_STRIP" >&6; }
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6691 $as_echo "no
" >&6; }
6694 if test "x
$ac_ct_STRIP" = x; then
6697 case $cross_compiling:$ac_tool_warned in
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6700 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6701 ac_tool_warned=yes ;;
6706 STRIP="$ac_cv_prog_STRIP"
6709 test -z "$STRIP" && STRIP=:
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6718 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6720 $as_echo_n "checking
for $ac_word...
" >&6; }
6721 if ${ac_cv_prog_RANLIB+:} false; then :
6722 $as_echo_n "(cached
) " >&6
6724 if test -n "$RANLIB"; then
6725 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6734 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6744 RANLIB=$ac_cv_prog_RANLIB
6745 if test -n "$RANLIB"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6747 $as_echo "$RANLIB" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6750 $as_echo "no
" >&6; }
6755 if test -z "$ac_cv_prog_RANLIB"; then
6756 ac_ct_RANLIB=$RANLIB
6757 # Extract the first word of "ranlib
", so it can be a program name with args.
6758 set dummy ranlib; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6760 $as_echo_n "checking
for $ac_word...
" >&6; }
6761 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6762 $as_echo_n "(cached
) " >&6
6764 if test -n "$ac_ct_RANLIB"; then
6765 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6784 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6785 if test -n "$ac_ct_RANLIB"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6787 $as_echo "$ac_ct_RANLIB" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6790 $as_echo "no
" >&6; }
6793 if test "x
$ac_ct_RANLIB" = x; then
6796 case $cross_compiling:$ac_tool_warned in
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6799 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6800 ac_tool_warned=yes ;;
6802 RANLIB=$ac_ct_RANLIB
6805 RANLIB="$ac_cv_prog_RANLIB"
6808 test -z "$RANLIB" && RANLIB=:
6815 # Determine commands to create old-style static archives.
6816 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6817 old_postinstall_cmds='chmod 644 $oldlib'
6818 old_postuninstall_cmds=
6820 if test -n "$RANLIB"; then
6823 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6826 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6829 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6834 lock_old_archive_extraction=yes ;;
6836 lock_old_archive_extraction=no ;;
6877 # If no C compiler was specified, use CC.
6880 # If no C compiler flags were specified, use CFLAGS.
6881 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6883 # Allow CC to be a program name with arguments.
6887 # Check for command to grab the raw symbol name followed by C symbol from nm.
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6889 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6890 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6891 $as_echo_n "(cached
) " >&6
6894 # These are sane defaults that work on at least a few old systems.
6895 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6897 # Character class describing NM global symbol codes.
6898 symcode='[BCDEGRST]'
6900 # Regexp to match symbols that can be accessed directly from C.
6901 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6903 # Define system-specific variables.
6908 cygwin* | mingw* | pw32* | cegcc*)
6909 symcode='[ABCDGISTW]'
6912 if test ia64 = "$host_cpu"; then
6913 symcode='[ABCDEGRST]'
6917 symcode='[BCDEGRST]'
6920 symcode='[BCDEGQRST]'
6931 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6939 # If we're using GNU nm, then use its standard symbol codes.
6940 case `$NM -V 2>&1` in
6941 *GNU* | *'with BFD'*)
6942 symcode='[ABCDGIRSTW]' ;;
6945 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6946 # Gets list of data symbols to import.
6947 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6948 # Adjust the below global symbol transforms to fixup imported variables.
6949 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6950 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6951 lt_c_name_lib_hook="\
6952 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6953 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6955 # Disable hooks by default.
6956 lt_cv_sys_global_symbol_to_import=
6962 # Transform an extracted symbol line into a proper C declaration.
6963 # Some systems (esp. on ia64) link data and code symbols differently,
6964 # so use this general approach.
6965 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6967 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6968 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6970 # Transform an extracted symbol line into symbol name and symbol address
6971 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6973 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6974 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6976 # Transform an extracted symbol line into symbol name with lib prefix and
6978 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6979 $lt_c_name_lib_hook\
6980 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6981 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6982 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6984 # Handle CRLF in mingw tool chain
6988 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6992 # Try without a prefix underscore, then with it.
6993 for ac_symprfx in "" "_
"; do
6995 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6996 symxfrm="\\1 $ac_symprfx\\2 \\2"
6998 # Write the raw and C identifiers.
6999 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7000 # Fake it for dumpbin and say T for any non-static function,
7001 # D for any global variable and I for any imported variable.
7002 # Also find C++ and __fastcall symbols from MSVC++,
7003 # which start with @ or ?.
7004 lt_cv_sys_global_symbol_pipe="$AWK '"\
7005 " {last_section=section; section=\$ 3};"\
7006 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7007 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7008 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7009 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7010 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7011 " \$ 0!~/External *\|/{next};"\
7012 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7013 " {if(hide[section]) next};"\
7014 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7015 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7016 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7017 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7018 " ' prfx
=^
$ac_symprfx"
7020 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7022 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7024 # Check to see that the pipe works correctly.
7028 cat > conftest.$ac_ext <<_LT_EOF
7033 void nm_test_func(void);
7034 void nm_test_func(void){}
7038 int main(){nm_test_var='a';nm_test_func();return(0);}
7041 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7042 (eval $ac_compile) 2>&5
7044 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7045 test $ac_status = 0; }; then
7046 # Now try to grab the symbols.
7048 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7049 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7051 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7052 test $ac_status = 0; } && test -s "$nlist"; then
7053 # Try sorting and uniquifying the output.
7054 if sort "$nlist" | uniq > "$nlist"T; then
7055 mv -f "$nlist"T "$nlist"
7060 # Make sure that we snagged all the symbols we need.
7061 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7062 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7063 cat <<_LT_EOF > conftest.$ac_ext
7064 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7065 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7066 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7067 relocations are performed -- see ld's documentation on pseudo-relocs. */
7068 # define LT_DLSYM_CONST
7069 #elif defined __osf__
7070 /* This system does not cope well with relocations in const data. */
7071 # define LT_DLSYM_CONST
7073 # define LT_DLSYM_CONST const
7081 # Now generate the symbol file.
7082 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7084 cat <<_LT_EOF >> conftest.$ac_ext
7086 /* The mapping between symbol names and symbols. */
7087 LT_DLSYM_CONST struct {
7091 lt__PROGRAM__LTX_preloaded_symbols[] =
7093 { "@PROGRAM@
", (void *) 0 },
7095 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7096 cat <<\_LT_EOF >> conftest.$ac_ext
7100 /* This works around a problem in FreeBSD linker */
7101 #ifdef FREEBSD_WORKAROUND
7102 static const void *lt_preloaded_setup() {
7103 return lt__PROGRAM__LTX_preloaded_symbols;
7111 # Now try linking the two files.
7112 mv conftest.$ac_objext conftstm.$ac_objext
7113 lt_globsym_save_LIBS=$LIBS
7114 lt_globsym_save_CFLAGS=$CFLAGS
7115 LIBS=conftstm.$ac_objext
7116 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7117 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7118 (eval $ac_link) 2>&5
7120 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7121 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7124 LIBS=$lt_globsym_save_LIBS
7125 CFLAGS=$lt_globsym_save_CFLAGS
7127 echo "cannot
find nm_test_func
in $nlist" >&5
7130 echo "cannot
find nm_test_var
in $nlist" >&5
7133 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7136 echo "$progname: failed program was
:" >&5
7137 cat conftest.$ac_ext >&5
7139 rm -rf conftest* conftst*
7141 # Do not use the global_symbol_pipe unless it works.
7142 if test yes = "$pipe_works"; then
7145 lt_cv_sys_global_symbol_pipe=
7151 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7152 lt_cv_sys_global_symbol_to_cdecl=
7154 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7156 $as_echo "failed
" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7159 $as_echo "ok
" >&6; }
7162 # Response file support.
7163 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7164 nm_file_list_spec='@'
7165 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7166 nm_file_list_spec='@'
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7206 $as_echo_n "checking
for sysroot...
" >&6; }
7208 # Check whether --with-sysroot was given.
7209 if test "${with_sysroot+set}" = set; then :
7210 withval=$with_sysroot;
7217 case $with_sysroot in #(
7219 if test yes = "$GCC"; then
7220 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7224 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7230 $as_echo "$with_sysroot" >&6; }
7231 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7236 $as_echo "${lt_sysroot:-no}" >&6; }
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7243 $as_echo_n "checking
for a working
dd...
" >&6; }
7244 if ${ac_cv_path_lt_DD+:} false; then :
7245 $as_echo_n "(cached
) " >&6
7247 printf 0123456789abcdef0123456789abcdef >conftest.i
7248 cat conftest.i conftest.i >conftest2.i
7250 if test -z "$lt_DD"; then
7251 ac_path_lt_DD_found=false
7252 # Loop through the user's path and test for each of PROGNAME-LIST
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 test -z "$as_dir" && as_dir=.
7258 for ac_prog in dd; do
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7261 as_fn_executable_p "$ac_path_lt_DD" || continue
7262 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7263 cmp -s conftest.i conftest.out \
7264 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7266 $ac_path_lt_DD_found && break 3
7271 if test -z "$ac_cv_path_lt_DD"; then
7275 ac_cv_path_lt_DD=$lt_DD
7278 rm -f conftest.i conftest2.i conftest.out
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7281 $as_echo "$ac_cv_path_lt_DD" >&6; }
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7285 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7286 if ${lt_cv_truncate_bin+:} false; then :
7287 $as_echo_n "(cached
) " >&6
7289 printf 0123456789abcdef0123456789abcdef >conftest.i
7290 cat conftest.i conftest.i >conftest2.i
7292 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7293 cmp -s conftest.i conftest.out \
7294 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7296 rm -f conftest.i conftest2.i conftest.out
7297 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7300 $as_echo "$lt_cv_truncate_bin" >&6; }
7308 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7311 for cc_temp in $*""; do
7313 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7314 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7319 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7322 # Check whether --enable-libtool-lock was given.
7323 if test "${enable_libtool_lock+set}" = set; then :
7324 enableval=$enable_libtool_lock;
7327 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7329 # Some flags need to be propagated to the compiler or linker for good
7333 # Find out what ABI is being produced by ac_compile, and set mode
7334 # options accordingly.
7335 echo 'int i;' > conftest.$ac_ext
7336 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7337 (eval $ac_compile) 2>&5
7339 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7340 test $ac_status = 0; }; then
7341 case `/usr/bin/file conftest.$ac_objext` in
7353 # Find out what ABI is being produced by ac_compile, and set linker
7354 # options accordingly.
7355 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7356 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7357 (eval $ac_compile) 2>&5
7359 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7360 test $ac_status = 0; }; then
7361 if test yes = "$lt_cv_prog_gnu_ld"; then
7362 case `/usr/bin/file conftest.$ac_objext` in
7364 LD="${LD-ld} -melf32bsmip"
7367 LD="${LD-ld} -melf32bmipn32"
7370 LD="${LD-ld} -melf64bmip"
7374 case `/usr/bin/file conftest.$ac_objext` in
7391 # Find out what ABI is being produced by ac_compile, and set linker
7392 # options accordingly.
7393 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7394 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7395 (eval $ac_compile) 2>&5
7397 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7398 test $ac_status = 0; }; then
7400 case `/usr/bin/file conftest.$ac_objext` in
7408 case `/usr/bin/file conftest.$ac_objext` in
7410 emul="${emul}btsmip
"
7413 emul="${emul}ltsmip
"
7416 case `/usr/bin/file conftest.$ac_objext` in
7421 LD="${LD-ld} -m $emul"
7426 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7427 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7428 # Find out what ABI is being produced by ac_compile, and set linker
7429 # options accordingly. Note that the listed cases only cover the
7430 # situations where additional linker options are needed (such as when
7431 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7432 # vice versa); the common cases where no linker options are needed do
7433 # not appear in the list.
7434 echo 'int i;' > conftest.$ac_ext
7435 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7436 (eval $ac_compile) 2>&5
7438 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7439 test $ac_status = 0; }; then
7440 case `/usr/bin/file conftest.o` in
7443 x86_64-*kfreebsd*-gnu)
7444 LD="${LD-ld} -m elf_i386_fbsd
"
7447 case `/usr/bin/file conftest.o` in
7449 LD="${LD-ld} -m elf32_x86_64
"
7452 LD="${LD-ld} -m elf_i386
"
7456 powerpc64le-*linux*)
7457 LD="${LD-ld} -m elf32lppclinux
"
7460 LD="${LD-ld} -m elf32ppclinux
"
7463 LD="${LD-ld} -m elf_s390
"
7466 LD="${LD-ld} -m elf32_sparc
"
7472 x86_64-*kfreebsd*-gnu)
7473 LD="${LD-ld} -m elf_x86_64_fbsd
"
7476 LD="${LD-ld} -m elf_x86_64
"
7479 LD="${LD-ld} -m elf64lppc
"
7482 LD="${LD-ld} -m elf64ppc
"
7484 s390*-*linux*|s390*-*tpf*)
7485 LD="${LD-ld} -m elf64_s390
"
7488 LD="${LD-ld} -m elf64_sparc
"
7498 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7500 CFLAGS="$CFLAGS -belf"
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7502 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7503 if ${lt_cv_cc_needs_belf+:} false; then :
7504 $as_echo_n "(cached
) " >&6
7507 ac_cpp='$CPP $CPPFLAGS'
7508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7513 /* end confdefs.h. */
7523 if ac_fn_c_try_link "$LINENO"; then :
7524 lt_cv_cc_needs_belf=yes
7526 lt_cv_cc_needs_belf=no
7528 rm -f core conftest.err conftest.$ac_objext \
7529 conftest$ac_exeext conftest.$ac_ext
7531 ac_cpp='$CPP $CPPFLAGS'
7532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7538 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7539 if test yes != "$lt_cv_cc_needs_belf"; then
7540 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7545 # Find out what ABI is being produced by ac_compile, and set linker
7546 # options accordingly.
7547 echo 'int i;' > conftest.$ac_ext
7548 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7549 (eval $ac_compile) 2>&5
7551 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7552 test $ac_status = 0; }; then
7553 case `/usr/bin/file conftest.o` in
7555 case $lt_cv_prog_gnu_ld in
7558 i?86-*-solaris*|x86_64-*-solaris*)
7559 LD="${LD-ld} -m elf_x86_64
"
7562 LD="${LD-ld} -m elf64_sparc
"
7565 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7566 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7571 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7583 need_locks=$enable_libtool_lock
7585 if test -n "$ac_tool_prefix"; then
7586 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7587 set dummy ${ac_tool_prefix}mt; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7589 $as_echo_n "checking
for $ac_word...
" >&6; }
7590 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7591 $as_echo_n "(cached
) " >&6
7593 if test -n "$MANIFEST_TOOL"; then
7594 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7613 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7614 if test -n "$MANIFEST_TOOL"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7616 $as_echo "$MANIFEST_TOOL" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7619 $as_echo "no
" >&6; }
7624 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7625 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7626 # Extract the first word of "mt
", so it can be a program name with args.
7627 set dummy mt; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7629 $as_echo_n "checking
for $ac_word...
" >&6; }
7630 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7631 $as_echo_n "(cached
) " >&6
7633 if test -n "$ac_ct_MANIFEST_TOOL"; then
7634 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7643 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7653 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7654 if test -n "$ac_ct_MANIFEST_TOOL"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7656 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7659 $as_echo "no
" >&6; }
7662 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7665 case $cross_compiling:$ac_tool_warned in
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7668 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7669 ac_tool_warned=yes ;;
7671 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7674 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7677 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7679 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7680 if ${lt_cv_path_mainfest_tool+:} false; then :
7681 $as_echo_n "(cached
) " >&6
7683 lt_cv_path_mainfest_tool=no
7684 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7685 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7686 cat conftest.err >&5
7687 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7688 lt_cv_path_mainfest_tool=yes
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7693 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7694 if test yes != "$lt_cv_path_mainfest_tool"; then
7704 rhapsody* | darwin*)
7705 if test -n "$ac_tool_prefix"; then
7706 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7707 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7709 $as_echo_n "checking
for $ac_word...
" >&6; }
7710 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7711 $as_echo_n "(cached
) " >&6
7713 if test -n "$DSYMUTIL"; then
7714 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7723 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7733 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7734 if test -n "$DSYMUTIL"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7736 $as_echo "$DSYMUTIL" >&6; }
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7739 $as_echo "no
" >&6; }
7744 if test -z "$ac_cv_prog_DSYMUTIL"; then
7745 ac_ct_DSYMUTIL=$DSYMUTIL
7746 # Extract the first word of "dsymutil
", so it can be a program name with args.
7747 set dummy dsymutil; ac_word=$2
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7749 $as_echo_n "checking
for $ac_word...
" >&6; }
7750 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7751 $as_echo_n "(cached
) " >&6
7753 if test -n "$ac_ct_DSYMUTIL"; then
7754 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7760 test -z "$as_dir" && as_dir=.
7761 for ac_exec_ext in '' $ac_executable_extensions; do
7762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7763 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7764 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7773 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7774 if test -n "$ac_ct_DSYMUTIL"; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7776 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7779 $as_echo "no
" >&6; }
7782 if test "x
$ac_ct_DSYMUTIL" = x; then
7785 case $cross_compiling:$ac_tool_warned in
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7788 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7789 ac_tool_warned=yes ;;
7791 DSYMUTIL=$ac_ct_DSYMUTIL
7794 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7797 if test -n "$ac_tool_prefix"; then
7798 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7799 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7801 $as_echo_n "checking
for $ac_word...
" >&6; }
7802 if ${ac_cv_prog_NMEDIT+:} false; then :
7803 $as_echo_n "(cached
) " >&6
7805 if test -n "$NMEDIT"; then
7806 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7812 test -z "$as_dir" && as_dir=.
7813 for ac_exec_ext in '' $ac_executable_extensions; do
7814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7815 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7825 NMEDIT=$ac_cv_prog_NMEDIT
7826 if test -n "$NMEDIT"; then
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7828 $as_echo "$NMEDIT" >&6; }
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7831 $as_echo "no
" >&6; }
7836 if test -z "$ac_cv_prog_NMEDIT"; then
7837 ac_ct_NMEDIT=$NMEDIT
7838 # Extract the first word of "nmedit
", so it can be a program name with args.
7839 set dummy nmedit; ac_word=$2
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7841 $as_echo_n "checking
for $ac_word...
" >&6; }
7842 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7843 $as_echo_n "(cached
) " >&6
7845 if test -n "$ac_ct_NMEDIT"; then
7846 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7852 test -z "$as_dir" && as_dir=.
7853 for ac_exec_ext in '' $ac_executable_extensions; do
7854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7855 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7856 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7865 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7866 if test -n "$ac_ct_NMEDIT"; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7868 $as_echo "$ac_ct_NMEDIT" >&6; }
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7871 $as_echo "no
" >&6; }
7874 if test "x
$ac_ct_NMEDIT" = x; then
7877 case $cross_compiling:$ac_tool_warned in
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7880 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7881 ac_tool_warned=yes ;;
7883 NMEDIT=$ac_ct_NMEDIT
7886 NMEDIT="$ac_cv_prog_NMEDIT"
7889 if test -n "$ac_tool_prefix"; then
7890 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7891 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7893 $as_echo_n "checking
for $ac_word...
" >&6; }
7894 if ${ac_cv_prog_LIPO+:} false; then :
7895 $as_echo_n "(cached
) " >&6
7897 if test -n "$LIPO"; then
7898 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7904 test -z "$as_dir" && as_dir=.
7905 for ac_exec_ext in '' $ac_executable_extensions; do
7906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7907 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7917 LIPO=$ac_cv_prog_LIPO
7918 if test -n "$LIPO"; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7920 $as_echo "$LIPO" >&6; }
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7923 $as_echo "no
" >&6; }
7928 if test -z "$ac_cv_prog_LIPO"; then
7930 # Extract the first word of "lipo
", so it can be a program name with args.
7931 set dummy lipo; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7933 $as_echo_n "checking
for $ac_word...
" >&6; }
7934 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7935 $as_echo_n "(cached
) " >&6
7937 if test -n "$ac_ct_LIPO"; then
7938 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 test -z "$as_dir" && as_dir=.
7945 for ac_exec_ext in '' $ac_executable_extensions; do
7946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7947 ac_cv_prog_ac_ct_LIPO="lipo
"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7957 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7958 if test -n "$ac_ct_LIPO"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7960 $as_echo "$ac_ct_LIPO" >&6; }
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7963 $as_echo "no
" >&6; }
7966 if test "x
$ac_ct_LIPO" = x; then
7969 case $cross_compiling:$ac_tool_warned in
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7972 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7973 ac_tool_warned=yes ;;
7978 LIPO="$ac_cv_prog_LIPO"
7981 if test -n "$ac_tool_prefix"; then
7982 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7983 set dummy ${ac_tool_prefix}otool; ac_word=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7985 $as_echo_n "checking
for $ac_word...
" >&6; }
7986 if ${ac_cv_prog_OTOOL+:} false; then :
7987 $as_echo_n "(cached
) " >&6
7989 if test -n "$OTOOL"; then
7990 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7999 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8009 OTOOL=$ac_cv_prog_OTOOL
8010 if test -n "$OTOOL"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8012 $as_echo "$OTOOL" >&6; }
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8015 $as_echo "no
" >&6; }
8020 if test -z "$ac_cv_prog_OTOOL"; then
8022 # Extract the first word of "otool
", so it can be a program name with args.
8023 set dummy otool; ac_word=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8025 $as_echo_n "checking
for $ac_word...
" >&6; }
8026 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8027 $as_echo_n "(cached
) " >&6
8029 if test -n "$ac_ct_OTOOL"; then
8030 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8036 test -z "$as_dir" && as_dir=.
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8039 ac_cv_prog_ac_ct_OTOOL="otool
"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8049 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8050 if test -n "$ac_ct_OTOOL"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8052 $as_echo "$ac_ct_OTOOL" >&6; }
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8055 $as_echo "no
" >&6; }
8058 if test "x
$ac_ct_OTOOL" = x; then
8061 case $cross_compiling:$ac_tool_warned in
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8064 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8065 ac_tool_warned=yes ;;
8070 OTOOL="$ac_cv_prog_OTOOL"
8073 if test -n "$ac_tool_prefix"; then
8074 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8075 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8077 $as_echo_n "checking
for $ac_word...
" >&6; }
8078 if ${ac_cv_prog_OTOOL64+:} false; then :
8079 $as_echo_n "(cached
) " >&6
8081 if test -n "$OTOOL64"; then
8082 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8101 OTOOL64=$ac_cv_prog_OTOOL64
8102 if test -n "$OTOOL64"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8104 $as_echo "$OTOOL64" >&6; }
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8107 $as_echo "no
" >&6; }
8112 if test -z "$ac_cv_prog_OTOOL64"; then
8113 ac_ct_OTOOL64=$OTOOL64
8114 # Extract the first word of "otool64
", so it can be a program name with args.
8115 set dummy otool64; ac_word=$2
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8117 $as_echo_n "checking
for $ac_word...
" >&6; }
8118 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8119 $as_echo_n "(cached
) " >&6
8121 if test -n "$ac_ct_OTOOL64"; then
8122 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8128 test -z "$as_dir" && as_dir=.
8129 for ac_exec_ext in '' $ac_executable_extensions; do
8130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8131 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8132 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8141 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8142 if test -n "$ac_ct_OTOOL64"; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8144 $as_echo "$ac_ct_OTOOL64" >&6; }
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8147 $as_echo "no
" >&6; }
8150 if test "x
$ac_ct_OTOOL64" = x; then
8153 case $cross_compiling:$ac_tool_warned in
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8156 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8157 ac_tool_warned=yes ;;
8159 OTOOL64=$ac_ct_OTOOL64
8162 OTOOL64="$ac_cv_prog_OTOOL64"
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8192 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8193 if ${lt_cv_apple_cc_single_mod+:} false; then :
8194 $as_echo_n "(cached
) " >&6
8196 lt_cv_apple_cc_single_mod=no
8197 if test -z "$LT_MULTI_MODULE"; then
8198 # By default we will add the -single_module flag. You can override
8199 # by either setting the environment variable LT_MULTI_MODULE
8200 # non-empty at configure time, or by adding -multi_module to the
8202 rm -rf libconftest.dylib*
8203 echo "int foo
(void
){return 1;}" > conftest.c
8204 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8205 -dynamiclib -Wl,-single_module conftest.c
" >&5
8206 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8207 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8209 # If there is a non-empty error log, and "single_module
"
8210 # appears in it, assume the flag caused a linker warning
8211 if test -s conftest.err && $GREP single_module conftest.err; then
8212 cat conftest.err >&5
8213 # Otherwise, if the output was created with a 0 exit code from
8214 # the compiler, it worked.
8215 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8216 lt_cv_apple_cc_single_mod=yes
8218 cat conftest.err >&5
8220 rm -rf libconftest.dylib*
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8225 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8228 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8229 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8230 $as_echo_n "(cached
) " >&6
8232 lt_cv_ld_exported_symbols_list=no
8233 save_LDFLAGS=$LDFLAGS
8234 echo "_main
" > conftest.sym
8235 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8247 if ac_fn_c_try_link "$LINENO"; then :
8248 lt_cv_ld_exported_symbols_list=yes
8250 lt_cv_ld_exported_symbols_list=no
8252 rm -f core conftest.err conftest.$ac_objext \
8253 conftest$ac_exeext conftest.$ac_ext
8254 LDFLAGS=$save_LDFLAGS
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8258 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8261 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8262 if ${lt_cv_ld_force_load+:} false; then :
8263 $as_echo_n "(cached
) " >&6
8265 lt_cv_ld_force_load=no
8266 cat > conftest.c << _LT_EOF
8267 int forced_loaded() { return 2;}
8269 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8270 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8271 echo "$AR cru libconftest.a conftest.o
" >&5
8272 $AR cru libconftest.a conftest.o 2>&5
8273 echo "$RANLIB libconftest.a
" >&5
8274 $RANLIB libconftest.a 2>&5
8275 cat > conftest.c << _LT_EOF
8276 int main() { return 0;}
8278 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8279 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8281 if test -s conftest.err && $GREP force_load conftest.err; then
8282 cat conftest.err >&5
8283 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8284 lt_cv_ld_force_load=yes
8286 cat conftest.err >&5
8288 rm -f conftest.err libconftest.a conftest conftest.c
8289 rm -rf conftest.dSYM
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8293 $as_echo "$lt_cv_ld_force_load" >&6; }
8295 rhapsody* | darwin1.[012])
8296 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8298 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8299 darwin*) # darwin 5.x on
8300 # if running on 10.5 or later, the deployment target defaults
8301 # to the OS version, if on x86, and 10.4, the deployment
8302 # target defaults to 10.4. Don't you love it?
8303 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8304 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8305 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8307 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8309 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8313 if test yes = "$lt_cv_apple_cc_single_mod"; then
8314 _lt_dar_single_mod='$single_module'
8316 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8317 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8319 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8321 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8322 _lt_dsymutil='~$DSYMUTIL $lib || :'
8329 # func_munge_path_list VARIABLE PATH
8330 # -----------------------------------
8331 # VARIABLE is name of variable containing _space_ separated list of
8332 # directories to be munged by the contents of PATH, which is string
8335 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8337 # string "DIR
[ DIR
]" will be appended to VARIABLE
8338 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8339 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8340 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8342 # VARIABLE will be replaced by "DIR
[ DIR
]"
8343 func_munge_path_list ()
8349 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8352 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8355 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8356 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8359 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8365 ac_cpp='$CPP $CPPFLAGS'
8366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8370 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8371 # On Suns, sometimes $CPP names a directory.
8372 if test -n "$CPP" && test -d "$CPP"; then
8375 if test -z "$CPP"; then
8376 if ${ac_cv_prog_CPP+:} false; then :
8377 $as_echo_n "(cached
) " >&6
8379 # Double quotes because CPP needs to be expanded
8380 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8383 for ac_c_preproc_warn_flag in '' yes
8385 # Use a header file that comes with gcc, so configuring glibc
8386 # with a fresh cross-compiler works.
8387 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8388 # <limits.h> exists even on freestanding compilers.
8389 # On the NeXT, cc -E runs the code through the compiler's parser,
8390 # not just through cpp. "Syntax error
" is here to catch this case.
8391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8392 /* end confdefs.h. */
8394 # include <limits.h>
8396 # include <assert.h>
8400 if ac_fn_c_try_cpp "$LINENO"; then :
8403 # Broken: fails on valid input.
8406 rm -f conftest.err conftest.i conftest.$ac_ext
8408 # OK, works on sane cases. Now check whether nonexistent headers
8409 # can be detected and how.
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8412 #include <ac_nonexistent.h>
8414 if ac_fn_c_try_cpp "$LINENO"; then :
8415 # Broken: success on invalid input.
8418 # Passes both tests.
8422 rm -f conftest.err conftest.i conftest.$ac_ext
8425 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8426 rm -f conftest.i conftest.err conftest.$ac_ext
8427 if $ac_preproc_ok; then :
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8440 $as_echo "$CPP" >&6; }
8442 for ac_c_preproc_warn_flag in '' yes
8444 # Use a header file that comes with gcc, so configuring glibc
8445 # with a fresh cross-compiler works.
8446 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8447 # <limits.h> exists even on freestanding compilers.
8448 # On the NeXT, cc -E runs the code through the compiler's parser,
8449 # not just through cpp. "Syntax error
" is here to catch this case.
8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8453 # include <limits.h>
8455 # include <assert.h>
8459 if ac_fn_c_try_cpp "$LINENO"; then :
8462 # Broken: fails on valid input.
8465 rm -f conftest.err conftest.i conftest.$ac_ext
8467 # OK, works on sane cases. Now check whether nonexistent headers
8468 # can be detected and how.
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8471 #include <ac_nonexistent.h>
8473 if ac_fn_c_try_cpp "$LINENO"; then :
8474 # Broken: success on invalid input.
8477 # Passes both tests.
8481 rm -f conftest.err conftest.i conftest.$ac_ext
8484 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8485 rm -f conftest.i conftest.err conftest.$ac_ext
8486 if $ac_preproc_ok; then :
8489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8491 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8492 See \`config.log' for more details
" "$LINENO" 5; }
8496 ac_cpp='$CPP $CPPFLAGS'
8497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8503 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8504 if ${ac_cv_header_stdc+:} false; then :
8505 $as_echo_n "(cached
) " >&6
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8522 if ac_fn_c_try_compile "$LINENO"; then :
8523 ac_cv_header_stdc=yes
8525 ac_cv_header_stdc=no
8527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8529 if test $ac_cv_header_stdc = yes; then
8530 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8536 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8537 $EGREP "memchr
" >/dev/null 2>&1; then :
8540 ac_cv_header_stdc=no
8546 if test $ac_cv_header_stdc = yes; then
8547 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8553 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8554 $EGREP "free
" >/dev/null 2>&1; then :
8557 ac_cv_header_stdc=no
8563 if test $ac_cv_header_stdc = yes; then
8564 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8565 if test "$cross_compiling" = yes; then :
8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8572 #if ((' ' & 0x0FF) == 0x020)
8573 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8574 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8576 # define ISLOWER(c) \
8577 (('a' <= (c) && (c) <= 'i') \
8578 || ('j' <= (c) && (c) <= 'r') \
8579 || ('s' <= (c) && (c) <= 'z'))
8580 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8583 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8588 for (i = 0; i < 256; i++)
8589 if (XOR (islower (i), ISLOWER (i))
8590 || toupper (i) != TOUPPER (i))
8595 if ac_fn_c_try_run "$LINENO"; then :
8598 ac_cv_header_stdc=no
8600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8601 conftest.$ac_objext conftest.beam conftest.$ac_ext
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8607 $as_echo "$ac_cv_header_stdc" >&6; }
8608 if test $ac_cv_header_stdc = yes; then
8610 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8614 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8615 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8616 inttypes.h stdint.h unistd.h
8618 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8619 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8621 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8622 cat >>confdefs.h
<<_ACEOF
8623 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8631 for ac_header
in dlfcn.h
8633 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8635 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8636 cat >>confdefs.h
<<_ACEOF
8637 #define HAVE_DLFCN_H 1
8645 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8646 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8647 # is not polluted with repeated "-I."
8648 am__isrc
=' -I$(srcdir)'
8649 # test to see if srcdir already configured
8650 if test -f $srcdir/config.status
; then
8651 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8655 # test whether we have cygpath
8656 if test -z "$CYGPATH_W"; then
8657 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
8658 CYGPATH_W
='cygpath -w'
8665 # Define the identity of the package.
8670 cat >>confdefs.h
<<_ACEOF
8671 #define PACKAGE "$PACKAGE"
8675 cat >>confdefs.h
<<_ACEOF
8676 #define VERSION "$VERSION"
8679 # Some tools Automake needs.
8681 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
8684 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
8687 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
8690 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
8693 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
8695 # For better backward compatibility. To be removed once Automake 1.9.x
8696 # dies out for good. For more background, see:
8697 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
8698 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
8699 mkdir_p
='$(MKDIR_P)'
8701 # We need awk for the "check" target (and possibly the TAP driver). The
8702 # system "awk" is bad on some platforms.
8703 # Always define AMTAR for backward compatibility. Yes, it's still used
8704 # in the wild :-( We should find a proper way to deprecate it ...
8708 # We'll loop over all known methods to create a tar archive until one works.
8709 _am_tools
='gnutar pax cpio none'
8711 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
8718 # POSIX will say in a future version that running "rm -f" with no argument
8719 # is OK; and we want to be able to make that assumption in our Makefile
8720 # recipes. So use an aggressive probe to check that the usage we want is
8721 # actually supported "in the wild" to an acceptable degree.
8722 # See automake bug#10828.
8723 # To make any issue more visible, cause the running configure to be aborted
8724 # by default if the 'rm' program in use doesn't match our expectations; the
8725 # user can still override this though.
8726 if rm -f && rm -fr && rm -rf; then : OK
; else
8730 Your 'rm' program seems unable to run without file operands specified
8731 on the command line, even when the '-f' option is present. This is contrary
8732 to the behaviour of most rm programs out there, and not conforming with
8733 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
8735 Please tell bug-automake@gnu.org about your system, including the value
8736 of your $PATH and any error possibly output before this message. This
8737 can help us improve future automake versions.
8740 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
8741 echo 'Configuration will proceed anyway, since you have set the' >&2
8742 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
8746 Aborting the configuration process, to ensure you take notice of the issue.
8748 You can download and install GNU coreutils to get an 'rm' implementation
8749 that behaves properly: <http://www.gnu.org/software/coreutils/>.
8751 If you want to complete the configuration process using your problematic
8752 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
8753 to "yes", and re-run configure.
8756 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
8762 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
8763 # Check whether --enable-maintainer-mode was given.
8764 if test "${enable_maintainer_mode+set}" = set; then :
8765 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
8767 USE_MAINTAINER_MODE
=no
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
8771 $as_echo "$USE_MAINTAINER_MODE" >&6; }
8772 if test $USE_MAINTAINER_MODE = yes; then
8773 MAINTAINER_MODE_TRUE
=
8774 MAINTAINER_MODE_FALSE
='#'
8776 MAINTAINER_MODE_TRUE
='#'
8777 MAINTAINER_MODE_FALSE
=
8780 MAINT
=$MAINTAINER_MODE_TRUE
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
8784 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
8785 if ${kb_cv_c_prototypes+:} false
; then :
8786 $as_echo_n "(cached) " >&6
8788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8794 extern void foo(int i,...);
8799 if ac_fn_c_try_link
"$LINENO"; then :
8800 kb_cv_c_prototypes
=yes
8802 kb_cv_c_prototypes
=no
8804 rm -f core conftest.err conftest.
$ac_objext \
8805 conftest
$ac_exeext conftest.
$ac_ext
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
8808 $as_echo "$kb_cv_c_prototypes" >&6; }
8809 if test "x$kb_cv_c_prototypes" = xno
; then
8810 as_fn_error $?
"Sorry, your compiler does not understand prototypes." "$LINENO" 5
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
8813 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
8814 if ${kpse_cv_warning_cflags+:} false
; then :
8815 $as_echo_n "(cached) " >&6
8817 if test "x$GCC" = xyes
; then
8818 kpse_cv_warning_cflags
=
8819 if test "x$enable_compiler_warnings" != xno
; then
8820 kpse_cv_warning_cflags
="-Wimplicit -Wreturn-type"
8821 case `$CC -dumpversion` in #(
8823 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
8827 case `$CC -dumpversion` in #(
8829 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
8833 if test "x$enable_compiler_warnings" != xmin
; then
8834 kpse_cv_warning_cflags
="-Wall -Wunused $kpse_cv_warning_cflags"
8835 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
8836 if test "x$enable_compiler_warnings" != xyes
; then
8837 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
8838 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
8839 case `$CC -dumpversion` in #(
8841 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
8845 if test "x$enable_compiler_warnings" != xmax
; then
8846 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wshadow"
8851 elif test "x$enable_compiler_warnings" = xno
; then
8852 kpse_cv_warning_cflags
=
8854 kpse_cv_warning_cflags
= # FIXME: warning flags for non-GNU C compilers
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
8858 $as_echo "$kpse_cv_warning_cflags" >&6; }
8859 WARNING_CFLAGS
=$kpse_cv_warning_cflags
8873 enable_win32_dll
=yes
8876 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
8877 if test -n "$ac_tool_prefix"; then
8878 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8879 set dummy
${ac_tool_prefix}as
; ac_word
=$2
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8881 $as_echo_n "checking for $ac_word... " >&6; }
8882 if ${ac_cv_prog_AS+:} false
; then :
8883 $as_echo_n "(cached) " >&6
8885 if test -n "$AS"; then
8886 ac_cv_prog_AS
="$AS" # Let the user override the test.
8888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8892 test -z "$as_dir" && as_dir
=.
8893 for ac_exec_ext
in '' $ac_executable_extensions; do
8894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8895 ac_cv_prog_AS
="${ac_tool_prefix}as"
8896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8906 if test -n "$AS"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8908 $as_echo "$AS" >&6; }
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8911 $as_echo "no" >&6; }
8916 if test -z "$ac_cv_prog_AS"; then
8918 # Extract the first word of "as", so it can be a program name with args.
8919 set dummy as
; ac_word
=$2
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8921 $as_echo_n "checking for $ac_word... " >&6; }
8922 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
8923 $as_echo_n "(cached) " >&6
8925 if test -n "$ac_ct_AS"; then
8926 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
8928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8932 test -z "$as_dir" && as_dir
=.
8933 for ac_exec_ext
in '' $ac_executable_extensions; do
8934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8935 ac_cv_prog_ac_ct_AS
="as"
8936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8945 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
8946 if test -n "$ac_ct_AS"; then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8948 $as_echo "$ac_ct_AS" >&6; }
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8951 $as_echo "no" >&6; }
8954 if test "x$ac_ct_AS" = x
; then
8957 case $cross_compiling:$ac_tool_warned in
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8961 ac_tool_warned
=yes ;;
8969 if test -n "$ac_tool_prefix"; then
8970 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8971 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8973 $as_echo_n "checking for $ac_word... " >&6; }
8974 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8975 $as_echo_n "(cached) " >&6
8977 if test -n "$DLLTOOL"; then
8978 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8984 test -z "$as_dir" && as_dir
=.
8985 for ac_exec_ext
in '' $ac_executable_extensions; do
8986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8987 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8997 DLLTOOL
=$ac_cv_prog_DLLTOOL
8998 if test -n "$DLLTOOL"; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9000 $as_echo "$DLLTOOL" >&6; }
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9003 $as_echo "no" >&6; }
9008 if test -z "$ac_cv_prog_DLLTOOL"; then
9009 ac_ct_DLLTOOL
=$DLLTOOL
9010 # Extract the first word of "dlltool", so it can be a program name with args.
9011 set dummy dlltool
; ac_word
=$2
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9013 $as_echo_n "checking for $ac_word... " >&6; }
9014 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
9015 $as_echo_n "(cached) " >&6
9017 if test -n "$ac_ct_DLLTOOL"; then
9018 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9024 test -z "$as_dir" && as_dir
=.
9025 for ac_exec_ext
in '' $ac_executable_extensions; do
9026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9027 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9037 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9038 if test -n "$ac_ct_DLLTOOL"; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9040 $as_echo "$ac_ct_DLLTOOL" >&6; }
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9043 $as_echo "no" >&6; }
9046 if test "x$ac_ct_DLLTOOL" = x
; then
9049 case $cross_compiling:$ac_tool_warned in
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9053 ac_tool_warned
=yes ;;
9055 DLLTOOL
=$ac_ct_DLLTOOL
9058 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9061 if test -n "$ac_tool_prefix"; then
9062 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9063 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9065 $as_echo_n "checking for $ac_word... " >&6; }
9066 if ${ac_cv_prog_OBJDUMP+:} false
; then :
9067 $as_echo_n "(cached) " >&6
9069 if test -n "$OBJDUMP"; then
9070 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
9072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9076 test -z "$as_dir" && as_dir
=.
9077 for ac_exec_ext
in '' $ac_executable_extensions; do
9078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9079 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
9080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9089 OBJDUMP
=$ac_cv_prog_OBJDUMP
9090 if test -n "$OBJDUMP"; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9092 $as_echo "$OBJDUMP" >&6; }
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9095 $as_echo "no" >&6; }
9100 if test -z "$ac_cv_prog_OBJDUMP"; then
9101 ac_ct_OBJDUMP
=$OBJDUMP
9102 # Extract the first word of "objdump", so it can be a program name with args.
9103 set dummy objdump
; ac_word
=$2
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9105 $as_echo_n "checking for $ac_word... " >&6; }
9106 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
9107 $as_echo_n "(cached) " >&6
9109 if test -n "$ac_ct_OBJDUMP"; then
9110 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
9112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9116 test -z "$as_dir" && as_dir
=.
9117 for ac_exec_ext
in '' $ac_executable_extensions; do
9118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9119 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
9120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9129 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
9130 if test -n "$ac_ct_OBJDUMP"; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9132 $as_echo "$ac_ct_OBJDUMP" >&6; }
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9135 $as_echo "no" >&6; }
9138 if test "x$ac_ct_OBJDUMP" = x
; then
9141 case $cross_compiling:$ac_tool_warned in
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9145 ac_tool_warned
=yes ;;
9147 OBJDUMP
=$ac_ct_OBJDUMP
9150 OBJDUMP
="$ac_cv_prog_OBJDUMP"
9156 test -z "$AS" && AS
=as
9162 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9168 test -z "$OBJDUMP" && OBJDUMP
=objdump
9180 # Check whether --enable-shared was given.
9181 if test "${enable_shared+set}" = set; then :
9182 enableval
=$enable_shared; p
=${PACKAGE-default}
9184 yes) enable_shared
=yes ;;
9185 no
) enable_shared
=no
;;
9188 # Look at the argument we got. We use all the common list separators.
9189 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9190 for pkg
in $enableval; do
9192 if test "X$pkg" = "X$p"; then
9211 # Check whether --enable-static was given.
9212 if test "${enable_static+set}" = set; then :
9213 enableval
=$enable_static; p
=${PACKAGE-default}
9215 yes) enable_static
=yes ;;
9216 no
) enable_static
=no
;;
9219 # Look at the argument we got. We use all the common list separators.
9220 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9221 for pkg
in $enableval; do
9223 if test "X$pkg" = "X$p"; then
9243 # Check whether --with-pic was given.
9244 if test "${with_pic+set}" = set; then :
9245 withval
=$with_pic; lt_p
=${PACKAGE-default}
9247 yes|no
) pic_mode
=$withval ;;
9250 # Look at the argument we got. We use all the common list separators.
9251 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9252 for lt_pkg
in $withval; do
9254 if test "X$lt_pkg" = "X$lt_p"; then
9272 # Check whether --enable-fast-install was given.
9273 if test "${enable_fast_install+set}" = set; then :
9274 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9276 yes) enable_fast_install
=yes ;;
9277 no
) enable_fast_install
=no
;;
9279 enable_fast_install
=no
9280 # Look at the argument we got. We use all the common list separators.
9281 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9282 for pkg
in $enableval; do
9284 if test "X$pkg" = "X$p"; then
9285 enable_fast_install
=yes
9292 enable_fast_install
=yes
9302 shared_archive_member_spec
=
9303 case $host,$enable_shared in
9304 power
*-*-aix[5-9]*,yes)
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9306 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9308 # Check whether --with-aix-soname was given.
9309 if test "${with_aix_soname+set}" = set; then :
9310 withval
=$with_aix_soname; case $withval in
9314 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9317 lt_cv_with_aix_soname
=$with_aix_soname
9319 if ${lt_cv_with_aix_soname+:} false
; then :
9320 $as_echo_n "(cached) " >&6
9322 lt_cv_with_aix_soname
=aix
9325 with_aix_soname
=$lt_cv_with_aix_soname
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9329 $as_echo "$with_aix_soname" >&6; }
9330 if test aix
!= "$with_aix_soname"; then
9331 # For the AIX way of multilib, we name the shared archive member
9332 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9333 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9334 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9335 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9336 if test 64 = "${OBJECT_MODE-32}"; then
9337 shared_archive_member_spec
=shr_64
9339 shared_archive_member_spec
=shr
9357 # This can be used to rebuild libtool when needed
9358 LIBTOOL_DEPS
=$ltmain
9360 # Always use our own libtool.
9361 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9392 test -z "$LN_S" && LN_S
="ln -s"
9407 if test -n "${ZSH_VERSION+set}"; then
9408 setopt NO_GLOB_SUBST
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9412 $as_echo_n "checking for objdir... " >&6; }
9413 if ${lt_cv_objdir+:} false
; then :
9414 $as_echo_n "(cached) " >&6
9416 rm -f .libs
2>/dev
/null
9417 mkdir .libs
2>/dev
/null
9418 if test -d .libs
; then
9421 # MS-DOS does not allow filenames that begin with a dot.
9424 rmdir .libs
2>/dev
/null
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9427 $as_echo "$lt_cv_objdir" >&6; }
9428 objdir
=$lt_cv_objdir
9434 cat >>confdefs.h
<<_ACEOF
9435 #define LT_OBJDIR "$lt_cv_objdir/"
9443 # AIX sometimes has problems with the GCC collect2 program. For some
9444 # reason, if we set the COLLECT_NAMES environment variable, the problems
9445 # vanish in a puff of smoke.
9446 if test set != "${COLLECT_NAMES+set}"; then
9448 export COLLECT_NAMES
9455 can_build_shared
=yes
9457 # All known linkers require a '.a' archive for static linking (except MSVC,
9458 # which needs '.lib').
9461 with_gnu_ld
=$lt_cv_prog_gnu_ld
9466 # Set sane defaults for various variables
9467 test -z "$CC" && CC
=cc
9468 test -z "$LTCC" && LTCC
=$CC
9469 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9470 test -z "$LD" && LD
=ld
9471 test -z "$ac_objext" && ac_objext
=o
9473 func_cc_basename
$compiler
9474 cc_basename
=$func_cc_basename_result
9477 # Only perform the check for file, if the check method requires it
9478 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9479 case $deplibs_check_method in
9481 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9483 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9484 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9485 $as_echo_n "(cached) " >&6
9489 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9492 lt_save_MAGIC_CMD
=$MAGIC_CMD
9493 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9494 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9495 for ac_dir
in $ac_dummy; do
9497 test -z "$ac_dir" && ac_dir
=.
9498 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9499 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9500 if test -n "$file_magic_test_file"; then
9501 case $deplibs_check_method in
9503 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9504 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9505 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9506 $EGREP "$file_magic_regex" > /dev
/null
; then
9511 *** Warning: the command libtool uses to detect shared libraries,
9512 *** $file_magic_cmd, produces output that libtool cannot recognize.
9513 *** The result is that libtool may fail to recognize shared libraries
9514 *** as such. This will affect the creation of libtool libraries that
9515 *** depend on shared libraries, but programs linked with such libtool
9516 *** libraries will work regardless of this problem. Nevertheless, you
9517 *** may want to report the problem to your system manager and/or to
9518 *** bug-libtool@gnu.org
9528 MAGIC_CMD
=$lt_save_MAGIC_CMD
9533 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9534 if test -n "$MAGIC_CMD"; then
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9536 $as_echo "$MAGIC_CMD" >&6; }
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9539 $as_echo "no" >&6; }
9546 if test -z "$lt_cv_path_MAGIC_CMD"; then
9547 if test -n "$ac_tool_prefix"; then
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9549 $as_echo_n "checking for file... " >&6; }
9550 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9551 $as_echo_n "(cached) " >&6
9555 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9558 lt_save_MAGIC_CMD
=$MAGIC_CMD
9559 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9560 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9561 for ac_dir
in $ac_dummy; do
9563 test -z "$ac_dir" && ac_dir
=.
9564 if test -f "$ac_dir/file"; then
9565 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9566 if test -n "$file_magic_test_file"; then
9567 case $deplibs_check_method in
9569 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9570 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9571 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9572 $EGREP "$file_magic_regex" > /dev
/null
; then
9577 *** Warning: the command libtool uses to detect shared libraries,
9578 *** $file_magic_cmd, produces output that libtool cannot recognize.
9579 *** The result is that libtool may fail to recognize shared libraries
9580 *** as such. This will affect the creation of libtool libraries that
9581 *** depend on shared libraries, but programs linked with such libtool
9582 *** libraries will work regardless of this problem. Nevertheless, you
9583 *** may want to report the problem to your system manager and/or to
9584 *** bug-libtool@gnu.org
9594 MAGIC_CMD
=$lt_save_MAGIC_CMD
9599 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9600 if test -n "$MAGIC_CMD"; then
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9602 $as_echo "$MAGIC_CMD" >&6; }
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9605 $as_echo "no" >&6; }
9618 # Use C for the default configuration in the libtool script
9622 ac_cpp
='$CPP $CPPFLAGS'
9623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9628 # Source file extension for C test sources.
9631 # Object file extension for compiled C test sources.
9635 # Code to be used in simple compile tests
9636 lt_simple_compile_test_code
="int some_variable = 0;"
9638 # Code to be used in simple link tests
9639 lt_simple_link_test_code
='int main(){return(0);}'
9647 # If no C compiler was specified, use CC.
9650 # If no C compiler flags were specified, use CFLAGS.
9651 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9653 # Allow CC to be a program name with arguments.
9656 # Save the default compiler, since it gets overwritten when the other
9657 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9658 compiler_DEFAULT
=$CC
9660 # save warnings/boilerplate of simple test code
9661 ac_outfile
=conftest.
$ac_objext
9662 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9663 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9664 _lt_compiler_boilerplate
=`cat conftest.err`
9667 ac_outfile
=conftest.
$ac_objext
9668 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9669 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9670 _lt_linker_boilerplate
=`cat conftest.err`
9675 ## There is no encapsulation within the following macros, do not change
9676 ## the running order or otherwise move them around unless you know exactly
9677 ## what you are doing...
9678 if test -n "$compiler"; then
9680 lt_prog_compiler_no_builtin_flag
=
9682 if test yes = "$GCC"; then
9683 case $cc_basename in
9685 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9687 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9691 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9692 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9693 $as_echo_n "(cached) " >&6
9695 lt_cv_prog_compiler_rtti_exceptions
=no
9696 ac_outfile
=conftest.
$ac_objext
9697 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9698 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9699 # Insert the option either (1) after the last *FLAGS variable, or
9700 # (2) before a word containing "conftest.", or (3) at the end.
9701 # Note that $ac_compile itself does not contain backslashes and begins
9702 # with a dollar sign (not a hyphen), so the echo should work correctly.
9703 # The option is referenced via a variable to avoid confusing sed.
9704 lt_compile
=`echo "$ac_compile" | $SED \
9705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9707 -e 's:$: $lt_compiler_flag:'`
9708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9709 (eval "$lt_compile" 2>conftest.err
)
9711 cat conftest.err
>&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 if (exit $ac_status) && test -s "$ac_outfile"; then
9714 # The compiler can only warn and ignore the option if not recognized
9715 # So say no if there are warnings other than the usual output.
9716 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9717 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9718 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9719 lt_cv_prog_compiler_rtti_exceptions
=yes
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9726 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9728 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9729 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9741 lt_prog_compiler_wl
=
9742 lt_prog_compiler_pic
=
9743 lt_prog_compiler_static
=
9746 if test yes = "$GCC"; then
9747 lt_prog_compiler_wl
='-Wl,'
9748 lt_prog_compiler_static
='-static'
9752 # All AIX code is PIC.
9753 if test ia64
= "$host_cpu"; then
9754 # AIX 5 now supports IA64 processor
9755 lt_prog_compiler_static
='-Bstatic'
9757 lt_prog_compiler_pic
='-fPIC'
9763 # see comment about AmigaOS4 .so support
9764 lt_prog_compiler_pic
='-fPIC'
9767 # FIXME: we need at least 68020 code to build shared libraries, but
9768 # adding the '-m68020' flag to GCC prevents building anything better,
9770 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9775 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9776 # PIC is the default for these OSes.
9779 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9780 # This hack is so that the source file can tell whether it is being
9781 # built for inclusion in a dll (and should export symbols for example).
9782 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9783 # (--disable-auto-import) libraries
9784 lt_prog_compiler_pic
='-DDLL_EXPORT'
9787 lt_prog_compiler_static
='$wl-static'
9792 darwin
* | rhapsody
*)
9793 # PIC is the default on this platform
9794 # Common symbols not allowed in MH_DYLIB files
9795 lt_prog_compiler_pic
='-fno-common'
9799 # PIC is the default for Haiku.
9800 # The "-static" flag exists, but is broken.
9801 lt_prog_compiler_static
=
9805 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9806 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9807 # sets the default TLS model and affects inlining.
9813 lt_prog_compiler_pic
='-fPIC'
9819 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9820 # Instead, we relocate shared libraries at runtime.
9824 # Just because we use GCC doesn't mean we suddenly get shared libraries
9825 # on systems that don't support them.
9826 lt_prog_compiler_can_build_shared
=no
9831 # QNX uses GNU C++, but need to define -shared option too, otherwise
9833 lt_prog_compiler_pic
='-fPIC -shared'
9837 if test -d /usr
/nec
; then
9838 lt_prog_compiler_pic
=-Kconform_pic
9843 lt_prog_compiler_pic
='-fPIC'
9847 case $cc_basename in
9848 nvcc
*) # Cuda Compiler Driver 2.2
9849 lt_prog_compiler_wl
='-Xlinker '
9850 if test -n "$lt_prog_compiler_pic"; then
9851 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9856 # PORTME Check for flag to pass linker flags through the system compiler.
9859 lt_prog_compiler_wl
='-Wl,'
9860 if test ia64
= "$host_cpu"; then
9861 # AIX 5 now supports IA64 processor
9862 lt_prog_compiler_static
='-Bstatic'
9864 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9868 darwin
* | rhapsody
*)
9869 # PIC is the default on this platform
9870 # Common symbols not allowed in MH_DYLIB files
9871 lt_prog_compiler_pic
='-fno-common'
9872 case $cc_basename in
9874 # NAG Fortran compiler
9875 lt_prog_compiler_wl
='-Wl,-Wl,,'
9876 lt_prog_compiler_pic
='-PIC'
9877 lt_prog_compiler_static
='-Bstatic'
9882 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9883 # This hack is so that the source file can tell whether it is being
9884 # built for inclusion in a dll (and should export symbols for example).
9885 lt_prog_compiler_pic
='-DDLL_EXPORT'
9888 lt_prog_compiler_static
='$wl-static'
9893 hpux9
* | hpux10
* | hpux11
*)
9894 lt_prog_compiler_wl
='-Wl,'
9895 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9902 lt_prog_compiler_pic
='+Z'
9905 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9906 lt_prog_compiler_static
='$wl-a ${wl}archive'
9909 irix5
* | irix6
* | nonstopux
*)
9910 lt_prog_compiler_wl
='-Wl,'
9911 # PIC (with -KPIC) is the default.
9912 lt_prog_compiler_static
='-non_shared'
9915 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9916 case $cc_basename in
9917 # old Intel for x86_64, which still supported -KPIC.
9919 lt_prog_compiler_wl
='-Wl,'
9920 lt_prog_compiler_pic
='-KPIC'
9921 lt_prog_compiler_static
='-static'
9923 # icc used to be incompatible with GCC.
9924 # ICC 10 doesn't accept -KPIC any more.
9926 lt_prog_compiler_wl
='-Wl,'
9927 lt_prog_compiler_pic
='-fPIC'
9928 lt_prog_compiler_static
='-static'
9930 # Lahey Fortran 8.1.
9932 lt_prog_compiler_wl
='-Wl,'
9933 lt_prog_compiler_pic
='--shared'
9934 lt_prog_compiler_static
='--static'
9937 # NAG Fortran compiler
9938 lt_prog_compiler_wl
='-Wl,-Wl,,'
9939 lt_prog_compiler_pic
='-PIC'
9940 lt_prog_compiler_static
='-Bstatic'
9943 # Fabrice Bellard et al's Tiny C Compiler
9944 lt_prog_compiler_wl
='-Wl,'
9945 lt_prog_compiler_pic
='-fPIC'
9946 lt_prog_compiler_static
='-static'
9948 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9949 # Portland Group compilers (*not* the Pentium gcc compiler,
9950 # which looks to be a dead project)
9951 lt_prog_compiler_wl
='-Wl,'
9952 lt_prog_compiler_pic
='-fpic'
9953 lt_prog_compiler_static
='-Bstatic'
9956 lt_prog_compiler_wl
='-Wl,'
9957 # All Alpha code is PIC.
9958 lt_prog_compiler_static
='-non_shared'
9960 xl
* | bgxl
* | bgf
* | mpixl
*)
9961 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9962 lt_prog_compiler_wl
='-Wl,'
9963 lt_prog_compiler_pic
='-qpic'
9964 lt_prog_compiler_static
='-qstaticlink'
9967 case `$CC -V 2>&1 | sed 5q` in
9968 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9969 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9970 lt_prog_compiler_pic
='-KPIC'
9971 lt_prog_compiler_static
='-Bstatic'
9972 lt_prog_compiler_wl
=''
9974 *Sun\ F
* |
*Sun
*Fortran
*)
9975 lt_prog_compiler_pic
='-KPIC'
9976 lt_prog_compiler_static
='-Bstatic'
9977 lt_prog_compiler_wl
='-Qoption ld '
9981 lt_prog_compiler_pic
='-KPIC'
9982 lt_prog_compiler_static
='-Bstatic'
9983 lt_prog_compiler_wl
='-Wl,'
9985 *Intel
*\
[CF
]*Compiler
*)
9986 lt_prog_compiler_wl
='-Wl,'
9987 lt_prog_compiler_pic
='-fPIC'
9988 lt_prog_compiler_static
='-static'
9991 lt_prog_compiler_wl
='-Wl,'
9992 lt_prog_compiler_pic
='-fpic'
9993 lt_prog_compiler_static
='-Bstatic'
10001 lt_prog_compiler_pic
='-KPIC'
10002 lt_prog_compiler_static
='-Bstatic'
10006 # QNX uses GNU C++, but need to define -shared option too, otherwise
10007 # it will coredump.
10008 lt_prog_compiler_pic
='-fPIC -shared'
10011 osf3
* | osf4
* | osf5
*)
10012 lt_prog_compiler_wl
='-Wl,'
10013 # All OSF/1 code is PIC.
10014 lt_prog_compiler_static
='-non_shared'
10018 lt_prog_compiler_static
='-non_shared'
10022 lt_prog_compiler_pic
='-KPIC'
10023 lt_prog_compiler_static
='-Bstatic'
10024 case $cc_basename in
10025 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10026 lt_prog_compiler_wl
='-Qoption ld ';;
10028 lt_prog_compiler_wl
='-Wl,';;
10033 lt_prog_compiler_wl
='-Qoption ld '
10034 lt_prog_compiler_pic
='-PIC'
10035 lt_prog_compiler_static
='-Bstatic'
10038 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10039 lt_prog_compiler_wl
='-Wl,'
10040 lt_prog_compiler_pic
='-KPIC'
10041 lt_prog_compiler_static
='-Bstatic'
10045 if test -d /usr
/nec
; then
10046 lt_prog_compiler_pic
='-Kconform_pic'
10047 lt_prog_compiler_static
='-Bstatic'
10051 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10052 lt_prog_compiler_wl
='-Wl,'
10053 lt_prog_compiler_pic
='-KPIC'
10054 lt_prog_compiler_static
='-Bstatic'
10058 lt_prog_compiler_wl
='-Wl,'
10059 lt_prog_compiler_can_build_shared
=no
10063 lt_prog_compiler_pic
='-pic'
10064 lt_prog_compiler_static
='-Bstatic'
10068 lt_prog_compiler_can_build_shared
=no
10074 # For platforms that do not support PIC, -DPIC is meaningless:
10076 lt_prog_compiler_pic
=
10079 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10084 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10085 if ${lt_cv_prog_compiler_pic+:} false
; then :
10086 $as_echo_n "(cached) " >&6
10088 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10091 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10092 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10095 # Check to make sure the PIC flag actually works.
10097 if test -n "$lt_prog_compiler_pic"; then
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10099 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10100 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10101 $as_echo_n "(cached) " >&6
10103 lt_cv_prog_compiler_pic_works
=no
10104 ac_outfile
=conftest.
$ac_objext
10105 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10106 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10107 # Insert the option either (1) after the last *FLAGS variable, or
10108 # (2) before a word containing "conftest.", or (3) at the end.
10109 # Note that $ac_compile itself does not contain backslashes and begins
10110 # with a dollar sign (not a hyphen), so the echo should work correctly.
10111 # The option is referenced via a variable to avoid confusing sed.
10112 lt_compile
=`echo "$ac_compile" | $SED \
10113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10115 -e 's:$: $lt_compiler_flag:'`
10116 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10117 (eval "$lt_compile" 2>conftest.err
)
10119 cat conftest.err
>&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 if (exit $ac_status) && test -s "$ac_outfile"; then
10122 # The compiler can only warn and ignore the option if not recognized
10123 # So say no if there are warnings other than the usual output.
10124 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10125 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10126 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10127 lt_cv_prog_compiler_pic_works
=yes
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10134 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10136 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10137 case $lt_prog_compiler_pic in
10139 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10142 lt_prog_compiler_pic
=
10143 lt_prog_compiler_can_build_shared
=no
10159 # Check to make sure the static flag actually works.
10161 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10163 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10164 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10165 $as_echo_n "(cached) " >&6
10167 lt_cv_prog_compiler_static_works
=no
10168 save_LDFLAGS
=$LDFLAGS
10169 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10170 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10171 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10172 # The linker can only warn and ignore the option if not recognized
10173 # So say no if there are warnings
10174 if test -s conftest.err
; then
10175 # Append any errors to the config.log.
10176 cat conftest.err
1>&5
10177 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10178 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10179 if diff conftest.exp conftest.er2
>/dev
/null
; then
10180 lt_cv_prog_compiler_static_works
=yes
10183 lt_cv_prog_compiler_static_works
=yes
10187 LDFLAGS
=$save_LDFLAGS
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10191 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10193 if test yes = "$lt_cv_prog_compiler_static_works"; then
10196 lt_prog_compiler_static
=
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10206 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10207 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10208 $as_echo_n "(cached) " >&6
10210 lt_cv_prog_compiler_c_o
=no
10211 $RM -r conftest
2>/dev
/null
10215 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10217 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10218 # Insert the option either (1) after the last *FLAGS variable, or
10219 # (2) before a word containing "conftest.", or (3) at the end.
10220 # Note that $ac_compile itself does not contain backslashes and begins
10221 # with a dollar sign (not a hyphen), so the echo should work correctly.
10222 lt_compile
=`echo "$ac_compile" | $SED \
10223 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10225 -e 's:$: $lt_compiler_flag:'`
10226 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10227 (eval "$lt_compile" 2>out
/conftest.err
)
10229 cat out
/conftest.err
>&5
10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10233 # The compiler can only warn and ignore the option if not recognized
10234 # So say no if there are warnings
10235 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10236 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10237 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10238 lt_cv_prog_compiler_c_o
=yes
10243 # SGI C++ compiler will create directory out/ii_files/ for
10244 # template instantiation
10245 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10246 $RM out
/* && rmdir out
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10253 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10261 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10262 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10263 $as_echo_n "(cached) " >&6
10265 lt_cv_prog_compiler_c_o
=no
10266 $RM -r conftest
2>/dev
/null
10270 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10272 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10273 # Insert the option either (1) after the last *FLAGS variable, or
10274 # (2) before a word containing "conftest.", or (3) at the end.
10275 # Note that $ac_compile itself does not contain backslashes and begins
10276 # with a dollar sign (not a hyphen), so the echo should work correctly.
10277 lt_compile
=`echo "$ac_compile" | $SED \
10278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10280 -e 's:$: $lt_compiler_flag:'`
10281 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10282 (eval "$lt_compile" 2>out
/conftest.err
)
10284 cat out
/conftest.err
>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10288 # The compiler can only warn and ignore the option if not recognized
10289 # So say no if there are warnings
10290 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10291 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10292 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10293 lt_cv_prog_compiler_c_o
=yes
10298 # SGI C++ compiler will create directory out/ii_files/ for
10299 # template instantiation
10300 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10301 $RM out
/* && rmdir out
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10308 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10313 hard_links
=nottested
10314 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10315 # do not overwrite the value of need_locks provided by the user
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10317 $as_echo_n "checking if we can lock with hard links... " >&6; }
10320 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10322 ln conftest.a conftest.b
2>&5 || hard_links
=no
10323 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10325 $as_echo "$hard_links" >&6; }
10326 if test no
= "$hard_links"; then
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10328 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10344 allow_undefined_flag
=
10345 always_export_symbols
=no
10347 archive_expsym_cmds
=
10348 compiler_needs_object
=no
10349 enable_shared_with_static_runtimes
=no
10350 export_dynamic_flag_spec
=
10351 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10352 hardcode_automatic
=no
10354 hardcode_direct_absolute
=no
10355 hardcode_libdir_flag_spec
=
10356 hardcode_libdir_separator
=
10357 hardcode_minus_L
=no
10358 hardcode_shlibpath_var
=unsupported
10360 link_all_deplibs
=unknown
10362 module_expsym_cmds
=
10363 old_archive_from_new_cmds
=
10364 old_archive_from_expsyms_cmds
=
10365 thread_safe_flag_spec
=
10366 whole_archive_flag_spec
=
10367 # include_expsyms should be a list of space-separated symbols to be *always*
10368 # included in the symbol list
10370 # exclude_expsyms can be an extended regexp of symbols to exclude
10371 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10372 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10373 # as well as any symbol that contains 'd'.
10374 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10375 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10376 # platforms (ab)use it in PIC code, but their linkers get confused if
10377 # the symbol is explicitly referenced. Since portable code cannot
10378 # rely on this symbol name, it's probably fine to never include it in
10379 # preloaded symbol tables.
10380 # Exclude shared library initialization/finalization symbols.
10381 extract_expsyms_cmds
=
10384 cygwin
* | mingw
* | pw32
* | cegcc
*)
10385 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10386 # When not using gcc, we currently assume that we are using
10387 # Microsoft Visual C++.
10388 if test yes != "$GCC"; then
10393 # we just hope/assume this is gcc and not c89 (= MSVC++)
10396 openbsd
* | bitrig
*)
10403 # On some targets, GNU ld is compatible enough with the native linker
10404 # that we're better off using the native interface for both.
10405 lt_use_gnu_ld_interface
=no
10406 if test yes = "$with_gnu_ld"; then
10409 # The AIX port of GNU ld has always aspired to compatibility
10410 # with the native linker. However, as the warning in the GNU ld
10411 # block says, versions before 2.19.5* couldn't really create working
10412 # shared libraries, regardless of the interface used.
10413 case `$LD -v 2>&1` in
10414 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10415 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10416 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10418 lt_use_gnu_ld_interface
=yes
10423 lt_use_gnu_ld_interface
=yes
10428 if test yes = "$lt_use_gnu_ld_interface"; then
10429 # If archive_cmds runs LD, not CC, wlarc should be empty
10432 # Set some defaults for GNU ld with shared library support. These
10433 # are reset later if shared libraries are not supported. Putting them
10434 # here allows them to be overridden if necessary.
10435 runpath_var
=LD_RUN_PATH
10436 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10437 export_dynamic_flag_spec
='$wl--export-dynamic'
10438 # ancient GNU ld didn't support --whole-archive et. al.
10439 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10440 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10442 whole_archive_flag_spec
=
10444 supports_anon_versioning
=no
10445 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10446 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10447 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10448 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10449 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10450 *\
2.11.
*) ;; # other 2.11 versions
10451 *) supports_anon_versioning
=yes ;;
10454 # See if GNU ld supports shared libraries.
10457 # On AIX/PPC, the GNU linker is very broken
10458 if test ia64
!= "$host_cpu"; then
10462 *** Warning: the GNU linker, at least up to release 2.19, is reported
10463 *** to be unable to reliably create shared libraries on AIX.
10464 *** Therefore, libtool is disabling shared libraries support. If you
10465 *** really care for shared libraries, you may want to install binutils
10466 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10467 *** You will then need to restart the configuration process.
10476 # see comment about AmigaOS4 .so support
10477 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10478 archive_expsym_cmds
=''
10481 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)'
10482 hardcode_libdir_flag_spec
='-L$libdir'
10483 hardcode_minus_L
=yes
10489 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10490 allow_undefined_flag
=unsupported
10491 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10492 # support --undefined. This deserves some investigation. FIXME
10493 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10499 cygwin
* | mingw
* | pw32
* | cegcc
*)
10500 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10501 # as there is no search path for DLLs.
10502 hardcode_libdir_flag_spec
='-L$libdir'
10503 export_dynamic_flag_spec
='$wl--export-all-symbols'
10504 allow_undefined_flag
=unsupported
10505 always_export_symbols
=no
10506 enable_shared_with_static_runtimes
=yes
10507 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'
10508 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10510 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10511 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10512 # If the export-symbols file already is a .def file, use it as
10513 # is; otherwise, prepend EXPORTS...
10514 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10515 cp $export_symbols $output_objdir/$soname.def;
10517 echo EXPORTS > $output_objdir/$soname.def;
10518 cat $export_symbols >> $output_objdir/$soname.def;
10520 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10527 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10528 link_all_deplibs
=yes
10532 hardcode_libdir_flag_spec
='-L$libdir'
10533 hardcode_minus_L
=yes
10534 allow_undefined_flag
=unsupported
10536 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10537 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10538 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10539 $ECHO EXPORTS >> $output_objdir/$libname.def~
10540 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10541 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10542 emximp -o $lib $output_objdir/$libname.def'
10543 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10544 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10545 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10546 $ECHO EXPORTS >> $output_objdir/$libname.def~
10547 prefix_cmds="$SED"~
10548 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10549 prefix_cmds="$prefix_cmds -e 1d";
10551 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10552 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10553 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10554 emximp -o $lib $output_objdir/$libname.def'
10555 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10556 enable_shared_with_static_runtimes
=yes
10561 hardcode_shlibpath_var
=no
10562 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10563 export_dynamic_flag_spec
='$wl-E'
10564 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10565 # Instead, shared libraries are loaded at an image base (0x10000000 by
10566 # default) and relocated if they conflict, which is a slow very memory
10567 # consuming and fragmenting process. To avoid this, we pick a random,
10568 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10569 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10570 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10571 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'
10574 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10576 if test linux-dietlibc
= "$host_os"; then
10577 case $cc_basename in
10578 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10581 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10582 && test no
= "$tmp_diet"
10584 tmp_addflag
=' $pic_flag'
10585 tmp_sharedflag
='-shared'
10586 case $cc_basename,$host_cpu in
10587 pgcc
*) # Portland Group C compiler
10588 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'
10589 tmp_addflag
=' $pic_flag'
10591 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10592 # Portland Group f77 and f90 compilers
10593 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'
10594 tmp_addflag
=' $pic_flag -Mnomain' ;;
10595 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10596 tmp_addflag
=' -i_dynamic' ;;
10597 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10598 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10599 ifc
* | ifort
*) # Intel Fortran compiler
10600 tmp_addflag
=' -nofor_main' ;;
10601 lf95
*) # Lahey Fortran 8.1
10602 whole_archive_flag_spec
=
10603 tmp_sharedflag
='--shared' ;;
10604 nagfor
*) # NAGFOR 5.3
10605 tmp_sharedflag
='-Wl,-shared' ;;
10606 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10607 tmp_sharedflag
='-qmkshrobj'
10609 nvcc
*) # Cuda Compiler Driver 2.2
10610 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'
10611 compiler_needs_object
=yes
10614 case `$CC -V 2>&1 | sed 5q` in
10615 *Sun\ C
*) # Sun C 5.9
10616 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'
10617 compiler_needs_object
=yes
10618 tmp_sharedflag
='-G' ;;
10619 *Sun\ F
*) # Sun Fortran 8.3
10620 tmp_sharedflag
='-G' ;;
10622 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10624 if test yes = "$supports_anon_versioning"; then
10625 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10626 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10627 echo "local: *; };" >> $output_objdir/$libname.ver~
10628 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10631 case $cc_basename in
10633 export_dynamic_flag_spec
='-rdynamic'
10635 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10636 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10637 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10638 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10639 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $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 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10654 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10655 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10658 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10659 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10664 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10668 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10669 *** create shared libraries on Solaris systems. Therefore, libtool
10670 *** is disabling shared libraries support. We urge you to upgrade GNU
10671 *** binutils to release 2.9.1 or newer. Another option is to modify
10672 *** your PATH or compiler configuration so that the native linker is
10673 *** used, and then restart.
10676 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10677 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10678 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10684 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10685 case `$LD -v 2>&1` in
10686 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10690 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10691 *** reliably create shared libraries on SCO systems. Therefore, libtool
10692 *** is disabling shared libraries support. We urge you to upgrade GNU
10693 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10694 *** your PATH or compiler configuration so that the native linker is
10695 *** used, and then restart.
10700 # For security reasons, it is highly recommended that you always
10701 # use absolute paths for naming shared libraries, and exclude the
10702 # DT_RUNPATH tag from executables and libraries. But doing so
10703 # requires that you compile everything twice, which is a pain.
10704 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10705 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10706 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10707 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10716 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10718 hardcode_direct
=yes
10719 hardcode_shlibpath_var
=no
10723 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10724 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10725 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10732 if test no
= "$ld_shlibs"; then
10734 hardcode_libdir_flag_spec
=
10735 export_dynamic_flag_spec
=
10736 whole_archive_flag_spec
=
10739 # PORTME fill in a description of your system's linker (not GNU ld)
10742 allow_undefined_flag
=unsupported
10743 always_export_symbols
=yes
10744 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'
10745 # Note: this linker hardcodes the directories in LIBPATH if there
10746 # are no directories specified by -L.
10747 hardcode_minus_L
=yes
10748 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10749 # Neither direct hardcoding nor static linking is supported with a
10751 hardcode_direct
=unsupported
10756 if test ia64
= "$host_cpu"; then
10757 # On IA64, the linker does run time linking by default, so we don't
10758 # have to do anything special.
10759 aix_use_runtimelinking
=no
10760 exp_sym_flag
='-Bexport'
10763 # If we're using GNU nm, then we don't want the "-C" option.
10764 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10765 # Without the "-l" option, or with the "-B" option, AIX nm treats
10766 # weak defined symbols like other global defined symbols, whereas
10767 # GNU nm marks them as "W".
10768 # While the 'weak' keyword is ignored in the Export File, we need
10769 # it in the Import File for the 'aix-soname' feature, so we have
10770 # to replace the "-B" option with "-P" for AIX nm.
10771 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10772 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'
10774 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'
10776 aix_use_runtimelinking
=no
10778 # Test if we are trying to use run time linking or normal
10779 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10780 # have runtime linking enabled, and use it for executables.
10781 # For shared libraries, we enable/disable runtime linking
10782 # depending on the kind of the shared library created -
10783 # when "with_aix_soname,aix_use_runtimelinking" is:
10784 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10785 # "aix,yes" lib.so shared, rtl:yes, for executables
10786 # lib.a static archive
10787 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10788 # lib.a(lib.so.V) shared, rtl:no, for executables
10789 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10790 # lib.a(lib.so.V) shared, rtl:no
10791 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10792 # lib.a static archive
10793 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10794 for ld_flag
in $LDFLAGS; do
10795 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
10796 aix_use_runtimelinking
=yes
10800 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10801 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10802 # so we don't have lib.a shared libs to link our executables.
10803 # We have to force runtime linking in this case.
10804 aix_use_runtimelinking
=yes
10805 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10810 exp_sym_flag
='-bexport'
10811 no_entry_flag
='-bnoentry'
10814 # When large executables or shared objects are built, AIX ld can
10815 # have problems creating the table of contents. If linking a library
10816 # or program results in "error TOC overflow" add -mminimal-toc to
10817 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10818 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10821 hardcode_direct
=yes
10822 hardcode_direct_absolute
=yes
10823 hardcode_libdir_separator
=':'
10824 link_all_deplibs
=yes
10825 file_list_spec
='$wl-f,'
10826 case $with_aix_soname,$aix_use_runtimelinking in
10827 aix
,*) ;; # traditional, no import file
10828 svr4
,* |
*,yes) # use import file
10829 # The Import File defines what to hardcode.
10831 hardcode_direct_absolute
=no
10835 if test yes = "$GCC"; then
10836 case $host_os in aix4.
[012]|aix4.
[012].
*)
10837 # We only want to do this on AIX 4.2 and lower, the check
10838 # below for broken collect2 doesn't work under 4.3+
10839 collect2name
=`$CC -print-prog-name=collect2`
10840 if test -f "$collect2name" &&
10841 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10843 # We have reworked collect2
10846 # We have old collect2
10847 hardcode_direct
=unsupported
10848 # It fails to find uninstalled libraries when the uninstalled
10849 # path is not listed in the libpath. Setting hardcode_minus_L
10850 # to unsupported forces relinking
10851 hardcode_minus_L
=yes
10852 hardcode_libdir_flag_spec
='-L$libdir'
10853 hardcode_libdir_separator
=
10857 shared_flag
='-shared'
10858 if test yes = "$aix_use_runtimelinking"; then
10859 shared_flag
="$shared_flag "'$wl-G'
10861 # Need to ensure runtime linking is disabled for the traditional
10862 # shared library, or the linker may eventually find shared libraries
10863 # /with/ Import File - we do not want to mix them.
10864 shared_flag_aix
='-shared'
10865 shared_flag_svr4
='-shared $wl-G'
10868 if test ia64
= "$host_cpu"; then
10869 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10870 # chokes on -Wl,-G. The following line is correct:
10873 if test yes = "$aix_use_runtimelinking"; then
10874 shared_flag
='$wl-G'
10876 shared_flag
='$wl-bM:SRE'
10878 shared_flag_aix
='$wl-bM:SRE'
10879 shared_flag_svr4
='$wl-G'
10883 export_dynamic_flag_spec
='$wl-bexpall'
10884 # It seems that -bexpall does not export symbols beginning with
10885 # underscore (_), so it is better to generate a list of symbols to export.
10886 always_export_symbols
=yes
10887 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10888 # Warning - without using the other runtime loading flags (-brtl),
10889 # -berok will link without error, but may produce a broken library.
10890 allow_undefined_flag
='-berok'
10891 # Determine the default libpath from the value encoded in an
10892 # empty executable.
10893 if test set = "${lt_cv_aix_libpath+set}"; then
10894 aix_libpath
=$lt_cv_aix_libpath
10896 if ${lt_cv_aix_libpath_+:} false
; then :
10897 $as_echo_n "(cached) " >&6
10899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10900 /* end confdefs.h. */
10910 if ac_fn_c_try_link
"$LINENO"; then :
10912 lt_aix_libpath_sed
='
10913 /Import File Strings/,/^$/ {
10915 s/^0 *\([^ ]*\) *$/\1/
10919 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10920 # Check for a 64-bit object if we didn't find anything.
10921 if test -z "$lt_cv_aix_libpath_"; then
10922 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10925 rm -f core conftest.err conftest.
$ac_objext \
10926 conftest
$ac_exeext conftest.
$ac_ext
10927 if test -z "$lt_cv_aix_libpath_"; then
10928 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10933 aix_libpath
=$lt_cv_aix_libpath_
10936 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10937 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
10939 if test ia64
= "$host_cpu"; then
10940 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10941 allow_undefined_flag
="-z nodefs"
10942 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"
10944 # Determine the default libpath from the value encoded in an
10945 # empty executable.
10946 if test set = "${lt_cv_aix_libpath+set}"; then
10947 aix_libpath
=$lt_cv_aix_libpath
10949 if ${lt_cv_aix_libpath_+:} false
; then :
10950 $as_echo_n "(cached) " >&6
10952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10953 /* end confdefs.h. */
10963 if ac_fn_c_try_link
"$LINENO"; then :
10965 lt_aix_libpath_sed
='
10966 /Import File Strings/,/^$/ {
10968 s/^0 *\([^ ]*\) *$/\1/
10972 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10973 # Check for a 64-bit object if we didn't find anything.
10974 if test -z "$lt_cv_aix_libpath_"; then
10975 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10978 rm -f core conftest.err conftest.
$ac_objext \
10979 conftest
$ac_exeext conftest.
$ac_ext
10980 if test -z "$lt_cv_aix_libpath_"; then
10981 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10986 aix_libpath
=$lt_cv_aix_libpath_
10989 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10990 # Warning - without using the other run time loading flags,
10991 # -berok will link without error, but may produce a broken library.
10992 no_undefined_flag
=' $wl-bernotok'
10993 allow_undefined_flag
=' $wl-berok'
10994 if test yes = "$with_gnu_ld"; then
10995 # We only use this code for GNU lds that support --whole-archive.
10996 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10998 # Exported symbols can be pulled into shared objects from archives
10999 whole_archive_flag_spec
='$convenience'
11001 archive_cmds_need_lc
=yes
11002 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11003 # -brtl affects multiple linker settings, -berok does not and is overridden later
11004 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11005 if test svr4
!= "$with_aix_soname"; then
11006 # This is similar to how AIX traditionally builds its shared libraries.
11007 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'
11009 if test aix
!= "$with_aix_soname"; then
11010 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'
11012 # used by -dlpreopen to get the symbols
11013 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11015 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11023 # see comment about AmigaOS4 .so support
11024 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11025 archive_expsym_cmds
=''
11028 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)'
11029 hardcode_libdir_flag_spec
='-L$libdir'
11030 hardcode_minus_L
=yes
11036 export_dynamic_flag_spec
=-rdynamic
11039 cygwin
* | mingw
* | pw32
* | cegcc
*)
11040 # When not using gcc, we currently assume that we are using
11041 # Microsoft Visual C++.
11042 # hardcode_libdir_flag_spec is actually meaningless, as there is
11043 # no search path for DLLs.
11044 case $cc_basename in
11047 hardcode_libdir_flag_spec
=' '
11048 allow_undefined_flag
=unsupported
11049 always_export_symbols
=yes
11051 # Tell ltmain to make .lib files, not .a files.
11053 # Tell ltmain to make .dll files, not .so files.
11055 # FIXME: Setting linknames here is a bad hack.
11056 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11057 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11058 cp "$export_symbols" "$output_objdir/$soname.def";
11059 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11061 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11063 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11065 # The linker will not automatically build a static lib if we build a DLL.
11066 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11067 enable_shared_with_static_runtimes
=yes
11068 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11069 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11071 old_postinstall_cmds
='chmod 644 $oldlib'
11072 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11073 lt_tool_outputfile="@TOOL_OUTPUT@"~
11074 case $lt_outputfile in
11077 lt_outputfile=$lt_outputfile.exe
11078 lt_tool_outputfile=$lt_tool_outputfile.exe
11081 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11082 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11083 $RM "$lt_outputfile.manifest";
11087 # Assume MSVC wrapper
11088 hardcode_libdir_flag_spec
=' '
11089 allow_undefined_flag
=unsupported
11090 # Tell ltmain to make .lib files, not .a files.
11092 # Tell ltmain to make .dll files, not .so files.
11094 # FIXME: Setting linknames here is a bad hack.
11095 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11096 # The linker will automatically build a .lib file if we build a DLL.
11097 old_archive_from_new_cmds
='true'
11098 # FIXME: Should let the user specify the lib program.
11099 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11100 enable_shared_with_static_runtimes
=yes
11105 darwin
* | rhapsody
*)
11108 archive_cmds_need_lc
=no
11110 hardcode_automatic
=yes
11111 hardcode_shlibpath_var
=unsupported
11112 if test yes = "$lt_cv_ld_force_load"; then
11113 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\"`'
11116 whole_archive_flag_spec
=''
11118 link_all_deplibs
=yes
11119 allow_undefined_flag
=$_lt_dar_allow_undefined
11120 case $cc_basename in
11121 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11122 *) _lt_dar_can_shared
=$GCC ;;
11124 if test yes = "$_lt_dar_can_shared"; then
11125 output_verbose_link_cmd
=func_echo_all
11126 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11127 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11128 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"
11129 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"
11138 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11139 hardcode_libdir_flag_spec
='-L$libdir'
11140 hardcode_shlibpath_var
=no
11143 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11144 # support. Future versions do this automatically, but an explicit c++rt0.o
11145 # does not break anything, and helps significantly (at the cost of a little
11148 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11149 hardcode_libdir_flag_spec
='-R$libdir'
11150 hardcode_direct
=yes
11151 hardcode_shlibpath_var
=no
11154 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11156 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11157 hardcode_direct
=yes
11158 hardcode_minus_L
=yes
11159 hardcode_shlibpath_var
=no
11162 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11163 freebsd
* | dragonfly
*)
11164 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11165 hardcode_libdir_flag_spec
='-R$libdir'
11166 hardcode_direct
=yes
11167 hardcode_shlibpath_var
=no
11171 if test yes = "$GCC"; then
11172 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'
11174 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'
11176 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11177 hardcode_libdir_separator
=:
11178 hardcode_direct
=yes
11180 # hardcode_minus_L: Not really in the search PATH,
11181 # but as the default location of the library.
11182 hardcode_minus_L
=yes
11183 export_dynamic_flag_spec
='$wl-E'
11187 if test yes,no
= "$GCC,$with_gnu_ld"; then
11188 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11190 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11192 if test no
= "$with_gnu_ld"; then
11193 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11194 hardcode_libdir_separator
=:
11195 hardcode_direct
=yes
11196 hardcode_direct_absolute
=yes
11197 export_dynamic_flag_spec
='$wl-E'
11198 # hardcode_minus_L: Not really in the search PATH,
11199 # but as the default location of the library.
11200 hardcode_minus_L
=yes
11205 if test yes,no
= "$GCC,$with_gnu_ld"; then
11208 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11211 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11214 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11220 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11223 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11227 # Older versions of the 11.00 compiler do not understand -b yet
11228 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11230 $as_echo_n "checking if $CC understands -b... " >&6; }
11231 if ${lt_cv_prog_compiler__b+:} false
; then :
11232 $as_echo_n "(cached) " >&6
11234 lt_cv_prog_compiler__b
=no
11235 save_LDFLAGS
=$LDFLAGS
11236 LDFLAGS
="$LDFLAGS -b"
11237 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11238 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11239 # The linker can only warn and ignore the option if not recognized
11240 # So say no if there are warnings
11241 if test -s conftest.err
; then
11242 # Append any errors to the config.log.
11243 cat conftest.err
1>&5
11244 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11245 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11246 if diff conftest.exp conftest.er2
>/dev
/null
; then
11247 lt_cv_prog_compiler__b
=yes
11250 lt_cv_prog_compiler__b
=yes
11254 LDFLAGS
=$save_LDFLAGS
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11258 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11260 if test yes = "$lt_cv_prog_compiler__b"; then
11261 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11263 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11269 if test no
= "$with_gnu_ld"; then
11270 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11271 hardcode_libdir_separator
=:
11276 hardcode_shlibpath_var
=no
11279 hardcode_direct
=yes
11280 hardcode_direct_absolute
=yes
11281 export_dynamic_flag_spec
='$wl-E'
11283 # hardcode_minus_L: Not really in the search PATH,
11284 # but as the default location of the library.
11285 hardcode_minus_L
=yes
11291 irix5
* | irix6
* | nonstopux
*)
11292 if test yes = "$GCC"; then
11293 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'
11294 # Try to use the -exported_symbol ld option, if it does not
11295 # work, assume that -exports_file does not work either and
11296 # implicitly export all symbols.
11297 # This should be the same for all languages, so no per-tag cache variable.
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11299 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11300 if ${lt_cv_irix_exported_symbol+:} false
; then :
11301 $as_echo_n "(cached) " >&6
11303 save_LDFLAGS
=$LDFLAGS
11304 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11307 int foo (void) { return 0; }
11309 if ac_fn_c_try_link
"$LINENO"; then :
11310 lt_cv_irix_exported_symbol
=yes
11312 lt_cv_irix_exported_symbol
=no
11314 rm -f core conftest.err conftest.
$ac_objext \
11315 conftest
$ac_exeext conftest.
$ac_ext
11316 LDFLAGS
=$save_LDFLAGS
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11319 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11320 if test yes = "$lt_cv_irix_exported_symbol"; then
11321 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'
11324 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'
11325 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'
11327 archive_cmds_need_lc
='no'
11328 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11329 hardcode_libdir_separator
=:
11331 link_all_deplibs
=yes
11335 case $cc_basename in
11337 # Fabrice Bellard et al's Tiny C Compiler
11339 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11345 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11346 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11348 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11350 hardcode_libdir_flag_spec
='-R$libdir'
11351 hardcode_direct
=yes
11352 hardcode_shlibpath_var
=no
11356 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11357 hardcode_direct
=yes
11358 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11359 hardcode_libdir_separator
=:
11360 hardcode_shlibpath_var
=no
11366 openbsd
* | bitrig
*)
11367 if test -f /usr
/libexec
/ld.so
; then
11368 hardcode_direct
=yes
11369 hardcode_shlibpath_var
=no
11370 hardcode_direct_absolute
=yes
11371 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11372 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11373 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11374 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11375 export_dynamic_flag_spec
='$wl-E'
11377 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11378 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11386 hardcode_libdir_flag_spec
='-L$libdir'
11387 hardcode_minus_L
=yes
11388 allow_undefined_flag
=unsupported
11390 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11391 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11392 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11393 $ECHO EXPORTS >> $output_objdir/$libname.def~
11394 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11395 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11396 emximp -o $lib $output_objdir/$libname.def'
11397 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11398 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11399 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11400 $ECHO EXPORTS >> $output_objdir/$libname.def~
11401 prefix_cmds="$SED"~
11402 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11403 prefix_cmds="$prefix_cmds -e 1d";
11405 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11406 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11407 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11408 emximp -o $lib $output_objdir/$libname.def'
11409 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11410 enable_shared_with_static_runtimes
=yes
11414 if test yes = "$GCC"; then
11415 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11416 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'
11418 allow_undefined_flag
=' -expect_unresolved \*'
11419 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'
11421 archive_cmds_need_lc
='no'
11422 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11423 hardcode_libdir_separator
=:
11426 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11427 if test yes = "$GCC"; then
11428 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11429 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'
11430 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11432 allow_undefined_flag
=' -expect_unresolved \*'
11433 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'
11434 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~
11435 $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'
11437 # Both c and cxx compiler support -rpath directly
11438 hardcode_libdir_flag_spec
='-rpath $libdir'
11440 archive_cmds_need_lc
='no'
11441 hardcode_libdir_separator
=:
11445 no_undefined_flag
=' -z defs'
11446 if test yes = "$GCC"; then
11448 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11449 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11450 $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'
11452 case `$CC -V 2>&1` in
11455 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11456 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11457 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11461 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11462 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11463 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11467 hardcode_libdir_flag_spec
='-R$libdir'
11468 hardcode_shlibpath_var
=no
11470 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11472 # The compiler driver will combine and reorder linker options,
11473 # but understands '-z linker_flag'. GCC discards it without '$wl',
11474 # but is careful enough not to reorder.
11475 # Supported since Solaris 2.6 (maybe 2.5.1?)
11476 if test yes = "$GCC"; then
11477 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11479 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11483 link_all_deplibs
=yes
11487 if test sequent
= "$host_vendor"; then
11488 # Use $CC to link under sequent, because it throws in some extra .o
11489 # files that make .init and .fini sections work.
11490 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11492 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11494 hardcode_libdir_flag_spec
='-L$libdir'
11495 hardcode_direct
=yes
11496 hardcode_minus_L
=yes
11497 hardcode_shlibpath_var
=no
11501 case $host_vendor in
11503 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11504 hardcode_direct
=yes # is this really true???
11507 ## LD is ld it makes a PLAMLIB
11508 ## CC just makes a GrossModule.
11509 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11510 reload_cmds
='$CC -r -o $output$reload_objs'
11514 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11515 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11518 runpath_var
='LD_RUN_PATH'
11519 hardcode_shlibpath_var
=no
11523 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11524 hardcode_shlibpath_var
=no
11525 export_dynamic_flag_spec
='-Bexport'
11529 if test -d /usr
/nec
; then
11530 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11531 hardcode_shlibpath_var
=no
11532 runpath_var
=LD_RUN_PATH
11533 hardcode_runpath_var
=yes
11538 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11539 no_undefined_flag
='$wl-z,text'
11540 archive_cmds_need_lc
=no
11541 hardcode_shlibpath_var
=no
11542 runpath_var
='LD_RUN_PATH'
11544 if test yes = "$GCC"; then
11545 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11546 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11548 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11549 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11553 sysv5
* | sco3.2v5
* | sco5v6
*)
11554 # Note: We CANNOT use -z defs as we might desire, because we do not
11555 # link with -lc, and that would cause any symbols used from libc to
11556 # always be unresolved, which means just about no library would
11557 # ever link correctly. If we're not using GNU ld we use -z text
11558 # though, which does catch some bad symbols but isn't as heavy-handed
11560 no_undefined_flag
='$wl-z,text'
11561 allow_undefined_flag
='$wl-z,nodefs'
11562 archive_cmds_need_lc
=no
11563 hardcode_shlibpath_var
=no
11564 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11565 hardcode_libdir_separator
=':'
11566 link_all_deplibs
=yes
11567 export_dynamic_flag_spec
='$wl-Bexport'
11568 runpath_var
='LD_RUN_PATH'
11570 if test yes = "$GCC"; then
11571 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11572 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11574 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11575 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11580 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11581 hardcode_libdir_flag_spec
='-L$libdir'
11582 hardcode_shlibpath_var
=no
11590 if test sni
= "$host_vendor"; then
11592 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11593 export_dynamic_flag_spec
='$wl-Blargedynsym'
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11600 $as_echo "$ld_shlibs" >&6; }
11601 test no
= "$ld_shlibs" && can_build_shared
=no
11603 with_gnu_ld
=$with_gnu_ld
11620 # Do we need to explicitly link libc?
11622 case "x$archive_cmds_need_lc" in
11624 # Assume -lc should be added
11625 archive_cmds_need_lc
=yes
11627 if test yes,yes = "$GCC,$enable_shared"; then
11628 case $archive_cmds in
11630 # FIXME: we may have to deal with multi-command sequences.
11633 # Test whether the compiler implicitly links with -lc since on some
11634 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11635 # to ld, don't add -lc before -lgcc.
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11637 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11638 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11639 $as_echo_n "(cached) " >&6
11642 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11644 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11645 (eval $ac_compile) 2>&5
11647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11648 test $ac_status = 0; } 2>conftest.err
; then
11651 libobjs
=conftest.
$ac_objext
11653 wl
=$lt_prog_compiler_wl
11654 pic_flag
=$lt_prog_compiler_pic
11660 lt_save_allow_undefined_flag
=$allow_undefined_flag
11661 allow_undefined_flag
=
11662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11663 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11666 test $ac_status = 0; }
11668 lt_cv_archive_cmds_need_lc
=no
11670 lt_cv_archive_cmds_need_lc
=yes
11672 allow_undefined_flag
=$lt_save_allow_undefined_flag
11674 cat conftest.err
1>&5
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11680 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11681 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11840 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11842 if test yes = "$GCC"; then
11844 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11845 *) lt_awk_arg
='/^libraries:/' ;;
11848 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11849 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11851 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11852 case $lt_search_path_spec in
11854 # if the path contains ";" then we assume it to be the separator
11855 # otherwise default to the standard path separator (i.e. ":") - it is
11856 # assumed that no part of a normal pathname contains ";" but that should
11857 # okay in the real world where ";" in dirpaths is itself problematic.
11858 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11861 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11864 # Ok, now we have the path, separated by spaces, we can step through it
11865 # and add multilib dir if necessary...
11866 lt_tmp_lt_search_path_spec
=
11867 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11868 # ...but if some path component already ends with the multilib dir we assume
11869 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11870 case "$lt_multi_os_dir; $lt_search_path_spec " in
11871 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
11875 for lt_sys_path
in $lt_search_path_spec; do
11876 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11877 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11878 elif test -n "$lt_multi_os_dir"; then
11879 test -d "$lt_sys_path" && \
11880 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11883 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11884 BEGIN {RS = " "; FS = "/|\n";} {
11887 for (lt_i = NF; lt_i > 0; lt_i--) {
11888 if ($lt_i != "" && $lt_i != ".") {
11889 if ($lt_i == "..") {
11892 if (lt_count == 0) {
11893 lt_foo = "/" $lt_i lt_foo;
11900 if (lt_foo != "") { lt_freq[lt_foo]++; }
11901 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11903 # AWK program above erroneously prepends '/' to C:/dos/paths
11906 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11907 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11909 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11911 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11913 library_names_spec
=
11914 libname_spec
='lib$name'
11918 postuninstall_cmds
=
11922 shlibpath_overrides_runpath
=unknown
11924 dynamic_linker
="$host_os ld.so"
11925 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11926 need_lib_prefix
=unknown
11927 hardcode_into_libs
=no
11929 # when you set need_version to no, make sure it does not cause -set_version
11930 # flags to be left without arguments
11931 need_version
=unknown
11937 version_type
=linux
# correct to gnu/linux during the next big refactor
11938 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11939 shlibpath_var
=LIBPATH
11941 # AIX 3 has no versioning support, so we append a major version to the name.
11942 soname_spec
='$libname$release$shared_ext$major'
11946 version_type
=linux
# correct to gnu/linux during the next big refactor
11949 hardcode_into_libs
=yes
11950 if test ia64
= "$host_cpu"; then
11951 # AIX 5 supports IA64
11952 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11953 shlibpath_var
=LD_LIBRARY_PATH
11955 # With GCC up to 2.95.x, collect2 would create an import file
11956 # for dependence libraries. The import file would start with
11957 # the line '#! .'. This would cause the generated library to
11958 # depend on '.', always an invalid library. This was fixed in
11959 # development snapshots of GCC prior to 3.0.
11961 aix4 | aix4.
[01] | aix4.
[01].
*)
11962 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11964 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
11967 can_build_shared
=no
11971 # Using Import Files as archive members, it is possible to support
11972 # filename-based versioning of shared library archives on AIX. While
11973 # this would work for both with and without runtime linking, it will
11974 # prevent static linking of such archives. So we do filename-based
11975 # shared library versioning with .so extension only, which is used
11976 # when both runtime linking and shared linking is enabled.
11977 # Unfortunately, runtime linking may impact performance, so we do
11978 # not want this to be the default eventually. Also, we use the
11979 # versioned .so libs for executables only if there is the -brtl
11980 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11981 # To allow for filename-based versioning support, we need to create
11982 # libNAME.so.V as an archive file, containing:
11983 # *) an Import File, referring to the versioned filename of the
11984 # archive as well as the shared archive member, telling the
11985 # bitwidth (32 or 64) of that shared object, and providing the
11986 # list of exported symbols of that shared object, eventually
11987 # decorated with the 'weak' keyword
11988 # *) the shared object with the F_LOADONLY flag set, to really avoid
11989 # it being seen by the linker.
11990 # At run time we better use the real file rather than another symlink,
11991 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11993 case $with_aix_soname,$aix_use_runtimelinking in
11994 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11995 # soname into executable. Probably we can add versioning support to
11996 # collect2, so additional links can be useful in future.
11997 aix
,yes) # traditional libtool
11998 dynamic_linker
='AIX unversionable lib.so'
11999 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12000 # instead of lib<name>.a to let people know that these are not
12001 # typical AIX shared libraries.
12002 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12004 aix
,no
) # traditional AIX only
12005 dynamic_linker
='AIX lib.a(lib.so.V)'
12006 # We preserve .a as extension for shared libraries through AIX4.2
12007 # and later when we are not doing run time linking.
12008 library_names_spec
='$libname$release.a $libname.a'
12009 soname_spec
='$libname$release$shared_ext$major'
12011 svr4
,*) # full svr4 only
12012 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12013 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12014 # We do not specify a path in Import Files, so LIBPATH fires.
12015 shlibpath_overrides_runpath
=yes
12017 *,yes) # both, prefer svr4
12018 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12019 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12020 # unpreferred sharedlib libNAME.a needs extra handling
12021 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"'
12022 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"'
12023 # We do not specify a path in Import Files, so LIBPATH fires.
12024 shlibpath_overrides_runpath
=yes
12026 *,no
) # both, prefer aix
12027 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12028 library_names_spec
='$libname$release.a $libname.a'
12029 soname_spec
='$libname$release$shared_ext$major'
12030 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12031 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)'
12032 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"'
12035 shlibpath_var
=LIBPATH
12042 # Since July 2007 AmigaOS4 officially supports .so libraries.
12043 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12044 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12047 library_names_spec
='$libname.ixlibrary $libname.a'
12048 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12049 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'
12055 library_names_spec
='$libname$shared_ext'
12056 dynamic_linker
="$host_os ld.so"
12057 shlibpath_var
=LIBRARY_PATH
12061 version_type
=linux
# correct to gnu/linux during the next big refactor
12063 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12064 soname_spec
='$libname$release$shared_ext$major'
12065 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12066 shlibpath_var
=LD_LIBRARY_PATH
12067 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12068 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12069 # the default ld.so.conf also contains /usr/contrib/lib and
12070 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12071 # libtool to hard-code these into programs
12074 cygwin
* | mingw
* | pw32
* | cegcc
*)
12075 version_type
=windows
12080 case $GCC,$cc_basename in
12083 library_names_spec
='$libname.dll.a'
12084 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12085 postinstall_cmds
='base_file=`basename \$file`~
12086 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12087 dldir=$destdir/`dirname \$dlpath`~
12088 test -d \$dldir || mkdir -p \$dldir~
12089 $install_prog $dir/$dlname \$dldir/$dlname~
12090 chmod a+x \$dldir/$dlname~
12091 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12092 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12094 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12095 dlpath=$dir/\$dldll~
12097 shlibpath_overrides_runpath
=yes
12101 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12102 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12104 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12107 # MinGW DLLs use traditional 'lib' prefix
12108 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12111 # pw32 DLLs use 'pw' prefix rather than 'lib'
12112 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12115 dynamic_linker
='Win32 ld.exe'
12120 libname_spec
='$name'
12121 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12122 library_names_spec
='$libname.dll.lib'
12126 sys_lib_search_path_spec
=
12129 for lt_path
in $LIB
12132 # Let DOS variable expansion print the short 8.3 style file name.
12133 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12134 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12137 # Convert to MSYS style.
12138 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12141 # Convert to unix form, then to dos form, then back to unix form
12142 # but this time dos style (no spaces!) so that the unix form looks
12143 # like /cygdrive/c/PROGRA~1:/cygdr...
12144 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12145 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12146 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12149 sys_lib_search_path_spec
=$LIB
12150 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12151 # It is most probably a Windows format PATH.
12152 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12154 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12156 # FIXME: find the short name or the path components, as spaces are
12157 # common. (e.g. "Program Files" -> "PROGRA~1")
12161 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12162 postinstall_cmds
='base_file=`basename \$file`~
12163 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12164 dldir=$destdir/`dirname \$dlpath`~
12165 test -d \$dldir || mkdir -p \$dldir~
12166 $install_prog $dir/$dlname \$dldir/$dlname'
12167 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12168 dlpath=$dir/\$dldll~
12170 shlibpath_overrides_runpath
=yes
12171 dynamic_linker
='Win32 link.exe'
12175 # Assume MSVC wrapper
12176 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12177 dynamic_linker
='Win32 ld.exe'
12180 # FIXME: first we should search . and the directory the executable is in
12184 darwin
* | rhapsody
*)
12185 dynamic_linker
="$host_os dyld"
12186 version_type
=darwin
12189 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12190 soname_spec
='$libname$release$major$shared_ext'
12191 shlibpath_overrides_runpath
=yes
12192 shlibpath_var
=DYLD_LIBRARY_PATH
12193 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12195 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12196 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12200 version_type
=linux
# correct to gnu/linux during the next big refactor
12203 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12204 soname_spec
='$libname$release$shared_ext$major'
12205 shlibpath_var
=LD_LIBRARY_PATH
12208 freebsd
* | dragonfly
*)
12209 # DragonFly does not have aout. When/if they implement a new
12210 # versioning mechanism, adjust this.
12211 if test -x /usr
/bin
/objformat
; then
12212 objformat
=`/usr/bin/objformat`
12215 freebsd
[23].
*) objformat
=aout
;;
12216 *) objformat
=elf
;;
12219 version_type
=freebsd-
$objformat
12220 case $version_type in
12222 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12223 soname_spec
='$libname$release$shared_ext$major'
12228 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12232 shlibpath_var
=LD_LIBRARY_PATH
12235 shlibpath_overrides_runpath
=yes
12237 freebsd3.
[01]* | freebsdelf3.
[01]*)
12238 shlibpath_overrides_runpath
=yes
12239 hardcode_into_libs
=yes
12241 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12242 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12243 shlibpath_overrides_runpath
=no
12244 hardcode_into_libs
=yes
12246 *) # from 4.6 on, and DragonFly
12247 shlibpath_overrides_runpath
=yes
12248 hardcode_into_libs
=yes
12254 version_type
=linux
# correct to gnu/linux during the next big refactor
12257 dynamic_linker
="$host_os runtime_loader"
12258 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12259 soname_spec
='$libname$release$shared_ext$major'
12260 shlibpath_var
=LIBRARY_PATH
12261 shlibpath_overrides_runpath
=no
12262 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12263 hardcode_into_libs
=yes
12266 hpux9
* | hpux10
* | hpux11
*)
12267 # Give a soname corresponding to the major version so that dld.sl refuses to
12268 # link against other versions.
12275 hardcode_into_libs
=yes
12276 dynamic_linker
="$host_os dld.so"
12277 shlibpath_var
=LD_LIBRARY_PATH
12278 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12279 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12280 soname_spec
='$libname$release$shared_ext$major'
12281 if test 32 = "$HPUX_IA64_MODE"; then
12282 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12283 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12285 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12286 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12291 hardcode_into_libs
=yes
12292 dynamic_linker
="$host_os dld.sl"
12293 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_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 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12298 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12302 dynamic_linker
="$host_os dld.sl"
12303 shlibpath_var
=SHLIB_PATH
12304 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12305 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12306 soname_spec
='$libname$release$shared_ext$major'
12309 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12310 postinstall_cmds
='chmod 555 $lib'
12311 # or fails outright, so override atomically:
12312 install_override_mode
=555
12316 version_type
=linux
# correct to gnu/linux during the next big refactor
12319 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12320 soname_spec
='$libname$release$shared_ext$major'
12321 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12322 shlibpath_var
=LD_LIBRARY_PATH
12323 shlibpath_overrides_runpath
=no
12324 hardcode_into_libs
=yes
12327 irix5
* | irix6
* | nonstopux
*)
12329 nonstopux
*) version_type
=nonstopux
;;
12331 if test yes = "$lt_cv_prog_gnu_ld"; then
12332 version_type
=linux
# correct to gnu/linux during the next big refactor
12339 soname_spec
='$libname$release$shared_ext$major'
12340 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12342 irix5
* | nonstopux
*)
12343 libsuff
= shlibsuff
=
12346 case $LD in # libtool.m4 will add one of these switches to LD
12347 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12348 libsuff
= shlibsuff
= libmagic
=32-bit;;
12349 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12350 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12351 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12352 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12353 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12357 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12358 shlibpath_overrides_runpath
=no
12359 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12360 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12361 hardcode_into_libs
=yes
12364 # No shared lib support for Linux oldld, aout, or coff.
12365 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12370 version_type
=none
# Android doesn't support versioned libraries.
12373 library_names_spec
='$libname$release$shared_ext'
12374 soname_spec
='$libname$release$shared_ext'
12376 shlibpath_var
=LD_LIBRARY_PATH
12377 shlibpath_overrides_runpath
=yes
12379 # This implies no fast_install, which is unacceptable.
12380 # Some rework will be needed to allow for fast_install
12381 # before this can be enabled.
12382 hardcode_into_libs
=yes
12384 dynamic_linker
='Android linker'
12385 # Don't embed -rpath directories since the linker doesn't support them.
12386 hardcode_libdir_flag_spec
='-L$libdir'
12389 # This must be glibc/ELF.
12390 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12391 version_type
=linux
# correct to gnu/linux during the next big refactor
12394 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12395 soname_spec
='$libname$release$shared_ext$major'
12396 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12397 shlibpath_var
=LD_LIBRARY_PATH
12398 shlibpath_overrides_runpath
=no
12400 # Some binutils ld are patched to set DT_RUNPATH
12401 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12402 $as_echo_n "(cached) " >&6
12404 lt_cv_shlibpath_overrides_runpath
=no
12405 save_LDFLAGS
=$LDFLAGS
12406 save_libdir
=$libdir
12407 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12408 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12420 if ac_fn_c_try_link
"$LINENO"; then :
12421 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12422 lt_cv_shlibpath_overrides_runpath
=yes
12425 rm -f core conftest.err conftest.
$ac_objext \
12426 conftest
$ac_exeext conftest.
$ac_ext
12427 LDFLAGS
=$save_LDFLAGS
12428 libdir
=$save_libdir
12432 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12434 # This implies no fast_install, which is unacceptable.
12435 # Some rework will be needed to allow for fast_install
12436 # before this can be enabled.
12437 hardcode_into_libs
=yes
12439 # Ideally, we could use ldconfig to report *all* directores which are
12440 # searched for libraries, however this is still not possible. Aside from not
12441 # being certain /sbin/ldconfig is available, command
12442 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12443 # even though it is searched at run-time. Try to do the best guess by
12444 # appending ld.so.conf contents (and includes) to the search path.
12445 if test -f /etc
/ld.so.conf
; then
12446 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' ' '`
12447 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12450 # We used to test for /lib/ld.so.1 and disable shared libraries on
12451 # powerpc, because MkLinux only supported shared libraries with the
12452 # GNU dynamic linker. Since this was broken with cross compilers,
12453 # most powerpc-linux boxes support dynamic linking these days and
12454 # people can always --disable-shared, the test was removed, and we
12455 # assume the GNU/Linux dynamic linker is in use.
12456 dynamic_linker
='GNU/Linux ld.so'
12463 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12464 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12465 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12466 dynamic_linker
='NetBSD (a.out) ld.so'
12468 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12469 soname_spec
='$libname$release$shared_ext$major'
12470 dynamic_linker
='NetBSD ld.elf_so'
12472 shlibpath_var
=LD_LIBRARY_PATH
12473 shlibpath_overrides_runpath
=yes
12474 hardcode_into_libs
=yes
12478 version_type
=linux
# correct to gnu/linux during the next big refactor
12479 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12480 shlibpath_var
=LD_LIBRARY_PATH
12481 shlibpath_overrides_runpath
=yes
12488 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12489 soname_spec
='$libname$release$shared_ext$major'
12490 shlibpath_var
=LD_LIBRARY_PATH
12491 shlibpath_overrides_runpath
=no
12492 hardcode_into_libs
=yes
12493 dynamic_linker
='ldqnx.so'
12496 openbsd
* | bitrig
*)
12498 sys_lib_dlsearch_path_spec
=/usr
/lib
12500 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12505 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12506 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12507 shlibpath_var
=LD_LIBRARY_PATH
12508 shlibpath_overrides_runpath
=yes
12512 libname_spec
='$name'
12513 version_type
=windows
12517 # OS/2 can only load a DLL with a base name of 8 characters or less.
12518 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12519 v=$($ECHO $release$versuffix | tr -d .-);
12520 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12521 $ECHO $n$v`$shared_ext'
12522 library_names_spec
='${libname}_dll.$libext'
12523 dynamic_linker
='OS/2 ld.exe'
12524 shlibpath_var
=BEGINLIBPATH
12525 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12526 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12527 postinstall_cmds
='base_file=`basename \$file`~
12528 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12529 dldir=$destdir/`dirname \$dlpath`~
12530 test -d \$dldir || mkdir -p \$dldir~
12531 $install_prog $dir/$dlname \$dldir/$dlname~
12532 chmod a+x \$dldir/$dlname~
12533 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12534 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12536 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12537 dlpath=$dir/\$dldll~
12541 osf3
* | osf4
* | osf5
*)
12545 soname_spec
='$libname$release$shared_ext$major'
12546 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12547 shlibpath_var
=LD_LIBRARY_PATH
12548 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12549 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12557 version_type
=linux
# correct to gnu/linux during the next big refactor
12560 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12561 soname_spec
='$libname$release$shared_ext$major'
12562 shlibpath_var
=LD_LIBRARY_PATH
12563 shlibpath_overrides_runpath
=yes
12564 hardcode_into_libs
=yes
12565 # ldd complains unless libraries are executable
12566 postinstall_cmds
='chmod +x $lib'
12571 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12572 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12573 shlibpath_var
=LD_LIBRARY_PATH
12574 shlibpath_overrides_runpath
=yes
12575 if test yes = "$with_gnu_ld"; then
12582 version_type
=linux
# correct to gnu/linux during the next big refactor
12583 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12584 soname_spec
='$libname$release$shared_ext$major'
12585 shlibpath_var
=LD_LIBRARY_PATH
12586 case $host_vendor in
12588 shlibpath_overrides_runpath
=no
12590 runpath_var
=LD_RUN_PATH
12598 shlibpath_overrides_runpath
=no
12599 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12605 if test -d /usr
/nec
; then
12606 version_type
=linux
# correct to gnu/linux during the next big refactor
12607 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12608 soname_spec
='$libname$shared_ext.$major'
12609 shlibpath_var
=LD_LIBRARY_PATH
12613 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12617 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12618 soname_spec
='$libname$release$shared_ext$major'
12619 shlibpath_var
=LD_LIBRARY_PATH
12620 shlibpath_overrides_runpath
=yes
12621 hardcode_into_libs
=yes
12622 if test yes = "$with_gnu_ld"; then
12623 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12625 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12628 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12632 sys_lib_dlsearch_path_spec
='/usr/lib'
12636 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12637 version_type
=linux
# correct to gnu/linux during the next big refactor
12640 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12641 shlibpath_var
=LD_LIBRARY_PATH
12642 shlibpath_overrides_runpath
=no
12643 hardcode_into_libs
=yes
12647 version_type
=linux
# correct to gnu/linux during the next big refactor
12648 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12649 soname_spec
='$libname$release$shared_ext$major'
12650 shlibpath_var
=LD_LIBRARY_PATH
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12658 $as_echo "$dynamic_linker" >&6; }
12659 test no
= "$dynamic_linker" && can_build_shared
=no
12661 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12662 if test yes = "$GCC"; then
12663 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12666 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12667 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12670 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12671 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12674 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12675 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12677 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12678 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12680 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12681 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12780 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12782 if test -n "$hardcode_libdir_flag_spec" ||
12783 test -n "$runpath_var" ||
12784 test yes = "$hardcode_automatic"; then
12786 # We can hardcode non-existent directories.
12787 if test no
!= "$hardcode_direct" &&
12788 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12789 # have to relink, otherwise we might link with an installed library
12790 # when we should be linking with a yet-to-be-installed one
12791 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12792 test no
!= "$hardcode_minus_L"; then
12793 # Linking always hardcodes the temporary library directory.
12794 hardcode_action
=relink
12796 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12797 hardcode_action
=immediate
12800 # We cannot hardcode anything, or else we can only hardcode existing
12802 hardcode_action
=unsupported
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12805 $as_echo "$hardcode_action" >&6; }
12807 if test relink
= "$hardcode_action" ||
12808 test yes = "$inherit_rpath"; then
12809 # Fast installation is not supported
12810 enable_fast_install
=no
12811 elif test yes = "$shlibpath_overrides_runpath" ||
12812 test no
= "$enable_shared"; then
12813 # Fast installation is not necessary
12814 enable_fast_install
=needless
12822 if test yes != "$enable_dlopen"; then
12823 enable_dlopen
=unknown
12824 enable_dlopen_self
=unknown
12825 enable_dlopen_self_static
=unknown
12832 lt_cv_dlopen
=load_add_on
12834 lt_cv_dlopen_self
=yes
12837 mingw
* | pw32
* | cegcc
*)
12838 lt_cv_dlopen
=LoadLibrary
12843 lt_cv_dlopen
=dlopen
12848 # if libdl is installed we need to link against it
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12850 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12851 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12852 $as_echo_n "(cached) " >&6
12854 ac_check_lib_save_LIBS
=$LIBS
12856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12859 /* Override any GCC internal prototype to avoid an error.
12860 Use char because int might match the return type of a GCC
12861 builtin and then its argument prototype would still apply. */
12874 if ac_fn_c_try_link
"$LINENO"; then :
12875 ac_cv_lib_dl_dlopen
=yes
12877 ac_cv_lib_dl_dlopen
=no
12879 rm -f core conftest.err conftest.
$ac_objext \
12880 conftest
$ac_exeext conftest.
$ac_ext
12881 LIBS
=$ac_check_lib_save_LIBS
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12884 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12885 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12886 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12891 lt_cv_dlopen_self
=yes
12898 # Don't try to run any link tests for TPF. We know it's impossible
12899 # because TPF is a cross-compiler, and we know how we open DSOs.
12900 lt_cv_dlopen
=dlopen
12902 lt_cv_dlopen_self
=no
12906 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12907 if test "x$ac_cv_func_shl_load" = xyes
; then :
12908 lt_cv_dlopen
=shl_load
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12911 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12912 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12913 $as_echo_n "(cached) " >&6
12915 ac_check_lib_save_LIBS
=$LIBS
12917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12930 return shl_load ();
12935 if ac_fn_c_try_link
"$LINENO"; then :
12936 ac_cv_lib_dld_shl_load
=yes
12938 ac_cv_lib_dld_shl_load
=no
12940 rm -f core conftest.err conftest.
$ac_objext \
12941 conftest
$ac_exeext conftest.
$ac_ext
12942 LIBS
=$ac_check_lib_save_LIBS
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12945 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12946 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12947 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12949 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12950 if test "x$ac_cv_func_dlopen" = xyes
; then :
12951 lt_cv_dlopen
=dlopen
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12954 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12955 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12956 $as_echo_n "(cached) " >&6
12958 ac_check_lib_save_LIBS
=$LIBS
12960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12963 /* Override any GCC internal prototype to avoid an error.
12964 Use char because int might match the return type of a GCC
12965 builtin and then its argument prototype would still apply. */
12978 if ac_fn_c_try_link
"$LINENO"; then :
12979 ac_cv_lib_dl_dlopen
=yes
12981 ac_cv_lib_dl_dlopen
=no
12983 rm -f core conftest.err conftest.
$ac_objext \
12984 conftest
$ac_exeext conftest.
$ac_ext
12985 LIBS
=$ac_check_lib_save_LIBS
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12988 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12989 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12990 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12993 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12994 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12995 $as_echo_n "(cached) " >&6
12997 ac_check_lib_save_LIBS
=$LIBS
12998 LIBS
="-lsvld $LIBS"
12999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13002 /* Override any GCC internal prototype to avoid an error.
13003 Use char because int might match the return type of a GCC
13004 builtin and then its argument prototype would still apply. */
13017 if ac_fn_c_try_link
"$LINENO"; then :
13018 ac_cv_lib_svld_dlopen
=yes
13020 ac_cv_lib_svld_dlopen
=no
13022 rm -f core conftest.err conftest.
$ac_objext \
13023 conftest
$ac_exeext conftest.
$ac_ext
13024 LIBS
=$ac_check_lib_save_LIBS
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13027 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13028 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13029 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13032 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13033 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13034 $as_echo_n "(cached) " >&6
13036 ac_check_lib_save_LIBS
=$LIBS
13038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13039 /* end confdefs.h. */
13041 /* Override any GCC internal prototype to avoid an error.
13042 Use char because int might match the return type of a GCC
13043 builtin and then its argument prototype would still apply. */
13051 return dld_link ();
13056 if ac_fn_c_try_link
"$LINENO"; then :
13057 ac_cv_lib_dld_dld_link
=yes
13059 ac_cv_lib_dld_dld_link
=no
13061 rm -f core conftest.err conftest.
$ac_objext \
13062 conftest
$ac_exeext conftest.
$ac_ext
13063 LIBS
=$ac_check_lib_save_LIBS
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13066 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13067 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13068 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13089 if test no
= "$lt_cv_dlopen"; then
13095 case $lt_cv_dlopen in
13097 save_CPPFLAGS
=$CPPFLAGS
13098 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13100 save_LDFLAGS
=$LDFLAGS
13101 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13104 LIBS
="$lt_cv_dlopen_libs $LIBS"
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13107 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13108 if ${lt_cv_dlopen_self+:} false
; then :
13109 $as_echo_n "(cached) " >&6
13111 if test yes = "$cross_compiling"; then :
13112 lt_cv_dlopen_self
=cross
13114 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13115 lt_status
=$lt_dlunknown
13116 cat > conftest.
$ac_ext <<_LT_EOF
13117 #line $LINENO "configure"
13118 #include "confdefs.h"
13127 # define LT_DLGLOBAL RTLD_GLOBAL
13130 # define LT_DLGLOBAL DL_GLOBAL
13132 # define LT_DLGLOBAL 0
13136 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13137 find out it does not work in some platform. */
13138 #ifndef LT_DLLAZY_OR_NOW
13140 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13143 # define LT_DLLAZY_OR_NOW DL_LAZY
13146 # define LT_DLLAZY_OR_NOW RTLD_NOW
13149 # define LT_DLLAZY_OR_NOW DL_NOW
13151 # define LT_DLLAZY_OR_NOW 0
13158 /* When -fvisibility=hidden is used, assume the code has been annotated
13159 correspondingly for the symbols needed. */
13160 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13161 int fnord () __attribute__((visibility("default")));
13164 int fnord () { return 42; }
13167 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13168 int status = $lt_dlunknown;
13172 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13175 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13176 else puts (dlerror ());
13178 /* dlclose (self); */
13186 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13187 (eval $ac_link) 2>&5
13189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13190 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13191 (.
/conftest
; exit; ) >&5 2>/dev
/null
13193 case x
$lt_status in
13194 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13195 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13196 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13199 # compilation failed
13200 lt_cv_dlopen_self
=no
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13208 $as_echo "$lt_cv_dlopen_self" >&6; }
13210 if test yes = "$lt_cv_dlopen_self"; then
13211 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13213 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13214 if ${lt_cv_dlopen_self_static+:} false
; then :
13215 $as_echo_n "(cached) " >&6
13217 if test yes = "$cross_compiling"; then :
13218 lt_cv_dlopen_self_static
=cross
13220 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13221 lt_status
=$lt_dlunknown
13222 cat > conftest.
$ac_ext <<_LT_EOF
13223 #line $LINENO "configure"
13224 #include "confdefs.h"
13233 # define LT_DLGLOBAL RTLD_GLOBAL
13236 # define LT_DLGLOBAL DL_GLOBAL
13238 # define LT_DLGLOBAL 0
13242 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13243 find out it does not work in some platform. */
13244 #ifndef LT_DLLAZY_OR_NOW
13246 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13249 # define LT_DLLAZY_OR_NOW DL_LAZY
13252 # define LT_DLLAZY_OR_NOW RTLD_NOW
13255 # define LT_DLLAZY_OR_NOW DL_NOW
13257 # define LT_DLLAZY_OR_NOW 0
13264 /* When -fvisibility=hidden is used, assume the code has been annotated
13265 correspondingly for the symbols needed. */
13266 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13267 int fnord () __attribute__((visibility("default")));
13270 int fnord () { return 42; }
13273 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13274 int status = $lt_dlunknown;
13278 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13281 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13282 else puts (dlerror ());
13284 /* dlclose (self); */
13292 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13293 (eval $ac_link) 2>&5
13295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13296 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13297 (.
/conftest
; exit; ) >&5 2>/dev
/null
13299 case x
$lt_status in
13300 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13301 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13302 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13305 # compilation failed
13306 lt_cv_dlopen_self_static
=no
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13314 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13317 CPPFLAGS
=$save_CPPFLAGS
13318 LDFLAGS
=$save_LDFLAGS
13323 case $lt_cv_dlopen_self in
13324 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13325 *) enable_dlopen_self
=unknown
;;
13328 case $lt_cv_dlopen_self_static in
13329 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13330 *) enable_dlopen_self_static
=unknown
;;
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13353 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13354 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13355 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13356 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13358 $as_echo "yes" >&6; }
13360 # FIXME - insert some real tests, host_os isn't really good enough
13363 if test -n "$STRIP"; then
13364 striplib
="$STRIP -x"
13365 old_striplib
="$STRIP -S"
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13367 $as_echo "yes" >&6; }
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13370 $as_echo "no" >&6; }
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13375 $as_echo "no" >&6; }
13391 # Report what library types will actually be built
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13393 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13395 $as_echo "$can_build_shared" >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13398 $as_echo_n "checking whether to build shared libraries... " >&6; }
13399 test no
= "$can_build_shared" && enable_shared
=no
13401 # On AIX, shared libraries and static libraries use the same namespace, and
13402 # are all built from PIC.
13405 test yes = "$enable_shared" && enable_static
=no
13406 if test -n "$RANLIB"; then
13407 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13408 postinstall_cmds
='$RANLIB $lib'
13413 if test ia64
!= "$host_cpu"; then
13414 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13415 yes,aix
,yes) ;; # shared object as lib.so file only
13416 yes,svr4
,*) ;; # shared object as lib.so archive member only
13417 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13423 $as_echo "$enable_shared" >&6; }
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13426 $as_echo_n "checking whether to build static libraries... " >&6; }
13427 # Make sure either enable_shared or enable_static is yes.
13428 test yes = "$enable_shared" || enable_static
=yes
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13430 $as_echo "$enable_static" >&6; }
13437 ac_cpp
='$CPP $CPPFLAGS'
13438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13458 ac_config_commands
="$ac_config_commands libtool"
13463 # Only expand once:
13466 # Check whether --enable-largefile was given.
13467 if test "${enable_largefile+set}" = set; then :
13468 enableval
=$enable_largefile;
13471 if test "$enable_largefile" != no
; then
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13474 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13475 if ${ac_cv_sys_largefile_CC+:} false
; then :
13476 $as_echo_n "(cached) " >&6
13478 ac_cv_sys_largefile_CC
=no
13479 if test "$GCC" != yes; then
13482 # IRIX 6.2 and later do not support large files by default,
13483 # so use the C compiler's -n32 option if that helps.
13484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13486 #include <sys/types.h>
13487 /* Check that off_t can represent 2**63 - 1 correctly.
13488 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13489 since some C++ compilers masquerading as C compilers
13490 incorrectly reject 9223372036854775807. */
13491 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13492 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13493 && LARGE_OFF_T % 2147483647 == 1)
13503 if ac_fn_c_try_compile
"$LINENO"; then :
13506 rm -f core conftest.err conftest.
$ac_objext
13508 if ac_fn_c_try_compile
"$LINENO"; then :
13509 ac_cv_sys_largefile_CC
=' -n32'; break
13511 rm -f core conftest.err conftest.
$ac_objext
13515 rm -f conftest.
$ac_ext
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13519 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13520 if test "$ac_cv_sys_largefile_CC" != no
; then
13521 CC
=$CC$ac_cv_sys_largefile_CC
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13525 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13526 if ${ac_cv_sys_file_offset_bits+:} false
; then :
13527 $as_echo_n "(cached) " >&6
13530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13532 #include <sys/types.h>
13533 /* Check that off_t can represent 2**63 - 1 correctly.
13534 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13535 since some C++ compilers masquerading as C compilers
13536 incorrectly reject 9223372036854775807. */
13537 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13538 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13539 && LARGE_OFF_T % 2147483647 == 1)
13549 if ac_fn_c_try_compile
"$LINENO"; then :
13550 ac_cv_sys_file_offset_bits
=no
; break
13552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13555 #define _FILE_OFFSET_BITS 64
13556 #include <sys/types.h>
13557 /* Check that off_t can represent 2**63 - 1 correctly.
13558 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13559 since some C++ compilers masquerading as C compilers
13560 incorrectly reject 9223372036854775807. */
13561 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13562 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13563 && LARGE_OFF_T % 2147483647 == 1)
13573 if ac_fn_c_try_compile
"$LINENO"; then :
13574 ac_cv_sys_file_offset_bits
=64; break
13576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13577 ac_cv_sys_file_offset_bits
=unknown
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13582 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13583 case $ac_cv_sys_file_offset_bits in #(
13586 cat >>confdefs.h
<<_ACEOF
13587 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13592 if test $ac_cv_sys_file_offset_bits = unknown
; then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13594 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13595 if ${ac_cv_sys_large_files+:} false
; then :
13596 $as_echo_n "(cached) " >&6
13599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13601 #include <sys/types.h>
13602 /* Check that off_t can represent 2**63 - 1 correctly.
13603 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13604 since some C++ compilers masquerading as C compilers
13605 incorrectly reject 9223372036854775807. */
13606 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13607 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13608 && LARGE_OFF_T % 2147483647 == 1)
13618 if ac_fn_c_try_compile
"$LINENO"; then :
13619 ac_cv_sys_large_files
=no
; break
13621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 #define _LARGE_FILES 1
13625 #include <sys/types.h>
13626 /* Check that off_t can represent 2**63 - 1 correctly.
13627 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13628 since some C++ compilers masquerading as C compilers
13629 incorrectly reject 9223372036854775807. */
13630 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13631 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13632 && LARGE_OFF_T % 2147483647 == 1)
13642 if ac_fn_c_try_compile
"$LINENO"; then :
13643 ac_cv_sys_large_files
=1; break
13645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13646 ac_cv_sys_large_files
=unknown
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13651 $as_echo "$ac_cv_sys_large_files" >&6; }
13652 case $ac_cv_sys_large_files in #(
13655 cat >>confdefs.h
<<_ACEOF
13656 #define _LARGE_FILES $ac_cv_sys_large_files
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
13667 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
13668 if ${ac_cv_sys_largefile_source+:} false
; then :
13669 $as_echo_n "(cached) " >&6
13672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13674 #include <sys/types.h> /* for off_t */
13679 int (*fp) (FILE *, off_t, int) = fseeko;
13680 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13685 if ac_fn_c_try_link
"$LINENO"; then :
13686 ac_cv_sys_largefile_source
=no
; break
13688 rm -f core conftest.err conftest.
$ac_objext \
13689 conftest
$ac_exeext conftest.
$ac_ext
13690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13692 #define _LARGEFILE_SOURCE 1
13693 #include <sys/types.h> /* for off_t */
13698 int (*fp) (FILE *, off_t, int) = fseeko;
13699 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13704 if ac_fn_c_try_link
"$LINENO"; then :
13705 ac_cv_sys_largefile_source
=1; break
13707 rm -f core conftest.err conftest.
$ac_objext \
13708 conftest
$ac_exeext conftest.
$ac_ext
13709 ac_cv_sys_largefile_source
=unknown
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
13714 $as_echo "$ac_cv_sys_largefile_source" >&6; }
13715 case $ac_cv_sys_largefile_source in #(
13718 cat >>confdefs.h
<<_ACEOF
13719 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
13725 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
13726 # in glibc 2.1.3, but that breaks too many other things.
13727 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
13728 if test $ac_cv_sys_largefile_source != unknown
; then
13730 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
13734 ac_header_dirent
=no
13735 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
13736 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
13738 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
13739 if eval \
${$as_ac_Header+:} false
; then :
13740 $as_echo_n "(cached) " >&6
13742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13744 #include <sys/types.h>
13756 if ac_fn_c_try_compile
"$LINENO"; then :
13757 eval "$as_ac_Header=yes"
13759 eval "$as_ac_Header=no"
13761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13763 eval ac_res
=\$
$as_ac_Header
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13765 $as_echo "$ac_res" >&6; }
13766 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13767 cat >>confdefs.h
<<_ACEOF
13768 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13771 ac_header_dirent
=$ac_hdr; break
13775 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13776 if test $ac_header_dirent = dirent.h
; then
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13778 $as_echo_n "checking for library containing opendir... " >&6; }
13779 if ${ac_cv_search_opendir+:} false
; then :
13780 $as_echo_n "(cached) " >&6
13782 ac_func_search_save_LIBS
=$LIBS
13783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13786 /* Override any GCC internal prototype to avoid an error.
13787 Use char because int might match the return type of a GCC
13788 builtin and then its argument prototype would still apply. */
13801 for ac_lib
in '' dir
; do
13802 if test -z "$ac_lib"; then
13803 ac_res
="none required"
13806 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13808 if ac_fn_c_try_link
"$LINENO"; then :
13809 ac_cv_search_opendir
=$ac_res
13811 rm -f core conftest.err conftest.
$ac_objext \
13813 if ${ac_cv_search_opendir+:} false
; then :
13817 if ${ac_cv_search_opendir+:} false
; then :
13820 ac_cv_search_opendir
=no
13822 rm conftest.
$ac_ext
13823 LIBS
=$ac_func_search_save_LIBS
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13826 $as_echo "$ac_cv_search_opendir" >&6; }
13827 ac_res
=$ac_cv_search_opendir
13828 if test "$ac_res" != no
; then :
13829 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13835 $as_echo_n "checking for library containing opendir... " >&6; }
13836 if ${ac_cv_search_opendir+:} false
; then :
13837 $as_echo_n "(cached) " >&6
13839 ac_func_search_save_LIBS
=$LIBS
13840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13858 for ac_lib
in '' x
; do
13859 if test -z "$ac_lib"; then
13860 ac_res
="none required"
13863 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13865 if ac_fn_c_try_link
"$LINENO"; then :
13866 ac_cv_search_opendir
=$ac_res
13868 rm -f core conftest.err conftest.
$ac_objext \
13870 if ${ac_cv_search_opendir+:} false
; then :
13874 if ${ac_cv_search_opendir+:} false
; then :
13877 ac_cv_search_opendir
=no
13879 rm conftest.
$ac_ext
13880 LIBS
=$ac_func_search_save_LIBS
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13883 $as_echo "$ac_cv_search_opendir" >&6; }
13884 ac_res
=$ac_cv_search_opendir
13885 if test "$ac_res" != no
; then :
13886 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13893 $as_echo_n "checking for ANSI C header files... " >&6; }
13894 if ${ac_cv_header_stdc+:} false
; then :
13895 $as_echo_n "(cached) " >&6
13897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 #include <stdlib.h>
13900 #include <stdarg.h>
13901 #include <string.h>
13912 if ac_fn_c_try_compile
"$LINENO"; then :
13913 ac_cv_header_stdc
=yes
13915 ac_cv_header_stdc
=no
13917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13919 if test $ac_cv_header_stdc = yes; then
13920 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13923 #include <string.h>
13926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13927 $EGREP "memchr" >/dev
/null
2>&1; then :
13930 ac_cv_header_stdc
=no
13936 if test $ac_cv_header_stdc = yes; then
13937 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13940 #include <stdlib.h>
13943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13944 $EGREP "free" >/dev
/null
2>&1; then :
13947 ac_cv_header_stdc
=no
13953 if test $ac_cv_header_stdc = yes; then
13954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13955 if test "$cross_compiling" = yes; then :
13958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13959 /* end confdefs.h. */
13961 #include <stdlib.h>
13962 #if ((' ' & 0x0FF) == 0x020)
13963 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13964 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13966 # define ISLOWER(c) \
13967 (('a' <= (c) && (c) <= 'i') \
13968 || ('j' <= (c) && (c) <= 'r') \
13969 || ('s' <= (c) && (c) <= 'z'))
13970 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13973 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13978 for (i = 0; i < 256; i++)
13979 if (XOR (islower (i), ISLOWER (i))
13980 || toupper (i) != TOUPPER (i))
13985 if ac_fn_c_try_run
"$LINENO"; then :
13988 ac_cv_header_stdc
=no
13990 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13991 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13997 $as_echo "$ac_cv_header_stdc" >&6; }
13998 if test $ac_cv_header_stdc = yes; then
14000 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
14005 $as_echo_n "checking whether closedir returns void... " >&6; }
14006 if ${ac_cv_func_closedir_void+:} false
; then :
14007 $as_echo_n "(cached) " >&6
14009 if test "$cross_compiling" = yes; then :
14010 ac_cv_func_closedir_void
=yes
14012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 $ac_includes_default
14015 #include <$ac_header_dirent>
14016 #ifndef __cplusplus
14023 return closedir (opendir (".")) != 0;
14028 if ac_fn_c_try_run
"$LINENO"; then :
14029 ac_cv_func_closedir_void
=no
14031 ac_cv_func_closedir_void
=yes
14033 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14034 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
14039 $as_echo "$ac_cv_func_closedir_void" >&6; }
14040 if test $ac_cv_func_closedir_void = yes; then
14042 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
14046 for ac_header
in assert.h float.h limits.h
pwd.h stdlib.h sys
/param.h
14048 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14049 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14050 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14051 cat >>confdefs.h
<<_ACEOF
14052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14059 for ac_func
in putenv
14061 ac_fn_c_check_func
"$LINENO" "putenv" "ac_cv_func_putenv"
14062 if test "x$ac_cv_func_putenv" = xyes
; then :
14063 cat >>confdefs.h
<<_ACEOF
14064 #define HAVE_PUTENV 1
14070 for ac_func
in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr
14072 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14073 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14074 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14075 cat >>confdefs.h
<<_ACEOF
14076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14083 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14084 if ${ac_cv_c_const+:} false
; then :
14085 $as_echo_n "(cached) " >&6
14087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14094 #ifndef __cplusplus
14095 /* Ultrix mips cc rejects this sort of thing. */
14096 typedef int charset[2];
14097 const charset cs = { 0, 0 };
14098 /* SunOS 4.1.1 cc rejects this. */
14099 char const *const *pcpcc;
14101 /* NEC SVR4.0.2 mips cc rejects this. */
14102 struct point {int x, y;};
14103 static struct point const zero = {0,0};
14104 /* AIX XL C 1.02.0.0 rejects this.
14105 It does not let you subtract one const X* pointer from another in
14106 an arm of an if-expression whose if-part is not a constant
14108 const char *g = "string";
14109 pcpcc = &g + (g ? g-g : 0);
14110 /* HPUX 7.0 cc rejects these. */
14112 ppc = (char**) pcpcc;
14113 pcpcc = (char const *const *) ppc;
14114 { /* SCO 3.2v4 cc rejects this sort of thing. */
14117 char const *s = 0 ? (char *) 0 : (char const *) 0;
14122 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14123 int x[] = {25, 17};
14124 const int *foo = &x[0];
14127 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14128 typedef const int *iptr;
14132 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14133 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14134 struct s { int j; const int *ap[3]; } bx;
14135 struct s *b = &bx; b->j = 5;
14137 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14138 const int foo = 10;
14139 if (!foo) return 0;
14141 return !cs[0] && !zero.x;
14148 if ac_fn_c_try_compile
"$LINENO"; then :
14153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14156 $as_echo "$ac_cv_c_const" >&6; }
14157 if test $ac_cv_c_const = no
; then
14159 $as_echo "#define const /**/" >>confdefs.h
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14164 $as_echo_n "checking for inline... " >&6; }
14165 if ${ac_cv_c_inline+:} false
; then :
14166 $as_echo_n "(cached) " >&6
14169 for ac_kw
in inline __inline__ __inline
; do
14170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14172 #ifndef __cplusplus
14174 static $ac_kw foo_t static_foo () {return 0; }
14175 $ac_kw foo_t foo () {return 0; }
14179 if ac_fn_c_try_compile
"$LINENO"; then :
14180 ac_cv_c_inline
=$ac_kw
14182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14183 test "$ac_cv_c_inline" != no
&& break
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14188 $as_echo "$ac_cv_c_inline" >&6; }
14190 case $ac_cv_c_inline in
14193 case $ac_cv_c_inline in
14195 *) ac_val
=$ac_cv_c_inline;;
14197 cat >>confdefs.h
<<_ACEOF
14198 #ifndef __cplusplus
14199 #define inline $ac_val
14205 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14206 if test "x$ac_cv_type_size_t" = xyes
; then :
14210 cat >>confdefs.h
<<_ACEOF
14211 #define size_t unsigned int
14216 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
14217 case $ac_cv_c_int64_t in #(
14221 cat >>confdefs.h
<<_ACEOF
14222 #define int64_t $ac_cv_c_int64_t
14227 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
14228 case $ac_cv_c_uint64_t in #(
14232 $as_echo "#define _UINT64_T 1" >>confdefs.h
14235 cat >>confdefs.h
<<_ACEOF
14236 #define uint64_t $ac_cv_c_uint64_t
14241 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
14243 as_fn_error $?
"Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
14247 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14248 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14250 cat >>confdefs.h
<<_ACEOF
14251 #define HAVE_STRUCT_STAT_ST_MTIM 1
14259 if test "x$cross_compiling" = xyes
; then
14269 ac_cpp
='$CXXCPP $CPPFLAGS'
14270 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14271 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14272 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14273 if test -z "$CXX"; then
14274 if test -n "$CCC"; then
14277 if test -n "$ac_tool_prefix"; then
14278 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
14280 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14281 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14283 $as_echo_n "checking for $ac_word... " >&6; }
14284 if ${ac_cv_prog_CXX+:} false
; then :
14285 $as_echo_n "(cached) " >&6
14287 if test -n "$CXX"; then
14288 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14291 for as_dir
in $PATH
14294 test -z "$as_dir" && as_dir
=.
14295 for ac_exec_ext
in '' $ac_executable_extensions; do
14296 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14297 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14307 CXX
=$ac_cv_prog_CXX
14308 if test -n "$CXX"; then
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14310 $as_echo "$CXX" >&6; }
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14313 $as_echo "no" >&6; }
14317 test -n "$CXX" && break
14320 if test -z "$CXX"; then
14322 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
14324 # Extract the first word of "$ac_prog", so it can be a program name with args.
14325 set dummy
$ac_prog; ac_word
=$2
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14327 $as_echo_n "checking for $ac_word... " >&6; }
14328 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
14329 $as_echo_n "(cached) " >&6
14331 if test -n "$ac_ct_CXX"; then
14332 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14335 for as_dir
in $PATH
14338 test -z "$as_dir" && as_dir
=.
14339 for ac_exec_ext
in '' $ac_executable_extensions; do
14340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14341 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14351 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14352 if test -n "$ac_ct_CXX"; then
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14354 $as_echo "$ac_ct_CXX" >&6; }
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14357 $as_echo "no" >&6; }
14361 test -n "$ac_ct_CXX" && break
14364 if test "x$ac_ct_CXX" = x
; then
14367 case $cross_compiling:$ac_tool_warned in
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14371 ac_tool_warned
=yes ;;
14379 # Provide some information about the compiler.
14380 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14383 for ac_option
in --version -v -V -qversion; do
14384 { { ac_try
="$ac_compiler $ac_option >&5"
14385 case "(($ac_try" in
14386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14387 *) ac_try_echo=$ac_try;;
14389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14390 $as_echo "$ac_try_echo"; } >&5
14391 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14393 if test -s conftest.err; then
14395 ... rest of stderr output deleted ...
14396 10q' conftest.err >conftest.er1
14397 cat conftest.er1 >&5
14399 rm -f conftest.er1 conftest.err
14400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14401 test $ac_status = 0; }
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14405 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14406 if ${ac_cv_cxx_compiler_gnu+:} false; then :
14407 $as_echo_n "(cached) " >&6
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14423 if ac_fn_cxx_try_compile "$LINENO"; then :
14424 ac_compiler_gnu=yes
14428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14429 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14433 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14434 if test $ac_compiler_gnu = yes; then
14439 ac_test_CXXFLAGS=${CXXFLAGS+set}
14440 ac_save_CXXFLAGS=$CXXFLAGS
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14442 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14443 if ${ac_cv_prog_cxx_g+:} false; then :
14444 $as_echo_n "(cached) " >&6
14446 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14447 ac_cxx_werror_flag=yes
14448 ac_cv_prog_cxx_g=no
14450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14461 if ac_fn_cxx_try_compile "$LINENO"; then :
14462 ac_cv_prog_cxx_g=yes
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14476 if ac_fn_cxx_try_compile "$LINENO"; then :
14479 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14482 /* end confdefs.h. */
14492 if ac_fn_cxx_try_compile "$LINENO"; then :
14493 ac_cv_prog_cxx_g=yes
14495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14500 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14503 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14504 if test "$ac_test_CXXFLAGS" = set; then
14505 CXXFLAGS=$ac_save_CXXFLAGS
14506 elif test $ac_cv_prog_cxx_g = yes; then
14507 if test "$GXX" = yes; then
14513 if test "$GXX" = yes; then
14520 ac_cpp='$CPP $CPPFLAGS'
14521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14525 depcc="$CXX" am_compiler_list=
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14528 $as_echo_n "checking dependency style of $depcc... " >&6; }
14529 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
14530 $as_echo_n "(cached) " >&6
14532 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14533 # We make a subdir and do the tests there. Otherwise we can end up
14534 # making bogus files that we don't know about and never remove. For
14535 # instance it was reported that on HP-UX the gcc test will end up
14536 # making a dummy file named 'D' -- because '-MD' means "put the output
14538 rm -rf conftest.dir
14540 # Copy depcomp to subdir because otherwise we won't find it if we're
14541 # using a relative directory.
14542 cp "$am_depcomp" conftest.dir
14544 # We will build objects and dependencies in a subdirectory because
14545 # it helps to detect inapplicable dependency modes. For instance
14546 # both Tru64's cc and ICC support -MD to output dependencies as a
14547 # side effect of compilation, but ICC will put the dependencies in
14548 # the current directory while Tru64 will put them in the object
14552 am_cv_CXX_dependencies_compiler_type=none
14553 if test "$am_compiler_list" = ""; then
14554 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
14556 am__universal=false
14557 case " $depcc " in #(
14558 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14561 for depmode in $am_compiler_list; do
14562 # Setup a source with many dependencies, because some compilers
14563 # like to wrap large dependency lists on column 80 (with \), and
14564 # we should not choose a depcomp mode which is confused by this.
14566 # We need to recreate these files for each test, as the compiler may
14567 # overwrite some of them when testing with obscure command lines.
14568 # This happens at least with the AIX C compiler.
14570 for i in 1 2 3 4 5 6; do
14571 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14572 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14573 # Solaris 10 /bin/sh.
14574 echo '/* dummy */' > sub/conftst$i.h
14576 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14578 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14579 # mode. It turns out that the SunPro C++ compiler does not properly
14580 # handle '-M -o', and we need to detect this. Also, some Intel
14581 # versions had trouble with output in subdirs.
14582 am__obj=sub/conftest.${OBJEXT-o}
14583 am__minus_obj="-o $am__obj"
14586 # This depmode causes a compiler race in universal mode.
14587 test "$am__universal" = false || continue
14590 # After this tag, mechanisms are not by side-effect, so they'll
14591 # only be used when explicitly requested.
14592 if test "x$enable_dependency_tracking" = xyes; then
14598 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14599 # This compiler won't grok '-c -o', but also, the minuso test has
14600 # not run yet. These depmodes are late enough in the game, and
14601 # so weak that their functioning should not be impacted.
14602 am__obj=conftest.${OBJEXT-o}
14607 if depmode=$depmode \
14608 source=sub/conftest.c object=$am__obj \
14609 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14610 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14611 >/dev/null 2>conftest.err &&
14612 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14613 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14614 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14615 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14616 # icc doesn't choke on unknown options, it will just issue warnings
14617 # or remarks (even with -Werror). So we grep stderr for any message
14618 # that says an option was ignored or not supported.
14619 # When given -MP, icc 7.0 and 7.1 complain thusly:
14620 # icc: Command line warning: ignoring option '-M'; no argument required
14621 # The diagnosis changed in icc 8.0:
14622 # icc: Command line remark: option '-MP' not supported
14623 if (grep 'ignoring option' conftest.err ||
14624 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14625 am_cv_CXX_dependencies_compiler_type=$depmode
14632 rm -rf conftest.dir
14634 am_cv_CXX_dependencies_compiler_type=none
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14639 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14640 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14643 test "x$enable_dependency_tracking" != xno \
14644 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14645 am__fastdepCXX_TRUE=
14646 am__fastdepCXX_FALSE='#'
14648 am__fastdepCXX_TRUE='#'
14649 am__fastdepCXX_FALSE=
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
14653 $as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
14654 if ${kpse_cv_warning_cxxflags+:} false; then :
14655 $as_echo_n "(cached) " >&6
14657 if test "x$GXX" = xyes; then
14658 kpse_cv_warning_cxxflags=
14659 kpse_warn_strings="-Wno-write-strings"
14660 if test "x$enable_compiler_warnings" != xno; then
14661 kpse_cv_warning_cxxflags="-Wreturn-type"
14662 case `$CXX -dumpversion` in #(
14663 3.* | 4.[012345].*) :
14664 kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #(
14668 case `$CXX -dumpversion` in #(
14670 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #(
14674 if test "x$enable_compiler_warnings" != xmin; then
14675 kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags"
14676 if test "x$enable_compiler_warnings" != xyes; then
14677 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
14678 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align"
14679 kpse_warn_strings="-Wwrite-strings"
14680 if test "x$enable_compiler_warnings" != xmax; then
14681 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow"
14686 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings"
14687 elif test "x$enable_compiler_warnings" = xno; then
14688 kpse_cv_warning_cxxflags=
14690 kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5
14694 $as_echo "$kpse_cv_warning_cxxflags" >&6; }
14695 WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags
14701 func_stripname_cnf ()
14704 .*) func_stripname_result=`$ECHO "$3" |
$SED "s%^$1%%; s%\\\\$2\$%%"`;;
14705 *) func_stripname_result=`$ECHO "$3" |
$SED "s%^$1%%; s%$2\$%%"`;;
14707 } # func_stripname_cnf
14709 if test -n "$CXX" && ( test no != "$CXX" &&
14710 ( (test g++ = "$CXX" && `g
++ -v >/dev
/null
2>&1` ) ||
14711 (test g++ != "$CXX"))); then
14713 ac_cpp='$CXXCPP $CPPFLAGS'
14714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14718 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14719 if test -z "$CXXCPP"; then
14720 if ${ac_cv_prog_CXXCPP+:} false; then :
14721 $as_echo_n "(cached) " >&6
14723 # Double quotes because CXXCPP needs to be expanded
14724 for CXXCPP in "$CXX -E" "/lib/cpp"
14726 ac_preproc_ok=false
14727 for ac_cxx_preproc_warn_flag in '' yes
14729 # Use a header file that comes with gcc, so configuring glibc
14730 # with a fresh cross-compiler works.
14731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14732 # <limits.h> exists even on freestanding compilers.
14733 # On the NeXT, cc -E runs the code through the compiler's parser,
14734 # not just through cpp. "Syntax error" is here to catch this case.
14735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14738 # include <limits.h>
14740 # include <assert.h>
14744 if ac_fn_cxx_try_cpp "$LINENO"; then :
14747 # Broken: fails on valid input.
14750 rm -f conftest.err conftest.i conftest.$ac_ext
14752 # OK, works on sane cases. Now check whether nonexistent headers
14753 # can be detected and how.
14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14756 #include <ac_nonexistent.h>
14758 if ac_fn_cxx_try_cpp "$LINENO"; then :
14759 # Broken: success on invalid input.
14762 # Passes both tests.
14766 rm -f conftest.err conftest.i conftest.$ac_ext
14769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14770 rm -f conftest.i conftest.err conftest.
$ac_ext
14771 if $ac_preproc_ok; then :
14776 ac_cv_prog_CXXCPP
=$CXXCPP
14779 CXXCPP
=$ac_cv_prog_CXXCPP
14781 ac_cv_prog_CXXCPP
=$CXXCPP
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14784 $as_echo "$CXXCPP" >&6; }
14785 ac_preproc_ok
=false
14786 for ac_cxx_preproc_warn_flag
in '' yes
14788 # Use a header file that comes with gcc, so configuring glibc
14789 # with a fresh cross-compiler works.
14790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14791 # <limits.h> exists even on freestanding compilers.
14792 # On the NeXT, cc -E runs the code through the compiler's parser,
14793 # not just through cpp. "Syntax error" is here to catch this case.
14794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14797 # include <limits.h>
14799 # include <assert.h>
14803 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14806 # Broken: fails on valid input.
14809 rm -f conftest.err conftest.i conftest.
$ac_ext
14811 # OK, works on sane cases. Now check whether nonexistent headers
14812 # can be detected and how.
14813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14815 #include <ac_nonexistent.h>
14817 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14818 # Broken: success on invalid input.
14821 # Passes both tests.
14825 rm -f conftest.err conftest.i conftest.
$ac_ext
14828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14829 rm -f conftest.i conftest.err conftest.
$ac_ext
14830 if $ac_preproc_ok; then :
14833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14835 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
14836 See \`config.log' for more details" "$LINENO" 5; }
14840 ac_cpp
='$CPP $CPPFLAGS'
14841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14846 _lt_caught_CXX_error
=yes
14850 ac_cpp
='$CXXCPP $CPPFLAGS'
14851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14855 archive_cmds_need_lc_CXX
=no
14856 allow_undefined_flag_CXX
=
14857 always_export_symbols_CXX
=no
14858 archive_expsym_cmds_CXX
=
14859 compiler_needs_object_CXX
=no
14860 export_dynamic_flag_spec_CXX
=
14861 hardcode_direct_CXX
=no
14862 hardcode_direct_absolute_CXX
=no
14863 hardcode_libdir_flag_spec_CXX
=
14864 hardcode_libdir_separator_CXX
=
14865 hardcode_minus_L_CXX
=no
14866 hardcode_shlibpath_var_CXX
=unsupported
14867 hardcode_automatic_CXX
=no
14868 inherit_rpath_CXX
=no
14870 module_expsym_cmds_CXX
=
14871 link_all_deplibs_CXX
=unknown
14872 old_archive_cmds_CXX
=$old_archive_cmds
14873 reload_flag_CXX
=$reload_flag
14874 reload_cmds_CXX
=$reload_cmds
14875 no_undefined_flag_CXX
=
14876 whole_archive_flag_spec_CXX
=
14877 enable_shared_with_static_runtimes_CXX
=no
14879 # Source file extension for C++ test sources.
14882 # Object file extension for compiled C++ test sources.
14886 # No sense in running all these tests if we already determined that
14887 # the CXX compiler isn't working. Some variables (like enable_shared)
14888 # are currently assumed to apply to all compilers on this platform,
14889 # and will be corrupted by setting them based on a non-working compiler.
14890 if test yes != "$_lt_caught_CXX_error"; then
14891 # Code to be used in simple compile tests
14892 lt_simple_compile_test_code
="int some_variable = 0;"
14894 # Code to be used in simple link tests
14895 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
14897 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14904 # If no C compiler was specified, use CC.
14907 # If no C compiler flags were specified, use CFLAGS.
14908 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14910 # Allow CC to be a program name with arguments.
14914 # save warnings/boilerplate of simple test code
14915 ac_outfile
=conftest.
$ac_objext
14916 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14917 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14918 _lt_compiler_boilerplate
=`cat conftest.err`
14921 ac_outfile
=conftest.
$ac_objext
14922 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14923 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14924 _lt_linker_boilerplate
=`cat conftest.err`
14928 # Allow CC to be a program name with arguments.
14930 lt_save_CFLAGS
=$CFLAGS
14934 lt_save_with_gnu_ld
=$with_gnu_ld
14935 lt_save_path_LD
=$lt_cv_path_LD
14936 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14937 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
14939 $as_unset lt_cv_prog_gnu_ld
14941 if test -n "${lt_cv_path_LDCXX+set}"; then
14942 lt_cv_path_LD
=$lt_cv_path_LDCXX
14944 $as_unset lt_cv_path_LD
14946 test -z "${LDCXX+set}" || LD
=$LDCXX
14951 func_cc_basename
$compiler
14952 cc_basename
=$func_cc_basename_result
14955 if test -n "$compiler"; then
14956 # We don't want -fno-exception when compiling C++ code, so set the
14957 # no_builtin_flag separately
14958 if test yes = "$GXX"; then
14959 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
14961 lt_prog_compiler_no_builtin_flag_CXX
=
14964 if test yes = "$GXX"; then
14965 # Set up default GNU C++ configuration
14969 # Check whether --with-gnu-ld was given.
14970 if test "${with_gnu_ld+set}" = set; then :
14971 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
14977 if test yes = "$GCC"; then
14978 # Check if gcc -print-prog-name=ld gives a path.
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14980 $as_echo_n "checking for ld used by $CC... " >&6; }
14983 # gcc leaves a trailing carriage return, which upsets mingw
14984 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14986 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14989 # Accept absolute paths.
14991 re_direlt
='/[^/][^/]*/\.\./'
14992 # Canonicalize the pathname of ld
14993 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14994 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
14995 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14997 test -z "$LD" && LD
=$ac_prog
15000 # If it fails, then pretend we aren't using GCC.
15004 # If it is relative, then search for the first ld in PATH.
15005 with_gnu_ld
=unknown
15008 elif test yes = "$with_gnu_ld"; then
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15010 $as_echo_n "checking for GNU ld... " >&6; }
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15013 $as_echo_n "checking for non-GNU ld... " >&6; }
15015 if ${lt_cv_path_LD+:} false
; then :
15016 $as_echo_n "(cached) " >&6
15018 if test -z "$LD"; then
15019 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
15020 for ac_dir
in $PATH; do
15022 test -z "$ac_dir" && ac_dir
=.
15023 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15024 lt_cv_path_LD
=$ac_dir/$ac_prog
15025 # Check to see if the program is GNU ld. I'd rather use --version,
15026 # but apparently some variants of GNU ld only accept -v.
15027 # Break only if it was the GNU/non-GNU ld that we prefer.
15028 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15029 *GNU
* |
*'with BFD'*)
15030 test no
!= "$with_gnu_ld" && break
15033 test yes != "$with_gnu_ld" && break
15040 lt_cv_path_LD
=$LD # Let the user override the test with a path.
15045 if test -n "$LD"; then
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15047 $as_echo "$LD" >&6; }
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15050 $as_echo "no" >&6; }
15052 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15054 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15055 if ${lt_cv_prog_gnu_ld+:} false
; then :
15056 $as_echo_n "(cached) " >&6
15058 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15059 case `$LD -v 2>&1 </dev/null` in
15060 *GNU
* |
*'with BFD'*)
15061 lt_cv_prog_gnu_ld
=yes
15064 lt_cv_prog_gnu_ld
=no
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15069 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15070 with_gnu_ld
=$lt_cv_prog_gnu_ld
15078 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15079 # archiving commands below assume that GNU ld is being used.
15080 if test yes = "$with_gnu_ld"; then
15081 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15082 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'
15084 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15085 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15087 # If archive_cmds runs LD, not CC, wlarc should be empty
15088 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15089 # investigate it a little bit more. (MM)
15092 # ancient GNU ld didn't support --whole-archive et. al.
15093 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15094 $GREP 'no-whole-archive' > /dev
/null
; then
15095 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15097 whole_archive_flag_spec_CXX
=
15103 # A generic and very simple default shared library creation
15104 # command for GNU C++ for the case where it uses the native
15105 # linker, instead of GNU ld. If possible, this setting should
15106 # overridden to take advantage of the native linker features on
15107 # the platform it is being used on.
15108 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15111 # Commands to make compiler produce verbose output that lists
15112 # what "hidden" libraries, object files and flags are used when
15113 # linking a shared library.
15114 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15122 # PORTME: fill in a description of your system's C++ link characteristics
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15124 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15128 # FIXME: insert proper C++ library support
15132 if test ia64
= "$host_cpu"; then
15133 # On IA64, the linker does run time linking by default, so we don't
15134 # have to do anything special.
15135 aix_use_runtimelinking
=no
15136 exp_sym_flag
='-Bexport'
15139 aix_use_runtimelinking
=no
15141 # Test if we are trying to use run time linking or normal
15142 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15143 # have runtime linking enabled, and use it for executables.
15144 # For shared libraries, we enable/disable runtime linking
15145 # depending on the kind of the shared library created -
15146 # when "with_aix_soname,aix_use_runtimelinking" is:
15147 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15148 # "aix,yes" lib.so shared, rtl:yes, for executables
15149 # lib.a static archive
15150 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15151 # lib.a(lib.so.V) shared, rtl:no, for executables
15152 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15153 # lib.a(lib.so.V) shared, rtl:no
15154 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15155 # lib.a static archive
15156 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15157 for ld_flag
in $LDFLAGS; do
15160 aix_use_runtimelinking
=yes
15165 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
15166 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15167 # so we don't have lib.a shared libs to link our executables.
15168 # We have to force runtime linking in this case.
15169 aix_use_runtimelinking
=yes
15170 LDFLAGS
="$LDFLAGS -Wl,-brtl"
15175 exp_sym_flag
='-bexport'
15176 no_entry_flag
='-bnoentry'
15179 # When large executables or shared objects are built, AIX ld can
15180 # have problems creating the table of contents. If linking a library
15181 # or program results in "error TOC overflow" add -mminimal-toc to
15182 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15183 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15185 archive_cmds_CXX
=''
15186 hardcode_direct_CXX
=yes
15187 hardcode_direct_absolute_CXX
=yes
15188 hardcode_libdir_separator_CXX
=':'
15189 link_all_deplibs_CXX
=yes
15190 file_list_spec_CXX
='$wl-f,'
15191 case $with_aix_soname,$aix_use_runtimelinking in
15192 aix
,*) ;; # no import file
15193 svr4
,* |
*,yes) # use import file
15194 # The Import File defines what to hardcode.
15195 hardcode_direct_CXX
=no
15196 hardcode_direct_absolute_CXX
=no
15200 if test yes = "$GXX"; then
15201 case $host_os in aix4.
[012]|aix4.
[012].
*)
15202 # We only want to do this on AIX 4.2 and lower, the check
15203 # below for broken collect2 doesn't work under 4.3+
15204 collect2name
=`$CC -print-prog-name=collect2`
15205 if test -f "$collect2name" &&
15206 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
15208 # We have reworked collect2
15211 # We have old collect2
15212 hardcode_direct_CXX
=unsupported
15213 # It fails to find uninstalled libraries when the uninstalled
15214 # path is not listed in the libpath. Setting hardcode_minus_L
15215 # to unsupported forces relinking
15216 hardcode_minus_L_CXX
=yes
15217 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15218 hardcode_libdir_separator_CXX
=
15221 shared_flag
='-shared'
15222 if test yes = "$aix_use_runtimelinking"; then
15223 shared_flag
=$shared_flag' $wl-G'
15225 # Need to ensure runtime linking is disabled for the traditional
15226 # shared library, or the linker may eventually find shared libraries
15227 # /with/ Import File - we do not want to mix them.
15228 shared_flag_aix
='-shared'
15229 shared_flag_svr4
='-shared $wl-G'
15232 if test ia64
= "$host_cpu"; then
15233 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15234 # chokes on -Wl,-G. The following line is correct:
15237 if test yes = "$aix_use_runtimelinking"; then
15238 shared_flag
='$wl-G'
15240 shared_flag
='$wl-bM:SRE'
15242 shared_flag_aix
='$wl-bM:SRE'
15243 shared_flag_svr4
='$wl-G'
15247 export_dynamic_flag_spec_CXX
='$wl-bexpall'
15248 # It seems that -bexpall does not export symbols beginning with
15249 # underscore (_), so it is better to generate a list of symbols to
15251 always_export_symbols_CXX
=yes
15252 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15253 # Warning - without using the other runtime loading flags (-brtl),
15254 # -berok will link without error, but may produce a broken library.
15255 # The "-G" linker flag allows undefined symbols.
15256 no_undefined_flag_CXX
='-bernotok'
15257 # Determine the default libpath from the value encoded in an empty
15259 if test set = "${lt_cv_aix_libpath+set}"; then
15260 aix_libpath
=$lt_cv_aix_libpath
15262 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15263 $as_echo_n "(cached) " >&6
15265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15276 if ac_fn_cxx_try_link
"$LINENO"; then :
15278 lt_aix_libpath_sed
='
15279 /Import File Strings/,/^$/ {
15281 s/^0 *\([^ ]*\) *$/\1/
15285 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15286 # Check for a 64-bit object if we didn't find anything.
15287 if test -z "$lt_cv_aix_libpath__CXX"; then
15288 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15291 rm -f core conftest.err conftest.
$ac_objext \
15292 conftest
$ac_exeext conftest.
$ac_ext
15293 if test -z "$lt_cv_aix_libpath__CXX"; then
15294 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15299 aix_libpath
=$lt_cv_aix_libpath__CXX
15302 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15304 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
15306 if test ia64
= "$host_cpu"; then
15307 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
15308 allow_undefined_flag_CXX
="-z nodefs"
15309 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"
15311 # Determine the default libpath from the value encoded in an
15312 # empty executable.
15313 if test set = "${lt_cv_aix_libpath+set}"; then
15314 aix_libpath
=$lt_cv_aix_libpath
15316 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15317 $as_echo_n "(cached) " >&6
15319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15330 if ac_fn_cxx_try_link
"$LINENO"; then :
15332 lt_aix_libpath_sed
='
15333 /Import File Strings/,/^$/ {
15335 s/^0 *\([^ ]*\) *$/\1/
15339 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15340 # Check for a 64-bit object if we didn't find anything.
15341 if test -z "$lt_cv_aix_libpath__CXX"; then
15342 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15345 rm -f core conftest.err conftest.
$ac_objext \
15346 conftest
$ac_exeext conftest.
$ac_ext
15347 if test -z "$lt_cv_aix_libpath__CXX"; then
15348 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15353 aix_libpath
=$lt_cv_aix_libpath__CXX
15356 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15357 # Warning - without using the other run time loading flags,
15358 # -berok will link without error, but may produce a broken library.
15359 no_undefined_flag_CXX
=' $wl-bernotok'
15360 allow_undefined_flag_CXX
=' $wl-berok'
15361 if test yes = "$with_gnu_ld"; then
15362 # We only use this code for GNU lds that support --whole-archive.
15363 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15365 # Exported symbols can be pulled into shared objects from archives
15366 whole_archive_flag_spec_CXX
='$convenience'
15368 archive_cmds_need_lc_CXX
=yes
15369 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15370 # -brtl affects multiple linker settings, -berok does not and is overridden later
15371 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15372 if test svr4
!= "$with_aix_soname"; then
15373 # This is similar to how AIX traditionally builds its shared
15374 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15375 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'
15377 if test aix
!= "$with_aix_soname"; then
15378 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'
15380 # used by -dlpreopen to get the symbols
15381 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15383 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15389 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
15390 allow_undefined_flag_CXX
=unsupported
15391 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15392 # support --undefined. This deserves some investigation. FIXME
15393 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15400 case $cc_basename in
15402 # FIXME: insert proper C++ library support
15408 cygwin
* | mingw
* | pw32
* | cegcc
*)
15409 case $GXX,$cc_basename in
15412 # hardcode_libdir_flag_spec is actually meaningless, as there is
15413 # no search path for DLLs.
15414 hardcode_libdir_flag_spec_CXX
=' '
15415 allow_undefined_flag_CXX
=unsupported
15416 always_export_symbols_CXX
=yes
15417 file_list_spec_CXX
='@'
15418 # Tell ltmain to make .lib files, not .a files.
15420 # Tell ltmain to make .dll files, not .so files.
15422 # FIXME: Setting linknames here is a bad hack.
15423 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15424 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15425 cp "$export_symbols" "$output_objdir/$soname.def";
15426 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15428 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15430 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15432 # The linker will not automatically build a static lib if we build a DLL.
15433 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15434 enable_shared_with_static_runtimes_CXX
=yes
15436 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
15437 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
15438 lt_tool_outputfile="@TOOL_OUTPUT@"~
15439 case $lt_outputfile in
15442 lt_outputfile=$lt_outputfile.exe
15443 lt_tool_outputfile=$lt_tool_outputfile.exe
15446 func_to_tool_file "$lt_outputfile"~
15447 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15448 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15449 $RM "$lt_outputfile.manifest";
15454 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15455 # as there is no search path for DLLs.
15456 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15457 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
15458 allow_undefined_flag_CXX
=unsupported
15459 always_export_symbols_CXX
=no
15460 enable_shared_with_static_runtimes_CXX
=yes
15462 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
15463 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'
15464 # If the export-symbols file already is a .def file, use it as
15465 # is; otherwise, prepend EXPORTS...
15466 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15467 cp $export_symbols $output_objdir/$soname.def;
15469 echo EXPORTS > $output_objdir/$soname.def;
15470 cat $export_symbols >> $output_objdir/$soname.def;
15472 $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'
15479 darwin
* | rhapsody
*)
15482 archive_cmds_need_lc_CXX
=no
15483 hardcode_direct_CXX
=no
15484 hardcode_automatic_CXX
=yes
15485 hardcode_shlibpath_var_CXX
=unsupported
15486 if test yes = "$lt_cv_ld_force_load"; then
15487 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\"`'
15490 whole_archive_flag_spec_CXX
=''
15492 link_all_deplibs_CXX
=yes
15493 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
15494 case $cc_basename in
15495 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
15496 *) _lt_dar_can_shared
=$GCC ;;
15498 if test yes = "$_lt_dar_can_shared"; then
15499 output_verbose_link_cmd
=func_echo_all
15500 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"
15501 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15502 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"
15503 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"
15504 if test yes != "$lt_cv_apple_cc_single_mod"; then
15505 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"
15506 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"
15516 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15517 hardcode_minus_L_CXX
=yes
15518 allow_undefined_flag_CXX
=unsupported
15520 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15521 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15522 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15523 $ECHO EXPORTS >> $output_objdir/$libname.def~
15524 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15525 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15526 emximp -o $lib $output_objdir/$libname.def'
15527 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15528 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15529 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15530 $ECHO EXPORTS >> $output_objdir/$libname.def~
15531 prefix_cmds="$SED"~
15532 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15533 prefix_cmds="$prefix_cmds -e 1d";
15535 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15536 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15537 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15538 emximp -o $lib $output_objdir/$libname.def'
15539 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15540 enable_shared_with_static_runtimes_CXX
=yes
15544 case $cc_basename in
15546 # FIXME: insert proper C++ library support
15550 # Green Hills C++ Compiler
15551 # FIXME: insert proper C++ library support
15555 # FIXME: insert proper C++ library support
15562 # C++ shared libraries reported to be fairly broken before
15568 archive_cmds_need_lc_CXX
=no
15571 freebsd
* | dragonfly
*)
15572 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15578 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15579 link_all_deplibs_CXX
=yes
15583 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15584 hardcode_libdir_separator_CXX
=:
15585 export_dynamic_flag_spec_CXX
='$wl-E'
15586 hardcode_direct_CXX
=yes
15587 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15588 # but as the default
15589 # location of the library.
15591 case $cc_basename in
15593 # FIXME: insert proper C++ library support
15597 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'
15598 # Commands to make compiler produce verbose output that lists
15599 # what "hidden" libraries, object files and flags are used when
15600 # linking a shared library.
15602 # There doesn't appear to be a way to prevent this compiler from
15603 # explicitly linking system object files so we need to strip them
15604 # from the output so that they don't get included in the library
15606 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"'
15609 if test yes = "$GXX"; then
15610 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'
15612 # FIXME: insert proper C++ library support
15620 if test no
= "$with_gnu_ld"; then
15621 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15622 hardcode_libdir_separator_CXX
=:
15628 export_dynamic_flag_spec_CXX
='$wl-E'
15634 hardcode_direct_CXX
=no
15635 hardcode_shlibpath_var_CXX
=no
15638 hardcode_direct_CXX
=yes
15639 hardcode_direct_absolute_CXX
=yes
15640 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15641 # but as the default
15642 # location of the library.
15646 case $cc_basename in
15648 # FIXME: insert proper C++ library support
15654 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15657 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15660 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15663 # Commands to make compiler produce verbose output that lists
15664 # what "hidden" libraries, object files and flags are used when
15665 # linking a shared library.
15667 # There doesn't appear to be a way to prevent this compiler from
15668 # explicitly linking system object files so we need to strip them
15669 # from the output so that they don't get included in the library
15671 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"'
15674 if test yes = "$GXX"; then
15675 if test no
= "$with_gnu_ld"; then
15678 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15681 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15684 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'
15689 # FIXME: insert proper C++ library support
15697 hardcode_direct_CXX
=no
15698 hardcode_shlibpath_var_CXX
=no
15699 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15700 export_dynamic_flag_spec_CXX
='$wl-E'
15701 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15702 # Instead, shared libraries are loaded at an image base (0x10000000 by
15703 # default) and relocated if they conflict, which is a slow very memory
15704 # consuming and fragmenting process. To avoid this, we pick a random,
15705 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15706 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15707 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'
15708 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'
15711 case $cc_basename in
15714 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'
15716 # Archives containing C++ object files must be created using
15717 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15718 # necessary to make sure instantiated templates are included
15720 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15723 if test yes = "$GXX"; then
15724 if test no
= "$with_gnu_ld"; then
15725 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'
15727 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'
15730 link_all_deplibs_CXX
=yes
15733 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15734 hardcode_libdir_separator_CXX
=:
15735 inherit_rpath_CXX
=yes
15738 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15739 case $cc_basename in
15741 # Kuck and Associates, Inc. (KAI) C++ Compiler
15743 # KCC will only create a shared library if the output file
15744 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15745 # to its proper name (with version) after linking.
15746 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'
15747 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'
15748 # Commands to make compiler produce verbose output that lists
15749 # what "hidden" libraries, object files and flags are used when
15750 # linking a shared library.
15752 # There doesn't appear to be a way to prevent this compiler from
15753 # explicitly linking system object files so we need to strip them
15754 # from the output so that they don't get included in the library
15756 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"'
15758 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15759 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15761 # Archives containing C++ object files must be created using
15762 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15763 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15768 # version 8.0 and above of icpc choke on multiply defined symbols
15769 # if we add $predep_objects and $postdep_objects, however 7.1 and
15770 # earlier do not add the objects themselves.
15771 case `$CC -V 2>&1` in
15773 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15774 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'
15776 *) # Version 8.0 or newer
15779 ia64
*) tmp_idyn
=' -i_dynamic';;
15781 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15782 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'
15785 archive_cmds_need_lc_CXX
=no
15786 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15787 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15788 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15791 # Portland Group C++ compiler
15793 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
15794 prelink_cmds_CXX
='tpldir=Template.dir~
15796 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15797 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15798 old_archive_cmds_CXX
='tpldir=Template.dir~
15800 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15801 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15803 archive_cmds_CXX
='tpldir=Template.dir~
15805 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15806 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15807 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15809 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15810 $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'
15812 *) # Version 6 and above use weak symbols
15813 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15814 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'
15818 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
15819 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15820 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'
15824 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15825 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'
15827 runpath_var
=LD_RUN_PATH
15828 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15829 hardcode_libdir_separator_CXX
=:
15831 # Commands to make compiler produce verbose output that lists
15832 # what "hidden" libraries, object files and flags are used when
15833 # linking a shared library.
15835 # There doesn't appear to be a way to prevent this compiler from
15836 # explicitly linking system object files so we need to strip them
15837 # from the output so that they don't get included in the library
15839 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'
15841 xl
* | mpixl
* | bgxl
*)
15842 # IBM XL 8.0 on PPC, with GNU ld
15843 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15844 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15845 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15846 if test yes = "$supports_anon_versioning"; then
15847 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15848 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15849 echo "local: *; };" >> $output_objdir/$libname.ver~
15850 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15854 case `$CC -V 2>&1 | sed 5q` in
15857 no_undefined_flag_CXX
=' -zdefs'
15858 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15859 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'
15860 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15861 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'
15862 compiler_needs_object_CXX
=yes
15864 # Not sure whether something based on
15865 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15867 output_verbose_link_cmd
='func_echo_all'
15869 # Archives containing C++ object files must be created using
15870 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15871 # necessary to make sure instantiated templates are included
15873 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15881 # FIXME: insert proper C++ library support
15886 # FIXME: insert proper C++ library support
15891 case $cc_basename in
15893 # FIXME: insert proper C++ library support
15897 # FIXME: insert proper C++ library support
15904 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15905 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15907 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15908 hardcode_direct_CXX
=yes
15909 hardcode_shlibpath_var_CXX
=no
15911 # Workaround some broken pre-1.5 toolchains
15912 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15919 openbsd
* | bitrig
*)
15920 if test -f /usr
/libexec
/ld.so
; then
15921 hardcode_direct_CXX
=yes
15922 hardcode_shlibpath_var_CXX
=no
15923 hardcode_direct_absolute_CXX
=yes
15924 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15925 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15926 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15927 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15928 export_dynamic_flag_spec_CXX
='$wl-E'
15929 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15931 output_verbose_link_cmd
=func_echo_all
15937 osf3
* | osf4
* | osf5
*)
15938 case $cc_basename in
15940 # Kuck and Associates, Inc. (KAI) C++ Compiler
15942 # KCC will only create a shared library if the output file
15943 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15944 # to its proper name (with version) after linking.
15945 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'
15947 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15948 hardcode_libdir_separator_CXX
=:
15950 # Archives containing C++ object files must be created using
15951 # the KAI C++ compiler.
15953 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
15954 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
15958 # Rational C++ 2.4.1
15959 # FIXME: insert proper C++ library support
15965 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
15966 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'
15967 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15970 allow_undefined_flag_CXX
=' -expect_unresolved \*'
15971 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'
15972 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15973 echo "-hidden">> $lib.exp~
15974 $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~
15976 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15980 hardcode_libdir_separator_CXX
=:
15982 # Commands to make compiler produce verbose output that lists
15983 # what "hidden" libraries, object files and flags are used when
15984 # linking a shared library.
15986 # There doesn't appear to be a way to prevent this compiler from
15987 # explicitly linking system object files so we need to strip them
15988 # from the output so that they don't get included in the library
15990 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"'
15993 if test yes,no
= "$GXX,$with_gnu_ld"; then
15994 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
15997 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'
16000 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'
16004 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16005 hardcode_libdir_separator_CXX
=:
16007 # Commands to make compiler produce verbose output that lists
16008 # what "hidden" libraries, object files and flags are used when
16009 # linking a shared library.
16010 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16013 # FIXME: insert proper C++ library support
16021 # FIXME: insert proper C++ library support
16026 case $cc_basename in
16029 # FIXME: insert proper C++ library support
16034 # FIXME: insert proper C++ library support
16038 # FIXME: insert proper C++ library support
16045 case $cc_basename in
16047 # Sun C++ 4.2, 5.x and Centerline C++
16048 archive_cmds_need_lc_CXX
=yes
16049 no_undefined_flag_CXX
=' -zdefs'
16050 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16051 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16052 $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'
16054 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16055 hardcode_shlibpath_var_CXX
=no
16057 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16059 # The compiler driver will combine and reorder linker options,
16060 # but understands '-z linker_flag'.
16061 # Supported since Solaris 2.6 (maybe 2.5.1?)
16062 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16065 link_all_deplibs_CXX
=yes
16067 output_verbose_link_cmd
='func_echo_all'
16069 # Archives containing C++ object files must be created using
16070 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16071 # necessary to make sure instantiated templates are included
16073 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16076 # Green Hills C++ Compiler
16077 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16079 # The C++ compiler must be used to create the archive.
16080 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16083 # GNU C++ compiler with Solaris linker
16084 if test yes,no
= "$GXX,$with_gnu_ld"; then
16085 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
16086 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
16087 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16088 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16089 $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'
16091 # Commands to make compiler produce verbose output that lists
16092 # what "hidden" libraries, object files and flags are used when
16093 # linking a shared library.
16094 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16096 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16098 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16099 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16100 $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'
16102 # Commands to make compiler produce verbose output that lists
16103 # what "hidden" libraries, object files and flags are used when
16104 # linking a shared library.
16105 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16108 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
16110 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16112 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16120 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16121 no_undefined_flag_CXX
='$wl-z,text'
16122 archive_cmds_need_lc_CXX
=no
16123 hardcode_shlibpath_var_CXX
=no
16124 runpath_var
='LD_RUN_PATH'
16126 case $cc_basename in
16128 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16129 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16132 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16133 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16138 sysv5
* | sco3.2v5
* | sco5v6
*)
16139 # Note: We CANNOT use -z defs as we might desire, because we do not
16140 # link with -lc, and that would cause any symbols used from libc to
16141 # always be unresolved, which means just about no library would
16142 # ever link correctly. If we're not using GNU ld we use -z text
16143 # though, which does catch some bad symbols but isn't as heavy-handed
16145 no_undefined_flag_CXX
='$wl-z,text'
16146 allow_undefined_flag_CXX
='$wl-z,nodefs'
16147 archive_cmds_need_lc_CXX
=no
16148 hardcode_shlibpath_var_CXX
=no
16149 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
16150 hardcode_libdir_separator_CXX
=':'
16151 link_all_deplibs_CXX
=yes
16152 export_dynamic_flag_spec_CXX
='$wl-Bexport'
16153 runpath_var
='LD_RUN_PATH'
16155 case $cc_basename in
16157 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16158 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16159 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16160 '"$old_archive_cmds_CXX"
16161 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16162 '"$reload_cmds_CXX"
16165 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16166 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16172 case $cc_basename in
16174 # NonStop-UX NCC 3.20
16175 # FIXME: insert proper C++ library support
16179 # FIXME: insert proper C++ library support
16186 # FIXME: insert proper C++ library support
16191 # FIXME: insert proper C++ library support
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16197 $as_echo "$ld_shlibs_CXX" >&6; }
16198 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
16204 ## There is no encapsulation within the following macros, do not change
16205 ## the running order or otherwise move them around unless you know exactly
16206 ## what you are doing...
16207 # Dependencies to place before and after the object being linked:
16208 predep_objects_CXX
=
16209 postdep_objects_CXX
=
16212 compiler_lib_search_path_CXX
=
16214 cat > conftest.
$ac_ext <<_LT_EOF
16218 Foo (void) { a = 0; }
16225 _lt_libdeps_save_CFLAGS
=$CFLAGS
16226 case "$CC $CFLAGS " in #(
16227 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
16228 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
16229 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
16232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16233 (eval $ac_compile) 2>&5
16235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16236 test $ac_status = 0; }; then
16237 # Parse the compiler output and extract the necessary
16238 # objects, libraries and library flags.
16240 # Sentinel used to keep track of whether or not we are before
16241 # the conftest object file.
16242 pre_test_object_deps_done
=no
16244 for p
in `eval "$output_verbose_link_cmd"`; do
16248 # Some compilers place space between "-{L,R}" and the path.
16249 # Remove the space.
16250 if test x-L
= "$p" ||
16251 test x-R
= "$p"; then
16256 # Expand the sysroot to ease extracting the directories later.
16257 if test -z "$prev"; then
16259 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
16260 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
16261 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
16265 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
16267 if test no
= "$pre_test_object_deps_done"; then
16270 # Internal compiler library paths should come after those
16271 # provided the user. The postdeps already come after the
16272 # user supplied libs so there is no need to process them.
16273 if test -z "$compiler_lib_search_path_CXX"; then
16274 compiler_lib_search_path_CXX
=$prev$p
16276 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
16279 # The "-l" case would never come before the object being
16280 # linked, so don't bother handling this case.
16283 if test -z "$postdeps_CXX"; then
16284 postdeps_CXX
=$prev$p
16286 postdeps_CXX
="${postdeps_CXX} $prev$p"
16292 *.lto.
$objext) ;; # Ignore GCC LTO objects
16294 # This assumes that the test object file only shows up
16295 # once in the compiler output.
16296 if test "$p" = "conftest.$objext"; then
16297 pre_test_object_deps_done
=yes
16301 if test no
= "$pre_test_object_deps_done"; then
16302 if test -z "$predep_objects_CXX"; then
16303 predep_objects_CXX
=$p
16305 predep_objects_CXX
="$predep_objects_CXX $p"
16308 if test -z "$postdep_objects_CXX"; then
16309 postdep_objects_CXX
=$p
16311 postdep_objects_CXX
="$postdep_objects_CXX $p"
16316 *) ;; # Ignore the rest.
16324 echo "libtool.m4: error: problem compiling CXX test program"
16327 $RM -f confest.
$objext
16328 CFLAGS
=$_lt_libdeps_save_CFLAGS
16330 # PORTME: override above test on systems where it is broken
16333 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16334 # hack all around it, let's just trust "g++" to DTRT.
16335 predep_objects_CXX
=
16336 postdep_objects_CXX
=
16342 case " $postdeps_CXX " in
16343 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16345 compiler_lib_search_dirs_CXX
=
16346 if test -n "${compiler_lib_search_path_CXX}"; then
16347 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16380 lt_prog_compiler_wl_CXX
=
16381 lt_prog_compiler_pic_CXX
=
16382 lt_prog_compiler_static_CXX
=
16385 # C++ specific cases for pic, static, wl, etc.
16386 if test yes = "$GXX"; then
16387 lt_prog_compiler_wl_CXX
='-Wl,'
16388 lt_prog_compiler_static_CXX
='-static'
16392 # All AIX code is PIC.
16393 if test ia64
= "$host_cpu"; then
16394 # AIX 5 now supports IA64 processor
16395 lt_prog_compiler_static_CXX
='-Bstatic'
16397 lt_prog_compiler_pic_CXX
='-fPIC'
16403 # see comment about AmigaOS4 .so support
16404 lt_prog_compiler_pic_CXX
='-fPIC'
16407 # FIXME: we need at least 68020 code to build shared libraries, but
16408 # adding the '-m68020' flag to GCC prevents building anything better,
16410 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16415 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16416 # PIC is the default for these OSes.
16418 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16419 # This hack is so that the source file can tell whether it is being
16420 # built for inclusion in a dll (and should export symbols for example).
16421 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16422 # (--disable-auto-import) libraries
16423 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16426 lt_prog_compiler_static_CXX
='$wl-static'
16430 darwin
* | rhapsody
*)
16431 # PIC is the default on this platform
16432 # Common symbols not allowed in MH_DYLIB files
16433 lt_prog_compiler_pic_CXX
='-fno-common'
16436 # DJGPP does not support shared libraries at all
16437 lt_prog_compiler_pic_CXX
=
16440 # PIC is the default for Haiku.
16441 # The "-static" flag exists, but is broken.
16442 lt_prog_compiler_static_CXX
=
16445 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16446 # Instead, we relocate shared libraries at runtime.
16449 if test -d /usr
/nec
; then
16450 lt_prog_compiler_pic_CXX
=-Kconform_pic
16454 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16455 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16456 # sets the default TLS model and affects inlining.
16461 lt_prog_compiler_pic_CXX
='-fPIC'
16466 # QNX uses GNU C++, but need to define -shared option too, otherwise
16467 # it will coredump.
16468 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16471 lt_prog_compiler_pic_CXX
='-fPIC'
16477 # All AIX code is PIC.
16478 if test ia64
= "$host_cpu"; then
16479 # AIX 5 now supports IA64 processor
16480 lt_prog_compiler_static_CXX
='-Bstatic'
16482 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16486 case $cc_basename in
16488 # Green Hills C++ Compiler
16489 # _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"
16493 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16494 # This hack is so that the source file can tell whether it is being
16495 # built for inclusion in a dll (and should export symbols for example).
16496 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16499 case $cc_basename in
16501 lt_prog_compiler_pic_CXX
='-KPIC'
16504 # Green Hills C++ Compiler
16505 lt_prog_compiler_pic_CXX
='-pic'
16511 freebsd
* | dragonfly
*)
16512 # FreeBSD uses GNU C++
16514 hpux9
* | hpux10
* | hpux11
*)
16515 case $cc_basename in
16517 lt_prog_compiler_wl_CXX
='-Wl,'
16518 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16519 if test ia64
!= "$host_cpu"; then
16520 lt_prog_compiler_pic_CXX
='+Z'
16524 lt_prog_compiler_wl_CXX
='-Wl,'
16525 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16531 lt_prog_compiler_pic_CXX
='+Z'
16540 # This is c89, which is MS Visual C++ (no shared libs)
16541 # Anyone wants to do a port?
16543 irix5
* | irix6
* | nonstopux
*)
16544 case $cc_basename in
16546 lt_prog_compiler_wl_CXX
='-Wl,'
16547 lt_prog_compiler_static_CXX
='-non_shared'
16548 # CC pic flag -KPIC is the default.
16554 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16555 case $cc_basename in
16558 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16559 lt_prog_compiler_pic_CXX
='-fPIC'
16562 # old Intel C++ for x86_64, which still supported -KPIC.
16563 lt_prog_compiler_wl_CXX
='-Wl,'
16564 lt_prog_compiler_pic_CXX
='-KPIC'
16565 lt_prog_compiler_static_CXX
='-static'
16568 # Intel C++, used to be incompatible with GCC.
16569 # ICC 10 doesn't accept -KPIC any more.
16570 lt_prog_compiler_wl_CXX
='-Wl,'
16571 lt_prog_compiler_pic_CXX
='-fPIC'
16572 lt_prog_compiler_static_CXX
='-static'
16575 # Portland Group C++ compiler
16576 lt_prog_compiler_wl_CXX
='-Wl,'
16577 lt_prog_compiler_pic_CXX
='-fpic'
16578 lt_prog_compiler_static_CXX
='-Bstatic'
16582 # Make sure the PIC flag is empty. It appears that all Alpha
16583 # Linux and Compaq Tru64 Unix objects are PIC.
16584 lt_prog_compiler_pic_CXX
=
16585 lt_prog_compiler_static_CXX
='-non_shared'
16587 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16588 # IBM XL 8.0, 9.0 on PPC and BlueGene
16589 lt_prog_compiler_wl_CXX
='-Wl,'
16590 lt_prog_compiler_pic_CXX
='-qpic'
16591 lt_prog_compiler_static_CXX
='-qstaticlink'
16594 case `$CC -V 2>&1 | sed 5q` in
16597 lt_prog_compiler_pic_CXX
='-KPIC'
16598 lt_prog_compiler_static_CXX
='-Bstatic'
16599 lt_prog_compiler_wl_CXX
='-Qoption ld '
16610 case $cc_basename in
16612 lt_prog_compiler_pic_CXX
='-W c,exportall'
16621 # QNX uses GNU C++, but need to define -shared option too, otherwise
16622 # it will coredump.
16623 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16625 osf3
* | osf4
* | osf5
*)
16626 case $cc_basename in
16628 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16631 # Rational C++ 2.4.1
16632 lt_prog_compiler_pic_CXX
='-pic'
16635 # Digital/Compaq C++
16636 lt_prog_compiler_wl_CXX
='-Wl,'
16637 # Make sure the PIC flag is empty. It appears that all Alpha
16638 # Linux and Compaq Tru64 Unix objects are PIC.
16639 lt_prog_compiler_pic_CXX
=
16640 lt_prog_compiler_static_CXX
='-non_shared'
16649 case $cc_basename in
16651 # Sun C++ 4.2, 5.x and Centerline C++
16652 lt_prog_compiler_pic_CXX
='-KPIC'
16653 lt_prog_compiler_static_CXX
='-Bstatic'
16654 lt_prog_compiler_wl_CXX
='-Qoption ld '
16657 # Green Hills C++ Compiler
16658 lt_prog_compiler_pic_CXX
='-PIC'
16665 case $cc_basename in
16668 lt_prog_compiler_pic_CXX
='-pic'
16669 lt_prog_compiler_static_CXX
='-Bstatic'
16673 lt_prog_compiler_pic_CXX
='-pic'
16679 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16680 case $cc_basename in
16682 lt_prog_compiler_wl_CXX
='-Wl,'
16683 lt_prog_compiler_pic_CXX
='-KPIC'
16684 lt_prog_compiler_static_CXX
='-Bstatic'
16689 case $cc_basename in
16691 # NonStop-UX NCC 3.20
16692 lt_prog_compiler_pic_CXX
='-KPIC'
16701 lt_prog_compiler_can_build_shared_CXX
=no
16707 # For platforms that do not support PIC, -DPIC is meaningless:
16709 lt_prog_compiler_pic_CXX
=
16712 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16717 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16718 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
16719 $as_echo_n "(cached) " >&6
16721 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16724 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16725 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
16728 # Check to make sure the PIC flag actually works.
16730 if test -n "$lt_prog_compiler_pic_CXX"; then
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16732 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16733 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16734 $as_echo_n "(cached) " >&6
16736 lt_cv_prog_compiler_pic_works_CXX
=no
16737 ac_outfile
=conftest.
$ac_objext
16738 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16739 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16740 # Insert the option either (1) after the last *FLAGS variable, or
16741 # (2) before a word containing "conftest.", or (3) at the end.
16742 # Note that $ac_compile itself does not contain backslashes and begins
16743 # with a dollar sign (not a hyphen), so the echo should work correctly.
16744 # The option is referenced via a variable to avoid confusing sed.
16745 lt_compile
=`echo "$ac_compile" | $SED \
16746 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16748 -e 's:$: $lt_compiler_flag:'`
16749 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16750 (eval "$lt_compile" 2>conftest.err
)
16752 cat conftest.err
>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 if (exit $ac_status) && test -s "$ac_outfile"; then
16755 # The compiler can only warn and ignore the option if not recognized
16756 # So say no if there are warnings other than the usual output.
16757 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
16758 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16759 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16760 lt_cv_prog_compiler_pic_works_CXX
=yes
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16767 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16769 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16770 case $lt_prog_compiler_pic_CXX in
16772 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16775 lt_prog_compiler_pic_CXX
=
16776 lt_prog_compiler_can_build_shared_CXX
=no
16786 # Check to make sure the static flag actually works.
16788 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16790 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16791 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16792 $as_echo_n "(cached) " >&6
16794 lt_cv_prog_compiler_static_works_CXX
=no
16795 save_LDFLAGS
=$LDFLAGS
16796 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16797 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16798 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16799 # The linker can only warn and ignore the option if not recognized
16800 # So say no if there are warnings
16801 if test -s conftest.err
; then
16802 # Append any errors to the config.log.
16803 cat conftest.err
1>&5
16804 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
16805 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16806 if diff conftest.exp conftest.er2
>/dev
/null
; then
16807 lt_cv_prog_compiler_static_works_CXX
=yes
16810 lt_cv_prog_compiler_static_works_CXX
=yes
16814 LDFLAGS
=$save_LDFLAGS
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16818 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16820 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16823 lt_prog_compiler_static_CXX
=
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16830 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16831 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16832 $as_echo_n "(cached) " >&6
16834 lt_cv_prog_compiler_c_o_CXX
=no
16835 $RM -r conftest
2>/dev
/null
16839 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16841 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16842 # Insert the option either (1) after the last *FLAGS variable, or
16843 # (2) before a word containing "conftest.", or (3) at the end.
16844 # Note that $ac_compile itself does not contain backslashes and begins
16845 # with a dollar sign (not a hyphen), so the echo should work correctly.
16846 lt_compile
=`echo "$ac_compile" | $SED \
16847 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16849 -e 's:$: $lt_compiler_flag:'`
16850 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16851 (eval "$lt_compile" 2>out
/conftest.err
)
16853 cat out
/conftest.err
>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16857 # The compiler can only warn and ignore the option if not recognized
16858 # So say no if there are warnings
16859 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
16860 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16861 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16862 lt_cv_prog_compiler_c_o_CXX
=yes
16867 # SGI C++ compiler will create directory out/ii_files/ for
16868 # template instantiation
16869 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16870 $RM out
/* && rmdir out
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16877 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16882 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16883 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16884 $as_echo_n "(cached) " >&6
16886 lt_cv_prog_compiler_c_o_CXX
=no
16887 $RM -r conftest
2>/dev
/null
16891 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16893 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16894 # Insert the option either (1) after the last *FLAGS variable, or
16895 # (2) before a word containing "conftest.", or (3) at the end.
16896 # Note that $ac_compile itself does not contain backslashes and begins
16897 # with a dollar sign (not a hyphen), so the echo should work correctly.
16898 lt_compile
=`echo "$ac_compile" | $SED \
16899 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16901 -e 's:$: $lt_compiler_flag:'`
16902 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16903 (eval "$lt_compile" 2>out
/conftest.err
)
16905 cat out
/conftest.err
>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16909 # The compiler can only warn and ignore the option if not recognized
16910 # So say no if there are warnings
16911 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
16912 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16913 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16914 lt_cv_prog_compiler_c_o_CXX
=yes
16919 # SGI C++ compiler will create directory out/ii_files/ for
16920 # template instantiation
16921 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16922 $RM out
/* && rmdir out
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16929 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16934 hard_links
=nottested
16935 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
16936 # do not overwrite the value of need_locks provided by the user
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16938 $as_echo_n "checking if we can lock with hard links... " >&6; }
16941 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16943 ln conftest.a conftest.b
2>&5 || hard_links
=no
16944 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16946 $as_echo "$hard_links" >&6; }
16947 if test no
= "$hard_links"; then
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16949 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16959 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16961 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16962 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16965 # If we're using GNU nm, then we don't want the "-C" option.
16966 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16967 # Without the "-l" option, or with the "-B" option, AIX nm treats
16968 # weak defined symbols like other global defined symbols, whereas
16969 # GNU nm marks them as "W".
16970 # While the 'weak' keyword is ignored in the Export File, we need
16971 # it in the Import File for the 'aix-soname' feature, so we have
16972 # to replace the "-B" option with "-P" for AIX nm.
16973 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16974 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'
16976 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'
16980 export_symbols_cmds_CXX
=$ltdll_cmds
16982 cygwin
* | mingw
* | cegcc
*)
16983 case $cc_basename in
16985 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16988 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'
16989 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16994 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16999 $as_echo "$ld_shlibs_CXX" >&6; }
17000 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
17002 with_gnu_ld_CXX
=$with_gnu_ld
17010 # Do we need to explicitly link libc?
17012 case "x$archive_cmds_need_lc_CXX" in
17014 # Assume -lc should be added
17015 archive_cmds_need_lc_CXX
=yes
17017 if test yes,yes = "$GCC,$enable_shared"; then
17018 case $archive_cmds_CXX in
17020 # FIXME: we may have to deal with multi-command sequences.
17023 # Test whether the compiler implicitly links with -lc since on some
17024 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17025 # to ld, don't add -lc before -lgcc.
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17027 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17028 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17029 $as_echo_n "(cached) " >&6
17032 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17035 (eval $ac_compile) 2>&5
17037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17038 test $ac_status = 0; } 2>conftest.err
; then
17041 libobjs
=conftest.
$ac_objext
17043 wl
=$lt_prog_compiler_wl_CXX
17044 pic_flag
=$lt_prog_compiler_pic_CXX
17050 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17051 allow_undefined_flag_CXX
=
17052 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17053 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17056 test $ac_status = 0; }
17058 lt_cv_archive_cmds_need_lc_CXX
=no
17060 lt_cv_archive_cmds_need_lc_CXX
=yes
17062 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17064 cat conftest.err
1>&5
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17070 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17071 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17140 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17142 library_names_spec
=
17143 libname_spec
='lib$name'
17147 postuninstall_cmds
=
17151 shlibpath_overrides_runpath
=unknown
17153 dynamic_linker
="$host_os ld.so"
17154 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17155 need_lib_prefix
=unknown
17156 hardcode_into_libs
=no
17158 # when you set need_version to no, make sure it does not cause -set_version
17159 # flags to be left without arguments
17160 need_version
=unknown
17166 version_type
=linux
# correct to gnu/linux during the next big refactor
17167 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
17168 shlibpath_var
=LIBPATH
17170 # AIX 3 has no versioning support, so we append a major version to the name.
17171 soname_spec
='$libname$release$shared_ext$major'
17175 version_type
=linux
# correct to gnu/linux during the next big refactor
17178 hardcode_into_libs
=yes
17179 if test ia64
= "$host_cpu"; then
17180 # AIX 5 supports IA64
17181 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17182 shlibpath_var
=LD_LIBRARY_PATH
17184 # With GCC up to 2.95.x, collect2 would create an import file
17185 # for dependence libraries. The import file would start with
17186 # the line '#! .'. This would cause the generated library to
17187 # depend on '.', always an invalid library. This was fixed in
17188 # development snapshots of GCC prior to 3.0.
17190 aix4 | aix4.
[01] | aix4.
[01].
*)
17191 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17193 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
17196 can_build_shared
=no
17200 # Using Import Files as archive members, it is possible to support
17201 # filename-based versioning of shared library archives on AIX. While
17202 # this would work for both with and without runtime linking, it will
17203 # prevent static linking of such archives. So we do filename-based
17204 # shared library versioning with .so extension only, which is used
17205 # when both runtime linking and shared linking is enabled.
17206 # Unfortunately, runtime linking may impact performance, so we do
17207 # not want this to be the default eventually. Also, we use the
17208 # versioned .so libs for executables only if there is the -brtl
17209 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17210 # To allow for filename-based versioning support, we need to create
17211 # libNAME.so.V as an archive file, containing:
17212 # *) an Import File, referring to the versioned filename of the
17213 # archive as well as the shared archive member, telling the
17214 # bitwidth (32 or 64) of that shared object, and providing the
17215 # list of exported symbols of that shared object, eventually
17216 # decorated with the 'weak' keyword
17217 # *) the shared object with the F_LOADONLY flag set, to really avoid
17218 # it being seen by the linker.
17219 # At run time we better use the real file rather than another symlink,
17220 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17222 case $with_aix_soname,$aix_use_runtimelinking in
17223 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17224 # soname into executable. Probably we can add versioning support to
17225 # collect2, so additional links can be useful in future.
17226 aix
,yes) # traditional libtool
17227 dynamic_linker
='AIX unversionable lib.so'
17228 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17229 # instead of lib<name>.a to let people know that these are not
17230 # typical AIX shared libraries.
17231 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17233 aix
,no
) # traditional AIX only
17234 dynamic_linker
='AIX lib.a(lib.so.V)'
17235 # We preserve .a as extension for shared libraries through AIX4.2
17236 # and later when we are not doing run time linking.
17237 library_names_spec
='$libname$release.a $libname.a'
17238 soname_spec
='$libname$release$shared_ext$major'
17240 svr4
,*) # full svr4 only
17241 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
17242 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17243 # We do not specify a path in Import Files, so LIBPATH fires.
17244 shlibpath_overrides_runpath
=yes
17246 *,yes) # both, prefer svr4
17247 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17248 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17249 # unpreferred sharedlib libNAME.a needs extra handling
17250 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"'
17251 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"'
17252 # We do not specify a path in Import Files, so LIBPATH fires.
17253 shlibpath_overrides_runpath
=yes
17255 *,no
) # both, prefer aix
17256 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17257 library_names_spec
='$libname$release.a $libname.a'
17258 soname_spec
='$libname$release$shared_ext$major'
17259 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17260 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)'
17261 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"'
17264 shlibpath_var
=LIBPATH
17271 # Since July 2007 AmigaOS4 officially supports .so libraries.
17272 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17273 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17276 library_names_spec
='$libname.ixlibrary $libname.a'
17277 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17278 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'
17284 library_names_spec
='$libname$shared_ext'
17285 dynamic_linker
="$host_os ld.so"
17286 shlibpath_var
=LIBRARY_PATH
17290 version_type
=linux
# correct to gnu/linux during the next big refactor
17292 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17293 soname_spec
='$libname$release$shared_ext$major'
17294 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17295 shlibpath_var
=LD_LIBRARY_PATH
17296 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17297 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17298 # the default ld.so.conf also contains /usr/contrib/lib and
17299 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17300 # libtool to hard-code these into programs
17303 cygwin
* | mingw
* | pw32
* | cegcc
*)
17304 version_type
=windows
17309 case $GCC,$cc_basename in
17312 library_names_spec
='$libname.dll.a'
17313 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17314 postinstall_cmds
='base_file=`basename \$file`~
17315 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17316 dldir=$destdir/`dirname \$dlpath`~
17317 test -d \$dldir || mkdir -p \$dldir~
17318 $install_prog $dir/$dlname \$dldir/$dlname~
17319 chmod a+x \$dldir/$dlname~
17320 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17321 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17323 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17324 dlpath=$dir/\$dldll~
17326 shlibpath_overrides_runpath
=yes
17330 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17331 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17335 # MinGW DLLs use traditional 'lib' prefix
17336 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17339 # pw32 DLLs use 'pw' prefix rather than 'lib'
17340 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17343 dynamic_linker
='Win32 ld.exe'
17348 libname_spec
='$name'
17349 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17350 library_names_spec
='$libname.dll.lib'
17354 sys_lib_search_path_spec
=
17357 for lt_path
in $LIB
17360 # Let DOS variable expansion print the short 8.3 style file name.
17361 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17362 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
17365 # Convert to MSYS style.
17366 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17369 # Convert to unix form, then to dos form, then back to unix form
17370 # but this time dos style (no spaces!) so that the unix form looks
17371 # like /cygdrive/c/PROGRA~1:/cygdr...
17372 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
17373 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17374 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17377 sys_lib_search_path_spec
=$LIB
17378 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17379 # It is most probably a Windows format PATH.
17380 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17382 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17384 # FIXME: find the short name or the path components, as spaces are
17385 # common. (e.g. "Program Files" -> "PROGRA~1")
17389 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17390 postinstall_cmds
='base_file=`basename \$file`~
17391 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17392 dldir=$destdir/`dirname \$dlpath`~
17393 test -d \$dldir || mkdir -p \$dldir~
17394 $install_prog $dir/$dlname \$dldir/$dlname'
17395 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17396 dlpath=$dir/\$dldll~
17398 shlibpath_overrides_runpath
=yes
17399 dynamic_linker
='Win32 link.exe'
17403 # Assume MSVC wrapper
17404 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
17405 dynamic_linker
='Win32 ld.exe'
17408 # FIXME: first we should search . and the directory the executable is in
17412 darwin
* | rhapsody
*)
17413 dynamic_linker
="$host_os dyld"
17414 version_type
=darwin
17417 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
17418 soname_spec
='$libname$release$major$shared_ext'
17419 shlibpath_overrides_runpath
=yes
17420 shlibpath_var
=DYLD_LIBRARY_PATH
17421 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17423 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17427 version_type
=linux
# correct to gnu/linux during the next big refactor
17430 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17431 soname_spec
='$libname$release$shared_ext$major'
17432 shlibpath_var
=LD_LIBRARY_PATH
17435 freebsd
* | dragonfly
*)
17436 # DragonFly does not have aout. When/if they implement a new
17437 # versioning mechanism, adjust this.
17438 if test -x /usr
/bin
/objformat
; then
17439 objformat
=`/usr/bin/objformat`
17442 freebsd
[23].
*) objformat
=aout
;;
17443 *) objformat
=elf
;;
17446 version_type
=freebsd-
$objformat
17447 case $version_type in
17449 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17450 soname_spec
='$libname$release$shared_ext$major'
17455 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17459 shlibpath_var
=LD_LIBRARY_PATH
17462 shlibpath_overrides_runpath
=yes
17464 freebsd3.
[01]* | freebsdelf3.
[01]*)
17465 shlibpath_overrides_runpath
=yes
17466 hardcode_into_libs
=yes
17468 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17469 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17470 shlibpath_overrides_runpath
=no
17471 hardcode_into_libs
=yes
17473 *) # from 4.6 on, and DragonFly
17474 shlibpath_overrides_runpath
=yes
17475 hardcode_into_libs
=yes
17481 version_type
=linux
# correct to gnu/linux during the next big refactor
17484 dynamic_linker
="$host_os runtime_loader"
17485 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17486 soname_spec
='$libname$release$shared_ext$major'
17487 shlibpath_var
=LIBRARY_PATH
17488 shlibpath_overrides_runpath
=no
17489 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17490 hardcode_into_libs
=yes
17493 hpux9
* | hpux10
* | hpux11
*)
17494 # Give a soname corresponding to the major version so that dld.sl refuses to
17495 # link against other versions.
17502 hardcode_into_libs
=yes
17503 dynamic_linker
="$host_os dld.so"
17504 shlibpath_var
=LD_LIBRARY_PATH
17505 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17506 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17507 soname_spec
='$libname$release$shared_ext$major'
17508 if test 32 = "$HPUX_IA64_MODE"; then
17509 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17510 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
17512 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17513 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
17518 hardcode_into_libs
=yes
17519 dynamic_linker
="$host_os dld.sl"
17520 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17521 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17522 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17523 soname_spec
='$libname$release$shared_ext$major'
17524 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17525 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17529 dynamic_linker
="$host_os dld.sl"
17530 shlibpath_var
=SHLIB_PATH
17531 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17532 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17533 soname_spec
='$libname$release$shared_ext$major'
17536 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17537 postinstall_cmds
='chmod 555 $lib'
17538 # or fails outright, so override atomically:
17539 install_override_mode
=555
17543 version_type
=linux
# correct to gnu/linux during the next big refactor
17546 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17547 soname_spec
='$libname$release$shared_ext$major'
17548 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17549 shlibpath_var
=LD_LIBRARY_PATH
17550 shlibpath_overrides_runpath
=no
17551 hardcode_into_libs
=yes
17554 irix5
* | irix6
* | nonstopux
*)
17556 nonstopux
*) version_type
=nonstopux
;;
17558 if test yes = "$lt_cv_prog_gnu_ld"; then
17559 version_type
=linux
# correct to gnu/linux during the next big refactor
17566 soname_spec
='$libname$release$shared_ext$major'
17567 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17569 irix5
* | nonstopux
*)
17570 libsuff
= shlibsuff
=
17573 case $LD in # libtool.m4 will add one of these switches to LD
17574 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17575 libsuff
= shlibsuff
= libmagic
=32-bit;;
17576 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17577 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17578 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17579 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17580 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17584 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17585 shlibpath_overrides_runpath
=no
17586 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17587 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
17588 hardcode_into_libs
=yes
17591 # No shared lib support for Linux oldld, aout, or coff.
17592 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17597 version_type
=none
# Android doesn't support versioned libraries.
17600 library_names_spec
='$libname$release$shared_ext'
17601 soname_spec
='$libname$release$shared_ext'
17603 shlibpath_var
=LD_LIBRARY_PATH
17604 shlibpath_overrides_runpath
=yes
17606 # This implies no fast_install, which is unacceptable.
17607 # Some rework will be needed to allow for fast_install
17608 # before this can be enabled.
17609 hardcode_into_libs
=yes
17611 dynamic_linker
='Android linker'
17612 # Don't embed -rpath directories since the linker doesn't support them.
17613 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17616 # This must be glibc/ELF.
17617 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17618 version_type
=linux
# correct to gnu/linux during the next big refactor
17621 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17622 soname_spec
='$libname$release$shared_ext$major'
17623 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17624 shlibpath_var
=LD_LIBRARY_PATH
17625 shlibpath_overrides_runpath
=no
17627 # Some binutils ld are patched to set DT_RUNPATH
17628 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17629 $as_echo_n "(cached) " >&6
17631 lt_cv_shlibpath_overrides_runpath
=no
17632 save_LDFLAGS
=$LDFLAGS
17633 save_libdir
=$libdir
17634 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17635 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17637 /* end confdefs.h. */
17647 if ac_fn_cxx_try_link
"$LINENO"; then :
17648 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
17649 lt_cv_shlibpath_overrides_runpath
=yes
17652 rm -f core conftest.err conftest.
$ac_objext \
17653 conftest
$ac_exeext conftest.
$ac_ext
17654 LDFLAGS
=$save_LDFLAGS
17655 libdir
=$save_libdir
17659 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17661 # This implies no fast_install, which is unacceptable.
17662 # Some rework will be needed to allow for fast_install
17663 # before this can be enabled.
17664 hardcode_into_libs
=yes
17666 # Ideally, we could use ldconfig to report *all* directores which are
17667 # searched for libraries, however this is still not possible. Aside from not
17668 # being certain /sbin/ldconfig is available, command
17669 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17670 # even though it is searched at run-time. Try to do the best guess by
17671 # appending ld.so.conf contents (and includes) to the search path.
17672 if test -f /etc
/ld.so.conf
; then
17673 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' ' '`
17674 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17677 # We used to test for /lib/ld.so.1 and disable shared libraries on
17678 # powerpc, because MkLinux only supported shared libraries with the
17679 # GNU dynamic linker. Since this was broken with cross compilers,
17680 # most powerpc-linux boxes support dynamic linking these days and
17681 # people can always --disable-shared, the test was removed, and we
17682 # assume the GNU/Linux dynamic linker is in use.
17683 dynamic_linker
='GNU/Linux ld.so'
17690 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17691 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17692 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17693 dynamic_linker
='NetBSD (a.out) ld.so'
17695 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17696 soname_spec
='$libname$release$shared_ext$major'
17697 dynamic_linker
='NetBSD ld.elf_so'
17699 shlibpath_var
=LD_LIBRARY_PATH
17700 shlibpath_overrides_runpath
=yes
17701 hardcode_into_libs
=yes
17705 version_type
=linux
# correct to gnu/linux during the next big refactor
17706 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17707 shlibpath_var
=LD_LIBRARY_PATH
17708 shlibpath_overrides_runpath
=yes
17715 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17716 soname_spec
='$libname$release$shared_ext$major'
17717 shlibpath_var
=LD_LIBRARY_PATH
17718 shlibpath_overrides_runpath
=no
17719 hardcode_into_libs
=yes
17720 dynamic_linker
='ldqnx.so'
17723 openbsd
* | bitrig
*)
17725 sys_lib_dlsearch_path_spec
=/usr
/lib
17727 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17732 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17733 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17734 shlibpath_var
=LD_LIBRARY_PATH
17735 shlibpath_overrides_runpath
=yes
17739 libname_spec
='$name'
17740 version_type
=windows
17744 # OS/2 can only load a DLL with a base name of 8 characters or less.
17745 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
17746 v=$($ECHO $release$versuffix | tr -d .-);
17747 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17748 $ECHO $n$v`$shared_ext'
17749 library_names_spec
='${libname}_dll.$libext'
17750 dynamic_linker
='OS/2 ld.exe'
17751 shlibpath_var
=BEGINLIBPATH
17752 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17753 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17754 postinstall_cmds
='base_file=`basename \$file`~
17755 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17756 dldir=$destdir/`dirname \$dlpath`~
17757 test -d \$dldir || mkdir -p \$dldir~
17758 $install_prog $dir/$dlname \$dldir/$dlname~
17759 chmod a+x \$dldir/$dlname~
17760 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17761 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17763 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17764 dlpath=$dir/\$dldll~
17768 osf3
* | osf4
* | osf5
*)
17772 soname_spec
='$libname$release$shared_ext$major'
17773 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17774 shlibpath_var
=LD_LIBRARY_PATH
17775 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17776 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17784 version_type
=linux
# correct to gnu/linux during the next big refactor
17787 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17788 soname_spec
='$libname$release$shared_ext$major'
17789 shlibpath_var
=LD_LIBRARY_PATH
17790 shlibpath_overrides_runpath
=yes
17791 hardcode_into_libs
=yes
17792 # ldd complains unless libraries are executable
17793 postinstall_cmds
='chmod +x $lib'
17798 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17799 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17800 shlibpath_var
=LD_LIBRARY_PATH
17801 shlibpath_overrides_runpath
=yes
17802 if test yes = "$with_gnu_ld"; then
17809 version_type
=linux
# correct to gnu/linux during the next big refactor
17810 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17811 soname_spec
='$libname$release$shared_ext$major'
17812 shlibpath_var
=LD_LIBRARY_PATH
17813 case $host_vendor in
17815 shlibpath_overrides_runpath
=no
17817 runpath_var
=LD_RUN_PATH
17825 shlibpath_overrides_runpath
=no
17826 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17832 if test -d /usr
/nec
; then
17833 version_type
=linux
# correct to gnu/linux during the next big refactor
17834 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17835 soname_spec
='$libname$shared_ext.$major'
17836 shlibpath_var
=LD_LIBRARY_PATH
17840 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17844 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17845 soname_spec
='$libname$release$shared_ext$major'
17846 shlibpath_var
=LD_LIBRARY_PATH
17847 shlibpath_overrides_runpath
=yes
17848 hardcode_into_libs
=yes
17849 if test yes = "$with_gnu_ld"; then
17850 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17852 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17855 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17859 sys_lib_dlsearch_path_spec
='/usr/lib'
17863 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17864 version_type
=linux
# correct to gnu/linux during the next big refactor
17867 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17868 shlibpath_var
=LD_LIBRARY_PATH
17869 shlibpath_overrides_runpath
=no
17870 hardcode_into_libs
=yes
17874 version_type
=linux
# correct to gnu/linux during the next big refactor
17875 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17876 soname_spec
='$libname$release$shared_ext$major'
17877 shlibpath_var
=LD_LIBRARY_PATH
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17885 $as_echo "$dynamic_linker" >&6; }
17886 test no
= "$dynamic_linker" && can_build_shared
=no
17888 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17889 if test yes = "$GCC"; then
17890 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17893 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17894 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
17897 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17898 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
17901 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17902 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
17904 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17905 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
17907 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17908 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17950 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17951 hardcode_action_CXX
=
17952 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17953 test -n "$runpath_var_CXX" ||
17954 test yes = "$hardcode_automatic_CXX"; then
17956 # We can hardcode non-existent directories.
17957 if test no
!= "$hardcode_direct_CXX" &&
17958 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17959 # have to relink, otherwise we might link with an installed library
17960 # when we should be linking with a yet-to-be-installed one
17961 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17962 test no
!= "$hardcode_minus_L_CXX"; then
17963 # Linking always hardcodes the temporary library directory.
17964 hardcode_action_CXX
=relink
17966 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17967 hardcode_action_CXX
=immediate
17970 # We cannot hardcode anything, or else we can only hardcode existing
17972 hardcode_action_CXX
=unsupported
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17975 $as_echo "$hardcode_action_CXX" >&6; }
17977 if test relink
= "$hardcode_action_CXX" ||
17978 test yes = "$inherit_rpath_CXX"; then
17979 # Fast installation is not supported
17980 enable_fast_install
=no
17981 elif test yes = "$shlibpath_overrides_runpath" ||
17982 test no
= "$enable_shared"; then
17983 # Fast installation is not necessary
17984 enable_fast_install
=needless
17993 fi # test -n "$compiler"
17996 CFLAGS
=$lt_save_CFLAGS
18000 with_gnu_ld
=$lt_save_with_gnu_ld
18001 lt_cv_path_LDCXX
=$lt_cv_path_LD
18002 lt_cv_path_LD
=$lt_save_path_LD
18003 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
18004 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
18005 fi # test yes != "$_lt_caught_CXX_error"
18008 ac_cpp
='$CPP $CPPFLAGS'
18009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18015 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18016 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18017 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18018 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18019 if test -n "$ac_tool_prefix"; then
18020 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
18022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18023 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18025 $as_echo_n "checking for $ac_word... " >&6; }
18026 if ${ac_cv_prog_OBJCXX+:} false
; then :
18027 $as_echo_n "(cached) " >&6
18029 if test -n "$OBJCXX"; then
18030 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
18032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18033 for as_dir
in $PATH
18036 test -z "$as_dir" && as_dir
=.
18037 for ac_exec_ext
in '' $ac_executable_extensions; do
18038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18039 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
18040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18049 OBJCXX
=$ac_cv_prog_OBJCXX
18050 if test -n "$OBJCXX"; then
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
18052 $as_echo "$OBJCXX" >&6; }
18054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18055 $as_echo "no" >&6; }
18059 test -n "$OBJCXX" && break
18062 if test -z "$OBJCXX"; then
18063 ac_ct_OBJCXX
=$OBJCXX
18064 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
18066 # Extract the first word of "$ac_prog", so it can be a program name with args.
18067 set dummy
$ac_prog; ac_word
=$2
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18069 $as_echo_n "checking for $ac_word... " >&6; }
18070 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
18071 $as_echo_n "(cached) " >&6
18073 if test -n "$ac_ct_OBJCXX"; then
18074 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
18076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18077 for as_dir
in $PATH
18080 test -z "$as_dir" && as_dir
=.
18081 for ac_exec_ext
in '' $ac_executable_extensions; do
18082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18083 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
18084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18093 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
18094 if test -n "$ac_ct_OBJCXX"; then
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
18096 $as_echo "$ac_ct_OBJCXX" >&6; }
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18099 $as_echo "no" >&6; }
18103 test -n "$ac_ct_OBJCXX" && break
18106 if test "x$ac_ct_OBJCXX" = x
; then
18109 case $cross_compiling:$ac_tool_warned in
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18113 ac_tool_warned
=yes ;;
18115 OBJCXX
=$ac_ct_OBJCXX
18119 # Provide some information about the compiler.
18120 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
18123 for ac_option
in --version -v -V -qversion; do
18124 { { ac_try
="$ac_compiler $ac_option >&5"
18125 case "(($ac_try" in
18126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18127 *) ac_try_echo=$ac_try;;
18129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18130 $as_echo "$ac_try_echo"; } >&5
18131 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18133 if test -s conftest.err; then
18135 ... rest of stderr output deleted ...
18136 10q' conftest.err >conftest.er1
18137 cat conftest.er1 >&5
18139 rm -f conftest.er1 conftest.err
18140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18141 test $ac_status = 0; }
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
18145 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
18146 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
18147 $as_echo_n "(cached) " >&6
18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18150 /* end confdefs.h. */
18163 if ac_fn_objcxx_try_compile "$LINENO"; then :
18164 ac_compiler_gnu=yes
18168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18169 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
18173 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
18174 if test $ac_compiler_gnu = yes; then
18179 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
18180 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
18182 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
18183 if ${ac_cv_prog_objcxx_g+:} false; then :
18184 $as_echo_n "(cached) " >&6
18186 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
18187 ac_objcxx_werror_flag=yes
18188 ac_cv_prog_objcxx_g=no
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18201 if ac_fn_objcxx_try_compile "$LINENO"; then :
18202 ac_cv_prog_objcxx_g=yes
18205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18206 /* end confdefs.h. */
18216 if ac_fn_objcxx_try_compile "$LINENO"; then :
18219 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
18221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18222 /* end confdefs.h. */
18232 if ac_fn_objcxx_try_compile "$LINENO"; then :
18233 ac_cv_prog_objcxx_g=yes
18235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18240 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
18243 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
18244 if test "$ac_test_OBJCXXFLAGS" = set; then
18245 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
18246 elif test $ac_cv_prog_objcxx_g = yes; then
18247 if test "$GOBJCXX" = yes; then
18248 OBJCXXFLAGS="-g -O2"
18253 if test "$GOBJCXX" = yes; then
18260 ac_cpp='$CPP $CPPFLAGS'
18261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18265 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
18268 $as_echo_n "checking dependency style of $depcc... " >&6; }
18269 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
18270 $as_echo_n "(cached) " >&6
18272 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18273 # We make a subdir and do the tests there. Otherwise we can end up
18274 # making bogus files that we don't know about and never remove. For
18275 # instance it was reported that on HP-UX the gcc test will end up
18276 # making a dummy file named 'D' -- because '-MD' means "put the output
18278 rm -rf conftest.dir
18280 # Copy depcomp to subdir because otherwise we won't find it if we're
18281 # using a relative directory.
18282 cp "$am_depcomp" conftest.dir
18284 # We will build objects and dependencies in a subdirectory because
18285 # it helps to detect inapplicable dependency modes. For instance
18286 # both Tru64's cc and ICC support -MD to output dependencies as a
18287 # side effect of compilation, but ICC will put the dependencies in
18288 # the current directory while Tru64 will put them in the object
18292 am_cv_OBJCXX_dependencies_compiler_type=none
18293 if test "$am_compiler_list" = ""; then
18294 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
18296 am__universal=false
18299 for depmode in $am_compiler_list; do
18300 # Setup a source with many dependencies, because some compilers
18301 # like to wrap large dependency lists on column 80 (with \), and
18302 # we should not choose a depcomp mode which is confused by this.
18304 # We need to recreate these files for each test, as the compiler may
18305 # overwrite some of them when testing with obscure command lines.
18306 # This happens at least with the AIX C compiler.
18308 for i in 1 2 3 4 5 6; do
18309 echo '#include "conftst'$i'.h"' >> sub/conftest.c
18310 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
18311 # Solaris 10 /bin/sh.
18312 echo '/* dummy */' > sub/conftst$i.h
18314 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18316 # We check with '-c' and '-o' for the sake of the "dashmstdout"
18317 # mode. It turns out that the SunPro C++ compiler does not properly
18318 # handle '-M -o', and we need to detect this. Also, some Intel
18319 # versions had trouble with output in subdirs.
18320 am__obj=sub/conftest.${OBJEXT-o}
18321 am__minus_obj="-o $am__obj"
18324 # This depmode causes a compiler race in universal mode.
18325 test "$am__universal" = false || continue
18328 # After this tag, mechanisms are not by side-effect, so they'll
18329 # only be used when explicitly requested.
18330 if test "x$enable_dependency_tracking" = xyes; then
18336 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
18337 # This compiler won't grok '-c -o', but also, the minuso test has
18338 # not run yet. These depmodes are late enough in the game, and
18339 # so weak that their functioning should not be impacted.
18340 am__obj=conftest.${OBJEXT-o}
18345 if depmode=$depmode \
18346 source=sub/conftest.c object=$am__obj \
18347 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
18348 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
18349 >/dev/null 2>conftest.err &&
18350 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
18351 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
18352 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
18353 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
18354 # icc doesn't choke on unknown options, it will just issue warnings
18355 # or remarks (even with -Werror). So we grep stderr for any message
18356 # that says an option was ignored or not supported.
18357 # When given -MP, icc 7.0 and 7.1 complain thusly:
18358 # icc: Command line warning: ignoring option '-M'; no argument required
18359 # The diagnosis changed in icc 8.0:
18360 # icc: Command line remark: option '-MP' not supported
18361 if (grep 'ignoring option' conftest.err ||
18362 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
18363 am_cv_OBJCXX_dependencies_compiler_type=$depmode
18370 rm -rf conftest.dir
18372 am_cv_OBJCXX_dependencies_compiler_type=none
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
18377 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
18378 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
18381 test "x$enable_dependency_tracking" != xno \
18382 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
18383 am__fastdepOBJCXX_TRUE=
18384 am__fastdepOBJCXX_FALSE='#'
18386 am__fastdepOBJCXX_TRUE='#'
18387 am__fastdepOBJCXX_FALSE=
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the Objective C++ compiler" >&5
18391 $as_echo_n "checking what warning flags to pass to the Objective C++ compiler... " >&6; }
18392 if ${kpse_cv_warning_objcxxflags+:} false; then :
18393 $as_echo_n "(cached) " >&6
18395 if test "x$GOBJCXX" = xyes; then
18396 kpse_cv_warning_objcxxflags=
18397 kpse_warn_strings="-Wno-write-strings"
18398 if test "x$enable_compiler_warnings" != xno; then
18399 kpse_cv_warning_objcxxflags="-Wreturn-type"
18400 case `$OBJCXX -dumpversion` in #(
18401 3.* | 4.[012345].*) :
18402 kpse_cv_warning_objcxxflags="-Wimplicit $kpse_cv_warning_objcxxflags" ;; #(
18406 case `$OBJCXX -dumpversion` in #(
18408 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wno-unknown-pragmas" ;; #(
18412 if test "x$enable_compiler_warnings" != xmin; then
18413 kpse_cv_warning_objcxxflags="-Wall -Wunused $kpse_cv_warning_objcxxflags"
18414 if test "x$enable_compiler_warnings" != xyes; then
18415 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
18416 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wcast-qual -Wcast-align"
18417 kpse_warn_strings="-Wwrite-strings"
18418 if test "x$enable_compiler_warnings" != xmax; then
18419 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wshadow"
18424 kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags $kpse_warn_strings"
18425 elif test "x$enable_compiler_warnings" = xno; then
18426 kpse_cv_warning_objcxxflags=
18428 kpse_cv_warning_objcxxflags= # FIXME: warning flags for non-GNU Objective C++ compilers
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_objcxxflags" >&5
18432 $as_echo "$kpse_cv_warning_objcxxflags" >&6; }
18433 WARNING_OBJCXXFLAGS=$kpse_cv_warning_objcxxflags
18437 # Check whether --enable-cxx-runtime-hack was given.
18438 if test "${enable_cxx_runtime_hack+set}" = set; then :
18439 enableval=$enable_cxx_runtime_hack;
18443 if test "x$GXX:$enable_cxx_runtime_hack" = xyes:yes; then
18446 ac_cpp='$CXXCPP $CPPFLAGS'
18447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18451 for ac_header in iostream
18453 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default"
18454 if test "x$ac_cv_header_iostream" = xyes; then :
18455 cat >>confdefs.h <<_ACEOF
18456 #define HAVE_IOSTREAM 1
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statically linking C++ runtime library" >&5
18464 $as_echo_n "checking for statically linking C++ runtime library... " >&6; }
18465 if ${kpse_cv_cxx_hack+:} false; then :
18466 $as_echo_n "(cached) " >&6
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18470 #ifdef HAVE_IOSTREAM
18471 #include <iostream>
18472 using namespace std;
18474 #include <iostream.h>
18479 cout <<"worksok\n";
18486 flags_try0='-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic' ;; #(
18488 flags_try0='-nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm'
18489 flags_try1='-lgcc_eh -lgcc -lc -lgcc_eh -lgcc'
18490 flags_try2='-lgcc -lc -lgcc' ;;
18492 kpse_save_LIBS=$LIBS
18493 cpp_link_hack=false
18494 for flags in "$flags_try1" "$flags_try2"; do
18495 LIBS="$kpse_save_LIBS $flags_try0 $flags"
18496 if ac_fn_cxx_try_link "$LINENO"; then :
18497 if test "x$cross_compiling" = xyes; then :
18498 cpp_link_hack=true; break
18500 case `(.
/conftest
$ac_exeext; exit) 2>/dev
/null
` in #(
18502 cpp_link_hack=true; break ;; #(
18508 rm -f core conftest.err conftest.$ac_objext \
18511 LIBS=$kpse_save_LIBS
18512 if $cpp_link_hack; then
18513 kpse_cv_cxx_hack=ok
18514 kpse_cv_cxx_flags="$flags_try0 $flags"
18516 kpse_cv_cxx_hack="not supported"
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_cxx_hack" >&5
18520 $as_echo "$kpse_cv_cxx_hack" >&6; }
18521 if test "x$kpse_cv_cxx_hack" = xok; then
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: using $kpse_cv_cxx_flags" >&5
18523 $as_echo "$as_me: using $kpse_cv_cxx_flags" >&6;}
18526 ac_cpp='$CPP $CPPFLAGS'
18527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18533 if test "x$kpse_cv_cxx_hack" = xok; then
18534 CXXLD='$(top_builddir)/CXXLD.sh'
18535 cxxld_sh="#! ${CONFIG_SHELL-/bin/sh}
18536 # CXXLD.sh. Generated by configure.
18537 set -- $CXX \"\$@\" $kpse_cv_cxx_flags
18538 echo \"\$0:\" \"\$@\"
18540 ac_config_commands="$ac_config_commands CXXLD.sh"
18547 # Check whether --enable-libtool-hack was given.
18548 if test "${enable_libtool_hack+set}" = set; then :
18549 enableval=$enable_libtool_hack;
18558 ## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
18559 ## configure options for TeX and MF
18561 # Check whether --with-banner-add was given.
18562 if test "${with_banner_add+set}" = set; then :
18563 withval=$with_banner_add;
18566 # Check whether --with-editor was given.
18567 if test "${with_editor+set}" = set; then :
18568 withval=$with_editor;
18570 # Check whether --enable-auto-core was given.
18571 if test "${enable_auto_core+set}" = set; then :
18572 enableval=$enable_auto_core;
18574 # Check whether --enable-dump-share was given.
18575 if test "${enable_dump_share+set}" = set; then :
18576 enableval=$enable_dump_share;
18578 ## configure options for TeX
18579 # Check whether --enable-ipc was given.
18580 if test "${enable_ipc+set}" = set; then :
18581 enableval=$enable_ipc;
18583 # Check whether --enable-tex was given.
18584 if test "${enable_tex+set}" = set; then :
18585 enableval=$enable_tex;
18587 case $enable_tex in #(
18594 # Check whether --enable-tex-synctex was given.
18595 if test "${enable_tex_synctex+set}" = set; then :
18596 enableval=$enable_tex_synctex;
18598 # Check whether --enable-etex was given.
18599 if test "${enable_etex+set}" = set; then :
18600 enableval=$enable_etex;
18602 case $enable_etex in #(
18609 # Check whether --enable-etex-synctex was given.
18610 if test "${enable_etex_synctex+set}" = set; then :
18611 enableval=$enable_etex_synctex;
18613 # Check whether --enable-ptex was given.
18614 if test "${enable_ptex+set}" = set; then :
18615 enableval=$enable_ptex;
18617 case $enable_ptex in #(
18624 # Check whether --enable-ptex-synctex was given.
18625 if test "${enable_ptex_synctex+set}" = set; then :
18626 enableval=$enable_ptex_synctex;
18629 test "x$enable_web2c:$enable_ptex" = xyes:yes && {
18632 # Check whether --enable-eptex was given.
18633 if test "${enable_eptex+set}" = set; then :
18634 enableval=$enable_eptex;
18636 case $enable_eptex in #(
18640 enable_eptex=yes ;;
18643 # Check whether --enable-eptex-synctex was given.
18644 if test "${enable_eptex_synctex+set}" = set; then :
18645 enableval=$enable_eptex_synctex;
18648 test "x$enable_web2c:$enable_eptex" = xyes:yes && {
18651 # Check whether --enable-uptex was given.
18652 if test "${enable_uptex+set}" = set; then :
18653 enableval=$enable_uptex;
18655 case $enable_uptex in #(
18659 enable_uptex=yes ;;
18662 # Check whether --enable-uptex-synctex was given.
18663 if test "${enable_uptex_synctex+set}" = set; then :
18664 enableval=$enable_uptex_synctex;
18667 test "x$enable_web2c:$enable_uptex" = xyes:yes && {
18670 # Check whether --enable-euptex was given.
18671 if test "${enable_euptex+set}" = set; then :
18672 enableval=$enable_euptex;
18674 case $enable_euptex in #(
18678 enable_euptex=yes ;;
18681 # Check whether --enable-euptex-synctex was given.
18682 if test "${enable_euptex_synctex+set}" = set; then :
18683 enableval=$enable_euptex_synctex;
18686 test "x$enable_web2c:$enable_euptex" = xyes:yes && {
18689 # Check whether --enable-aleph was given.
18690 if test "${enable_aleph+set}" = set; then :
18691 enableval=$enable_aleph;
18693 case $enable_aleph in #(
18697 enable_aleph=yes ;;
18699 # Check whether --enable-pdftex was given.
18700 if test "${enable_pdftex+set}" = set; then :
18701 enableval=$enable_pdftex;
18703 case $enable_pdftex in #(
18707 enable_pdftex=yes ;;
18710 # Check whether --enable-pdftex-synctex was given.
18711 if test "${enable_pdftex_synctex+set}" = set; then :
18712 enableval=$enable_pdftex_synctex;
18715 test "x$enable_web2c:$enable_pdftex" = xyes:yes && {
18719 # Check whether --enable-luatex was given.
18720 if test "${enable_luatex+set}" = set; then :
18721 enableval=$enable_luatex;
18723 case $enable_luatex in #(
18727 enable_luatex=yes ;;
18730 test "x$enable_web2c:$enable_luatex" = xyes:yes && {
18738 # Check whether --enable-luajittex was given.
18739 if test "${enable_luajittex+set}" = set; then :
18740 enableval=$enable_luajittex;
18742 case $enable_luajittex in #(
18746 enable_luajittex=yes ;;
18749 test "x$enable_web2c:$enable_luajittex" = xyes:yes && {
18757 # Check whether --enable-mp was given.
18758 if test "${enable_mp+set}" = set; then :
18759 enableval=$enable_mp;
18761 case $enable_mp in #(
18768 test "x$enable_web2c:$enable_mp" = xyes:yes && {
18773 # Check whether --enable-pmp was given.
18774 if test "${enable_pmp+set}" = set; then :
18775 enableval=$enable_pmp;
18777 case $enable_pmp in #(
18784 test "x$enable_web2c:$enable_pmp" = xyes:yes && {
18790 # Check whether --enable-upmp was given.
18791 if test "${enable_upmp+set}" = set; then :
18792 enableval=$enable_upmp;
18794 case $enable_upmp in #(
18801 test "x$enable_web2c:$enable_upmp" = xyes:yes && {
18807 # Check whether --enable-xetex was given.
18808 if test "${enable_xetex+set}" = set; then :
18809 enableval=$enable_xetex;
18811 case $enable_xetex in #(
18815 enable_xetex=yes ;;
18818 # Check whether --enable-xetex-synctex was given.
18819 if test "${enable_xetex_synctex+set}" = set; then :
18820 enableval=$enable_xetex_synctex;
18823 test "x$enable_web2c:$enable_xetex" = xyes:yes && {
18830 ## configure options for MF
18831 # Check whether --enable-mf was given.
18832 if test "${enable_mf+set}" = set; then :
18833 enableval=$enable_mf;
18835 case $enable_mf in #(
18842 # Check whether --enable-mf-nowin was given.
18843 if test "${enable_mf_nowin+set}" = set; then :
18844 enableval=$enable_mf_nowin;
18847 # Check whether --with-mf-x-toolkit was given.
18848 if test "${with_mf_x_toolkit+set}" = set; then :
18849 withval=$with_mf_x_toolkit;
18851 # Check whether --enable-epsfwin was given.
18852 if test "${enable_epsfwin+set}" = set; then :
18853 enableval=$enable_epsfwin;
18855 # Check whether --enable-hp2627win was given.
18856 if test "${enable_hp2627win+set}" = set; then :
18857 enableval=$enable_hp2627win;
18859 # Check whether --enable-mftalkwin was given.
18860 if test "${enable_mftalkwin+set}" = set; then :
18861 enableval=$enable_mftalkwin;
18863 # Check whether --enable-nextwin was given.
18864 if test "${enable_nextwin+set}" = set; then :
18865 enableval=$enable_nextwin;
18867 # Check whether --enable-regiswin was given.
18868 if test "${enable_regiswin+set}" = set; then :
18869 enableval=$enable_regiswin;
18871 # Check whether --enable-suntoolswin was given.
18872 if test "${enable_suntoolswin+set}" = set; then :
18873 enableval=$enable_suntoolswin;
18875 # Check whether --enable-tektronixwin was given.
18876 if test "${enable_tektronixwin+set}" = set; then :
18877 enableval=$enable_tektronixwin;
18879 # Check whether --enable-unitermwin was given.
18880 if test "${enable_unitermwin+set}" = set; then :
18881 enableval=$enable_unitermwin;
18883 ## configure options for WEB programs
18884 # Check whether --enable-web-progs was given.
18885 if test "${enable_web_progs+set}" = set; then :
18886 enableval=$enable_web_progs;
18888 ## configure option for the SyncTeX library and tool
18889 # Check whether --enable-synctex was given.
18890 if test "${enable_synctex+set}" = set; then :
18891 enableval=$enable_synctex;
18896 if test "x$enable_texlive_build" = xyes; then :
18897 banner_pre='TeX Live'
18901 cat >>confdefs.h <<_ACEOF
18902 #define WEB2CVERSION " ($banner_pre $WEB2CVERSION$with_banner_add)"
18906 for ac_prog in kpsewhich
18908 # Extract the first word of "$ac_prog", so it can be a program name with args.
18909 set dummy $ac_prog; ac_word=$2
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18911 $as_echo_n "checking for $ac_word... " >&6; }
18912 if ${ac_cv_prog_KPSEWHICH+:} false; then :
18913 $as_echo_n "(cached) " >&6
18915 if test -n "$KPSEWHICH"; then
18916 ac_cv_prog_KPSEWHICH="$KPSEWHICH" # Let the user override the test.
18918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18919 for as_dir in $PATH
18922 test -z "$as_dir" && as_dir=.
18923 for ac_exec_ext in '' $ac_executable_extensions; do
18924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18925 ac_cv_prog_KPSEWHICH="$ac_prog"
18926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18935 KPSEWHICH=$ac_cv_prog_KPSEWHICH
18936 if test -n "$KPSEWHICH"; then
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KPSEWHICH" >&5
18938 $as_echo "$KPSEWHICH" >&6; }
18940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18941 $as_echo "no" >&6; }
18945 test -n "$KPSEWHICH" && break
18947 test -n "$KPSEWHICH" || KPSEWHICH="false"
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc asm needs underscore" >&5
18951 $as_echo_n "checking whether gcc asm needs underscore... " >&6; }
18952 if ${pb_cv_asm_underscore+:} false; then :
18953 $as_echo_n "(cached) " >&6
18956 # Some versions of GCC asm for i386 need an underscore prepended to
18957 # external symbols. Figure out if this is so.
18958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18959 /* end confdefs.h. */
18962 extern void sub () ;
18963 #if defined (__i386__) && defined (__GNUC__)
18970 void sub () { val = 1; }
18971 #endif /* assembler */
18981 if ac_fn_c_try_link "$LINENO"; then :
18982 pb_cv_asm_underscore=no
18984 pb_cv_asm_underscore=yes
18986 rm -f core conftest.err conftest.$ac_objext \
18987 conftest$ac_exeext conftest.$ac_ext
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pb_cv_asm_underscore" >&5
18990 $as_echo "$pb_cv_asm_underscore" >&6; }
18991 if test "x$pb_cv_asm_underscore" = xyes; then
18993 $as_echo "#define ASM_NEEDS_UNDERSCORE 1" >>confdefs.h
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
18998 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
18999 if ${kpse_cv_have_win32+:} false; then :
19000 $as_echo_n "(cached) " >&6
19002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h. */
19015 if ac_fn_c_try_compile "$LINENO"; then :
19016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19017 /* end confdefs.h. */
19018 #ifndef __MINGW32__
19029 if ac_fn_c_try_compile "$LINENO"; then :
19030 kpse_cv_have_win32=mingw32
19032 kpse_cv_have_win32=native
19034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19036 kpse_cv_have_win32=no
19038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
19041 $as_echo "$kpse_cv_have_win32" >&6; }
19043 if test "x$kpse_cv_have_win32" != xno; then
19052 if test "x$kpse_cv_have_win32" = xmingw32; then
19061 if test -r "$srcdir/../texlive/w32_wrapper/callexe.c"; then
19063 WIN32_CALL_FALSE='#'
19065 WIN32_CALL_TRUE='#'
19069 if test -z "$WIN32_TRUE"; then :
19070 ac_config_links="$ac_config_links callexe.c:../texlive/w32_wrapper/callexe.c"
19075 case $with_editor in #(
19077 if test "x$kpse_cv_have_win32" = xno; then :
19078 with_editor="vi +%d '%s'"
19080 with_editor='texworks --position=%d \"%s\"'
19086 cat >>confdefs.h <<_ACEOF
19087 #define EDITOR "$with_editor"
19091 if test "x$enable_auto_core" = xyes; then :
19093 $as_echo "#define FUNNY_CORE_DUMP 1" >>confdefs.h
19097 if test "x$enable_dump_share" = xno; then :
19099 $as_echo "#define NO_DUMP_SHARE 1" >>confdefs.h
19103 case $enable_ipc in #(
19111 if test "x$kpse_cv_have_win32" = xno; then :
19112 kpse_save_LIBS=$LIBS
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19114 $as_echo_n "checking for library containing connect... " >&6; }
19115 if ${ac_cv_search_connect+:} false; then :
19116 $as_echo_n "(cached) " >&6
19118 ac_func_search_save_LIBS=$LIBS
19119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19122 /* Override any GCC internal prototype to avoid an error.
19123 Use char because int might match the return type of a GCC
19124 builtin and then its argument prototype would still apply. */
19137 for ac_lib in '' socket nsl; do
19138 if test -z "$ac_lib"; then
19139 ac_res="none required"
19142 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19144 if ac_fn_c_try_link "$LINENO"; then :
19145 ac_cv_search_connect=$ac_res
19147 rm -f core conftest.err conftest.$ac_objext \
19149 if ${ac_cv_search_connect+:} false; then :
19153 if ${ac_cv_search_connect+:} false; then :
19156 ac_cv_search_connect=no
19158 rm conftest.$ac_ext
19159 LIBS=$ac_func_search_save_LIBS
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19162 $as_echo "$ac_cv_search_connect" >&6; }
19163 ac_res=$ac_cv_search_connect
19164 if test "$ac_res" != no; then :
19165 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19169 LIBS=$kpse_save_LIBS
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lwsock32" >&5
19172 $as_echo_n "checking for main in -lwsock32... " >&6; }
19173 if ${ac_cv_lib_wsock32_main+:} false; then :
19174 $as_echo_n "(cached) " >&6
19176 ac_check_lib_save_LIBS=$LIBS
19177 LIBS="-lwsock32 $LIBS"
19178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19179 /* end confdefs.h. */
19190 if ac_fn_c_try_link "$LINENO"; then :
19191 ac_cv_lib_wsock32_main=yes
19193 ac_cv_lib_wsock32_main=no
19195 rm -f core conftest.err conftest.$ac_objext \
19196 conftest$ac_exeext conftest.$ac_ext
19197 LIBS=$ac_check_lib_save_LIBS
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_main" >&5
19200 $as_echo "$ac_cv_lib_wsock32_main" >&6; }
19201 if test "x$ac_cv_lib_wsock32_main" = xyes; then :
19202 ac_cv_search_connect=-lwsock32
19204 ac_cv_search_connect=no
19209 # Check whether --enable-missing was given.
19210 if test "${enable_missing+set}" = set; then :
19211 enableval=$enable_missing;
19214 case $ac_cv_search_connect in #(
19218 if test "x$enable_luatex" = xyes; then :
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no socket library: disabling luatex" >&5
19220 $as_echo "$as_me: WARNING: Sorry, no socket library: disabling luatex" >&2;}
19221 if test "x$enable_missing" = xno; then :
19222 as_fn_error $? "terminating." "$LINENO" 5
19228 if test "x$enable_ipc" = xyes; then :
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no socket library: disabling ipc" >&5
19230 $as_echo "$as_me: WARNING: Sorry, no socket library: disabling ipc" >&2;}
19231 if test "x$enable_missing" = xno; then :
19232 as_fn_error $? "terminating." "$LINENO" 5
19239 socketlibs=$ac_cv_search_connect ;;
19241 if test "x$enable_ipc" = xyes; then
19242 ipc_socketlibs=$socketlibs
19244 $as_echo "#define IPC 1" >>confdefs.h
19248 # We may need additional libraries for luaTeX.
19249 # On Solaris -lnsl for gethostbyname(), -lrt for nanosleep(),
19250 # and maybe -lresolv for inet_aton().
19251 lua_socketlibs=$socketlibs
19252 kpse_save_LIBS=$LIBS
19253 LUA52_DEFINES='-DLUA_COMPAT_MODULE -DLUAI_HASHLIMIT=6'
19255 if test "x$kpse_cv_have_win32" = xno; then
19256 LUA52_DEFINES="$LUA52_DEFINES -DLUA_USE_POSIX"
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19258 $as_echo_n "checking for library containing dlopen... " >&6; }
19259 if ${ac_cv_search_dlopen+:} false; then :
19260 $as_echo_n "(cached) " >&6
19262 ac_func_search_save_LIBS=$LIBS
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19266 /* Override any GCC internal prototype to avoid an error.
19267 Use char because int might match the return type of a GCC
19268 builtin and then its argument prototype would still apply. */
19281 for ac_lib in '' dl; do
19282 if test -z "$ac_lib"; then
19283 ac_res="none required"
19286 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19288 if ac_fn_c_try_link "$LINENO"; then :
19289 ac_cv_search_dlopen=$ac_res
19291 rm -f core conftest.err conftest.$ac_objext \
19293 if ${ac_cv_search_dlopen+:} false; then :
19297 if ${ac_cv_search_dlopen+:} false; then :
19300 ac_cv_search_dlopen=no
19302 rm conftest.$ac_ext
19303 LIBS=$ac_func_search_save_LIBS
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19306 $as_echo "$ac_cv_search_dlopen" >&6; }
19307 ac_res=$ac_cv_search_dlopen
19308 if test "$ac_res" != no; then :
19309 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19313 if test "x$ac_cv_search_dlopen" != xno; then
19314 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
19316 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
19317 LUA52_DEFINES="$LUA52_DEFINES -DLUA_USE_DLOPEN"
19324 LUAJIT_DEFINES='-DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6'
19326 case $host_os:$host_cpu in #(
19328 LUAJIT_LDEXTRA='-pagezero_size 10000 -image_base 100000000' ;; #(
19334 LIBS=$kpse_save_LIBS
19335 if test "x$kpse_cv_have_win32" = xno; then
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19337 $as_echo_n "checking for library containing gethostbyname... " >&6; }
19338 if ${ac_cv_search_gethostbyname+:} false; then :
19339 $as_echo_n "(cached) " >&6
19341 ac_func_search_save_LIBS=$LIBS
19342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19345 /* Override any GCC internal prototype to avoid an error.
19346 Use char because int might match the return type of a GCC
19347 builtin and then its argument prototype would still apply. */
19351 char gethostbyname ();
19355 return gethostbyname ();
19360 for ac_lib in '' nsl; do
19361 if test -z "$ac_lib"; then
19362 ac_res="none required"
19365 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19367 if ac_fn_c_try_link "$LINENO"; then :
19368 ac_cv_search_gethostbyname=$ac_res
19370 rm -f core conftest.err conftest.$ac_objext \
19372 if ${ac_cv_search_gethostbyname+:} false; then :
19376 if ${ac_cv_search_gethostbyname+:} false; then :
19379 ac_cv_search_gethostbyname=no
19381 rm conftest.$ac_ext
19382 LIBS=$ac_func_search_save_LIBS
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19385 $as_echo "$ac_cv_search_gethostbyname" >&6; }
19386 ac_res=$ac_cv_search_gethostbyname
19387 if test "$ac_res" != no; then :
19388 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5
19393 $as_echo_n "checking for library containing hstrerror... " >&6; }
19394 if ${ac_cv_search_hstrerror+:} false; then :
19395 $as_echo_n "(cached) " >&6
19397 ac_func_search_save_LIBS=$LIBS
19398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19401 /* Override any GCC internal prototype to avoid an error.
19402 Use char because int might match the return type of a GCC
19403 builtin and then its argument prototype would still apply. */
19411 return hstrerror ();
19416 for ac_lib in '' resolv; do
19417 if test -z "$ac_lib"; then
19418 ac_res="none required"
19421 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19423 if ac_fn_c_try_link "$LINENO"; then :
19424 ac_cv_search_hstrerror=$ac_res
19426 rm -f core conftest.err conftest.$ac_objext \
19428 if ${ac_cv_search_hstrerror+:} false; then :
19432 if ${ac_cv_search_hstrerror+:} false; then :
19435 ac_cv_search_hstrerror=no
19437 rm conftest.$ac_ext
19438 LIBS=$ac_func_search_save_LIBS
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5
19441 $as_echo "$ac_cv_search_hstrerror" >&6; }
19442 ac_res=$ac_cv_search_hstrerror
19443 if test "$ac_res" != no; then :
19444 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19449 $as_echo_n "checking for library containing inet_aton... " >&6; }
19450 if ${ac_cv_search_inet_aton+:} false; then :
19451 $as_echo_n "(cached) " >&6
19453 ac_func_search_save_LIBS=$LIBS
19454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19455 /* end confdefs.h. */
19457 /* Override any GCC internal prototype to avoid an error.
19458 Use char because int might match the return type of a GCC
19459 builtin and then its argument prototype would still apply. */
19467 return inet_aton ();
19472 for ac_lib in '' resolv; do
19473 if test -z "$ac_lib"; then
19474 ac_res="none required"
19477 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19479 if ac_fn_c_try_link "$LINENO"; then :
19480 ac_cv_search_inet_aton=$ac_res
19482 rm -f core conftest.err conftest.$ac_objext \
19484 if ${ac_cv_search_inet_aton+:} false; then :
19488 if ${ac_cv_search_inet_aton+:} false; then :
19491 ac_cv_search_inet_aton=no
19493 rm conftest.$ac_ext
19494 LIBS=$ac_func_search_save_LIBS
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19497 $as_echo "$ac_cv_search_inet_aton" >&6; }
19498 ac_res=$ac_cv_search_inet_aton
19499 if test "$ac_res" != no; then :
19500 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19504 LIBS=$kpse_save_LIBS
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19506 $as_echo_n "checking for library containing nanosleep... " >&6; }
19507 if ${ac_cv_search_nanosleep+:} false; then :
19508 $as_echo_n "(cached) " >&6
19510 ac_func_search_save_LIBS=$LIBS
19511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19514 /* Override any GCC internal prototype to avoid an error.
19515 Use char because int might match the return type of a GCC
19516 builtin and then its argument prototype would still apply. */
19524 return nanosleep ();
19529 for ac_lib in '' rt; do
19530 if test -z "$ac_lib"; then
19531 ac_res="none required"
19534 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19536 if ac_fn_c_try_link "$LINENO"; then :
19537 ac_cv_search_nanosleep=$ac_res
19539 rm -f core conftest.err conftest.$ac_objext \
19541 if ${ac_cv_search_nanosleep+:} false; then :
19545 if ${ac_cv_search_nanosleep+:} false; then :
19548 ac_cv_search_nanosleep=no
19550 rm conftest.$ac_ext
19551 LIBS=$ac_func_search_save_LIBS
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19554 $as_echo "$ac_cv_search_nanosleep" >&6; }
19555 ac_res=$ac_cv_search_nanosleep
19556 if test "$ac_res" != no; then :
19557 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19561 LIBS=$kpse_save_LIBS
19562 case $ac_cv_header_dlfcn_h in #(
19564 case $ac_cv_search_dlopen in #(
19568 lua_socketlibs="$lua_socketlibs $ac_cv_search_dlopen" ;;
19573 case $ac_cv_search_hstrerror in #(
19577 if test "x$enable_luatex" = xyes; then :
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no hstrerror(): disabling luatex" >&5
19579 $as_echo "$as_me: WARNING: Sorry, no hstrerror(): disabling luatex" >&2;}
19580 if test "x$enable_missing" = xno; then :
19581 as_fn_error $? "terminating." "$LINENO" 5
19588 lua_socketlibs="$lua_socketlibs $ac_cv_search_hstrerror" ;;
19590 case $ac_cv_search_inet_aton in #(
19594 if test "x$enable_luatex" = xyes; then :
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no inet_aton(): disabling luatex" >&5
19596 $as_echo "$as_me: WARNING: Sorry, no inet_aton(): disabling luatex" >&2;}
19597 if test "x$enable_missing" = xno; then :
19598 as_fn_error $? "terminating." "$LINENO" 5
19605 lua_socketlibs="$lua_socketlibs $ac_cv_search_inet_aton" ;;
19607 case $ac_cv_search_gethostbyname in #(
19611 if test "x$enable_luatex" = xyes; then :
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no gethostbyname(): disabling luatex" >&5
19613 $as_echo "$as_me: WARNING: Sorry, no gethostbyname(): disabling luatex" >&2;}
19614 if test "x$enable_missing" = xno; then :
19615 as_fn_error $? "terminating." "$LINENO" 5
19622 lua_socketlibs="$lua_socketlibs $ac_cv_search_gethostbyname" ;;
19624 case $ac_cv_search_nanosleep in #(
19628 if test "x$enable_luatex" = xyes; then :
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no nanosleep(): disabling luatex" >&5
19630 $as_echo "$as_me: WARNING: Sorry, no nanosleep(): disabling luatex" >&2;}
19631 if test "x$enable_missing" = xno; then :
19632 as_fn_error $? "terminating." "$LINENO" 5
19639 lua_socketlibs="$lua_socketlibs $ac_cv_search_nanosleep" ;;
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
19643 $as_echo_n "checking for main in -lws2_32... " >&6; }
19644 if ${ac_cv_lib_ws2_32_main+:} false; then :
19645 $as_echo_n "(cached) " >&6
19647 ac_check_lib_save_LIBS=$LIBS
19648 LIBS="-lws2_32 $LIBS"
19649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19661 if ac_fn_c_try_link "$LINENO"; then :
19662 ac_cv_lib_ws2_32_main=yes
19664 ac_cv_lib_ws2_32_main=no
19666 rm -f core conftest.err conftest.$ac_objext \
19667 conftest$ac_exeext conftest.$ac_ext
19668 LIBS=$ac_check_lib_save_LIBS
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
19671 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
19672 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
19673 lua_socketlibs="$socketlibs -lws2_32"
19675 if test "x$enable_luatex" = xyes; then :
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, no getaddrinfo(): disabling luatex" >&5
19677 $as_echo "$as_me: WARNING: Sorry, no getaddrinfo(): disabling luatex" >&2;}
19678 if test "x$enable_missing" = xno; then :
19679 as_fn_error $? "terminating." "$LINENO" 5
19688 if test "x$ac_cv_header_dlfcn_h" = xyes; then
19690 USE_DLOPEN_FALSE='#'
19692 USE_DLOPEN_TRUE='#'
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS X ApplicationServices framework" >&5
19700 $as_echo_n "checking for Mac OS X ApplicationServices framework... " >&6; }
19701 if ${kpse_cv_have_ApplicationServices+:} false; then :
19702 $as_echo_n "(cached) " >&6
19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h. */
19706 #include <ApplicationServices/ApplicationServices.h>
19715 if ac_fn_c_try_compile "$LINENO"; then :
19716 kpse_cv_have_ApplicationServices=yes
19718 kpse_cv_have_ApplicationServices=no
19720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_ApplicationServices" >&5
19723 $as_echo "$kpse_cv_have_ApplicationServices" >&6; }
19724 if test "x$kpse_cv_have_ApplicationServices" = xyes; then :
19726 $as_echo "#define HAVE_APPLICATIONSERVICES 1" >>confdefs.h
19730 if test -n "$ac_tool_prefix"; then
19731 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19732 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19734 $as_echo_n "checking for $ac_word... " >&6; }
19735 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
19736 $as_echo_n "(cached) " >&6
19738 if test -n "$PKG_CONFIG"; then
19739 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
19741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19742 for as_dir in $PATH
19745 test -z "$as_dir" && as_dir=.
19746 for ac_exec_ext in '' $ac_executable_extensions; do
19747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19748 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
19749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19758 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
19759 if test -n "$PKG_CONFIG"; then
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19761 $as_echo "$PKG_CONFIG" >&6; }
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19764 $as_echo "no" >&6; }
19769 if test -z "$ac_cv_prog_PKG_CONFIG"; then
19770 ac_ct_PKG_CONFIG=$PKG_CONFIG
19771 # Extract the first word of "pkg-config", so it can be a program name with args.
19772 set dummy pkg-config; ac_word=$2
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19774 $as_echo_n "checking for $ac_word... " >&6; }
19775 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then :
19776 $as_echo_n "(cached) " >&6
19778 if test -n "$ac_ct_PKG_CONFIG"; then
19779 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
19781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19782 for as_dir in $PATH
19785 test -z "$as_dir" && as_dir=.
19786 for ac_exec_ext in '' $ac_executable_extensions; do
19787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19788 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
19789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19798 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
19799 if test -n "$ac_ct_PKG_CONFIG"; then
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
19801 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19804 $as_echo "no" >&6; }
19807 if test "x$ac_ct_PKG_CONFIG" = x; then
19810 case $cross_compiling:$ac_tool_warned in
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19814 ac_tool_warned=yes ;;
19816 PKG_CONFIG=$ac_ct_PKG_CONFIG
19819 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
19823 # Check whether --with-fontconfig-includes was given.
19824 if test "${with_fontconfig_includes+set}" = set; then :
19825 withval=$with_fontconfig_includes;
19828 # Check whether --with-fontconfig-libdir was given.
19829 if test "${with_fontconfig_libdir+set}" = set; then :
19830 withval=$with_fontconfig_libdir;
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed fontconfig headers and library" >&5
19833 $as_echo_n "checking for installed fontconfig headers and library... " >&6; }
19834 if ${kpse_cv_have_fontconfig+:} false; then :
19835 $as_echo_n "(cached) " >&6
19837 kpse_save_CPPFLAGS=$CPPFLAGS
19838 kpse_save_LIBS=$LIBS
19839 kpse_cv_fontconfig_includes=
19840 kpse_cv_fontconfig_libs='-lfontconfig'
19841 if test "x$with_fontconfig_includes:$with_fontconfig_libdir" != x:; then
19842 if test "x$with_fontconfig_includes" != x; then
19843 kpse_cv_fontconfig_includes="-I$with_fontconfig_includes"
19845 if test "x$with_fontconfig_libdir" != x; then
19846 kpse_cv_fontconfig_libs="-L$with_fontconfig_libdir $kpse_cv_fontconfig_libs"
19848 elif $PKG_CONFIG fontconfig; then
19849 kpse_cv_fontconfig_includes=`$PKG_CONFIG fontconfig
--cflags`
19850 kpse_cv_fontconfig_libs=`$PKG_CONFIG fontconfig
--libs`
19852 CPPFLAGS="$kpse_cv_fontconfig_includes $CPPFLAGS"
19853 LIBS="$kpse_cv_fontconfig_libs $LIBS"
19854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19855 /* end confdefs.h. */
19856 #include <fontconfig/fontconfig.h>
19860 FcObjectSet *os; FcInit();
19865 if ac_fn_c_try_link "$LINENO"; then :
19866 kpse_cv_have_fontconfig=yes
19868 kpse_cv_have_fontconfig=no
19870 rm -f core conftest.err conftest.$ac_objext \
19871 conftest$ac_exeext conftest.$ac_ext
19872 CPPFLAGS=$kpse_save_CPPFLAGS
19873 LIBS=$kpse_save_LIBS
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_fontconfig" >&5
19876 $as_echo "$kpse_cv_have_fontconfig" >&6; }
19877 if test "x$kpse_cv_have_fontconfig" = xyes; then
19878 FONTCONFIG_INCLUDES=$kpse_cv_fontconfig_includes
19879 FONTCONFIG_LIBS=$kpse_cv_fontconfig_libs
19881 $as_echo "#define HAVE_LIBFONTCONFIG 1" >>confdefs.h
19887 if test "x$kpse_cv_have_ApplicationServices:$kpse_cv_have_fontconfig" = xno:no; then :
19888 if test "x$enable_xetex" = xyes; then :
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, neither ApplicationServices framework nor fontconfig library: disabling xetex" >&5
19890 $as_echo "$as_me: WARNING: Sorry, neither ApplicationServices framework nor fontconfig library: disabling xetex" >&2;}
19891 if test "x$enable_missing" = xno; then :
19892 as_fn_error $? "terminating." "$LINENO" 5
19899 if test "x$kpse_cv_have_ApplicationServices" = xyes; then
19901 XETEX_MACOSX_FALSE='#'
19903 XETEX_MACOSX_TRUE='#'
19904 XETEX_MACOSX_FALSE=
19908 if test "x$enable_tex" = xyes; then
19916 case $enable_native_texlive_build:$enable_tex_synctex in #(
19917 yes:no | no:yes | no:no) :
19920 if test -z "$enable_tex_synctex"; then :
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tex-synctex=no
'" >&5
19922 $as_echo "$as_me: Assuming \`--enable-tex-synctex=no'" >&6;}
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Enforcing \
`--enable-tex-synctex=no' (native TeX Live build)" >&5
19925 $as_echo "$as_me: WARNING: Enforcing \`--enable-tex-synctex=no
' (native TeX Live build)" >&2;}
19927 enable_tex_synctex=no ;;
19929 if test "x$enable_tex_synctex" = xyes; then
19931 TEX_SYNCTEX_FALSE='#'
19933 TEX_SYNCTEX_TRUE
='#'
19936 if test "x$enable_etex" = xyes
; then
19944 case $enable_native_texlive_build:$enable_etex_synctex in #(
19945 yes:yes | no
:yes | no
:no
) :
19948 if test -z "$enable_etex_synctex"; then :
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-etex-synctex=yes'" >&5
19950 $as_echo "$as_me: Assuming \`--enable-etex-synctex=yes'" >&6;}
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-etex-synctex=yes' (native TeX Live build)" >&5
19953 $as_echo "$as_me: WARNING: Enforcing \`--enable-etex-synctex=yes' (native TeX Live build)" >&2;}
19955 enable_etex_synctex
=yes ;;
19957 if test "x$enable_etex_synctex" = xyes
; then
19959 ETEX_SYNCTEX_FALSE
='#'
19961 ETEX_SYNCTEX_TRUE
='#'
19962 ETEX_SYNCTEX_FALSE
=
19964 if test "x$enable_ptex" = xyes
; then
19972 case $enable_native_texlive_build:$enable_ptex_synctex in #(
19973 yes:yes | no
:yes | no
:no
) :
19976 if test -z "$enable_ptex_synctex"; then :
19977 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ptex-synctex=yes'" >&5
19978 $as_echo "$as_me: Assuming \`--enable-ptex-synctex=yes'" >&6;}
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-ptex-synctex=yes' (native TeX Live build)" >&5
19981 $as_echo "$as_me: WARNING: Enforcing \`--enable-ptex-synctex=yes' (native TeX Live build)" >&2;}
19983 enable_ptex_synctex
=yes ;;
19985 if test "x$enable_ptex_synctex" = xyes
; then
19987 PTEX_SYNCTEX_FALSE
='#'
19989 PTEX_SYNCTEX_TRUE
='#'
19990 PTEX_SYNCTEX_FALSE
=
19992 if test "x$enable_eptex" = xyes
; then
20000 case $enable_native_texlive_build:$enable_eptex_synctex in #(
20001 yes:yes | no
:yes | no
:no
) :
20004 if test -z "$enable_eptex_synctex"; then :
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-eptex-synctex=yes'" >&5
20006 $as_echo "$as_me: Assuming \`--enable-eptex-synctex=yes'" >&6;}
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-eptex-synctex=yes' (native TeX Live build)" >&5
20009 $as_echo "$as_me: WARNING: Enforcing \`--enable-eptex-synctex=yes' (native TeX Live build)" >&2;}
20011 enable_eptex_synctex
=yes ;;
20013 if test "x$enable_eptex_synctex" = xyes
; then
20014 EPTEX_SYNCTEX_TRUE
=
20015 EPTEX_SYNCTEX_FALSE
='#'
20017 EPTEX_SYNCTEX_TRUE
='#'
20018 EPTEX_SYNCTEX_FALSE
=
20020 if test "x$enable_uptex" = xyes
; then
20028 case $enable_native_texlive_build:$enable_uptex_synctex in #(
20029 yes:yes | no
:yes | no
:no
) :
20032 if test -z "$enable_uptex_synctex"; then :
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-uptex-synctex=yes'" >&5
20034 $as_echo "$as_me: Assuming \`--enable-uptex-synctex=yes'" >&6;}
20036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-uptex-synctex=yes' (native TeX Live build)" >&5
20037 $as_echo "$as_me: WARNING: Enforcing \`--enable-uptex-synctex=yes' (native TeX Live build)" >&2;}
20039 enable_uptex_synctex
=yes ;;
20041 if test "x$enable_uptex_synctex" = xyes
; then
20042 UPTEX_SYNCTEX_TRUE
=
20043 UPTEX_SYNCTEX_FALSE
='#'
20045 UPTEX_SYNCTEX_TRUE
='#'
20046 UPTEX_SYNCTEX_FALSE
=
20048 if test "x$enable_euptex" = xyes
; then
20056 case $enable_native_texlive_build:$enable_euptex_synctex in #(
20057 yes:yes | no
:yes | no
:no
) :
20060 if test -z "$enable_euptex_synctex"; then :
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-euptex-synctex=yes'" >&5
20062 $as_echo "$as_me: Assuming \`--enable-euptex-synctex=yes'" >&6;}
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-euptex-synctex=yes' (native TeX Live build)" >&5
20065 $as_echo "$as_me: WARNING: Enforcing \`--enable-euptex-synctex=yes' (native TeX Live build)" >&2;}
20067 enable_euptex_synctex
=yes ;;
20069 if test "x$enable_euptex_synctex" = xyes
; then
20070 EUPTEX_SYNCTEX_TRUE
=
20071 EUPTEX_SYNCTEX_FALSE
='#'
20073 EUPTEX_SYNCTEX_TRUE
='#'
20074 EUPTEX_SYNCTEX_FALSE
=
20076 if test "x$enable_aleph" = xyes
; then
20083 if test "x$enable_pdftex" = xyes
; then
20091 case $enable_native_texlive_build:$enable_pdftex_synctex in #(
20092 yes:yes | no
:yes | no
:no
) :
20095 if test -z "$enable_pdftex_synctex"; then :
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-pdftex-synctex=yes'" >&5
20097 $as_echo "$as_me: Assuming \`--enable-pdftex-synctex=yes'" >&6;}
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-pdftex-synctex=yes' (native TeX Live build)" >&5
20100 $as_echo "$as_me: WARNING: Enforcing \`--enable-pdftex-synctex=yes' (native TeX Live build)" >&2;}
20102 enable_pdftex_synctex
=yes ;;
20104 if test "x$enable_pdftex_synctex" = xyes
; then
20105 PDFTEX_SYNCTEX_TRUE
=
20106 PDFTEX_SYNCTEX_FALSE
='#'
20108 PDFTEX_SYNCTEX_TRUE
='#'
20109 PDFTEX_SYNCTEX_FALSE
=
20111 if test "x$enable_luatex" = xyes
; then
20118 if test "x$enable_luajittex" = xyes
; then
20120 LUAJITTEX_FALSE
='#'
20125 if test "x$enable_mp" = xyes
; then
20132 if test "x$enable_pmp" = xyes
; then
20139 if test "x$enable_upmp" = xyes
; then
20146 if test "x$enable_xetex" = xyes
; then
20154 case $enable_native_texlive_build:$enable_xetex_synctex in #(
20155 yes:yes | no
:yes | no
:no
) :
20158 if test -z "$enable_xetex_synctex"; then :
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xetex-synctex=yes'" >&5
20160 $as_echo "$as_me: Assuming \`--enable-xetex-synctex=yes'" >&6;}
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enforcing \`--enable-xetex-synctex=yes' (native TeX Live build)" >&5
20163 $as_echo "$as_me: WARNING: Enforcing \`--enable-xetex-synctex=yes' (native TeX Live build)" >&2;}
20165 enable_xetex_synctex
=yes ;;
20167 if test "x$enable_xetex_synctex" = xyes
; then
20168 XETEX_SYNCTEX_TRUE
=
20169 XETEX_SYNCTEX_FALSE
='#'
20171 XETEX_SYNCTEX_TRUE
='#'
20172 XETEX_SYNCTEX_FALSE
=
20175 test "x$enable_omfonts" = xno || enable_omfonts
=yes
20177 if test "x$enable_aleph:$enable_xetex:$enable_omfonts" = xno
:no
:yes; then :
20182 if test "x$enable_otangle" = xyes
; then
20190 # Handle --with-mf-x-toolkit and --with-x
20191 case $with_mf_x_toolkit in #(
20195 with_mf_x_toolkit
=no
;; #(
20197 with_mf_x_toolkit
=yes ;; #(
20199 with_mf_x_toolkit
=no
;; #(
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown --with-mf-x-toolkit argument \`$with_mf_x_toolkit'; using no." >&5
20202 $as_echo "$as_me: WARNING: unknown --with-mf-x-toolkit argument \`$with_mf_x_toolkit'; using no." >&2;}
20203 with_mf_x_toolkit
=no
;;
20205 test "x$with_x_toolkit" = xyes
&& with_x
=yes
20206 test "x$with_x" = xno
&& with_x_toolkit
=no
20208 if test "x$enable_mf" != xno
; then
20215 test "x$enable_mf" = xyes
&& : ${with_x=yes}
20217 if test "x$enable_mf_nowin" != xno
; then
20226 # Distinguish no X at all, no toolkit, or toolkit.
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
20228 $as_echo_n "checking for X... " >&6; }
20231 # Check whether --with-x was given.
20232 if test "${with_x+set}" = set; then :
20236 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20237 if test "x$with_x" = xno
; then
20238 # The user explicitly disabled X.
20241 case $x_includes,$x_libraries in #(
20242 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
20243 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
20244 $as_echo_n "(cached) " >&6
20246 # One or both of the vars are not set, and there is no cached value.
20247 ac_x_includes
=no ac_x_libraries
=no
20248 rm -f -r conftest.dir
20249 if mkdir conftest.dir
; then
20251 cat >Imakefile
<<'_ACEOF'
20253 @echo incroot='${INCROOT}'
20255 @echo usrlibdir='${USRLIBDIR}'
20257 @echo libdir='${LIBDIR}'
20259 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
20260 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
20261 for ac_var
in incroot usrlibdir libdir
; do
20262 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
20264 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20265 for ac_extension
in a so sl dylib la dll
; do
20266 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
20267 test -f "$ac_im_libdir/libX11.$ac_extension"; then
20268 ac_im_usrlibdir
=$ac_im_libdir; break
20271 # Screen out bogus values from the imake configuration. They are
20272 # bogus both because they are the default anyway, and because
20273 # using them would break gcc on systems where it needs fixed includes.
20274 case $ac_im_incroot in
20275 /usr
/include
) ac_x_includes
= ;;
20276 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
20278 case $ac_im_usrlibdir in
20279 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
20280 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
20284 rm -f -r conftest.dir
20287 # Standard set of common directories for X headers.
20288 # Check X11 before X11Rn because it is often a symlink to the current release.
20302 /usr/local/X11/include
20303 /usr/local/X11R7/include
20304 /usr/local/X11R6/include
20305 /usr/local/X11R5/include
20306 /usr/local/X11R4/include
20308 /usr/local/include/X11
20309 /usr/local/include/X11R7
20310 /usr/local/include/X11R6
20311 /usr/local/include/X11R5
20312 /usr/local/include/X11R4
20316 /usr/XFree86/include/X11
20320 /usr/unsupported/include
20321 /usr/athena/include
20322 /usr/local/x11r5/include
20323 /usr/lpp/Xamples/include
20325 /usr/openwin/include
20326 /usr/openwin/share/include'
20328 if test "$ac_x_includes" = no
; then
20329 # Guess where to find include files, by looking for Xlib.h.
20330 # First, try using that file with no special directory specified.
20331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20332 /* end confdefs.h. */
20333 #include <X11/Xlib.h>
20335 if ac_fn_c_try_cpp
"$LINENO"; then :
20336 # We can compile using X headers with no special include directory.
20339 for ac_dir
in $ac_x_header_dirs; do
20340 if test -r "$ac_dir/X11/Xlib.h"; then
20341 ac_x_includes
=$ac_dir
20346 rm -f conftest.err conftest.i conftest.
$ac_ext
20347 fi # $ac_x_includes = no
20349 if test "$ac_x_libraries" = no
; then
20350 # Check for the libraries.
20351 # See if we find them without any special options.
20352 # Don't add to $LIBS permanently.
20355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20356 /* end confdefs.h. */
20357 #include <X11/Xlib.h>
20366 if ac_fn_c_try_link
"$LINENO"; then :
20368 # We can link X programs with no special library path.
20372 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20374 # Don't even attempt the hair of trying to link an X program!
20375 for ac_extension
in a so sl dylib la dll
; do
20376 if test -r "$ac_dir/libX11.$ac_extension"; then
20377 ac_x_libraries
=$ac_dir
20383 rm -f core conftest.err conftest.
$ac_objext \
20384 conftest
$ac_exeext conftest.
$ac_ext
20385 fi # $ac_x_libraries = no
20387 case $ac_x_includes,$ac_x_libraries in #(
20388 no
,* |
*,no |
*\'*)
20389 # Didn't find X, or a directory has "'" in its name.
20390 ac_cv_have_x
="have_x=no";; #(
20392 # Record where we found X for the cache.
20393 ac_cv_have_x
="have_x=yes\
20394 ac_x_includes='$ac_x_includes'\
20395 ac_x_libraries='$ac_x_libraries'"
20401 eval "$ac_cv_have_x"
20404 if test "$have_x" != yes; then
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
20406 $as_echo "$have_x" >&6; }
20409 # If each of the values was on the command line, it overrides each guess.
20410 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
20411 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
20412 # Update the cache value to reflect the command line values.
20413 ac_cv_have_x
="have_x=yes\
20414 ac_x_includes='$x_includes'\
20415 ac_x_libraries='$x_libraries'"
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
20417 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
20420 if test "$no_x" = yes; then
20421 # Not all programs may use this symbol, but it does not hurt to define it.
20423 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
20425 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
20427 if test -n "$x_includes"; then
20428 X_CFLAGS
="$X_CFLAGS -I$x_includes"
20431 # It would also be nice to do this for all -L options, not just this one.
20432 if test -n "$x_libraries"; then
20433 X_LIBS
="$X_LIBS -L$x_libraries"
20434 # For Solaris; some versions of Sun CC require a space after -R and
20435 # others require no space. Words are not sufficient . . . .
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
20437 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
20438 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
20439 ac_xsave_c_werror_flag
=$ac_c_werror_flag
20440 ac_c_werror_flag
=yes
20441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20442 /* end confdefs.h. */
20452 if ac_fn_c_try_link
"$LINENO"; then :
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20454 $as_echo "no" >&6; }
20455 X_LIBS
="$X_LIBS -R$x_libraries"
20457 LIBS
="$ac_xsave_LIBS -R $x_libraries"
20458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20459 /* end confdefs.h. */
20469 if ac_fn_c_try_link
"$LINENO"; then :
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20471 $as_echo "yes" >&6; }
20472 X_LIBS
="$X_LIBS -R $x_libraries"
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
20475 $as_echo "neither works" >&6; }
20477 rm -f core conftest.err conftest.
$ac_objext \
20478 conftest
$ac_exeext conftest.
$ac_ext
20480 rm -f core conftest.err conftest.
$ac_objext \
20481 conftest
$ac_exeext conftest.
$ac_ext
20482 ac_c_werror_flag
=$ac_xsave_c_werror_flag
20483 LIBS
=$ac_xsave_LIBS
20486 # Check for system-dependent libraries X programs must link with.
20487 # Do this before checking for the system-independent R6 libraries
20488 # (-lICE), since we may need -lsocket or whatever for X linking.
20490 if test "$ISC" = yes; then
20491 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
20493 # Martyn Johnson says this is needed for Ultrix, if the X
20494 # libraries were built with DECnet support. And Karl Berry says
20495 # the Alpha needs dnet_stub (dnet does not exist).
20496 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
20497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20498 /* end confdefs.h. */
20500 /* Override any GCC internal prototype to avoid an error.
20501 Use char because int might match the return type of a GCC
20502 builtin and then its argument prototype would still apply. */
20506 char XOpenDisplay ();
20510 return XOpenDisplay ();
20515 if ac_fn_c_try_link
"$LINENO"; then :
20518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
20519 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20520 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
20521 $as_echo_n "(cached) " >&6
20523 ac_check_lib_save_LIBS
=$LIBS
20524 LIBS
="-ldnet $LIBS"
20525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20526 /* end confdefs.h. */
20528 /* Override any GCC internal prototype to avoid an error.
20529 Use char because int might match the return type of a GCC
20530 builtin and then its argument prototype would still apply. */
20538 return dnet_ntoa ();
20543 if ac_fn_c_try_link
"$LINENO"; then :
20544 ac_cv_lib_dnet_dnet_ntoa
=yes
20546 ac_cv_lib_dnet_dnet_ntoa
=no
20548 rm -f core conftest.err conftest.
$ac_objext \
20549 conftest
$ac_exeext conftest.
$ac_ext
20550 LIBS
=$ac_check_lib_save_LIBS
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20553 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20554 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
20555 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
20558 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
20560 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20561 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
20562 $as_echo_n "(cached) " >&6
20564 ac_check_lib_save_LIBS
=$LIBS
20565 LIBS
="-ldnet_stub $LIBS"
20566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20567 /* end confdefs.h. */
20569 /* Override any GCC internal prototype to avoid an error.
20570 Use char because int might match the return type of a GCC
20571 builtin and then its argument prototype would still apply. */
20579 return dnet_ntoa ();
20584 if ac_fn_c_try_link
"$LINENO"; then :
20585 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
20587 ac_cv_lib_dnet_stub_dnet_ntoa
=no
20589 rm -f core conftest.err conftest.
$ac_objext \
20590 conftest
$ac_exeext conftest.
$ac_ext
20591 LIBS
=$ac_check_lib_save_LIBS
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20594 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20595 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
20596 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
20601 rm -f core conftest.err conftest.
$ac_objext \
20602 conftest
$ac_exeext conftest.
$ac_ext
20603 LIBS
="$ac_xsave_LIBS"
20605 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20606 # to get the SysV transport functions.
20607 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20609 # The nsl library prevents programs from opening the X display
20610 # on Irix 5.2, according to T.E. Dickey.
20611 # The functions gethostbyname, getservbyname, and inet_addr are
20612 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20613 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20614 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
20618 if test $ac_cv_func_gethostbyname = no
; then
20619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20620 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20621 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
20622 $as_echo_n "(cached) " >&6
20624 ac_check_lib_save_LIBS
=$LIBS
20626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20627 /* end confdefs.h. */
20629 /* Override any GCC internal prototype to avoid an error.
20630 Use char because int might match the return type of a GCC
20631 builtin and then its argument prototype would still apply. */
20635 char gethostbyname ();
20639 return gethostbyname ();
20644 if ac_fn_c_try_link
"$LINENO"; then :
20645 ac_cv_lib_nsl_gethostbyname
=yes
20647 ac_cv_lib_nsl_gethostbyname
=no
20649 rm -f core conftest.err conftest.
$ac_objext \
20650 conftest
$ac_exeext conftest.
$ac_ext
20651 LIBS
=$ac_check_lib_save_LIBS
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20654 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20655 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
20656 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
20659 if test $ac_cv_lib_nsl_gethostbyname = no
; then
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20661 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20662 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
20663 $as_echo_n "(cached) " >&6
20665 ac_check_lib_save_LIBS
=$LIBS
20667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20668 /* end confdefs.h. */
20670 /* Override any GCC internal prototype to avoid an error.
20671 Use char because int might match the return type of a GCC
20672 builtin and then its argument prototype would still apply. */
20676 char gethostbyname ();
20680 return gethostbyname ();
20685 if ac_fn_c_try_link
"$LINENO"; then :
20686 ac_cv_lib_bsd_gethostbyname
=yes
20688 ac_cv_lib_bsd_gethostbyname
=no
20690 rm -f core conftest.err conftest.
$ac_objext \
20691 conftest
$ac_exeext conftest.
$ac_ext
20692 LIBS
=$ac_check_lib_save_LIBS
20694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20695 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20696 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
20697 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
20703 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20704 # socket/setsockopt and other routines are undefined under SCO ODT
20705 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20706 # on later versions), says Simon Leinen: it contains gethostby*
20707 # variants that don't use the name server (or something). -lsocket
20708 # must be given before -lnsl if both are needed. We assume that
20709 # if connect needs -lnsl, so does gethostbyname.
20710 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
20711 if test "x$ac_cv_func_connect" = xyes
; then :
20715 if test $ac_cv_func_connect = no
; then
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20717 $as_echo_n "checking for connect in -lsocket... " >&6; }
20718 if ${ac_cv_lib_socket_connect+:} false
; then :
20719 $as_echo_n "(cached) " >&6
20721 ac_check_lib_save_LIBS
=$LIBS
20722 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
20723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20724 /* end confdefs.h. */
20726 /* Override any GCC internal prototype to avoid an error.
20727 Use char because int might match the return type of a GCC
20728 builtin and then its argument prototype would still apply. */
20741 if ac_fn_c_try_link
"$LINENO"; then :
20742 ac_cv_lib_socket_connect
=yes
20744 ac_cv_lib_socket_connect
=no
20746 rm -f core conftest.err conftest.
$ac_objext \
20747 conftest
$ac_exeext conftest.
$ac_ext
20748 LIBS
=$ac_check_lib_save_LIBS
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20751 $as_echo "$ac_cv_lib_socket_connect" >&6; }
20752 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
20753 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
20758 # Guillermo Gomez says -lposix is necessary on A/UX.
20759 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
20760 if test "x$ac_cv_func_remove" = xyes
; then :
20764 if test $ac_cv_func_remove = no
; then
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20766 $as_echo_n "checking for remove in -lposix... " >&6; }
20767 if ${ac_cv_lib_posix_remove+:} false
; then :
20768 $as_echo_n "(cached) " >&6
20770 ac_check_lib_save_LIBS
=$LIBS
20771 LIBS
="-lposix $LIBS"
20772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20773 /* end confdefs.h. */
20775 /* Override any GCC internal prototype to avoid an error.
20776 Use char because int might match the return type of a GCC
20777 builtin and then its argument prototype would still apply. */
20790 if ac_fn_c_try_link
"$LINENO"; then :
20791 ac_cv_lib_posix_remove
=yes
20793 ac_cv_lib_posix_remove
=no
20795 rm -f core conftest.err conftest.
$ac_objext \
20796 conftest
$ac_exeext conftest.
$ac_ext
20797 LIBS
=$ac_check_lib_save_LIBS
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20800 $as_echo "$ac_cv_lib_posix_remove" >&6; }
20801 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
20802 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20807 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20808 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
20809 if test "x$ac_cv_func_shmat" = xyes
; then :
20813 if test $ac_cv_func_shmat = no
; then
20814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20815 $as_echo_n "checking for shmat in -lipc... " >&6; }
20816 if ${ac_cv_lib_ipc_shmat+:} false
; then :
20817 $as_echo_n "(cached) " >&6
20819 ac_check_lib_save_LIBS
=$LIBS
20821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h. */
20824 /* Override any GCC internal prototype to avoid an error.
20825 Use char because int might match the return type of a GCC
20826 builtin and then its argument prototype would still apply. */
20839 if ac_fn_c_try_link
"$LINENO"; then :
20840 ac_cv_lib_ipc_shmat
=yes
20842 ac_cv_lib_ipc_shmat
=no
20844 rm -f core conftest.err conftest.
$ac_objext \
20845 conftest
$ac_exeext conftest.
$ac_ext
20846 LIBS
=$ac_check_lib_save_LIBS
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20849 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20850 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
20851 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20857 # Check for libraries that X11R6 Xt/Xaw programs need.
20858 ac_save_LDFLAGS
=$LDFLAGS
20859 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20860 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20861 # check for ICE first), but we must link in the order -lSM -lICE or
20862 # we get undefined symbols. So assume we have SM if we have ICE.
20863 # These have to be linked with before -lX11, unlike the other
20864 # libraries we check for below, so use a different variable.
20865 # John Interrante, Karl Berry
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20867 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20868 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
20869 $as_echo_n "(cached) " >&6
20871 ac_check_lib_save_LIBS
=$LIBS
20872 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20874 /* end confdefs.h. */
20876 /* Override any GCC internal prototype to avoid an error.
20877 Use char because int might match the return type of a GCC
20878 builtin and then its argument prototype would still apply. */
20882 char IceConnectionNumber ();
20886 return IceConnectionNumber ();
20891 if ac_fn_c_try_link
"$LINENO"; then :
20892 ac_cv_lib_ICE_IceConnectionNumber
=yes
20894 ac_cv_lib_ICE_IceConnectionNumber
=no
20896 rm -f core conftest.err conftest.
$ac_objext \
20897 conftest
$ac_exeext conftest.
$ac_ext
20898 LIBS
=$ac_check_lib_save_LIBS
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20901 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20902 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
20903 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20906 LDFLAGS
=$ac_save_LDFLAGS
20910 if test "x$with_x" = xyes
; then
20911 if test "x$no_x" = xyes
; then
20912 as_fn_error $?
"Sorry, could not find X include and library files required for Metafont." "$LINENO" 5
20914 test -n "$x_libraries" && XLFLAG
="-L$x_libraries"
20915 wlibs
="$XLFLAG -lX11"
20916 if test -z "$x_ext_lib"; then # allow envvar override
20917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XextCreateExtension in -lXext" >&5
20918 $as_echo_n "checking for XextCreateExtension in -lXext... " >&6; }
20919 if ${ac_cv_lib_Xext_XextCreateExtension+:} false
; then :
20920 $as_echo_n "(cached) " >&6
20922 ac_check_lib_save_LIBS
=$LIBS
20923 LIBS
="-lXext $wlibs $X_EXTRA_LIBS $LIBS"
20924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20925 /* end confdefs.h. */
20927 /* Override any GCC internal prototype to avoid an error.
20928 Use char because int might match the return type of a GCC
20929 builtin and then its argument prototype would still apply. */
20933 char XextCreateExtension ();
20937 return XextCreateExtension ();
20942 if ac_fn_c_try_link
"$LINENO"; then :
20943 ac_cv_lib_Xext_XextCreateExtension
=yes
20945 ac_cv_lib_Xext_XextCreateExtension
=no
20947 rm -f core conftest.err conftest.
$ac_objext \
20948 conftest
$ac_exeext conftest.
$ac_ext
20949 LIBS
=$ac_check_lib_save_LIBS
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XextCreateExtension" >&5
20952 $as_echo "$ac_cv_lib_Xext_XextCreateExtension" >&6; }
20953 if test "x$ac_cv_lib_Xext_XextCreateExtension" = xyes
; then :
20958 test "x$with_mf_x_toolkit" = xyes
&& x_tool_libs
="-lXt"
20960 $as_echo "#define X11WIN 1" >>confdefs.h
20963 if test "x$with_mf_x_toolkit" = xyes
; then
20975 if test "x$enable_epsfwin" = xyes
; then :
20977 $as_echo "#define EPSFWIN /**/" >>confdefs.h
20980 if test "x$enable_hp2627win" = xyes
; then :
20982 $as_echo "#define HP2627WIN /**/" >>confdefs.h
20985 if test "x$enable_mftalkwin" = xyes
; then :
20987 $as_echo "#define MFTALKWIN /**/" >>confdefs.h
20990 if test "x$enable_nextwin" = xyes
; then :
20992 $as_echo "#define NEXTWIN /**/" >>confdefs.h
20995 if test "x$enable_regiswin" = xyes
; then :
20997 $as_echo "#define REGISWIN /**/" >>confdefs.h
21000 if test "x$enable_suntoolswin" = xyes
; then :
21002 $as_echo "#define SUNWIN /**/" >>confdefs.h
21005 if test "x$enable_tektronixwin" = xyes
; then :
21007 $as_echo "#define TEKTRONIXWIN /**/" >>confdefs.h
21010 if test "x$enable_unitermwin" = xyes
; then :
21012 $as_echo "#define UNITERMWIN /**/" >>confdefs.h
21016 if test "x$enable_web_progs" != xno
; then
21025 if test "x$enable_ptex:$enable_eptex" = xno
:no
; then :
21026 enable_pweb_progs
=no
21028 enable_pweb_progs
=$enable_web_progs
21030 if test "x$enable_pweb_progs" != xno
; then
21039 if test "x$enable_uptex:$enable_euptex" = xno
:no
; then :
21040 enable_upweb_progs
=no
21042 enable_upweb_progs
=$enable_web_progs
21044 if test "x$enable_upweb_progs" != xno
; then
21053 for ac_prog
in 'bison -y' byacc
21055 # Extract the first word of "$ac_prog", so it can be a program name with args.
21056 set dummy
$ac_prog; ac_word
=$2
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21058 $as_echo_n "checking for $ac_word... " >&6; }
21059 if ${ac_cv_prog_YACC+:} false
; then :
21060 $as_echo_n "(cached) " >&6
21062 if test -n "$YACC"; then
21063 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
21065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21066 for as_dir
in $PATH
21069 test -z "$as_dir" && as_dir
=.
21070 for ac_exec_ext
in '' $ac_executable_extensions; do
21071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21072 ac_cv_prog_YACC
="$ac_prog"
21073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21082 YACC
=$ac_cv_prog_YACC
21083 if test -n "$YACC"; then
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
21085 $as_echo "$YACC" >&6; }
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21088 $as_echo "no" >&6; }
21092 test -n "$YACC" && break
21094 test -n "$YACC" || YACC
="yacc"
21096 for ac_prog
in flex
lex
21098 # Extract the first word of "$ac_prog", so it can be a program name with args.
21099 set dummy
$ac_prog; ac_word
=$2
21100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21101 $as_echo_n "checking for $ac_word... " >&6; }
21102 if ${ac_cv_prog_LEX+:} false
; then :
21103 $as_echo_n "(cached) " >&6
21105 if test -n "$LEX"; then
21106 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
21108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21109 for as_dir
in $PATH
21112 test -z "$as_dir" && as_dir
=.
21113 for ac_exec_ext
in '' $ac_executable_extensions; do
21114 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21115 ac_cv_prog_LEX
="$ac_prog"
21116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21125 LEX
=$ac_cv_prog_LEX
21126 if test -n "$LEX"; then
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
21128 $as_echo "$LEX" >&6; }
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21131 $as_echo "no" >&6; }
21135 test -n "$LEX" && break
21137 test -n "$LEX" || LEX
=":"
21139 if test "x$LEX" != "x:"; then
21140 cat >conftest.l
<<_ACEOF
21146 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
21147 yyless ((input () != 0)); }
21148 f { unput (yytext[0]); }
21149 . { BEGIN INITIAL; }
21151 #ifdef YYTEXT_POINTER
21152 extern char *yytext;
21157 return ! yylex () + ! yywrap ();
21160 { { ac_try
="$LEX conftest.l"
21161 case "(($ac_try" in
21162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21166 $as_echo "$ac_try_echo"; } >&5
21167 (eval "$LEX conftest.l") 2>&5
21169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21170 test $ac_status = 0; }
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
21172 $as_echo_n "checking lex output file root... " >&6; }
21173 if ${ac_cv_prog_lex_root+:} false; then :
21174 $as_echo_n "(cached) " >&6
21177 if test -f lex.yy.c; then
21178 ac_cv_prog_lex_root=lex.yy
21179 elif test -f lexyy.c; then
21180 ac_cv_prog_lex_root=lexyy
21182 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
21185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
21186 $as_echo "$ac_cv_prog_lex_root" >&6; }
21187 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
21189 if test -z "${LEXLIB+set}"; then
21190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
21191 $as_echo_n "checking lex library... " >&6; }
21192 if ${ac_cv_lib_lex+:} false; then :
21193 $as_echo_n "(cached) " >&6
21197 ac_cv_lib_lex='none needed'
21198 for ac_lib in '' -lfl -ll; do
21199 LIBS="$ac_lib $ac_save_LIBS"
21200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21201 /* end confdefs.h. */
21202 `cat $LEX_OUTPUT_ROOT.c
`
21204 if ac_fn_c_try_link "$LINENO"; then :
21205 ac_cv_lib_lex=$ac_lib
21207 rm -f core conftest.err conftest.$ac_objext \
21208 conftest$ac_exeext conftest.$ac_ext
21209 test "$ac_cv_lib_lex" != 'none needed' && break
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
21215 $as_echo "$ac_cv_lib_lex" >&6; }
21216 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
21221 $as_echo_n "checking whether yytext is a pointer... " >&6; }
21222 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
21223 $as_echo_n "(cached) " >&6
21225 # POSIX says lex can declare yytext either as a pointer or an array; the
21226 # default is implementation-dependent. Figure out which it is, since
21227 # not all implementations provide the %pointer and %array declarations.
21228 ac_cv_prog_lex_yytext_pointer=no
21230 LIBS="$LEXLIB $ac_save_LIBS"
21231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21232 /* end confdefs.h. */
21234 #define YYTEXT_POINTER 1
21235 `cat $LEX_OUTPUT_ROOT.c
`
21237 if ac_fn_c_try_link "$LINENO"; then :
21238 ac_cv_prog_lex_yytext_pointer=yes
21240 rm -f core conftest.err conftest.$ac_objext \
21241 conftest$ac_exeext conftest.$ac_ext
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
21246 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
21247 if test $ac_cv_prog_lex_yytext_pointer = yes; then
21249 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
21252 rm -f conftest.l $LEX_OUTPUT_ROOT.c
21256 # Work around a problem with Flex Version 2.5.31 which needs -l flag.
21257 # Since all recent versions of flex support -l, don't check for the
21258 # specific version, but check that at least "--version" is supported.
21259 # We also want to catch LEX=/some/where/flex, so:
21261 *flex) $LEX --version >/dev/null 2>&1 && LEX="$LEX -l" ;;
21265 # Needed on A/UX 3.0. I don't want to pull in other -lposix's, though.
21266 # From: bernt@weinberg.pop.bio.aau.dk (Bernt Guldbrandtsen)
21267 if test `(uname
) 2>/dev
/null
` = aux; then
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigemptyset in -lposix" >&5
21269 $as_echo_n "checking for sigemptyset in -lposix... " >&6; }
21270 if ${ac_cv_lib_posix_sigemptyset+:} false; then :
21271 $as_echo_n "(cached) " >&6
21273 ac_check_lib_save_LIBS=$LIBS
21274 LIBS="-lposix $LIBS"
21275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21276 /* end confdefs.h. */
21278 /* Override any GCC internal prototype to avoid an error.
21279 Use char because int might match the return type of a GCC
21280 builtin and then its argument prototype would still apply. */
21284 char sigemptyset ();
21288 return sigemptyset ();
21293 if ac_fn_c_try_link "$LINENO"; then :
21294 ac_cv_lib_posix_sigemptyset=yes
21296 ac_cv_lib_posix_sigemptyset=no
21298 rm -f core conftest.err conftest.$ac_objext \
21299 conftest$ac_exeext conftest.$ac_ext
21300 LIBS=$ac_check_lib_save_LIBS
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_sigemptyset" >&5
21303 $as_echo "$ac_cv_lib_posix_sigemptyset" >&6; }
21304 if test "x$ac_cv_lib_posix_sigemptyset" = xyes; then :
21305 cat >>confdefs.h <<_ACEOF
21306 #define HAVE_LIBPOSIX 1
21309 LIBS="-lposix $LIBS"
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
21316 $as_echo_n "checking whether char is unsigned... " >&6; }
21317 if ${ac_cv_c_char_unsigned+:} false; then :
21318 $as_echo_n "(cached) " >&6
21320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21321 /* end confdefs.h. */
21322 $ac_includes_default
21326 static int test_array [1 - 2 * !(((char) -1) < 0)];
21327 test_array [0] = 0;
21328 return test_array [0];
21334 if ac_fn_c_try_compile "$LINENO"; then :
21335 ac_cv_c_char_unsigned=no
21337 ac_cv_c_char_unsigned=yes
21339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
21342 $as_echo "$ac_cv_c_char_unsigned" >&6; }
21343 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
21344 $as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h
21348 # The cast to long int works around a bug in the HP C Compiler
21349 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21350 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
21351 # This bug is HP SR number 8606223364.
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
21353 $as_echo_n "checking size of int... " >&6; }
21354 if ${ac_cv_sizeof_int+:} false; then :
21355 $as_echo_n "(cached) " >&6
21357 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
21360 if test "$ac_cv_type_int" = yes; then
21361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21362 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
21363 as_fn_error 77 "cannot compute sizeof (int)
21364 See \`config.log
' for more details" "$LINENO" 5; }
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
21372 $as_echo "$ac_cv_sizeof_int" >&6; }
21376 cat >>confdefs.h <<_ACEOF
21377 #define SIZEOF_INT $ac_cv_sizeof_int
21381 if test $ac_cv_sizeof_int -lt 4; then
21382 as_fn_error $? "Sorry, need \`int' with
at least
4 bytes.
" "$LINENO" 5
21384 # The cast to long int works around a bug in the HP C Compiler
21385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21387 # This bug is HP SR number 8606223364.
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long
" >&5
21389 $as_echo_n "checking size of long...
" >&6; }
21390 if ${ac_cv_sizeof_long+:} false; then :
21391 $as_echo_n "(cached
) " >&6
21393 if ac_fn_c_compute_int "$LINENO" "(long int
) (sizeof
(long
))" "ac_cv_sizeof_long
" "$ac_includes_default"; then :
21396 if test "$ac_cv_type_long" = yes; then
21397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
21398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21399 as_fn_error 77 "cannot compute sizeof (long)
21400 See \`config.log' for more details
" "$LINENO" 5; }
21402 ac_cv_sizeof_long=0
21407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_sizeof_long" >&5
21408 $as_echo "$ac_cv_sizeof_long" >&6; }
21412 cat >>confdefs.h <<_ACEOF
21413 #define SIZEOF_LONG $ac_cv_sizeof_long
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing pow
" >&5
21418 $as_echo_n "checking
for library containing pow...
" >&6; }
21419 if ${ac_cv_search_pow+:} false; then :
21420 $as_echo_n "(cached
) " >&6
21422 ac_func_search_save_LIBS=$LIBS
21423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21424 /* end confdefs.h. */
21426 /* Override any GCC internal prototype to avoid an error.
21427 Use char because int might match the return type of a GCC
21428 builtin and then its argument prototype would still apply. */
21441 for ac_lib in '' m; do
21442 if test -z "$ac_lib"; then
21443 ac_res="none required
"
21446 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21448 if ac_fn_c_try_link "$LINENO"; then :
21449 ac_cv_search_pow=$ac_res
21451 rm -f core conftest.err conftest.$ac_objext \
21453 if ${ac_cv_search_pow+:} false; then :
21457 if ${ac_cv_search_pow+:} false; then :
21460 ac_cv_search_pow=no
21462 rm conftest.$ac_ext
21463 LIBS=$ac_func_search_save_LIBS
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_pow" >&5
21466 $as_echo "$ac_cv_search_pow" >&6; }
21467 ac_res=$ac_cv_search_pow
21468 if test "$ac_res" != no; then :
21469 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
21473 for ac_func in access atoi fmax ftime gettimeofday mkdtemp setlocale strerror strlcat strlcpy strndup
21475 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21477 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
21478 cat >>confdefs.h <<_ACEOF
21479 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21485 ac_fn_c_check_decl "$LINENO" "strndup
" "ac_cv_have_decl_strndup
" "$ac_includes_default"
21486 if test "x
$ac_cv_have_decl_strndup" = xyes; then :
21492 cat >>confdefs.h <<_ACEOF
21493 #define HAVE_DECL_STRNDUP $ac_have_decl
21496 for ac_header in errno.h langinfo.h locale.h sys/time.h sys/timeb.h sys/wait.h time.h
21498 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21499 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21500 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21501 cat >>confdefs.h <<_ACEOF
21502 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for long double
" >&5
21511 $as_echo_n "checking
for long double...
" >&6; }
21512 if ${ac_cv_type_long_double+:} false; then :
21513 $as_echo_n "(cached
) " >&6
21515 if test "$GCC" = yes; then
21516 ac_cv_type_long_double=yes
21518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21519 /* end confdefs.h. */
21520 /* The Stardent Vistra knows sizeof (long double), but does
21522 long double foo = 0.0L;
21526 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
21527 sizeof (double) <= sizeof (long double))];
21528 test_array [0] = 0;
21529 return test_array [0];
21535 if ac_fn_c_try_compile "$LINENO"; then :
21536 ac_cv_type_long_double=yes
21538 ac_cv_type_long_double=no
21540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_type_long_double" >&5
21544 $as_echo "$ac_cv_type_long_double" >&6; }
21545 if test $ac_cv_type_long_double = yes; then
21547 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
21552 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
21553 if ${ac_cv_header_stdbool_h+:} false
; then :
21554 $as_echo_n "(cached) " >&6
21556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21557 /* end confdefs.h. */
21559 #include <stdbool.h>
21561 "error: bool is not defined"
21564 "error: false is not defined"
21567 "error: false is not 0"
21570 "error: true is not defined"
21573 "error: true is not 1"
21575 #ifndef __bool_true_false_are_defined
21576 "error: __bool_true_false_are_defined is not defined"
21579 struct s { _Bool s: 1; _Bool t; } s;
21581 char a[true == 1 ? 1 : -1];
21582 char b[false == 0 ? 1 : -1];
21583 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
21584 char d[(bool) 0.5 == true ? 1 : -1];
21585 /* See body of main program for 'e'. */
21586 char f[(_Bool) 0.0 == false ? 1 : -1];
21588 char h[sizeof (_Bool)];
21589 char i[sizeof s.t];
21590 enum { j = false, k = true, l = false * true, m = true * 256 };
21591 /* The following fails for
21592 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
21594 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
21595 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
21596 /* Catch a bug in an HP-UX C compiler. See
21597 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
21598 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
21610 /* Refer to every declared value, to avoid compiler optimizations. */
21611 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
21612 + !m + !n + !o + !p + !q + !pq);
21618 if ac_fn_c_try_compile
"$LINENO"; then :
21619 ac_cv_header_stdbool_h
=yes
21621 ac_cv_header_stdbool_h
=no
21623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
21626 $as_echo "$ac_cv_header_stdbool_h" >&6; }
21627 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
21628 if test "x$ac_cv_type__Bool" = xyes
; then :
21630 cat >>confdefs.h
<<_ACEOF
21631 #define HAVE__BOOL 1
21638 if test $ac_cv_header_stdbool_h = yes; then
21640 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21646 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21647 if ${ac_cv_c_bigendian+:} false
; then :
21648 $as_echo_n "(cached) " >&6
21650 ac_cv_c_bigendian
=unknown
21651 # See if we're dealing with a universal compiler.
21652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21653 /* end confdefs.h. */
21654 #ifndef __APPLE_CC__
21655 not a universal capable compiler
21660 if ac_fn_c_try_compile
"$LINENO"; then :
21662 # Check for potential -arch flags. It is not universal unless
21663 # there are at least two -arch flags with different values.
21666 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
21667 if test -n "$ac_prev"; then
21669 i?
86 | x86_64 | ppc | ppc64
)
21670 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
21673 ac_cv_c_bigendian
=universal
21679 elif test "x$ac_word" = "x-arch"; then
21684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21685 if test $ac_cv_c_bigendian = unknown
; then
21686 # See if sys/param.h defines the BYTE_ORDER macro.
21687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21688 /* end confdefs.h. */
21689 #include <sys/types.h>
21690 #include <sys/param.h>
21695 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
21696 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
21698 bogus endian macros
21705 if ac_fn_c_try_compile
"$LINENO"; then :
21706 # It does; now see whether it defined to BIG_ENDIAN or not.
21707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21708 /* end confdefs.h. */
21709 #include <sys/types.h>
21710 #include <sys/param.h>
21715 #if BYTE_ORDER != BIG_ENDIAN
21723 if ac_fn_c_try_compile
"$LINENO"; then :
21724 ac_cv_c_bigendian
=yes
21726 ac_cv_c_bigendian
=no
21728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21732 if test $ac_cv_c_bigendian = unknown
; then
21733 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
21734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21736 #include <limits.h>
21741 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
21742 bogus endian macros
21749 if ac_fn_c_try_compile
"$LINENO"; then :
21750 # It does; now see whether it defined to _BIG_ENDIAN or not.
21751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h. */
21753 #include <limits.h>
21758 #ifndef _BIG_ENDIAN
21766 if ac_fn_c_try_compile
"$LINENO"; then :
21767 ac_cv_c_bigendian
=yes
21769 ac_cv_c_bigendian
=no
21771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21775 if test $ac_cv_c_bigendian = unknown
; then
21776 # Compile a test program.
21777 if test "$cross_compiling" = yes; then :
21778 # Try to guess by grepping values from an object file.
21779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21780 /* end confdefs.h. */
21781 short int ascii_mm[] =
21782 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
21783 short int ascii_ii[] =
21784 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
21785 int use_ascii (int i) {
21786 return ascii_mm[i] + ascii_ii[i];
21788 short int ebcdic_ii[] =
21789 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
21790 short int ebcdic_mm[] =
21791 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
21792 int use_ebcdic (int i) {
21793 return ebcdic_mm[i] + ebcdic_ii[i];
21800 return use_ascii (foo) == use_ebcdic (foo);
21805 if ac_fn_c_try_compile
"$LINENO"; then :
21806 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
21807 ac_cv_c_bigendian
=yes
21809 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
21810 if test "$ac_cv_c_bigendian" = unknown
; then
21811 ac_cv_c_bigendian
=no
21813 # finding both strings is unlikely to happen, but who knows?
21814 ac_cv_c_bigendian
=unknown
21818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21821 /* end confdefs.h. */
21822 $ac_includes_default
21827 /* Are we little or big endian? From Harbison&Steele. */
21831 char c[sizeof (long int)];
21834 return u.c[sizeof (long int) - 1] == 1;
21840 if ac_fn_c_try_run
"$LINENO"; then :
21841 ac_cv_c_bigendian
=no
21843 ac_cv_c_bigendian
=yes
21845 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21846 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21852 $as_echo "$ac_cv_c_bigendian" >&6; }
21853 case $ac_cv_c_bigendian in #(
21855 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21861 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
21865 as_fn_error $?
"unknown endianness
21866 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
21870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
21871 $as_echo_n "checking return type of signal handlers... " >&6; }
21872 if ${ac_cv_type_signal+:} false
; then :
21873 $as_echo_n "(cached) " >&6
21875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h. */
21877 #include <sys/types.h>
21878 #include <signal.h>
21883 return *(signal (0, 0)) (0) == 1;
21888 if ac_fn_c_try_compile
"$LINENO"; then :
21889 ac_cv_type_signal
=int
21891 ac_cv_type_signal
=void
21893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
21896 $as_echo "$ac_cv_type_signal" >&6; }
21898 cat >>confdefs.h
<<_ACEOF
21899 #define RETSIGTYPE $ac_cv_type_signal
21904 kpse_save_CPPFLAGS
=$CPPFLAGS
21905 kpse_save_LIBS
=$LIBS
21907 ## _KPSE_INIT: Initialize TL infrastructure
21908 kpse_BLD
=`(cd "./../../." && pwd)`
21909 kpse_SRC
=`(cd "$srcdir/../../." && pwd)`
21911 ## _KPSE_USE_LIBTOOL: Generate a libtool script for use in configure tests
21912 : ${CONFIG_LT=./config.lt}
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
21914 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
21916 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
21918 # Generated by $as_me.
21919 # Run this file to recreate a libtool stub with the current configuration.
21920 SHELL=\${CONFIG_SHELL-$SHELL}
21923 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail
=1
21924 ## -------------------- ##
21925 ## M4sh Initialization. ##
21926 ## -------------------- ##
21928 # Be more Bourne compatible
21929 DUALCASE
=1; export DUALCASE
# for MKS sh
21930 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21933 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21934 # is contrary to our usage. Disable this feature.
21935 alias -g '${1+"$@"}'='"$@"'
21936 setopt NO_GLOB_SUBST
21938 case `(set -o) 2>/dev/null` in #(
21950 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21951 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21952 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21953 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21954 # Prefer a ksh shell builtin over an external printf program on Solaris,
21955 # but without wasting forks for bash or zsh.
21956 if test -z "$BASH_VERSION$ZSH_VERSION" \
21957 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21958 as_echo='print
-r --'
21959 as_echo_n='print
-rn --'
21960 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21961 as_echo='printf %s
\n'
21962 as_echo_n='printf %s
'
21964 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21965 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21966 as_echo_n='/usr
/ucb
/echo -n'
21968 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21969 as_echo_n_body='eval
21973 expr "X$arg" : "X\\(.*\\)$as_nl";
21974 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21976 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
21978 export as_echo_n_body
21979 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21981 export as_echo_body
21982 as_echo='sh
-c $as_echo_body as_echo
'
21985 # The user is always right.
21986 if test "${PATH_SEPARATOR+set}" != set; then
21988 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21989 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21996 # We need space, tab and new line, in precisely that order. Quoting is
21997 # there to prevent editors from complaining about space-tab.
21998 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21999 # splitting by setting IFS to empty value.)
22002 # Find who we are. Look in the path if we contain no directory separator.
22005 *[\\/]* ) as_myself=$0 ;;
22006 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22007 for as_dir in $PATH
22010 test -z "$as_dir" && as_dir=.
22011 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22017 # We did not find ourselves, most probably we were run as `sh COMMAND'
22018 # in which case we are not to be found in the path.
22019 if test "x$as_myself" = x
; then
22022 if test ! -f "$as_myself"; then
22023 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22027 # Unset variables that we do not need and which cause bugs (e.g. in
22028 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22029 # suppresses any "Segmentation fault" message there. '((' could
22030 # trigger a bug in pdksh 5.2.14.
22031 for as_var
in BASH_ENV ENV MAIL MAILPATH
22032 do eval test x\
${$as_var+set} = xset \
22033 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22046 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22049 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22050 # ----------------------------------------
22051 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22052 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22053 # script with STATUS, using 1 if that was 0.
22056 as_status
=$1; test $as_status -eq 0 && as_status
=1
22058 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22059 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22061 $as_echo "$as_me: error: $2" >&2
22062 as_fn_exit
$as_status
22066 # as_fn_set_status STATUS
22067 # -----------------------
22068 # Set $? to STATUS, without forking.
22069 as_fn_set_status
()
22072 } # as_fn_set_status
22074 # as_fn_exit STATUS
22075 # -----------------
22076 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22080 as_fn_set_status
$1
22086 # Portably unset VAR.
22089 { eval $1=; unset $1;}
22091 as_unset
=as_fn_unset
22092 # as_fn_append VAR VALUE
22093 # ----------------------
22094 # Append the text in VALUE to the end of the definition contained in VAR. Take
22095 # advantage of any shell optimizations that allow amortized linear growth over
22096 # repeated appends, instead of the typical quadratic growth present in naive
22098 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22099 eval 'as_fn_append ()
22110 # as_fn_arith ARG...
22111 # ------------------
22112 # Perform arithmetic evaluation on the ARGs, and store the result in the
22113 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22114 # must be portable across $(()) and expr.
22115 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22116 eval 'as_fn_arith ()
22123 as_val
=`expr "$@" || test $? -eq 1`
22128 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22129 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22135 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22136 as_basename
=basename
22141 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22147 as_me
=`$as_basename -- "$0" ||
22148 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22149 X"$0" : 'X\(//\)$' \| \
22150 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22152 sed '/^.*\/\([^/][^/]*\)\/*$/{
22166 # Avoid depending upon Character Ranges.
22167 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22168 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22169 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22170 as_cr_digits
='0123456789'
22171 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22173 ECHO_C
= ECHO_N
= ECHO_T
=
22174 case `echo -n x` in #(((((
22176 case `echo 'xy\c'` in
22177 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22179 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22186 rm -f conf$$ conf$$.exe conf$$.
file
22187 if test -d conf$$.dir
; then
22188 rm -f conf$$.dir
/conf$$.
file
22191 mkdir conf$$.dir
2>/dev
/null
22193 if (echo >conf$$.
file) 2>/dev
/null
; then
22194 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22196 # ... but there are two gotchas:
22197 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22198 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22199 # In both cases, we have to default to `cp -pR'.
22200 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22202 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22210 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22211 rmdir conf$$.dir
2>/dev
/null
22216 # Create "$as_dir" as a directory, including parents if necessary.
22221 -*) as_dir
=.
/$as_dir;;
22223 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22227 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22228 *) as_qdir
=$as_dir;;
22230 as_dirs
="'$as_qdir' $as_dirs"
22231 as_dir
=`$as_dirname -- "$as_dir" ||
22232 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22233 X"$as_dir" : 'X\(//\)[^/]' \| \
22234 X"$as_dir" : 'X\(//\)$' \| \
22235 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22236 $as_echo X"$as_dir" |
22237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22241 /^X\(\/\/\)[^/].*/{
22254 test -d "$as_dir" && break
22256 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22257 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22261 if mkdir
-p .
2>/dev
/null
; then
22262 as_mkdir_p
='mkdir -p "$as_dir"'
22264 test -d .
/-p && rmdir .
/-p
22269 # as_fn_executable_p FILE
22270 # -----------------------
22271 # Test if FILE is an executable regular file.
22272 as_fn_executable_p
()
22274 test -f "$1" && test -x "$1"
22275 } # as_fn_executable_p
22276 as_test_x
='test -x'
22277 as_executable_p
=as_fn_executable_p
22279 # Sed expression to map a string onto a valid CPP name.
22280 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22282 # Sed expression to map a string onto a valid variable name.
22283 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22287 ## --------------------------------- ##
22288 ## Main body of "$CONFIG_LT" script. ##
22289 ## --------------------------------- ##
22291 test $as_write_fail = 0 && chmod +x
"$CONFIG_LT"
22293 cat >>"$CONFIG_LT" <<\_LTEOF
22298 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22299 ## Running $as_me. ##
22304 '$as_me' creates a local libtool stub from the current configuration,
22305 for use in further configure time tests before the real libtool is
22308 Usage: $0 [OPTIONS]
22310 -h, --help print this help, then exit
22311 -V, --version print version number, then exit
22312 -q, --quiet do not print progress messages
22313 -d, --debug don't remove temporary files
22315 Report bugs to <bug-libtool@gnu.org>."
22318 Web2C config.lt 2015
22319 configured by $0, generated by GNU Autoconf 2.69.
22321 Copyright (C) 2011 Free Software Foundation, Inc.
22322 This config.lt script is free software; the Free Software Foundation
22323 gives unlimited permision to copy, distribute and modify it."
22328 --version |
--v* |
-V )
22329 echo "$lt_cl_version"; exit 0 ;;
22330 --help |
--h* |
-h )
22331 echo "$lt_cl_help"; exit 0 ;;
22332 --debug |
--d* |
-d )
22334 --quiet |
--q* |
--silent |
--s* |
-q )
22337 -*) as_fn_error $?
"unrecognized option: $1
22338 Try '$0 --help' for more information." "$LINENO" 5 ;;
22340 *) as_fn_error $?
"unrecognized argument: $1
22341 Try '$0 --help' for more information." "$LINENO" 5 ;;
22346 if $lt_cl_silent; then
22351 cat >>"$CONFIG_LT" <<_LTEOF
22354 # The HP-UX ksh and POSIX shell print the target directory to stdout
22355 # if CDPATH is set.
22356 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22358 sed_quote_subst='$sed_quote_subst'
22359 double_quote_subst='$double_quote_subst'
22360 delay_variable_subst='$delay_variable_subst'
22361 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22362 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22363 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
22364 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22365 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22366 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22367 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22368 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22369 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22370 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22371 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22372 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22373 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22374 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22375 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22376 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22377 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22378 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22379 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22380 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22381 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22382 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22383 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22384 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22385 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22386 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22387 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22388 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22389 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22390 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22391 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22392 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22393 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22394 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22395 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22396 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22397 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22398 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22399 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22400 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22401 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22402 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22403 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22404 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22405 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22406 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22407 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22408 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22409 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22410 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22411 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22412 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22413 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22414 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22415 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22416 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22417 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22418 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22419 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22420 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"`'
22421 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22422 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22423 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22424 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22425 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22426 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22427 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22428 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22429 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22430 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22431 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22432 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22433 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22434 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22435 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22436 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22437 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22438 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22439 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22440 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22441 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22442 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22443 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22444 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22445 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22446 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22447 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22448 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22449 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22450 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22451 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22452 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22453 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22454 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22455 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22456 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22457 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22458 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22459 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22460 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22461 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22462 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22463 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22464 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22465 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22466 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22467 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22468 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22469 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22470 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22471 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22472 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22473 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22474 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22475 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22476 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22477 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22478 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22479 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22480 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22481 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22482 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22483 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22484 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22485 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22486 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22487 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22488 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22489 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22490 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22491 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22492 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22493 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22494 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22495 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22496 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22497 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22498 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22499 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22500 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22501 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22502 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22503 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22504 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22505 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22506 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22507 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22508 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22509 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22510 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22511 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22512 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22513 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22514 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22515 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22516 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22517 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22518 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22519 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22520 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22521 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22522 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22523 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22524 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22525 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22526 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22527 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22528 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22529 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22530 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22531 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22532 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22533 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22534 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22535 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22536 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22537 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22538 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22539 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22540 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22541 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22542 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22543 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22544 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22545 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22546 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22547 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22548 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22549 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22550 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22553 LTCFLAGS='$LTCFLAGS'
22554 compiler='$compiler_DEFAULT'
22556 # A function that is used when there is no print builtin or printf.
22557 func_fallback_echo ()
22559 eval 'cat <<_LTECHO_EOF
22564 # Quote evaled strings.
22581 deplibs_check_method \
22585 sharedlib_from_linklib_cmd \
22588 archiver_list_spec \
22594 lt_cv_sys_global_symbol_pipe \
22595 lt_cv_sys_global_symbol_to_cdecl \
22596 lt_cv_sys_global_symbol_to_import \
22597 lt_cv_sys_global_symbol_to_c_name_address \
22598 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22599 lt_cv_nm_interface \
22600 nm_file_list_spec \
22601 lt_cv_truncate_bin \
22602 lt_prog_compiler_no_builtin_flag \
22603 lt_prog_compiler_pic \
22604 lt_prog_compiler_wl \
22605 lt_prog_compiler_static \
22606 lt_cv_prog_compiler_c_o \
22615 export_dynamic_flag_spec \
22616 whole_archive_flag_spec \
22617 compiler_needs_object \
22619 allow_undefined_flag \
22620 no_undefined_flag \
22621 hardcode_libdir_flag_spec \
22622 hardcode_libdir_separator \
22626 variables_saved_for_relink \
22628 library_names_spec \
22630 install_override_mode \
22634 compiler_lib_search_dirs \
22639 compiler_lib_search_path \
22643 lt_prog_compiler_no_builtin_flag_CXX \
22644 lt_prog_compiler_pic_CXX \
22645 lt_prog_compiler_wl_CXX \
22646 lt_prog_compiler_static_CXX \
22647 lt_cv_prog_compiler_c_o_CXX \
22648 export_dynamic_flag_spec_CXX \
22649 whole_archive_flag_spec_CXX \
22650 compiler_needs_object_CXX \
22652 allow_undefined_flag_CXX \
22653 no_undefined_flag_CXX \
22654 hardcode_libdir_flag_spec_CXX \
22655 hardcode_libdir_separator_CXX \
22656 exclude_expsyms_CXX \
22657 include_expsyms_CXX \
22658 file_list_spec_CXX \
22659 compiler_lib_search_dirs_CXX \
22660 predep_objects_CXX \
22661 postdep_objects_CXX \
22664 compiler_lib_search_path_CXX; do
22665 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22666 *[\\\\\\\`\\"\\\$]*)
22667 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22670 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22675 # Double-quote double-evaled strings.
22676 for var in reload_cmds \
22677 old_postinstall_cmds \
22678 old_postuninstall_cmds \
22680 extract_expsyms_cmds \
22681 old_archive_from_new_cmds \
22682 old_archive_from_expsyms_cmds \
22684 archive_expsym_cmds \
22686 module_expsym_cmds \
22687 export_symbols_cmds \
22691 postuninstall_cmds \
22693 sys_lib_search_path_spec \
22694 configure_time_dlsearch_path \
22695 configure_time_lt_sys_library_path \
22697 old_archive_cmds_CXX \
22698 old_archive_from_new_cmds_CXX \
22699 old_archive_from_expsyms_cmds_CXX \
22701 archive_expsym_cmds_CXX \
22703 module_expsym_cmds_CXX \
22704 export_symbols_cmds_CXX \
22706 postlink_cmds_CXX; do
22707 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22708 *[\\\\\\\`\\"\\\$]*)
22709 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22712 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22717 ac_aux_dir='$ac_aux_dir'
22719 # See if we are running on zsh, and set the options that allow our
22720 # commands through without removal of \ escapes INIT.
22721 if test -n "\${ZSH_VERSION+set}"; then
22722 setopt NO_GLOB_SUBST
22733 enable_libtool_hack='$enable_libtool_hack'
22738 cat >>"$CONFIG_LT" <<\_LTEOF
22739 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
22740 $as_echo "$as_me: creating $ofile" >&6;}
22743 # See if we are running on zsh, and set the options that allow our
22744 # commands through without removal of \ escapes.
22745 if test -n "${ZSH_VERSION+set}"; then
22746 setopt NO_GLOB_SUBST
22750 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22753 cat <<_LT_EOF >> "$cfgfile"
22755 # Generated automatically by $as_me ($PACKAGE) $VERSION
22756 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22757 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22759 # Provide generalized library-building support services.
22760 # Written by Gordon Matzigkeit, 1996
22762 # Copyright (C) 2014 Free Software Foundation, Inc.
22763 # This is free software; see the source for copying conditions. There is NO
22764 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22766 # GNU Libtool is free software; you can redistribute it and/or modify
22767 # it under the terms of the GNU General Public License as published by
22768 # the Free Software Foundation; either version 2 of of the License, or
22769 # (at your option) any later version.
22771 # As a special exception to the GNU General Public License, if you
22772 # distribute this file as part of a program or library that is built
22773 # using GNU Libtool, you may include this file under the same
22774 # distribution terms that you use for the rest of that program.
22776 # GNU Libtool is distributed in the hope that it will be useful, but
22777 # WITHOUT ANY WARRANTY; without even the implied warranty of
22778 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22779 # GNU General Public License for more details.
22781 # You should have received a copy of the GNU General Public License
22782 # along with this program. If not, see <http://www.gnu.org/licenses/>.
22785 # The names of the tagged configurations supported by this script.
22786 available_tags='CXX '
22788 # Configured defaults for sys_lib_dlsearch_path munging.
22789 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
22791 # ### BEGIN LIBTOOL CONFIG
22793 # Which release of libtool.m4 was used?
22794 macro_version=$macro_version
22795 macro_revision=$macro_revision
22797 # Assembler program.
22800 # DLL creation program.
22801 DLLTOOL=$lt_DLLTOOL
22803 # Object dumper program.
22804 OBJDUMP=$lt_OBJDUMP
22806 # Whether or not to build shared libraries.
22807 build_libtool_libs=$enable_shared
22809 # Whether or not to build static libraries.
22810 build_old_libs=$enable_static
22812 # What type of objects to build.
22815 # Whether or not to optimize for fast installation.
22816 fast_install=$enable_fast_install
22818 # Shared archive member basename,for filename based shared library versioning on AIX.
22819 shared_archive_member_spec=$shared_archive_member_spec
22821 # Shell to use when invoking shell scripts.
22824 # An echo program that protects backslashes.
22827 # The PATH separator for the build system.
22828 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22831 host_alias=$host_alias
22835 # The build system.
22836 build_alias=$build_alias
22840 # A sed program that does not truncate output.
22843 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22844 Xsed="\$SED -e 1s/^X//"
22846 # A grep program that handles long lines.
22852 # A literal string matcher.
22855 # A BSD- or MS-compatible name lister.
22858 # Whether we need soft or hard links.
22861 # What is the maximum length of a command?
22862 max_cmd_len=$max_cmd_len
22864 # Object file suffix (normally "o").
22867 # Executable file suffix (normally "").
22870 # whether the shell understands "unset".
22873 # turn spaces into newlines.
22876 # turn newlines into spaces.
22879 # convert \$build file names to \$host format.
22880 to_host_file_cmd=$lt_cv_to_host_file_cmd
22882 # convert \$build files to toolchain format.
22883 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22885 # Method to check whether dependent libraries are shared objects.
22886 deplibs_check_method=$lt_deplibs_check_method
22888 # Command to use when deplibs_check_method = "file_magic".
22889 file_magic_cmd=$lt_file_magic_cmd
22891 # How to find potential files when deplibs_check_method = "file_magic".
22892 file_magic_glob=$lt_file_magic_glob
22894 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22895 want_nocaseglob=$lt_want_nocaseglob
22897 # Command to associate shared and link libraries.
22898 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22903 # Flags to create an archive.
22904 AR_FLAGS=$lt_AR_FLAGS
22906 # How to feed a file listing to the archiver.
22907 archiver_list_spec=$lt_archiver_list_spec
22909 # A symbol stripping program.
22912 # Commands used to install an old-style archive.
22914 old_postinstall_cmds=$lt_old_postinstall_cmds
22915 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22917 # Whether to use a lock for old archive extraction.
22918 lock_old_archive_extraction=$lock_old_archive_extraction
22923 # LTCC compiler flags.
22924 LTCFLAGS=$lt_CFLAGS
22926 # Take the output of nm and produce a listing of raw symbols and C names.
22927 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22929 # Transform the output of nm in a proper C declaration.
22930 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22932 # Transform the output of nm into a list of symbols to manually relocate.
22933 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
22935 # Transform the output of nm in a C name address pair.
22936 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22938 # Transform the output of nm in a C name address pair when lib prefix is needed.
22939 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22941 # The name lister interface.
22942 nm_interface=$lt_lt_cv_nm_interface
22944 # Specify filename containing input files for \$NM.
22945 nm_file_list_spec=$lt_nm_file_list_spec
22947 # The root where to search for dependent libraries,and where our libraries should be installed.
22948 lt_sysroot=$lt_sysroot
22950 # Command to truncate a binary pipe.
22951 lt_truncate_bin=$lt_lt_cv_truncate_bin
22953 # The name of the directory that contains temporary libtool files.
22956 # Used to examine libraries when file_magic_cmd begins with "file".
22957 MAGIC_CMD=$MAGIC_CMD
22959 # Must we lock files when doing compilation?
22960 need_locks=$lt_need_locks
22963 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22965 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22966 DSYMUTIL=$lt_DSYMUTIL
22968 # Tool to change global to local symbols on Mac OS X.
22971 # Tool to manipulate fat objects and archives on Mac OS X.
22974 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22977 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22978 OTOOL64=$lt_OTOOL64
22980 # Old archive suffix (normally "a").
22983 # Shared library suffix (normally ".so").
22984 shrext_cmds=$lt_shrext_cmds
22986 # The commands to extract the exported symbol list from a shared archive.
22987 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22989 # Variables whose values should be saved in libtool wrapper scripts and
22990 # restored at link time.
22991 variables_saved_for_relink=$lt_variables_saved_for_relink
22993 # Do we need the "lib" prefix for modules?
22994 need_lib_prefix=$need_lib_prefix
22996 # Do we need a version for libraries?
22997 need_version=$need_version
22999 # Library versioning type.
23000 version_type=$version_type
23002 # Shared library runtime path variable.
23003 runpath_var=$runpath_var
23005 # Shared library path variable.
23006 shlibpath_var=$shlibpath_var
23008 # Is shlibpath searched before the hard-coded library search path?
23009 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23011 # Format of library name prefix.
23012 libname_spec=$lt_libname_spec
23014 # List of archive names. First name is the real one, the rest are links.
23015 # The last name is the one that the linker finds with -lNAME
23016 library_names_spec=$lt_library_names_spec
23018 # The coded name of the library, if different from the real name.
23019 soname_spec=$lt_soname_spec
23021 # Permission mode override for installation of shared libraries.
23022 install_override_mode=$lt_install_override_mode
23024 # Command to use after installation of a shared archive.
23025 postinstall_cmds=$lt_postinstall_cmds
23027 # Command to use after uninstallation of a shared archive.
23028 postuninstall_cmds=$lt_postuninstall_cmds
23030 # Commands used to finish a libtool library installation in a directory.
23031 finish_cmds=$lt_finish_cmds
23033 # As "finish_cmds", except a single script fragment to be evaled but
23035 finish_eval=$lt_finish_eval
23037 # Whether we should hardcode library paths into libraries.
23038 hardcode_into_libs=$hardcode_into_libs
23040 # Compile-time system search path for libraries.
23041 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23043 # Detected run-time system search path for libraries.
23044 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23046 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23047 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23049 # Whether dlopen is supported.
23050 dlopen_support=$enable_dlopen
23052 # Whether dlopen of programs is supported.
23053 dlopen_self=$enable_dlopen_self
23055 # Whether dlopen of statically linked programs is supported.
23056 dlopen_self_static=$enable_dlopen_self_static
23058 # Commands to strip libraries.
23059 old_striplib=$lt_old_striplib
23060 striplib=$lt_striplib
23063 # The linker used to build libraries.
23066 # How to create reloadable object files.
23067 reload_flag=$lt_reload_flag
23068 reload_cmds=$lt_reload_cmds
23070 # Commands used to build an old-style archive.
23071 old_archive_cmds=$lt_old_archive_cmds
23073 # A language specific compiler.
23076 # Is the compiler the GNU compiler?
23079 # Compiler flag to turn off builtin functions.
23080 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23082 # Additional compiler flags for building library objects.
23083 pic_flag=$lt_lt_prog_compiler_pic
23085 # How to pass a linker flag through the compiler.
23086 wl=$lt_lt_prog_compiler_wl
23088 # Compiler flag to prevent dynamic linking.
23089 link_static_flag=$lt_lt_prog_compiler_static
23091 # Does compiler simultaneously support -c and -o options?
23092 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23094 # Whether or not to add -lc for building shared libraries.
23095 build_libtool_need_lc=$archive_cmds_need_lc
23097 # Whether or not to disallow shared libs when runtime libs are static.
23098 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23100 # Compiler flag to allow reflexive dlopens.
23101 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23103 # Compiler flag to generate shared objects directly from archives.
23104 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23106 # Whether the compiler copes with passing no objects directly.
23107 compiler_needs_object=$lt_compiler_needs_object
23109 # Create an old-style archive from a shared archive.
23110 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23112 # Create a temporary old-style archive to link instead of a shared archive.
23113 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23115 # Commands used to build a shared archive.
23116 archive_cmds=$lt_archive_cmds
23117 archive_expsym_cmds=$lt_archive_expsym_cmds
23119 # Commands used to build a loadable module if different from building
23120 # a shared archive.
23121 module_cmds=$lt_module_cmds
23122 module_expsym_cmds=$lt_module_expsym_cmds
23124 # Whether we are building with GNU ld or not.
23125 with_gnu_ld=$lt_with_gnu_ld
23127 # Flag that allows shared libraries with undefined symbols to be built.
23128 allow_undefined_flag=$lt_allow_undefined_flag
23130 # Flag that enforces no undefined symbols.
23131 no_undefined_flag=$lt_no_undefined_flag
23133 # Flag to hardcode \$libdir into a binary during linking.
23134 # This must work even if \$libdir does not exist
23135 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23137 # Whether we need a single "-rpath" flag with a separated argument.
23138 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23140 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23141 # DIR into the resulting binary.
23142 hardcode_direct=$hardcode_direct
23144 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23145 # DIR into the resulting binary and the resulting library dependency is
23146 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23147 # library is relocated.
23148 hardcode_direct_absolute=$hardcode_direct_absolute
23150 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23151 # into the resulting binary.
23152 hardcode_minus_L=$hardcode_minus_L
23154 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23155 # into the resulting binary.
23156 hardcode_shlibpath_var=$hardcode_shlibpath_var
23158 # Set to "yes" if building a shared library automatically hardcodes DIR
23159 # into the library and all subsequent libraries and executables linked
23161 hardcode_automatic=$hardcode_automatic
23163 # Set to yes if linker adds runtime paths of dependent libraries
23164 # to runtime path list.
23165 inherit_rpath=$inherit_rpath
23167 # Whether libtool must link a program against all its dependency libraries.
23168 link_all_deplibs=$link_all_deplibs
23170 # Set to "yes" if exported symbols are required.
23171 always_export_symbols=$always_export_symbols
23173 # The commands to list exported symbols.
23174 export_symbols_cmds=$lt_export_symbols_cmds
23176 # Symbols that should not be listed in the preloaded symbols.
23177 exclude_expsyms=$lt_exclude_expsyms
23179 # Symbols that must always be exported.
23180 include_expsyms=$lt_include_expsyms
23182 # Commands necessary for linking programs (against libraries) with templates.
23183 prelink_cmds=$lt_prelink_cmds
23185 # Commands necessary for finishing linking programs.
23186 postlink_cmds=$lt_postlink_cmds
23188 # Specify filename containing input files.
23189 file_list_spec=$lt_file_list_spec
23191 # How to hardcode a shared library path into an executable.
23192 hardcode_action=$hardcode_action
23194 # The directories searched by this compiler when creating a shared library.
23195 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23197 # Dependencies to place before and after the objects being linked to
23198 # create a shared library.
23199 predep_objects=$lt_predep_objects
23200 postdep_objects=$lt_postdep_objects
23201 predeps=$lt_predeps
23202 postdeps=$lt_postdeps
23204 # The library search path used internally by the compiler when linking
23205 # a shared library.
23206 compiler_lib_search_path=$lt_compiler_lib_search_path
23208 # ### END LIBTOOL CONFIG
23212 cat <<'_LT_EOF' >> "$cfgfile"
23214 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23216 # func_munge_path_list VARIABLE PATH
23217 # -----------------------------------
23218 # VARIABLE is name of variable containing _space_ separated list of
23219 # directories to be munged by the contents of PATH, which is string
23222 # string "DIR[ DIR]" will be prepended to VARIABLE
23224 # string "DIR[ DIR]" will be appended to VARIABLE
23225 # "DIRP[:DIRP]::[DIRA:]DIRA"
23226 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23227 # "DIRA[ DIRA]" will be appended to VARIABLE
23229 # VARIABLE will be replaced by "DIR[ DIR]"
23230 func_munge_path_list ()
23236 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23239 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23242 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23243 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23246 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23252 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
23253 func_cc_basename ()
23255 for cc_temp in $*""; do
23257 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23258 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23263 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23267 # ### END FUNCTIONS SHARED WITH CONFIGURE
23273 cat <<\_LT_EOF
>> "$cfgfile"
23274 # AIX sometimes has problems with the GCC collect2 program. For some
23275 # reason, if we set the COLLECT_NAMES environment variable, the problems
23276 # vanish in a puff of smoke.
23277 if test set != "${COLLECT_NAMES+set}"; then
23279 export COLLECT_NAMES
23286 ltmain
=$ac_aux_dir/ltmain.sh
23289 # We use sed instead of cat because bash on DJGPP gets confused if
23290 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23291 # text mode, it properly converts lines to CR/LF. This bash problem
23292 # is reportedly fixed, but why not run on old versions too?
23293 sed '$q' "$ltmain" >> "$cfgfile" \
23294 ||
(rm -f "$cfgfile"; exit 1)
23296 mv -f "$cfgfile" "$ofile" ||
23297 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23301 cat <<_LT_EOF >> "$ofile"
23303 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23305 # The linker used to build libraries.
23308 # How to create reloadable object files.
23309 reload_flag=$lt_reload_flag_CXX
23310 reload_cmds=$lt_reload_cmds_CXX
23312 # Commands used to build an old-style archive.
23313 old_archive_cmds=$lt_old_archive_cmds_CXX
23315 # A language specific compiler.
23316 CC=$lt_compiler_CXX
23318 # Is the compiler the GNU compiler?
23321 # Compiler flag to turn off builtin functions.
23322 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23324 # Additional compiler flags for building library objects.
23325 pic_flag=$lt_lt_prog_compiler_pic_CXX
23327 # How to pass a linker flag through the compiler.
23328 wl=$lt_lt_prog_compiler_wl_CXX
23330 # Compiler flag to prevent dynamic linking.
23331 link_static_flag=$lt_lt_prog_compiler_static_CXX
23333 # Does compiler simultaneously support -c and -o options?
23334 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23336 # Whether or not to add -lc for building shared libraries.
23337 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23339 # Whether or not to disallow shared libs when runtime libs are static.
23340 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23342 # Compiler flag to allow reflexive dlopens.
23343 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23345 # Compiler flag to generate shared objects directly from archives.
23346 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23348 # Whether the compiler copes with passing no objects directly.
23349 compiler_needs_object=$lt_compiler_needs_object_CXX
23351 # Create an old-style archive from a shared archive.
23352 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23354 # Create a temporary old-style archive to link instead of a shared archive.
23355 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23357 # Commands used to build a shared archive.
23358 archive_cmds=$lt_archive_cmds_CXX
23359 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23361 # Commands used to build a loadable module if different from building
23362 # a shared archive.
23363 module_cmds=$lt_module_cmds_CXX
23364 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23366 # Whether we are building with GNU ld or not.
23367 with_gnu_ld=$lt_with_gnu_ld_CXX
23369 # Flag that allows shared libraries with undefined symbols to be built.
23370 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23372 # Flag that enforces no undefined symbols.
23373 no_undefined_flag=$lt_no_undefined_flag_CXX
23375 # Flag to hardcode \$libdir into a binary during linking.
23376 # This must work even if \$libdir does not exist
23377 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23379 # Whether we need a single "-rpath" flag with a separated argument.
23380 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23382 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23383 # DIR into the resulting binary.
23384 hardcode_direct=$hardcode_direct_CXX
23386 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23387 # DIR into the resulting binary and the resulting library dependency is
23388 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23389 # library is relocated.
23390 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23392 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23393 # into the resulting binary.
23394 hardcode_minus_L=$hardcode_minus_L_CXX
23396 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23397 # into the resulting binary.
23398 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23400 # Set to "yes" if building a shared library automatically hardcodes DIR
23401 # into the library and all subsequent libraries and executables linked
23403 hardcode_automatic=$hardcode_automatic_CXX
23405 # Set to yes if linker adds runtime paths of dependent libraries
23406 # to runtime path list.
23407 inherit_rpath=$inherit_rpath_CXX
23409 # Whether libtool must link a program against all its dependency libraries.
23410 link_all_deplibs=$link_all_deplibs_CXX
23412 # Set to "yes" if exported symbols are required.
23413 always_export_symbols=$always_export_symbols_CXX
23415 # The commands to list exported symbols.
23416 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23418 # Symbols that should not be listed in the preloaded symbols.
23419 exclude_expsyms=$lt_exclude_expsyms_CXX
23421 # Symbols that must always be exported.
23422 include_expsyms=$lt_include_expsyms_CXX
23424 # Commands necessary for linking programs (against libraries) with templates.
23425 prelink_cmds=$lt_prelink_cmds_CXX
23427 # Commands necessary for finishing linking programs.
23428 postlink_cmds=$lt_postlink_cmds_CXX
23430 # Specify filename containing input files.
23431 file_list_spec=$lt_file_list_spec_CXX
23433 # How to hardcode a shared library path into an executable.
23434 hardcode_action=$hardcode_action_CXX
23436 # The directories searched by this compiler when creating a shared library.
23437 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23439 # Dependencies to place before and after the objects being linked to
23440 # create a shared library.
23441 predep_objects=$lt_predep_objects_CXX
23442 postdep_objects=$lt_postdep_objects_CXX
23443 predeps=$lt_predeps_CXX
23444 postdeps=$lt_postdeps_CXX
23446 # The library search path used internally by the compiler when linking
23447 # a shared library.
23448 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23450 # ### END LIBTOOL TAG CONFIG: CXX
23453 ## KPSE_LT_HACK: Prevent libtool from linking dependency_libs
23454 if test "x$enable_libtool_hack" = xyes
; then
23455 $SED '/# Convert "-framework/i\
23456 ## KPSE_LT_HACK: ignore dependency_libs\
23457 test "X$installed" = Xyes && dependency_libs=\
23458 ' "$ofile" >"$cfgfile"
23459 mv "$cfgfile" "$ofile" ||
23460 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23466 chmod +x
"$CONFIG_LT"
23468 # configure is writing to config.log, but config.lt does its own redirection,
23469 # appending to config.log, which fails on DOS, as config.log is still kept
23470 # open by configure. Here we exec the FD to /dev/null, effectively closing
23471 # config.log, so it can be properly (re)opened and appended to by config.lt.
23473 test yes = "$silent" &&
23474 lt_config_lt_args
="$lt_config_lt_args --quiet"
23476 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success
=false
23478 $lt_cl_success || as_fn_exit
1
23481 ac_cpp
='$CPP $CPPFLAGS'
23482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23485 ac_link
="./libtool --mode=link --tag=CC $ac_link"
23487 ## _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags
23489 # Check whether --with-system-kpathsea was given.
23490 if test "${with_system_kpathsea+set}" = set; then :
23491 withval
=$with_system_kpathsea;
23493 if test "x$with_system_kpathsea" = xyes
; then
23494 if $PKG_CONFIG kpathsea
; then
23495 KPATHSEA_INCLUDES
=`$PKG_CONFIG kpathsea --cflags`
23496 KPATHSEA_LIBS
=`$PKG_CONFIG kpathsea --libs`
23497 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes
:yes; then
23498 as_fn_error $?
"did not find kpathsea" "$LINENO" 5
23501 KPATHSEA_INCLUDES
="-I$kpse_BLD/texk -I$kpse_SRC/texk"
23502 KPATHSEA_LIBS
="$kpse_BLD/texk/kpathsea/libkpathsea.la"
23503 KPATHSEA_DEPEND
='${top_builddir}/../kpathsea/libkpathsea.la'
23504 KPATHSEA_RULE
='# Rebuild libkpathsea
23505 $(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
23506 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
23507 ${top_builddir}/../kpathsea/paths.h:
23508 cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
23512 $as_echo_n "checking if libkpathsea supports debugging... " >&6; }
23513 if ${kpse_cv_kpse_debug+:} false
; then :
23514 $as_echo_n "(cached) " >&6
23516 eval CPPFLAGS
=\"$KPATHSEA_INCLUDES \
$CPPFLAGS\"
23517 eval LIBS
=\"$KPATHSEA_LIBS \
$LIBS\"
23519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23520 /* end confdefs.h. */
23521 #include <kpathsea/kpathsea.h>
23525 FILE *f = fopen("f", "r")
23530 if ac_fn_c_try_link
"$LINENO"; then :
23531 kpse_cv_kpse_debug
=yes
23533 kpse_cv_kpse_debug
=no
23535 rm -f core conftest.err conftest.
$ac_objext \
23536 conftest
$ac_exeext conftest.
$ac_ext
23537 CPPFLAGS
=$kpse_save_CPPFLAGS
23538 LIBS
=$kpse_save_LIBS
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
23542 $as_echo "$kpse_cv_kpse_debug" >&6; }
23543 if test "x$kpse_cv_kpse_debug" != xyes
; then :
23544 KPATHSEA_INCLUDES
="$KPATHSEA_INCLUDES -DNO_DEBUG"
23547 ## _KPSE_LIB_FLAGS: Setup ptexenc (-lptexenc) flags
23549 # Check whether --with-system-ptexenc was given.
23550 if test "${with_system_ptexenc+set}" = set; then :
23551 withval
=$with_system_ptexenc;
23553 if test "x$with_system_ptexenc" = xyes
; then
23554 if $PKG_CONFIG ptexenc
; then
23555 PTEXENC_INCLUDES
=`$PKG_CONFIG ptexenc --cflags`
23556 PTEXENC_LIBS
=`$PKG_CONFIG ptexenc --libs`
23557 elif test "x$need_ptexenc:$with_system_ptexenc" = xyes
:yes; then
23558 as_fn_error $?
"did not find ptexenc" "$LINENO" 5
23561 PTEXENC_INCLUDES
="-I$kpse_BLD/texk/ptexenc -I$kpse_SRC/texk/ptexenc"
23562 PTEXENC_LIBS
="$kpse_BLD/texk/ptexenc/libptexenc.la"
23563 PTEXENC_DEPEND
='${top_builddir}/../ptexenc/libptexenc.la'
23564 PTEXENC_RULE
='# Rebuild libptexenc
23565 $(PTEXENC_DEPEND): ${top_srcdir}/../ptexenc/*.c ${top_srcdir}/../ptexenc/ptexenc/*.h
23566 cd ${top_builddir}/../ptexenc && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23569 ## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags
23571 # Check whether --with-system-zlib was given.
23572 if test "${with_system_zlib+set}" = set; then :
23573 withval
=$with_system_zlib;
23576 # Check whether --with-zlib-includes was given.
23577 if test "${with_zlib_includes+set}" = set; then :
23578 withval
=$with_zlib_includes;
23581 # Check whether --with-zlib-libdir was given.
23582 if test "${with_zlib_libdir+set}" = set; then :
23583 withval
=$with_zlib_libdir;
23585 if test "x$with_system_zlib" = xyes
; then
23586 if test "x$with_zlib_includes" != x
&& test "x$with_zlib_includes" != xyes
; then
23587 ZLIB_INCLUDES
="-I$with_zlib_includes"
23590 if test "x$with_zlib_libdir" != x
&& test "x$with_zlib_libdir" != xyes
; then
23591 ZLIB_LIBS
="-L$with_zlib_libdir $ZLIB_LIBS"
23594 ZLIB_INCLUDES
="-I$kpse_BLD/libs/zlib/include"
23595 ZLIB_LIBS
="$kpse_BLD/libs/zlib/libz.a"
23596 ZLIB_DEPEND
='${top_builddir}/../../libs/zlib/libz.a'
23597 ZLIB_RULE
='# Rebuild libz
23598 $(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
23599 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
23600 ${top_builddir}/../../libs/zlib/include/zconf.h:
23601 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5
23604 $as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; }
23605 if ${kpse_cv_have_decl_z_const+:} false
; then :
23606 $as_echo_n "(cached) " >&6
23608 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
23609 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
23611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23612 /* end confdefs.h. */
23617 z_const char * foo();
23622 if ac_fn_c_try_compile
"$LINENO"; then :
23623 kpse_cv_have_decl_z_const
=yes
23625 kpse_cv_have_decl_z_const
=no
23627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23628 CPPFLAGS
=$kpse_save_CPPFLAGS
23629 LIBS
=$kpse_save_LIBS
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5
23633 $as_echo "$kpse_cv_have_decl_z_const" >&6; }
23634 case $kpse_cv_have_decl_z_const in #(
23637 $as_echo "#define ZLIB_CONST 1" >>confdefs.h
23641 $as_echo "#define z_const /**/" >>confdefs.h
23645 ## _KPSE_LIB_FLAGS: Setup lua52 (-ltexlua52) flags
23646 LUA52_INCLUDES
="-I$kpse_BLD/libs/lua52/include"
23647 LUA52_LIBS
="$kpse_BLD/libs/lua52/libtexlua52.la"
23648 LUA52_DEPEND
='${top_builddir}/../../libs/lua52/libtexlua52.la'
23649 LUA52_RULE
='# Rebuild libtexlua52
23650 $(LUA52_DEPEND): ${top_builddir}/../../libs/lua52/include/lua.h
23651 cd ${top_builddir}/../../libs/lua52 && $(MAKE) $(AM_MAKEFLAGS) rebuild
23652 ${top_builddir}/../../libs/lua52/include/lua.h:
23653 cd ${top_builddir}/../../libs/lua52 && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23655 ## _KPSE_LIB_FLAGS: Setup luajit (-ltexluajit) flags
23656 LUAJIT_INCLUDES
="-I$kpse_BLD/libs/luajit/include"
23657 LUAJIT_LIBS
="$kpse_BLD/libs/luajit/libtexluajit.la"
23658 LUAJIT_DEPEND
='${top_builddir}/../../libs/luajit/libtexluajit.la'
23659 LUAJIT_RULE
='# Rebuild libtexluajit
23660 $(LUAJIT_DEPEND): ${top_builddir}/../../libs/luajit/include/luajit.h
23661 cd ${top_builddir}/../../libs/luajit && $(MAKE) $(AM_MAKEFLAGS) rebuild
23662 ${top_builddir}/../../libs/luajit/include/luajit.h:
23663 cd ${top_builddir}/../../libs/luajit && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23665 ## _KPSE_LIB_FLAGS: Setup libpng (-lpng) flags
23667 # Check whether --with-system-libpng was given.
23668 if test "${with_system_libpng+set}" = set; then :
23669 withval
=$with_system_libpng;
23671 if test "x$with_system_libpng" = xyes
; then
23672 if $PKG_CONFIG libpng
; then
23673 LIBPNG_INCLUDES
=`$PKG_CONFIG libpng --cflags`
23674 LIBPNG_LIBS
=`$PKG_CONFIG libpng --libs`
23675 elif test "x$need_libpng:$with_system_libpng" = xyes
:yes; then
23676 as_fn_error $?
"did not find libpng" "$LINENO" 5
23679 LIBPNG_INCLUDES
="-I$kpse_BLD/libs/libpng/include"
23680 LIBPNG_LIBS
="$kpse_BLD/libs/libpng/libpng.a"
23681 LIBPNG_DEPEND
='${top_builddir}/../../libs/libpng/libpng.a'
23682 LIBPNG_RULE
='# Rebuild libpng
23683 $(LIBPNG_DEPEND): ${top_builddir}/../../libs/libpng/include/png.h
23684 cd ${top_builddir}/../../libs/libpng && $(MAKE) $(AM_MAKEFLAGS) rebuild
23685 ${top_builddir}/../../libs/libpng/include/png.h:
23686 cd ${top_builddir}/../../libs/libpng && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23689 ## _KPSE_LIB_FLAGS: Setup freetype2 (-lfreetype) flags
23691 # Check whether --with-system-freetype2 was given.
23692 if test "${with_system_freetype2+set}" = set; then :
23693 withval
=$with_system_freetype2;
23695 if test "x$with_system_freetype2" = xyes
; then
23696 if test -n "$ac_tool_prefix"; then
23697 # Extract the first word of "${ac_tool_prefix}freetype-config", so it can be a program name with args.
23698 set dummy
${ac_tool_prefix}freetype-config
; ac_word
=$2
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23700 $as_echo_n "checking for $ac_word... " >&6; }
23701 if ${ac_cv_prog_FT2_CONFIG+:} false
; then :
23702 $as_echo_n "(cached) " >&6
23704 if test -n "$FT2_CONFIG"; then
23705 ac_cv_prog_FT2_CONFIG
="$FT2_CONFIG" # Let the user override the test.
23707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23708 for as_dir
in $PATH
23711 test -z "$as_dir" && as_dir
=.
23712 for ac_exec_ext
in '' $ac_executable_extensions; do
23713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23714 ac_cv_prog_FT2_CONFIG
="${ac_tool_prefix}freetype-config"
23715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23724 FT2_CONFIG
=$ac_cv_prog_FT2_CONFIG
23725 if test -n "$FT2_CONFIG"; then
23726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
23727 $as_echo "$FT2_CONFIG" >&6; }
23729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23730 $as_echo "no" >&6; }
23735 if test -z "$ac_cv_prog_FT2_CONFIG"; then
23736 ac_ct_FT2_CONFIG
=$FT2_CONFIG
23737 # Extract the first word of "freetype-config", so it can be a program name with args.
23738 set dummy freetype-config
; ac_word
=$2
23739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23740 $as_echo_n "checking for $ac_word... " >&6; }
23741 if ${ac_cv_prog_ac_ct_FT2_CONFIG+:} false
; then :
23742 $as_echo_n "(cached) " >&6
23744 if test -n "$ac_ct_FT2_CONFIG"; then
23745 ac_cv_prog_ac_ct_FT2_CONFIG
="$ac_ct_FT2_CONFIG" # Let the user override the test.
23747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23748 for as_dir
in $PATH
23751 test -z "$as_dir" && as_dir
=.
23752 for ac_exec_ext
in '' $ac_executable_extensions; do
23753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23754 ac_cv_prog_ac_ct_FT2_CONFIG
="freetype-config"
23755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23764 ac_ct_FT2_CONFIG
=$ac_cv_prog_ac_ct_FT2_CONFIG
23765 if test -n "$ac_ct_FT2_CONFIG"; then
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FT2_CONFIG" >&5
23767 $as_echo "$ac_ct_FT2_CONFIG" >&6; }
23769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23770 $as_echo "no" >&6; }
23773 if test "x$ac_ct_FT2_CONFIG" = x
; then
23776 case $cross_compiling:$ac_tool_warned in
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23780 ac_tool_warned
=yes ;;
23782 FT2_CONFIG
=$ac_ct_FT2_CONFIG
23785 FT2_CONFIG
="$ac_cv_prog_FT2_CONFIG"
23787 if $FT2_CONFIG --ftversion >/dev
/null
2>&1; then
23788 FREETYPE2_INCLUDES
=`$FT2_CONFIG --cflags`
23789 FREETYPE2_LIBS
=`$FT2_CONFIG --libs`
23790 elif test "x$need_freetype2:$with_system_freetype2" = xyes
:yes; then
23791 as_fn_error $?
"did not find freetype-config required for system freetype2 library" "$LINENO" 5
23794 FREETYPE2_INCLUDES
="-I$kpse_BLD/libs/freetype2/freetype2"
23795 FREETYPE2_LIBS
="$kpse_BLD/libs/freetype2/libfreetype.a"
23796 FREETYPE2_DEPEND
='${top_builddir}/../../libs/freetype2/libfreetype.a'
23797 FREETYPE2_RULE
='# Rebuild libfreetype
23798 $(FREETYPE2_DEPEND): ${top_builddir}/../../libs/freetype2/freetype2/ft2build.h
23799 cd ${top_builddir}/../../libs/freetype2 && $(MAKE) $(AM_MAKEFLAGS) rebuild
23800 ${top_builddir}/../../libs/freetype2/freetype2/ft2build.h:
23801 cd ${top_builddir}/../../libs/freetype2 && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23804 ## _KPSE_LIB_FLAGS: Setup pixman (-lpixman) flags
23806 # Check whether --with-system-pixman was given.
23807 if test "${with_system_pixman+set}" = set; then :
23808 withval
=$with_system_pixman;
23810 if test "x$with_system_pixman" = xyes
; then
23811 if $PKG_CONFIG pixman-1
--atleast-version=0.18; then
23812 PIXMAN_INCLUDES
=`$PKG_CONFIG pixman-1 --cflags`
23813 PIXMAN_LIBS
=`$PKG_CONFIG pixman-1 --libs`
23814 elif test "x$need_pixman:$with_system_pixman" = xyes
:yes; then
23815 as_fn_error $?
"did not find pixman-1 0.18 or better" "$LINENO" 5
23818 PIXMAN_INCLUDES
="-I$kpse_BLD/libs/pixman/include"
23819 PIXMAN_LIBS
="$kpse_BLD/libs/pixman/libpixman.a"
23820 PIXMAN_DEPEND
='${top_builddir}/../../libs/pixman/libpixman.a'
23821 PIXMAN_RULE
='# Rebuild libpixman
23822 $(PIXMAN_DEPEND): ${top_builddir}/../../libs/pixman/include/pixman.h
23823 cd ${top_builddir}/../../libs/pixman && $(MAKE) $(AM_MAKEFLAGS) rebuild
23824 ${top_builddir}/../../libs/pixman/include/pixman.h:
23825 cd ${top_builddir}/../../libs/pixman && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23828 ## _KPSE_LIB_FLAGS: Setup cairo (-lcairo) flags
23830 # Check whether --with-system-cairo was given.
23831 if test "${with_system_cairo+set}" = set; then :
23832 withval
=$with_system_cairo;
23834 if test "x$with_system_cairo" = xyes
; then
23835 if $PKG_CONFIG cairo
--atleast-version=1.12; then
23836 CAIRO_INCLUDES
=`$PKG_CONFIG cairo --cflags`
23837 CAIRO_LIBS
=`$PKG_CONFIG cairo --libs`
23838 elif test "x$need_cairo:$with_system_cairo" = xyes
:yes; then
23839 as_fn_error $?
"did not find cairo 1.12 or better" "$LINENO" 5
23842 CAIRO_INCLUDES
="-I$kpse_BLD/libs/cairo/cairo"
23843 CAIRO_LIBS
="$kpse_BLD/libs/cairo/libcairo.a"
23844 CAIRO_DEPEND
='${top_builddir}/../../libs/cairo/libcairo.a'
23845 CAIRO_RULE
='# Rebuild libcairo
23846 $(CAIRO_DEPEND): ${top_builddir}/../../libs/cairo/cairo/cairo.h
23847 cd ${top_builddir}/../../libs/cairo && $(MAKE) $(AM_MAKEFLAGS) rebuild
23848 ${top_builddir}/../../libs/cairo/cairo/cairo.h:
23849 cd ${top_builddir}/../../libs/cairo && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23852 ## _KPSE_LIB_FLAGS: Setup gmp (-lgmp) flags
23854 # Check whether --with-system-gmp was given.
23855 if test "${with_system_gmp+set}" = set; then :
23856 withval
=$with_system_gmp;
23859 # Check whether --with-gmp-includes was given.
23860 if test "${with_gmp_includes+set}" = set; then :
23861 withval
=$with_gmp_includes;
23864 # Check whether --with-gmp-libdir was given.
23865 if test "${with_gmp_libdir+set}" = set; then :
23866 withval
=$with_gmp_libdir;
23868 if test "x$with_system_gmp" = xyes
; then
23869 if test "x$with_gmp_includes" != x
&& test "x$with_gmp_includes" != xyes
; then
23870 GMP_INCLUDES
="-I$with_gmp_includes"
23873 if test "x$with_gmp_libdir" != x
&& test "x$with_gmp_libdir" != xyes
; then
23874 GMP_LIBS
="-L$with_gmp_libdir $GMP_LIBS"
23877 GMP_INCLUDES
="-I$kpse_BLD/libs/gmp/include"
23878 GMP_LIBS
="$kpse_BLD/libs/gmp/libgmp.a"
23879 GMP_DEPEND
='${top_builddir}/../../libs/gmp/libgmp.a'
23880 GMP_RULE
='# Rebuild libgmp
23881 $(GMP_DEPEND): ${top_builddir}/../../libs/gmp/include/gmp.h
23882 cd ${top_builddir}/../../libs/gmp && $(MAKE) $(AM_MAKEFLAGS) rebuild
23883 ${top_builddir}/../../libs/gmp/include/gmp.h:
23884 cd ${top_builddir}/../../libs/gmp && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23887 ## _KPSE_LIB_FLAGS: Setup mpfr (-lmpfr) flags
23889 # Check whether --with-system-mpfr was given.
23890 if test "${with_system_mpfr+set}" = set; then :
23891 withval
=$with_system_mpfr;
23894 # Check whether --with-mpfr-includes was given.
23895 if test "${with_mpfr_includes+set}" = set; then :
23896 withval
=$with_mpfr_includes;
23899 # Check whether --with-mpfr-libdir was given.
23900 if test "${with_mpfr_libdir+set}" = set; then :
23901 withval
=$with_mpfr_libdir;
23903 if test "x$with_system_mpfr" = xyes
; then
23904 if test "x$with_mpfr_includes" != x
&& test "x$with_mpfr_includes" != xyes
; then
23905 MPFR_INCLUDES
="-I$with_mpfr_includes"
23908 if test "x$with_mpfr_libdir" != x
&& test "x$with_mpfr_libdir" != xyes
; then
23909 MPFR_LIBS
="-L$with_mpfr_libdir $MPFR_LIBS"
23912 MPFR_INCLUDES
="-I$kpse_BLD/libs/mpfr/include"
23913 MPFR_LIBS
="$kpse_BLD/libs/mpfr/libmpfr.a"
23914 MPFR_DEPEND
='${top_builddir}/../../libs/mpfr/libmpfr.a'
23915 MPFR_RULE
='# Rebuild libmpfr
23916 $(MPFR_DEPEND): ${top_builddir}/../../libs/mpfr/include/mpfr.h
23917 cd ${top_builddir}/../../libs/mpfr && $(MAKE) $(AM_MAKEFLAGS) rebuild
23918 ${top_builddir}/../../libs/mpfr/include/mpfr.h:
23919 cd ${top_builddir}/../../libs/mpfr && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23922 ## _KPSE_LIB_FLAGS: Setup poppler (-lpoppler) flags
23924 # Check whether --with-system-poppler was given.
23925 if test "${with_system_poppler+set}" = set; then :
23926 withval
=$with_system_poppler;
23928 if test "x$with_system_poppler" = xyes
; then
23929 if $PKG_CONFIG poppler
--atleast-version=0.18; then
23930 POPPLER_INCLUDES
=`$PKG_CONFIG poppler --cflags`
23931 POPPLER_LIBS
=`$PKG_CONFIG poppler --libs`
23932 elif test "x$need_poppler:$with_system_poppler" = xyes
:yes; then
23933 as_fn_error $?
"did not find poppler 0.18 or better" "$LINENO" 5
23936 POPPLER_VERSION
='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
23937 POPPLER_INCLUDES
="$POPPLER_VERSION $POPPLER_INCLUDES"
23939 POPPLER_INCLUDES
="-I$kpse_BLD/libs/poppler/include"
23940 POPPLER_LIBS
="$kpse_BLD/libs/poppler/libpoppler.a"
23941 POPPLER_DEPEND
='${top_builddir}/../../libs/poppler/libpoppler.a'
23942 POPPLER_RULE
='# Rebuild libpoppler
23943 $(POPPLER_DEPEND): ${top_builddir}/../../libs/poppler/include/Stream.h
23944 cd ${top_builddir}/../../libs/poppler && $(MAKE) $(AM_MAKEFLAGS) rebuild
23945 ${top_builddir}/../../libs/poppler/include/Stream.h:
23946 cd ${top_builddir}/../../libs/poppler && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23948 test "x$kpse_cv_have_win32" = xno || POPPLER_LIBS
="$POPPLER_LIBS -lgdi32"
23950 ## _KPSE_LIB_FLAGS: Setup xpdf (-lxpdf) flags
23952 # Check whether --with-system-xpdf was given.
23953 if test "${with_system_xpdf+set}" = set; then :
23954 withval
=$with_system_xpdf;
23956 if test "x$with_system_xpdf" = xyes
; then
23957 if $PKG_CONFIG poppler
--atleast-version=0.12; then
23958 XPDF_INCLUDES
=`$PKG_CONFIG poppler --cflags`
23959 XPDF_LIBS
=`$PKG_CONFIG poppler --libs`
23960 elif test "x$need_xpdf:$with_system_xpdf" = xyes
:yes; then
23961 as_fn_error $?
"did not find poppler 0.12 or better" "$LINENO" 5
23964 POPPLER_VERSION
='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
23965 XPDF_INCLUDES
="$POPPLER_VERSION $XPDF_INCLUDES"
23967 XPDF_INCLUDES
="-DPDF_PARSER_ONLY -I$kpse_BLD/libs/xpdf -I$kpse_BLD/libs/xpdf/goo -I$kpse_BLD/libs/xpdf/xpdf"
23968 XPDF_LIBS
="$kpse_BLD/libs/xpdf/libxpdf.a"
23969 XPDF_DEPEND
='${top_builddir}/../../libs/xpdf/libxpdf.a'
23970 XPDF_RULE
='# Rebuild libxpdf
23971 $(XPDF_DEPEND): ${top_builddir}/../../libs/xpdf/xpdf/Stream.h
23972 cd ${top_builddir}/../../libs/xpdf && $(MAKE) $(AM_MAKEFLAGS) rebuild
23973 ${top_builddir}/../../libs/xpdf/xpdf/Stream.h:
23974 cd ${top_builddir}/../../libs/xpdf && $(MAKE) $(AM_MAKEFLAGS) rebuild'
23976 test "x$kpse_cv_have_win32" = xno || XPDF_LIBS
="$XPDF_LIBS -lgdi32"
23978 ## _KPSE_LIB_FLAGS: Setup zziplib (-lzzip) flags
23980 # Check whether --with-system-zziplib was given.
23981 if test "${with_system_zziplib+set}" = set; then :
23982 withval
=$with_system_zziplib;
23984 if test "x$with_system_zziplib" = xyes
; then
23985 if $PKG_CONFIG zziplib
--atleast-version=0.12; then
23986 ZZIPLIB_INCLUDES
=`$PKG_CONFIG zziplib --cflags`
23987 ZZIPLIB_LIBS
=`$PKG_CONFIG zziplib --libs`
23988 elif test "x$need_zziplib:$with_system_zziplib" = xyes
:yes; then
23989 as_fn_error $?
"did not find zziplib 0.12 or better" "$LINENO" 5
23992 ZZIPLIB_INCLUDES
="-I$kpse_BLD/libs/zziplib/include"
23993 ZZIPLIB_LIBS
="$kpse_BLD/libs/zziplib/libzzip.a"
23994 ZZIPLIB_DEPEND
='${top_builddir}/../../libs/zziplib/libzzip.a'
23995 ZZIPLIB_RULE
='# Rebuild libzzip
23996 $(ZZIPLIB_DEPEND): ${top_builddir}/../../libs/zziplib/include/zzip/zzip.h
23997 cd ${top_builddir}/../../libs/zziplib && $(MAKE) $(AM_MAKEFLAGS) rebuild
23998 ${top_builddir}/../../libs/zziplib/include/zzip/zzip.h:
23999 cd ${top_builddir}/../../libs/zziplib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24002 ## _KPSE_LIB_FLAGS: Setup teckit (-lTECkit) flags
24004 # Check whether --with-system-teckit was given.
24005 if test "${with_system_teckit+set}" = set; then :
24006 withval
=$with_system_teckit;
24008 if test "x$with_system_teckit" = xyes
; then
24009 if $PKG_CONFIG teckit
; then
24010 TECKIT_INCLUDES
=`$PKG_CONFIG teckit --cflags`
24011 TECKIT_LIBS
=`$PKG_CONFIG teckit --libs`
24012 elif test "x$need_teckit:$with_system_teckit" = xyes
:yes; then
24013 as_fn_error $?
"did not find teckit" "$LINENO" 5
24016 TECKIT_INCLUDES
="-I$kpse_BLD/libs/teckit/include"
24017 TECKIT_LIBS
="$kpse_BLD/libs/teckit/libTECkit.a"
24018 TECKIT_DEPEND
='${top_builddir}/../../libs/teckit/libTECkit.a'
24019 TECKIT_RULE
='# Rebuild libTECkit
24020 $(TECKIT_DEPEND): ${top_builddir}/../../libs/teckit/include/teckit/TECkit_Common.h
24021 cd ${top_builddir}/../../libs/teckit && $(MAKE) $(AM_MAKEFLAGS) rebuild
24022 ${top_builddir}/../../libs/teckit/include/teckit/TECkit_Common.h:
24023 cd ${top_builddir}/../../libs/teckit && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24026 ## _KPSE_LIB_FLAGS: Setup icu (-licuxxx) flags
24028 # Check whether --with-system-icu was given.
24029 if test "${with_system_icu+set}" = set; then :
24030 withval
=$with_system_icu;
24032 if test "x$with_system_icu" = xyes
; then
24033 if test -n "$ac_tool_prefix"; then
24034 # Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args.
24035 set dummy
${ac_tool_prefix}icu-config
; ac_word
=$2
24036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24037 $as_echo_n "checking for $ac_word... " >&6; }
24038 if ${ac_cv_prog_ICU_CONFIG+:} false
; then :
24039 $as_echo_n "(cached) " >&6
24041 if test -n "$ICU_CONFIG"; then
24042 ac_cv_prog_ICU_CONFIG
="$ICU_CONFIG" # Let the user override the test.
24044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24045 for as_dir
in $PATH
24048 test -z "$as_dir" && as_dir
=.
24049 for ac_exec_ext
in '' $ac_executable_extensions; do
24050 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24051 ac_cv_prog_ICU_CONFIG
="${ac_tool_prefix}icu-config"
24052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24061 ICU_CONFIG
=$ac_cv_prog_ICU_CONFIG
24062 if test -n "$ICU_CONFIG"; then
24063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5
24064 $as_echo "$ICU_CONFIG" >&6; }
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24067 $as_echo "no" >&6; }
24072 if test -z "$ac_cv_prog_ICU_CONFIG"; then
24073 ac_ct_ICU_CONFIG
=$ICU_CONFIG
24074 # Extract the first word of "icu-config", so it can be a program name with args.
24075 set dummy icu-config
; ac_word
=$2
24076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24077 $as_echo_n "checking for $ac_word... " >&6; }
24078 if ${ac_cv_prog_ac_ct_ICU_CONFIG+:} false
; then :
24079 $as_echo_n "(cached) " >&6
24081 if test -n "$ac_ct_ICU_CONFIG"; then
24082 ac_cv_prog_ac_ct_ICU_CONFIG
="$ac_ct_ICU_CONFIG" # Let the user override the test.
24084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24085 for as_dir
in $PATH
24088 test -z "$as_dir" && as_dir
=.
24089 for ac_exec_ext
in '' $ac_executable_extensions; do
24090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24091 ac_cv_prog_ac_ct_ICU_CONFIG
="icu-config"
24092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24101 ac_ct_ICU_CONFIG
=$ac_cv_prog_ac_ct_ICU_CONFIG
24102 if test -n "$ac_ct_ICU_CONFIG"; then
24103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5
24104 $as_echo "$ac_ct_ICU_CONFIG" >&6; }
24106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24107 $as_echo "no" >&6; }
24110 if test "x$ac_ct_ICU_CONFIG" = x
; then
24113 case $cross_compiling:$ac_tool_warned in
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24117 ac_tool_warned
=yes ;;
24119 ICU_CONFIG
=$ac_ct_ICU_CONFIG
24122 ICU_CONFIG
="$ac_cv_prog_ICU_CONFIG"
24124 if $ICU_CONFIG --version >/dev
/null
2>&1; then
24125 ICU_INCLUDES
=`$ICU_CONFIG --cppflags`
24126 ICU_LIBS
=`$ICU_CONFIG --ldflags-searchpath --ldflags-libsonly --ldflags-system`
24127 elif test "x$need_icu:$with_system_icu" = xyes
:yes; then
24128 as_fn_error $?
"did not find icu-config required for system icu libraries" "$LINENO" 5
24131 ICU_INCLUDES
="-DU_STATIC_IMPLEMENTATION -I$kpse_BLD/libs/icu/include"
24132 ICU_LIBS
=" $kpse_BLD/libs/icu/icu-build/lib/libicuuc.a $kpse_BLD/libs/icu/icu-build/lib/libicudata.a"
24133 ICU_DEPEND
=' ${top_builddir}/../../libs/icu/icu-build/lib/libicuuc.a ${top_builddir}/../../libs/icu/icu-build/lib/libicudata.a'
24134 ICU_RULE
='# Rebuild libicuxxx
24135 $(ICU_DEPEND): ${top_builddir}/../../libs/icu/include/unicode/uversion.h
24136 cd ${top_builddir}/../../libs/icu && $(MAKE) $(AM_MAKEFLAGS) rebuild
24137 ${top_builddir}/../../libs/icu/include/unicode/uversion.h:
24138 cd ${top_builddir}/../../libs/icu && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24141 ## _KPSE_LIB_FLAGS: Setup graphite2 (-lgraphite2) flags
24143 # Check whether --with-system-graphite2 was given.
24144 if test "${with_system_graphite2+set}" = set; then :
24145 withval
=$with_system_graphite2;
24147 if test "x$with_system_graphite2" = xyes
; then
24148 if $PKG_CONFIG graphite2
; then
24149 GRAPHITE2_INCLUDES
=`$PKG_CONFIG graphite2 --cflags`
24150 GRAPHITE2_LIBS
=`$PKG_CONFIG graphite2 --libs`
24151 elif test "x$need_graphite2:$with_system_graphite2" = xyes
:yes; then
24152 as_fn_error $?
"did not find graphite2" "$LINENO" 5
24155 GRAPHITE2_INCLUDES
="-I$kpse_BLD/libs/graphite2/include -DGRAPHITE2_STATIC"
24156 GRAPHITE2_LIBS
="$kpse_BLD/libs/graphite2/libgraphite2.a"
24157 GRAPHITE2_DEPEND
='${top_builddir}/../../libs/graphite2/libgraphite2.a'
24158 GRAPHITE2_RULE
='# Rebuild libgraphite2
24159 $(GRAPHITE2_DEPEND): ${top_builddir}/../../libs/graphite2/include/graphite2/Font.h
24160 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild
24161 ${top_builddir}/../../libs/graphite2/include/graphite2/Font.h:
24162 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24165 ## _KPSE_LIB_FLAGS: Setup harfbuzz (-lharfbuzz) flags
24167 # Check whether --with-system-harfbuzz was given.
24168 if test "${with_system_harfbuzz+set}" = set; then :
24169 withval
=$with_system_harfbuzz;
24171 if test "x$with_system_harfbuzz" = xyes
; then
24172 if $PKG_CONFIG harfbuzz-icu
; then
24173 HARFBUZZ_INCLUDES
=`$PKG_CONFIG harfbuzz-icu --cflags`
24174 HARFBUZZ_LIBS
=`$PKG_CONFIG harfbuzz-icu --libs`
24175 elif test "x$need_harfbuzz:$with_system_harfbuzz" = xyes
:yes; then
24176 as_fn_error $?
"did not find harfbuzz-icu" "$LINENO" 5
24179 HARFBUZZ_INCLUDES
="-I$kpse_BLD/libs/harfbuzz/include"
24180 HARFBUZZ_LIBS
="$kpse_BLD/libs/harfbuzz/libharfbuzz.a"
24181 HARFBUZZ_DEPEND
='${top_builddir}/../../libs/harfbuzz/libharfbuzz.a'
24182 HARFBUZZ_RULE
='# Rebuild libharfbuzz
24183 $(HARFBUZZ_DEPEND): ${top_builddir}/../../libs/harfbuzz/include/hb.h
24184 cd ${top_builddir}/../../libs/harfbuzz && $(MAKE) $(AM_MAKEFLAGS) rebuild
24185 ${top_builddir}/../../libs/harfbuzz/include/hb.h:
24186 cd ${top_builddir}/../../libs/harfbuzz && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24189 ## _KPSE_LIB_FLAGS: Setup graphite2 (-lgraphite2) flags
24191 # Check whether --with-system-graphite2 was given.
24192 if test "${with_system_graphite2+set}" = set; then :
24193 withval
=$with_system_graphite2;
24195 if test "x$with_system_graphite2" = xyes
; then
24196 if $PKG_CONFIG graphite2
; then
24197 GRAPHITE2_INCLUDES
=`$PKG_CONFIG graphite2 --cflags`
24198 GRAPHITE2_LIBS
=`$PKG_CONFIG graphite2 --libs`
24199 elif test "x$need_graphite2:$with_system_graphite2" = xyes
:yes; then
24200 as_fn_error $?
"did not find graphite2" "$LINENO" 5
24203 GRAPHITE2_INCLUDES
="-I$kpse_BLD/libs/graphite2/include -DGRAPHITE2_STATIC"
24204 GRAPHITE2_LIBS
="$kpse_BLD/libs/graphite2/libgraphite2.a"
24205 GRAPHITE2_DEPEND
='${top_builddir}/../../libs/graphite2/libgraphite2.a'
24206 GRAPHITE2_RULE
='# Rebuild libgraphite2
24207 $(GRAPHITE2_DEPEND): ${top_builddir}/../../libs/graphite2/include/graphite2/Font.h
24208 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild
24209 ${top_builddir}/../../libs/graphite2/include/graphite2/Font.h:
24210 cd ${top_builddir}/../../libs/graphite2 && $(MAKE) $(AM_MAKEFLAGS) rebuild'
24214 # Check size of off_t (using <kpathsea/config.h>)
24215 eval CPPFLAGS
=\"$KPATHSEA_INCLUDES \
$CPPFLAGS\"
24216 eval LIBS
=\"$KPATHSEA_LIBS \
$LIBS\"
24218 # The cast to long int works around a bug in the HP C Compiler
24219 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24220 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24221 # This bug is HP SR number 8606223364.
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
24223 $as_echo_n "checking size of off_t... " >&6; }
24224 if ${ac_cv_sizeof_off_t+:} false
; then :
24225 $as_echo_n "(cached) " >&6
24227 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default
24228 #include <kpathsea/config.h>
24232 if test "$ac_cv_type_off_t" = yes; then
24233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24235 as_fn_error
77 "cannot compute sizeof (off_t)
24236 See \`config.log' for more details" "$LINENO" 5; }
24238 ac_cv_sizeof_off_t
=0
24243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
24244 $as_echo "$ac_cv_sizeof_off_t" >&6; }
24248 cat >>confdefs.h
<<_ACEOF
24249 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
24254 if test "x$with_system_kpathsea" = xyes
; then
24255 list
="/usr/include /usr/local/include `echo $KPATHSEA_INCLUDES | sed 's/-I//g'`"
24257 for KPATHSEA_PATHS_H
in $list; do
24258 if test -r "$KPATHSEA_PATHS_H/kpathsea/paths.h"; then
24263 if test "x$found" = xno
; then
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: You requested to build \`web2c' using an installed \`kpathsea' version," >&5
24265 $as_echo "$as_me: You requested to build \`web2c' using an installed \`kpathsea' version," >&6;}
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: which requires to locate the <kpathsea/paths.h> header file." >&5
24267 $as_echo "$as_me: which requires to locate the <kpathsea/paths.h> header file." >&6;}
24268 as_fn_error $?
"Sorry, not found under any of: $list *****" "$LINENO" 5
24271 KPATHSEA_PATHS_H
='${top_builddir}/..'
24275 # Check of poppler 0.25 or better
24276 case $with_system_poppler in #(
24278 eval CPPFLAGS
=\"$POPPLER_INCLUDES \
$CPPFLAGS\"
24279 eval LIBS
=\"$POPPLER_LIBS \
$LIBS\"
24282 ac_cpp
='$CXXCPP $CPPFLAGS'
24283 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24284 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24285 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24286 ac_link
="./libtool --mode=link --tag=CXX $ac_link"
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for StructTreeRoot.h (poppler 0.25 or better)" >&5
24289 $as_echo_n "checking for StructTreeRoot.h (poppler 0.25 or better)... " >&6; }
24290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24291 /* end confdefs.h. */
24293 #include <StructTreeRoot.h>
24299 StructTreeRoot root(doc, dict);
24304 if ac_fn_cxx_try_compile
"$LINENO"; then :
24305 kpse_cv_have_StructTreeRoot_h
=yes
24307 kpse_cv_have_StructTreeRoot_h
=no
24309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_StructTreeRoot_h" >&5
24311 $as_echo "$kpse_cv_have_StructTreeRoot_h" >&6; }
24313 ac_cpp
='$CPP $CPPFLAGS'
24314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24317 ac_link
="./libtool --mode=link --tag=CC $ac_link"
24320 kpse_cv_have_StructTreeRoot_h
=yes ;;
24322 if test "x$kpse_cv_have_StructTreeRoot_h" = xyes
; then
24324 $as_echo "#define HAVE_STRUCTTREEROOT_H 1" >>confdefs.h
24327 CPPFLAGS
=$kpse_save_CPPFLAGS
24328 LIBS
=$kpse_save_LIBS
24331 ac_config_headers
="$ac_config_headers w2c/c-auto.h:c-auto.in"
24337 ac_config_headers
="$ac_config_headers ff-config.h:luatexdir/luafontloader/ff-config.in"
24340 # For cross-compilation. Put at the end so there is a fair chance
24341 # these are still visible when the configure script has finished.
24343 # The supporting programs we need to have available on the build machine.
24344 # make variable cross native
24345 if test "x$cross_compiling" = xyes
; then :
24346 # Extract the first word of "tangle", so it can be a program name with args.
24347 set dummy tangle
; ac_word
=$2
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24349 $as_echo_n "checking for $ac_word... " >&6; }
24350 if ${ac_cv_path_TANGLEBOOT+:} false
; then :
24351 $as_echo_n "(cached) " >&6
24353 case $TANGLEBOOT in
24355 ac_cv_path_TANGLEBOOT
="$TANGLEBOOT" # Let the user override the test with a path.
24358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24359 for as_dir
in $PATH
24362 test -z "$as_dir" && as_dir
=.
24363 for ac_exec_ext
in '' $ac_executable_extensions; do
24364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24365 ac_cv_path_TANGLEBOOT
="$as_dir/$ac_word$ac_exec_ext"
24366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24376 TANGLEBOOT
=$ac_cv_path_TANGLEBOOT
24377 if test -n "$TANGLEBOOT"; then
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TANGLEBOOT" >&5
24379 $as_echo "$TANGLEBOOT" >&6; }
24381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24382 $as_echo "no" >&6; }
24386 if test -z "${TANGLEBOOT}"; then :
24387 as_fn_error $?
"tangle was not found but is required when cross-compiling.
24388 Install tangle or set \$TANGLEBOOT to the full pathname." "$LINENO" 5
24391 TANGLEBOOT
=.
/tangleboot
24394 if test "x$cross_compiling" = xyes
; then :
24395 # Extract the first word of "tangle", so it can be a program name with args.
24396 set dummy tangle
; ac_word
=$2
24397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24398 $as_echo_n "checking for $ac_word... " >&6; }
24399 if ${ac_cv_path_TANGLE+:} false
; then :
24400 $as_echo_n "(cached) " >&6
24404 ac_cv_path_TANGLE
="$TANGLE" # Let the user override the test with a path.
24407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24408 for as_dir
in $PATH
24411 test -z "$as_dir" && as_dir
=.
24412 for ac_exec_ext
in '' $ac_executable_extensions; do
24413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24414 ac_cv_path_TANGLE
="$as_dir/$ac_word$ac_exec_ext"
24415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24425 TANGLE
=$ac_cv_path_TANGLE
24426 if test -n "$TANGLE"; then
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TANGLE" >&5
24428 $as_echo "$TANGLE" >&6; }
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24431 $as_echo "no" >&6; }
24435 if test -z "${TANGLE}"; then :
24436 as_fn_error $?
"tangle was not found but is required when cross-compiling.
24437 Install tangle or set \$TANGLE to the full pathname." "$LINENO" 5
24443 if test "x$cross_compiling" = xyes
; then :
24444 # Extract the first word of "ctangle", so it can be a program name with args.
24445 set dummy ctangle
; ac_word
=$2
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24447 $as_echo_n "checking for $ac_word... " >&6; }
24448 if ${ac_cv_path_CTANGLEBOOT+:} false
; then :
24449 $as_echo_n "(cached) " >&6
24451 case $CTANGLEBOOT in
24453 ac_cv_path_CTANGLEBOOT
="$CTANGLEBOOT" # Let the user override the test with a path.
24456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24457 for as_dir
in $PATH
24460 test -z "$as_dir" && as_dir
=.
24461 for ac_exec_ext
in '' $ac_executable_extensions; do
24462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24463 ac_cv_path_CTANGLEBOOT
="$as_dir/$ac_word$ac_exec_ext"
24464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24474 CTANGLEBOOT
=$ac_cv_path_CTANGLEBOOT
24475 if test -n "$CTANGLEBOOT"; then
24476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTANGLEBOOT" >&5
24477 $as_echo "$CTANGLEBOOT" >&6; }
24479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24480 $as_echo "no" >&6; }
24484 if test -z "${CTANGLEBOOT}"; then :
24485 as_fn_error $?
"ctangle was not found but is required when cross-compiling.
24486 Install ctangle or set \$CTANGLEBOOT to the full pathname." "$LINENO" 5
24489 CTANGLEBOOT
=.
/ctangleboot
24492 if test "x$cross_compiling" = xyes
; then :
24493 # Extract the first word of "ctangle", so it can be a program name with args.
24494 set dummy ctangle
; ac_word
=$2
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24496 $as_echo_n "checking for $ac_word... " >&6; }
24497 if ${ac_cv_path_CTANGLE+:} false
; then :
24498 $as_echo_n "(cached) " >&6
24502 ac_cv_path_CTANGLE
="$CTANGLE" # Let the user override the test with a path.
24505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24506 for as_dir
in $PATH
24509 test -z "$as_dir" && as_dir
=.
24510 for ac_exec_ext
in '' $ac_executable_extensions; do
24511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24512 ac_cv_path_CTANGLE
="$as_dir/$ac_word$ac_exec_ext"
24513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24523 CTANGLE
=$ac_cv_path_CTANGLE
24524 if test -n "$CTANGLE"; then
24525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTANGLE" >&5
24526 $as_echo "$CTANGLE" >&6; }
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24529 $as_echo "no" >&6; }
24533 if test -z "${CTANGLE}"; then :
24534 as_fn_error $?
"ctangle was not found but is required when cross-compiling.
24535 Install ctangle or set \$CTANGLE to the full pathname." "$LINENO" 5
24541 if test "x$cross_compiling" = xyes
; then :
24542 # Extract the first word of "tie", so it can be a program name with args.
24543 set dummy tie
; ac_word
=$2
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24545 $as_echo_n "checking for $ac_word... " >&6; }
24546 if ${ac_cv_path_TIE+:} false
; then :
24547 $as_echo_n "(cached) " >&6
24551 ac_cv_path_TIE
="$TIE" # Let the user override the test with a path.
24554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24555 for as_dir
in $PATH
24558 test -z "$as_dir" && as_dir
=.
24559 for ac_exec_ext
in '' $ac_executable_extensions; do
24560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24561 ac_cv_path_TIE
="$as_dir/$ac_word$ac_exec_ext"
24562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24572 TIE
=$ac_cv_path_TIE
24573 if test -n "$TIE"; then
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIE" >&5
24575 $as_echo "$TIE" >&6; }
24577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24578 $as_echo "no" >&6; }
24582 if test -z "${TIE}"; then :
24583 as_fn_error $?
"tie was not found but is required when cross-compiling.
24584 Install tie or set \$TIE to the full pathname." "$LINENO" 5
24590 if test "x$cross_compiling" = xyes
; then :
24591 # Extract the first word of "otangle", so it can be a program name with args.
24592 set dummy otangle
; ac_word
=$2
24593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24594 $as_echo_n "checking for $ac_word... " >&6; }
24595 if ${ac_cv_path_OTANGLE+:} false
; then :
24596 $as_echo_n "(cached) " >&6
24600 ac_cv_path_OTANGLE
="$OTANGLE" # Let the user override the test with a path.
24603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24604 for as_dir
in $PATH
24607 test -z "$as_dir" && as_dir
=.
24608 for ac_exec_ext
in '' $ac_executable_extensions; do
24609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24610 ac_cv_path_OTANGLE
="$as_dir/$ac_word$ac_exec_ext"
24611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24621 OTANGLE
=$ac_cv_path_OTANGLE
24622 if test -n "$OTANGLE"; then
24623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTANGLE" >&5
24624 $as_echo "$OTANGLE" >&6; }
24626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24627 $as_echo "no" >&6; }
24631 if test -z "${OTANGLE}"; then :
24632 as_fn_error $?
"otangle was not found but is required when cross-compiling.
24633 Install otangle or set \$OTANGLE to the full pathname." "$LINENO" 5
24640 if test "x$cross_compiling" = xyes
; then
24641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your tie supports WEBINPUTS" >&5
24642 $as_echo_n "checking if your tie supports WEBINPUTS... " >&6; }
24643 ( WEBINPUTS
=$srcdir/tiedir
24645 $TIE -c tie.outc tie.tie tie.cf1 tie.cf2 tie.cf3
24646 $TIE -m tie.outm tie.tie tie.cf1 tie.cf2 tie.cf3
) >/dev
/null
2>&1
24647 if diff tie.outc
$srcdir/tiedir
/tie.chf.gen
>/dev
/null
2>&1 && \
24648 diff tie.outm
$srcdir/tiedir
/tie.master.gen
>/dev
/null
2>&1; then
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_ok" >&5
24654 $as_echo "$tool_ok" >&6; }
24655 if test "x$tool_ok" != xyes
; then
24656 as_fn_error $?
"Sorry, your $TIE is too old and does not support WEBINPUTS" "$LINENO" 5
24658 rm -f tie.outc tie.outm
24659 if test "x$enable_otangle" = xyes
; then
24660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your otangle supports WEBINPUTS" >&5
24661 $as_echo_n "checking if your otangle supports WEBINPUTS... " >&6; }
24662 ( WEBINPUTS
=$srcdir/cftests
24664 $OTANGLE cftest cftest
) >/dev
/null
2>&1
24665 if diff cftest.p
$srcdir/cftests
/ocftest.p
>/dev
/null
2>&1; then
24670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_ok" >&5
24671 $as_echo "$tool_ok" >&6; }
24672 if test "x$tool_ok" != xyes
; then
24673 as_fn_error $?
"Sorry, your $OTANGLE is too old and does not support WEBINPUTS" "$LINENO" 5
24679 ac_config_files
="$ac_config_files Makefile doc/Makefile lib/Makefile man/Makefile omegafonts/Makefile otps/Makefile otps/win32/Makefile window/Makefile"
24681 ac_config_files
="$ac_config_files web2c-sh"
24683 ac_config_files
="$ac_config_files tangle-sh"
24685 ac_config_files
="$ac_config_files ctangleboot-sh"
24687 ac_config_files
="$ac_config_files silent-sh"
24690 ## texk/web2c/synctexdir/ac/synctex.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
24692 SYNCTEXVERSION
=1.17.0
24695 SYNCTEX_LT_VERSINFO
=18:0:17
24698 if test "x$enable_synctex" != xno
; then
24707 if test "x$with_system_zlib" = xyes
; then :
24708 LTLIBSYNCTEX
=libsynctex.la
24711 LIBSYNCTEX
=libsynctex.a
24715 ac_config_files
="$ac_config_files synctexdir/synctex.pc"
24720 if test "x$host_alias" != x
&& test "x$build_alias" = x
; then :
24721 as_fn_error $?
"when cross-compiling you must specify both --host and --build." "$LINENO" 5
24723 eval kpse_build_alias
=\
${build_alias-$build}
24727 subdirs
="$subdirs web2c"
24732 cat >confcache
<<\_ACEOF
24733 # This file is a shell script that caches the results of configure
24734 # tests run on this system so they can be shared between configure
24735 # scripts and configure runs, see configure's option --config-cache.
24736 # It is not useful on other systems. If it contains results you don't
24737 # want to keep, you may remove or edit it.
24739 # config.status only pays attention to the cache file if you give it
24740 # the --recheck option to rerun configure.
24742 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24743 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24744 # following values.
24748 # The following way of writing the cache mishandles newlines in values,
24749 # but we know of no workaround that is simple, portable, and efficient.
24750 # So, we kill variables containing newlines.
24751 # Ultrix sh set writes to stderr and can't be redirected directly,
24752 # and sets the high bit in the cache file unless we assign to the vars.
24754 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24755 eval ac_val
=\$
$ac_var
24759 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24760 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24763 _ | IFS | as_nl
) ;; #(
24764 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24765 *) { eval $ac_var=; unset $ac_var;} ;;
24771 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24772 *${as_nl}ac_space
=\
*)
24773 # `set' does not quote correctly, so add quotes: double-quote
24774 # substitution turns \\\\ into \\, and sed turns \\ into \.
24777 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24780 # `set' quotes correctly as required by POSIX, so do not add quotes.
24781 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24790 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24792 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24794 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24795 if test -w "$cache_file"; then
24796 if test "x$cache_file" != "x/dev/null"; then
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24798 $as_echo "$as_me: updating cache $cache_file" >&6;}
24799 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
24800 cat confcache
>"$cache_file"
24802 case $cache_file in #(
24804 mv -f confcache
"$cache_file"$$
&&
24805 mv -f "$cache_file"$$
"$cache_file" ;; #(
24807 mv -f confcache
"$cache_file" ;;
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24813 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24818 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24819 # Let make expand exec_prefix.
24820 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24822 DEFS
=-DHAVE_CONFIG_H
24827 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24828 # 1. Remove the extension, and $U if already installed.
24829 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24830 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24831 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24832 # will be set to the directory where LIBOBJS objects are built.
24833 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24834 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24836 LIBOBJS
=$ac_libobjs
24838 LTLIBOBJS
=$ac_ltlibobjs
24841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
24842 $as_echo_n "checking that generated files are newer than configure... " >&6; }
24843 if test -n "$am_sleep_pid"; then
24844 # Hide warnings about reused PIDs.
24845 wait $am_sleep_pid 2>/dev
/null
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
24848 $as_echo "done" >&6; }
24849 if test -n "$EXEEXT"; then
24851 am__EXEEXT_FALSE
='#'
24853 am__EXEEXT_TRUE
='#'
24857 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24858 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
24859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24861 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24862 as_fn_error $?
"conditional \"AMDEP\" was never defined.
24863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24865 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24866 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
24867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24869 if test -z "${cross_TRUE}" && test -z "${cross_FALSE}"; then
24870 as_fn_error $?
"conditional \"cross\" was never defined.
24871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24873 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24874 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
24875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24877 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
24878 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
24879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24881 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
24882 as_fn_error $?
"conditional \"WIN32\" was never defined.
24883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24885 if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then
24886 as_fn_error $?
"conditional \"MINGW32\" was never defined.
24887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24889 if test -z "${WIN32_CALL_TRUE}" && test -z "${WIN32_CALL_FALSE}"; then
24890 as_fn_error $?
"conditional \"WIN32_CALL\" was never defined.
24891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24893 if test -z "${USE_DLOPEN_TRUE}" && test -z "${USE_DLOPEN_FALSE}"; then
24894 as_fn_error $?
"conditional \"USE_DLOPEN\" was never defined.
24895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24897 if test -z "${XETEX_MACOSX_TRUE}" && test -z "${XETEX_MACOSX_FALSE}"; then
24898 as_fn_error $?
"conditional \"XETEX_MACOSX\" was never defined.
24899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24901 if test -z "${TEX_TRUE}" && test -z "${TEX_FALSE}"; then
24902 as_fn_error $?
"conditional \"TEX\" was never defined.
24903 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24905 if test -z "${TEX_SYNCTEX_TRUE}" && test -z "${TEX_SYNCTEX_FALSE}"; then
24906 as_fn_error $?
"conditional \"TEX_SYNCTEX\" was never defined.
24907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24909 if test -z "${ETEX_TRUE}" && test -z "${ETEX_FALSE}"; then
24910 as_fn_error $?
"conditional \"ETEX\" was never defined.
24911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24913 if test -z "${ETEX_SYNCTEX_TRUE}" && test -z "${ETEX_SYNCTEX_FALSE}"; then
24914 as_fn_error $?
"conditional \"ETEX_SYNCTEX\" was never defined.
24915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24917 if test -z "${PTEX_TRUE}" && test -z "${PTEX_FALSE}"; then
24918 as_fn_error $?
"conditional \"PTEX\" was never defined.
24919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24921 if test -z "${PTEX_SYNCTEX_TRUE}" && test -z "${PTEX_SYNCTEX_FALSE}"; then
24922 as_fn_error $?
"conditional \"PTEX_SYNCTEX\" was never defined.
24923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24925 if test -z "${EPTEX_TRUE}" && test -z "${EPTEX_FALSE}"; then
24926 as_fn_error $?
"conditional \"EPTEX\" was never defined.
24927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24929 if test -z "${EPTEX_SYNCTEX_TRUE}" && test -z "${EPTEX_SYNCTEX_FALSE}"; then
24930 as_fn_error $?
"conditional \"EPTEX_SYNCTEX\" was never defined.
24931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24933 if test -z "${UPTEX_TRUE}" && test -z "${UPTEX_FALSE}"; then
24934 as_fn_error $?
"conditional \"UPTEX\" was never defined.
24935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24937 if test -z "${UPTEX_SYNCTEX_TRUE}" && test -z "${UPTEX_SYNCTEX_FALSE}"; then
24938 as_fn_error $?
"conditional \"UPTEX_SYNCTEX\" was never defined.
24939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24941 if test -z "${EUPTEX_TRUE}" && test -z "${EUPTEX_FALSE}"; then
24942 as_fn_error $?
"conditional \"EUPTEX\" was never defined.
24943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24945 if test -z "${EUPTEX_SYNCTEX_TRUE}" && test -z "${EUPTEX_SYNCTEX_FALSE}"; then
24946 as_fn_error $?
"conditional \"EUPTEX_SYNCTEX\" was never defined.
24947 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24949 if test -z "${ALEPH_TRUE}" && test -z "${ALEPH_FALSE}"; then
24950 as_fn_error $?
"conditional \"ALEPH\" was never defined.
24951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24953 if test -z "${PDFTEX_TRUE}" && test -z "${PDFTEX_FALSE}"; then
24954 as_fn_error $?
"conditional \"PDFTEX\" was never defined.
24955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24957 if test -z "${PDFTEX_SYNCTEX_TRUE}" && test -z "${PDFTEX_SYNCTEX_FALSE}"; then
24958 as_fn_error $?
"conditional \"PDFTEX_SYNCTEX\" was never defined.
24959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24961 if test -z "${LUATEX_TRUE}" && test -z "${LUATEX_FALSE}"; then
24962 as_fn_error $?
"conditional \"LUATEX\" was never defined.
24963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24965 if test -z "${LUAJITTEX_TRUE}" && test -z "${LUAJITTEX_FALSE}"; then
24966 as_fn_error $?
"conditional \"LUAJITTEX\" was never defined.
24967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24969 if test -z "${MP_TRUE}" && test -z "${MP_FALSE}"; then
24970 as_fn_error $?
"conditional \"MP\" was never defined.
24971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24973 if test -z "${PMP_TRUE}" && test -z "${PMP_FALSE}"; then
24974 as_fn_error $?
"conditional \"PMP\" was never defined.
24975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24977 if test -z "${UPMP_TRUE}" && test -z "${UPMP_FALSE}"; then
24978 as_fn_error $?
"conditional \"UPMP\" was never defined.
24979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24981 if test -z "${XETEX_TRUE}" && test -z "${XETEX_FALSE}"; then
24982 as_fn_error $?
"conditional \"XETEX\" was never defined.
24983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24985 if test -z "${XETEX_SYNCTEX_TRUE}" && test -z "${XETEX_SYNCTEX_FALSE}"; then
24986 as_fn_error $?
"conditional \"XETEX_SYNCTEX\" was never defined.
24987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24989 if test -z "${OTANGLE_TRUE}" && test -z "${OTANGLE_FALSE}"; then
24990 as_fn_error $?
"conditional \"OTANGLE\" was never defined.
24991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24993 if test -z "${MF_TRUE}" && test -z "${MF_FALSE}"; then
24994 as_fn_error $?
"conditional \"MF\" was never defined.
24995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24997 if test -z "${MFN_TRUE}" && test -z "${MFN_FALSE}"; then
24998 as_fn_error $?
"conditional \"MFN\" was never defined.
24999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25001 if test -z "${MFXT_TRUE}" && test -z "${MFXT_FALSE}"; then
25002 as_fn_error $?
"conditional \"MFXT\" was never defined.
25003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25005 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
25006 as_fn_error $?
"conditional \"WEB\" was never defined.
25007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25009 if test -z "${PWEB_TRUE}" && test -z "${PWEB_FALSE}"; then
25010 as_fn_error $?
"conditional \"PWEB\" was never defined.
25011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25013 if test -z "${UPWEB_TRUE}" && test -z "${UPWEB_FALSE}"; then
25014 as_fn_error $?
"conditional \"UPWEB\" was never defined.
25015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25018 if test -z "${SYNCTEX_TRUE}" && test -z "${SYNCTEX_FALSE}"; then
25019 as_fn_error $?
"conditional \"SYNCTEX\" was never defined.
25020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25023 : "${CONFIG_STATUS=./config.status}"
25025 ac_clean_files_save
=$ac_clean_files
25026 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25027 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25028 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25030 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25032 # Generated by $as_me.
25033 # Run this file to recreate the current configuration.
25034 # Compiler output produced by configure, useful for debugging
25035 # configure, is in config.log if it exists.
25038 ac_cs_recheck=false
25041 SHELL=\${CONFIG_SHELL-$SHELL}
25044 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25045 ## -------------------- ##
25046 ## M4sh Initialization. ##
25047 ## -------------------- ##
25049 # Be more Bourne compatible
25050 DUALCASE
=1; export DUALCASE
# for MKS sh
25051 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25054 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25055 # is contrary to our usage. Disable this feature.
25056 alias -g '${1+"$@"}'='"$@"'
25057 setopt NO_GLOB_SUBST
25059 case `(set -o) 2>/dev/null` in #(
25071 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25072 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25073 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25074 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25075 # Prefer a ksh shell builtin over an external printf program on Solaris,
25076 # but without wasting forks for bash or zsh.
25077 if test -z "$BASH_VERSION$ZSH_VERSION" \
25078 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25079 as_echo='print
-r --'
25080 as_echo_n='print
-rn --'
25081 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25082 as_echo='printf %s
\n'
25083 as_echo_n='printf %s
'
25085 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25086 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25087 as_echo_n='/usr
/ucb
/echo -n'
25089 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25090 as_echo_n_body='eval
25094 expr "X$arg" : "X\\(.*\\)$as_nl";
25095 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25097 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25099 export as_echo_n_body
25100 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25102 export as_echo_body
25103 as_echo='sh
-c $as_echo_body as_echo
'
25106 # The user is always right.
25107 if test "${PATH_SEPARATOR+set}" != set; then
25109 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25110 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25117 # We need space, tab and new line, in precisely that order. Quoting is
25118 # there to prevent editors from complaining about space-tab.
25119 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25120 # splitting by setting IFS to empty value.)
25123 # Find who we are. Look in the path if we contain no directory separator.
25126 *[\\/]* ) as_myself=$0 ;;
25127 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25128 for as_dir in $PATH
25131 test -z "$as_dir" && as_dir=.
25132 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25138 # We did not find ourselves, most probably we were run as `sh COMMAND'
25139 # in which case we are not to be found in the path.
25140 if test "x$as_myself" = x
; then
25143 if test ! -f "$as_myself"; then
25144 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25148 # Unset variables that we do not need and which cause bugs (e.g. in
25149 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25150 # suppresses any "Segmentation fault" message there. '((' could
25151 # trigger a bug in pdksh 5.2.14.
25152 for as_var
in BASH_ENV ENV MAIL MAILPATH
25153 do eval test x\
${$as_var+set} = xset \
25154 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
25167 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
25170 # as_fn_error STATUS ERROR [LINENO LOG_FD]
25171 # ----------------------------------------
25172 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25173 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25174 # script with STATUS, using 1 if that was 0.
25177 as_status
=$1; test $as_status -eq 0 && as_status
=1
25179 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
25180 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
25182 $as_echo "$as_me: error: $2" >&2
25183 as_fn_exit
$as_status
25187 # as_fn_set_status STATUS
25188 # -----------------------
25189 # Set $? to STATUS, without forking.
25190 as_fn_set_status
()
25193 } # as_fn_set_status
25195 # as_fn_exit STATUS
25196 # -----------------
25197 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25201 as_fn_set_status
$1
25207 # Portably unset VAR.
25210 { eval $1=; unset $1;}
25212 as_unset
=as_fn_unset
25213 # as_fn_append VAR VALUE
25214 # ----------------------
25215 # Append the text in VALUE to the end of the definition contained in VAR. Take
25216 # advantage of any shell optimizations that allow amortized linear growth over
25217 # repeated appends, instead of the typical quadratic growth present in naive
25219 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
25220 eval 'as_fn_append ()
25231 # as_fn_arith ARG...
25232 # ------------------
25233 # Perform arithmetic evaluation on the ARGs, and store the result in the
25234 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25235 # must be portable across $(()) and expr.
25236 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
25237 eval 'as_fn_arith ()
25244 as_val
=`expr "$@" || test $? -eq 1`
25249 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25250 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25256 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25257 as_basename
=basename
25262 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25268 as_me
=`$as_basename -- "$0" ||
25269 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25270 X"$0" : 'X\(//\)$' \| \
25271 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25273 sed '/^.*\/\([^/][^/]*\)\/*$/{
25287 # Avoid depending upon Character Ranges.
25288 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25289 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25290 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25291 as_cr_digits
='0123456789'
25292 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25294 ECHO_C
= ECHO_N
= ECHO_T
=
25295 case `echo -n x` in #(((((
25297 case `echo 'xy\c'` in
25298 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25300 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25307 rm -f conf$$ conf$$.exe conf$$.
file
25308 if test -d conf$$.dir
; then
25309 rm -f conf$$.dir
/conf$$.
file
25312 mkdir conf$$.dir
2>/dev
/null
25314 if (echo >conf$$.
file) 2>/dev
/null
; then
25315 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25317 # ... but there are two gotchas:
25318 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25319 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25320 # In both cases, we have to default to `cp -pR'.
25321 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25323 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25331 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25332 rmdir conf$$.dir
2>/dev
/null
25337 # Create "$as_dir" as a directory, including parents if necessary.
25342 -*) as_dir
=.
/$as_dir;;
25344 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25348 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25349 *) as_qdir
=$as_dir;;
25351 as_dirs
="'$as_qdir' $as_dirs"
25352 as_dir
=`$as_dirname -- "$as_dir" ||
25353 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25354 X"$as_dir" : 'X\(//\)[^/]' \| \
25355 X"$as_dir" : 'X\(//\)$' \| \
25356 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25357 $as_echo X"$as_dir" |
25358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25362 /^X\(\/\/\)[^/].*/{
25375 test -d "$as_dir" && break
25377 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25378 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
25382 if mkdir
-p .
2>/dev
/null
; then
25383 as_mkdir_p
='mkdir -p "$as_dir"'
25385 test -d .
/-p && rmdir .
/-p
25390 # as_fn_executable_p FILE
25391 # -----------------------
25392 # Test if FILE is an executable regular file.
25393 as_fn_executable_p
()
25395 test -f "$1" && test -x "$1"
25396 } # as_fn_executable_p
25397 as_test_x
='test -x'
25398 as_executable_p
=as_fn_executable_p
25400 # Sed expression to map a string onto a valid CPP name.
25401 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25403 # Sed expression to map a string onto a valid variable name.
25404 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25408 ## ----------------------------------- ##
25409 ## Main body of $CONFIG_STATUS script. ##
25410 ## ----------------------------------- ##
25412 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25415 # Save the log message, to keep $0 and so on meaningful, and to
25416 # report actual input values of CONFIG_FILES etc. instead of their
25417 # values after options handling.
25419 This file was extended by Web2C $as_me 2015, which was
25420 generated by GNU Autoconf 2.69. Invocation command line was
25422 CONFIG_FILES = $CONFIG_FILES
25423 CONFIG_HEADERS = $CONFIG_HEADERS
25424 CONFIG_LINKS = $CONFIG_LINKS
25425 CONFIG_COMMANDS = $CONFIG_COMMANDS
25428 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25433 case $ac_config_files in *"
25434 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25437 case $ac_config_headers in *"
25438 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25443 # Files that config.status was made for.
25444 config_files="$ac_config_files"
25445 config_headers="$ac_config_headers"
25446 config_links="$ac_config_links"
25447 config_commands="$ac_config_commands"
25451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25453 \`$as_me' instantiates files and other configuration actions
25454 from templates according to the current configuration. Unless the files
25455 and actions are specified as TAGs, all are instantiated by default.
25457 Usage: $0 [OPTION]... [TAG]...
25459 -h, --help print this help, then exit
25460 -V, --version print version number and configuration settings, then exit
25461 --config print configuration, then exit
25462 -q, --quiet, --silent
25463 do not print progress messages
25464 -d, --debug don't remove temporary files
25465 --recheck update $as_me by reconfiguring in the same conditions
25466 --file=FILE[:TEMPLATE]
25467 instantiate the configuration file FILE
25468 --header=FILE[:TEMPLATE]
25469 instantiate the configuration header FILE
25471 Configuration files:
25474 Configuration headers:
25477 Configuration links:
25480 Configuration commands:
25483 Report bugs to <tex-k@tug.org>."
25486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25487 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25489 Web2C config.status 2015
25490 configured by $0, generated by GNU Autoconf 2.69,
25491 with options \\"\$ac_cs_config\\"
25493 Copyright (C) 2012 Free Software Foundation, Inc.
25494 This config.status script is free software; the Free Software Foundation
25495 gives unlimited permission to copy, distribute and modify it."
25502 test -n "\$AWK" || AWK=awk
25505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25506 # The default lists apply if the user does not specify any file.
25512 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25513 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25517 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25529 # Handling of the options.
25530 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25532 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25533 $as_echo "$ac_cs_version"; exit ;;
25534 --config |
--confi |
--conf |
--con |
--co |
--c )
25535 $as_echo "$ac_cs_config"; exit ;;
25536 --debug |
--debu |
--deb |
--de |
--d |
-d )
25538 --file |
--fil |
--fi |
--f )
25541 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25542 '') as_fn_error $?
"missing file argument" ;;
25544 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25545 ac_need_defaults
=false
;;
25546 --header |
--heade |
--head |
--hea )
25549 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25551 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25552 ac_need_defaults
=false
;;
25554 # Conflict between --help and --header
25555 as_fn_error $?
"ambiguous option: \`$1'
25556 Try \`$0 --help' for more information.";;
25557 --help |
--hel |
-h )
25558 $as_echo "$ac_cs_usage"; exit ;;
25559 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25560 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25563 # This is an error.
25564 -*) as_fn_error $?
"unrecognized option: \`$1'
25565 Try \`$0 --help' for more information." ;;
25567 *) as_fn_append ac_config_targets
" $1"
25568 ac_need_defaults
=false
;;
25574 ac_configure_extra_args
=
25576 if $ac_cs_silent; then
25578 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25583 if \$ac_cs_recheck; then
25584 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25586 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25587 CONFIG_SHELL='$SHELL'
25588 export CONFIG_SHELL
25593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25597 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25598 ## Running $as_me. ##
25604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25608 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25611 # The HP-UX ksh and POSIX shell print the target directory to stdout
25612 # if CDPATH is set.
25613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25615 sed_quote_subst='$sed_quote_subst'
25616 double_quote_subst='$double_quote_subst'
25617 delay_variable_subst='$delay_variable_subst'
25618 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25619 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25620 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
25621 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
25622 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25623 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25624 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25625 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25626 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25627 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
25628 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25629 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25630 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
25631 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25632 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25633 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25634 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25635 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25636 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25637 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25638 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25639 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25640 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25641 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25642 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25643 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25644 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25645 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25646 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25647 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25648 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25649 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25650 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25651 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
25652 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
25653 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25654 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25655 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25656 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25657 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
25658 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
25659 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
25660 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25661 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25662 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
25663 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25664 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25665 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25666 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25667 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25668 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25669 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25670 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25671 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25672 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25673 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25674 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25675 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
25676 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25677 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"`'
25678 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
25679 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
25680 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
25681 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
25682 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25683 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25684 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25685 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25686 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25687 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25688 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25689 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25690 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
25691 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25692 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25693 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25694 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25695 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25696 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25697 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25698 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25699 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25700 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25701 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25702 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25703 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25704 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25705 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25706 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25707 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25708 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25709 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25710 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25711 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25712 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25713 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25714 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25715 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25716 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25717 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25718 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25719 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25720 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25721 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25722 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25723 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25724 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25725 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25726 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25727 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
25728 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25729 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25730 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25731 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25732 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25733 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25734 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25735 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25736 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25737 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25738 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25739 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25740 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25741 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25742 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25743 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25744 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25745 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25746 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
25747 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
25748 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25749 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25750 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25751 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25752 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25753 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25754 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25755 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25756 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25757 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25758 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25759 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25760 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25761 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25762 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25763 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25764 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25765 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25766 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25767 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25768 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25769 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25770 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25771 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25772 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25773 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25774 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25775 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25776 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25777 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25778 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25779 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25780 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25781 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25782 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25783 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25784 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25785 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25786 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25787 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25788 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25789 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25790 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25791 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25792 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25793 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25794 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25795 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25796 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25797 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25798 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25799 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25800 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25801 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25802 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25803 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25804 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25805 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25806 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25807 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25810 LTCFLAGS='$LTCFLAGS'
25811 compiler='$compiler_DEFAULT'
25813 # A function that is used when there is no print builtin or printf.
25814 func_fallback_echo ()
25816 eval 'cat <<_LTECHO_EOF
25821 # Quote evaled strings.
25838 deplibs_check_method \
25842 sharedlib_from_linklib_cmd \
25845 archiver_list_spec \
25851 lt_cv_sys_global_symbol_pipe \
25852 lt_cv_sys_global_symbol_to_cdecl \
25853 lt_cv_sys_global_symbol_to_import \
25854 lt_cv_sys_global_symbol_to_c_name_address \
25855 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25856 lt_cv_nm_interface \
25857 nm_file_list_spec \
25858 lt_cv_truncate_bin \
25859 lt_prog_compiler_no_builtin_flag \
25860 lt_prog_compiler_pic \
25861 lt_prog_compiler_wl \
25862 lt_prog_compiler_static \
25863 lt_cv_prog_compiler_c_o \
25872 export_dynamic_flag_spec \
25873 whole_archive_flag_spec \
25874 compiler_needs_object \
25876 allow_undefined_flag \
25877 no_undefined_flag \
25878 hardcode_libdir_flag_spec \
25879 hardcode_libdir_separator \
25883 variables_saved_for_relink \
25885 library_names_spec \
25887 install_override_mode \
25891 compiler_lib_search_dirs \
25896 compiler_lib_search_path \
25900 lt_prog_compiler_no_builtin_flag_CXX \
25901 lt_prog_compiler_pic_CXX \
25902 lt_prog_compiler_wl_CXX \
25903 lt_prog_compiler_static_CXX \
25904 lt_cv_prog_compiler_c_o_CXX \
25905 export_dynamic_flag_spec_CXX \
25906 whole_archive_flag_spec_CXX \
25907 compiler_needs_object_CXX \
25909 allow_undefined_flag_CXX \
25910 no_undefined_flag_CXX \
25911 hardcode_libdir_flag_spec_CXX \
25912 hardcode_libdir_separator_CXX \
25913 exclude_expsyms_CXX \
25914 include_expsyms_CXX \
25915 file_list_spec_CXX \
25916 compiler_lib_search_dirs_CXX \
25917 predep_objects_CXX \
25918 postdep_objects_CXX \
25921 compiler_lib_search_path_CXX; do
25922 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25923 *[\\\\\\\`\\"\\\$]*)
25924 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25927 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25932 # Double-quote double-evaled strings.
25933 for var in reload_cmds \
25934 old_postinstall_cmds \
25935 old_postuninstall_cmds \
25937 extract_expsyms_cmds \
25938 old_archive_from_new_cmds \
25939 old_archive_from_expsyms_cmds \
25941 archive_expsym_cmds \
25943 module_expsym_cmds \
25944 export_symbols_cmds \
25948 postuninstall_cmds \
25950 sys_lib_search_path_spec \
25951 configure_time_dlsearch_path \
25952 configure_time_lt_sys_library_path \
25954 old_archive_cmds_CXX \
25955 old_archive_from_new_cmds_CXX \
25956 old_archive_from_expsyms_cmds_CXX \
25958 archive_expsym_cmds_CXX \
25960 module_expsym_cmds_CXX \
25961 export_symbols_cmds_CXX \
25963 postlink_cmds_CXX; do
25964 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25965 *[\\\\\\\`\\"\\\$]*)
25966 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25969 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25974 ac_aux_dir='$ac_aux_dir'
25976 # See if we are running on zsh, and set the options that allow our
25977 # commands through without removal of \ escapes INIT.
25978 if test -n "\${ZSH_VERSION+set}"; then
25979 setopt NO_GLOB_SUBST
25990 enable_libtool_hack='$enable_libtool_hack'
25991 ac_aux_dir='$ac_aux_dir'
25994 cxxld_sh='$cxxld_sh'
25998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26000 # Handling of arguments.
26001 for ac_config_target
in $ac_config_targets
26003 case $ac_config_target in
26004 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26005 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26006 "CXXLD.sh") CONFIG_COMMANDS
="$CONFIG_COMMANDS CXXLD.sh" ;;
26007 "callexe.c") CONFIG_LINKS
="$CONFIG_LINKS callexe.c:../texlive/w32_wrapper/callexe.c" ;;
26008 "w2c/c-auto.h") CONFIG_HEADERS
="$CONFIG_HEADERS w2c/c-auto.h:c-auto.in" ;;
26009 "ff-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS ff-config.h:luatexdir/luafontloader/ff-config.in" ;;
26010 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26011 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
26012 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
26013 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
26014 "omegafonts/Makefile") CONFIG_FILES
="$CONFIG_FILES omegafonts/Makefile" ;;
26015 "otps/Makefile") CONFIG_FILES
="$CONFIG_FILES otps/Makefile" ;;
26016 "otps/win32/Makefile") CONFIG_FILES
="$CONFIG_FILES otps/win32/Makefile" ;;
26017 "window/Makefile") CONFIG_FILES
="$CONFIG_FILES window/Makefile" ;;
26018 "web2c-sh") CONFIG_FILES
="$CONFIG_FILES web2c-sh" ;;
26019 "tangle-sh") CONFIG_FILES
="$CONFIG_FILES tangle-sh" ;;
26020 "ctangleboot-sh") CONFIG_FILES
="$CONFIG_FILES ctangleboot-sh" ;;
26021 "silent-sh") CONFIG_FILES
="$CONFIG_FILES silent-sh" ;;
26022 "synctexdir/synctex.pc") CONFIG_FILES
="$CONFIG_FILES synctexdir/synctex.pc" ;;
26024 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26029 # If the user did not use the arguments to specify the items to instantiate,
26030 # then the envvar interface is used. Set only those that are not.
26031 # We use the long form for the default assignment because of an extremely
26032 # bizarre bug on SunOS 4.1.3.
26033 if $ac_need_defaults; then
26034 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26035 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26036 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
26037 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26040 # Have a temporary directory for convenience. Make it in the build tree
26041 # simply because there is no reason against having it here, and in addition,
26042 # creating and moving files from /tmp can sometimes cause problems.
26043 # Hook for its removal unless debugging.
26044 # Note that there is a small window in which the directory will not be cleaned:
26045 # after its creation but before its name has been assigned to `$tmp'.
26049 trap 'exit_status=$?
26050 : "${ac_tmp:=$tmp}"
26051 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
26053 trap 'as_fn_exit 1' 1 2 13 15
26055 # Create a (secure) tmp directory for tmp files.
26058 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26062 tmp
=.
/conf$$
-$RANDOM
26063 (umask 077 && mkdir
"$tmp")
26064 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
26067 # Set up the scripts for CONFIG_FILES section.
26068 # No need to generate them if there are no CONFIG_FILES.
26069 # This happens for instance with `./config.status config.h'.
26070 if test -n "$CONFIG_FILES"; then
26073 ac_cr
=`echo X | tr X '\015'`
26074 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26075 # But we know of no other shell where ac_cr would be empty at this
26076 # point, so we can use a bashism as a fallback.
26077 if test "x$ac_cr" = x
; then
26078 eval ac_cr
=\$
\'\\r
\'
26080 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26081 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26084 ac_cs_awk_cr
=$ac_cr
26087 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
26092 echo "cat >conf$$subs.awk <<_ACEOF" &&
26093 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26095 } >conf$$subs.sh ||
26096 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
26097 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
26099 for ac_last_try in false false false false false :; do
26100 . ./conf$$subs.sh ||
26101 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
26103 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26104 if test $ac_delim_n = $ac_delim_num; then
26106 elif $ac_last_try; then
26107 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
26109 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26112 rm -f conf$$subs.sh
26114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26115 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
26119 s/^/S["/; s
/!.
*/"]=/
26129 s/\(.\{148\}\)..*/\1/
26131 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26136 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26143 s/\(.\{148\}\)..*/\1/
26145 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26149 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26154 ' <conf$$subs.awk | sed '
26159 ' >>$CONFIG_STATUS || ac_write_fail=1
26160 rm -f conf$$subs.awk
26161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26163 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
26164 for (key in S) S_is_set[key] = 1
26170 nfields = split(line, field, "@
")
26172 len = length(field[1])
26173 for (i = 2; i < nfields; i++) {
26175 keylen = length(key)
26176 if (S_is_set[key]) {
26178 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26179 len += length(value) + length(field[++i])
26190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26191 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26192 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26195 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
26196 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
26199 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
26200 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
26201 # trailing colons and then remove the whole line if VPATH becomes empty
26202 # (actually we leave an empty line to preserve line numbers).
26203 if test "x
$srcdir" = x.; then
26204 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
26222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26223 fi # test -n "$CONFIG_FILES"
26225 # Set up the scripts for CONFIG_HEADERS section.
26226 # No need to generate them if there are no CONFIG_HEADERS.
26227 # This happens for instance with `./config.status Makefile'.
26228 if test -n "$CONFIG_HEADERS"; then
26229 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
26233 # Transform confdefs.h into an awk script `defines.awk', embedded as
26234 # here-document in config.status, that substitutes the proper values into
26235 # config.h.in to produce config.h.
26237 # Create a delimiter string that does not exist in confdefs.h, to ease
26238 # handling of long lines.
26240 for ac_last_try in false false :; do
26241 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
26242 if test -z "$ac_tt"; then
26244 elif $ac_last_try; then
26245 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
26247 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26251 # For the awk script, D is an array of macro values keyed by name,
26252 # likewise P contains macro parameters if any. Preserve backslash
26253 # newline sequences.
26255 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26257 s/.\{148\}/&'"$ac_delim"'/g
26260 s/^[ ]*#[ ]*define[ ][ ]*/ /
26267 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26269 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26273 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26274 D["\
1"]=" \
3\\\\\\n
"\\/p
26276 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26281 s/.\{148\}/&'"$ac_delim"'/g
26286 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26289 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26291 ' <confdefs.h | sed '
26292 s/'"$ac_delim"'/"\\\
26293 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26296 for (key in D) D_is_set[key] = 1
26299 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26301 split(line, arg, " ")
26302 if (arg[1] == "#") {
26306 defundef
= substr
(arg
[1], 2)
26309 split(mac1
, mac2
, "(") #)
26311 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26312 if (D_is_set
[macro
]) {
26313 # Preserve the white space surrounding the "#".
26314 print prefix
"define", macro P
[macro
] D
[macro
]
26317 # Replace #undef with comments. This is necessary, for example,
26318 # in the case of _POSIX_SOURCE, which is predefined and required
26319 # on some systems where configure will not decide to define it.
26320 if (defundef
== "undef") {
26321 print
"/*", prefix defundef
, macro
, "*/"
26329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26330 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
26331 fi # test -n "$CONFIG_HEADERS"
26334 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26339 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26341 case $ac_mode$ac_tag in
26343 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26344 :[FH
]-) ac_tag
=-:-;;
26345 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26362 -) ac_f
="$ac_tmp/stdin";;
26363 *) # Look for the file first in the build tree, then in the source tree
26364 # (if the path is not absolute). The absolute path cannot be DOS-style,
26365 # because $ac_f cannot contain `:'.
26369 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26371 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26373 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26374 as_fn_append ac_file_inputs
" '$ac_f'"
26377 # Let's still pretend it is `configure' which instantiates (i.e., don't
26378 # use $as_me), people would be surprised to read:
26379 # /* config.h. Generated by config.status. */
26380 configure_input
='Generated from '`
26381 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26383 if test x
"$ac_file" != x-
; then
26384 configure_input
="$ac_file. $configure_input"
26385 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26386 $as_echo "$as_me: creating $ac_file" >&6;}
26388 # Neutralize special characters interpreted by sed in replacement strings.
26389 case $configure_input in #(
26390 *\
&* |
*\|
* |
*\\* )
26391 ac_sed_conf_input
=`$as_echo "$configure_input" |
26392 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26393 *) ac_sed_conf_input
=$configure_input;;
26397 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
26398 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
26403 ac_dir
=`$as_dirname -- "$ac_file" ||
26404 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26405 X"$ac_file" : 'X\(//\)[^/]' \| \
26406 X"$ac_file" : 'X\(//\)$' \| \
26407 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26408 $as_echo X"$ac_file" |
26409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26413 /^X\(\/\/\)[^/].*/{
26426 as_dir
="$ac_dir"; as_fn_mkdir_p
26430 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26432 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26433 # A ".." for each directory in $ac_dir_suffix.
26434 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26435 case $ac_top_builddir_sub in
26436 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26437 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26440 ac_abs_top_builddir
=$ac_pwd
26441 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26442 # for backward compatibility:
26443 ac_top_builddir
=$ac_top_build_prefix
26446 .
) # We are building in place.
26448 ac_top_srcdir
=$ac_top_builddir_sub
26449 ac_abs_top_srcdir
=$ac_pwd ;;
26450 [\\/]* | ?
:[\\/]* ) # Absolute name.
26451 ac_srcdir
=$srcdir$ac_dir_suffix;
26452 ac_top_srcdir
=$srcdir
26453 ac_abs_top_srcdir
=$srcdir ;;
26454 *) # Relative name.
26455 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26456 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26457 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26459 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26469 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26470 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26472 ac_MKDIR_P
=$MKDIR_P
26474 [\\/$
]* | ?
:[\\/]* ) ;;
26475 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26480 # If the template does not know about datarootdir, expand it.
26481 # FIXME: This hack should be removed a few years after 2.60.
26482 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26493 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26494 *datarootdir
*) ac_datarootdir_seen
=yes;;
26495 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26497 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26500 ac_datarootdir_hack='
26501 s&@datadir@&$datadir&g
26502 s&@docdir@&$docdir&g
26503 s&@infodir@&$infodir&g
26504 s&@localedir@&$localedir&g
26505 s&@mandir@&$mandir&g
26506 s&\\\${datarootdir}&$datarootdir&g' ;;
26510 # Neutralize VPATH when `$srcdir' = `.'.
26511 # Shell code in configure.ac might set extrasub.
26512 # FIXME: do we really want to maintain this feature?
26513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26514 ac_sed_extra="$ac_vpsub
26517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26519 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26520 s|@configure_input@|
$ac_sed_conf_input|
;t t
26521 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26522 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26523 s
&@srcdir@
&$ac_srcdir&;t t
26524 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26525 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26526 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26527 s
&@builddir@
&$ac_builddir&;t t
26528 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26529 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26530 s
&@INSTALL@
&$ac_INSTALL&;t t
26531 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26532 $ac_datarootdir_hack
26534 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
26535 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
26537 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26538 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
26539 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
26540 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
26541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26542 which seems to be undefined. Please make sure it is defined" >&5
26543 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26544 which seems to be undefined. Please make sure it is defined" >&2;}
26546 rm -f "$ac_tmp/stdin"
26548 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
26549 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
26551 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26557 if test x"$ac_file" != x-; then
26559 $as_echo "/* $configure_input */" \
26560 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
26561 } >"$ac_tmp/config.h" \
26562 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26563 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26565 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26568 mv "$ac_tmp/config.h" "$ac_file" \
26569 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26572 $as_echo "/* $configure_input */" \
26573 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
26574 || as_fn_error $? "could not create -" "$LINENO" 5
26576 # Compute "$ac_file"'s index
in $config_headers.
26579 for _am_header
in $config_headers :; do
26580 case $_am_header in
26581 $_am_arg |
$_am_arg:* )
26584 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26587 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26588 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26589 X"$_am_arg" : 'X\(//\)[^/]' \| \
26590 X"$_am_arg" : 'X\(//\)$' \| \
26591 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26592 $as_echo X"$_am_arg" |
26593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26597 /^X\(\/\/\)[^/].*/{
26609 s/.*/./; q'`/stamp-h
$_am_stamp_count
26616 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26619 # Prefer the file from the source tree if names are identical.
26620 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26621 ac_source
=$srcdir/$ac_source
26624 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26625 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26627 if test ! -r "$ac_source"; then
26628 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
26632 # Try a relative symlink, then a hard link, then a copy.
26634 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26635 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26637 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26638 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26639 cp -p "$ac_source" "$ac_file" ||
26640 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26643 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26644 $as_echo "$as_me: executing $ac_file commands" >&6;}
26649 case $ac_file$ac_mode in
26650 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26651 # Older Autoconf quotes --file arguments for eval, but not when files
26652 # are listed without --file. Let's play safe and only enable the eval
26653 # if we detect the quoting.
26654 case $CONFIG_FILES in
26655 *\'*) eval set x
"$CONFIG_FILES" ;;
26656 *) set x
$CONFIG_FILES ;;
26661 # Strip MF so we end up with the name of the file.
26662 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26663 # Check whether this is an Automake generated Makefile or not.
26664 # We used to match only the files named 'Makefile.in', but
26665 # some people rename them; so instead we look at the file content.
26666 # Grep'ing the first line is not enough: some people post-process
26667 # each Makefile.in and add a new line on top of each file to say so.
26668 # Grep'ing the whole file is not good either: AIX grep has a line
26669 # limit of 2048, but all sed's we know have understand at least 4000.
26670 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26671 dirpart
=`$as_dirname -- "$mf" ||
26672 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26673 X"$mf" : 'X\(//\)[^/]' \| \
26674 X"$mf" : 'X\(//\)$' \| \
26675 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26681 /^X\(\/\/\)[^/].*/{
26697 # Extract the definition of DEPDIR, am__include, and am__quote
26698 # from the Makefile without running 'make'.
26699 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26700 test -z "$DEPDIR" && continue
26701 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26702 test -z "$am__include" && continue
26703 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26704 # Find all dependency output files, they are included files with
26705 # $(DEPDIR) in their names. We invoke sed twice because it is the
26706 # simplest approach to changing $(DEPDIR) to its actual value in the
26708 for file in `sed -n "
26709 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26710 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
26711 # Make sure the directory exists.
26712 test -f "$dirpart/$file" && continue
26713 fdir
=`$as_dirname -- "$file" ||
26714 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26715 X"$file" : 'X\(//\)[^/]' \| \
26716 X"$file" : 'X\(//\)$' \| \
26717 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26718 $as_echo X"$file" |
26719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26723 /^X\(\/\/\)[^/].*/{
26736 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26737 # echo "creating $dirpart/$file"
26738 echo '# dummy' > "$dirpart/$file"
26745 # See if we are running on zsh, and set the options that allow our
26746 # commands through without removal of \ escapes.
26747 if test -n "${ZSH_VERSION+set}"; then
26748 setopt NO_GLOB_SUBST
26752 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26755 cat <<_LT_EOF >> "$cfgfile"
26757 # Generated automatically by $as_me ($PACKAGE) $VERSION
26758 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26759 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26761 # Provide generalized library-building support services.
26762 # Written by Gordon Matzigkeit, 1996
26764 # Copyright (C) 2014 Free Software Foundation, Inc.
26765 # This is free software; see the source for copying conditions. There is NO
26766 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26768 # GNU Libtool is free software; you can redistribute it and/or modify
26769 # it under the terms of the GNU General Public License as published by
26770 # the Free Software Foundation; either version 2 of of the License, or
26771 # (at your option) any later version.
26773 # As a special exception to the GNU General Public License, if you
26774 # distribute this file as part of a program or library that is built
26775 # using GNU Libtool, you may include this file under the same
26776 # distribution terms that you use for the rest of that program.
26778 # GNU Libtool is distributed in the hope that it will be useful, but
26779 # WITHOUT ANY WARRANTY; without even the implied warranty of
26780 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26781 # GNU General Public License for more details.
26783 # You should have received a copy of the GNU General Public License
26784 # along with this program. If not, see <http://www.gnu.org/licenses/>.
26787 # The names of the tagged configurations supported by this script.
26788 available_tags='CXX '
26790 # Configured defaults for sys_lib_dlsearch_path munging.
26791 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
26793 # ### BEGIN LIBTOOL CONFIG
26795 # Which release of libtool.m4 was used?
26796 macro_version=$macro_version
26797 macro_revision=$macro_revision
26799 # Assembler program.
26802 # DLL creation program.
26803 DLLTOOL=$lt_DLLTOOL
26805 # Object dumper program.
26806 OBJDUMP=$lt_OBJDUMP
26808 # Whether or not to build shared libraries.
26809 build_libtool_libs=$enable_shared
26811 # Whether or not to build static libraries.
26812 build_old_libs=$enable_static
26814 # What type of objects to build.
26817 # Whether or not to optimize for fast installation.
26818 fast_install=$enable_fast_install
26820 # Shared archive member basename,for filename based shared library versioning on AIX.
26821 shared_archive_member_spec=$shared_archive_member_spec
26823 # Shell to use when invoking shell scripts.
26826 # An echo program that protects backslashes.
26829 # The PATH separator for the build system.
26830 PATH_SEPARATOR=$lt_PATH_SEPARATOR
26833 host_alias=$host_alias
26837 # The build system.
26838 build_alias=$build_alias
26842 # A sed program that does not truncate output.
26845 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26846 Xsed="\$SED -e 1s/^X//"
26848 # A grep program that handles long lines.
26854 # A literal string matcher.
26857 # A BSD- or MS-compatible name lister.
26860 # Whether we need soft or hard links.
26863 # What is the maximum length of a command?
26864 max_cmd_len=$max_cmd_len
26866 # Object file suffix (normally "o").
26869 # Executable file suffix (normally "").
26872 # whether the shell understands "unset".
26875 # turn spaces into newlines.
26878 # turn newlines into spaces.
26881 # convert \$build file names to \$host format.
26882 to_host_file_cmd=$lt_cv_to_host_file_cmd
26884 # convert \$build files to toolchain format.
26885 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
26887 # Method to check whether dependent libraries are shared objects.
26888 deplibs_check_method=$lt_deplibs_check_method
26890 # Command to use when deplibs_check_method = "file_magic".
26891 file_magic_cmd=$lt_file_magic_cmd
26893 # How to find potential files when deplibs_check_method = "file_magic".
26894 file_magic_glob=$lt_file_magic_glob
26896 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
26897 want_nocaseglob=$lt_want_nocaseglob
26899 # Command to associate shared and link libraries.
26900 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
26905 # Flags to create an archive.
26906 AR_FLAGS=$lt_AR_FLAGS
26908 # How to feed a file listing to the archiver.
26909 archiver_list_spec=$lt_archiver_list_spec
26911 # A symbol stripping program.
26914 # Commands used to install an old-style archive.
26916 old_postinstall_cmds=$lt_old_postinstall_cmds
26917 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26919 # Whether to use a lock for old archive extraction.
26920 lock_old_archive_extraction=$lock_old_archive_extraction
26925 # LTCC compiler flags.
26926 LTCFLAGS=$lt_CFLAGS
26928 # Take the output of nm and produce a listing of raw symbols and C names.
26929 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26931 # Transform the output of nm in a proper C declaration.
26932 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26934 # Transform the output of nm into a list of symbols to manually relocate.
26935 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
26937 # Transform the output of nm in a C name address pair.
26938 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26940 # Transform the output of nm in a C name address pair when lib prefix is needed.
26941 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26943 # The name lister interface.
26944 nm_interface=$lt_lt_cv_nm_interface
26946 # Specify filename containing input files for \$NM.
26947 nm_file_list_spec=$lt_nm_file_list_spec
26949 # The root where to search for dependent libraries,and where our libraries should be installed.
26950 lt_sysroot=$lt_sysroot
26952 # Command to truncate a binary pipe.
26953 lt_truncate_bin=$lt_lt_cv_truncate_bin
26955 # The name of the directory that contains temporary libtool files.
26958 # Used to examine libraries when file_magic_cmd begins with "file".
26959 MAGIC_CMD=$MAGIC_CMD
26961 # Must we lock files when doing compilation?
26962 need_locks=$lt_need_locks
26965 MANIFEST_TOOL=$lt_MANIFEST_TOOL
26967 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26968 DSYMUTIL=$lt_DSYMUTIL
26970 # Tool to change global to local symbols on Mac OS X.
26973 # Tool to manipulate fat objects and archives on Mac OS X.
26976 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26979 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26980 OTOOL64=$lt_OTOOL64
26982 # Old archive suffix (normally "a").
26985 # Shared library suffix (normally ".so").
26986 shrext_cmds=$lt_shrext_cmds
26988 # The commands to extract the exported symbol list from a shared archive.
26989 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26991 # Variables whose values should be saved in libtool wrapper scripts and
26992 # restored at link time.
26993 variables_saved_for_relink=$lt_variables_saved_for_relink
26995 # Do we need the "lib" prefix for modules?
26996 need_lib_prefix=$need_lib_prefix
26998 # Do we need a version for libraries?
26999 need_version=$need_version
27001 # Library versioning type.
27002 version_type=$version_type
27004 # Shared library runtime path variable.
27005 runpath_var=$runpath_var
27007 # Shared library path variable.
27008 shlibpath_var=$shlibpath_var
27010 # Is shlibpath searched before the hard-coded library search path?
27011 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27013 # Format of library name prefix.
27014 libname_spec=$lt_libname_spec
27016 # List of archive names. First name is the real one, the rest are links.
27017 # The last name is the one that the linker finds with -lNAME
27018 library_names_spec=$lt_library_names_spec
27020 # The coded name of the library, if different from the real name.
27021 soname_spec=$lt_soname_spec
27023 # Permission mode override for installation of shared libraries.
27024 install_override_mode=$lt_install_override_mode
27026 # Command to use after installation of a shared archive.
27027 postinstall_cmds=$lt_postinstall_cmds
27029 # Command to use after uninstallation of a shared archive.
27030 postuninstall_cmds=$lt_postuninstall_cmds
27032 # Commands used to finish a libtool library installation in a directory.
27033 finish_cmds=$lt_finish_cmds
27035 # As "finish_cmds", except a single script fragment to be evaled but
27037 finish_eval=$lt_finish_eval
27039 # Whether we should hardcode library paths into libraries.
27040 hardcode_into_libs=$hardcode_into_libs
27042 # Compile-time system search path for libraries.
27043 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27045 # Detected run-time system search path for libraries.
27046 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
27048 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
27049 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
27051 # Whether dlopen is supported.
27052 dlopen_support=$enable_dlopen
27054 # Whether dlopen of programs is supported.
27055 dlopen_self=$enable_dlopen_self
27057 # Whether dlopen of statically linked programs is supported.
27058 dlopen_self_static=$enable_dlopen_self_static
27060 # Commands to strip libraries.
27061 old_striplib=$lt_old_striplib
27062 striplib=$lt_striplib
27065 # The linker used to build libraries.
27068 # How to create reloadable object files.
27069 reload_flag=$lt_reload_flag
27070 reload_cmds=$lt_reload_cmds
27072 # Commands used to build an old-style archive.
27073 old_archive_cmds=$lt_old_archive_cmds
27075 # A language specific compiler.
27078 # Is the compiler the GNU compiler?
27081 # Compiler flag to turn off builtin functions.
27082 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27084 # Additional compiler flags for building library objects.
27085 pic_flag=$lt_lt_prog_compiler_pic
27087 # How to pass a linker flag through the compiler.
27088 wl=$lt_lt_prog_compiler_wl
27090 # Compiler flag to prevent dynamic linking.
27091 link_static_flag=$lt_lt_prog_compiler_static
27093 # Does compiler simultaneously support -c and -o options?
27094 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27096 # Whether or not to add -lc for building shared libraries.
27097 build_libtool_need_lc=$archive_cmds_need_lc
27099 # Whether or not to disallow shared libs when runtime libs are static.
27100 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27102 # Compiler flag to allow reflexive dlopens.
27103 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27105 # Compiler flag to generate shared objects directly from archives.
27106 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27108 # Whether the compiler copes with passing no objects directly.
27109 compiler_needs_object=$lt_compiler_needs_object
27111 # Create an old-style archive from a shared archive.
27112 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27114 # Create a temporary old-style archive to link instead of a shared archive.
27115 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27117 # Commands used to build a shared archive.
27118 archive_cmds=$lt_archive_cmds
27119 archive_expsym_cmds=$lt_archive_expsym_cmds
27121 # Commands used to build a loadable module if different from building
27122 # a shared archive.
27123 module_cmds=$lt_module_cmds
27124 module_expsym_cmds=$lt_module_expsym_cmds
27126 # Whether we are building with GNU ld or not.
27127 with_gnu_ld=$lt_with_gnu_ld
27129 # Flag that allows shared libraries with undefined symbols to be built.
27130 allow_undefined_flag=$lt_allow_undefined_flag
27132 # Flag that enforces no undefined symbols.
27133 no_undefined_flag=$lt_no_undefined_flag
27135 # Flag to hardcode \$libdir into a binary during linking.
27136 # This must work even if \$libdir does not exist
27137 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27139 # Whether we need a single "-rpath" flag with a separated argument.
27140 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27142 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27143 # DIR into the resulting binary.
27144 hardcode_direct=$hardcode_direct
27146 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27147 # DIR into the resulting binary and the resulting library dependency is
27148 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
27149 # library is relocated.
27150 hardcode_direct_absolute=$hardcode_direct_absolute
27152 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27153 # into the resulting binary.
27154 hardcode_minus_L=$hardcode_minus_L
27156 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27157 # into the resulting binary.
27158 hardcode_shlibpath_var=$hardcode_shlibpath_var
27160 # Set to "yes" if building a shared library automatically hardcodes DIR
27161 # into the library and all subsequent libraries and executables linked
27163 hardcode_automatic=$hardcode_automatic
27165 # Set to yes if linker adds runtime paths of dependent libraries
27166 # to runtime path list.
27167 inherit_rpath=$inherit_rpath
27169 # Whether libtool must link a program against all its dependency libraries.
27170 link_all_deplibs=$link_all_deplibs
27172 # Set to "yes" if exported symbols are required.
27173 always_export_symbols=$always_export_symbols
27175 # The commands to list exported symbols.
27176 export_symbols_cmds=$lt_export_symbols_cmds
27178 # Symbols that should not be listed in the preloaded symbols.
27179 exclude_expsyms=$lt_exclude_expsyms
27181 # Symbols that must always be exported.
27182 include_expsyms=$lt_include_expsyms
27184 # Commands necessary for linking programs (against libraries) with templates.
27185 prelink_cmds=$lt_prelink_cmds
27187 # Commands necessary for finishing linking programs.
27188 postlink_cmds=$lt_postlink_cmds
27190 # Specify filename containing input files.
27191 file_list_spec=$lt_file_list_spec
27193 # How to hardcode a shared library path into an executable.
27194 hardcode_action=$hardcode_action
27196 # The directories searched by this compiler when creating a shared library.
27197 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27199 # Dependencies to place before and after the objects being linked to
27200 # create a shared library.
27201 predep_objects=$lt_predep_objects
27202 postdep_objects=$lt_postdep_objects
27203 predeps=$lt_predeps
27204 postdeps=$lt_postdeps
27206 # The library search path used internally by the compiler when linking
27207 # a shared library.
27208 compiler_lib_search_path=$lt_compiler_lib_search_path
27210 # ### END LIBTOOL CONFIG
27214 cat <<'_LT_EOF' >> "$cfgfile"
27216 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
27218 # func_munge_path_list VARIABLE PATH
27219 # -----------------------------------
27220 # VARIABLE is name of variable containing _space_ separated list of
27221 # directories to be munged by the contents of PATH, which is string
27224 # string "DIR[ DIR]" will be prepended to VARIABLE
27226 # string "DIR[ DIR]" will be appended to VARIABLE
27227 # "DIRP[:DIRP]::[DIRA:]DIRA"
27228 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
27229 # "DIRA[ DIRA]" will be appended to VARIABLE
27231 # VARIABLE will be replaced by "DIR[ DIR]"
27232 func_munge_path_list ()
27238 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
27241 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
27244 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
27245 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
27248 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
27254 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
27255 func_cc_basename ()
27257 for cc_temp in $*""; do
27259 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27260 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27265 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
27269 # ### END FUNCTIONS SHARED WITH CONFIGURE
27275 cat <<\_LT_EOF
>> "$cfgfile"
27276 # AIX sometimes has problems with the GCC collect2 program. For some
27277 # reason, if we set the COLLECT_NAMES environment variable, the problems
27278 # vanish in a puff of smoke.
27279 if test set != "${COLLECT_NAMES+set}"; then
27281 export COLLECT_NAMES
27288 ltmain
=$ac_aux_dir/ltmain.sh
27291 # We use sed instead of cat because bash on DJGPP gets confused if
27292 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27293 # text mode, it properly converts lines to CR/LF. This bash problem
27294 # is reportedly fixed, but why not run on old versions too?
27295 sed '$q' "$ltmain" >> "$cfgfile" \
27296 ||
(rm -f "$cfgfile"; exit 1)
27298 mv -f "$cfgfile" "$ofile" ||
27299 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27303 cat <<_LT_EOF >> "$ofile"
27305 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27307 # The linker used to build libraries.
27310 # How to create reloadable object files.
27311 reload_flag=$lt_reload_flag_CXX
27312 reload_cmds=$lt_reload_cmds_CXX
27314 # Commands used to build an old-style archive.
27315 old_archive_cmds=$lt_old_archive_cmds_CXX
27317 # A language specific compiler.
27318 CC=$lt_compiler_CXX
27320 # Is the compiler the GNU compiler?
27323 # Compiler flag to turn off builtin functions.
27324 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27326 # Additional compiler flags for building library objects.
27327 pic_flag=$lt_lt_prog_compiler_pic_CXX
27329 # How to pass a linker flag through the compiler.
27330 wl=$lt_lt_prog_compiler_wl_CXX
27332 # Compiler flag to prevent dynamic linking.
27333 link_static_flag=$lt_lt_prog_compiler_static_CXX
27335 # Does compiler simultaneously support -c and -o options?
27336 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27338 # Whether or not to add -lc for building shared libraries.
27339 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27341 # Whether or not to disallow shared libs when runtime libs are static.
27342 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27344 # Compiler flag to allow reflexive dlopens.
27345 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27347 # Compiler flag to generate shared objects directly from archives.
27348 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27350 # Whether the compiler copes with passing no objects directly.
27351 compiler_needs_object=$lt_compiler_needs_object_CXX
27353 # Create an old-style archive from a shared archive.
27354 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27356 # Create a temporary old-style archive to link instead of a shared archive.
27357 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27359 # Commands used to build a shared archive.
27360 archive_cmds=$lt_archive_cmds_CXX
27361 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27363 # Commands used to build a loadable module if different from building
27364 # a shared archive.
27365 module_cmds=$lt_module_cmds_CXX
27366 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27368 # Whether we are building with GNU ld or not.
27369 with_gnu_ld=$lt_with_gnu_ld_CXX
27371 # Flag that allows shared libraries with undefined symbols to be built.
27372 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27374 # Flag that enforces no undefined symbols.
27375 no_undefined_flag=$lt_no_undefined_flag_CXX
27377 # Flag to hardcode \$libdir into a binary during linking.
27378 # This must work even if \$libdir does not exist
27379 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27381 # Whether we need a single "-rpath" flag with a separated argument.
27382 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27384 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27385 # DIR into the resulting binary.
27386 hardcode_direct=$hardcode_direct_CXX
27388 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
27389 # DIR into the resulting binary and the resulting library dependency is
27390 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
27391 # library is relocated.
27392 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27394 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27395 # into the resulting binary.
27396 hardcode_minus_L=$hardcode_minus_L_CXX
27398 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27399 # into the resulting binary.
27400 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27402 # Set to "yes" if building a shared library automatically hardcodes DIR
27403 # into the library and all subsequent libraries and executables linked
27405 hardcode_automatic=$hardcode_automatic_CXX
27407 # Set to yes if linker adds runtime paths of dependent libraries
27408 # to runtime path list.
27409 inherit_rpath=$inherit_rpath_CXX
27411 # Whether libtool must link a program against all its dependency libraries.
27412 link_all_deplibs=$link_all_deplibs_CXX
27414 # Set to "yes" if exported symbols are required.
27415 always_export_symbols=$always_export_symbols_CXX
27417 # The commands to list exported symbols.
27418 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27420 # Symbols that should not be listed in the preloaded symbols.
27421 exclude_expsyms=$lt_exclude_expsyms_CXX
27423 # Symbols that must always be exported.
27424 include_expsyms=$lt_include_expsyms_CXX
27426 # Commands necessary for linking programs (against libraries) with templates.
27427 prelink_cmds=$lt_prelink_cmds_CXX
27429 # Commands necessary for finishing linking programs.
27430 postlink_cmds=$lt_postlink_cmds_CXX
27432 # Specify filename containing input files.
27433 file_list_spec=$lt_file_list_spec_CXX
27435 # How to hardcode a shared library path into an executable.
27436 hardcode_action=$hardcode_action_CXX
27438 # The directories searched by this compiler when creating a shared library.
27439 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27441 # Dependencies to place before and after the objects being linked to
27442 # create a shared library.
27443 predep_objects=$lt_predep_objects_CXX
27444 postdep_objects=$lt_postdep_objects_CXX
27445 predeps=$lt_predeps_CXX
27446 postdeps=$lt_postdeps_CXX
27448 # The library search path used internally by the compiler when linking
27449 # a shared library.
27450 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27452 # ### END LIBTOOL TAG CONFIG: CXX
27455 ## KPSE_LT_HACK: Prevent libtool from linking dependency_libs
27456 if test "x$enable_libtool_hack" = xyes
; then
27457 $SED '/# Convert "-framework/i\
27458 ## KPSE_LT_HACK: ignore dependency_libs\
27459 test "X$installed" = Xyes && dependency_libs=\
27460 ' "$ofile" >"$cfgfile"
27461 mv "$cfgfile" "$ofile" ||
27462 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27466 "CXXLD.sh":C
) echo "$cxxld_sh" >CXXLD.sh
; chmod +x CXXLD.sh
;;
27467 "w2c/c-auto.h":H
) sed -e 's/^#define PACKAGE/#define WEB2C_PACKAGE/' \
27468 -e 's/^#define VERSION/#define WEB2C_VERSION/' w2c
/c-auto.h
>c-auto.tmp \
27469 && mv -f c-auto.tmp w2c
/c-auto.h
;;
27470 "web2c-sh":F
) chmod +x web2c-sh
;;
27471 "tangle-sh":F
) chmod +x tangle-sh
;;
27472 "ctangleboot-sh":F
) chmod +x ctangleboot-sh
;;
27473 "silent-sh":F
) chmod +x silent-sh
;;
27481 ac_clean_files
=$ac_clean_files_save
27483 test $ac_write_fail = 0 ||
27484 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27486 if test "x$cross_compiling" = xyes
; then :
27487 if test "x$cache_file" != x
/dev
/null
; then :
27488 cache_file
=config.cache
27490 ac_configure_args
="$ac_configure_args --host='$kpse_build_alias' \
27491 CC='$BUILDCC' CFLAGS='$BUILDCFLAGS' \
27492 CPPFLAGS='$BUILDCPPFLAGS' LDFLAGS='$BUILDLDFLAGS'"
27495 # configure is writing to config.log, and then calls config.status.
27496 # config.status does its own redirection, appending to config.log.
27497 # Unfortunately, on DOS this fails, as config.log is still kept open
27498 # by configure, so config.status won't be able to write to it; its
27499 # output is simply discarded. So we exec the FD to /dev/null,
27500 # effectively closing config.log, so it can be properly (re)opened and
27501 # appended to by config.status. When coming back to configure, we
27502 # need to make the FD available again.
27503 if test "$no_create" != yes; then
27505 ac_config_status_args
=
27506 test "$silent" = yes &&
27507 ac_config_status_args
="$ac_config_status_args --quiet"
27509 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27511 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27512 # would make configure fail if this is the last instruction.
27513 $ac_cs_success || as_fn_exit
1
27517 # CONFIG_SUBDIRS section.
27519 if test "$no_recursion" != yes; then
27521 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
27522 # so they do not pile up.
27523 ac_sub_configure_args
=
27525 eval "set x $ac_configure_args"
27529 if test -n "$ac_prev"; then
27534 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27535 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27536 ac_prev
=cache_file
;;
27537 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27538 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27541 --config-cache |
-C)
27543 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27545 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27547 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27549 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27551 --disable-option-checking)
27555 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27557 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
27561 # Always prepend --prefix to ensure using the same prefix
27562 # in subdir configurations.
27563 ac_arg
="--prefix=$prefix"
27565 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27567 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
27570 if test "$silent" = yes; then
27571 ac_sub_configure_args
="--silent $ac_sub_configure_args"
27574 # Always prepend --disable-option-checking to silence warnings, since
27575 # different subdirs can have different --enable and --with options.
27576 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
27579 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
27581 # Do not complain, so a configure script can configure whichever
27582 # parts of a large source tree are present.
27583 test -d "$srcdir/$ac_dir" ||
continue
27585 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
27586 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
27587 $as_echo "$ac_msg" >&6
27588 as_dir
="$ac_dir"; as_fn_mkdir_p
27592 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27594 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27595 # A ".." for each directory in $ac_dir_suffix.
27596 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27597 case $ac_top_builddir_sub in
27598 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27599 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27602 ac_abs_top_builddir
=$ac_pwd
27603 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27604 # for backward compatibility:
27605 ac_top_builddir
=$ac_top_build_prefix
27608 .
) # We are building in place.
27610 ac_top_srcdir
=$ac_top_builddir_sub
27611 ac_abs_top_srcdir
=$ac_pwd ;;
27612 [\\/]* | ?
:[\\/]* ) # Absolute name.
27613 ac_srcdir
=$srcdir$ac_dir_suffix;
27614 ac_top_srcdir
=$srcdir
27615 ac_abs_top_srcdir
=$srcdir ;;
27616 *) # Relative name.
27617 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27618 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27619 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27621 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27626 # Check for guested configure; otherwise get Cygnus style configure.
27627 if test -f "$ac_srcdir/configure.gnu"; then
27628 ac_sub_configure
=$ac_srcdir/configure.gnu
27629 elif test -f "$ac_srcdir/configure"; then
27630 ac_sub_configure
=$ac_srcdir/configure
27631 elif test -f "$ac_srcdir/configure.in"; then
27632 # This should be Cygnus configure.
27633 ac_sub_configure
=$ac_aux_dir/configure
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
27636 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
27640 # The recursion is here.
27641 if test -n "$ac_sub_configure"; then
27642 # Make the cache file name correct relative to the subdirectory.
27643 case $cache_file in
27644 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
27645 *) # Relative name.
27646 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
27649 { $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
27650 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
27651 # The eval makes quoting arguments work.
27652 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
27653 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
27654 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
27660 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27662 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}