2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for TeX Live 2015-03-07.
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.
591 PACKAGE_NAME
='TeX Live'
592 PACKAGE_TARNAME
='tex-live'
593 PACKAGE_VERSION
='2015-03-07'
594 PACKAGE_STRING
='TeX Live 2015-03-07'
595 PACKAGE_BUGREPORT
='tex-k@tug.org'
598 ac_unique_file
="m4/kpse-pkgs.m4"
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
687 MAINTAINER_MODE_FALSE
711 INSTALL_STRIP_PROGRAM
768 program_transform_name
781 enable_option_checking
784 enable_native_texlive_build
786 enable_cxx_runtime_hack
805 enable_euptex_synctex
808 enable_pdftex_synctex
830 enable_linked_scripts
846 enable_mktexmf_default
847 enable_mktexpk_default
848 enable_mktextfm_default
851 enable_mktexfmt_default
852 enable_mktextex_default
853 enable_dependency_tracking
855 enable_maintainer_mode
856 enable_compiler_warnings
869 ac_precious_vars
='build_alias
884 ac_subdirs_all
='texk/kpathsea
885 auxdir/auxsub libs utils texk'
887 # Initialize some variables set by options.
889 ac_init_version
=false
890 ac_unrecognized_opts
=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
901 program_transform_name
=s
,x
,x
,
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir
='${exec_prefix}/bin'
916 sbindir
='${exec_prefix}/sbin'
917 libexecdir
='${exec_prefix}/libexec'
918 datarootdir
='${prefix}/share'
919 datadir
='${datarootdir}'
920 sysconfdir
='${prefix}/etc'
921 sharedstatedir
='${prefix}/com'
922 localstatedir
='${prefix}/var'
923 includedir
='${prefix}/include'
924 oldincludedir
='/usr/include'
925 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
926 infodir
='${datarootdir}/info'
931 libdir
='${exec_prefix}/lib'
932 localedir
='${datarootdir}/locale'
933 mandir
='${datarootdir}/man'
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\
$ac_option
947 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
958 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
960 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
963 -build |
--build |
--buil |
--bui |
--bu)
964 ac_prev
=build_alias
;;
965 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
966 build_alias
=$ac_optarg ;;
968 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
969 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
970 ac_prev
=cache_file
;;
971 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
972 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
973 cache_file
=$ac_optarg ;;
976 cache_file
=config.cache
;;
978 -datadir |
--datadir |
--datadi |
--datad)
980 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
981 datadir
=$ac_optarg ;;
983 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
984 |
--dataroo |
--dataro |
--datar)
985 ac_prev
=datarootdir
;;
986 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
987 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
988 datarootdir
=$ac_optarg ;;
990 -disable-* |
--disable-*)
991 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
994 as_fn_error $?
"invalid feature name: $ac_useropt"
995 ac_useropt_orig
=$ac_useropt
996 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
1001 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep
=', ';;
1004 eval enable_
$ac_useropt=no
;;
1006 -docdir |
--docdir |
--docdi |
--doc |
--do)
1008 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1009 docdir
=$ac_optarg ;;
1011 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1013 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1014 dvidir
=$ac_optarg ;;
1016 -enable-* |
--enable-*)
1017 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1020 as_fn_error $?
"invalid feature name: $ac_useropt"
1021 ac_useropt_orig
=$ac_useropt
1022 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_
$ac_useropt"
1027 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep
=', ';;
1030 eval enable_
$ac_useropt=\
$ac_optarg ;;
1032 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1033 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1034 |
--exec |
--exe |
--ex)
1035 ac_prev
=exec_prefix
;;
1036 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1037 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1038 |
--exec=* |
--exe=* |
--ex=*)
1039 exec_prefix
=$ac_optarg ;;
1041 -gas |
--gas |
--ga |
--g)
1042 # Obsolete; use --with-gas.
1045 -help |
--help |
--hel |
--he |
-h)
1046 ac_init_help
=long
;;
1047 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1048 ac_init_help
=recursive
;;
1049 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1050 ac_init_help
=short
;;
1052 -host |
--host |
--hos |
--ho)
1053 ac_prev
=host_alias
;;
1054 -host=* |
--host=* |
--hos=* |
--ho=*)
1055 host_alias
=$ac_optarg ;;
1057 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1059 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1061 htmldir
=$ac_optarg ;;
1063 -includedir |
--includedir |
--includedi |
--included |
--include \
1064 |
--includ |
--inclu |
--incl |
--inc)
1065 ac_prev
=includedir
;;
1066 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1067 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1068 includedir
=$ac_optarg ;;
1070 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1072 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1073 infodir
=$ac_optarg ;;
1075 -libdir |
--libdir |
--libdi |
--libd)
1077 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1078 libdir
=$ac_optarg ;;
1080 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1081 |
--libexe |
--libex |
--libe)
1082 ac_prev
=libexecdir
;;
1083 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1084 |
--libexe=* |
--libex=* |
--libe=*)
1085 libexecdir
=$ac_optarg ;;
1087 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1088 ac_prev
=localedir
;;
1089 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1090 localedir
=$ac_optarg ;;
1092 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1093 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1094 ac_prev
=localstatedir
;;
1095 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1096 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1097 localstatedir
=$ac_optarg ;;
1099 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1101 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1102 mandir
=$ac_optarg ;;
1104 -nfp |
--nfp |
--nf)
1105 # Obsolete; use --without-fp.
1108 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1109 |
--no-cr |
--no-c |
-n)
1112 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1113 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1116 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1117 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1118 |
--oldin |
--oldi |
--old |
--ol |
--o)
1119 ac_prev
=oldincludedir
;;
1120 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1121 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1122 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1123 oldincludedir
=$ac_optarg ;;
1125 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1127 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1128 prefix
=$ac_optarg ;;
1130 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1131 |
--program-pre |
--program-pr |
--program-p)
1132 ac_prev
=program_prefix
;;
1133 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1134 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1135 program_prefix
=$ac_optarg ;;
1137 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1138 |
--program-suf |
--program-su |
--program-s)
1139 ac_prev
=program_suffix
;;
1140 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1141 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1142 program_suffix
=$ac_optarg ;;
1144 -program-transform-name |
--program-transform-name \
1145 |
--program-transform-nam |
--program-transform-na \
1146 |
--program-transform-n |
--program-transform- \
1147 |
--program-transform |
--program-transfor \
1148 |
--program-transfo |
--program-transf \
1149 |
--program-trans |
--program-tran \
1150 |
--progr-tra |
--program-tr |
--program-t)
1151 ac_prev
=program_transform_name
;;
1152 -program-transform-name=* |
--program-transform-name=* \
1153 |
--program-transform-nam=* |
--program-transform-na=* \
1154 |
--program-transform-n=* |
--program-transform-=* \
1155 |
--program-transform=* |
--program-transfor=* \
1156 |
--program-transfo=* |
--program-transf=* \
1157 |
--program-trans=* |
--program-tran=* \
1158 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1159 program_transform_name
=$ac_optarg ;;
1161 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1163 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1164 pdfdir
=$ac_optarg ;;
1166 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1168 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1171 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1172 |
-silent |
--silent |
--silen |
--sile |
--sil)
1175 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1177 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1179 sbindir
=$ac_optarg ;;
1181 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1182 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1183 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1185 ac_prev
=sharedstatedir
;;
1186 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1187 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1188 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1190 sharedstatedir
=$ac_optarg ;;
1192 -site |
--site |
--sit)
1194 -site=* |
--site=* |
--sit=*)
1197 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1199 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1200 srcdir
=$ac_optarg ;;
1202 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1203 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1204 ac_prev
=sysconfdir
;;
1205 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1206 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1207 sysconfdir
=$ac_optarg ;;
1209 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1210 ac_prev
=target_alias
;;
1211 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1212 target_alias
=$ac_optarg ;;
1214 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1217 -version |
--version |
--versio |
--versi |
--vers |
-V)
1218 ac_init_version
=: ;;
1221 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1224 as_fn_error $?
"invalid package name: $ac_useropt"
1225 ac_useropt_orig
=$ac_useropt
1226 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1231 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep
=', ';;
1234 eval with_
$ac_useropt=\
$ac_optarg ;;
1236 -without-* |
--without-*)
1237 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 as_fn_error $?
"invalid package name: $ac_useropt"
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=no
;;
1253 # Obsolete; use --with-x.
1256 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1257 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1258 ac_prev
=x_includes
;;
1259 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1260 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1261 x_includes
=$ac_optarg ;;
1263 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1264 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1265 ac_prev
=x_libraries
;;
1266 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1267 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1268 x_libraries
=$ac_optarg ;;
1270 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information"
1275 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1279 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1281 eval $ac_envvar=\
$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1295 if test -n "$ac_prev"; then
1296 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error $?
"missing argument to $ac_option"
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1303 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1308 # Check all directory arguments for consistency.
1309 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val
=\$
$ac_var
1315 # Remove trailing slashes.
1318 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\
$ac_val;;
1321 # Be sure to have absolute directory names.
1323 [\\/$
]* | ?
:[\\/]* ) continue;;
1324 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1326 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1334 target
=$target_alias
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x
; then
1338 if test "x$build_alias" = x
; then
1339 cross_compiling
=maybe
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1348 test "$silent" = yes && exec 6>/dev
/null
1351 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di
=`ls -di .` &&
1353 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error $?
"working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error $?
"pwd does not report name of working directory"
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted
=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir
=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted
=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1395 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1397 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 for ac_var
in $ac_precious_vars; do
1412 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1414 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures TeX Live 2015-03-07 to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking ...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/tex-live]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1488 --x-includes=DIR X include files are
in DIR
1489 --x-libraries=DIR X library files are
in DIR
1492 --build=BUILD configure
for building on BUILD
[guessed
]
1493 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1497 if test -n "$ac_init_help"; then
1498 case $ac_init_help in
1499 short | recursive
) echo "Configuration of TeX Live 2015-03-07:";;
1504 --disable-option-checking ignore unrecognized
--enable/--with options
1505 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1506 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1507 --disable-missing terminate
if a requested program or feature must be
1508 disabled
, e.g.
, due to missing libraries
1509 --disable-all-pkgs do not build packages unless explicitly enabled
1510 --disable-native-texlive-build
1511 do not build
for the TeX Live binary distribution
1512 --enable-multiplatform put executables into bin
/PLATFORM and libraries into
1514 --enable-cxx-runtime-hack link C
++ runtime statically
1515 --enable-libtool-hack ignore libtool dependency_libs
1516 --disable-web2c do not build the web2c
(TeX
& Co.
) package
1517 --enable-auto-core cause TeX
&MF to dump core
, given a certain
1519 --disable-dump-share make fmt
/base files architecture-dependent
1520 --disable-ipc disable TeX
's --ipc option, i.e., pipe to a
1522 --disable-tex do not compile and install TeX
1523 --enable-tex-synctex build TeX with SyncTeX support
1524 --enable-etex compile and install e-TeX
1525 --disable-etex-synctex build e-TeX without SyncTeX support
1526 --disable-ptex do not compile and install pTeX
1527 --disable-ptex-synctex build pTeX without SyncTeX support
1528 --disable-eptex do not compile and install e-pTeX
1529 --disable-eptex-synctex build e-pTeX without SyncTeX support
1530 --disable-uptex do not compile and install upTeX
1531 --disable-uptex-synctex build upTeX without SyncTeX support
1532 --disable-euptex do not compile and install e-upTeX
1533 --disable-euptex-synctex build e-upTeX without SyncTeX support
1534 --disable-aleph do not compile and install Aleph
1535 --disable-pdftex do not compile and install pdfTeX
1536 --disable-pdftex-synctex build pdfTeX without SyncTeX support
1537 --disable-luatex do not compile and install LuaTeX
1538 --disable-luajittex do not compile and install LuaJITTeX
1539 --disable-mp do not compile and install MetaPost
1540 --disable-pmp do not compile and install pMetaPost
1541 --disable-upmp do not compile and install upMetaPost
1542 --disable-xetex do not compile and install XeTeX
1543 --disable-xetex-synctex build XeTeX without SyncTeX support
1544 --disable-mf do not build METAFONT
1545 --disable-mf-nowin do not build a separate non-windows-capable
1547 --enable-epsfwin include EPSF pseudo window support
1548 --enable-hp2627win include HP 2627 window support
1549 --enable-mftalkwin include mftalk (generic server) window support
1550 --enable-nextwin include NeXT window support
1551 --enable-regiswin include Regis window support
1552 --enable-suntoolswin include old Suntools (not X) window support
1553 --enable-tektronixwin include Tektronix window support
1554 --enable-unitermwin include Uniterm window support
1555 --disable-web-progs do not build WEB programs bibtex ... weave
1556 --disable-synctex do not build the SyncTeX library and tool
1557 --disable-texlive do not build the texlive (TeX Live scripts) package
1558 --disable-linked-scripts do not install the linked scripts
1559 --disable-mktexmf-default do not run mktexmf if MF source missing
1560 --disable-mktexpk-default do not run mktexpk if PK font missing
1561 --disable-mktextfm-default do not run mktextfm if TFM file missing
1562 --disable-mkocp-default do not run mkocp if OCP file missing
1563 --disable-mkofm-default do not run mkofm if OFM file missing
1564 --disable-mktexfmt-default do not run mktexfmt if format file missing
1565 --enable-mktextex-default run mktextex if TeX source missing
1566 --enable-dependency-tracking
1567 do not reject slow dependency extractors
1568 --disable-dependency-tracking
1569 speeds up one-time build
1570 --enable-silent-rules less verbose build output (undo: "make V=1")
1571 --disable-silent-rules verbose build output (undo: "make V=0")
1572 --enable-maintainer-mode
1573 enable make rules and dependencies not useful (and
1574 sometimes confusing) to the casual installer
1575 --enable-compiler-warnings=[no|min|yes|max|all]
1576 Turn on compiler warnings [default: yes if
1577 maintainer-mode, min otherwise]
1578 --enable-shared[=PKGS] build shared libraries [default=yes]
1579 --enable-static[=PKGS] build static libraries [default=yes]
1580 --enable-fast-install[=PKGS]
1581 optimize for fast installation [default=yes]
1582 --disable-libtool-lock avoid locking (might break parallel builds)
1583 --disable-largefile omit support for large files
1586 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1587 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1588 --with-banner-add=STR add STR to version string appended to banner lines
1589 --with-editor=CMD invoke CMD from the `e' option
[vi
+%d
'%s'] or
1590 [texworks
--position=%d
"%s"]
1591 --with-mf-x-toolkit use X toolkit
for METAFONT
1592 --with-system-zziplib use installed zziplib headers and library
(requires
1594 --with-system-poppler use installed poppler headers and library
(requires
1596 --with-system-mpfr use installed mpfr headers and library
1597 --with-mpfr-includes=DIR
1598 mpfr headers installed
in DIR
1599 --with-mpfr-libdir=DIR mpfr library installed
in DIR
1600 --with-system-gmp use installed gmp headers and library
1601 --with-gmp-includes=DIR gmp headers installed
in DIR
1602 --with-gmp-libdir=DIR gmp library installed
in DIR
1603 --with-system-cairo use installed cairo headers and library
(requires
1605 --with-system-pixman use installed pixman headers and library
(requires
1607 --with-system-libpng use installed libpng headers and library
(requires
1609 --with-system-zlib use installed zlib headers and library
1610 --with-zlib-includes=DIR
1611 zlib headers installed
in DIR
1612 --with-zlib-libdir=DIR zlib library installed
in DIR
1613 --with-system-kpathsea use installed kpathsea headers and library
(requires
1615 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1617 --with-aix-soname=aix|svr4|both
1618 shared library versioning
(aka
"SONAME") variant to
1619 provide on AIX
, [default
=aix
].
1620 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1621 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1622 compiler
's sysroot if not specified).
1623 --with-x use the X Window System
1624 --without-ln-s do build even if `ln -s' does not work
1626 Some influential environment variables
:
1627 CC C compiler
command
1628 CFLAGS C compiler flags
1629 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1630 nonstandard directory
<lib dir
>
1631 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1632 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1633 you have headers
in a nonstandard directory
<include dir
>
1635 User-defined run-time library search path.
1637 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1638 CXX C
++ compiler
command
1639 CXXFLAGS C
++ compiler flags
1640 CXXCPP C
++ preprocessor
1642 Use these variables to override the choices made by
`configure' or to help
1643 it to find libraries and programs with nonstandard names/locations.
1645 Report bugs to <tex-k@tug.org>.
1650 if test "$ac_init_help" = "recursive"; then
1651 # If there are subdirs, report their specific --help.
1652 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1653 test -d "$ac_dir" ||
1654 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1659 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1661 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1662 # A ".." for each directory in $ac_dir_suffix.
1663 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1664 case $ac_top_builddir_sub in
1665 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1666 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1669 ac_abs_top_builddir=$ac_pwd
1670 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1671 # for backward compatibility:
1672 ac_top_builddir=$ac_top_build_prefix
1675 .) # We are building in place.
1677 ac_top_srcdir=$ac_top_builddir_sub
1678 ac_abs_top_srcdir=$ac_pwd ;;
1679 [\\/]* | ?:[\\/]* ) # Absolute name.
1680 ac_srcdir=$srcdir$ac_dir_suffix;
1681 ac_top_srcdir=$srcdir
1682 ac_abs_top_srcdir=$srcdir ;;
1684 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1685 ac_top_srcdir=$ac_top_build_prefix$srcdir
1686 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1688 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1690 cd "$ac_dir" || { ac_status=$?; continue; }
1691 # Check for guested configure.
1692 if test -f "$ac_srcdir/configure.gnu"; then
1694 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1695 elif test -f "$ac_srcdir/configure"; then
1697 $SHELL "$ac_srcdir/configure" --help=recursive
1699 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1701 cd "$ac_pwd" || { ac_status=$?; break; }
1705 test -n "$ac_init_help" && exit $ac_status
1706 if $ac_init_version; then
1708 TeX Live configure 2015-03-07
1709 generated by GNU Autoconf 2.69
1711 Copyright (C) 2012 Free Software Foundation, Inc.
1712 This configure script is free software; the Free Software Foundation
1713 gives unlimited permission to copy, distribute and modify it.
1718 ## ------------------------ ##
1719 ## Autoconf initialization. ##
1720 ## ------------------------ ##
1722 # ac_fn_c_try_compile LINENO
1723 # --------------------------
1724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_c_try_compile ()
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 rm -f conftest.$ac_objext
1729 if { { ac_try="$ac_compile"
1731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1732 *) ac_try_echo
=$ac_try;;
1734 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_compile") 2>conftest.err
1738 if test -s conftest.err
; then
1739 grep -v '^ *+' conftest.err
>conftest.er1
1740 cat conftest.er1
>&5
1741 mv -f conftest.er1 conftest.err
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && {
1745 test -z "$ac_c_werror_flag" ||
1746 test ! -s conftest.err
1747 } && test -s conftest.
$ac_objext; then :
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.
$ac_ext >&5
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756 as_fn_set_status
$ac_retval
1758 } # ac_fn_c_try_compile
1760 # ac_fn_c_try_link LINENO
1761 # -----------------------
1762 # Try to link conftest.$ac_ext, and return whether this succeeded.
1765 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1766 rm -f conftest.
$ac_objext conftest
$ac_exeext
1767 if { { ac_try
="$ac_link"
1769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1770 *) ac_try_echo=$ac_try;;
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_link") 2>conftest.err
1776 if test -s conftest.err; then
1777 grep -v '^ *+' conftest.err >conftest.er1
1778 cat conftest.er1 >&5
1779 mv -f conftest.er1 conftest.err
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && {
1783 test -z "$ac_c_werror_flag" ||
1784 test ! -s conftest.err
1785 } && test -s conftest$ac_exeext && {
1786 test "$cross_compiling" = yes ||
1787 test -x conftest$ac_exeext
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1796 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1797 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1798 # interfere with the next link command; also delete a directory that is
1799 # left behind by Apple's compiler. We do this before executing the actions.
1800 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802 as_fn_set_status $ac_retval
1804 } # ac_fn_c_try_link
1806 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1807 # -------------------------------------------------------
1808 # Tests whether HEADER exists and can be compiled using the include files in
1809 # INCLUDES, setting the cache variable VAR accordingly.
1810 ac_fn_c_check_header_compile ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if eval \${$3+:} false; then :
1816 $as_echo_n "(cached) " >&6
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1823 if ac_fn_c_try_compile "$LINENO"; then :
1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 } # ac_fn_c_check_header_compile
1837 # ac_fn_c_try_cpp LINENO
1838 # ----------------------
1839 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 if { { ac_try="$ac_cpp conftest.$ac_ext"
1845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1846 *) ac_try_echo
=$ac_try;;
1848 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1852 if test -s conftest.err
; then
1853 grep -v '^ *+' conftest.err
>conftest.er1
1854 cat conftest.er1
>&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } > conftest.i
&& {
1859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1860 test ! -s conftest.err
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.
$ac_ext >&5
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status
$ac_retval
1874 # ac_fn_c_try_run LINENO
1875 # ----------------------
1876 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1877 # that executables *can* be run.
1880 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1881 if { { ac_try
="$ac_link"
1883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_link") 2>&5
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1892 { { case "(($ac_try" in
1893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1894 *) ac_try_echo
=$ac_try;;
1896 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_try") 2>&5
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; }; }; then :
1904 $as_echo "$as_me: program exited with status $ac_status" >&5
1905 $as_echo "$as_me: failed program was:" >&5
1906 sed 's/^/| /' conftest.
$ac_ext >&5
1908 ac_retval
=$ac_status
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912 as_fn_set_status
$ac_retval
1916 # ac_fn_c_check_func LINENO FUNC VAR
1917 # ----------------------------------
1918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1919 ac_fn_c_check_func
()
1921 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if eval \
${$3+:} false
; then :
1925 $as_echo_n "(cached) " >&6
1927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1929 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1931 #define $2 innocuous_$2
1933 /* System header to define __stub macros and hopefully few prototypes,
1934 which can conflict with char $2 (); below.
1935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1936 <limits.h> exists even on freestanding compilers. */
1939 # include <limits.h>
1941 # include <assert.h>
1946 /* Override any GCC internal prototype to avoid an error.
1947 Use char because int might match the return type of a GCC
1948 builtin and then its argument prototype would still apply. */
1953 /* The GNU C library defines this for functions which it implements
1954 to always fail with ENOSYS. Some functions are actually named
1955 something starting with __ and the normal name is an alias. */
1956 #if defined __stub_$2 || defined __stub___$2
1968 if ac_fn_c_try_link
"$LINENO"; then :
1973 rm -f core conftest.err conftest.
$ac_objext \
1974 conftest
$ac_exeext conftest.
$ac_ext
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1978 $as_echo "$ac_res" >&6; }
1979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1981 } # ac_fn_c_check_func
1983 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1984 # -------------------------------------------------------
1985 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1986 # the include files in INCLUDES and setting the cache variable VAR
1988 ac_fn_c_check_header_mongrel
()
1990 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1991 if eval \
${$3+:} false
; then :
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993 $as_echo_n "checking for $2... " >&6; }
1994 if eval \
${$3+:} false
; then :
1995 $as_echo_n "(cached) " >&6
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1999 $as_echo "$ac_res" >&6; }
2001 # Is the header compilable?
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2003 $as_echo_n "checking $2 usability... " >&6; }
2004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2009 if ac_fn_c_try_compile
"$LINENO"; then :
2010 ac_header_compiler
=yes
2012 ac_header_compiler
=no
2014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2016 $as_echo "$ac_header_compiler" >&6; }
2018 # Is the header present?
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2020 $as_echo_n "checking $2 presence... " >&6; }
2021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2025 if ac_fn_c_try_cpp
"$LINENO"; then :
2026 ac_header_preproc
=yes
2028 ac_header_preproc
=no
2030 rm -f conftest.err conftest.i conftest.
$ac_ext
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2032 $as_echo "$ac_header_preproc" >&6; }
2034 # So? What about this header?
2035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2038 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2040 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2044 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2046 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2048 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2050 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2052 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2053 ( $as_echo "## ---------------------------- ##
2054 ## Report this to tex-k@tug.org ##
2055 ## ---------------------------- ##"
2056 ) |
sed "s/^/$as_me: WARNING: /" >&2
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \
${$3+:} false
; then :
2062 $as_echo_n "(cached) " >&6
2064 eval "$3=\$ac_header_compiler"
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2072 } # ac_fn_c_check_header_mongrel
2074 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2075 # -------------------------------------------
2076 # Tests whether TYPE exists after having included INCLUDES, setting cache
2077 # variable VAR accordingly.
2078 ac_fn_c_check_type
()
2080 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2082 $as_echo_n "checking for $2... " >&6; }
2083 if eval \
${$3+:} false
; then :
2084 $as_echo_n "(cached) " >&6
2087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2099 if ac_fn_c_try_compile
"$LINENO"; then :
2100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2101 /* end confdefs.h. */
2112 if ac_fn_c_try_compile
"$LINENO"; then :
2117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2123 $as_echo "$ac_res" >&6; }
2124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2126 } # ac_fn_c_check_type
2128 # ac_fn_c_find_intX_t LINENO BITS VAR
2129 # -----------------------------------
2130 # Finds a signed integer type with width BITS, setting cache variable VAR
2132 ac_fn_c_find_intX_t
()
2134 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2136 $as_echo_n "checking for int$2_t... " >&6; }
2137 if eval \
${$3+:} false
; then :
2138 $as_echo_n "(cached) " >&6
2141 # Order is important - never check a type that is potentially smaller
2142 # than half of the expected target width.
2143 for ac_type
in int
$2_t 'int' 'long int' \
2144 'long long int' 'short int' 'signed char'; do
2145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2147 $ac_includes_default
2148 enum { N = $2 / 2 - 1 };
2152 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2154 return test_array [0];
2160 if ac_fn_c_try_compile
"$LINENO"; then :
2161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2162 /* end confdefs.h. */
2163 $ac_includes_default
2164 enum { N = $2 / 2 - 1 };
2168 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2169 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2171 return test_array [0];
2177 if ac_fn_c_try_compile
"$LINENO"; then :
2184 eval "$3=\$ac_type" ;;
2187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2190 if eval test \"x\$
"$3"\" = x
"no"; then :
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2202 } # ac_fn_c_find_intX_t
2204 # ac_fn_c_find_uintX_t LINENO BITS VAR
2205 # ------------------------------------
2206 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2208 ac_fn_c_find_uintX_t
()
2210 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2212 $as_echo_n "checking for uint$2_t... " >&6; }
2213 if eval \
${$3+:} false
; then :
2214 $as_echo_n "(cached) " >&6
2217 # Order is important - never check a type that is potentially smaller
2218 # than half of the expected target width.
2219 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
2220 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2223 $ac_includes_default
2227 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2229 return test_array [0];
2235 if ac_fn_c_try_compile
"$LINENO"; then :
2240 eval "$3=\$ac_type" ;;
2243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2244 if eval test \"x\$
"$3"\" = x
"no"; then :
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253 $as_echo "$ac_res" >&6; }
2254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2256 } # ac_fn_c_find_uintX_t
2258 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2259 # ----------------------------------------------------
2260 # Tries to find if the field MEMBER exists in type AGGR, after including
2261 # INCLUDES, setting cache variable VAR accordingly.
2262 ac_fn_c_check_member
()
2264 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2266 $as_echo_n "checking for $2.$3... " >&6; }
2267 if eval \
${$4+:} false
; then :
2268 $as_echo_n "(cached) " >&6
2270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2271 /* end confdefs.h. */
2283 if ac_fn_c_try_compile
"$LINENO"; then :
2286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2287 /* end confdefs.h. */
2293 if (sizeof ac_aggr.$3)
2299 if ac_fn_c_try_compile
"$LINENO"; then :
2304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2310 $as_echo "$ac_res" >&6; }
2311 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2313 } # ac_fn_c_check_member
2315 # ac_fn_cxx_try_compile LINENO
2316 # ----------------------------
2317 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2318 ac_fn_cxx_try_compile
()
2320 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2321 rm -f conftest.
$ac_objext
2322 if { { ac_try
="$ac_compile"
2324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2325 *) ac_try_echo=$ac_try;;
2327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2328 $as_echo "$ac_try_echo"; } >&5
2329 (eval "$ac_compile") 2>conftest.err
2331 if test -s conftest.err; then
2332 grep -v '^ *+' conftest.err >conftest.er1
2333 cat conftest.er1 >&5
2334 mv -f conftest.er1 conftest.err
2336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2337 test $ac_status = 0; } && {
2338 test -z "$ac_cxx_werror_flag" ||
2339 test ! -s conftest.err
2340 } && test -s conftest.$ac_objext; then :
2343 $as_echo "$as_me: failed program was:" >&5
2344 sed 's/^/| /' conftest.$ac_ext >&5
2348 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2349 as_fn_set_status $ac_retval
2351 } # ac_fn_cxx_try_compile
2353 # ac_fn_cxx_try_cpp LINENO
2354 # ------------------------
2355 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2356 ac_fn_cxx_try_cpp ()
2358 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2359 if { { ac_try="$ac_cpp conftest.$ac_ext"
2361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2362 *) ac_try_echo
=$ac_try;;
2364 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2365 $as_echo "$ac_try_echo"; } >&5
2366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2368 if test -s conftest.err
; then
2369 grep -v '^ *+' conftest.err
>conftest.er1
2370 cat conftest.er1
>&5
2371 mv -f conftest.er1 conftest.err
2373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2374 test $ac_status = 0; } > conftest.i
&& {
2375 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2376 test ! -s conftest.err
2380 $as_echo "$as_me: failed program was:" >&5
2381 sed 's/^/| /' conftest.
$ac_ext >&5
2385 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2386 as_fn_set_status
$ac_retval
2388 } # ac_fn_cxx_try_cpp
2390 # ac_fn_cxx_try_link LINENO
2391 # -------------------------
2392 # Try to link conftest.$ac_ext, and return whether this succeeded.
2393 ac_fn_cxx_try_link
()
2395 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2396 rm -f conftest.
$ac_objext conftest
$ac_exeext
2397 if { { ac_try
="$ac_link"
2399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2403 $as_echo "$ac_try_echo"; } >&5
2404 (eval "$ac_link") 2>conftest.err
2406 if test -s conftest.err; then
2407 grep -v '^ *+' conftest.err >conftest.er1
2408 cat conftest.er1 >&5
2409 mv -f conftest.er1 conftest.err
2411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2412 test $ac_status = 0; } && {
2413 test -z "$ac_cxx_werror_flag" ||
2414 test ! -s conftest.err
2415 } && test -s conftest$ac_exeext && {
2416 test "$cross_compiling" = yes ||
2417 test -x conftest$ac_exeext
2421 $as_echo "$as_me: failed program was:" >&5
2422 sed 's/^/| /' conftest.$ac_ext >&5
2426 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2427 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2428 # interfere with the next link command; also delete a directory that is
2429 # left behind by Apple's compiler. We do this before executing the actions.
2430 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2431 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2432 as_fn_set_status $ac_retval
2434 } # ac_fn_cxx_try_link
2435 cat >config.log <<_ACEOF
2436 This file contains any messages produced by compilers while
2437 running configure, to aid debugging if configure makes a mistake.
2439 It was created by TeX Live $as_me 2015-03-07, which was
2440 generated by GNU Autoconf 2.69. Invocation command line was
2452 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2453 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2454 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2455 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2456 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2458 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2459 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2461 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2462 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2463 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2464 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2465 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2466 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2467 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475 test -z "$as_dir" && as_dir=.
2476 $as_echo "PATH: $as_dir"
2492 # Keep a trace of the command line.
2493 # Strip out --no-create and --no-recursion so they do not pile up.
2494 # Strip out --silent because we don't want to record it for future runs.
2495 # Also quote any args containing shell meta-characters.
2496 # Make two passes to allow for proper duplicate-argument suppression.
2500 ac_must_keep_next=false
2506 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2507 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2508 | -silent | --silent | --silen | --sile | --sil)
2511 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2514 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2516 as_fn_append ac_configure_args1 " '$ac_arg'"
2517 if test $ac_must_keep_next = true; then
2518 ac_must_keep_next=false # Got value, back to normal.
2521 *=* | --config-cache | -C | -disable-* | --disable-* \
2522 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2523 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2524 | -with-* | --with-* | -without-* | --without-* | --x)
2525 case "$ac_configure_args0 " in
2526 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2529 -* ) ac_must_keep_next=true ;;
2532 as_fn_append ac_configure_args " '$ac_arg'"
2537 { ac_configure_args0=; unset ac_configure_args0;}
2538 { ac_configure_args1=; unset ac_configure_args1;}
2540 # When interrupted or exit'd, cleanup temporary files, and complete
2541 # config.log. We remove comments because anyway the quotes in there
2542 # would cause problems or look ugly.
2543 # WARNING: Use '\'' to represent an apostrophe within the trap.
2544 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2545 trap 'exit_status=$?
2546 # Save into config.log some information that might help in debugging.
2550 $as_echo "## ---------------- ##
2551 ## Cache variables. ##
2552 ## ---------------- ##"
2554 # The following way of writing the cache mishandles newlines in values,
2556 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2557 eval ac_val=\$$ac_var
2561 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2562 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2565 _ | IFS | as_nl) ;; #(
2566 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2567 *) { eval $ac_var=; unset $ac_var;} ;;
2572 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2573 *${as_nl}ac_space=\ *)
2575 "s/'\''/'\''\\\\'\'''\''/g;
2576 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2579 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2586 $as_echo "## ----------------- ##
2587 ## Output variables. ##
2588 ## ----------------- ##"
2590 for ac_var in $ac_subst_vars
2592 eval ac_val=\$$ac_var
2594 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2596 $as_echo "$ac_var='\''$ac_val'\''"
2600 if test -n "$ac_subst_files"; then
2601 $as_echo "## ------------------- ##
2602 ## File substitutions. ##
2603 ## ------------------- ##"
2605 for ac_var in $ac_subst_files
2607 eval ac_val=\$$ac_var
2609 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2611 $as_echo "$ac_var='\''$ac_val'\''"
2616 if test -s confdefs.h; then
2617 $as_echo "## ----------- ##
2624 test "$ac_signal" != 0 &&
2625 $as_echo "$as_me: caught signal $ac_signal"
2626 $as_echo "$as_me: exit $exit_status"
2628 rm -f core *.core core.conftest.* &&
2629 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2632 for ac_signal in 1 2 13 15; do
2633 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2637 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2638 rm -f -r conftest* confdefs.h
2640 $as_echo "/* confdefs.h */" > confdefs.h
2642 # Predefined preprocessor variables.
2644 cat >>confdefs.h <<_ACEOF
2645 #define PACKAGE_NAME "$PACKAGE_NAME"
2648 cat >>confdefs.h <<_ACEOF
2649 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2652 cat >>confdefs.h <<_ACEOF
2653 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2656 cat >>confdefs.h <<_ACEOF
2657 #define PACKAGE_STRING "$PACKAGE_STRING"
2660 cat >>confdefs.h <<_ACEOF
2661 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2664 cat >>confdefs.h <<_ACEOF
2665 #define PACKAGE_URL "$PACKAGE_URL"
2669 # Let the site file select an alternate cache file if it wants to.
2670 # Prefer an explicitly selected file to automatically selected ones.
2673 if test -n "$CONFIG_SITE"; then
2674 # We do not want a PATH search for config.site.
2675 case $CONFIG_SITE in #((
2676 -*) ac_site_file1=./$CONFIG_SITE;;
2677 */*) ac_site_file1=$CONFIG_SITE;;
2678 *) ac_site_file1=./$CONFIG_SITE;;
2680 elif test "x$prefix" != xNONE; then
2681 ac_site_file1=$prefix/share/config.site
2682 ac_site_file2=$prefix/etc/config.site
2684 ac_site_file1=$ac_default_prefix/share/config.site
2685 ac_site_file2=$ac_default_prefix/etc/config.site
2687 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2689 test "x$ac_site_file" = xNONE && continue
2690 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2692 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2693 sed 's/^/| /' "$ac_site_file" >&5
2695 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2697 as_fn_error $? "failed to load site
script $ac_site_file
2698 See \
`config.log' for more details" "$LINENO" 5; }
2702 if test -r "$cache_file"; then
2703 # Some versions of bash will fail to source /dev/null (special files
2704 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2705 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2707 $as_echo "$as_me: loading cache $cache_file" >&6;}
2709 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2710 *) . "./$cache_file";;
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2715 $as_echo "$as_me: creating cache $cache_file" >&6;}
2719 # Check that the precious variables saved in the cache have kept the same
2721 ac_cache_corrupted=false
2722 for ac_var in $ac_precious_vars; do
2723 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2724 eval ac_new_set=\$ac_env_${ac_var}_set
2725 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2726 eval ac_new_val=\$ac_env_${ac_var}_value
2727 case $ac_old_set,$ac_new_set in
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2730 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2731 ac_cache_corrupted=: ;;
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2734 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2735 ac_cache_corrupted=: ;;
2738 if test "x$ac_old_val" != "x$ac_new_val"; then
2739 # differences in whitespace do not lead to failure.
2740 ac_old_val_w=`echo x
$ac_old_val`
2741 ac_new_val_w=`echo x
$ac_new_val`
2742 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2744 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2745 ac_cache_corrupted=:
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2748 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2749 eval $ac_var=\$ac_old_val
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2752 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2754 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2757 # Pass precious variables to config.status.
2758 if test "$ac_new_set" = set; then
2760 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2761 *) ac_arg=$ac_var=$ac_new_val ;;
2763 case " $ac_configure_args " in
2764 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2765 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2769 if $ac_cache_corrupted; then
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2773 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2774 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2776 ## -------------------- ##
2777 ## Main body of script. ##
2778 ## -------------------- ##
2781 ac_cpp='$CPP $CPPFLAGS'
2782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2790 for ac_dir in build-aux "$srcdir"/build-aux; do
2791 if test -f "$ac_dir/install-sh"; then
2793 ac_install_sh="$ac_aux_dir/install-sh -c"
2795 elif test -f "$ac_dir/install.sh"; then
2797 ac_install_sh="$ac_aux_dir/install.sh -c"
2799 elif test -f "$ac_dir/shtool"; then
2801 ac_install_sh="$ac_aux_dir/shtool install -c"
2805 if test -z "$ac_aux_dir"; then
2806 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2809 # These three variables are undocumented and unsupported,
2810 # and are intended to be withdrawn in a future Autoconf release.
2811 # They can cause serious problems if a builder's source tree is in a directory
2812 # whose full name contains unusual characters.
2813 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2814 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2815 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2820 if test "x$srcdir" = x. && test "x$enable_build_in_source_tree" != xyes; then
2822 as_fn_error $? "Configuring and building TeX Live in the source tree
2823 is strongly discouraged. If you really want to do that, you must
2824 specify the configure option \`--enable-build-in-source-tree', but
2825 then do not ask for help -- you have been warned." "$LINENO" 5
2828 # Make sure we can run config.sub.
2829 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2830 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2833 $as_echo_n "checking build system type... " >&6; }
2834 if ${ac_cv_build+:} false; then :
2835 $as_echo_n "(cached) " >&6
2837 ac_build_alias=$build_alias
2838 test "x$ac_build_alias" = x &&
2839 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2840 test "x$ac_build_alias" = x &&
2841 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2842 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2843 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2847 $as_echo "$ac_cv_build" >&6; }
2848 case $ac_cv_build in
2850 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2853 ac_save_IFS=$IFS; IFS='-'
2859 # Remember, the first character of IFS is used to create $*,
2860 # except with old shells:
2863 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's
/ /-/g
'`;; esac
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2867 $as_echo_n "checking host system type... " >&6; }
2868 if ${ac_cv_host+:} false; then :
2869 $as_echo_n "(cached) " >&6
2871 if test "x$host_alias" = x; then
2872 ac_cv_host=$ac_cv_build
2874 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2875 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2880 $as_echo "$ac_cv_host" >&6; }
2883 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2886 ac_save_IFS=$IFS; IFS='-'
2892 # Remember, the first character of IFS is used to create $*,
2893 # except with old shells:
2896 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's
/ /-/g
'`;; esac
2899 # Check whether --enable-missing was given.
2900 if test "${enable_missing+set}" = set; then :
2901 enableval=$enable_missing;
2904 # Expand $ac_aux_dir to an absolute path.
2905 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2908 ac_cpp='$CPP $CPPFLAGS'
2909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
2910 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
2911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2912 if test -n "$ac_tool_prefix"; then
2913 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2914 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if ${ac_cv_prog_CC+:} false; then :
2918 $as_echo_n "(cached) " >&6
2920 if test -n "$CC"; then
2921 ac_cv_prog_CC="$CC" # Let the user override the test.
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2930 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 if test -n "$CC"; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2943 $as_echo "$CC" >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2951 if test -z "$ac_cv_prog_CC"; then
2953 # Extract the first word of "gcc", so it can be a program name with args.
2954 set dummy gcc; ac_word=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$ac_ct_CC"; then
2961 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_ac_ct_CC="gcc"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2981 if test -n "$ac_ct_CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2983 $as_echo "$ac_ct_CC" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2989 if test "x$ac_ct_CC" = x; then
2992 case $cross_compiling:$ac_tool_warned in
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2996 ac_tool_warned=yes ;;
3004 if test -z "$CC"; then
3005 if test -n "$ac_tool_prefix"; then
3006 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3007 set dummy ${ac_tool_prefix}cc; ac_word=$2
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009 $as_echo_n "checking for $ac_word... " >&6; }
3010 if ${ac_cv_prog_CC+:} false; then :
3011 $as_echo_n "(cached) " >&6
3013 if test -n "$CC"; then
3014 ac_cv_prog_CC="$CC" # Let the user override the test.
3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir=.
3021 for ac_exec_ext in '' $ac_executable_extensions; do
3022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3023 ac_cv_prog_CC="${ac_tool_prefix}cc"
3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test -n "$CC"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3036 $as_echo "$CC" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039 $as_echo "no" >&6; }
3045 if test -z "$CC"; then
3046 # Extract the first word of "cc", so it can be a program name with args.
3047 set dummy cc; ac_word=$2
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049 $as_echo_n "checking for $ac_word... " >&6; }
3050 if ${ac_cv_prog_CC+:} false; then :
3051 $as_echo_n "(cached) " >&6
3053 if test -n "$CC"; then
3054 ac_cv_prog_CC="$CC" # Let the user override the test.
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3064 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3065 ac_prog_rejected=yes
3069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 if test $ac_prog_rejected = yes; then
3077 # We found a bogon in the path, so make sure we never use it.
3078 set dummy $ac_cv_prog_CC
3080 if test $# != 0; then
3081 # We chose a different compiler from the bogus one.
3082 # However, it has the same basename, so the bogon will be chosen
3083 # first if we set CC to just the basename; use the full file name.
3085 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3091 if test -n "$CC"; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3093 $as_echo "$CC" >&6; }
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096 $as_echo "no" >&6; }
3101 if test -z "$CC"; then
3102 if test -n "$ac_tool_prefix"; then
3103 for ac_prog in cl.exe
3105 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3106 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108 $as_echo_n "checking for $ac_word... " >&6; }
3109 if ${ac_cv_prog_CC+:} false; then :
3110 $as_echo_n "(cached) " >&6
3112 if test -n "$CC"; then
3113 ac_cv_prog_CC="$CC" # Let the user override the test.
3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir=.
3120 for ac_exec_ext in '' $ac_executable_extensions; do
3121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3122 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 if test -n "$CC"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3135 $as_echo "$CC" >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3142 test -n "$CC" && break
3145 if test -z "$CC"; then
3147 for ac_prog in cl.exe
3149 # Extract the first word of "$ac_prog", so it can be a program name with args.
3150 set dummy $ac_prog; ac_word=$2
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3152 $as_echo_n "checking for $ac_word... " >&6; }
3153 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3154 $as_echo_n "(cached) " >&6
3156 if test -n "$ac_ct_CC"; then
3157 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163 test -z "$as_dir" && as_dir=.
3164 for ac_exec_ext in '' $ac_executable_extensions; do
3165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3166 ac_cv_prog_ac_ct_CC="$ac_prog"
3167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3177 if test -n "$ac_ct_CC"; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3179 $as_echo "$ac_ct_CC" >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182 $as_echo "no" >&6; }
3186 test -n "$ac_ct_CC" && break
3189 if test "x$ac_ct_CC" = x; then
3192 case $cross_compiling:$ac_tool_warned in
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3196 ac_tool_warned=yes ;;
3205 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3207 as_fn_error $? "no acceptable C compiler found in \$PATH
3208 See \`config.log
' for more details" "$LINENO" 5; }
3210 # Provide some information about the compiler.
3211 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3214 for ac_option in --version -v -V -qversion; do
3215 { { ac_try="$ac_compiler $ac_option >&5"
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3221 $as_echo "$ac_try_echo"; } >&5
3222 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3224 if test -s conftest.err; then
3226 ... rest of stderr output deleted ...
3227 10q
' conftest.err >conftest.er1
3228 cat conftest.er1 >&5
3230 rm -f conftest.er1 conftest.err
3231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3232 test $ac_status = 0; }
3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3246 ac_clean_files_save=$ac_clean_files
3247 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3248 # Try to create an executable without -o first, disregard a.out.
3249 # It will help us diagnose broken compilers, and finding out an intuition
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3252 $as_echo_n "checking whether the C compiler works... " >&6; }
3253 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3255 # The possible output files:
3256 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3259 for ac_file in $ac_files
3262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3263 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3268 if { { ac_try="$ac_link_default"
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_link_default") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }; then :
3279 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3280 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3281 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3282 # so that the user can short-circuit this test for compilers unknown to
3284 for ac_file
in $ac_files ''
3286 test -f "$ac_file" ||
continue
3288 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3291 # We found the default executable, but exeext='' is most
3295 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3297 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3299 # We set ac_cv_exeext here because the later test for it is not
3300 # safe: cross compilers may not add the suffix if given an `-o'
3301 # argument, so we may need to know it at that point already.
3302 # Even if this section looks crufty: it has the advantage of
3309 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3314 if test -z "$ac_file"; then :
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3317 $as_echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.
$ac_ext >&5
3320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error
77 "C compiler cannot create executables
3323 See \`config.log' for more details" "$LINENO" 5; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3326 $as_echo "yes" >&6; }
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3329 $as_echo_n "checking for C compiler default output file name... " >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3331 $as_echo "$ac_file" >&6; }
3332 ac_exeext
=$ac_cv_exeext
3334 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3335 ac_clean_files
=$ac_clean_files_save
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3337 $as_echo_n "checking for suffix of executables... " >&6; }
3338 if { { ac_try
="$ac_link"
3340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_link") 2>&5
3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348 test $ac_status = 0; }; then :
3349 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3350 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3351 # work properly (i.e., refer to `conftest.exe'), while it won't with
3353 for ac_file
in conftest.exe conftest conftest.
*; do
3354 test -f "$ac_file" ||
continue
3356 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3357 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3365 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3366 See \`config.log' for more details" "$LINENO" 5; }
3368 rm -f conftest conftest
$ac_cv_exeext
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3370 $as_echo "$ac_cv_exeext" >&6; }
3372 rm -f conftest.
$ac_ext
3373 EXEEXT
=$ac_cv_exeext
3375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3381 FILE *f = fopen ("conftest.out", "w");
3382 return ferror (f) || fclose (f) != 0;
3388 ac_clean_files
="$ac_clean_files conftest.out"
3389 # Check that the compiler produces executables we can run. If not, either
3390 # the compiler is broken, or we cross compile.
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3392 $as_echo_n "checking whether we are cross compiling... " >&6; }
3393 if test "$cross_compiling" != yes; then
3394 { { ac_try
="$ac_link"
3396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3400 $as_echo "$ac_try_echo"; } >&5
3401 (eval "$ac_link") 2>&5
3403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3404 test $ac_status = 0; }
3405 if { ac_try='./conftest$ac_cv_exeext'
3406 { { case "(($ac_try" in
3407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3408 *) ac_try_echo
=$ac_try;;
3410 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411 $as_echo "$ac_try_echo"; } >&5
3412 (eval "$ac_try") 2>&5
3414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415 test $ac_status = 0; }; }; then
3418 if test "$cross_compiling" = maybe
; then
3421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3423 as_fn_error $?
"cannot run C compiled programs.
3424 If you meant to cross compile, use \`--host'.
3425 See \`config.log' for more details" "$LINENO" 5; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3430 $as_echo "$cross_compiling" >&6; }
3432 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3433 ac_clean_files
=$ac_clean_files_save
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3435 $as_echo_n "checking for suffix of object files... " >&6; }
3436 if ${ac_cv_objext+:} false
; then :
3437 $as_echo_n "(cached) " >&6
3439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3450 rm -f conftest.o conftest.obj
3451 if { { ac_try
="$ac_compile"
3453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3454 *) ac_try_echo=$ac_try;;
3456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3457 $as_echo "$ac_try_echo"; } >&5
3458 (eval "$ac_compile") 2>&5
3460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461 test $ac_status = 0; }; then :
3462 for ac_file in conftest.o conftest.obj conftest.*; do
3463 test -f "$ac_file" || continue;
3465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3466 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3471 $as_echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3477 See \
`config.log' for more details" "$LINENO" 5; }
3479 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3482 $as_echo "$ac_cv_objext" >&6; }
3483 OBJEXT=$ac_cv_objext
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3486 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3487 if ${ac_cv_c_compiler_gnu+:} false; then :
3488 $as_echo_n "(cached) " >&6
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3504 if ac_fn_c_try_compile "$LINENO"; then :
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3514 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3515 if test $ac_compiler_gnu = yes; then
3520 ac_test_CFLAGS=${CFLAGS+set}
3521 ac_save_CFLAGS=$CFLAGS
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3523 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3524 if ${ac_cv_prog_cc_g+:} false; then :
3525 $as_echo_n "(cached) " >&6
3527 ac_save_c_werror_flag=$ac_c_werror_flag
3528 ac_c_werror_flag=yes
3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3542 if ac_fn_c_try_compile "$LINENO"; then :
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3557 if ac_fn_c_try_compile "$LINENO"; then :
3560 ac_c_werror_flag=$ac_save_c_werror_flag
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3573 if ac_fn_c_try_compile "$LINENO"; then :
3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3581 ac_c_werror_flag=$ac_save_c_werror_flag
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3584 $as_echo "$ac_cv_prog_cc_g" >&6; }
3585 if test "$ac_test_CFLAGS" = set; then
3586 CFLAGS=$ac_save_CFLAGS
3587 elif test $ac_cv_prog_cc_g = yes; then
3588 if test "$GCC" = yes; then
3594 if test "$GCC" = yes; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3601 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3602 if ${ac_cv_prog_cc_c89+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 ac_cv_prog_cc_c89=no
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3612 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3613 struct buf { int x; };
3614 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3615 static char *e (p, i)
3621 static char *f (char * (*g) (char **, int), char **p, ...)
3626 s = g (p, va_arg (v,int));
3631 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3632 function prototypes and stuff, but not '\xHH' hex character constants.
3633 These don't provoke an error unfortunately, instead are silently treated
3634 as 'x'. The following induces an error, until -std is added to get
3635 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3636 array size at least. It's necessary to write '\x00'==0 to get something
3637 that's true only with -std. */
3638 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3640 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3641 inside strings and character constants. */
3643 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3645 int test (int i, double x);
3646 struct s1 {int (*f) (int a);};
3647 struct s2 {int (*f) (double a);};
3648 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3654 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3659 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3660 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3662 CC="$ac_save_CC $ac_arg"
3663 if ac_fn_c_try_compile "$LINENO"; then :
3664 ac_cv_prog_cc_c89=$ac_arg
3666 rm -f core conftest.err conftest.$ac_objext
3667 test "x$ac_cv_prog_cc_c89" != "xno" && break
3669 rm -f conftest.$ac_ext
3674 case "x$ac_cv_prog_cc_c89" in
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3677 $as_echo "none needed" >&6; } ;;
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3680 $as_echo "unsupported" >&6; } ;;
3682 CC="$CC $ac_cv_prog_cc_c89"
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3684 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3686 if test "x$ac_cv_prog_cc_c89" != xno; then :
3691 ac_cpp='$CPP $CPPFLAGS'
3692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697 ac_cpp='$CPP $CPPFLAGS'
3698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3702 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3703 if ${am_cv_prog_cc_c_o+:} false; then :
3704 $as_echo_n "(cached) " >&6
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3717 # Make sure it works both with $CC and with simple cc.
3718 # Following AC_PROG_CC_C_O, we do the test twice because some
3719 # compilers refuse to overwrite an existing .o file with -o,
3720 # though they will create one.
3721 am_cv_prog_cc_c_o=yes
3723 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3724 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); } \
3728 && test -f conftest2.$ac_objext; then
3731 am_cv_prog_cc_c_o=no
3735 rm -f core conftest*
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3739 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3740 if test "$am_cv_prog_cc_c_o" != yes; then
3741 # Losing compiler, so override with the script.
3742 # FIXME: It is wrong to rewrite CC.
3743 # But if we don't then we get into trouble of one sort or another.
3744 # A longer-term fix would be to have automake use am__CC in this case,
3745 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3746 CC="$am_aux_dir/compile $CC"
3749 ac_cpp='$CPP $CPPFLAGS'
3750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3759 # Check whether --enable-all-pkgs was given.
3760 if test "${enable_all_pkgs+set}" = set; then :
3761 enableval=$enable_all_pkgs;
3763 test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes
3764 # Check whether --enable-native-texlive-build was given.
3765 if test "${enable_native_texlive_build+set}" = set; then :
3766 enableval=$enable_native_texlive_build;
3768 case $enable_native_texlive_build in #(
3772 enable_native_texlive_build=yes
3773 ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;;
3775 case $enable_largefile in #(
3779 enable_largefile=yes
3780 ac_configure_args="$ac_configure_args '--enable-largefile'" ;;
3782 case $enable_silent_rules in #(
3786 enable_silent_rules=no
3787 ac_configure_args="$ac_configure_args '--disable-silent-rules'" ;;
3789 case $enable_multiplatform in #(
3793 enable_multiplatform=$enable_native_texlive_build
3794 ac_configure_args="$ac_configure_args '--enable-multiplatform=$enable_native_texlive_build'" ;;
3796 case $enable_cxx_runtime_hack in #(
3800 enable_cxx_runtime_hack=$enable_native_texlive_build
3801 ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack=$enable_native_texlive_build'" ;;
3803 case $enable_libtool_hack in #(
3809 enable_libtool_hack=no ;; #(
3811 enable_libtool_hack=yes ;;
3813 ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;;
3815 case $enable_shared in #(
3819 if test "x$enable_native_texlive_build" = xyes; then :
3820 as_fn_error $? "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5
3824 ac_configure_args="$ac_configure_args '--disable-shared'" ;;
3826 case $enable_texlive_build in #(
3830 as_fn_error $? "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #(
3832 enable_texlive_build=yes
3833 ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;;
3835 # Check whether --enable-multiplatform was given.
3836 if test "${enable_multiplatform+set}" = set; then :
3837 enableval=$enable_multiplatform;
3839 if test "x$enable_multiplatform" = xyes; then
3840 if test "x$bindir" = 'x
${exec_prefix}/bin
'; then
3841 bindir="$bindir/${host_alias-$host}"
3842 ac_configure_args="$ac_configure_args '--bindir=$bindir'"
3844 if test "x$libdir" = 'x
${exec_prefix}/lib
'; then
3845 libdir="$libdir/${host_alias-$host}"
3846 ac_configure_args="$ac_configure_args '--libdir=$libdir'"
3850 # Check whether --enable-cxx-runtime-hack was given.
3851 if test "${enable_cxx_runtime_hack+set}" = set; then :
3852 enableval=$enable_cxx_runtime_hack;
3855 # Check whether --enable-libtool-hack was given.
3856 if test "${enable_libtool_hack+set}" = set; then :
3857 enableval=$enable_libtool_hack;
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
3864 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
3865 if ${kpse_cv_have_win32+:} false; then :
3866 $as_echo_n "(cached) " >&6
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3881 if ac_fn_c_try_compile "$LINENO"; then :
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3895 if ac_fn_c_try_compile "$LINENO"; then :
3896 kpse_cv_have_win32=mingw32
3898 kpse_cv_have_win32=native
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3902 kpse_cv_have_win32=no
3904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
3907 $as_echo "$kpse_cv_have_win32" >&6; }
3909 case $with_x:$kpse_cv_have_win32 in #(
3913 as_fn_error $? "you can not use \`--with-x' for WIN32
" "$LINENO" 5 ;; #(
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \
`--with-x'" >&5
3917 $as_echo "$as_me: Assuming \`--with-x'" >&6;}
3918 ac_configure_args="$ac_configure_args '--with-x'" ;; #(
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: WIN32 -> \`--without-x'" >&5
3922 $as_echo "$as_me: WIN32
-> \
`--without-x'" >&6;}
3923 ac_configure_args="$ac_configure_args '--without-x'" ;;
3925 case $enable_luajittex in #(
3930 alpha* | sparc* | x86_64-*-cygwin | powerpc-*-darwin* ) :
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-luajittex'" >&5
3932 $as_echo "$as_me: $host -> \`--disable-luajittex'" >&6;}
3933 ac_configure_args="$ac_configure_args '--disable-luajittex'" ;; #(
3939 ## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3940 ## configure options and TL libraries required for web2c
3941 # Check whether --enable-web2c was given.
3942 if test "${enable_web2c+set}" = set; then :
3943 enableval=$enable_web2c;
3945 case $enable_web2c in #(
3950 enable_web2c=$enable_all_pkgs
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \
`--enable-web2c=$enable_web2c'" >&5
3952 $as_echo "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;}
3953 ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'"
3957 test "x$enable_web2c" = xno || {
3962 ## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3963 ## configure options for TeX and MF
3965 # Check whether --with-banner-add was given.
3966 if test "${with_banner_add+set}" = set; then :
3967 withval=$with_banner_add;
3970 # Check whether --with-editor was given.
3971 if test "${with_editor+set}" = set; then :
3972 withval=$with_editor;
3974 # Check whether --enable-auto-core was given.
3975 if test "${enable_auto_core+set}" = set; then :
3976 enableval=$enable_auto_core;
3978 # Check whether --enable-dump-share was given.
3979 if test "${enable_dump_share+set}" = set; then :
3980 enableval=$enable_dump_share;
3982 ## configure options for TeX
3983 # Check whether --enable-ipc was given.
3984 if test "${enable_ipc+set}" = set; then :
3985 enableval=$enable_ipc;
3987 # Check whether --enable-tex was given.
3988 if test "${enable_tex+set}" = set; then :
3989 enableval=$enable_tex;
3991 case $enable_tex in #(
3998 # Check whether --enable-tex-synctex was given.
3999 if test "${enable_tex_synctex+set}" = set; then :
4000 enableval=$enable_tex_synctex;
4002 # Check whether --enable-etex was given.
4003 if test "${enable_etex+set}" = set; then :
4004 enableval=$enable_etex;
4006 case $enable_etex in #(
4013 # Check whether --enable-etex-synctex was given.
4014 if test "${enable_etex_synctex+set}" = set; then :
4015 enableval=$enable_etex_synctex;
4017 # Check whether --enable-ptex was given.
4018 if test "${enable_ptex+set}" = set; then :
4019 enableval=$enable_ptex;
4021 case $enable_ptex in #(
4028 # Check whether --enable-ptex-synctex was given.
4029 if test "${enable_ptex_synctex+set}" = set; then :
4030 enableval=$enable_ptex_synctex;
4033 test "x$enable_web2c:$enable_ptex" = xyes:yes && {
4036 # Check whether --enable-eptex was given.
4037 if test "${enable_eptex+set}" = set; then :
4038 enableval=$enable_eptex;
4040 case $enable_eptex in #(
4047 # Check whether --enable-eptex-synctex was given.
4048 if test "${enable_eptex_synctex+set}" = set; then :
4049 enableval=$enable_eptex_synctex;
4052 test "x$enable_web2c:$enable_eptex" = xyes:yes && {
4055 # Check whether --enable-uptex was given.
4056 if test "${enable_uptex+set}" = set; then :
4057 enableval=$enable_uptex;
4059 case $enable_uptex in #(
4066 # Check whether --enable-uptex-synctex was given.
4067 if test "${enable_uptex_synctex+set}" = set; then :
4068 enableval=$enable_uptex_synctex;
4071 test "x$enable_web2c:$enable_uptex" = xyes:yes && {
4074 # Check whether --enable-euptex was given.
4075 if test "${enable_euptex+set}" = set; then :
4076 enableval=$enable_euptex;
4078 case $enable_euptex in #(
4082 enable_euptex=yes ;;
4085 # Check whether --enable-euptex-synctex was given.
4086 if test "${enable_euptex_synctex+set}" = set; then :
4087 enableval=$enable_euptex_synctex;
4090 test "x$enable_web2c:$enable_euptex" = xyes:yes && {
4093 # Check whether --enable-aleph was given.
4094 if test "${enable_aleph+set}" = set; then :
4095 enableval=$enable_aleph;
4097 case $enable_aleph in #(
4103 # Check whether --enable-pdftex was given.
4104 if test "${enable_pdftex+set}" = set; then :
4105 enableval=$enable_pdftex;
4107 case $enable_pdftex in #(
4111 enable_pdftex=yes ;;
4114 # Check whether --enable-pdftex-synctex was given.
4115 if test "${enable_pdftex_synctex+set}" = set; then :
4116 enableval=$enable_pdftex_synctex;
4119 test "x$enable_web2c:$enable_pdftex" = xyes:yes && {
4123 # Check whether --enable-luatex was given.
4124 if test "${enable_luatex+set}" = set; then :
4125 enableval=$enable_luatex;
4127 case $enable_luatex in #(
4131 enable_luatex=yes ;;
4134 test "x$enable_web2c:$enable_luatex" = xyes:yes && {
4142 # Check whether --enable-luajittex was given.
4143 if test "${enable_luajittex+set}" = set; then :
4144 enableval=$enable_luajittex;
4146 case $enable_luajittex in #(
4150 enable_luajittex=yes ;;
4153 test "x$enable_web2c:$enable_luajittex" = xyes:yes && {
4161 # Check whether --enable-mp was given.
4162 if test "${enable_mp+set}" = set; then :
4163 enableval=$enable_mp;
4165 case $enable_mp in #(
4172 test "x$enable_web2c:$enable_mp" = xyes:yes && {
4177 # Check whether --enable-pmp was given.
4178 if test "${enable_pmp+set}" = set; then :
4179 enableval=$enable_pmp;
4181 case $enable_pmp in #(
4188 test "x$enable_web2c:$enable_pmp" = xyes:yes && {
4194 # Check whether --enable-upmp was given.
4195 if test "${enable_upmp+set}" = set; then :
4196 enableval=$enable_upmp;
4198 case $enable_upmp in #(
4205 test "x$enable_web2c:$enable_upmp" = xyes:yes && {
4211 # Check whether --enable-xetex was given.
4212 if test "${enable_xetex+set}" = set; then :
4213 enableval=$enable_xetex;
4215 case $enable_xetex in #(
4222 # Check whether --enable-xetex-synctex was given.
4223 if test "${enable_xetex_synctex+set}" = set; then :
4224 enableval=$enable_xetex_synctex;
4227 test "x$enable_web2c:$enable_xetex" = xyes:yes && {
4234 ## configure options for MF
4235 # Check whether --enable-mf was given.
4236 if test "${enable_mf+set}" = set; then :
4237 enableval=$enable_mf;
4239 # Check whether --enable-mf-nowin was given.
4240 if test "${enable_mf_nowin+set}" = set; then :
4241 enableval=$enable_mf_nowin;
4244 # Check whether --with-mf-x-toolkit was given.
4245 if test "${with_mf_x_toolkit+set}" = set; then :
4246 withval=$with_mf_x_toolkit;
4248 # Check whether --enable-epsfwin was given.
4249 if test "${enable_epsfwin+set}" = set; then :
4250 enableval=$enable_epsfwin;
4252 # Check whether --enable-hp2627win was given.
4253 if test "${enable_hp2627win+set}" = set; then :
4254 enableval=$enable_hp2627win;
4256 # Check whether --enable-mftalkwin was given.
4257 if test "${enable_mftalkwin+set}" = set; then :
4258 enableval=$enable_mftalkwin;
4260 # Check whether --enable-nextwin was given.
4261 if test "${enable_nextwin+set}" = set; then :
4262 enableval=$enable_nextwin;
4264 # Check whether --enable-regiswin was given.
4265 if test "${enable_regiswin+set}" = set; then :
4266 enableval=$enable_regiswin;
4268 # Check whether --enable-suntoolswin was given.
4269 if test "${enable_suntoolswin+set}" = set; then :
4270 enableval=$enable_suntoolswin;
4272 # Check whether --enable-tektronixwin was given.
4273 if test "${enable_tektronixwin+set}" = set; then :
4274 enableval=$enable_tektronixwin;
4276 # Check whether --enable-unitermwin was given.
4277 if test "${enable_unitermwin+set}" = set; then :
4278 enableval=$enable_unitermwin;
4280 ## configure options for WEB programs
4281 # Check whether --enable-web-progs was given.
4282 if test "${enable_web_progs+set}" = set; then :
4283 enableval=$enable_web_progs;
4285 ## configure option for the SyncTeX library and tool
4286 # Check whether --enable-synctex was given.
4287 if test "${enable_synctex+set}" = set; then :
4288 enableval=$enable_synctex;
4292 ## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
4293 ## configure options and TL libraries required for texlive
4294 # Check whether --enable-texlive was given.
4295 if test "${enable_texlive+set}" = set; then :
4296 enableval=$enable_texlive;
4298 case $enable_texlive in #(
4303 enable_texlive=$enable_all_pkgs
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5
4305 $as_echo "$as_me: Assuming \
`--enable-texlive=$enable_texlive'" >&6;}
4306 ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'"
4310 ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
4311 ## configure options for texlive
4312 # Check whether --enable-linked-scripts was given.
4313 if test "${enable_linked_scripts+set}" = set; then :
4314 enableval=$enable_linked_scripts;
4318 ## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
4319 ## configure options and TL libraries required for zziplib
4321 # Check whether --with-system-zziplib was given.
4322 if test "${with_system_zziplib+set}" = set; then :
4323 withval=$with_system_zziplib;
4325 if test "x$with_system_zziplib" = x; then
4326 if test -f $srcdir/libs/zziplib/configure; then
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib
' headers and library from TL tree" >&5
4328 $as_echo "$as_me: Assuming \`zziplib' headers and library from TL tree
" >&6;}
4329 with_system_zziplib=no
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`zziplib' headers and library" >&5
4332 $as_echo "$as_me: Assuming installed \`zziplib
' headers and library" >&6;}
4333 with_system_zziplib=yes
4335 ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'"
4336 elif test "x$with_system_zziplib" = xyes; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`zziplib' headers and library
" >&5
4338 $as_echo "$as_me: Using installed \
`zziplib' headers and library" >&6;}
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zziplib
' headers and library from TL tree" >&5
4341 $as_echo "$as_me: Using \`zziplib' headers and library from TL tree
" >&6;}
4342 if test "x
$with_system_zziplib" != xno; then
4343 with_system_zziplib=no
4344 ac_configure_args="$ac_configure_args '--without-system-zziplib'"
4347 if test "x
$with_system_zziplib" = xyes; then
4348 if test "x
$with_system_zlib" = x; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \
`zlib' headers and library" >&5
4350 $as_echo "$as_me: -> installed \`zlib
' headers and library" >&6;}
4351 with_system_zlib=yes
4352 ac_configure_args="$ac_configure_args '--with-system-zlib'"
4353 elif test "x$with_system_zlib" != xyes; then
4354 as_fn_error $? "Sorry, \`--with-system-zziplib' requires \
`--with-system-zlib'" "$LINENO" 5
4358 test "x$need_zziplib" = xyes && {
4362 ## libs/poppler/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/poppler/
4363 ## configure options and TL libraries required for poppler
4365 # Check whether --with-system-poppler was given.
4366 if test "${with_system_poppler+set}" = set; then :
4367 withval=$with_system_poppler;
4369 if test "x$with_system_poppler" = x; then
4370 if test -f $srcdir/libs/poppler/configure; then
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`poppler
' headers and library from TL tree" >&5
4372 $as_echo "$as_me: Assuming \`poppler' headers and library from TL tree
" >&6;}
4373 with_system_poppler=no
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`poppler' headers and library" >&5
4376 $as_echo "$as_me: Assuming installed \`poppler
' headers and library" >&6;}
4377 with_system_poppler=yes
4379 ac_configure_args="$ac_configure_args '--with-system-poppler=$with_system_poppler'"
4380 elif test "x$with_system_poppler" = xyes; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`poppler' headers and library
" >&5
4382 $as_echo "$as_me: Using installed \
`poppler' headers and library" >&6;}
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`poppler
' headers and library from TL tree" >&5
4385 $as_echo "$as_me: Using \`poppler' headers and library from TL tree
" >&6;}
4386 if test "x
$with_system_poppler" != xno; then
4387 with_system_poppler=no
4388 ac_configure_args="$ac_configure_args '--without-system-poppler'"
4391 if test "x
$with_system_poppler" = xyes; then
4392 if test "x
$with_system_zlib" = x; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \
`zlib' headers and library" >&5
4394 $as_echo "$as_me: -> installed \`zlib
' headers and library" >&6;}
4395 with_system_zlib=yes
4396 ac_configure_args="$ac_configure_args '--with-system-zlib'"
4397 elif test "x$with_system_zlib" != xyes; then
4398 as_fn_error $? "Sorry, \`--with-system-poppler' requires \
`--with-system-zlib'" "$LINENO" 5
4402 test "x$need_poppler" = xyes && {
4406 ## libs/mpfr/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/
4407 ## configure options and TL libraries required for mpfr
4409 # Check whether --with-system-mpfr was given.
4410 if test "${with_system_mpfr+set}" = set; then :
4411 withval=$with_system_mpfr;
4414 # Check whether --with-mpfr-includes was given.
4415 if test "${with_mpfr_includes+set}" = set; then :
4416 withval=$with_mpfr_includes;
4419 # Check whether --with-mpfr-libdir was given.
4420 if test "${with_mpfr_libdir+set}" = set; then :
4421 withval=$with_mpfr_libdir;
4423 if test "x$with_system_mpfr" = x; then
4424 if test -f $srcdir/libs/mpfr/configure; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`mpfr
' headers and library from TL tree" >&5
4426 $as_echo "$as_me: Assuming \`mpfr' headers and library from TL tree
" >&6;}
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`mpfr' headers and library" >&5
4430 $as_echo "$as_me: Assuming installed \`mpfr
' headers and library" >&6;}
4431 with_system_mpfr=yes
4433 ac_configure_args="$ac_configure_args '--with-system-mpfr=$with_system_mpfr'"
4434 elif test "x$with_system_mpfr" = xyes; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`mpfr' headers and library
" >&5
4436 $as_echo "$as_me: Using installed \
`mpfr' headers and library" >&6;}
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`mpfr
' headers and library from TL tree" >&5
4439 $as_echo "$as_me: Using \`mpfr' headers and library from TL tree
" >&6;}
4440 if test "x
$with_system_mpfr" != xno; then
4442 ac_configure_args="$ac_configure_args '--without-system-mpfr'"
4445 if test "x
$with_system_mpfr" = xyes; then
4446 if test "x
$with_system_gmp" = x; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \
`gmp' headers and library" >&5
4448 $as_echo "$as_me: -> installed \`gmp
' headers and library" >&6;}
4450 ac_configure_args="$ac_configure_args '--with-system-gmp'"
4451 elif test "x$with_system_gmp" != xyes; then
4452 as_fn_error $? "Sorry, \`--with-system-mpfr' requires \
`--with-system-gmp'" "$LINENO" 5
4456 test "x$need_mpfr" = xyes && {
4460 ## libs/gmp/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/
4461 ## configure options and TL libraries required for gmp
4463 # Check whether --with-system-gmp was given.
4464 if test "${with_system_gmp+set}" = set; then :
4465 withval=$with_system_gmp;
4468 # Check whether --with-gmp-includes was given.
4469 if test "${with_gmp_includes+set}" = set; then :
4470 withval=$with_gmp_includes;
4473 # Check whether --with-gmp-libdir was given.
4474 if test "${with_gmp_libdir+set}" = set; then :
4475 withval=$with_gmp_libdir;
4477 if test "x$with_system_gmp" = x; then
4478 if test -f $srcdir/libs/gmp/configure; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`gmp
' headers and library from TL tree" >&5
4480 $as_echo "$as_me: Assuming \`gmp' headers and library from TL tree
" >&6;}
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`gmp' headers and library" >&5
4484 $as_echo "$as_me: Assuming installed \`gmp
' headers and library" >&6;}
4487 ac_configure_args="$ac_configure_args '--with-system-gmp=$with_system_gmp'"
4488 elif test "x$with_system_gmp" = xyes; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`gmp' headers and library
" >&5
4490 $as_echo "$as_me: Using installed \
`gmp' headers and library" >&6;}
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`gmp
' headers and library from TL tree" >&5
4493 $as_echo "$as_me: Using \`gmp' headers and library from TL tree
" >&6;}
4494 if test "x
$with_system_gmp" != xno; then
4496 ac_configure_args="$ac_configure_args '--without-system-gmp'"
4500 ## libs/cairo/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/
4501 ## configure options and TL libraries required for cairo
4503 # Check whether --with-system-cairo was given.
4504 if test "${with_system_cairo+set}" = set; then :
4505 withval=$with_system_cairo;
4507 if test "x
$with_system_cairo" = x; then
4508 if test -f $srcdir/libs/cairo/configure; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \
`cairo' headers and library from TL tree" >&5
4510 $as_echo "$as_me: Assuming \`cairo
' headers and library from TL tree" >&6;}
4511 with_system_cairo=no
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`cairo' headers and library
" >&5
4514 $as_echo "$as_me: Assuming installed \
`cairo' headers and library" >&6;}
4515 with_system_cairo=yes
4517 ac_configure_args="$ac_configure_args '--with-system-cairo=$with_system_cairo'"
4518 elif test "x$with_system_cairo" = xyes; then
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`cairo
' headers and library" >&5
4520 $as_echo "$as_me: Using installed \`cairo' headers and library
" >&6;}
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \
`cairo' headers and library from TL tree" >&5
4523 $as_echo "$as_me: Using \`cairo
' headers and library from TL tree" >&6;}
4524 if test "x$with_system_cairo" != xno; then
4525 with_system_cairo=no
4526 ac_configure_args="$ac_configure_args '--without-system-cairo'"
4529 if test "x$with_system_cairo" = xyes; then
4530 if test "x$with_system_pixman" = x; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`pixman' headers and library
" >&5
4532 $as_echo "$as_me: -> installed \
`pixman' headers and library" >&6;}
4533 with_system_pixman=yes
4534 ac_configure_args="$ac_configure_args '--with-system-pixman'"
4535 elif test "x$with_system_pixman" != xyes; then
4536 as_fn_error $? "Sorry, \`--with-system-cairo' requires \`--with-system-pixman'" "$LINENO" 5
4540 test "x
$need_cairo" = xyes && {
4544 ## libs/pixman/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/
4545 ## configure options and TL libraries required for pixman
4547 # Check whether --with-system-pixman was given.
4548 if test "${with_system_pixman+set}" = set; then :
4549 withval=$with_system_pixman;
4551 if test "x
$with_system_pixman" = x; then
4552 if test -f $srcdir/libs/pixman/configure; then
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \
`pixman' headers and library from TL tree" >&5
4554 $as_echo "$as_me: Assuming \`pixman
' headers and library from TL tree" >&6;}
4555 with_system_pixman=no
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`pixman' headers and library
" >&5
4558 $as_echo "$as_me: Assuming installed \
`pixman' headers and library" >&6;}
4559 with_system_pixman=yes
4561 ac_configure_args="$ac_configure_args '--with-system-pixman=$with_system_pixman'"
4562 elif test "x$with_system_pixman" = xyes; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`pixman
' headers and library" >&5
4564 $as_echo "$as_me: Using installed \`pixman' headers and library
" >&6;}
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \
`pixman' headers and library from TL tree" >&5
4567 $as_echo "$as_me: Using \`pixman
' headers and library from TL tree" >&6;}
4568 if test "x$with_system_pixman" != xno; then
4569 with_system_pixman=no
4570 ac_configure_args="$ac_configure_args '--without-system-pixman'"
4574 ## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
4575 ## configure options and TL libraries required for libpng
4577 # Check whether --with-system-libpng was given.
4578 if test "${with_system_libpng+set}" = set; then :
4579 withval=$with_system_libpng;
4581 if test "x$with_system_libpng" = x; then
4582 if test -f $srcdir/libs/libpng/configure; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree
" >&5
4584 $as_echo "$as_me: Assuming \
`libpng' headers and library from TL tree" >&6;}
4585 with_system_libpng=no
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng
' headers and library" >&5
4588 $as_echo "$as_me: Assuming installed \`libpng' headers and library
" >&6;}
4589 with_system_libpng=yes
4591 ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'"
4592 elif test "x
$with_system_libpng" = xyes; then
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \
`libpng' headers and library" >&5
4594 $as_echo "$as_me: Using installed \`libpng
' headers and library" >&6;}
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`libpng' headers and library from TL tree
" >&5
4597 $as_echo "$as_me: Using \
`libpng' headers and library from TL tree" >&6;}
4598 if test "x$with_system_libpng" != xno; then
4599 with_system_libpng=no
4600 ac_configure_args="$ac_configure_args '--without-system-libpng'"
4603 if test "x$with_system_libpng" = xyes; then
4604 if test "x$with_system_zlib" = x; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib
' headers and library" >&5
4606 $as_echo "$as_me: -> installed \`zlib' headers and library
" >&6;}
4607 with_system_zlib=yes
4608 ac_configure_args="$ac_configure_args '--with-system-zlib'"
4609 elif test "x
$with_system_zlib" != xyes; then
4610 as_fn_error $? "Sorry
, \
`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5
4614 test "x$need_libpng" = xyes && {
4618 ## libs/luajit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/luajit/
4619 ## configure options and TL libraries required for luajit
4621 ## libs/lua52/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua52/
4622 ## configure options and TL libraries required for lua52
4624 ## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
4625 ## configure options and TL libraries required for zlib
4627 # Check whether --with-system-zlib was given.
4628 if test "${with_system_zlib+set}" = set; then :
4629 withval=$with_system_zlib;
4632 # Check whether --with-zlib-includes was given.
4633 if test "${with_zlib_includes+set}" = set; then :
4634 withval=$with_zlib_includes;
4637 # Check whether --with-zlib-libdir was given.
4638 if test "${with_zlib_libdir+set}" = set; then :
4639 withval=$with_zlib_libdir;
4641 if test "x$with_system_zlib" = x; then
4642 if test -f $srcdir/libs/zlib/configure; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree
" >&5
4644 $as_echo "$as_me: Assuming \
`zlib' headers and library from TL tree" >&6;}
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib
' headers and library" >&5
4648 $as_echo "$as_me: Assuming installed \`zlib' headers and library
" >&6;}
4649 with_system_zlib=yes
4651 ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'"
4652 elif test "x
$with_system_zlib" = xyes; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \
`zlib' headers and library" >&5
4654 $as_echo "$as_me: Using installed \`zlib
' headers and library" >&6;}
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zlib' headers and library from TL tree
" >&5
4657 $as_echo "$as_me: Using \
`zlib' headers and library from TL tree" >&6;}
4658 if test "x$with_system_zlib" != xno; then
4660 ac_configure_args="$ac_configure_args '--without-system-zlib'"
4665 ## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
4666 ## configure options and TL libraries required for kpathsea
4668 # Check whether --with-system-kpathsea was given.
4669 if test "${with_system_kpathsea+set}" = set; then :
4670 withval=$with_system_kpathsea;
4672 if test "x$with_system_kpathsea" = x; then
4673 if test -f $srcdir/texk/kpathsea/configure; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea
' headers and library from TL tree" >&5
4675 $as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree
" >&6;}
4676 with_system_kpathsea=no
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`kpathsea' headers and library" >&5
4679 $as_echo "$as_me: Assuming installed \`kpathsea
' headers and library" >&6;}
4680 with_system_kpathsea=yes
4682 ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
4683 elif test "x$with_system_kpathsea" = xyes; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`kpathsea' headers and library
" >&5
4685 $as_echo "$as_me: Using installed \
`kpathsea' headers and library" >&6;}
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`kpathsea
' headers and library from TL tree" >&5
4688 $as_echo "$as_me: Using \`kpathsea' headers and library from TL tree
" >&6;}
4689 if test "x
$with_system_kpathsea" != xno; then
4690 with_system_kpathsea=no
4691 ac_configure_args="$ac_configure_args '--without-system-kpathsea'"
4695 ## texk/kpathsea/ac/mktex.ac: configure.ac fragment for the TeX Live
4696 ## subdirectory texk/kpathsea.
4697 ## configure defaults for mktexfmt & Co.
4698 # Check whether --enable-mktexmf-default was given.
4699 if test "${enable_mktexmf_default+set}" = set; then :
4700 enableval=$enable_mktexmf_default;
4702 # Check whether --enable-mktexpk-default was given.
4703 if test "${enable_mktexpk_default+set}" = set; then :
4704 enableval=$enable_mktexpk_default;
4706 # Check whether --enable-mktextfm-default was given.
4707 if test "${enable_mktextfm_default+set}" = set; then :
4708 enableval=$enable_mktextfm_default;
4710 # Check whether --enable-mkocp-default was given.
4711 if test "${enable_mkocp_default+set}" = set; then :
4712 enableval=$enable_mkocp_default;
4714 # Check whether --enable-mkofm-default was given.
4715 if test "${enable_mkofm_default+set}" = set; then :
4716 enableval=$enable_mkofm_default;
4718 # Check whether --enable-mktexfmt-default was given.
4719 if test "${enable_mktexfmt_default+set}" = set; then :
4720 enableval=$enable_mktexfmt_default;
4722 # Check whether --enable-mktextex-default was given.
4723 if test "${enable_mktextex_default+set}" = set; then :
4724 enableval=$enable_mktextex_default;
4730 am__api_version='1.15'
4732 # Find a good install program. We prefer a C program (faster),
4733 # so one script is as good as another. But avoid the broken or
4734 # incompatible versions:
4735 # SysV /etc/install, /usr/sbin/install
4736 # SunOS /usr/etc/install
4737 # IRIX /sbin/install
4739 # AmigaOS /C/install, which installs bootblocks on floppy discs
4740 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4741 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4742 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
4743 # OS/2's system install, which has a completely different semantic
4744 # ./install, which can be erroneously created by make from ./install.sh.
4745 # Reject install programs that cannot install multiple files.
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
4747 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
4748 if test -z "$INSTALL"; then
4749 if ${ac_cv_path_install+:} false; then :
4750 $as_echo_n "(cached
) " >&6
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir=.
4757 # Account for people who put trailing slashes in PATH elements.
4758 case $as_dir/ in #((
4759 ./ | .// | /[cC]/* | \
4760 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4761 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4764 # OSF1 and SCO ODT 3.0 have their own names for install.
4765 # Don't use installbsd from OSF since it installs stuff as root
4767 for ac_prog in ginstall scoinst install; do
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4770 if test $ac_prog = install &&
4771 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4772 # AIX install. It has an incompatible calling convention.
4774 elif test $ac_prog = install &&
4775 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4776 # program-specific install script used by HP pwplus--don't use.
4779 rm -rf conftest.one conftest.two conftest.dir
4780 echo one > conftest.one
4781 echo two > conftest.two
4783 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
4784 test -s conftest.one && test -s conftest.two &&
4785 test -s conftest.dir/conftest.one &&
4786 test -s conftest.dir/conftest.two
4788 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4801 rm -rf conftest.one conftest.two conftest.dir
4804 if test "${ac_cv_path_install+set}" = set; then
4805 INSTALL=$ac_cv_path_install
4807 # As a last resort, use the slow shell script. Don't cache a
4808 # value for INSTALL within a source directory, because that will
4809 # break other packages using the cache if that directory is
4810 # removed, or if the value is a relative name.
4811 INSTALL=$ac_install_sh
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
4815 $as_echo "$INSTALL" >&6; }
4817 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4818 # It thinks the first close brace ends the variable substitution.
4819 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4821 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4823 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane
" >&5
4826 $as_echo_n "checking whether build environment is sane...
" >&6; }
4827 # Reject unsafe characters in $srcdir or the absolute working directory
4828 # name. Accept space and tab only in the latter.
4832 *[\\\"\#\$\&\'\`$am_lf]*)
4833 as_fn_error $? "unsafe absolute working directory name
" "$LINENO" 5;;
4836 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4837 as_fn_error $? "unsafe srcdir value
: '$srcdir'" "$LINENO" 5;;
4840 # Do 'set' in a subshell so we don't clobber the current shell's
4841 # arguments. Must try -L first in case configure is actually a
4842 # symlink; some systems play weird games with the mod time of symlinks
4843 # (eg FreeBSD returns the mod time of the symlink's containing
4847 for am_try in 1 2; do
4848 echo "timestamp
, slept
: $am_has_slept" > conftest.file
4849 set X `ls -Lt "$srcdir/configure
" conftest.file 2> /dev/null`
4850 if test "$
*" = "X
"; then
4852 set X `ls -t "$srcdir/configure
" conftest.file`
4854 if test "$
*" != "X
$srcdir/configure conftest.
file" \
4855 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
4857 # If neither matched, then we have a broken ls. This can happen
4858 # if, for instance, CONFIG_SHELL is bash and it inherits a
4859 # broken ls alias from the environment. This has actually
4860 # happened. Such a system could not be considered "sane
".
4861 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4862 alias in your environment
" "$LINENO" 5
4864 if test "$2" = conftest.file || test $am_try -eq 2; then
4871 test "$2" = conftest.file
4877 as_fn_error $? "newly created
file is older than distributed files
!
4878 Check your system
clock" "$LINENO" 5
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4881 $as_echo "yes" >&6; }
4882 # If we didn't sleep, we still need to ensure time stamps of config.status and
4883 # generated files are strictly newer.
4885 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4892 test "$program_prefix" != NONE &&
4893 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
4894 # Use a double $ so make ignores it.
4895 test "$program_suffix" != NONE &&
4896 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
4897 # Double any \ or $.
4898 # By default was `s,x,x', remove it if useless.
4899 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4900 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4902 if test x"${MISSING+set}" != xset; then
4905 MISSING="\
${SHELL} \"$am_aux_dir/missing
\"" ;;
4907 MISSING="\
${SHELL} $am_aux_dir/missing
" ;;
4910 # Use eval to expand $SHELL
4911 if eval "$MISSING --is-lightweight"; then
4912 am_missing_run="$MISSING "
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: 'missing' script is too old or missing
" >&5
4916 $as_echo "$as_me: WARNING
: 'missing' script is too old or missing
" >&2;}
4919 if test x"${install_sh+set}" != xset; then
4922 install_sh="\
${SHELL} '$am_aux_dir/install-sh'" ;;
4924 install_sh="\
${SHELL} $am_aux_dir/install-sh
"
4928 # Installed binaries are usually stripped using 'strip' when the user
4929 # run "make install-strip
". However 'strip' might not be the right
4930 # tool to use in cross-compilation environments, therefore Automake
4931 # will honor the 'STRIP' environment variable to overrule this program.
4932 if test "$cross_compiling" != no; then
4933 if test -n "$ac_tool_prefix"; then
4934 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4935 set dummy ${ac_tool_prefix}strip; ac_word=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4937 $as_echo_n "checking
for $ac_word...
" >&6; }
4938 if ${ac_cv_prog_STRIP+:} false; then :
4939 $as_echo_n "(cached
) " >&6
4941 if test -n "$STRIP"; then
4942 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4961 STRIP=$ac_cv_prog_STRIP
4962 if test -n "$STRIP"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
4964 $as_echo "$STRIP" >&6; }
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4967 $as_echo "no
" >&6; }
4972 if test -z "$ac_cv_prog_STRIP"; then
4974 # Extract the first word of "strip
", so it can be a program name with args.
4975 set dummy strip; ac_word=$2
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4977 $as_echo_n "checking
for $ac_word...
" >&6; }
4978 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4979 $as_echo_n "(cached
) " >&6
4981 if test -n "$ac_ct_STRIP"; then
4982 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 test -z "$as_dir" && as_dir=.
4989 for ac_exec_ext in '' $ac_executable_extensions; do
4990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4991 ac_cv_prog_ac_ct_STRIP="strip
"
4992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5001 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5002 if test -n "$ac_ct_STRIP"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5004 $as_echo "$ac_ct_STRIP" >&6; }
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5007 $as_echo "no
" >&6; }
5010 if test "x
$ac_ct_STRIP" = x; then
5013 case $cross_compiling:$ac_tool_warned in
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5016 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5017 ac_tool_warned=yes ;;
5022 STRIP="$ac_cv_prog_STRIP"
5026 INSTALL_STRIP_PROGRAM="\$
(install_sh
) -c -s"
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a thread-safe mkdir
-p" >&5
5029 $as_echo_n "checking
for a thread-safe mkdir
-p...
" >&6; }
5030 if test -z "$MKDIR_P"; then
5031 if ${ac_cv_path_mkdir+:} false; then :
5032 $as_echo_n "(cached
) " >&6
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5038 test -z "$as_dir" && as_dir=.
5039 for ac_prog in mkdir gmkdir; do
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5042 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5043 'mkdir (GNU coreutils) '* | \
5044 'mkdir (coreutils) '* | \
5045 'mkdir (fileutils) '4.1*)
5046 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5056 test -d ./--version && rmdir ./--version
5057 if test "${ac_cv_path_mkdir+set}" = set; then
5058 MKDIR_P="$ac_cv_path_mkdir -p"
5060 # As a last resort, use the slow shell script. Don't cache a
5061 # value for MKDIR_P within a source directory, because that will
5062 # break other packages using the cache if that directory is
5063 # removed, or if the value is a relative name.
5064 MKDIR_P="$ac_install_sh -d"
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MKDIR_P" >&5
5068 $as_echo "$MKDIR_P" >&6; }
5070 for ac_prog in gawk mawk nawk awk
5072 # Extract the first word of "$ac_prog", so it can be a program name with args.
5073 set dummy $ac_prog; ac_word=$2
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5075 $as_echo_n "checking
for $ac_word...
" >&6; }
5076 if ${ac_cv_prog_AWK+:} false; then :
5077 $as_echo_n "(cached
) " >&6
5079 if test -n "$AWK"; then
5080 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 test -z "$as_dir" && as_dir=.
5087 for ac_exec_ext in '' $ac_executable_extensions; do
5088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5089 ac_cv_prog_AWK="$ac_prog"
5090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5100 if test -n "$AWK"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
5102 $as_echo "$AWK" >&6; }
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5105 $as_echo "no
" >&6; }
5109 test -n "$AWK" && break
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
5113 $as_echo_n "checking whether
${MAKE-make} sets \$
(MAKE
)...
" >&6; }
5115 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5116 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5117 $as_echo_n "(cached
) " >&6
5119 cat >conftest.make <<\_ACEOF
5122 @echo '@@@%%%=$(MAKE)=@@@%%%'
5124 # GNU make sometimes prints "make[1]: Entering ...
", which would confuse us.
5125 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5127 eval ac_cv_prog_make_${ac_make}_set=yes;;
5129 eval ac_cv_prog_make_${ac_make}_set=no;;
5133 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5135 $as_echo "yes" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5139 $as_echo "no
" >&6; }
5140 SET_MAKE="MAKE
=${MAKE-make}"
5143 rm -rf .tst 2>/dev/null
5144 mkdir .tst 2>/dev/null
5145 if test -d .tst; then
5150 rmdir .tst 2>/dev/null
5152 DEPDIR="${am__leading_dot}deps
"
5154 ac_config_commands="$ac_config_commands depfiles
"
5157 am_make=${MAKE-make}
5158 cat > confinc << 'END'
5160 @echo this is the am__doit target
5163 # If we don't find an include directive, just comment out the code.
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for style of include used by
$am_make" >&5
5165 $as_echo_n "checking
for style of include used by
$am_make...
" >&6; }
5169 # First try GNU make style include.
5170 echo "include confinc" > confmf
5171 # Ignore all kinds of additional output from 'make'.
5172 case `$am_make -s -f confmf 2> /dev/null` in #(
5173 *the\ am__doit\ target
*)
5179 # Now try BSD make style include.
5180 if test "$am__include" = "#"; then
5181 echo '.include "confinc"' > confmf
5182 case `$am_make -s -f confmf 2> /dev/null` in #(
5183 *the\ am__doit\ target
*)
5184 am__include
=.include
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5193 $as_echo "$_am_result" >&6; }
5194 rm -f confinc confmf
5196 # Check whether --enable-dependency-tracking was given.
5197 if test "${enable_dependency_tracking+set}" = set; then :
5198 enableval
=$enable_dependency_tracking;
5201 if test "x$enable_dependency_tracking" != xno
; then
5202 am_depcomp
="$ac_aux_dir/depcomp"
5206 if test "x$enable_dependency_tracking" != xno; then
5215 # Check whether --enable-silent-rules was given.
5216 if test "${enable_silent_rules+set}" = set; then :
5217 enableval
=$enable_silent_rules;
5220 case $enable_silent_rules in # (((
5221 yes) AM_DEFAULT_VERBOSITY
=0;;
5222 no
) AM_DEFAULT_VERBOSITY
=1;;
5223 *) AM_DEFAULT_VERBOSITY
=1;;
5225 am_make
=${MAKE-make}
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5227 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5228 if ${am_cv_make_support_nested_variables+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 if $as_echo 'TRUE=$(BAR$(V))
5237 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5238 am_cv_make_support_nested_variables
=yes
5240 am_cv_make_support_nested_variables
=no
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5244 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5245 if test $am_cv_make_support_nested_variables = yes; then
5247 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5249 AM_V
=$AM_DEFAULT_VERBOSITY
5250 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5254 # Check whether --enable-compiler-warnings was given.
5255 if test "${enable_compiler_warnings+set}" = set; then :
5256 enableval=$enable_compiler_warnings;
5258 case $enable_compiler_warnings in #(
5259 no | min | yes | max | all) :
5262 if test "x$enable_maintainer_mode" = xyes; then :
5263 enable_compiler_warnings=yes
5265 enable_compiler_warnings=min
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5272 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5277 macro_version='2.4.6'
5278 macro_revision='2.4.6'
5292 ltmain=$ac_aux_dir/ltmain.sh
5294 # Backslashify metacharacters that are still active within
5295 # double-quoted strings.
5296 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
5298 # Same as above, but do not quote variable references.
5299 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5301 # Sed substitution to delay expansion of an escaped shell variable in a
5302 # double_quote_subst'ed string.
5303 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5305 # Sed substitution to delay expansion of an escaped single quote.
5306 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5308 # Sed substitution to avoid accidental globbing in evaled expressions
5309 no_glob_subst='s/\*/\\\*/g'
5311 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5312 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5313 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5316 $as_echo_n "checking how to print strings... " >&6; }
5317 # Test print first, because it will be a builtin if present.
5318 if test "X`( print
-r -- -n ) 2>/dev
/null
`" = X-n && \
5319 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
5321 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
5324 # Use this function as a fallback that always works.
5325 func_fallback_echo ()
5327 eval 'cat <<_LTECHO_EOF
5331 ECHO='func_fallback_echo'
5334 # func_echo_all arg...
5335 # Invoke $ECHO with all args, space-separated.
5342 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5343 $as_echo "printf" >&6; } ;;
5344 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5345 $as_echo "print -r" >&6; } ;;
5346 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5347 $as_echo "cat" >&6; } ;;
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5364 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5365 if ${ac_cv_path_SED+:} false; then :
5366 $as_echo_n "(cached) " >&6
5368 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5369 for ac_i in 1 2 3 4 5 6 7; do
5370 ac_script="$ac_script$as_nl$ac_script"
5372 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5373 { ac_script=; unset ac_script;}
5374 if test -z "$SED"; then
5375 ac_path_SED_found=false
5376 # Loop through the user's path and test for each of PROGNAME-LIST
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 test -z "$as_dir" && as_dir=.
5382 for ac_prog in sed gsed; do
5383 for ac_exec_ext in '' $ac_executable_extensions; do
5384 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5385 as_fn_executable_p "$ac_path_SED" || continue
5386 # Check for GNU ac_path_SED and select it if it is found.
5387 # Check for GNU $ac_path_SED
5388 case `"$ac_path_SED" --version 2>&1` in
5390 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5393 $as_echo_n 0123456789 >"conftest.in"
5396 cat "conftest.in" "conftest.in" >"conftest.tmp"
5397 mv "conftest.tmp" "conftest.in"
5398 cp "conftest.in" "conftest.nl"
5399 $as_echo '' >> "conftest.nl"
5400 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5401 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5402 as_fn_arith $ac_count + 1 && ac_count=$as_val
5403 if test $ac_count -gt ${ac_path_SED_max-0}; then
5404 # Best one so far, save it but keep looking for a better one
5405 ac_cv_path_SED="$ac_path_SED"
5406 ac_path_SED_max=$ac_count
5408 # 10*(2^10) chars as input seems more than enough
5409 test $ac_count -gt 10 && break
5411 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5414 $ac_path_SED_found && break 3
5419 if test -z "$ac_cv_path_SED"; then
5420 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5428 $as_echo "$ac_cv_path_SED" >&6; }
5429 SED="$ac_cv_path_SED"
5432 test -z "$SED" && SED=sed
5433 Xsed="$SED -e 1s/^X//"
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5446 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5447 if ${ac_cv_path_GREP+:} false; then :
5448 $as_echo_n "(cached) " >&6
5450 if test -z "$GREP"; then
5451 ac_path_GREP_found=false
5452 # Loop through the user's path and test for each of PROGNAME-LIST
5453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5454 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5457 test -z "$as_dir" && as_dir=.
5458 for ac_prog in grep ggrep; do
5459 for ac_exec_ext in '' $ac_executable_extensions; do
5460 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5461 as_fn_executable_p "$ac_path_GREP" || continue
5462 # Check for GNU ac_path_GREP and select it if it is found.
5463 # Check for GNU $ac_path_GREP
5464 case `"$ac_path_GREP" --version 2>&1` in
5466 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5469 $as_echo_n 0123456789 >"conftest.in"
5472 cat "conftest.in" "conftest.in" >"conftest.tmp"
5473 mv "conftest.tmp" "conftest.in"
5474 cp "conftest.in" "conftest.nl"
5475 $as_echo 'GREP' >> "conftest.nl"
5476 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5477 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5478 as_fn_arith $ac_count + 1 && ac_count=$as_val
5479 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5480 # Best one so far, save it but keep looking for a better one
5481 ac_cv_path_GREP="$ac_path_GREP"
5482 ac_path_GREP_max=$ac_count
5484 # 10*(2^10) chars as input seems more than enough
5485 test $ac_count -gt 10 && break
5487 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5490 $ac_path_GREP_found && break 3
5495 if test -z "$ac_cv_path_GREP"; then
5496 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5499 ac_cv_path_GREP=$GREP
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5504 $as_echo "$ac_cv_path_GREP" >&6; }
5505 GREP="$ac_cv_path_GREP"
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5509 $as_echo_n "checking for egrep... " >&6; }
5510 if ${ac_cv_path_EGREP+:} false; then :
5511 $as_echo_n "(cached) " >&6
5513 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5514 then ac_cv_path_EGREP="$GREP -E"
5516 if test -z "$EGREP"; then
5517 ac_path_EGREP_found=false
5518 # Loop through the user's path and test for each of PROGNAME-LIST
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5523 test -z "$as_dir" && as_dir=.
5524 for ac_prog in egrep; do
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5527 as_fn_executable_p "$ac_path_EGREP" || continue
5528 # Check for GNU ac_path_EGREP and select it if it is found.
5529 # Check for GNU $ac_path_EGREP
5530 case `"$ac_path_EGREP" --version 2>&1` in
5532 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5535 $as_echo_n 0123456789 >"conftest.in"
5538 cat "conftest.in" "conftest.in" >"conftest.tmp"
5539 mv "conftest.tmp" "conftest.in"
5540 cp "conftest.in" "conftest.nl"
5541 $as_echo 'EGREP' >> "conftest.nl"
5542 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5543 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5544 as_fn_arith $ac_count + 1 && ac_count=$as_val
5545 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5546 # Best one so far, save it but keep looking for a better one
5547 ac_cv_path_EGREP="$ac_path_EGREP"
5548 ac_path_EGREP_max=$ac_count
5550 # 10*(2^10) chars as input seems more than enough
5551 test $ac_count -gt 10 && break
5553 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5556 $ac_path_EGREP_found && break 3
5561 if test -z "$ac_cv_path_EGREP"; then
5562 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5565 ac_cv_path_EGREP=$EGREP
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5571 $as_echo "$ac_cv_path_EGREP" >&6; }
5572 EGREP="$ac_cv_path_EGREP"
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5576 $as_echo_n "checking for fgrep... " >&6; }
5577 if ${ac_cv_path_FGREP+:} false; then :
5578 $as_echo_n "(cached) " >&6
5580 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5581 then ac_cv_path_FGREP="$GREP -F"
5583 if test -z "$FGREP"; then
5584 ac_path_FGREP_found=false
5585 # Loop through the user's path and test for each of PROGNAME-LIST
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5590 test -z "$as_dir" && as_dir=.
5591 for ac_prog in fgrep; do
5592 for ac_exec_ext in '' $ac_executable_extensions; do
5593 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5594 as_fn_executable_p "$ac_path_FGREP" || continue
5595 # Check for GNU ac_path_FGREP and select it if it is found.
5596 # Check for GNU $ac_path_FGREP
5597 case `"$ac_path_FGREP" --version 2>&1` in
5599 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5602 $as_echo_n 0123456789 >"conftest.in"
5605 cat "conftest.in" "conftest.in" >"conftest.tmp"
5606 mv "conftest.tmp" "conftest.in"
5607 cp "conftest.in" "conftest.nl"
5608 $as_echo 'FGREP' >> "conftest.nl"
5609 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5610 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5611 as_fn_arith $ac_count + 1 && ac_count=$as_val
5612 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5613 # Best one so far, save it but keep looking for a better one
5614 ac_cv_path_FGREP="$ac_path_FGREP"
5615 ac_path_FGREP_max=$ac_count
5617 # 10*(2^10) chars as input seems more than enough
5618 test $ac_count -gt 10 && break
5620 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5623 $ac_path_FGREP_found && break 3
5628 if test -z "$ac_cv_path_FGREP"; then
5629 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5632 ac_cv_path_FGREP=$FGREP
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5638 $as_echo "$ac_cv_path_FGREP" >&6; }
5639 FGREP="$ac_cv_path_FGREP"
5642 test -z "$GREP" && GREP=grep
5662 # Check whether --with-gnu-ld was given.
5663 if test "${with_gnu_ld+set}" = set; then :
5664 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5670 if test yes = "$GCC"; then
5671 # Check if gcc -print-prog-name=ld gives a path.
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5673 $as_echo_n "checking for ld used by $CC... " >&6; }
5676 # gcc leaves a trailing carriage return, which upsets mingw
5677 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5679 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5682 # Accept absolute paths.
5684 re_direlt='/[^/][^/]*/\.\./'
5685 # Canonicalize the pathname of ld
5686 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5687 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5688 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5690 test -z "$LD" && LD=$ac_prog
5693 # If it fails, then pretend we aren't using GCC.
5697 # If it is relative, then search for the first ld in PATH.
5701 elif test yes = "$with_gnu_ld"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5703 $as_echo_n "checking for GNU ld... " >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5706 $as_echo_n "checking for non-GNU ld... " >&6; }
5708 if ${lt_cv_path_LD+:} false; then :
5709 $as_echo_n "(cached) " >&6
5711 if test -z "$LD"; then
5712 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5713 for ac_dir in $PATH; do
5715 test -z "$ac_dir" && ac_dir=.
5716 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5717 lt_cv_path_LD=$ac_dir/$ac_prog
5718 # Check to see if the program is GNU ld. I'd rather use --version,
5719 # but apparently some variants of GNU ld only accept -v.
5720 # Break only if it was the GNU/non-GNU ld that we prefer.
5721 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5722 *GNU* | *'with BFD'*)
5723 test no != "$with_gnu_ld" && break
5726 test yes != "$with_gnu_ld" && break
5733 lt_cv_path_LD=$LD # Let the user override the test with a path.
5738 if test -n "$LD"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5740 $as_echo "$LD" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5745 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5747 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5748 if ${lt_cv_prog_gnu_ld+:} false; then :
5749 $as_echo_n "(cached) " >&6
5751 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5752 case `$LD -v 2>&1 </dev
/null
` in
5753 *GNU* | *'with BFD'*)
5754 lt_cv_prog_gnu_ld=yes
5757 lt_cv_prog_gnu_ld=no
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5762 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5763 with_gnu_ld=$lt_cv_prog_gnu_ld
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5774 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5775 if ${lt_cv_path_NM+:} false; then :
5776 $as_echo_n "(cached) " >&6
5778 if test -n "$NM"; then
5779 # Let the user override the test.
5782 lt_nm_to_check=${ac_tool_prefix}nm
5783 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5784 lt_nm_to_check="$lt_nm_to_check nm"
5786 for lt_tmp_nm in $lt_nm_to_check; do
5787 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5788 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5790 test -z "$ac_dir" && ac_dir=.
5791 tmp_nm=$ac_dir/$lt_tmp_nm
5792 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5793 # Check to see if the nm accepts a BSD-compat flag.
5794 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5795 # nm: unknown option "B" ignored
5796 # Tru64's nm complains that /dev/null is an invalid object file
5797 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5799 mingw*) lt_bad_file=conftest.nm/nofile ;;
5800 *) lt_bad_file=/dev/null ;;
5802 case `"$tmp_nm" -B $lt_bad_file 2>&1 |
sed '1q'` in
5803 *$lt_bad_file* | *'Invalid file or object type'*)
5804 lt_cv_path_NM="$tmp_nm -B"
5808 case `"$tmp_nm" -p /dev
/null
2>&1 |
sed '1q'` in
5810 lt_cv_path_NM="$tmp_nm -p"
5814 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5815 continue # so that we can try to find one that supports BSD flags
5824 : ${lt_cv_path_NM=no}
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5828 $as_echo "$lt_cv_path_NM" >&6; }
5829 if test no != "$lt_cv_path_NM"; then
5832 # Didn't find any BSD compatible name lister, look for dumpbin.
5833 if test -n "$DUMPBIN"; then :
5834 # Let the user override the test.
5836 if test -n "$ac_tool_prefix"; then
5837 for ac_prog in dumpbin "link -dump"
5839 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5840 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if ${ac_cv_prog_DUMPBIN+:} false; then :
5844 $as_echo_n "(cached) " >&6
5846 if test -n "$DUMPBIN"; then
5847 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5856 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 DUMPBIN=$ac_cv_prog_DUMPBIN
5867 if test -n "$DUMPBIN"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5869 $as_echo "$DUMPBIN" >&6; }
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5876 test -n "$DUMPBIN" && break
5879 if test -z "$DUMPBIN"; then
5880 ac_ct_DUMPBIN=$DUMPBIN
5881 for ac_prog in dumpbin "link -dump"
5883 # Extract the first word of "$ac_prog", so it can be a program name with args.
5884 set dummy $ac_prog; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5888 $as_echo_n "(cached) " >&6
5890 if test -n "$ac_ct_DUMPBIN"; then
5891 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5911 if test -n "$ac_ct_DUMPBIN"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5913 $as_echo "$ac_ct_DUMPBIN" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5920 test -n "$ac_ct_DUMPBIN" && break
5923 if test "x$ac_ct_DUMPBIN" = x; then
5926 case $cross_compiling:$ac_tool_warned in
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5930 ac_tool_warned=yes ;;
5932 DUMPBIN=$ac_ct_DUMPBIN
5936 case `$DUMPBIN -symbols -headers /dev
/null
2>&1 |
sed '1q'` in
5938 DUMPBIN="$DUMPBIN -symbols -headers"
5946 if test : != "$DUMPBIN"; then
5950 test -z "$NM" && NM=nm
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5958 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5959 if ${lt_cv_nm_interface+:} false; then :
5960 $as_echo_n "(cached) " >&6
5962 lt_cv_nm_interface="BSD nm"
5963 echo "int some_variable = 0;" > conftest.$ac_ext
5964 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5965 (eval "$ac_compile" 2>conftest.err)
5966 cat conftest.err >&5
5967 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5968 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5969 cat conftest.err >&5
5970 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5971 cat conftest.out >&5
5972 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5973 lt_cv_nm_interface="MS dumpbin"
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5978 $as_echo "$lt_cv_nm_interface" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5981 $as_echo_n "checking whether ln -s works... " >&6; }
5983 if test "$LN_S" = "ln -s"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5985 $as_echo "yes" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5988 $as_echo "no, using $LN_S" >&6; }
5991 # find the maximum length of command line arguments
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5993 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5994 if ${lt_cv_sys_max_cmd_len+:} false; then :
5995 $as_echo_n "(cached) " >&6
6002 # On DJGPP, this test can blow up pretty badly due to problems in libc
6003 # (any single argument exceeding 2000 bytes causes a buffer overrun
6004 # during glob expansion). Even if it were fixed, the result of this
6005 # check would be larger than it should be.
6006 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6010 # Under GNU Hurd, this test is not required because there is
6011 # no limit to the length of command line arguments.
6012 # Libtool will interpret -1 as no limit whatsoever
6013 lt_cv_sys_max_cmd_len=-1;
6016 cygwin* | mingw* | cegcc*)
6017 # On Win9x/ME, this test blows up -- it succeeds, but takes
6018 # about 5 minutes as the teststring grows exponentially.
6019 # Worse, since 9x/ME are not pre-emptively multitasking,
6020 # you end up with a "frozen" computer, even though with patience
6021 # the test eventually succeeds (with a max line length of 256k).
6022 # Instead, let's just punt: use the minimum linelength reported by
6023 # all of the supported platforms: 8192 (on NT/2K/XP).
6024 lt_cv_sys_max_cmd_len=8192;
6028 # On MiNT this can take a long time and run out of memory.
6029 lt_cv_sys_max_cmd_len=8192;
6033 # On AmigaOS with pdksh, this test takes hours, literally.
6034 # So we just punt and use a minimum line length of 8192.
6035 lt_cv_sys_max_cmd_len=8192;
6038 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6039 # This has been around since 386BSD, at least. Likely further.
6040 if test -x /sbin/sysctl; then
6041 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
6042 elif test -x /usr/sbin/sysctl; then
6043 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
6045 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6047 # And add a safety zone
6048 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
6049 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
6053 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6054 lt_cv_sys_max_cmd_len=196608
6058 # The test takes a long time on OS/2.
6059 lt_cv_sys_max_cmd_len=8192
6063 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6064 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6065 # nice to cause kernel panics so lets avoid the loop below.
6066 # First set a reasonable default.
6067 lt_cv_sys_max_cmd_len=16384
6069 if test -x /sbin/sysconfig; then
6070 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
6071 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6076 lt_cv_sys_max_cmd_len=102400
6078 sysv5* | sco5v6* | sysv4.2uw2*)
6079 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
6080 if test -n "$kargmax"; then
6081 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
6083 lt_cv_sys_max_cmd_len=32768
6087 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX
) 2> /dev
/null
`
6088 if test -n "$lt_cv_sys_max_cmd_len" && \
6089 test undefined != "$lt_cv_sys_max_cmd_len"; then
6090 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
6091 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
6093 # Make teststring a little bigger before we do anything with it.
6094 # a 1K string should be a reasonable start.
6095 for i in 1 2 3 4 5 6 7 8; do
6096 teststring=$teststring$teststring
6098 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6099 # If test is not a shell built-in, we'll probably end up computing a
6100 # maximum length that is only half of the actual maximum length, but
6102 while { test X`env
echo "$teststring$teststring" 2>/dev
/null
` \
6103 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6104 test 17 != "$i" # 1/2 MB should be enough
6107 teststring=$teststring$teststring
6109 # Only check the string length outside the loop.
6110 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6112 # Add a significant safety factor because C++ compilers can tack on
6113 # massive amounts of additional arguments before passing them to the
6114 # linker. It appears as though 1/2 is a usable value.
6115 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
6122 if test -n "$lt_cv_sys_max_cmd_len"; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6124 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6127 $as_echo "none" >&6; }
6129 max_cmd_len=$lt_cv_sys_max_cmd_len
6140 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6150 # test EBCDIC or ASCII
6151 case `echo X|
tr X
'\101'` in
6152 A) # ASCII based system
6153 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6154 lt_SP2NL='tr \040 \012'
6155 lt_NL2SP='tr \015\012 \040\040'
6157 *) # EBCDIC based system
6158 lt_SP2NL='tr \100 \n'
6159 lt_NL2SP='tr \r\n \100\100'
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6172 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6173 if ${lt_cv_to_host_file_cmd+:} false; then :
6174 $as_echo_n "(cached) " >&6
6179 *-*-mingw* ) # actually msys
6180 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6183 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6185 * ) # otherwise, assume *nix
6186 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6192 *-*-mingw* ) # actually msys
6193 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6196 lt_cv_to_host_file_cmd=func_convert_file_noop
6198 * ) # otherwise, assume *nix
6199 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6203 * ) # unhandled hosts (and "normal" native builds)
6204 lt_cv_to_host_file_cmd=func_convert_file_noop
6210 to_host_file_cmd=$lt_cv_to_host_file_cmd
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6212 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6219 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6220 if ${lt_cv_to_tool_file_cmd+:} false; then :
6221 $as_echo_n "(cached) " >&6
6223 #assume ordinary cross tools, or native build.
6224 lt_cv_to_tool_file_cmd=func_convert_file_noop
6228 *-*-mingw* ) # actually msys
6229 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6237 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6239 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6246 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6247 if ${lt_cv_ld_reload_flag+:} false; then :
6248 $as_echo_n "(cached) " >&6
6250 lt_cv_ld_reload_flag='-r'
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6253 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6254 reload_flag=$lt_cv_ld_reload_flag
6255 case $reload_flag in
6257 *) reload_flag=" $reload_flag" ;;
6259 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6261 cygwin* | mingw* | pw32* | cegcc*)
6262 if test yes != "$GCC"; then
6267 if test yes = "$GCC"; then
6268 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6270 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6283 if test -n "$ac_tool_prefix"; then
6284 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6285 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287 $as_echo_n "checking for $ac_word... " >&6; }
6288 if ${ac_cv_prog_OBJDUMP+:} false; then :
6289 $as_echo_n "(cached) " >&6
6291 if test -n "$OBJDUMP"; then
6292 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 test -z "$as_dir" && as_dir=.
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6301 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6311 OBJDUMP=$ac_cv_prog_OBJDUMP
6312 if test -n "$OBJDUMP"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6314 $as_echo "$OBJDUMP" >&6; }
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6322 if test -z "$ac_cv_prog_OBJDUMP"; then
6323 ac_ct_OBJDUMP=$OBJDUMP
6324 # Extract the first word of "objdump", so it can be a program name with args.
6325 set dummy objdump; ac_word=$2
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6327 $as_echo_n "checking for $ac_word... " >&6; }
6328 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6329 $as_echo_n "(cached) " >&6
6331 if test -n "$ac_ct_OBJDUMP"; then
6332 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 test -z "$as_dir" && as_dir=.
6339 for ac_exec_ext in '' $ac_executable_extensions; do
6340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6341 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6351 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6352 if test -n "$ac_ct_OBJDUMP"; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6354 $as_echo "$ac_ct_OBJDUMP" >&6; }
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357 $as_echo "no" >&6; }
6360 if test "x$ac_ct_OBJDUMP" = x; then
6363 case $cross_compiling:$ac_tool_warned in
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6367 ac_tool_warned=yes ;;
6369 OBJDUMP=$ac_ct_OBJDUMP
6372 OBJDUMP="$ac_cv_prog_OBJDUMP"
6375 test -z "$OBJDUMP" && OBJDUMP=objdump
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6383 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6384 if ${lt_cv_deplibs_check_method+:} false; then :
6385 $as_echo_n "(cached) " >&6
6387 lt_cv_file_magic_cmd='$MAGIC_CMD'
6388 lt_cv_file_magic_test_file=
6389 lt_cv_deplibs_check_method='unknown'
6390 # Need to set the preceding variable on all platforms that support
6391 # interlibrary dependencies.
6392 # 'none' -- dependencies not supported.
6393 # 'unknown' -- same as none, but documents that we really don't know.
6394 # 'pass_all' -- all dependencies passed with no checks.
6395 # 'test_compile' -- check by making test program.
6396 # 'file_magic [[regex]]' -- check by looking for files in library path
6397 # that responds to the $file_magic_cmd with a given extended regex.
6398 # If you have 'file' or equivalent on your system and you're not sure
6399 # whether 'pass_all' will *always* work, you probably want this one.
6403 lt_cv_deplibs_check_method=pass_all
6407 lt_cv_deplibs_check_method=pass_all
6411 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6412 lt_cv_file_magic_cmd='/usr/bin/file -L'
6413 lt_cv_file_magic_test_file=/shlib/libc.so
6417 # func_win32_libid is a shell function defined in ltmain.sh
6418 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6419 lt_cv_file_magic_cmd='func_win32_libid'
6423 # Base MSYS/MinGW do not provide the 'file' command needed by
6424 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6425 # unless we find 'file', for example because we are cross-compiling.
6426 if ( file / ) >/dev/null 2>&1; then
6427 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6428 lt_cv_file_magic_cmd='func_win32_libid'
6430 # Keep this pattern in sync with the one in func_win32_libid.
6431 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6432 lt_cv_file_magic_cmd='$OBJDUMP -f'
6437 # use the weaker test based on 'objdump'. See mingw*.
6438 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6439 lt_cv_file_magic_cmd='$OBJDUMP -f'
6442 darwin* | rhapsody*)
6443 lt_cv_deplibs_check_method=pass_all
6446 freebsd* | dragonfly*)
6447 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6450 # Not sure whether the presence of OpenBSD here was a mistake.
6451 # Let's accept both of them until this is cleared up.
6452 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6453 lt_cv_file_magic_cmd=/usr/bin/file
6454 lt_cv_file_magic_test_file=`echo /usr
/lib
/libc.so.
*`
6458 lt_cv_deplibs_check_method=pass_all
6463 lt_cv_deplibs_check_method=pass_all
6466 hpux10.20* | hpux11*)
6467 lt_cv_file_magic_cmd=/usr/bin/file
6470 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6471 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6474 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]'
6475 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6478 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6479 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6485 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6486 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6489 irix5* | irix6* | nonstopux*)
6491 *-32|*"-32 ") libmagic=32-bit;;
6492 *-n32|*"-n32 ") libmagic=N32;;
6493 *-64|*"-64 ") libmagic=64-bit;;
6494 *) libmagic=never-match;;
6496 lt_cv_deplibs_check_method=pass_all
6499 # This must be glibc/ELF.
6500 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6501 lt_cv_deplibs_check_method=pass_all
6505 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6506 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6508 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6513 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6514 lt_cv_file_magic_cmd=/usr/bin/file
6515 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6519 lt_cv_deplibs_check_method=pass_all
6523 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`"; then
6524 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6526 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6530 osf3* | osf4* | osf5*)
6531 lt_cv_deplibs_check_method=pass_all
6535 lt_cv_deplibs_check_method=pass_all
6539 lt_cv_deplibs_check_method=pass_all
6542 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6543 lt_cv_deplibs_check_method=pass_all
6547 case $host_vendor in
6549 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]'
6550 lt_cv_file_magic_test_file=`echo /usr
/lib
/libc.so
*`
6553 lt_cv_deplibs_check_method=pass_all
6556 lt_cv_file_magic_cmd='/bin/file'
6557 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6560 lt_cv_file_magic_cmd='/bin/file'
6561 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6562 lt_cv_file_magic_test_file=/lib/libc.so
6565 lt_cv_deplibs_check_method=pass_all
6568 lt_cv_deplibs_check_method=pass_all
6574 lt_cv_deplibs_check_method=pass_all
6577 lt_cv_deplibs_check_method=pass_all
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6583 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6587 if test "$build" = "$host"; then
6590 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6593 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ |
$SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6599 file_magic_cmd=$lt_cv_file_magic_cmd
6600 deplibs_check_method=$lt_cv_deplibs_check_method
6601 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6624 if test -n "$ac_tool_prefix"; then
6625 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6626 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 $as_echo_n "checking for $ac_word... " >&6; }
6629 if ${ac_cv_prog_DLLTOOL+:} false; then :
6630 $as_echo_n "(cached) " >&6
6632 if test -n "$DLLTOOL"; then
6633 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 test -z "$as_dir" && as_dir=.
6640 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6642 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6652 DLLTOOL=$ac_cv_prog_DLLTOOL
6653 if test -n "$DLLTOOL"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6655 $as_echo "$DLLTOOL" >&6; }
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658 $as_echo "no" >&6; }
6663 if test -z "$ac_cv_prog_DLLTOOL"; then
6664 ac_ct_DLLTOOL=$DLLTOOL
6665 # Extract the first word of "dlltool", so it can be a program name with args.
6666 set dummy dlltool; ac_word=$2
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6668 $as_echo_n "checking for $ac_word... " >&6; }
6669 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6670 $as_echo_n "(cached) " >&6
6672 if test -n "$ac_ct_DLLTOOL"; then
6673 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6679 test -z "$as_dir" && as_dir=.
6680 for ac_exec_ext in '' $ac_executable_extensions; do
6681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6682 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6693 if test -n "$ac_ct_DLLTOOL"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6695 $as_echo "$ac_ct_DLLTOOL" >&6; }
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698 $as_echo "no" >&6; }
6701 if test "x$ac_ct_DLLTOOL" = x; then
6704 case $cross_compiling:$ac_tool_warned in
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6708 ac_tool_warned=yes ;;
6710 DLLTOOL=$ac_ct_DLLTOOL
6713 DLLTOOL="$ac_cv_prog_DLLTOOL"
6716 test -z "$DLLTOOL" && DLLTOOL=dlltool
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6725 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6726 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6727 $as_echo_n "(cached) " >&6
6729 lt_cv_sharedlib_from_linklib_cmd='unknown'
6732 cygwin* | mingw* | pw32* | cegcc*)
6733 # two different shell functions defined in ltmain.sh;
6734 # decide which one to use based on capabilities of $DLLTOOL
6735 case `$DLLTOOL --help 2>&1` in
6736 *--identify-strict*)
6737 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6740 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6745 # fallback: assume linklib IS sharedlib
6746 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6752 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6753 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6754 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6762 if test -n "$ac_tool_prefix"; then
6765 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6766 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768 $as_echo_n "checking for $ac_word... " >&6; }
6769 if ${ac_cv_prog_AR+:} false; then :
6770 $as_echo_n "(cached) " >&6
6772 if test -n "$AR"; then
6773 ac_cv_prog_AR="$AR" # Let the user override the test.
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 test -z "$as_dir" && as_dir=.
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6782 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793 if test -n "$AR"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6795 $as_echo "$AR" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 $as_echo "no" >&6; }
6802 test -n "$AR" && break
6805 if test -z "$AR"; then
6809 # Extract the first word of "$ac_prog", so it can be a program name with args.
6810 set dummy $ac_prog; ac_word=$2
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812 $as_echo_n "checking for $ac_word... " >&6; }
6813 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6814 $as_echo_n "(cached) " >&6
6816 if test -n "$ac_ct_AR"; then
6817 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 test -z "$as_dir" && as_dir=.
6824 for ac_exec_ext in '' $ac_executable_extensions; do
6825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6826 ac_cv_prog_ac_ct_AR="$ac_prog"
6827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6836 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6837 if test -n "$ac_ct_AR"; then
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6839 $as_echo "$ac_ct_AR" >&6; }
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6842 $as_echo "no" >&6; }
6846 test -n "$ac_ct_AR" && break
6849 if test "x$ac_ct_AR" = x; then
6852 case $cross_compiling:$ac_tool_warned in
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6856 ac_tool_warned=yes ;;
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6876 $as_echo_n "checking for archiver @FILE support... " >&6; }
6877 if ${lt_cv_ar_at_file+:} false; then :
6878 $as_echo_n "(cached) " >&6
6881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6892 if ac_fn_c_try_compile "$LINENO"; then :
6893 echo conftest.$ac_objext > conftest.lst
6894 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6895 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6896 (eval $lt_ar_try) 2>&5
6898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6899 test $ac_status = 0; }
6900 if test 0 -eq "$ac_status"; then
6901 # Ensure the archiver fails upon bogus file names.
6902 rm -f conftest.$ac_objext libconftest.a
6903 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6904 (eval $lt_ar_try) 2>&5
6906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6907 test $ac_status = 0; }
6908 if test 0 -ne "$ac_status"; then
6912 rm -f conftest.* libconftest.a
6915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6919 $as_echo "$lt_cv_ar_at_file" >&6; }
6921 if test no = "$lt_cv_ar_at_file"; then
6924 archiver_list_spec=$lt_cv_ar_at_file
6933 if test -n "$ac_tool_prefix"; then
6934 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6935 set dummy ${ac_tool_prefix}strip; ac_word=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if ${ac_cv_prog_STRIP+:} false; then :
6939 $as_echo_n "(cached) " >&6
6941 if test -n "$STRIP"; then
6942 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 test -z "$as_dir" && as_dir=.
6949 for ac_exec_ext in '' $ac_executable_extensions; do
6950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6951 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961 STRIP=$ac_cv_prog_STRIP
6962 if test -n "$STRIP"; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6964 $as_echo "$STRIP" >&6; }
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967 $as_echo "no" >&6; }
6972 if test -z "$ac_cv_prog_STRIP"; then
6974 # Extract the first word of "strip", so it can be a program name with args.
6975 set dummy strip; ac_word=$2
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6977 $as_echo_n "checking for $ac_word... " >&6; }
6978 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6979 $as_echo_n "(cached) " >&6
6981 if test -n "$ac_ct_STRIP"; then
6982 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir=.
6989 for ac_exec_ext in '' $ac_executable_extensions; do
6990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6991 ac_cv_prog_ac_ct_STRIP="strip"
6992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7001 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7002 if test -n "$ac_ct_STRIP"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7004 $as_echo "$ac_ct_STRIP" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7007 $as_echo "no" >&6; }
7010 if test "x$ac_ct_STRIP" = x; then
7013 case $cross_compiling:$ac_tool_warned in
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7017 ac_tool_warned=yes ;;
7022 STRIP="$ac_cv_prog_STRIP"
7025 test -z "$STRIP" && STRIP=:
7032 if test -n "$ac_tool_prefix"; then
7033 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7034 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7036 $as_echo_n "checking for $ac_word... " >&6; }
7037 if ${ac_cv_prog_RANLIB+:} false; then :
7038 $as_echo_n "(cached) " >&6
7040 if test -n "$RANLIB"; then
7041 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7050 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060 RANLIB=$ac_cv_prog_RANLIB
7061 if test -n "$RANLIB"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7063 $as_echo "$RANLIB" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7066 $as_echo "no" >&6; }
7071 if test -z "$ac_cv_prog_RANLIB"; then
7072 ac_ct_RANLIB=$RANLIB
7073 # Extract the first word of "ranlib", so it can be a program name with args.
7074 set dummy ranlib; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7078 $as_echo_n "(cached) " >&6
7080 if test -n "$ac_ct_RANLIB"; then
7081 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090 ac_cv_prog_ac_ct_RANLIB="ranlib"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7101 if test -n "$ac_ct_RANLIB"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7103 $as_echo "$ac_ct_RANLIB" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7109 if test "x$ac_ct_RANLIB" = x; then
7112 case $cross_compiling:$ac_tool_warned in
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7116 ac_tool_warned=yes ;;
7118 RANLIB=$ac_ct_RANLIB
7121 RANLIB="$ac_cv_prog_RANLIB"
7124 test -z "$RANLIB" && RANLIB=:
7131 # Determine commands to create old-style static archives.
7132 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7133 old_postinstall_cmds='chmod 644 $oldlib'
7134 old_postuninstall_cmds=
7136 if test -n "$RANLIB"; then
7139 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7142 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7145 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7150 lock_old_archive_extraction=yes ;;
7152 lock_old_archive_extraction=no ;;
7193 # If no C compiler was specified, use CC.
7196 # If no C compiler flags were specified, use CFLAGS.
7197 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7199 # Allow CC to be a program name with arguments.
7203 # Check for command to grab the raw symbol name followed by C symbol from nm.
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7205 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7206 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7207 $as_echo_n "(cached) " >&6
7210 # These are sane defaults that work on at least a few old systems.
7211 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7213 # Character class describing NM global symbol codes.
7214 symcode='[BCDEGRST]'
7216 # Regexp to match symbols that can be accessed directly from C.
7217 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7219 # Define system-specific variables.
7224 cygwin* | mingw* | pw32* | cegcc*)
7225 symcode='[ABCDGISTW]'
7228 if test ia64 = "$host_cpu"; then
7229 symcode='[ABCDEGRST]'
7233 symcode='[BCDEGRST]'
7236 symcode='[BCDEGQRST]'
7247 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7255 # If we're using GNU nm, then use its standard symbol codes.
7256 case `$NM -V 2>&1` in
7257 *GNU* | *'with BFD'*)
7258 symcode='[ABCDGIRSTW]' ;;
7261 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7262 # Gets list of data symbols to import.
7263 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7264 # Adjust the below global symbol transforms to fixup imported variables.
7265 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7266 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7267 lt_c_name_lib_hook="\
7268 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7269 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7271 # Disable hooks by default.
7272 lt_cv_sys_global_symbol_to_import=
7278 # Transform an extracted symbol line into a proper C declaration.
7279 # Some systems (esp. on ia64) link data and code symbols differently,
7280 # so use this general approach.
7281 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7283 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7284 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7286 # Transform an extracted symbol line into symbol name and symbol address
7287 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7289 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7290 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7292 # Transform an extracted symbol line into symbol name with lib prefix and
7294 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7295 $lt_c_name_lib_hook\
7296 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7297 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7298 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7300 # Handle CRLF in mingw tool chain
7304 opt_cr=`$ECHO 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
7308 # Try without a prefix underscore, then with it.
7309 for ac_symprfx in "" "_"; do
7311 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7312 symxfrm="\\1 $ac_symprfx\\2 \\2"
7314 # Write the raw and C identifiers.
7315 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7316 # Fake it for dumpbin and say T for any non-static function,
7317 # D for any global variable and I for any imported variable.
7318 # Also find C++ and __fastcall symbols from MSVC++,
7319 # which start with @ or ?.
7320 lt_cv_sys_global_symbol_pipe="$AWK '"\
7321 " {last_section=section; section=\$ 3};"\
7322 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7323 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7324 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7325 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7326 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7327 " \$ 0!~/External *\|/{next};"\
7328 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7329 " {if(hide[section]) next};"\
7330 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7331 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7332 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7333 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7334 " ' prfx=^$ac_symprfx"
7336 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7338 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7340 # Check to see that the pipe works correctly.
7344 cat > conftest.$ac_ext <<_LT_EOF
7349 void nm_test_func(void);
7350 void nm_test_func(void){}
7354 int main(){nm_test_var='a';nm_test_func();return(0);}
7357 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7358 (eval $ac_compile) 2>&5
7360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7361 test $ac_status = 0; }; then
7362 # Now try to grab the symbols.
7364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7365 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7368 test $ac_status = 0; } && test -s "$nlist"; then
7369 # Try sorting and uniquifying the output.
7370 if sort "$nlist" | uniq > "$nlist"T; then
7371 mv -f "$nlist"T "$nlist"
7376 # Make sure that we snagged all the symbols we need.
7377 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7378 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7379 cat <<_LT_EOF > conftest.$ac_ext
7380 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7381 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7382 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7383 relocations are performed -- see ld's documentation on pseudo-relocs. */
7384 # define LT_DLSYM_CONST
7385 #elif defined __osf__
7386 /* This system does not cope well with relocations in const data. */
7387 # define LT_DLSYM_CONST
7389 # define LT_DLSYM_CONST const
7397 # Now generate the symbol file.
7398 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7400 cat <<_LT_EOF >> conftest.$ac_ext
7402 /* The mapping between symbol names and symbols. */
7403 LT_DLSYM_CONST struct {
7407 lt__PROGRAM__LTX_preloaded_symbols[] =
7409 { "@PROGRAM@", (void *) 0 },
7411 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7412 cat <<\_LT_EOF >> conftest.$ac_ext
7416 /* This works around a problem in FreeBSD linker */
7417 #ifdef FREEBSD_WORKAROUND
7418 static const void *lt_preloaded_setup() {
7419 return lt__PROGRAM__LTX_preloaded_symbols;
7427 # Now try linking the two files.
7428 mv conftest.$ac_objext conftstm.$ac_objext
7429 lt_globsym_save_LIBS=$LIBS
7430 lt_globsym_save_CFLAGS=$CFLAGS
7431 LIBS=conftstm.$ac_objext
7432 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7433 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7434 (eval $ac_link) 2>&5
7436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7437 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7440 LIBS=$lt_globsym_save_LIBS
7441 CFLAGS=$lt_globsym_save_CFLAGS
7443 echo "cannot find nm_test_func in $nlist" >&5
7446 echo "cannot find nm_test_var in $nlist" >&5
7449 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7452 echo "$progname: failed program was:" >&5
7453 cat conftest.$ac_ext >&5
7455 rm -rf conftest* conftst*
7457 # Do not use the global_symbol_pipe unless it works.
7458 if test yes = "$pipe_works"; then
7461 lt_cv_sys_global_symbol_pipe=
7467 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7468 lt_cv_sys_global_symbol_to_cdecl=
7470 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7472 $as_echo "failed" >&6; }
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7475 $as_echo "ok" >&6; }
7478 # Response file support.
7479 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7480 nm_file_list_spec='@'
7481 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7482 nm_file_list_spec='@'
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7522 $as_echo_n "checking for sysroot... " >&6; }
7524 # Check whether --with-sysroot was given.
7525 if test "${with_sysroot+set}" = set; then :
7526 withval=$with_sysroot;
7533 case $with_sysroot in #(
7535 if test yes = "$GCC"; then
7536 lt_sysroot=`$CC --print-sysroot 2>/dev
/null
`
7540 lt_sysroot=`echo "$with_sysroot" |
sed -e "$sed_quote_subst"`
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7546 $as_echo "$with_sysroot" >&6; }
7547 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7552 $as_echo "${lt_sysroot:-no}" >&6; }
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7559 $as_echo_n "checking for a working dd... " >&6; }
7560 if ${ac_cv_path_lt_DD+:} false; then :
7561 $as_echo_n "(cached) " >&6
7563 printf 0123456789abcdef0123456789abcdef >conftest.i
7564 cat conftest.i conftest.i >conftest2.i
7566 if test -z "$lt_DD"; then
7567 ac_path_lt_DD_found=false
7568 # Loop through the user's path and test for each of PROGNAME-LIST
7569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 test -z "$as_dir" && as_dir=.
7574 for ac_prog in dd; do
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7577 as_fn_executable_p "$ac_path_lt_DD" || continue
7578 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7579 cmp -s conftest.i conftest.out \
7580 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7582 $ac_path_lt_DD_found && break 3
7587 if test -z "$ac_cv_path_lt_DD"; then
7591 ac_cv_path_lt_DD=$lt_DD
7594 rm -f conftest.i conftest2.i conftest.out
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7597 $as_echo "$ac_cv_path_lt_DD" >&6; }
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7601 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7602 if ${lt_cv_truncate_bin+:} false; then :
7603 $as_echo_n "(cached) " >&6
7605 printf 0123456789abcdef0123456789abcdef >conftest.i
7606 cat conftest.i conftest.i >conftest2.i
7608 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7609 cmp -s conftest.i conftest.out \
7610 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7612 rm -f conftest.i conftest2.i conftest.out
7613 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7616 $as_echo "$lt_cv_truncate_bin" >&6; }
7624 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7627 for cc_temp in $*""; do
7629 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7630 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7635 func_cc_basename_result=`$ECHO "$cc_temp" |
$SED "s%.*/%%; s%^$host_alias-%%"`
7638 # Check whether --enable-libtool-lock was given.
7639 if test "${enable_libtool_lock+set}" = set; then :
7640 enableval=$enable_libtool_lock;
7643 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7645 # Some flags need to be propagated to the compiler or linker for good
7649 # Find out what ABI is being produced by ac_compile, and set mode
7650 # options accordingly.
7651 echo 'int i;' > conftest.$ac_ext
7652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7653 (eval $ac_compile) 2>&5
7655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7656 test $ac_status = 0; }; then
7657 case `/usr
/bin
/file conftest.
$ac_objext` in
7669 # Find out what ABI is being produced by ac_compile, and set linker
7670 # options accordingly.
7671 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7672 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7673 (eval $ac_compile) 2>&5
7675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7676 test $ac_status = 0; }; then
7677 if test yes = "$lt_cv_prog_gnu_ld"; then
7678 case `/usr
/bin
/file conftest.
$ac_objext` in
7680 LD="${LD-ld} -melf32bsmip"
7683 LD="${LD-ld} -melf32bmipn32"
7686 LD="${LD-ld} -melf64bmip"
7690 case `/usr
/bin
/file conftest.
$ac_objext` in
7707 # Find out what ABI is being produced by ac_compile, and set linker
7708 # options accordingly.
7709 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7710 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7711 (eval $ac_compile) 2>&5
7713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7714 test $ac_status = 0; }; then
7716 case `/usr
/bin
/file conftest.
$ac_objext` in
7724 case `/usr
/bin
/file conftest.
$ac_objext` in
7726 emul="${emul}btsmip"
7729 emul="${emul}ltsmip"
7732 case `/usr
/bin
/file conftest.
$ac_objext` in
7737 LD="${LD-ld} -m $emul"
7742 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7743 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7744 # Find out what ABI is being produced by ac_compile, and set linker
7745 # options accordingly. Note that the listed cases only cover the
7746 # situations where additional linker options are needed (such as when
7747 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7748 # vice versa); the common cases where no linker options are needed do
7749 # not appear in the list.
7750 echo 'int i;' > conftest.$ac_ext
7751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7752 (eval $ac_compile) 2>&5
7754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7755 test $ac_status = 0; }; then
7756 case `/usr
/bin
/file conftest.o
` in
7759 x86_64-*kfreebsd*-gnu)
7760 LD="${LD-ld} -m elf_i386_fbsd"
7763 case `/usr
/bin
/file conftest.o
` in
7765 LD="${LD-ld} -m elf32_x86_64"
7768 LD="${LD-ld} -m elf_i386"
7772 powerpc64le-*linux*)
7773 LD="${LD-ld} -m elf32lppclinux"
7776 LD="${LD-ld} -m elf32ppclinux"
7779 LD="${LD-ld} -m elf_s390"
7782 LD="${LD-ld} -m elf32_sparc"
7788 x86_64-*kfreebsd*-gnu)
7789 LD="${LD-ld} -m elf_x86_64_fbsd"
7792 LD="${LD-ld} -m elf_x86_64"
7795 LD="${LD-ld} -m elf64lppc"
7798 LD="${LD-ld} -m elf64ppc"
7800 s390*-*linux*|s390*-*tpf*)
7801 LD="${LD-ld} -m elf64_s390"
7804 LD="${LD-ld} -m elf64_sparc"
7814 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7816 CFLAGS="$CFLAGS -belf"
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7818 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7819 if ${lt_cv_cc_needs_belf+:} false; then :
7820 $as_echo_n "(cached) " >&6
7823 ac_cpp='$CPP $CPPFLAGS'
7824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7829 /* end confdefs.h. */
7839 if ac_fn_c_try_link "$LINENO"; then :
7840 lt_cv_cc_needs_belf=yes
7842 lt_cv_cc_needs_belf=no
7844 rm -f core conftest.err conftest.$ac_objext \
7845 conftest$ac_exeext conftest.$ac_ext
7847 ac_cpp='$CPP $CPPFLAGS'
7848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7854 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7855 if test yes != "$lt_cv_cc_needs_belf"; then
7856 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7861 # Find out what ABI is being produced by ac_compile, and set linker
7862 # options accordingly.
7863 echo 'int i;' > conftest.$ac_ext
7864 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7865 (eval $ac_compile) 2>&5
7867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7868 test $ac_status = 0; }; then
7869 case `/usr
/bin
/file conftest.o
` in
7871 case $lt_cv_prog_gnu_ld in
7874 i?86-*-solaris*|x86_64-*-solaris*)
7875 LD="${LD-ld} -m elf_x86_64"
7878 LD="${LD-ld} -m elf64_sparc"
7881 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7882 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7887 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7899 need_locks=$enable_libtool_lock
7901 if test -n "$ac_tool_prefix"; then
7902 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7903 set dummy ${ac_tool_prefix}mt; ac_word=$2
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7905 $as_echo_n "checking for $ac_word... " >&6; }
7906 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7907 $as_echo_n "(cached) " >&6
7909 if test -n "$MANIFEST_TOOL"; then
7910 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7916 test -z "$as_dir" && as_dir=.
7917 for ac_exec_ext in '' $ac_executable_extensions; do
7918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7919 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7929 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7930 if test -n "$MANIFEST_TOOL"; then
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7932 $as_echo "$MANIFEST_TOOL" >&6; }
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7935 $as_echo "no" >&6; }
7940 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7941 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7942 # Extract the first word of "mt", so it can be a program name with args.
7943 set dummy mt; ac_word=$2
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7945 $as_echo_n "checking for $ac_word... " >&6; }
7946 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7947 $as_echo_n "(cached) " >&6
7949 if test -n "$ac_ct_MANIFEST_TOOL"; then
7950 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7956 test -z "$as_dir" && as_dir=.
7957 for ac_exec_ext in '' $ac_executable_extensions; do
7958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7959 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7969 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7970 if test -n "$ac_ct_MANIFEST_TOOL"; then
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7972 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7975 $as_echo "no" >&6; }
7978 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7981 case $cross_compiling:$ac_tool_warned in
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7985 ac_tool_warned=yes ;;
7987 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7990 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7993 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7995 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7996 if ${lt_cv_path_mainfest_tool+:} false; then :
7997 $as_echo_n "(cached) " >&6
7999 lt_cv_path_mainfest_tool=no
8000 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8001 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8002 cat conftest.err >&5
8003 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8004 lt_cv_path_mainfest_tool=yes
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8009 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8010 if test yes != "$lt_cv_path_mainfest_tool"; then
8020 rhapsody* | darwin*)
8021 if test -n "$ac_tool_prefix"; then
8022 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8023 set dummy ${ac_tool_prefix}dsymutil; 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_DSYMUTIL+:} false; then :
8027 $as_echo_n "(cached) " >&6
8029 if test -n "$DSYMUTIL"; then
8030 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # 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_DSYMUTIL="${ac_tool_prefix}dsymutil"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8049 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8050 if test -n "$DSYMUTIL"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8052 $as_echo "$DSYMUTIL" >&6; }
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 $as_echo "no" >&6; }
8060 if test -z "$ac_cv_prog_DSYMUTIL"; then
8061 ac_ct_DSYMUTIL=$DSYMUTIL
8062 # Extract the first word of "dsymutil", so it can be a program name with args.
8063 set dummy dsymutil; ac_word=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8065 $as_echo_n "checking for $ac_word... " >&6; }
8066 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8067 $as_echo_n "(cached) " >&6
8069 if test -n "$ac_ct_DSYMUTIL"; then
8070 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
8078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8079 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8089 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8090 if test -n "$ac_ct_DSYMUTIL"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8092 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
8098 if test "x$ac_ct_DSYMUTIL" = x; then
8101 case $cross_compiling:$ac_tool_warned in
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8105 ac_tool_warned=yes ;;
8107 DSYMUTIL=$ac_ct_DSYMUTIL
8110 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8113 if test -n "$ac_tool_prefix"; then
8114 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8115 set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+:} false; then :
8119 $as_echo_n "(cached) " >&6
8121 if test -n "$NMEDIT"; then
8122 ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit"
8132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8141 NMEDIT=$ac_cv_prog_NMEDIT
8142 if test -n "$NMEDIT"; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8144 $as_echo "$NMEDIT" >&6; }
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147 $as_echo "no" >&6; }
8152 if test -z "$ac_cv_prog_NMEDIT"; then
8153 ac_ct_NMEDIT=$NMEDIT
8154 # Extract the first word of "nmedit", so it can be a program name with args.
8155 set dummy nmedit; ac_word=$2
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8157 $as_echo_n "checking for $ac_word... " >&6; }
8158 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8159 $as_echo_n "(cached) " >&6
8161 if test -n "$ac_ct_NMEDIT"; then
8162 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8168 test -z "$as_dir" && as_dir=.
8169 for ac_exec_ext in '' $ac_executable_extensions; do
8170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8171 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8181 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8182 if test -n "$ac_ct_NMEDIT"; then
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8184 $as_echo "$ac_ct_NMEDIT" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187 $as_echo "no" >&6; }
8190 if test "x$ac_ct_NMEDIT" = x; then
8193 case $cross_compiling:$ac_tool_warned in
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8197 ac_tool_warned=yes ;;
8199 NMEDIT=$ac_ct_NMEDIT
8202 NMEDIT="$ac_cv_prog_NMEDIT"
8205 if test -n "$ac_tool_prefix"; then
8206 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8207 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8209 $as_echo_n "checking for $ac_word... " >&6; }
8210 if ${ac_cv_prog_LIPO+:} false; then :
8211 $as_echo_n "(cached) " >&6
8213 if test -n "$LIPO"; then
8214 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220 test -z "$as_dir" && as_dir=.
8221 for ac_exec_ext in '' $ac_executable_extensions; do
8222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8223 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8233 LIPO=$ac_cv_prog_LIPO
8234 if test -n "$LIPO"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8236 $as_echo "$LIPO" >&6; }
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8239 $as_echo "no" >&6; }
8244 if test -z "$ac_cv_prog_LIPO"; then
8246 # Extract the first word of "lipo", so it can be a program name with args.
8247 set dummy lipo; ac_word=$2
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8249 $as_echo_n "checking for $ac_word... " >&6; }
8250 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8251 $as_echo_n "(cached) " >&6
8253 if test -n "$ac_ct_LIPO"; then
8254 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8260 test -z "$as_dir" && as_dir=.
8261 for ac_exec_ext in '' $ac_executable_extensions; do
8262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8263 ac_cv_prog_ac_ct_LIPO="lipo"
8264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8273 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8274 if test -n "$ac_ct_LIPO"; then
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8276 $as_echo "$ac_ct_LIPO" >&6; }
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8279 $as_echo "no" >&6; }
8282 if test "x$ac_ct_LIPO" = x; then
8285 case $cross_compiling:$ac_tool_warned in
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8289 ac_tool_warned=yes ;;
8294 LIPO="$ac_cv_prog_LIPO"
8297 if test -n "$ac_tool_prefix"; then
8298 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8299 set dummy ${ac_tool_prefix}otool; ac_word=$2
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8301 $as_echo_n "checking for $ac_word... " >&6; }
8302 if ${ac_cv_prog_OTOOL+:} false; then :
8303 $as_echo_n "(cached) " >&6
8305 if test -n "$OTOOL"; then
8306 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8312 test -z "$as_dir" && as_dir=.
8313 for ac_exec_ext in '' $ac_executable_extensions; do
8314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8315 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8325 OTOOL=$ac_cv_prog_OTOOL
8326 if test -n "$OTOOL"; then
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8328 $as_echo "$OTOOL" >&6; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331 $as_echo "no" >&6; }
8336 if test -z "$ac_cv_prog_OTOOL"; then
8338 # Extract the first word of "otool", so it can be a program name with args.
8339 set dummy otool; ac_word=$2
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8341 $as_echo_n "checking for $ac_word... " >&6; }
8342 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8343 $as_echo_n "(cached) " >&6
8345 if test -n "$ac_ct_OTOOL"; then
8346 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8352 test -z "$as_dir" && as_dir=.
8353 for ac_exec_ext in '' $ac_executable_extensions; do
8354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8355 ac_cv_prog_ac_ct_OTOOL="otool"
8356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8365 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8366 if test -n "$ac_ct_OTOOL"; then
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8368 $as_echo "$ac_ct_OTOOL" >&6; }
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8374 if test "x$ac_ct_OTOOL" = x; then
8377 case $cross_compiling:$ac_tool_warned in
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8381 ac_tool_warned=yes ;;
8386 OTOOL="$ac_cv_prog_OTOOL"
8389 if test -n "$ac_tool_prefix"; then
8390 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8391 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8393 $as_echo_n "checking for $ac_word... " >&6; }
8394 if ${ac_cv_prog_OTOOL64+:} false; then :
8395 $as_echo_n "(cached) " >&6
8397 if test -n "$OTOOL64"; then
8398 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8404 test -z "$as_dir" && as_dir=.
8405 for ac_exec_ext in '' $ac_executable_extensions; do
8406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8407 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8417 OTOOL64=$ac_cv_prog_OTOOL64
8418 if test -n "$OTOOL64"; then
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8420 $as_echo "$OTOOL64" >&6; }
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8423 $as_echo "no" >&6; }
8428 if test -z "$ac_cv_prog_OTOOL64"; then
8429 ac_ct_OTOOL64=$OTOOL64
8430 # Extract the first word of "otool64", so it can be a program name with args.
8431 set dummy otool64; ac_word=$2
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8433 $as_echo_n "checking for $ac_word... " >&6; }
8434 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8435 $as_echo_n "(cached) " >&6
8437 if test -n "$ac_ct_OTOOL64"; then
8438 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8444 test -z "$as_dir" && as_dir=.
8445 for ac_exec_ext in '' $ac_executable_extensions; do
8446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8447 ac_cv_prog_ac_ct_OTOOL64="otool64"
8448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8457 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8458 if test -n "$ac_ct_OTOOL64"; then
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8460 $as_echo "$ac_ct_OTOOL64" >&6; }
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8463 $as_echo "no" >&6; }
8466 if test "x$ac_ct_OTOOL64" = x; then
8469 case $cross_compiling:$ac_tool_warned in
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8473 ac_tool_warned=yes ;;
8475 OTOOL64=$ac_ct_OTOOL64
8478 OTOOL64="$ac_cv_prog_OTOOL64"
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8508 $as_echo_n "checking for -single_module linker flag... " >&6; }
8509 if ${lt_cv_apple_cc_single_mod+:} false; then :
8510 $as_echo_n "(cached) " >&6
8512 lt_cv_apple_cc_single_mod=no
8513 if test -z "$LT_MULTI_MODULE"; then
8514 # By default we will add the -single_module flag. You can override
8515 # by either setting the environment variable LT_MULTI_MODULE
8516 # non-empty at configure time, or by adding -multi_module to the
8518 rm -rf libconftest.dylib*
8519 echo "int foo(void){return 1;}" > conftest.c
8520 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8521 -dynamiclib -Wl,-single_module conftest.c" >&5
8522 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8523 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8525 # If there is a non-empty error log, and "single_module"
8526 # appears in it, assume the flag caused a linker warning
8527 if test -s conftest.err && $GREP single_module conftest.err; then
8528 cat conftest.err >&5
8529 # Otherwise, if the output was created with a 0 exit code from
8530 # the compiler, it worked.
8531 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8532 lt_cv_apple_cc_single_mod=yes
8534 cat conftest.err >&5
8536 rm -rf libconftest.dylib*
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8541 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8544 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8545 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8546 $as_echo_n "(cached) " >&6
8548 lt_cv_ld_exported_symbols_list=no
8549 save_LDFLAGS=$LDFLAGS
8550 echo "_main" > conftest.sym
8551 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8563 if ac_fn_c_try_link "$LINENO"; then :
8564 lt_cv_ld_exported_symbols_list=yes
8566 lt_cv_ld_exported_symbols_list=no
8568 rm -f core conftest.err conftest.$ac_objext \
8569 conftest$ac_exeext conftest.$ac_ext
8570 LDFLAGS=$save_LDFLAGS
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8574 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8577 $as_echo_n "checking for -force_load linker flag... " >&6; }
8578 if ${lt_cv_ld_force_load+:} false; then :
8579 $as_echo_n "(cached) " >&6
8581 lt_cv_ld_force_load=no
8582 cat > conftest.c << _LT_EOF
8583 int forced_loaded() { return 2;}
8585 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8586 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8587 echo "$AR cru libconftest.a conftest.o" >&5
8588 $AR cru libconftest.a conftest.o 2>&5
8589 echo "$RANLIB libconftest.a" >&5
8590 $RANLIB libconftest.a 2>&5
8591 cat > conftest.c << _LT_EOF
8592 int main() { return 0;}
8594 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8595 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8597 if test -s conftest.err && $GREP force_load conftest.err; then
8598 cat conftest.err >&5
8599 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8600 lt_cv_ld_force_load=yes
8602 cat conftest.err >&5
8604 rm -f conftest.err libconftest.a conftest conftest.c
8605 rm -rf conftest.dSYM
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8609 $as_echo "$lt_cv_ld_force_load" >&6; }
8611 rhapsody* | darwin1.[012])
8612 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8614 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8615 darwin*) # darwin 5.x on
8616 # if running on 10.5 or later, the deployment target defaults
8617 # to the OS version, if on x86, and 10.4, the deployment
8618 # target defaults to 10.4. Don't you love it?
8619 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8620 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8621 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8623 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8625 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8629 if test yes = "$lt_cv_apple_cc_single_mod"; then
8630 _lt_dar_single_mod='$single_module'
8632 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8633 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8635 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8637 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8638 _lt_dsymutil='~$DSYMUTIL $lib || :'
8645 # func_munge_path_list VARIABLE PATH
8646 # -----------------------------------
8647 # VARIABLE is name of variable containing _space_ separated list of
8648 # directories to be munged by the contents of PATH, which is string
8651 # string "DIR[ DIR]" will be prepended to VARIABLE
8653 # string "DIR[ DIR]" will be appended to VARIABLE
8654 # "DIRP[:DIRP]::[DIRA:]DIRA"
8655 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8656 # "DIRA[ DIRA]" will be appended to VARIABLE
8658 # VARIABLE will be replaced by "DIR[ DIR]"
8659 func_munge_path_list ()
8665 eval $1=\"`$ECHO $2 |
$SED 's/:/ /g'` \$$1\"
8668 eval $1=\"\$$1 `$ECHO $2 |
$SED 's/:/ /g'`\"
8671 eval $1=\"\$$1\ `$ECHO $2 |
$SED -e 's/.*:://' -e 's/:/ /g'`\"
8672 eval $1=\"`$ECHO $2 |
$SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8675 eval $1=\"`$ECHO $2 |
$SED 's/:/ /g'`\"
8681 ac_cpp='$CPP $CPPFLAGS'
8682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8686 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8687 # On Suns, sometimes $CPP names a directory.
8688 if test -n "$CPP" && test -d "$CPP"; then
8691 if test -z "$CPP"; then
8692 if ${ac_cv_prog_CPP+:} false; then :
8693 $as_echo_n "(cached) " >&6
8695 # Double quotes because CPP needs to be expanded
8696 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8699 for ac_c_preproc_warn_flag in '' yes
8701 # Use a header file that comes with gcc, so configuring glibc
8702 # with a fresh cross-compiler works.
8703 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8704 # <limits.h> exists even on freestanding compilers.
8705 # On the NeXT, cc -E runs the code through the compiler's parser,
8706 # not just through cpp. "Syntax error" is here to catch this case.
8707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8708 /* end confdefs.h. */
8710 # include <limits.h>
8712 # include <assert.h>
8716 if ac_fn_c_try_cpp "$LINENO"; then :
8719 # Broken: fails on valid input.
8722 rm -f conftest.err conftest.i conftest.$ac_ext
8724 # OK, works on sane cases. Now check whether nonexistent headers
8725 # can be detected and how.
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 #include <ac_nonexistent.h>
8730 if ac_fn_c_try_cpp "$LINENO"; then :
8731 # Broken: success on invalid input.
8734 # Passes both tests.
8738 rm -f conftest.err conftest.i conftest.$ac_ext
8741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8742 rm -f conftest.i conftest.err conftest.
$ac_ext
8743 if $ac_preproc_ok; then :
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8756 $as_echo "$CPP" >&6; }
8758 for ac_c_preproc_warn_flag
in '' yes
8760 # Use a header file that comes with gcc, so configuring glibc
8761 # with a fresh cross-compiler works.
8762 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8763 # <limits.h> exists even on freestanding compilers.
8764 # On the NeXT, cc -E runs the code through the compiler's parser,
8765 # not just through cpp. "Syntax error" is here to catch this case.
8766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8767 /* end confdefs.h. */
8769 # include <limits.h>
8771 # include <assert.h>
8775 if ac_fn_c_try_cpp
"$LINENO"; then :
8778 # Broken: fails on valid input.
8781 rm -f conftest.err conftest.i conftest.
$ac_ext
8783 # OK, works on sane cases. Now check whether nonexistent headers
8784 # can be detected and how.
8785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8786 /* end confdefs.h. */
8787 #include <ac_nonexistent.h>
8789 if ac_fn_c_try_cpp
"$LINENO"; then :
8790 # Broken: success on invalid input.
8793 # Passes both tests.
8797 rm -f conftest.err conftest.i conftest.
$ac_ext
8800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8801 rm -f conftest.i conftest.err conftest.
$ac_ext
8802 if $ac_preproc_ok; then :
8805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8807 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
8808 See \`config.log' for more details" "$LINENO" 5; }
8812 ac_cpp
='$CPP $CPPFLAGS'
8813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8819 $as_echo_n "checking for ANSI C header files... " >&6; }
8820 if ${ac_cv_header_stdc+:} false
; then :
8821 $as_echo_n "(cached) " >&6
8823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8824 /* end confdefs.h. */
8838 if ac_fn_c_try_compile
"$LINENO"; then :
8839 ac_cv_header_stdc
=yes
8841 ac_cv_header_stdc
=no
8843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8845 if test $ac_cv_header_stdc = yes; then
8846 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8848 /* end confdefs.h. */
8852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8853 $EGREP "memchr" >/dev
/null
2>&1; then :
8856 ac_cv_header_stdc
=no
8862 if test $ac_cv_header_stdc = yes; then
8863 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8865 /* end confdefs.h. */
8869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8870 $EGREP "free" >/dev
/null
2>&1; then :
8873 ac_cv_header_stdc
=no
8879 if test $ac_cv_header_stdc = yes; then
8880 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8881 if test "$cross_compiling" = yes; then :
8884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8888 #if ((' ' & 0x0FF) == 0x020)
8889 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8890 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8892 # define ISLOWER(c) \
8893 (('a' <= (c) && (c) <= 'i') \
8894 || ('j' <= (c) && (c) <= 'r') \
8895 || ('s' <= (c) && (c) <= 'z'))
8896 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8899 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8904 for (i = 0; i < 256; i++)
8905 if (XOR (islower (i), ISLOWER (i))
8906 || toupper (i) != TOUPPER (i))
8911 if ac_fn_c_try_run
"$LINENO"; then :
8914 ac_cv_header_stdc
=no
8916 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8917 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8923 $as_echo "$ac_cv_header_stdc" >&6; }
8924 if test $ac_cv_header_stdc = yes; then
8926 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8930 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8931 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8932 inttypes.h stdint.h unistd.h
8934 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8935 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8937 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8938 cat >>confdefs.h
<<_ACEOF
8939 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8947 for ac_header
in dlfcn.h
8949 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8951 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8952 cat >>confdefs.h
<<_ACEOF
8953 #define HAVE_DLFCN_H 1
8961 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8962 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8963 # is not polluted with repeated "-I."
8964 am__isrc
=' -I$(srcdir)'
8965 # test to see if srcdir already configured
8966 if test -f $srcdir/config.status
; then
8967 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8971 # test whether we have cygpath
8972 if test -z "$CYGPATH_W"; then
8973 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
8974 CYGPATH_W
='cygpath -w'
8981 # Define the identity of the package.
8983 VERSION
='2015-03-07'
8986 cat >>confdefs.h
<<_ACEOF
8987 #define PACKAGE "$PACKAGE"
8991 cat >>confdefs.h
<<_ACEOF
8992 #define VERSION "$VERSION"
8995 # Some tools Automake needs.
8997 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9000 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
9003 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9006 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
9009 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
9011 # For better backward compatibility. To be removed once Automake 1.9.x
9012 # dies out for good. For more background, see:
9013 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9014 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9015 mkdir_p
='$(MKDIR_P)'
9017 # We need awk for the "check" target (and possibly the TAP driver). The
9018 # system "awk" is bad on some platforms.
9019 # Always define AMTAR for backward compatibility. Yes, it's still used
9020 # in the wild :-( We should find a proper way to deprecate it ...
9024 # We'll loop over all known methods to create a tar archive until one works.
9025 _am_tools
='gnutar pax cpio none'
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
9030 $as_echo_n "checking how to create a pax tar archive... " >&6; }
9032 # Go ahead even if we have the value already cached. We do so because we
9033 # need to set the values for the 'am__tar' and 'am__untar' variables.
9034 _am_tools
=${am_cv_prog_tar_pax-$_am_tools}
9036 for _am_tool
in $_am_tools; do
9039 for _am_tar
in tar gnutar gtar
; do
9040 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9041 ($_am_tar --version) >&5 2>&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); } && break
9046 am__tar
="$_am_tar --format=posix -chf - "'"$$tardir"'
9047 am__tar_
="$_am_tar --format=posix -chf - "'"$tardir"'
9048 am__untar
="$_am_tar -xf -"
9051 # Must skip GNU tar: if it does not support --format= it doesn't create
9052 # ustar tarball either.
9053 (tar --version) >/dev
/null
2>&1 && continue
9054 am__tar
='tar chf - "$$tardir"'
9055 am__tar_
='tar chf - "$tardir"'
9056 am__untar
='tar xf -'
9059 am__tar
='pax -L -x pax -w "$$tardir"'
9060 am__tar_
='pax -L -x pax -w "$tardir"'
9064 am__tar
='find "$$tardir" -print | cpio -o -H pax -L'
9065 am__tar_
='find "$tardir" -print | cpio -o -H pax -L'
9066 am__untar
='cpio -i -H pax -d'
9075 # If the value was cached, stop now. We just wanted to have am__tar
9076 # and am__untar set.
9077 test -n "${am_cv_prog_tar_pax}" && break
9079 # tar/untar a dummy directory, and stop if the command works.
9082 echo GrepMe
> conftest.dir
/file
9083 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9084 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
9086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087 (exit $ac_status); }
9089 if test -s conftest.
tar; then
9090 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9091 ($am__untar <conftest.
tar) >&5 2>&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 (exit $ac_status); }
9095 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9096 (cat conftest.dir
/file) >&5 2>&5
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); }
9100 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
9105 if ${am_cv_prog_tar_pax+:} false
; then :
9106 $as_echo_n "(cached) " >&6
9108 am_cv_prog_tar_pax
=$_am_tool
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
9112 $as_echo "$am_cv_prog_tar_pax" >&6; }
9118 depcc
="$CC" am_compiler_list
=
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
9121 $as_echo_n "checking dependency style of $depcc... " >&6; }
9122 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
9123 $as_echo_n "(cached) " >&6
9125 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9126 # We make a subdir and do the tests there. Otherwise we can end up
9127 # making bogus files that we don't know about and never remove. For
9128 # instance it was reported that on HP-UX the gcc test will end up
9129 # making a dummy file named 'D' -- because '-MD' means "put the output
9133 # Copy depcomp to subdir because otherwise we won't find it if we're
9134 # using a relative directory.
9135 cp "$am_depcomp" conftest.dir
9137 # We will build objects and dependencies in a subdirectory because
9138 # it helps to detect inapplicable dependency modes. For instance
9139 # both Tru64's cc and ICC support -MD to output dependencies as a
9140 # side effect of compilation, but ICC will put the dependencies in
9141 # the current directory while Tru64 will put them in the object
9145 am_cv_CC_dependencies_compiler_type
=none
9146 if test "$am_compiler_list" = ""; then
9147 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9150 case " $depcc " in #(
9151 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
9154 for depmode
in $am_compiler_list; do
9155 # Setup a source with many dependencies, because some compilers
9156 # like to wrap large dependency lists on column 80 (with \), and
9157 # we should not choose a depcomp mode which is confused by this.
9159 # We need to recreate these files for each test, as the compiler may
9160 # overwrite some of them when testing with obscure command lines.
9161 # This happens at least with the AIX C compiler.
9163 for i
in 1 2 3 4 5 6; do
9164 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
9165 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
9166 # Solaris 10 /bin/sh.
9167 echo '/* dummy */' > sub
/conftst
$i.h
9169 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9171 # We check with '-c' and '-o' for the sake of the "dashmstdout"
9172 # mode. It turns out that the SunPro C++ compiler does not properly
9173 # handle '-M -o', and we need to detect this. Also, some Intel
9174 # versions had trouble with output in subdirs.
9175 am__obj
=sub
/conftest.
${OBJEXT-o}
9176 am__minus_obj
="-o $am__obj"
9179 # This depmode causes a compiler race in universal mode.
9180 test "$am__universal" = false ||
continue
9183 # After this tag, mechanisms are not by side-effect, so they'll
9184 # only be used when explicitly requested.
9185 if test "x$enable_dependency_tracking" = xyes
; then
9191 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
9192 # This compiler won't grok '-c -o', but also, the minuso test has
9193 # not run yet. These depmodes are late enough in the game, and
9194 # so weak that their functioning should not be impacted.
9195 am__obj
=conftest.
${OBJEXT-o}
9200 if depmode
=$depmode \
9201 source=sub
/conftest.c object
=$am__obj \
9202 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
9203 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
9204 >/dev
/null
2>conftest.err
&&
9205 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
9206 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
9207 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
9208 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
9209 # icc doesn't choke on unknown options, it will just issue warnings
9210 # or remarks (even with -Werror). So we grep stderr for any message
9211 # that says an option was ignored or not supported.
9212 # When given -MP, icc 7.0 and 7.1 complain thusly:
9213 # icc: Command line warning: ignoring option '-M'; no argument required
9214 # The diagnosis changed in icc 8.0:
9215 # icc: Command line remark: option '-MP' not supported
9216 if (grep 'ignoring option' conftest.err ||
9217 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
9218 am_cv_CC_dependencies_compiler_type
=$depmode
9227 am_cv_CC_dependencies_compiler_type
=none
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
9232 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
9233 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
9236 test "x$enable_dependency_tracking" != xno \
9237 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
9239 am__fastdepCC_FALSE
='#'
9241 am__fastdepCC_TRUE
='#'
9242 am__fastdepCC_FALSE
=
9247 # POSIX will say in a future version that running "rm -f" with no argument
9248 # is OK; and we want to be able to make that assumption in our Makefile
9249 # recipes. So use an aggressive probe to check that the usage we want is
9250 # actually supported "in the wild" to an acceptable degree.
9251 # See automake bug#10828.
9252 # To make any issue more visible, cause the running configure to be aborted
9253 # by default if the 'rm' program in use doesn't match our expectations; the
9254 # user can still override this though.
9255 if rm -f && rm -fr && rm -rf; then : OK
; else
9259 Your 'rm' program seems unable to run without file operands specified
9260 on the command line, even when the '-f' option is present. This is contrary
9261 to the behaviour of most rm programs out there, and not conforming with
9262 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
9264 Please tell bug-automake@gnu.org about your system, including the value
9265 of your $PATH and any error possibly output before this message. This
9266 can help us improve future automake versions.
9269 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
9270 echo 'Configuration will proceed anyway, since you have set the' >&2
9271 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
9275 Aborting the configuration process, to ensure you take notice of the issue.
9277 You can download and install GNU coreutils to get an 'rm' implementation
9278 that behaves properly: <http://www.gnu.org/software/coreutils/>.
9280 If you want to complete the configuration process using your problematic
9281 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
9282 to "yes", and re-run configure.
9285 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9291 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9292 # Check whether --enable-maintainer-mode was given.
9293 if test "${enable_maintainer_mode+set}" = set; then :
9294 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
9296 USE_MAINTAINER_MODE
=no
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9300 $as_echo "$USE_MAINTAINER_MODE" >&6; }
9301 if test $USE_MAINTAINER_MODE = yes; then
9302 MAINTAINER_MODE_TRUE
=
9303 MAINTAINER_MODE_FALSE
='#'
9305 MAINTAINER_MODE_TRUE
='#'
9306 MAINTAINER_MODE_FALSE
=
9309 MAINT
=$MAINTAINER_MODE_TRUE
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9313 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
9314 if ${kb_cv_c_prototypes+:} false
; then :
9315 $as_echo_n "(cached) " >&6
9317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9323 extern void foo(int i,...);
9328 if ac_fn_c_try_link
"$LINENO"; then :
9329 kb_cv_c_prototypes
=yes
9331 kb_cv_c_prototypes
=no
9333 rm -f core conftest.err conftest.
$ac_objext \
9334 conftest
$ac_exeext conftest.
$ac_ext
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9337 $as_echo "$kb_cv_c_prototypes" >&6; }
9338 if test "x$kb_cv_c_prototypes" = xno
; then
9339 as_fn_error $?
"Sorry, your compiler does not understand prototypes." "$LINENO" 5
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9342 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
9343 if ${kpse_cv_warning_cflags+:} false
; then :
9344 $as_echo_n "(cached) " >&6
9346 if test "x$GCC" = xyes
; then
9347 kpse_cv_warning_cflags
=
9348 if test "x$enable_compiler_warnings" != xno
; then
9349 kpse_cv_warning_cflags
="-Wimplicit -Wreturn-type"
9350 case `$CC -dumpversion` in #(
9352 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9356 case `$CC -dumpversion` in #(
9358 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9362 if test "x$enable_compiler_warnings" != xmin
; then
9363 kpse_cv_warning_cflags
="-Wall -Wunused $kpse_cv_warning_cflags"
9364 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9365 if test "x$enable_compiler_warnings" != xyes
; then
9366 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9367 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9368 case `$CC -dumpversion` in #(
9370 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9374 if test "x$enable_compiler_warnings" != xmax
; then
9375 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wshadow"
9380 elif test "x$enable_compiler_warnings" = xno
; then
9381 kpse_cv_warning_cflags
=
9383 kpse_cv_warning_cflags
= # FIXME: warning flags for non-GNU C compilers
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9387 $as_echo "$kpse_cv_warning_cflags" >&6; }
9388 WARNING_CFLAGS
=$kpse_cv_warning_cflags
9402 enable_win32_dll
=yes
9405 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
9406 if test -n "$ac_tool_prefix"; then
9407 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9408 set dummy
${ac_tool_prefix}as
; ac_word
=$2
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9410 $as_echo_n "checking for $ac_word... " >&6; }
9411 if ${ac_cv_prog_AS+:} false
; then :
9412 $as_echo_n "(cached) " >&6
9414 if test -n "$AS"; then
9415 ac_cv_prog_AS
="$AS" # Let the user override the test.
9417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9421 test -z "$as_dir" && as_dir
=.
9422 for ac_exec_ext
in '' $ac_executable_extensions; do
9423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9424 ac_cv_prog_AS
="${ac_tool_prefix}as"
9425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9435 if test -n "$AS"; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9437 $as_echo "$AS" >&6; }
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9440 $as_echo "no" >&6; }
9445 if test -z "$ac_cv_prog_AS"; then
9447 # Extract the first word of "as", so it can be a program name with args.
9448 set dummy as
; ac_word
=$2
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9450 $as_echo_n "checking for $ac_word... " >&6; }
9451 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
9452 $as_echo_n "(cached) " >&6
9454 if test -n "$ac_ct_AS"; then
9455 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
9457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9461 test -z "$as_dir" && as_dir
=.
9462 for ac_exec_ext
in '' $ac_executable_extensions; do
9463 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9464 ac_cv_prog_ac_ct_AS
="as"
9465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9474 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
9475 if test -n "$ac_ct_AS"; then
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9477 $as_echo "$ac_ct_AS" >&6; }
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9480 $as_echo "no" >&6; }
9483 if test "x$ac_ct_AS" = x
; then
9486 case $cross_compiling:$ac_tool_warned in
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9490 ac_tool_warned
=yes ;;
9498 if test -n "$ac_tool_prefix"; then
9499 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9500 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9502 $as_echo_n "checking for $ac_word... " >&6; }
9503 if ${ac_cv_prog_DLLTOOL+:} false
; then :
9504 $as_echo_n "(cached) " >&6
9506 if test -n "$DLLTOOL"; then
9507 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9513 test -z "$as_dir" && as_dir
=.
9514 for ac_exec_ext
in '' $ac_executable_extensions; do
9515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9516 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9526 DLLTOOL
=$ac_cv_prog_DLLTOOL
9527 if test -n "$DLLTOOL"; then
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9529 $as_echo "$DLLTOOL" >&6; }
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9532 $as_echo "no" >&6; }
9537 if test -z "$ac_cv_prog_DLLTOOL"; then
9538 ac_ct_DLLTOOL
=$DLLTOOL
9539 # Extract the first word of "dlltool", so it can be a program name with args.
9540 set dummy dlltool
; ac_word
=$2
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9542 $as_echo_n "checking for $ac_word... " >&6; }
9543 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
9544 $as_echo_n "(cached) " >&6
9546 if test -n "$ac_ct_DLLTOOL"; then
9547 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9553 test -z "$as_dir" && as_dir
=.
9554 for ac_exec_ext
in '' $ac_executable_extensions; do
9555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9556 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9566 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9567 if test -n "$ac_ct_DLLTOOL"; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9569 $as_echo "$ac_ct_DLLTOOL" >&6; }
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9572 $as_echo "no" >&6; }
9575 if test "x$ac_ct_DLLTOOL" = x
; then
9578 case $cross_compiling:$ac_tool_warned in
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9582 ac_tool_warned
=yes ;;
9584 DLLTOOL
=$ac_ct_DLLTOOL
9587 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9590 if test -n "$ac_tool_prefix"; then
9591 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9592 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9594 $as_echo_n "checking for $ac_word... " >&6; }
9595 if ${ac_cv_prog_OBJDUMP+:} false
; then :
9596 $as_echo_n "(cached) " >&6
9598 if test -n "$OBJDUMP"; then
9599 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
9601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9605 test -z "$as_dir" && as_dir
=.
9606 for ac_exec_ext
in '' $ac_executable_extensions; do
9607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9608 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
9609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9618 OBJDUMP
=$ac_cv_prog_OBJDUMP
9619 if test -n "$OBJDUMP"; then
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9621 $as_echo "$OBJDUMP" >&6; }
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9624 $as_echo "no" >&6; }
9629 if test -z "$ac_cv_prog_OBJDUMP"; then
9630 ac_ct_OBJDUMP
=$OBJDUMP
9631 # Extract the first word of "objdump", so it can be a program name with args.
9632 set dummy objdump
; ac_word
=$2
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9634 $as_echo_n "checking for $ac_word... " >&6; }
9635 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
9636 $as_echo_n "(cached) " >&6
9638 if test -n "$ac_ct_OBJDUMP"; then
9639 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
9641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9645 test -z "$as_dir" && as_dir
=.
9646 for ac_exec_ext
in '' $ac_executable_extensions; do
9647 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9648 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
9649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9658 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
9659 if test -n "$ac_ct_OBJDUMP"; then
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9661 $as_echo "$ac_ct_OBJDUMP" >&6; }
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9664 $as_echo "no" >&6; }
9667 if test "x$ac_ct_OBJDUMP" = x
; then
9670 case $cross_compiling:$ac_tool_warned in
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9674 ac_tool_warned
=yes ;;
9676 OBJDUMP
=$ac_ct_OBJDUMP
9679 OBJDUMP
="$ac_cv_prog_OBJDUMP"
9685 test -z "$AS" && AS
=as
9691 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9697 test -z "$OBJDUMP" && OBJDUMP
=objdump
9709 # Check whether --enable-shared was given.
9710 if test "${enable_shared+set}" = set; then :
9711 enableval
=$enable_shared; p
=${PACKAGE-default}
9713 yes) enable_shared
=yes ;;
9714 no
) enable_shared
=no
;;
9717 # Look at the argument we got. We use all the common list separators.
9718 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9719 for pkg
in $enableval; do
9721 if test "X$pkg" = "X$p"; then
9740 # Check whether --enable-static was given.
9741 if test "${enable_static+set}" = set; then :
9742 enableval
=$enable_static; p
=${PACKAGE-default}
9744 yes) enable_static
=yes ;;
9745 no
) enable_static
=no
;;
9748 # Look at the argument we got. We use all the common list separators.
9749 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9750 for pkg
in $enableval; do
9752 if test "X$pkg" = "X$p"; then
9772 # Check whether --with-pic was given.
9773 if test "${with_pic+set}" = set; then :
9774 withval
=$with_pic; lt_p
=${PACKAGE-default}
9776 yes|no
) pic_mode
=$withval ;;
9779 # Look at the argument we got. We use all the common list separators.
9780 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9781 for lt_pkg
in $withval; do
9783 if test "X$lt_pkg" = "X$lt_p"; then
9801 # Check whether --enable-fast-install was given.
9802 if test "${enable_fast_install+set}" = set; then :
9803 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9805 yes) enable_fast_install
=yes ;;
9806 no
) enable_fast_install
=no
;;
9808 enable_fast_install
=no
9809 # Look at the argument we got. We use all the common list separators.
9810 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9811 for pkg
in $enableval; do
9813 if test "X$pkg" = "X$p"; then
9814 enable_fast_install
=yes
9821 enable_fast_install
=yes
9831 shared_archive_member_spec
=
9832 case $host,$enable_shared in
9833 power
*-*-aix[5-9]*,yes)
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9835 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9837 # Check whether --with-aix-soname was given.
9838 if test "${with_aix_soname+set}" = set; then :
9839 withval
=$with_aix_soname; case $withval in
9843 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9846 lt_cv_with_aix_soname
=$with_aix_soname
9848 if ${lt_cv_with_aix_soname+:} false
; then :
9849 $as_echo_n "(cached) " >&6
9851 lt_cv_with_aix_soname
=aix
9854 with_aix_soname
=$lt_cv_with_aix_soname
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9858 $as_echo "$with_aix_soname" >&6; }
9859 if test aix
!= "$with_aix_soname"; then
9860 # For the AIX way of multilib, we name the shared archive member
9861 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9862 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9863 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9864 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9865 if test 64 = "${OBJECT_MODE-32}"; then
9866 shared_archive_member_spec
=shr_64
9868 shared_archive_member_spec
=shr
9886 # This can be used to rebuild libtool when needed
9887 LIBTOOL_DEPS
=$ltmain
9889 # Always use our own libtool.
9890 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9921 test -z "$LN_S" && LN_S
="ln -s"
9936 if test -n "${ZSH_VERSION+set}"; then
9937 setopt NO_GLOB_SUBST
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9941 $as_echo_n "checking for objdir... " >&6; }
9942 if ${lt_cv_objdir+:} false
; then :
9943 $as_echo_n "(cached) " >&6
9945 rm -f .libs
2>/dev
/null
9946 mkdir .libs
2>/dev
/null
9947 if test -d .libs
; then
9950 # MS-DOS does not allow filenames that begin with a dot.
9953 rmdir .libs
2>/dev
/null
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9956 $as_echo "$lt_cv_objdir" >&6; }
9957 objdir
=$lt_cv_objdir
9963 cat >>confdefs.h
<<_ACEOF
9964 #define LT_OBJDIR "$lt_cv_objdir/"
9972 # AIX sometimes has problems with the GCC collect2 program. For some
9973 # reason, if we set the COLLECT_NAMES environment variable, the problems
9974 # vanish in a puff of smoke.
9975 if test set != "${COLLECT_NAMES+set}"; then
9977 export COLLECT_NAMES
9984 can_build_shared
=yes
9986 # All known linkers require a '.a' archive for static linking (except MSVC,
9987 # which needs '.lib').
9990 with_gnu_ld
=$lt_cv_prog_gnu_ld
9995 # Set sane defaults for various variables
9996 test -z "$CC" && CC
=cc
9997 test -z "$LTCC" && LTCC
=$CC
9998 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9999 test -z "$LD" && LD
=ld
10000 test -z "$ac_objext" && ac_objext
=o
10002 func_cc_basename
$compiler
10003 cc_basename
=$func_cc_basename_result
10006 # Only perform the check for file, if the check method requires it
10007 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10008 case $deplibs_check_method in
10010 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10012 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10013 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10014 $as_echo_n "(cached) " >&6
10018 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10021 lt_save_MAGIC_CMD
=$MAGIC_CMD
10022 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10023 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10024 for ac_dir
in $ac_dummy; do
10026 test -z "$ac_dir" && ac_dir
=.
10027 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10028 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
10029 if test -n "$file_magic_test_file"; then
10030 case $deplibs_check_method in
10032 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10033 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10034 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10035 $EGREP "$file_magic_regex" > /dev
/null
; then
10040 *** Warning: the command libtool uses to detect shared libraries,
10041 *** $file_magic_cmd, produces output that libtool cannot recognize.
10042 *** The result is that libtool may fail to recognize shared libraries
10043 *** as such. This will affect the creation of libtool libraries that
10044 *** depend on shared libraries, but programs linked with such libtool
10045 *** libraries will work regardless of this problem. Nevertheless, you
10046 *** may want to report the problem to your system manager and/or to
10047 *** bug-libtool@gnu.org
10057 MAGIC_CMD
=$lt_save_MAGIC_CMD
10062 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10063 if test -n "$MAGIC_CMD"; then
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10065 $as_echo "$MAGIC_CMD" >&6; }
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10068 $as_echo "no" >&6; }
10075 if test -z "$lt_cv_path_MAGIC_CMD"; then
10076 if test -n "$ac_tool_prefix"; then
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10078 $as_echo_n "checking for file... " >&6; }
10079 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10080 $as_echo_n "(cached) " >&6
10084 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10087 lt_save_MAGIC_CMD
=$MAGIC_CMD
10088 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10089 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10090 for ac_dir
in $ac_dummy; do
10092 test -z "$ac_dir" && ac_dir
=.
10093 if test -f "$ac_dir/file"; then
10094 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
10095 if test -n "$file_magic_test_file"; then
10096 case $deplibs_check_method in
10098 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10099 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10100 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10101 $EGREP "$file_magic_regex" > /dev
/null
; then
10106 *** Warning: the command libtool uses to detect shared libraries,
10107 *** $file_magic_cmd, produces output that libtool cannot recognize.
10108 *** The result is that libtool may fail to recognize shared libraries
10109 *** as such. This will affect the creation of libtool libraries that
10110 *** depend on shared libraries, but programs linked with such libtool
10111 *** libraries will work regardless of this problem. Nevertheless, you
10112 *** may want to report the problem to your system manager and/or to
10113 *** bug-libtool@gnu.org
10123 MAGIC_CMD
=$lt_save_MAGIC_CMD
10128 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10129 if test -n "$MAGIC_CMD"; then
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10131 $as_echo "$MAGIC_CMD" >&6; }
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10134 $as_echo "no" >&6; }
10147 # Use C for the default configuration in the libtool script
10151 ac_cpp
='$CPP $CPPFLAGS'
10152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10157 # Source file extension for C test sources.
10160 # Object file extension for compiled C test sources.
10164 # Code to be used in simple compile tests
10165 lt_simple_compile_test_code
="int some_variable = 0;"
10167 # Code to be used in simple link tests
10168 lt_simple_link_test_code
='int main(){return(0);}'
10176 # If no C compiler was specified, use CC.
10179 # If no C compiler flags were specified, use CFLAGS.
10180 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10182 # Allow CC to be a program name with arguments.
10185 # Save the default compiler, since it gets overwritten when the other
10186 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10187 compiler_DEFAULT
=$CC
10189 # save warnings/boilerplate of simple test code
10190 ac_outfile
=conftest.
$ac_objext
10191 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10192 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10193 _lt_compiler_boilerplate
=`cat conftest.err`
10196 ac_outfile
=conftest.
$ac_objext
10197 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10198 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10199 _lt_linker_boilerplate
=`cat conftest.err`
10204 ## There is no encapsulation within the following macros, do not change
10205 ## the running order or otherwise move them around unless you know exactly
10206 ## what you are doing...
10207 if test -n "$compiler"; then
10209 lt_prog_compiler_no_builtin_flag
=
10211 if test yes = "$GCC"; then
10212 case $cc_basename in
10214 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10216 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10220 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10221 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
10222 $as_echo_n "(cached) " >&6
10224 lt_cv_prog_compiler_rtti_exceptions
=no
10225 ac_outfile
=conftest.
$ac_objext
10226 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10227 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10228 # Insert the option either (1) after the last *FLAGS variable, or
10229 # (2) before a word containing "conftest.", or (3) at the end.
10230 # Note that $ac_compile itself does not contain backslashes and begins
10231 # with a dollar sign (not a hyphen), so the echo should work correctly.
10232 # The option is referenced via a variable to avoid confusing sed.
10233 lt_compile
=`echo "$ac_compile" | $SED \
10234 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10235 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10236 -e 's:$: $lt_compiler_flag:'`
10237 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10238 (eval "$lt_compile" 2>conftest.err
)
10240 cat conftest.err
>&5
10241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242 if (exit $ac_status) && test -s "$ac_outfile"; then
10243 # The compiler can only warn and ignore the option if not recognized
10244 # So say no if there are warnings other than the usual output.
10245 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10246 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10247 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10248 lt_cv_prog_compiler_rtti_exceptions
=yes
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10255 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10257 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10258 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10270 lt_prog_compiler_wl
=
10271 lt_prog_compiler_pic
=
10272 lt_prog_compiler_static
=
10275 if test yes = "$GCC"; then
10276 lt_prog_compiler_wl
='-Wl,'
10277 lt_prog_compiler_static
='-static'
10281 # All AIX code is PIC.
10282 if test ia64
= "$host_cpu"; then
10283 # AIX 5 now supports IA64 processor
10284 lt_prog_compiler_static
='-Bstatic'
10286 lt_prog_compiler_pic
='-fPIC'
10292 # see comment about AmigaOS4 .so support
10293 lt_prog_compiler_pic
='-fPIC'
10296 # FIXME: we need at least 68020 code to build shared libraries, but
10297 # adding the '-m68020' flag to GCC prevents building anything better,
10299 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10304 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10305 # PIC is the default for these OSes.
10308 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10309 # This hack is so that the source file can tell whether it is being
10310 # built for inclusion in a dll (and should export symbols for example).
10311 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10312 # (--disable-auto-import) libraries
10313 lt_prog_compiler_pic
='-DDLL_EXPORT'
10316 lt_prog_compiler_static
='$wl-static'
10321 darwin
* | rhapsody
*)
10322 # PIC is the default on this platform
10323 # Common symbols not allowed in MH_DYLIB files
10324 lt_prog_compiler_pic
='-fno-common'
10328 # PIC is the default for Haiku.
10329 # The "-static" flag exists, but is broken.
10330 lt_prog_compiler_static
=
10334 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10335 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10336 # sets the default TLS model and affects inlining.
10342 lt_prog_compiler_pic
='-fPIC'
10348 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10349 # Instead, we relocate shared libraries at runtime.
10353 # Just because we use GCC doesn't mean we suddenly get shared libraries
10354 # on systems that don't support them.
10355 lt_prog_compiler_can_build_shared
=no
10360 # QNX uses GNU C++, but need to define -shared option too, otherwise
10361 # it will coredump.
10362 lt_prog_compiler_pic
='-fPIC -shared'
10366 if test -d /usr
/nec
; then
10367 lt_prog_compiler_pic
=-Kconform_pic
10372 lt_prog_compiler_pic
='-fPIC'
10376 case $cc_basename in
10377 nvcc
*) # Cuda Compiler Driver 2.2
10378 lt_prog_compiler_wl
='-Xlinker '
10379 if test -n "$lt_prog_compiler_pic"; then
10380 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
10385 # PORTME Check for flag to pass linker flags through the system compiler.
10388 lt_prog_compiler_wl
='-Wl,'
10389 if test ia64
= "$host_cpu"; then
10390 # AIX 5 now supports IA64 processor
10391 lt_prog_compiler_static
='-Bstatic'
10393 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10397 darwin
* | rhapsody
*)
10398 # PIC is the default on this platform
10399 # Common symbols not allowed in MH_DYLIB files
10400 lt_prog_compiler_pic
='-fno-common'
10401 case $cc_basename in
10403 # NAG Fortran compiler
10404 lt_prog_compiler_wl
='-Wl,-Wl,,'
10405 lt_prog_compiler_pic
='-PIC'
10406 lt_prog_compiler_static
='-Bstatic'
10411 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10412 # This hack is so that the source file can tell whether it is being
10413 # built for inclusion in a dll (and should export symbols for example).
10414 lt_prog_compiler_pic
='-DDLL_EXPORT'
10417 lt_prog_compiler_static
='$wl-static'
10422 hpux9
* | hpux10
* | hpux11
*)
10423 lt_prog_compiler_wl
='-Wl,'
10424 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10425 # not for PA HP-UX.
10431 lt_prog_compiler_pic
='+Z'
10434 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10435 lt_prog_compiler_static
='$wl-a ${wl}archive'
10438 irix5
* | irix6
* | nonstopux
*)
10439 lt_prog_compiler_wl
='-Wl,'
10440 # PIC (with -KPIC) is the default.
10441 lt_prog_compiler_static
='-non_shared'
10444 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10445 case $cc_basename in
10446 # old Intel for x86_64, which still supported -KPIC.
10448 lt_prog_compiler_wl
='-Wl,'
10449 lt_prog_compiler_pic
='-KPIC'
10450 lt_prog_compiler_static
='-static'
10452 # icc used to be incompatible with GCC.
10453 # ICC 10 doesn't accept -KPIC any more.
10455 lt_prog_compiler_wl
='-Wl,'
10456 lt_prog_compiler_pic
='-fPIC'
10457 lt_prog_compiler_static
='-static'
10459 # Lahey Fortran 8.1.
10461 lt_prog_compiler_wl
='-Wl,'
10462 lt_prog_compiler_pic
='--shared'
10463 lt_prog_compiler_static
='--static'
10466 # NAG Fortran compiler
10467 lt_prog_compiler_wl
='-Wl,-Wl,,'
10468 lt_prog_compiler_pic
='-PIC'
10469 lt_prog_compiler_static
='-Bstatic'
10472 # Fabrice Bellard et al's Tiny C Compiler
10473 lt_prog_compiler_wl
='-Wl,'
10474 lt_prog_compiler_pic
='-fPIC'
10475 lt_prog_compiler_static
='-static'
10477 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10478 # Portland Group compilers (*not* the Pentium gcc compiler,
10479 # which looks to be a dead project)
10480 lt_prog_compiler_wl
='-Wl,'
10481 lt_prog_compiler_pic
='-fpic'
10482 lt_prog_compiler_static
='-Bstatic'
10485 lt_prog_compiler_wl
='-Wl,'
10486 # All Alpha code is PIC.
10487 lt_prog_compiler_static
='-non_shared'
10489 xl
* | bgxl
* | bgf
* | mpixl
*)
10490 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10491 lt_prog_compiler_wl
='-Wl,'
10492 lt_prog_compiler_pic
='-qpic'
10493 lt_prog_compiler_static
='-qstaticlink'
10496 case `$CC -V 2>&1 | sed 5q` in
10497 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
10498 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10499 lt_prog_compiler_pic
='-KPIC'
10500 lt_prog_compiler_static
='-Bstatic'
10501 lt_prog_compiler_wl
=''
10503 *Sun\ F
* |
*Sun
*Fortran
*)
10504 lt_prog_compiler_pic
='-KPIC'
10505 lt_prog_compiler_static
='-Bstatic'
10506 lt_prog_compiler_wl
='-Qoption ld '
10510 lt_prog_compiler_pic
='-KPIC'
10511 lt_prog_compiler_static
='-Bstatic'
10512 lt_prog_compiler_wl
='-Wl,'
10514 *Intel
*\
[CF
]*Compiler
*)
10515 lt_prog_compiler_wl
='-Wl,'
10516 lt_prog_compiler_pic
='-fPIC'
10517 lt_prog_compiler_static
='-static'
10520 lt_prog_compiler_wl
='-Wl,'
10521 lt_prog_compiler_pic
='-fpic'
10522 lt_prog_compiler_static
='-Bstatic'
10530 lt_prog_compiler_pic
='-KPIC'
10531 lt_prog_compiler_static
='-Bstatic'
10535 # QNX uses GNU C++, but need to define -shared option too, otherwise
10536 # it will coredump.
10537 lt_prog_compiler_pic
='-fPIC -shared'
10540 osf3
* | osf4
* | osf5
*)
10541 lt_prog_compiler_wl
='-Wl,'
10542 # All OSF/1 code is PIC.
10543 lt_prog_compiler_static
='-non_shared'
10547 lt_prog_compiler_static
='-non_shared'
10551 lt_prog_compiler_pic
='-KPIC'
10552 lt_prog_compiler_static
='-Bstatic'
10553 case $cc_basename in
10554 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10555 lt_prog_compiler_wl
='-Qoption ld ';;
10557 lt_prog_compiler_wl
='-Wl,';;
10562 lt_prog_compiler_wl
='-Qoption ld '
10563 lt_prog_compiler_pic
='-PIC'
10564 lt_prog_compiler_static
='-Bstatic'
10567 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10568 lt_prog_compiler_wl
='-Wl,'
10569 lt_prog_compiler_pic
='-KPIC'
10570 lt_prog_compiler_static
='-Bstatic'
10574 if test -d /usr
/nec
; then
10575 lt_prog_compiler_pic
='-Kconform_pic'
10576 lt_prog_compiler_static
='-Bstatic'
10580 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10581 lt_prog_compiler_wl
='-Wl,'
10582 lt_prog_compiler_pic
='-KPIC'
10583 lt_prog_compiler_static
='-Bstatic'
10587 lt_prog_compiler_wl
='-Wl,'
10588 lt_prog_compiler_can_build_shared
=no
10592 lt_prog_compiler_pic
='-pic'
10593 lt_prog_compiler_static
='-Bstatic'
10597 lt_prog_compiler_can_build_shared
=no
10603 # For platforms that do not support PIC, -DPIC is meaningless:
10605 lt_prog_compiler_pic
=
10608 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10613 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10614 if ${lt_cv_prog_compiler_pic+:} false
; then :
10615 $as_echo_n "(cached) " >&6
10617 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10620 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10621 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10624 # Check to make sure the PIC flag actually works.
10626 if test -n "$lt_prog_compiler_pic"; then
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10628 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10629 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10630 $as_echo_n "(cached) " >&6
10632 lt_cv_prog_compiler_pic_works
=no
10633 ac_outfile
=conftest.
$ac_objext
10634 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10635 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10636 # Insert the option either (1) after the last *FLAGS variable, or
10637 # (2) before a word containing "conftest.", or (3) at the end.
10638 # Note that $ac_compile itself does not contain backslashes and begins
10639 # with a dollar sign (not a hyphen), so the echo should work correctly.
10640 # The option is referenced via a variable to avoid confusing sed.
10641 lt_compile
=`echo "$ac_compile" | $SED \
10642 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10643 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10644 -e 's:$: $lt_compiler_flag:'`
10645 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10646 (eval "$lt_compile" 2>conftest.err
)
10648 cat conftest.err
>&5
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 if (exit $ac_status) && test -s "$ac_outfile"; then
10651 # The compiler can only warn and ignore the option if not recognized
10652 # So say no if there are warnings other than the usual output.
10653 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10654 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10655 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10656 lt_cv_prog_compiler_pic_works
=yes
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10663 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10665 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10666 case $lt_prog_compiler_pic in
10668 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10671 lt_prog_compiler_pic
=
10672 lt_prog_compiler_can_build_shared
=no
10688 # Check to make sure the static flag actually works.
10690 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10692 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10693 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10694 $as_echo_n "(cached) " >&6
10696 lt_cv_prog_compiler_static_works
=no
10697 save_LDFLAGS
=$LDFLAGS
10698 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10699 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10700 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10701 # The linker can only warn and ignore the option if not recognized
10702 # So say no if there are warnings
10703 if test -s conftest.err
; then
10704 # Append any errors to the config.log.
10705 cat conftest.err
1>&5
10706 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10707 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10708 if diff conftest.exp conftest.er2
>/dev
/null
; then
10709 lt_cv_prog_compiler_static_works
=yes
10712 lt_cv_prog_compiler_static_works
=yes
10716 LDFLAGS
=$save_LDFLAGS
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10720 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10722 if test yes = "$lt_cv_prog_compiler_static_works"; then
10725 lt_prog_compiler_static
=
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10735 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10736 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10737 $as_echo_n "(cached) " >&6
10739 lt_cv_prog_compiler_c_o
=no
10740 $RM -r conftest
2>/dev
/null
10744 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10746 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10747 # Insert the option either (1) after the last *FLAGS variable, or
10748 # (2) before a word containing "conftest.", or (3) at the end.
10749 # Note that $ac_compile itself does not contain backslashes and begins
10750 # with a dollar sign (not a hyphen), so the echo should work correctly.
10751 lt_compile
=`echo "$ac_compile" | $SED \
10752 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10753 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10754 -e 's:$: $lt_compiler_flag:'`
10755 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10756 (eval "$lt_compile" 2>out
/conftest.err
)
10758 cat out
/conftest.err
>&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10762 # The compiler can only warn and ignore the option if not recognized
10763 # So say no if there are warnings
10764 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10765 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10766 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10767 lt_cv_prog_compiler_c_o
=yes
10772 # SGI C++ compiler will create directory out/ii_files/ for
10773 # template instantiation
10774 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10775 $RM out
/* && rmdir out
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10782 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10790 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10791 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10792 $as_echo_n "(cached) " >&6
10794 lt_cv_prog_compiler_c_o
=no
10795 $RM -r conftest
2>/dev
/null
10799 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10801 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10802 # Insert the option either (1) after the last *FLAGS variable, or
10803 # (2) before a word containing "conftest.", or (3) at the end.
10804 # Note that $ac_compile itself does not contain backslashes and begins
10805 # with a dollar sign (not a hyphen), so the echo should work correctly.
10806 lt_compile
=`echo "$ac_compile" | $SED \
10807 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10808 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10809 -e 's:$: $lt_compiler_flag:'`
10810 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10811 (eval "$lt_compile" 2>out
/conftest.err
)
10813 cat out
/conftest.err
>&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10817 # The compiler can only warn and ignore the option if not recognized
10818 # So say no if there are warnings
10819 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10820 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10821 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10822 lt_cv_prog_compiler_c_o
=yes
10827 # SGI C++ compiler will create directory out/ii_files/ for
10828 # template instantiation
10829 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10830 $RM out
/* && rmdir out
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10837 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10842 hard_links
=nottested
10843 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10844 # do not overwrite the value of need_locks provided by the user
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10846 $as_echo_n "checking if we can lock with hard links... " >&6; }
10849 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10851 ln conftest.a conftest.b
2>&5 || hard_links
=no
10852 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10854 $as_echo "$hard_links" >&6; }
10855 if test no
= "$hard_links"; then
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10857 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10870 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10873 allow_undefined_flag
=
10874 always_export_symbols
=no
10876 archive_expsym_cmds
=
10877 compiler_needs_object
=no
10878 enable_shared_with_static_runtimes
=no
10879 export_dynamic_flag_spec
=
10880 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10881 hardcode_automatic
=no
10883 hardcode_direct_absolute
=no
10884 hardcode_libdir_flag_spec
=
10885 hardcode_libdir_separator
=
10886 hardcode_minus_L
=no
10887 hardcode_shlibpath_var
=unsupported
10889 link_all_deplibs
=unknown
10891 module_expsym_cmds
=
10892 old_archive_from_new_cmds
=
10893 old_archive_from_expsyms_cmds
=
10894 thread_safe_flag_spec
=
10895 whole_archive_flag_spec
=
10896 # include_expsyms should be a list of space-separated symbols to be *always*
10897 # included in the symbol list
10899 # exclude_expsyms can be an extended regexp of symbols to exclude
10900 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10901 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10902 # as well as any symbol that contains 'd'.
10903 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10904 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10905 # platforms (ab)use it in PIC code, but their linkers get confused if
10906 # the symbol is explicitly referenced. Since portable code cannot
10907 # rely on this symbol name, it's probably fine to never include it in
10908 # preloaded symbol tables.
10909 # Exclude shared library initialization/finalization symbols.
10910 extract_expsyms_cmds
=
10913 cygwin
* | mingw
* | pw32
* | cegcc
*)
10914 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10915 # When not using gcc, we currently assume that we are using
10916 # Microsoft Visual C++.
10917 if test yes != "$GCC"; then
10922 # we just hope/assume this is gcc and not c89 (= MSVC++)
10925 openbsd
* | bitrig
*)
10932 # On some targets, GNU ld is compatible enough with the native linker
10933 # that we're better off using the native interface for both.
10934 lt_use_gnu_ld_interface
=no
10935 if test yes = "$with_gnu_ld"; then
10938 # The AIX port of GNU ld has always aspired to compatibility
10939 # with the native linker. However, as the warning in the GNU ld
10940 # block says, versions before 2.19.5* couldn't really create working
10941 # shared libraries, regardless of the interface used.
10942 case `$LD -v 2>&1` in
10943 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10944 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10945 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10947 lt_use_gnu_ld_interface
=yes
10952 lt_use_gnu_ld_interface
=yes
10957 if test yes = "$lt_use_gnu_ld_interface"; then
10958 # If archive_cmds runs LD, not CC, wlarc should be empty
10961 # Set some defaults for GNU ld with shared library support. These
10962 # are reset later if shared libraries are not supported. Putting them
10963 # here allows them to be overridden if necessary.
10964 runpath_var
=LD_RUN_PATH
10965 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10966 export_dynamic_flag_spec
='$wl--export-dynamic'
10967 # ancient GNU ld didn't support --whole-archive et. al.
10968 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10969 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10971 whole_archive_flag_spec
=
10973 supports_anon_versioning
=no
10974 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10975 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10976 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10977 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10978 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10979 *\
2.11.
*) ;; # other 2.11 versions
10980 *) supports_anon_versioning
=yes ;;
10983 # See if GNU ld supports shared libraries.
10986 # On AIX/PPC, the GNU linker is very broken
10987 if test ia64
!= "$host_cpu"; then
10991 *** Warning: the GNU linker, at least up to release 2.19, is reported
10992 *** to be unable to reliably create shared libraries on AIX.
10993 *** Therefore, libtool is disabling shared libraries support. If you
10994 *** really care for shared libraries, you may want to install binutils
10995 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10996 *** You will then need to restart the configuration process.
11005 # see comment about AmigaOS4 .so support
11006 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11007 archive_expsym_cmds
=''
11010 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)'
11011 hardcode_libdir_flag_spec
='-L$libdir'
11012 hardcode_minus_L
=yes
11018 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11019 allow_undefined_flag
=unsupported
11020 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11021 # support --undefined. This deserves some investigation. FIXME
11022 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11028 cygwin
* | mingw
* | pw32
* | cegcc
*)
11029 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11030 # as there is no search path for DLLs.
11031 hardcode_libdir_flag_spec
='-L$libdir'
11032 export_dynamic_flag_spec
='$wl--export-all-symbols'
11033 allow_undefined_flag
=unsupported
11034 always_export_symbols
=no
11035 enable_shared_with_static_runtimes
=yes
11036 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'
11037 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11039 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11040 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11041 # If the export-symbols file already is a .def file, use it as
11042 # is; otherwise, prepend EXPORTS...
11043 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11044 cp $export_symbols $output_objdir/$soname.def;
11046 echo EXPORTS > $output_objdir/$soname.def;
11047 cat $export_symbols >> $output_objdir/$soname.def;
11049 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11056 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11057 link_all_deplibs
=yes
11061 hardcode_libdir_flag_spec
='-L$libdir'
11062 hardcode_minus_L
=yes
11063 allow_undefined_flag
=unsupported
11065 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11066 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11067 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11068 $ECHO EXPORTS >> $output_objdir/$libname.def~
11069 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11070 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11071 emximp -o $lib $output_objdir/$libname.def'
11072 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11073 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11074 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11075 $ECHO EXPORTS >> $output_objdir/$libname.def~
11076 prefix_cmds="$SED"~
11077 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11078 prefix_cmds="$prefix_cmds -e 1d";
11080 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11081 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11082 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11083 emximp -o $lib $output_objdir/$libname.def'
11084 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11085 enable_shared_with_static_runtimes
=yes
11090 hardcode_shlibpath_var
=no
11091 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11092 export_dynamic_flag_spec
='$wl-E'
11093 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11094 # Instead, shared libraries are loaded at an image base (0x10000000 by
11095 # default) and relocated if they conflict, which is a slow very memory
11096 # consuming and fragmenting process. To avoid this, we pick a random,
11097 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11098 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11099 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11100 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'
11103 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11105 if test linux-dietlibc
= "$host_os"; then
11106 case $cc_basename in
11107 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11110 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11111 && test no
= "$tmp_diet"
11113 tmp_addflag
=' $pic_flag'
11114 tmp_sharedflag
='-shared'
11115 case $cc_basename,$host_cpu in
11116 pgcc
*) # Portland Group C compiler
11117 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'
11118 tmp_addflag
=' $pic_flag'
11120 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11121 # Portland Group f77 and f90 compilers
11122 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'
11123 tmp_addflag
=' $pic_flag -Mnomain' ;;
11124 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11125 tmp_addflag
=' -i_dynamic' ;;
11126 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11127 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11128 ifc
* | ifort
*) # Intel Fortran compiler
11129 tmp_addflag
=' -nofor_main' ;;
11130 lf95
*) # Lahey Fortran 8.1
11131 whole_archive_flag_spec
=
11132 tmp_sharedflag
='--shared' ;;
11133 nagfor
*) # NAGFOR 5.3
11134 tmp_sharedflag
='-Wl,-shared' ;;
11135 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11136 tmp_sharedflag
='-qmkshrobj'
11138 nvcc
*) # Cuda Compiler Driver 2.2
11139 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'
11140 compiler_needs_object
=yes
11143 case `$CC -V 2>&1 | sed 5q` in
11144 *Sun\ C
*) # Sun C 5.9
11145 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'
11146 compiler_needs_object
=yes
11147 tmp_sharedflag
='-G' ;;
11148 *Sun\ F
*) # Sun Fortran 8.3
11149 tmp_sharedflag
='-G' ;;
11151 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11153 if test yes = "$supports_anon_versioning"; then
11154 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11155 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11156 echo "local: *; };" >> $output_objdir/$libname.ver~
11157 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11160 case $cc_basename in
11162 export_dynamic_flag_spec
='-rdynamic'
11164 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11165 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11166 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11167 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11168 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11169 if test yes = "$supports_anon_versioning"; then
11170 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11171 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11172 echo "local: *; };" >> $output_objdir/$libname.ver~
11173 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11183 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11184 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11187 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11188 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11193 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11197 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11198 *** create shared libraries on Solaris systems. Therefore, libtool
11199 *** is disabling shared libraries support. We urge you to upgrade GNU
11200 *** binutils to release 2.9.1 or newer. Another option is to modify
11201 *** your PATH or compiler configuration so that the native linker is
11202 *** used, and then restart.
11205 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11206 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11207 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11213 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11214 case `$LD -v 2>&1` in
11215 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11219 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11220 *** reliably create shared libraries on SCO systems. Therefore, libtool
11221 *** is disabling shared libraries support. We urge you to upgrade GNU
11222 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11223 *** your PATH or compiler configuration so that the native linker is
11224 *** used, and then restart.
11229 # For security reasons, it is highly recommended that you always
11230 # use absolute paths for naming shared libraries, and exclude the
11231 # DT_RUNPATH tag from executables and libraries. But doing so
11232 # requires that you compile everything twice, which is a pain.
11233 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11234 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11235 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11236 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11245 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11247 hardcode_direct
=yes
11248 hardcode_shlibpath_var
=no
11252 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11253 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11254 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11261 if test no
= "$ld_shlibs"; then
11263 hardcode_libdir_flag_spec
=
11264 export_dynamic_flag_spec
=
11265 whole_archive_flag_spec
=
11268 # PORTME fill in a description of your system's linker (not GNU ld)
11271 allow_undefined_flag
=unsupported
11272 always_export_symbols
=yes
11273 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'
11274 # Note: this linker hardcodes the directories in LIBPATH if there
11275 # are no directories specified by -L.
11276 hardcode_minus_L
=yes
11277 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11278 # Neither direct hardcoding nor static linking is supported with a
11280 hardcode_direct
=unsupported
11285 if test ia64
= "$host_cpu"; then
11286 # On IA64, the linker does run time linking by default, so we don't
11287 # have to do anything special.
11288 aix_use_runtimelinking
=no
11289 exp_sym_flag
='-Bexport'
11292 # If we're using GNU nm, then we don't want the "-C" option.
11293 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11294 # Without the "-l" option, or with the "-B" option, AIX nm treats
11295 # weak defined symbols like other global defined symbols, whereas
11296 # GNU nm marks them as "W".
11297 # While the 'weak' keyword is ignored in the Export File, we need
11298 # it in the Import File for the 'aix-soname' feature, so we have
11299 # to replace the "-B" option with "-P" for AIX nm.
11300 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11301 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'
11303 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'
11305 aix_use_runtimelinking
=no
11307 # Test if we are trying to use run time linking or normal
11308 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11309 # have runtime linking enabled, and use it for executables.
11310 # For shared libraries, we enable/disable runtime linking
11311 # depending on the kind of the shared library created -
11312 # when "with_aix_soname,aix_use_runtimelinking" is:
11313 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11314 # "aix,yes" lib.so shared, rtl:yes, for executables
11315 # lib.a static archive
11316 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11317 # lib.a(lib.so.V) shared, rtl:no, for executables
11318 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11319 # lib.a(lib.so.V) shared, rtl:no
11320 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11321 # lib.a static archive
11322 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11323 for ld_flag
in $LDFLAGS; do
11324 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
11325 aix_use_runtimelinking
=yes
11329 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
11330 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11331 # so we don't have lib.a shared libs to link our executables.
11332 # We have to force runtime linking in this case.
11333 aix_use_runtimelinking
=yes
11334 LDFLAGS
="$LDFLAGS -Wl,-brtl"
11339 exp_sym_flag
='-bexport'
11340 no_entry_flag
='-bnoentry'
11343 # When large executables or shared objects are built, AIX ld can
11344 # have problems creating the table of contents. If linking a library
11345 # or program results in "error TOC overflow" add -mminimal-toc to
11346 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11347 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11350 hardcode_direct
=yes
11351 hardcode_direct_absolute
=yes
11352 hardcode_libdir_separator
=':'
11353 link_all_deplibs
=yes
11354 file_list_spec
='$wl-f,'
11355 case $with_aix_soname,$aix_use_runtimelinking in
11356 aix
,*) ;; # traditional, no import file
11357 svr4
,* |
*,yes) # use import file
11358 # The Import File defines what to hardcode.
11360 hardcode_direct_absolute
=no
11364 if test yes = "$GCC"; then
11365 case $host_os in aix4.
[012]|aix4.
[012].
*)
11366 # We only want to do this on AIX 4.2 and lower, the check
11367 # below for broken collect2 doesn't work under 4.3+
11368 collect2name
=`$CC -print-prog-name=collect2`
11369 if test -f "$collect2name" &&
11370 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11372 # We have reworked collect2
11375 # We have old collect2
11376 hardcode_direct
=unsupported
11377 # It fails to find uninstalled libraries when the uninstalled
11378 # path is not listed in the libpath. Setting hardcode_minus_L
11379 # to unsupported forces relinking
11380 hardcode_minus_L
=yes
11381 hardcode_libdir_flag_spec
='-L$libdir'
11382 hardcode_libdir_separator
=
11386 shared_flag
='-shared'
11387 if test yes = "$aix_use_runtimelinking"; then
11388 shared_flag
="$shared_flag "'$wl-G'
11390 # Need to ensure runtime linking is disabled for the traditional
11391 # shared library, or the linker may eventually find shared libraries
11392 # /with/ Import File - we do not want to mix them.
11393 shared_flag_aix
='-shared'
11394 shared_flag_svr4
='-shared $wl-G'
11397 if test ia64
= "$host_cpu"; then
11398 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11399 # chokes on -Wl,-G. The following line is correct:
11402 if test yes = "$aix_use_runtimelinking"; then
11403 shared_flag
='$wl-G'
11405 shared_flag
='$wl-bM:SRE'
11407 shared_flag_aix
='$wl-bM:SRE'
11408 shared_flag_svr4
='$wl-G'
11412 export_dynamic_flag_spec
='$wl-bexpall'
11413 # It seems that -bexpall does not export symbols beginning with
11414 # underscore (_), so it is better to generate a list of symbols to export.
11415 always_export_symbols
=yes
11416 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11417 # Warning - without using the other runtime loading flags (-brtl),
11418 # -berok will link without error, but may produce a broken library.
11419 allow_undefined_flag
='-berok'
11420 # Determine the default libpath from the value encoded in an
11421 # empty executable.
11422 if test set = "${lt_cv_aix_libpath+set}"; then
11423 aix_libpath
=$lt_cv_aix_libpath
11425 if ${lt_cv_aix_libpath_+:} false
; then :
11426 $as_echo_n "(cached) " >&6
11428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11429 /* end confdefs.h. */
11439 if ac_fn_c_try_link
"$LINENO"; then :
11441 lt_aix_libpath_sed
='
11442 /Import File Strings/,/^$/ {
11444 s/^0 *\([^ ]*\) *$/\1/
11448 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11449 # Check for a 64-bit object if we didn't find anything.
11450 if test -z "$lt_cv_aix_libpath_"; then
11451 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11454 rm -f core conftest.err conftest.
$ac_objext \
11455 conftest
$ac_exeext conftest.
$ac_ext
11456 if test -z "$lt_cv_aix_libpath_"; then
11457 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11462 aix_libpath
=$lt_cv_aix_libpath_
11465 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11466 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
11468 if test ia64
= "$host_cpu"; then
11469 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
11470 allow_undefined_flag
="-z nodefs"
11471 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"
11473 # Determine the default libpath from the value encoded in an
11474 # empty executable.
11475 if test set = "${lt_cv_aix_libpath+set}"; then
11476 aix_libpath
=$lt_cv_aix_libpath
11478 if ${lt_cv_aix_libpath_+:} false
; then :
11479 $as_echo_n "(cached) " >&6
11481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11492 if ac_fn_c_try_link
"$LINENO"; then :
11494 lt_aix_libpath_sed
='
11495 /Import File Strings/,/^$/ {
11497 s/^0 *\([^ ]*\) *$/\1/
11501 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11502 # Check for a 64-bit object if we didn't find anything.
11503 if test -z "$lt_cv_aix_libpath_"; then
11504 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11507 rm -f core conftest.err conftest.
$ac_objext \
11508 conftest
$ac_exeext conftest.
$ac_ext
11509 if test -z "$lt_cv_aix_libpath_"; then
11510 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11515 aix_libpath
=$lt_cv_aix_libpath_
11518 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11519 # Warning - without using the other run time loading flags,
11520 # -berok will link without error, but may produce a broken library.
11521 no_undefined_flag
=' $wl-bernotok'
11522 allow_undefined_flag
=' $wl-berok'
11523 if test yes = "$with_gnu_ld"; then
11524 # We only use this code for GNU lds that support --whole-archive.
11525 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11527 # Exported symbols can be pulled into shared objects from archives
11528 whole_archive_flag_spec
='$convenience'
11530 archive_cmds_need_lc
=yes
11531 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11532 # -brtl affects multiple linker settings, -berok does not and is overridden later
11533 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11534 if test svr4
!= "$with_aix_soname"; then
11535 # This is similar to how AIX traditionally builds its shared libraries.
11536 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'
11538 if test aix
!= "$with_aix_soname"; then
11539 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'
11541 # used by -dlpreopen to get the symbols
11542 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11544 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11552 # see comment about AmigaOS4 .so support
11553 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11554 archive_expsym_cmds
=''
11557 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)'
11558 hardcode_libdir_flag_spec
='-L$libdir'
11559 hardcode_minus_L
=yes
11565 export_dynamic_flag_spec
=-rdynamic
11568 cygwin
* | mingw
* | pw32
* | cegcc
*)
11569 # When not using gcc, we currently assume that we are using
11570 # Microsoft Visual C++.
11571 # hardcode_libdir_flag_spec is actually meaningless, as there is
11572 # no search path for DLLs.
11573 case $cc_basename in
11576 hardcode_libdir_flag_spec
=' '
11577 allow_undefined_flag
=unsupported
11578 always_export_symbols
=yes
11580 # Tell ltmain to make .lib files, not .a files.
11582 # Tell ltmain to make .dll files, not .so files.
11584 # FIXME: Setting linknames here is a bad hack.
11585 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11586 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11587 cp "$export_symbols" "$output_objdir/$soname.def";
11588 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11590 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11592 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11594 # The linker will not automatically build a static lib if we build a DLL.
11595 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11596 enable_shared_with_static_runtimes
=yes
11597 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11598 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11600 old_postinstall_cmds
='chmod 644 $oldlib'
11601 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11602 lt_tool_outputfile="@TOOL_OUTPUT@"~
11603 case $lt_outputfile in
11606 lt_outputfile=$lt_outputfile.exe
11607 lt_tool_outputfile=$lt_tool_outputfile.exe
11610 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11611 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11612 $RM "$lt_outputfile.manifest";
11616 # Assume MSVC wrapper
11617 hardcode_libdir_flag_spec
=' '
11618 allow_undefined_flag
=unsupported
11619 # Tell ltmain to make .lib files, not .a files.
11621 # Tell ltmain to make .dll files, not .so files.
11623 # FIXME: Setting linknames here is a bad hack.
11624 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11625 # The linker will automatically build a .lib file if we build a DLL.
11626 old_archive_from_new_cmds
='true'
11627 # FIXME: Should let the user specify the lib program.
11628 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11629 enable_shared_with_static_runtimes
=yes
11634 darwin
* | rhapsody
*)
11637 archive_cmds_need_lc
=no
11639 hardcode_automatic
=yes
11640 hardcode_shlibpath_var
=unsupported
11641 if test yes = "$lt_cv_ld_force_load"; then
11642 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\"`'
11645 whole_archive_flag_spec
=''
11647 link_all_deplibs
=yes
11648 allow_undefined_flag
=$_lt_dar_allow_undefined
11649 case $cc_basename in
11650 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11651 *) _lt_dar_can_shared
=$GCC ;;
11653 if test yes = "$_lt_dar_can_shared"; then
11654 output_verbose_link_cmd
=func_echo_all
11655 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11656 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11657 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"
11658 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"
11667 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11668 hardcode_libdir_flag_spec
='-L$libdir'
11669 hardcode_shlibpath_var
=no
11672 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11673 # support. Future versions do this automatically, but an explicit c++rt0.o
11674 # does not break anything, and helps significantly (at the cost of a little
11677 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11678 hardcode_libdir_flag_spec
='-R$libdir'
11679 hardcode_direct
=yes
11680 hardcode_shlibpath_var
=no
11683 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11685 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11686 hardcode_direct
=yes
11687 hardcode_minus_L
=yes
11688 hardcode_shlibpath_var
=no
11691 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11692 freebsd
* | dragonfly
*)
11693 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11694 hardcode_libdir_flag_spec
='-R$libdir'
11695 hardcode_direct
=yes
11696 hardcode_shlibpath_var
=no
11700 if test yes = "$GCC"; then
11701 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'
11703 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'
11705 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11706 hardcode_libdir_separator
=:
11707 hardcode_direct
=yes
11709 # hardcode_minus_L: Not really in the search PATH,
11710 # but as the default location of the library.
11711 hardcode_minus_L
=yes
11712 export_dynamic_flag_spec
='$wl-E'
11716 if test yes,no
= "$GCC,$with_gnu_ld"; then
11717 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11719 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11721 if test no
= "$with_gnu_ld"; then
11722 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11723 hardcode_libdir_separator
=:
11724 hardcode_direct
=yes
11725 hardcode_direct_absolute
=yes
11726 export_dynamic_flag_spec
='$wl-E'
11727 # hardcode_minus_L: Not really in the search PATH,
11728 # but as the default location of the library.
11729 hardcode_minus_L
=yes
11734 if test yes,no
= "$GCC,$with_gnu_ld"; then
11737 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11740 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11743 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11749 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11752 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11756 # Older versions of the 11.00 compiler do not understand -b yet
11757 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11759 $as_echo_n "checking if $CC understands -b... " >&6; }
11760 if ${lt_cv_prog_compiler__b+:} false
; then :
11761 $as_echo_n "(cached) " >&6
11763 lt_cv_prog_compiler__b
=no
11764 save_LDFLAGS
=$LDFLAGS
11765 LDFLAGS
="$LDFLAGS -b"
11766 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11767 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11768 # The linker can only warn and ignore the option if not recognized
11769 # So say no if there are warnings
11770 if test -s conftest.err
; then
11771 # Append any errors to the config.log.
11772 cat conftest.err
1>&5
11773 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11774 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11775 if diff conftest.exp conftest.er2
>/dev
/null
; then
11776 lt_cv_prog_compiler__b
=yes
11779 lt_cv_prog_compiler__b
=yes
11783 LDFLAGS
=$save_LDFLAGS
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11787 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11789 if test yes = "$lt_cv_prog_compiler__b"; then
11790 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11792 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11798 if test no
= "$with_gnu_ld"; then
11799 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11800 hardcode_libdir_separator
=:
11805 hardcode_shlibpath_var
=no
11808 hardcode_direct
=yes
11809 hardcode_direct_absolute
=yes
11810 export_dynamic_flag_spec
='$wl-E'
11812 # hardcode_minus_L: Not really in the search PATH,
11813 # but as the default location of the library.
11814 hardcode_minus_L
=yes
11820 irix5
* | irix6
* | nonstopux
*)
11821 if test yes = "$GCC"; then
11822 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'
11823 # Try to use the -exported_symbol ld option, if it does not
11824 # work, assume that -exports_file does not work either and
11825 # implicitly export all symbols.
11826 # This should be the same for all languages, so no per-tag cache variable.
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11828 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11829 if ${lt_cv_irix_exported_symbol+:} false
; then :
11830 $as_echo_n "(cached) " >&6
11832 save_LDFLAGS
=$LDFLAGS
11833 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h. */
11836 int foo (void) { return 0; }
11838 if ac_fn_c_try_link
"$LINENO"; then :
11839 lt_cv_irix_exported_symbol
=yes
11841 lt_cv_irix_exported_symbol
=no
11843 rm -f core conftest.err conftest.
$ac_objext \
11844 conftest
$ac_exeext conftest.
$ac_ext
11845 LDFLAGS
=$save_LDFLAGS
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11848 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11849 if test yes = "$lt_cv_irix_exported_symbol"; then
11850 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'
11853 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'
11854 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'
11856 archive_cmds_need_lc
='no'
11857 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11858 hardcode_libdir_separator
=:
11860 link_all_deplibs
=yes
11864 case $cc_basename in
11866 # Fabrice Bellard et al's Tiny C Compiler
11868 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11874 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11875 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11877 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11879 hardcode_libdir_flag_spec
='-R$libdir'
11880 hardcode_direct
=yes
11881 hardcode_shlibpath_var
=no
11885 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11886 hardcode_direct
=yes
11887 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11888 hardcode_libdir_separator
=:
11889 hardcode_shlibpath_var
=no
11895 openbsd
* | bitrig
*)
11896 if test -f /usr
/libexec
/ld.so
; then
11897 hardcode_direct
=yes
11898 hardcode_shlibpath_var
=no
11899 hardcode_direct_absolute
=yes
11900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11901 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11902 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11903 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11904 export_dynamic_flag_spec
='$wl-E'
11906 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11907 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11915 hardcode_libdir_flag_spec
='-L$libdir'
11916 hardcode_minus_L
=yes
11917 allow_undefined_flag
=unsupported
11919 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11920 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11921 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11922 $ECHO EXPORTS >> $output_objdir/$libname.def~
11923 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11924 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11925 emximp -o $lib $output_objdir/$libname.def'
11926 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11927 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11928 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11929 $ECHO EXPORTS >> $output_objdir/$libname.def~
11930 prefix_cmds="$SED"~
11931 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11932 prefix_cmds="$prefix_cmds -e 1d";
11934 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11935 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11936 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11937 emximp -o $lib $output_objdir/$libname.def'
11938 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11939 enable_shared_with_static_runtimes
=yes
11943 if test yes = "$GCC"; then
11944 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11945 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'
11947 allow_undefined_flag
=' -expect_unresolved \*'
11948 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'
11950 archive_cmds_need_lc
='no'
11951 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11952 hardcode_libdir_separator
=:
11955 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11956 if test yes = "$GCC"; then
11957 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11958 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'
11959 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11961 allow_undefined_flag
=' -expect_unresolved \*'
11962 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'
11963 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~
11964 $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'
11966 # Both c and cxx compiler support -rpath directly
11967 hardcode_libdir_flag_spec
='-rpath $libdir'
11969 archive_cmds_need_lc
='no'
11970 hardcode_libdir_separator
=:
11974 no_undefined_flag
=' -z defs'
11975 if test yes = "$GCC"; then
11977 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11978 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11979 $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'
11981 case `$CC -V 2>&1` in
11984 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11985 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11986 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11990 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11991 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11992 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11996 hardcode_libdir_flag_spec
='-R$libdir'
11997 hardcode_shlibpath_var
=no
11999 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12001 # The compiler driver will combine and reorder linker options,
12002 # but understands '-z linker_flag'. GCC discards it without '$wl',
12003 # but is careful enough not to reorder.
12004 # Supported since Solaris 2.6 (maybe 2.5.1?)
12005 if test yes = "$GCC"; then
12006 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12008 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12012 link_all_deplibs
=yes
12016 if test sequent
= "$host_vendor"; then
12017 # Use $CC to link under sequent, because it throws in some extra .o
12018 # files that make .init and .fini sections work.
12019 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12021 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12023 hardcode_libdir_flag_spec
='-L$libdir'
12024 hardcode_direct
=yes
12025 hardcode_minus_L
=yes
12026 hardcode_shlibpath_var
=no
12030 case $host_vendor in
12032 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12033 hardcode_direct
=yes # is this really true???
12036 ## LD is ld it makes a PLAMLIB
12037 ## CC just makes a GrossModule.
12038 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12039 reload_cmds
='$CC -r -o $output$reload_objs'
12043 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12044 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12047 runpath_var
='LD_RUN_PATH'
12048 hardcode_shlibpath_var
=no
12052 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12053 hardcode_shlibpath_var
=no
12054 export_dynamic_flag_spec
='-Bexport'
12058 if test -d /usr
/nec
; then
12059 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12060 hardcode_shlibpath_var
=no
12061 runpath_var
=LD_RUN_PATH
12062 hardcode_runpath_var
=yes
12067 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12068 no_undefined_flag
='$wl-z,text'
12069 archive_cmds_need_lc
=no
12070 hardcode_shlibpath_var
=no
12071 runpath_var
='LD_RUN_PATH'
12073 if test yes = "$GCC"; then
12074 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12075 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12077 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12078 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12082 sysv5
* | sco3.2v5
* | sco5v6
*)
12083 # Note: We CANNOT use -z defs as we might desire, because we do not
12084 # link with -lc, and that would cause any symbols used from libc to
12085 # always be unresolved, which means just about no library would
12086 # ever link correctly. If we're not using GNU ld we use -z text
12087 # though, which does catch some bad symbols but isn't as heavy-handed
12089 no_undefined_flag
='$wl-z,text'
12090 allow_undefined_flag
='$wl-z,nodefs'
12091 archive_cmds_need_lc
=no
12092 hardcode_shlibpath_var
=no
12093 hardcode_libdir_flag_spec
='$wl-R,$libdir'
12094 hardcode_libdir_separator
=':'
12095 link_all_deplibs
=yes
12096 export_dynamic_flag_spec
='$wl-Bexport'
12097 runpath_var
='LD_RUN_PATH'
12099 if test yes = "$GCC"; then
12100 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12101 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12103 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12104 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12109 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12110 hardcode_libdir_flag_spec
='-L$libdir'
12111 hardcode_shlibpath_var
=no
12119 if test sni
= "$host_vendor"; then
12121 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12122 export_dynamic_flag_spec
='$wl-Blargedynsym'
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12129 $as_echo "$ld_shlibs" >&6; }
12130 test no
= "$ld_shlibs" && can_build_shared
=no
12132 with_gnu_ld
=$with_gnu_ld
12149 # Do we need to explicitly link libc?
12151 case "x$archive_cmds_need_lc" in
12153 # Assume -lc should be added
12154 archive_cmds_need_lc
=yes
12156 if test yes,yes = "$GCC,$enable_shared"; then
12157 case $archive_cmds in
12159 # FIXME: we may have to deal with multi-command sequences.
12162 # Test whether the compiler implicitly links with -lc since on some
12163 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12164 # to ld, don't add -lc before -lgcc.
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12166 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12167 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
12168 $as_echo_n "(cached) " >&6
12171 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12174 (eval $ac_compile) 2>&5
12176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12177 test $ac_status = 0; } 2>conftest.err
; then
12180 libobjs
=conftest.
$ac_objext
12182 wl
=$lt_prog_compiler_wl
12183 pic_flag
=$lt_prog_compiler_pic
12189 lt_save_allow_undefined_flag
=$allow_undefined_flag
12190 allow_undefined_flag
=
12191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12192 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12195 test $ac_status = 0; }
12197 lt_cv_archive_cmds_need_lc
=no
12199 lt_cv_archive_cmds_need_lc
=yes
12201 allow_undefined_flag
=$lt_save_allow_undefined_flag
12203 cat conftest.err
1>&5
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12209 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12210 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12369 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12371 if test yes = "$GCC"; then
12373 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
12374 *) lt_awk_arg
='/^libraries:/' ;;
12377 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
12378 *) lt_sed_strip_eq
='s|=/|/|g' ;;
12380 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12381 case $lt_search_path_spec in
12383 # if the path contains ";" then we assume it to be the separator
12384 # otherwise default to the standard path separator (i.e. ":") - it is
12385 # assumed that no part of a normal pathname contains ";" but that should
12386 # okay in the real world where ";" in dirpaths is itself problematic.
12387 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12390 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12393 # Ok, now we have the path, separated by spaces, we can step through it
12394 # and add multilib dir if necessary...
12395 lt_tmp_lt_search_path_spec
=
12396 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12397 # ...but if some path component already ends with the multilib dir we assume
12398 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12399 case "$lt_multi_os_dir; $lt_search_path_spec " in
12400 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
12404 for lt_sys_path
in $lt_search_path_spec; do
12405 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12406 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12407 elif test -n "$lt_multi_os_dir"; then
12408 test -d "$lt_sys_path" && \
12409 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12412 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12413 BEGIN {RS = " "; FS = "/|\n";} {
12416 for (lt_i = NF; lt_i > 0; lt_i--) {
12417 if ($lt_i != "" && $lt_i != ".") {
12418 if ($lt_i == "..") {
12421 if (lt_count == 0) {
12422 lt_foo = "/" $lt_i lt_foo;
12429 if (lt_foo != "") { lt_freq[lt_foo]++; }
12430 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12432 # AWK program above erroneously prepends '/' to C:/dos/paths
12435 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12436 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12438 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12440 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12442 library_names_spec
=
12443 libname_spec
='lib$name'
12447 postuninstall_cmds
=
12451 shlibpath_overrides_runpath
=unknown
12453 dynamic_linker
="$host_os ld.so"
12454 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12455 need_lib_prefix
=unknown
12456 hardcode_into_libs
=no
12458 # when you set need_version to no, make sure it does not cause -set_version
12459 # flags to be left without arguments
12460 need_version
=unknown
12466 version_type
=linux
# correct to gnu/linux during the next big refactor
12467 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
12468 shlibpath_var
=LIBPATH
12470 # AIX 3 has no versioning support, so we append a major version to the name.
12471 soname_spec
='$libname$release$shared_ext$major'
12475 version_type
=linux
# correct to gnu/linux during the next big refactor
12478 hardcode_into_libs
=yes
12479 if test ia64
= "$host_cpu"; then
12480 # AIX 5 supports IA64
12481 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12482 shlibpath_var
=LD_LIBRARY_PATH
12484 # With GCC up to 2.95.x, collect2 would create an import file
12485 # for dependence libraries. The import file would start with
12486 # the line '#! .'. This would cause the generated library to
12487 # depend on '.', always an invalid library. This was fixed in
12488 # development snapshots of GCC prior to 3.0.
12490 aix4 | aix4.
[01] | aix4.
[01].
*)
12491 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12493 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
12496 can_build_shared
=no
12500 # Using Import Files as archive members, it is possible to support
12501 # filename-based versioning of shared library archives on AIX. While
12502 # this would work for both with and without runtime linking, it will
12503 # prevent static linking of such archives. So we do filename-based
12504 # shared library versioning with .so extension only, which is used
12505 # when both runtime linking and shared linking is enabled.
12506 # Unfortunately, runtime linking may impact performance, so we do
12507 # not want this to be the default eventually. Also, we use the
12508 # versioned .so libs for executables only if there is the -brtl
12509 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12510 # To allow for filename-based versioning support, we need to create
12511 # libNAME.so.V as an archive file, containing:
12512 # *) an Import File, referring to the versioned filename of the
12513 # archive as well as the shared archive member, telling the
12514 # bitwidth (32 or 64) of that shared object, and providing the
12515 # list of exported symbols of that shared object, eventually
12516 # decorated with the 'weak' keyword
12517 # *) the shared object with the F_LOADONLY flag set, to really avoid
12518 # it being seen by the linker.
12519 # At run time we better use the real file rather than another symlink,
12520 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12522 case $with_aix_soname,$aix_use_runtimelinking in
12523 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12524 # soname into executable. Probably we can add versioning support to
12525 # collect2, so additional links can be useful in future.
12526 aix
,yes) # traditional libtool
12527 dynamic_linker
='AIX unversionable lib.so'
12528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12529 # instead of lib<name>.a to let people know that these are not
12530 # typical AIX shared libraries.
12531 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12533 aix
,no
) # traditional AIX only
12534 dynamic_linker
='AIX lib.a(lib.so.V)'
12535 # We preserve .a as extension for shared libraries through AIX4.2
12536 # and later when we are not doing run time linking.
12537 library_names_spec
='$libname$release.a $libname.a'
12538 soname_spec
='$libname$release$shared_ext$major'
12540 svr4
,*) # full svr4 only
12541 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12542 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12543 # We do not specify a path in Import Files, so LIBPATH fires.
12544 shlibpath_overrides_runpath
=yes
12546 *,yes) # both, prefer svr4
12547 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12548 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12549 # unpreferred sharedlib libNAME.a needs extra handling
12550 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"'
12551 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"'
12552 # We do not specify a path in Import Files, so LIBPATH fires.
12553 shlibpath_overrides_runpath
=yes
12555 *,no
) # both, prefer aix
12556 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12557 library_names_spec
='$libname$release.a $libname.a'
12558 soname_spec
='$libname$release$shared_ext$major'
12559 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12560 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)'
12561 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"'
12564 shlibpath_var
=LIBPATH
12571 # Since July 2007 AmigaOS4 officially supports .so libraries.
12572 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12573 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12576 library_names_spec
='$libname.ixlibrary $libname.a'
12577 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12578 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'
12584 library_names_spec
='$libname$shared_ext'
12585 dynamic_linker
="$host_os ld.so"
12586 shlibpath_var
=LIBRARY_PATH
12590 version_type
=linux
# correct to gnu/linux during the next big refactor
12592 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12593 soname_spec
='$libname$release$shared_ext$major'
12594 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12595 shlibpath_var
=LD_LIBRARY_PATH
12596 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12597 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12598 # the default ld.so.conf also contains /usr/contrib/lib and
12599 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12600 # libtool to hard-code these into programs
12603 cygwin
* | mingw
* | pw32
* | cegcc
*)
12604 version_type
=windows
12609 case $GCC,$cc_basename in
12612 library_names_spec
='$libname.dll.a'
12613 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12614 postinstall_cmds
='base_file=`basename \$file`~
12615 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12616 dldir=$destdir/`dirname \$dlpath`~
12617 test -d \$dldir || mkdir -p \$dldir~
12618 $install_prog $dir/$dlname \$dldir/$dlname~
12619 chmod a+x \$dldir/$dlname~
12620 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12621 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12623 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12624 dlpath=$dir/\$dldll~
12626 shlibpath_overrides_runpath
=yes
12630 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12631 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12633 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12636 # MinGW DLLs use traditional 'lib' prefix
12637 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12640 # pw32 DLLs use 'pw' prefix rather than 'lib'
12641 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12644 dynamic_linker
='Win32 ld.exe'
12649 libname_spec
='$name'
12650 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12651 library_names_spec
='$libname.dll.lib'
12655 sys_lib_search_path_spec
=
12658 for lt_path
in $LIB
12661 # Let DOS variable expansion print the short 8.3 style file name.
12662 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12663 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12666 # Convert to MSYS style.
12667 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12670 # Convert to unix form, then to dos form, then back to unix form
12671 # but this time dos style (no spaces!) so that the unix form looks
12672 # like /cygdrive/c/PROGRA~1:/cygdr...
12673 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12674 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12675 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12678 sys_lib_search_path_spec
=$LIB
12679 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12680 # It is most probably a Windows format PATH.
12681 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12683 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12685 # FIXME: find the short name or the path components, as spaces are
12686 # common. (e.g. "Program Files" -> "PROGRA~1")
12690 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12691 postinstall_cmds
='base_file=`basename \$file`~
12692 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12693 dldir=$destdir/`dirname \$dlpath`~
12694 test -d \$dldir || mkdir -p \$dldir~
12695 $install_prog $dir/$dlname \$dldir/$dlname'
12696 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12697 dlpath=$dir/\$dldll~
12699 shlibpath_overrides_runpath
=yes
12700 dynamic_linker
='Win32 link.exe'
12704 # Assume MSVC wrapper
12705 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12706 dynamic_linker
='Win32 ld.exe'
12709 # FIXME: first we should search . and the directory the executable is in
12713 darwin
* | rhapsody
*)
12714 dynamic_linker
="$host_os dyld"
12715 version_type
=darwin
12718 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12719 soname_spec
='$libname$release$major$shared_ext'
12720 shlibpath_overrides_runpath
=yes
12721 shlibpath_var
=DYLD_LIBRARY_PATH
12722 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12724 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12725 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12729 version_type
=linux
# correct to gnu/linux during the next big refactor
12732 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12733 soname_spec
='$libname$release$shared_ext$major'
12734 shlibpath_var
=LD_LIBRARY_PATH
12737 freebsd
* | dragonfly
*)
12738 # DragonFly does not have aout. When/if they implement a new
12739 # versioning mechanism, adjust this.
12740 if test -x /usr
/bin
/objformat
; then
12741 objformat
=`/usr/bin/objformat`
12744 freebsd
[23].
*) objformat
=aout
;;
12745 *) objformat
=elf
;;
12748 version_type
=freebsd-
$objformat
12749 case $version_type in
12751 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12752 soname_spec
='$libname$release$shared_ext$major'
12757 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12761 shlibpath_var
=LD_LIBRARY_PATH
12764 shlibpath_overrides_runpath
=yes
12766 freebsd3.
[01]* | freebsdelf3.
[01]*)
12767 shlibpath_overrides_runpath
=yes
12768 hardcode_into_libs
=yes
12770 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12771 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12772 shlibpath_overrides_runpath
=no
12773 hardcode_into_libs
=yes
12775 *) # from 4.6 on, and DragonFly
12776 shlibpath_overrides_runpath
=yes
12777 hardcode_into_libs
=yes
12783 version_type
=linux
# correct to gnu/linux during the next big refactor
12786 dynamic_linker
="$host_os runtime_loader"
12787 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12788 soname_spec
='$libname$release$shared_ext$major'
12789 shlibpath_var
=LIBRARY_PATH
12790 shlibpath_overrides_runpath
=no
12791 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12792 hardcode_into_libs
=yes
12795 hpux9
* | hpux10
* | hpux11
*)
12796 # Give a soname corresponding to the major version so that dld.sl refuses to
12797 # link against other versions.
12804 hardcode_into_libs
=yes
12805 dynamic_linker
="$host_os dld.so"
12806 shlibpath_var
=LD_LIBRARY_PATH
12807 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12808 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12809 soname_spec
='$libname$release$shared_ext$major'
12810 if test 32 = "$HPUX_IA64_MODE"; then
12811 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12812 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12814 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12815 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12820 hardcode_into_libs
=yes
12821 dynamic_linker
="$host_os dld.sl"
12822 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12823 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12824 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12825 soname_spec
='$libname$release$shared_ext$major'
12826 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12827 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12831 dynamic_linker
="$host_os dld.sl"
12832 shlibpath_var
=SHLIB_PATH
12833 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12834 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12835 soname_spec
='$libname$release$shared_ext$major'
12838 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12839 postinstall_cmds
='chmod 555 $lib'
12840 # or fails outright, so override atomically:
12841 install_override_mode
=555
12845 version_type
=linux
# correct to gnu/linux during the next big refactor
12848 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12849 soname_spec
='$libname$release$shared_ext$major'
12850 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12851 shlibpath_var
=LD_LIBRARY_PATH
12852 shlibpath_overrides_runpath
=no
12853 hardcode_into_libs
=yes
12856 irix5
* | irix6
* | nonstopux
*)
12858 nonstopux
*) version_type
=nonstopux
;;
12860 if test yes = "$lt_cv_prog_gnu_ld"; then
12861 version_type
=linux
# correct to gnu/linux during the next big refactor
12868 soname_spec
='$libname$release$shared_ext$major'
12869 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12871 irix5
* | nonstopux
*)
12872 libsuff
= shlibsuff
=
12875 case $LD in # libtool.m4 will add one of these switches to LD
12876 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12877 libsuff
= shlibsuff
= libmagic
=32-bit;;
12878 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12879 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12880 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12881 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12882 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12886 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12887 shlibpath_overrides_runpath
=no
12888 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12889 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12890 hardcode_into_libs
=yes
12893 # No shared lib support for Linux oldld, aout, or coff.
12894 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12899 version_type
=none
# Android doesn't support versioned libraries.
12902 library_names_spec
='$libname$release$shared_ext'
12903 soname_spec
='$libname$release$shared_ext'
12905 shlibpath_var
=LD_LIBRARY_PATH
12906 shlibpath_overrides_runpath
=yes
12908 # This implies no fast_install, which is unacceptable.
12909 # Some rework will be needed to allow for fast_install
12910 # before this can be enabled.
12911 hardcode_into_libs
=yes
12913 dynamic_linker
='Android linker'
12914 # Don't embed -rpath directories since the linker doesn't support them.
12915 hardcode_libdir_flag_spec
='-L$libdir'
12918 # This must be glibc/ELF.
12919 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12920 version_type
=linux
# correct to gnu/linux during the next big refactor
12923 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12924 soname_spec
='$libname$release$shared_ext$major'
12925 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12926 shlibpath_var
=LD_LIBRARY_PATH
12927 shlibpath_overrides_runpath
=no
12929 # Some binutils ld are patched to set DT_RUNPATH
12930 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12931 $as_echo_n "(cached) " >&6
12933 lt_cv_shlibpath_overrides_runpath
=no
12934 save_LDFLAGS
=$LDFLAGS
12935 save_libdir
=$libdir
12936 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12937 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12949 if ac_fn_c_try_link
"$LINENO"; then :
12950 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12951 lt_cv_shlibpath_overrides_runpath
=yes
12954 rm -f core conftest.err conftest.
$ac_objext \
12955 conftest
$ac_exeext conftest.
$ac_ext
12956 LDFLAGS
=$save_LDFLAGS
12957 libdir
=$save_libdir
12961 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12963 # This implies no fast_install, which is unacceptable.
12964 # Some rework will be needed to allow for fast_install
12965 # before this can be enabled.
12966 hardcode_into_libs
=yes
12968 # Ideally, we could use ldconfig to report *all* directores which are
12969 # searched for libraries, however this is still not possible. Aside from not
12970 # being certain /sbin/ldconfig is available, command
12971 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12972 # even though it is searched at run-time. Try to do the best guess by
12973 # appending ld.so.conf contents (and includes) to the search path.
12974 if test -f /etc
/ld.so.conf
; then
12975 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' ' '`
12976 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12979 # We used to test for /lib/ld.so.1 and disable shared libraries on
12980 # powerpc, because MkLinux only supported shared libraries with the
12981 # GNU dynamic linker. Since this was broken with cross compilers,
12982 # most powerpc-linux boxes support dynamic linking these days and
12983 # people can always --disable-shared, the test was removed, and we
12984 # assume the GNU/Linux dynamic linker is in use.
12985 dynamic_linker
='GNU/Linux ld.so'
12992 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12993 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12994 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12995 dynamic_linker
='NetBSD (a.out) ld.so'
12997 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12998 soname_spec
='$libname$release$shared_ext$major'
12999 dynamic_linker
='NetBSD ld.elf_so'
13001 shlibpath_var
=LD_LIBRARY_PATH
13002 shlibpath_overrides_runpath
=yes
13003 hardcode_into_libs
=yes
13007 version_type
=linux
# correct to gnu/linux during the next big refactor
13008 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13009 shlibpath_var
=LD_LIBRARY_PATH
13010 shlibpath_overrides_runpath
=yes
13017 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13018 soname_spec
='$libname$release$shared_ext$major'
13019 shlibpath_var
=LD_LIBRARY_PATH
13020 shlibpath_overrides_runpath
=no
13021 hardcode_into_libs
=yes
13022 dynamic_linker
='ldqnx.so'
13025 openbsd
* | bitrig
*)
13027 sys_lib_dlsearch_path_spec
=/usr
/lib
13029 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13034 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13035 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13036 shlibpath_var
=LD_LIBRARY_PATH
13037 shlibpath_overrides_runpath
=yes
13041 libname_spec
='$name'
13042 version_type
=windows
13046 # OS/2 can only load a DLL with a base name of 8 characters or less.
13047 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
13048 v=$($ECHO $release$versuffix | tr -d .-);
13049 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13050 $ECHO $n$v`$shared_ext'
13051 library_names_spec
='${libname}_dll.$libext'
13052 dynamic_linker
='OS/2 ld.exe'
13053 shlibpath_var
=BEGINLIBPATH
13054 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13055 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13056 postinstall_cmds
='base_file=`basename \$file`~
13057 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13058 dldir=$destdir/`dirname \$dlpath`~
13059 test -d \$dldir || mkdir -p \$dldir~
13060 $install_prog $dir/$dlname \$dldir/$dlname~
13061 chmod a+x \$dldir/$dlname~
13062 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13063 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13065 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13066 dlpath=$dir/\$dldll~
13070 osf3
* | osf4
* | osf5
*)
13074 soname_spec
='$libname$release$shared_ext$major'
13075 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13076 shlibpath_var
=LD_LIBRARY_PATH
13077 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13078 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13086 version_type
=linux
# correct to gnu/linux during the next big refactor
13089 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13090 soname_spec
='$libname$release$shared_ext$major'
13091 shlibpath_var
=LD_LIBRARY_PATH
13092 shlibpath_overrides_runpath
=yes
13093 hardcode_into_libs
=yes
13094 # ldd complains unless libraries are executable
13095 postinstall_cmds
='chmod +x $lib'
13100 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13101 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13102 shlibpath_var
=LD_LIBRARY_PATH
13103 shlibpath_overrides_runpath
=yes
13104 if test yes = "$with_gnu_ld"; then
13111 version_type
=linux
# correct to gnu/linux during the next big refactor
13112 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13113 soname_spec
='$libname$release$shared_ext$major'
13114 shlibpath_var
=LD_LIBRARY_PATH
13115 case $host_vendor in
13117 shlibpath_overrides_runpath
=no
13119 runpath_var
=LD_RUN_PATH
13127 shlibpath_overrides_runpath
=no
13128 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13134 if test -d /usr
/nec
; then
13135 version_type
=linux
# correct to gnu/linux during the next big refactor
13136 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13137 soname_spec
='$libname$shared_ext.$major'
13138 shlibpath_var
=LD_LIBRARY_PATH
13142 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13146 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13147 soname_spec
='$libname$release$shared_ext$major'
13148 shlibpath_var
=LD_LIBRARY_PATH
13149 shlibpath_overrides_runpath
=yes
13150 hardcode_into_libs
=yes
13151 if test yes = "$with_gnu_ld"; then
13152 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13154 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13157 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13161 sys_lib_dlsearch_path_spec
='/usr/lib'
13165 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13166 version_type
=linux
# correct to gnu/linux during the next big refactor
13169 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13170 shlibpath_var
=LD_LIBRARY_PATH
13171 shlibpath_overrides_runpath
=no
13172 hardcode_into_libs
=yes
13176 version_type
=linux
# correct to gnu/linux during the next big refactor
13177 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13178 soname_spec
='$libname$release$shared_ext$major'
13179 shlibpath_var
=LD_LIBRARY_PATH
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13187 $as_echo "$dynamic_linker" >&6; }
13188 test no
= "$dynamic_linker" && can_build_shared
=no
13190 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13191 if test yes = "$GCC"; then
13192 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13195 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13196 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
13199 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13200 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
13203 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13204 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
13206 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13207 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
13209 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13210 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13309 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13311 if test -n "$hardcode_libdir_flag_spec" ||
13312 test -n "$runpath_var" ||
13313 test yes = "$hardcode_automatic"; then
13315 # We can hardcode non-existent directories.
13316 if test no
!= "$hardcode_direct" &&
13317 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13318 # have to relink, otherwise we might link with an installed library
13319 # when we should be linking with a yet-to-be-installed one
13320 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13321 test no
!= "$hardcode_minus_L"; then
13322 # Linking always hardcodes the temporary library directory.
13323 hardcode_action
=relink
13325 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13326 hardcode_action
=immediate
13329 # We cannot hardcode anything, or else we can only hardcode existing
13331 hardcode_action
=unsupported
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13334 $as_echo "$hardcode_action" >&6; }
13336 if test relink
= "$hardcode_action" ||
13337 test yes = "$inherit_rpath"; then
13338 # Fast installation is not supported
13339 enable_fast_install
=no
13340 elif test yes = "$shlibpath_overrides_runpath" ||
13341 test no
= "$enable_shared"; then
13342 # Fast installation is not necessary
13343 enable_fast_install
=needless
13351 if test yes != "$enable_dlopen"; then
13352 enable_dlopen
=unknown
13353 enable_dlopen_self
=unknown
13354 enable_dlopen_self_static
=unknown
13361 lt_cv_dlopen
=load_add_on
13363 lt_cv_dlopen_self
=yes
13366 mingw
* | pw32
* | cegcc
*)
13367 lt_cv_dlopen
=LoadLibrary
13372 lt_cv_dlopen
=dlopen
13377 # if libdl is installed we need to link against it
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13379 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13380 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13381 $as_echo_n "(cached) " >&6
13383 ac_check_lib_save_LIBS
=$LIBS
13385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13403 if ac_fn_c_try_link
"$LINENO"; then :
13404 ac_cv_lib_dl_dlopen
=yes
13406 ac_cv_lib_dl_dlopen
=no
13408 rm -f core conftest.err conftest.
$ac_objext \
13409 conftest
$ac_exeext conftest.
$ac_ext
13410 LIBS
=$ac_check_lib_save_LIBS
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13413 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13414 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13415 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13420 lt_cv_dlopen_self
=yes
13427 # Don't try to run any link tests for TPF. We know it's impossible
13428 # because TPF is a cross-compiler, and we know how we open DSOs.
13429 lt_cv_dlopen
=dlopen
13431 lt_cv_dlopen_self
=no
13435 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13436 if test "x$ac_cv_func_shl_load" = xyes
; then :
13437 lt_cv_dlopen
=shl_load
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13440 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13441 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13442 $as_echo_n "(cached) " >&6
13444 ac_check_lib_save_LIBS
=$LIBS
13446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h. */
13449 /* Override any GCC internal prototype to avoid an error.
13450 Use char because int might match the return type of a GCC
13451 builtin and then its argument prototype would still apply. */
13459 return shl_load ();
13464 if ac_fn_c_try_link
"$LINENO"; then :
13465 ac_cv_lib_dld_shl_load
=yes
13467 ac_cv_lib_dld_shl_load
=no
13469 rm -f core conftest.err conftest.
$ac_objext \
13470 conftest
$ac_exeext conftest.
$ac_ext
13471 LIBS
=$ac_check_lib_save_LIBS
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13474 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13475 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13476 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
13478 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13479 if test "x$ac_cv_func_dlopen" = xyes
; then :
13480 lt_cv_dlopen
=dlopen
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13483 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13484 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13485 $as_echo_n "(cached) " >&6
13487 ac_check_lib_save_LIBS
=$LIBS
13489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13490 /* end confdefs.h. */
13492 /* Override any GCC internal prototype to avoid an error.
13493 Use char because int might match the return type of a GCC
13494 builtin and then its argument prototype would still apply. */
13507 if ac_fn_c_try_link
"$LINENO"; then :
13508 ac_cv_lib_dl_dlopen
=yes
13510 ac_cv_lib_dl_dlopen
=no
13512 rm -f core conftest.err conftest.
$ac_objext \
13513 conftest
$ac_exeext conftest.
$ac_ext
13514 LIBS
=$ac_check_lib_save_LIBS
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13517 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13518 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13519 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13522 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13523 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13524 $as_echo_n "(cached) " >&6
13526 ac_check_lib_save_LIBS
=$LIBS
13527 LIBS
="-lsvld $LIBS"
13528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13531 /* Override any GCC internal prototype to avoid an error.
13532 Use char because int might match the return type of a GCC
13533 builtin and then its argument prototype would still apply. */
13546 if ac_fn_c_try_link
"$LINENO"; then :
13547 ac_cv_lib_svld_dlopen
=yes
13549 ac_cv_lib_svld_dlopen
=no
13551 rm -f core conftest.err conftest.
$ac_objext \
13552 conftest
$ac_exeext conftest.
$ac_ext
13553 LIBS
=$ac_check_lib_save_LIBS
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13556 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13557 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13558 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13561 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13562 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13563 $as_echo_n "(cached) " >&6
13565 ac_check_lib_save_LIBS
=$LIBS
13567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13570 /* Override any GCC internal prototype to avoid an error.
13571 Use char because int might match the return type of a GCC
13572 builtin and then its argument prototype would still apply. */
13580 return dld_link ();
13585 if ac_fn_c_try_link
"$LINENO"; then :
13586 ac_cv_lib_dld_dld_link
=yes
13588 ac_cv_lib_dld_dld_link
=no
13590 rm -f core conftest.err conftest.
$ac_objext \
13591 conftest
$ac_exeext conftest.
$ac_ext
13592 LIBS
=$ac_check_lib_save_LIBS
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13595 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13596 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13597 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13618 if test no
= "$lt_cv_dlopen"; then
13624 case $lt_cv_dlopen in
13626 save_CPPFLAGS
=$CPPFLAGS
13627 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13629 save_LDFLAGS
=$LDFLAGS
13630 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13633 LIBS
="$lt_cv_dlopen_libs $LIBS"
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13636 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13637 if ${lt_cv_dlopen_self+:} false
; then :
13638 $as_echo_n "(cached) " >&6
13640 if test yes = "$cross_compiling"; then :
13641 lt_cv_dlopen_self
=cross
13643 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13644 lt_status
=$lt_dlunknown
13645 cat > conftest.
$ac_ext <<_LT_EOF
13646 #line $LINENO "configure"
13647 #include "confdefs.h"
13656 # define LT_DLGLOBAL RTLD_GLOBAL
13659 # define LT_DLGLOBAL DL_GLOBAL
13661 # define LT_DLGLOBAL 0
13665 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13666 find out it does not work in some platform. */
13667 #ifndef LT_DLLAZY_OR_NOW
13669 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13672 # define LT_DLLAZY_OR_NOW DL_LAZY
13675 # define LT_DLLAZY_OR_NOW RTLD_NOW
13678 # define LT_DLLAZY_OR_NOW DL_NOW
13680 # define LT_DLLAZY_OR_NOW 0
13687 /* When -fvisibility=hidden is used, assume the code has been annotated
13688 correspondingly for the symbols needed. */
13689 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13690 int fnord () __attribute__((visibility("default")));
13693 int fnord () { return 42; }
13696 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13697 int status = $lt_dlunknown;
13701 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13704 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13705 else puts (dlerror ());
13707 /* dlclose (self); */
13715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13716 (eval $ac_link) 2>&5
13718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13719 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13720 (.
/conftest
; exit; ) >&5 2>/dev
/null
13722 case x
$lt_status in
13723 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13724 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13725 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13728 # compilation failed
13729 lt_cv_dlopen_self
=no
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13737 $as_echo "$lt_cv_dlopen_self" >&6; }
13739 if test yes = "$lt_cv_dlopen_self"; then
13740 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13742 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13743 if ${lt_cv_dlopen_self_static+:} false
; then :
13744 $as_echo_n "(cached) " >&6
13746 if test yes = "$cross_compiling"; then :
13747 lt_cv_dlopen_self_static
=cross
13749 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13750 lt_status
=$lt_dlunknown
13751 cat > conftest.
$ac_ext <<_LT_EOF
13752 #line $LINENO "configure"
13753 #include "confdefs.h"
13762 # define LT_DLGLOBAL RTLD_GLOBAL
13765 # define LT_DLGLOBAL DL_GLOBAL
13767 # define LT_DLGLOBAL 0
13771 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13772 find out it does not work in some platform. */
13773 #ifndef LT_DLLAZY_OR_NOW
13775 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13778 # define LT_DLLAZY_OR_NOW DL_LAZY
13781 # define LT_DLLAZY_OR_NOW RTLD_NOW
13784 # define LT_DLLAZY_OR_NOW DL_NOW
13786 # define LT_DLLAZY_OR_NOW 0
13793 /* When -fvisibility=hidden is used, assume the code has been annotated
13794 correspondingly for the symbols needed. */
13795 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13796 int fnord () __attribute__((visibility("default")));
13799 int fnord () { return 42; }
13802 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13803 int status = $lt_dlunknown;
13807 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13810 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13811 else puts (dlerror ());
13813 /* dlclose (self); */
13821 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13822 (eval $ac_link) 2>&5
13824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13825 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13826 (.
/conftest
; exit; ) >&5 2>/dev
/null
13828 case x
$lt_status in
13829 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13830 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13831 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13834 # compilation failed
13835 lt_cv_dlopen_self_static
=no
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13843 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13846 CPPFLAGS
=$save_CPPFLAGS
13847 LDFLAGS
=$save_LDFLAGS
13852 case $lt_cv_dlopen_self in
13853 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13854 *) enable_dlopen_self
=unknown
;;
13857 case $lt_cv_dlopen_self_static in
13858 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13859 *) enable_dlopen_self_static
=unknown
;;
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13882 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13883 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13884 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13885 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13887 $as_echo "yes" >&6; }
13889 # FIXME - insert some real tests, host_os isn't really good enough
13892 if test -n "$STRIP"; then
13893 striplib
="$STRIP -x"
13894 old_striplib
="$STRIP -S"
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13896 $as_echo "yes" >&6; }
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13899 $as_echo "no" >&6; }
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13904 $as_echo "no" >&6; }
13920 # Report what library types will actually be built
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13922 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13924 $as_echo "$can_build_shared" >&6; }
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13927 $as_echo_n "checking whether to build shared libraries... " >&6; }
13928 test no
= "$can_build_shared" && enable_shared
=no
13930 # On AIX, shared libraries and static libraries use the same namespace, and
13931 # are all built from PIC.
13934 test yes = "$enable_shared" && enable_static
=no
13935 if test -n "$RANLIB"; then
13936 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13937 postinstall_cmds
='$RANLIB $lib'
13942 if test ia64
!= "$host_cpu"; then
13943 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13944 yes,aix
,yes) ;; # shared object as lib.so file only
13945 yes,svr4
,*) ;; # shared object as lib.so archive member only
13946 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13952 $as_echo "$enable_shared" >&6; }
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13955 $as_echo_n "checking whether to build static libraries... " >&6; }
13956 # Make sure either enable_shared or enable_static is yes.
13957 test yes = "$enable_shared" || enable_static
=yes
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13959 $as_echo "$enable_static" >&6; }
13966 ac_cpp
='$CPP $CPPFLAGS'
13967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13987 ac_config_commands
="$ac_config_commands libtool"
13992 # Only expand once:
13995 # Check whether --enable-largefile was given.
13996 if test "${enable_largefile+set}" = set; then :
13997 enableval
=$enable_largefile;
14000 if test "$enable_largefile" != no
; then
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14003 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14004 if ${ac_cv_sys_largefile_CC+:} false
; then :
14005 $as_echo_n "(cached) " >&6
14007 ac_cv_sys_largefile_CC
=no
14008 if test "$GCC" != yes; then
14011 # IRIX 6.2 and later do not support large files by default,
14012 # so use the C compiler's -n32 option if that helps.
14013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14015 #include <sys/types.h>
14016 /* Check that off_t can represent 2**63 - 1 correctly.
14017 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14018 since some C++ compilers masquerading as C compilers
14019 incorrectly reject 9223372036854775807. */
14020 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14022 && LARGE_OFF_T % 2147483647 == 1)
14032 if ac_fn_c_try_compile
"$LINENO"; then :
14035 rm -f core conftest.err conftest.
$ac_objext
14037 if ac_fn_c_try_compile
"$LINENO"; then :
14038 ac_cv_sys_largefile_CC
=' -n32'; break
14040 rm -f core conftest.err conftest.
$ac_objext
14044 rm -f conftest.
$ac_ext
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14048 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14049 if test "$ac_cv_sys_largefile_CC" != no
; then
14050 CC
=$CC$ac_cv_sys_largefile_CC
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14054 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14055 if ${ac_cv_sys_file_offset_bits+:} false
; then :
14056 $as_echo_n "(cached) " >&6
14059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14061 #include <sys/types.h>
14062 /* Check that off_t can represent 2**63 - 1 correctly.
14063 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14064 since some C++ compilers masquerading as C compilers
14065 incorrectly reject 9223372036854775807. */
14066 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14067 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14068 && LARGE_OFF_T % 2147483647 == 1)
14078 if ac_fn_c_try_compile
"$LINENO"; then :
14079 ac_cv_sys_file_offset_bits
=no
; break
14081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14084 #define _FILE_OFFSET_BITS 64
14085 #include <sys/types.h>
14086 /* Check that off_t can represent 2**63 - 1 correctly.
14087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14088 since some C++ compilers masquerading as C compilers
14089 incorrectly reject 9223372036854775807. */
14090 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14092 && LARGE_OFF_T % 2147483647 == 1)
14102 if ac_fn_c_try_compile
"$LINENO"; then :
14103 ac_cv_sys_file_offset_bits
=64; break
14105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14106 ac_cv_sys_file_offset_bits
=unknown
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14111 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14112 case $ac_cv_sys_file_offset_bits in #(
14115 cat >>confdefs.h
<<_ACEOF
14116 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14121 if test $ac_cv_sys_file_offset_bits = unknown
; then
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14123 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14124 if ${ac_cv_sys_large_files+:} false
; then :
14125 $as_echo_n "(cached) " >&6
14128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14130 #include <sys/types.h>
14131 /* Check that off_t can represent 2**63 - 1 correctly.
14132 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14133 since some C++ compilers masquerading as C compilers
14134 incorrectly reject 9223372036854775807. */
14135 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14136 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14137 && LARGE_OFF_T % 2147483647 == 1)
14147 if ac_fn_c_try_compile
"$LINENO"; then :
14148 ac_cv_sys_large_files
=no
; break
14150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14153 #define _LARGE_FILES 1
14154 #include <sys/types.h>
14155 /* Check that off_t can represent 2**63 - 1 correctly.
14156 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14157 since some C++ compilers masquerading as C compilers
14158 incorrectly reject 9223372036854775807. */
14159 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14160 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14161 && LARGE_OFF_T % 2147483647 == 1)
14171 if ac_fn_c_try_compile
"$LINENO"; then :
14172 ac_cv_sys_large_files
=1; break
14174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14175 ac_cv_sys_large_files
=unknown
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14180 $as_echo "$ac_cv_sys_large_files" >&6; }
14181 case $ac_cv_sys_large_files in #(
14184 cat >>confdefs.h
<<_ACEOF
14185 #define _LARGE_FILES $ac_cv_sys_large_files
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
14196 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
14197 if ${ac_cv_sys_largefile_source+:} false
; then :
14198 $as_echo_n "(cached) " >&6
14201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14203 #include <sys/types.h> /* for off_t */
14208 int (*fp) (FILE *, off_t, int) = fseeko;
14209 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
14214 if ac_fn_c_try_link
"$LINENO"; then :
14215 ac_cv_sys_largefile_source
=no
; break
14217 rm -f core conftest.err conftest.
$ac_objext \
14218 conftest
$ac_exeext conftest.
$ac_ext
14219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14221 #define _LARGEFILE_SOURCE 1
14222 #include <sys/types.h> /* for off_t */
14227 int (*fp) (FILE *, off_t, int) = fseeko;
14228 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
14233 if ac_fn_c_try_link
"$LINENO"; then :
14234 ac_cv_sys_largefile_source
=1; break
14236 rm -f core conftest.err conftest.
$ac_objext \
14237 conftest
$ac_exeext conftest.
$ac_ext
14238 ac_cv_sys_largefile_source
=unknown
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
14243 $as_echo "$ac_cv_sys_largefile_source" >&6; }
14244 case $ac_cv_sys_largefile_source in #(
14247 cat >>confdefs.h
<<_ACEOF
14248 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
14254 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
14255 # in glibc 2.1.3, but that breaks too many other things.
14256 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
14257 if test $ac_cv_sys_largefile_source != unknown
; then
14259 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
14263 ac_header_dirent
=no
14264 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
14265 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
14267 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
14268 if eval \
${$as_ac_Header+:} false
; then :
14269 $as_echo_n "(cached) " >&6
14271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14273 #include <sys/types.h>
14285 if ac_fn_c_try_compile
"$LINENO"; then :
14286 eval "$as_ac_Header=yes"
14288 eval "$as_ac_Header=no"
14290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14292 eval ac_res
=\$
$as_ac_Header
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14294 $as_echo "$ac_res" >&6; }
14295 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14296 cat >>confdefs.h
<<_ACEOF
14297 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
14300 ac_header_dirent
=$ac_hdr; break
14304 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
14305 if test $ac_header_dirent = dirent.h
; then
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14307 $as_echo_n "checking for library containing opendir... " >&6; }
14308 if ${ac_cv_search_opendir+:} false
; then :
14309 $as_echo_n "(cached) " >&6
14311 ac_func_search_save_LIBS
=$LIBS
14312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14315 /* Override any GCC internal prototype to avoid an error.
14316 Use char because int might match the return type of a GCC
14317 builtin and then its argument prototype would still apply. */
14330 for ac_lib
in '' dir
; do
14331 if test -z "$ac_lib"; then
14332 ac_res
="none required"
14335 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14337 if ac_fn_c_try_link
"$LINENO"; then :
14338 ac_cv_search_opendir
=$ac_res
14340 rm -f core conftest.err conftest.
$ac_objext \
14342 if ${ac_cv_search_opendir+:} false
; then :
14346 if ${ac_cv_search_opendir+:} false
; then :
14349 ac_cv_search_opendir
=no
14351 rm conftest.
$ac_ext
14352 LIBS
=$ac_func_search_save_LIBS
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14355 $as_echo "$ac_cv_search_opendir" >&6; }
14356 ac_res
=$ac_cv_search_opendir
14357 if test "$ac_res" != no
; then :
14358 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14364 $as_echo_n "checking for library containing opendir... " >&6; }
14365 if ${ac_cv_search_opendir+:} false
; then :
14366 $as_echo_n "(cached) " >&6
14368 ac_func_search_save_LIBS
=$LIBS
14369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14387 for ac_lib
in '' x
; do
14388 if test -z "$ac_lib"; then
14389 ac_res
="none required"
14392 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14394 if ac_fn_c_try_link
"$LINENO"; then :
14395 ac_cv_search_opendir
=$ac_res
14397 rm -f core conftest.err conftest.
$ac_objext \
14399 if ${ac_cv_search_opendir+:} false
; then :
14403 if ${ac_cv_search_opendir+:} false
; then :
14406 ac_cv_search_opendir
=no
14408 rm conftest.
$ac_ext
14409 LIBS
=$ac_func_search_save_LIBS
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14412 $as_echo "$ac_cv_search_opendir" >&6; }
14413 ac_res
=$ac_cv_search_opendir
14414 if test "$ac_res" != no
; then :
14415 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14422 $as_echo_n "checking for ANSI C header files... " >&6; }
14423 if ${ac_cv_header_stdc+:} false
; then :
14424 $as_echo_n "(cached) " >&6
14426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14428 #include <stdlib.h>
14429 #include <stdarg.h>
14430 #include <string.h>
14441 if ac_fn_c_try_compile
"$LINENO"; then :
14442 ac_cv_header_stdc
=yes
14444 ac_cv_header_stdc
=no
14446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14448 if test $ac_cv_header_stdc = yes; then
14449 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14452 #include <string.h>
14455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14456 $EGREP "memchr" >/dev
/null
2>&1; then :
14459 ac_cv_header_stdc
=no
14465 if test $ac_cv_header_stdc = yes; then
14466 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14468 /* end confdefs.h. */
14469 #include <stdlib.h>
14472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14473 $EGREP "free" >/dev
/null
2>&1; then :
14476 ac_cv_header_stdc
=no
14482 if test $ac_cv_header_stdc = yes; then
14483 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14484 if test "$cross_compiling" = yes; then :
14487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14490 #include <stdlib.h>
14491 #if ((' ' & 0x0FF) == 0x020)
14492 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14493 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14495 # define ISLOWER(c) \
14496 (('a' <= (c) && (c) <= 'i') \
14497 || ('j' <= (c) && (c) <= 'r') \
14498 || ('s' <= (c) && (c) <= 'z'))
14499 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14502 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14507 for (i = 0; i < 256; i++)
14508 if (XOR (islower (i), ISLOWER (i))
14509 || toupper (i) != TOUPPER (i))
14514 if ac_fn_c_try_run
"$LINENO"; then :
14517 ac_cv_header_stdc
=no
14519 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14520 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14526 $as_echo "$ac_cv_header_stdc" >&6; }
14527 if test $ac_cv_header_stdc = yes; then
14529 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
14534 $as_echo_n "checking whether closedir returns void... " >&6; }
14535 if ${ac_cv_func_closedir_void+:} false
; then :
14536 $as_echo_n "(cached) " >&6
14538 if test "$cross_compiling" = yes; then :
14539 ac_cv_func_closedir_void
=yes
14541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14543 $ac_includes_default
14544 #include <$ac_header_dirent>
14545 #ifndef __cplusplus
14552 return closedir (opendir (".")) != 0;
14557 if ac_fn_c_try_run
"$LINENO"; then :
14558 ac_cv_func_closedir_void
=no
14560 ac_cv_func_closedir_void
=yes
14562 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14563 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
14568 $as_echo "$ac_cv_func_closedir_void" >&6; }
14569 if test $ac_cv_func_closedir_void = yes; then
14571 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
14575 for ac_header
in assert.h float.h limits.h
pwd.h stdlib.h sys
/param.h
14577 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14578 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14579 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14580 cat >>confdefs.h
<<_ACEOF
14581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14588 for ac_func
in putenv
14590 ac_fn_c_check_func
"$LINENO" "putenv" "ac_cv_func_putenv"
14591 if test "x$ac_cv_func_putenv" = xyes
; then :
14592 cat >>confdefs.h
<<_ACEOF
14593 #define HAVE_PUTENV 1
14599 for ac_func
in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr
14601 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14602 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14603 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14604 cat >>confdefs.h
<<_ACEOF
14605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14612 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14613 if ${ac_cv_c_const+:} false
; then :
14614 $as_echo_n "(cached) " >&6
14616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14623 #ifndef __cplusplus
14624 /* Ultrix mips cc rejects this sort of thing. */
14625 typedef int charset[2];
14626 const charset cs = { 0, 0 };
14627 /* SunOS 4.1.1 cc rejects this. */
14628 char const *const *pcpcc;
14630 /* NEC SVR4.0.2 mips cc rejects this. */
14631 struct point {int x, y;};
14632 static struct point const zero = {0,0};
14633 /* AIX XL C 1.02.0.0 rejects this.
14634 It does not let you subtract one const X* pointer from another in
14635 an arm of an if-expression whose if-part is not a constant
14637 const char *g = "string";
14638 pcpcc = &g + (g ? g-g : 0);
14639 /* HPUX 7.0 cc rejects these. */
14641 ppc = (char**) pcpcc;
14642 pcpcc = (char const *const *) ppc;
14643 { /* SCO 3.2v4 cc rejects this sort of thing. */
14646 char const *s = 0 ? (char *) 0 : (char const *) 0;
14651 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14652 int x[] = {25, 17};
14653 const int *foo = &x[0];
14656 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14657 typedef const int *iptr;
14661 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14662 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14663 struct s { int j; const int *ap[3]; } bx;
14664 struct s *b = &bx; b->j = 5;
14666 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14667 const int foo = 10;
14668 if (!foo) return 0;
14670 return !cs[0] && !zero.x;
14677 if ac_fn_c_try_compile
"$LINENO"; then :
14682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14685 $as_echo "$ac_cv_c_const" >&6; }
14686 if test $ac_cv_c_const = no
; then
14688 $as_echo "#define const /**/" >>confdefs.h
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14693 $as_echo_n "checking for inline... " >&6; }
14694 if ${ac_cv_c_inline+:} false
; then :
14695 $as_echo_n "(cached) " >&6
14698 for ac_kw
in inline __inline__ __inline
; do
14699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 #ifndef __cplusplus
14703 static $ac_kw foo_t static_foo () {return 0; }
14704 $ac_kw foo_t foo () {return 0; }
14708 if ac_fn_c_try_compile
"$LINENO"; then :
14709 ac_cv_c_inline
=$ac_kw
14711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14712 test "$ac_cv_c_inline" != no
&& break
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14717 $as_echo "$ac_cv_c_inline" >&6; }
14719 case $ac_cv_c_inline in
14722 case $ac_cv_c_inline in
14724 *) ac_val
=$ac_cv_c_inline;;
14726 cat >>confdefs.h
<<_ACEOF
14727 #ifndef __cplusplus
14728 #define inline $ac_val
14734 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14735 if test "x$ac_cv_type_size_t" = xyes
; then :
14739 cat >>confdefs.h
<<_ACEOF
14740 #define size_t unsigned int
14745 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
14746 case $ac_cv_c_int64_t in #(
14750 cat >>confdefs.h
<<_ACEOF
14751 #define int64_t $ac_cv_c_int64_t
14756 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
14757 case $ac_cv_c_uint64_t in #(
14761 $as_echo "#define _UINT64_T 1" >>confdefs.h
14764 cat >>confdefs.h
<<_ACEOF
14765 #define uint64_t $ac_cv_c_uint64_t
14770 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
14772 as_fn_error $?
"Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
14776 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14777 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14779 cat >>confdefs.h
<<_ACEOF
14780 #define HAVE_STRUCT_STAT_ST_MTIM 1
14787 if test "x$host_alias" != x
&& test "x$build_alias" = x
; then :
14788 as_fn_error $?
"when cross-compiling you must specify both --host and --build." "$LINENO" 5
14790 eval kpse_build_alias
=\
${build_alias-$build}
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14796 $as_echo_n "checking for X... " >&6; }
14799 # Check whether --with-x was given.
14800 if test "${with_x+set}" = set; then :
14804 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14805 if test "x$with_x" = xno
; then
14806 # The user explicitly disabled X.
14809 case $x_includes,$x_libraries in #(
14810 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14811 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14812 $as_echo_n "(cached) " >&6
14814 # One or both of the vars are not set, and there is no cached value.
14815 ac_x_includes
=no ac_x_libraries
=no
14816 rm -f -r conftest.dir
14817 if mkdir conftest.dir
; then
14819 cat >Imakefile
<<'_ACEOF'
14821 @echo incroot='${INCROOT}'
14823 @echo usrlibdir='${USRLIBDIR}'
14825 @echo libdir='${LIBDIR}'
14827 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14828 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14829 for ac_var
in incroot usrlibdir libdir
; do
14830 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14832 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14833 for ac_extension
in a so sl dylib la dll
; do
14834 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14835 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14836 ac_im_usrlibdir
=$ac_im_libdir; break
14839 # Screen out bogus values from the imake configuration. They are
14840 # bogus both because they are the default anyway, and because
14841 # using them would break gcc on systems where it needs fixed includes.
14842 case $ac_im_incroot in
14843 /usr
/include
) ac_x_includes
= ;;
14844 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14846 case $ac_im_usrlibdir in
14847 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14848 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14852 rm -f -r conftest.dir
14855 # Standard set of common directories for X headers.
14856 # Check X11 before X11Rn because it is often a symlink to the current release.
14870 /usr/local/X11/include
14871 /usr/local/X11R7/include
14872 /usr/local/X11R6/include
14873 /usr/local/X11R5/include
14874 /usr/local/X11R4/include
14876 /usr/local/include/X11
14877 /usr/local/include/X11R7
14878 /usr/local/include/X11R6
14879 /usr/local/include/X11R5
14880 /usr/local/include/X11R4
14884 /usr/XFree86/include/X11
14888 /usr/unsupported/include
14889 /usr/athena/include
14890 /usr/local/x11r5/include
14891 /usr/lpp/Xamples/include
14893 /usr/openwin/include
14894 /usr/openwin/share/include'
14896 if test "$ac_x_includes" = no
; then
14897 # Guess where to find include files, by looking for Xlib.h.
14898 # First, try using that file with no special directory specified.
14899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14901 #include <X11/Xlib.h>
14903 if ac_fn_c_try_cpp
"$LINENO"; then :
14904 # We can compile using X headers with no special include directory.
14907 for ac_dir
in $ac_x_header_dirs; do
14908 if test -r "$ac_dir/X11/Xlib.h"; then
14909 ac_x_includes
=$ac_dir
14914 rm -f conftest.err conftest.i conftest.
$ac_ext
14915 fi # $ac_x_includes = no
14917 if test "$ac_x_libraries" = no
; then
14918 # Check for the libraries.
14919 # See if we find them without any special options.
14920 # Don't add to $LIBS permanently.
14923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14924 /* end confdefs.h. */
14925 #include <X11/Xlib.h>
14934 if ac_fn_c_try_link
"$LINENO"; then :
14936 # We can link X programs with no special library path.
14940 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14942 # Don't even attempt the hair of trying to link an X program!
14943 for ac_extension
in a so sl dylib la dll
; do
14944 if test -r "$ac_dir/libX11.$ac_extension"; then
14945 ac_x_libraries
=$ac_dir
14951 rm -f core conftest.err conftest.
$ac_objext \
14952 conftest
$ac_exeext conftest.
$ac_ext
14953 fi # $ac_x_libraries = no
14955 case $ac_x_includes,$ac_x_libraries in #(
14956 no
,* |
*,no |
*\'*)
14957 # Didn't find X, or a directory has "'" in its name.
14958 ac_cv_have_x
="have_x=no";; #(
14960 # Record where we found X for the cache.
14961 ac_cv_have_x
="have_x=yes\
14962 ac_x_includes='$ac_x_includes'\
14963 ac_x_libraries='$ac_x_libraries'"
14969 eval "$ac_cv_have_x"
14972 if test "$have_x" != yes; then
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14974 $as_echo "$have_x" >&6; }
14977 # If each of the values was on the command line, it overrides each guess.
14978 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14979 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14980 # Update the cache value to reflect the command line values.
14981 ac_cv_have_x
="have_x=yes\
14982 ac_x_includes='$x_includes'\
14983 ac_x_libraries='$x_libraries'"
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14985 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14988 if test "$no_x" = yes; then
14989 # Not all programs may use this symbol, but it does not hurt to define it.
14991 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
14993 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14995 if test -n "$x_includes"; then
14996 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14999 # It would also be nice to do this for all -L options, not just this one.
15000 if test -n "$x_libraries"; then
15001 X_LIBS
="$X_LIBS -L$x_libraries"
15002 # For Solaris; some versions of Sun CC require a space after -R and
15003 # others require no space. Words are not sufficient . . . .
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
15005 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
15006 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
15007 ac_xsave_c_werror_flag
=$ac_c_werror_flag
15008 ac_c_werror_flag
=yes
15009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15020 if ac_fn_c_try_link
"$LINENO"; then :
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15022 $as_echo "no" >&6; }
15023 X_LIBS
="$X_LIBS -R$x_libraries"
15025 LIBS
="$ac_xsave_LIBS -R $x_libraries"
15026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15037 if ac_fn_c_try_link
"$LINENO"; then :
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15039 $as_echo "yes" >&6; }
15040 X_LIBS
="$X_LIBS -R $x_libraries"
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
15043 $as_echo "neither works" >&6; }
15045 rm -f core conftest.err conftest.
$ac_objext \
15046 conftest
$ac_exeext conftest.
$ac_ext
15048 rm -f core conftest.err conftest.
$ac_objext \
15049 conftest
$ac_exeext conftest.
$ac_ext
15050 ac_c_werror_flag
=$ac_xsave_c_werror_flag
15051 LIBS
=$ac_xsave_LIBS
15054 # Check for system-dependent libraries X programs must link with.
15055 # Do this before checking for the system-independent R6 libraries
15056 # (-lICE), since we may need -lsocket or whatever for X linking.
15058 if test "$ISC" = yes; then
15059 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
15061 # Martyn Johnson says this is needed for Ultrix, if the X
15062 # libraries were built with DECnet support. And Karl Berry says
15063 # the Alpha needs dnet_stub (dnet does not exist).
15064 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
15065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15068 /* Override any GCC internal prototype to avoid an error.
15069 Use char because int might match the return type of a GCC
15070 builtin and then its argument prototype would still apply. */
15074 char XOpenDisplay ();
15078 return XOpenDisplay ();
15083 if ac_fn_c_try_link
"$LINENO"; then :
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
15087 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
15088 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
15089 $as_echo_n "(cached) " >&6
15091 ac_check_lib_save_LIBS
=$LIBS
15092 LIBS
="-ldnet $LIBS"
15093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15106 return dnet_ntoa ();
15111 if ac_fn_c_try_link
"$LINENO"; then :
15112 ac_cv_lib_dnet_dnet_ntoa
=yes
15114 ac_cv_lib_dnet_dnet_ntoa
=no
15116 rm -f core conftest.err conftest.
$ac_objext \
15117 conftest
$ac_exeext conftest.
$ac_ext
15118 LIBS
=$ac_check_lib_save_LIBS
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
15121 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
15122 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
15123 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
15126 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
15128 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
15129 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
15130 $as_echo_n "(cached) " >&6
15132 ac_check_lib_save_LIBS
=$LIBS
15133 LIBS
="-ldnet_stub $LIBS"
15134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15137 /* Override any GCC internal prototype to avoid an error.
15138 Use char because int might match the return type of a GCC
15139 builtin and then its argument prototype would still apply. */
15147 return dnet_ntoa ();
15152 if ac_fn_c_try_link
"$LINENO"; then :
15153 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
15155 ac_cv_lib_dnet_stub_dnet_ntoa
=no
15157 rm -f core conftest.err conftest.
$ac_objext \
15158 conftest
$ac_exeext conftest.
$ac_ext
15159 LIBS
=$ac_check_lib_save_LIBS
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
15162 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
15163 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
15164 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
15169 rm -f core conftest.err conftest.
$ac_objext \
15170 conftest
$ac_exeext conftest.
$ac_ext
15171 LIBS
="$ac_xsave_LIBS"
15173 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
15174 # to get the SysV transport functions.
15175 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
15177 # The nsl library prevents programs from opening the X display
15178 # on Irix 5.2, according to T.E. Dickey.
15179 # The functions gethostbyname, getservbyname, and inet_addr are
15180 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
15181 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
15182 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
15186 if test $ac_cv_func_gethostbyname = no
; then
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
15188 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
15189 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
15190 $as_echo_n "(cached) " >&6
15192 ac_check_lib_save_LIBS
=$LIBS
15194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15195 /* end confdefs.h. */
15197 /* Override any GCC internal prototype to avoid an error.
15198 Use char because int might match the return type of a GCC
15199 builtin and then its argument prototype would still apply. */
15203 char gethostbyname ();
15207 return gethostbyname ();
15212 if ac_fn_c_try_link
"$LINENO"; then :
15213 ac_cv_lib_nsl_gethostbyname
=yes
15215 ac_cv_lib_nsl_gethostbyname
=no
15217 rm -f core conftest.err conftest.
$ac_objext \
15218 conftest
$ac_exeext conftest.
$ac_ext
15219 LIBS
=$ac_check_lib_save_LIBS
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
15222 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
15223 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
15224 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15227 if test $ac_cv_lib_nsl_gethostbyname = no
; then
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
15229 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
15230 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
15231 $as_echo_n "(cached) " >&6
15233 ac_check_lib_save_LIBS
=$LIBS
15235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15238 /* Override any GCC internal prototype to avoid an error.
15239 Use char because int might match the return type of a GCC
15240 builtin and then its argument prototype would still apply. */
15244 char gethostbyname ();
15248 return gethostbyname ();
15253 if ac_fn_c_try_link
"$LINENO"; then :
15254 ac_cv_lib_bsd_gethostbyname
=yes
15256 ac_cv_lib_bsd_gethostbyname
=no
15258 rm -f core conftest.err conftest.
$ac_objext \
15259 conftest
$ac_exeext conftest.
$ac_ext
15260 LIBS
=$ac_check_lib_save_LIBS
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
15263 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
15264 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
15265 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
15271 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15272 # socket/setsockopt and other routines are undefined under SCO ODT
15273 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15274 # on later versions), says Simon Leinen: it contains gethostby*
15275 # variants that don't use the name server (or something). -lsocket
15276 # must be given before -lnsl if both are needed. We assume that
15277 # if connect needs -lnsl, so does gethostbyname.
15278 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
15279 if test "x$ac_cv_func_connect" = xyes
; then :
15283 if test $ac_cv_func_connect = no
; then
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
15285 $as_echo_n "checking for connect in -lsocket... " >&6; }
15286 if ${ac_cv_lib_socket_connect+:} false
; then :
15287 $as_echo_n "(cached) " >&6
15289 ac_check_lib_save_LIBS
=$LIBS
15290 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15294 /* Override any GCC internal prototype to avoid an error.
15295 Use char because int might match the return type of a GCC
15296 builtin and then its argument prototype would still apply. */
15309 if ac_fn_c_try_link
"$LINENO"; then :
15310 ac_cv_lib_socket_connect
=yes
15312 ac_cv_lib_socket_connect
=no
15314 rm -f core conftest.err conftest.
$ac_objext \
15315 conftest
$ac_exeext conftest.
$ac_ext
15316 LIBS
=$ac_check_lib_save_LIBS
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
15319 $as_echo "$ac_cv_lib_socket_connect" >&6; }
15320 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
15321 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15326 # Guillermo Gomez says -lposix is necessary on A/UX.
15327 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
15328 if test "x$ac_cv_func_remove" = xyes
; then :
15332 if test $ac_cv_func_remove = no
; then
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
15334 $as_echo_n "checking for remove in -lposix... " >&6; }
15335 if ${ac_cv_lib_posix_remove+:} false
; then :
15336 $as_echo_n "(cached) " >&6
15338 ac_check_lib_save_LIBS
=$LIBS
15339 LIBS
="-lposix $LIBS"
15340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15341 /* end confdefs.h. */
15343 /* Override any GCC internal prototype to avoid an error.
15344 Use char because int might match the return type of a GCC
15345 builtin and then its argument prototype would still apply. */
15358 if ac_fn_c_try_link
"$LINENO"; then :
15359 ac_cv_lib_posix_remove
=yes
15361 ac_cv_lib_posix_remove
=no
15363 rm -f core conftest.err conftest.
$ac_objext \
15364 conftest
$ac_exeext conftest.
$ac_ext
15365 LIBS
=$ac_check_lib_save_LIBS
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
15368 $as_echo "$ac_cv_lib_posix_remove" >&6; }
15369 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
15370 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15375 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15376 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
15377 if test "x$ac_cv_func_shmat" = xyes
; then :
15381 if test $ac_cv_func_shmat = no
; then
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
15383 $as_echo_n "checking for shmat in -lipc... " >&6; }
15384 if ${ac_cv_lib_ipc_shmat+:} false
; then :
15385 $as_echo_n "(cached) " >&6
15387 ac_check_lib_save_LIBS
=$LIBS
15389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15392 /* Override any GCC internal prototype to avoid an error.
15393 Use char because int might match the return type of a GCC
15394 builtin and then its argument prototype would still apply. */
15407 if ac_fn_c_try_link
"$LINENO"; then :
15408 ac_cv_lib_ipc_shmat
=yes
15410 ac_cv_lib_ipc_shmat
=no
15412 rm -f core conftest.err conftest.
$ac_objext \
15413 conftest
$ac_exeext conftest.
$ac_ext
15414 LIBS
=$ac_check_lib_save_LIBS
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
15417 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
15418 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
15419 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15425 # Check for libraries that X11R6 Xt/Xaw programs need.
15426 ac_save_LDFLAGS
=$LDFLAGS
15427 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15428 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15429 # check for ICE first), but we must link in the order -lSM -lICE or
15430 # we get undefined symbols. So assume we have SM if we have ICE.
15431 # These have to be linked with before -lX11, unlike the other
15432 # libraries we check for below, so use a different variable.
15433 # John Interrante, Karl Berry
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
15435 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
15436 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
15437 $as_echo_n "(cached) " >&6
15439 ac_check_lib_save_LIBS
=$LIBS
15440 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15442 /* end confdefs.h. */
15444 /* Override any GCC internal prototype to avoid an error.
15445 Use char because int might match the return type of a GCC
15446 builtin and then its argument prototype would still apply. */
15450 char IceConnectionNumber ();
15454 return IceConnectionNumber ();
15459 if ac_fn_c_try_link
"$LINENO"; then :
15460 ac_cv_lib_ICE_IceConnectionNumber
=yes
15462 ac_cv_lib_ICE_IceConnectionNumber
=no
15464 rm -f core conftest.err conftest.
$ac_objext \
15465 conftest
$ac_exeext conftest.
$ac_ext
15466 LIBS
=$ac_check_lib_save_LIBS
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
15469 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
15470 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
15471 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15474 LDFLAGS
=$ac_save_LDFLAGS
15480 ac_cpp
='$CXXCPP $CPPFLAGS'
15481 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15484 if test -z "$CXX"; then
15485 if test -n "$CCC"; then
15488 if test -n "$ac_tool_prefix"; then
15489 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15492 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15494 $as_echo_n "checking for $ac_word... " >&6; }
15495 if ${ac_cv_prog_CXX+:} false
; then :
15496 $as_echo_n "(cached) " >&6
15498 if test -n "$CXX"; then
15499 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15502 for as_dir
in $PATH
15505 test -z "$as_dir" && as_dir
=.
15506 for ac_exec_ext
in '' $ac_executable_extensions; do
15507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15508 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15518 CXX
=$ac_cv_prog_CXX
15519 if test -n "$CXX"; then
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
15521 $as_echo "$CXX" >&6; }
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15524 $as_echo "no" >&6; }
15528 test -n "$CXX" && break
15531 if test -z "$CXX"; then
15533 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15535 # Extract the first word of "$ac_prog", so it can be a program name with args.
15536 set dummy
$ac_prog; ac_word
=$2
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15538 $as_echo_n "checking for $ac_word... " >&6; }
15539 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
15540 $as_echo_n "(cached) " >&6
15542 if test -n "$ac_ct_CXX"; then
15543 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15546 for as_dir
in $PATH
15549 test -z "$as_dir" && as_dir
=.
15550 for ac_exec_ext
in '' $ac_executable_extensions; do
15551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15552 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15562 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15563 if test -n "$ac_ct_CXX"; then
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15565 $as_echo "$ac_ct_CXX" >&6; }
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15568 $as_echo "no" >&6; }
15572 test -n "$ac_ct_CXX" && break
15575 if test "x$ac_ct_CXX" = x
; then
15578 case $cross_compiling:$ac_tool_warned in
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15582 ac_tool_warned
=yes ;;
15590 # Provide some information about the compiler.
15591 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
15594 for ac_option
in --version -v -V -qversion; do
15595 { { ac_try
="$ac_compiler $ac_option >&5"
15596 case "(($ac_try" in
15597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15598 *) ac_try_echo=$ac_try;;
15600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15601 $as_echo "$ac_try_echo"; } >&5
15602 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15604 if test -s conftest.err; then
15606 ... rest of stderr output deleted ...
15607 10q' conftest.err >conftest.er1
15608 cat conftest.er1 >&5
15610 rm -f conftest.er1 conftest.err
15611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15612 test $ac_status = 0; }
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
15616 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15617 if ${ac_cv_cxx_compiler_gnu+:} false; then :
15618 $as_echo_n "(cached) " >&6
15620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15621 /* end confdefs.h. */
15634 if ac_fn_cxx_try_compile "$LINENO"; then :
15635 ac_compiler_gnu=yes
15639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15640 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
15644 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15645 if test $ac_compiler_gnu = yes; then
15650 ac_test_CXXFLAGS=${CXXFLAGS+set}
15651 ac_save_CXXFLAGS=$CXXFLAGS
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
15653 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
15654 if ${ac_cv_prog_cxx_g+:} false; then :
15655 $as_echo_n "(cached) " >&6
15657 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15658 ac_cxx_werror_flag=yes
15659 ac_cv_prog_cxx_g=no
15661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15662 /* end confdefs.h. */
15672 if ac_fn_cxx_try_compile "$LINENO"; then :
15673 ac_cv_prog_cxx_g=yes
15676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15677 /* end confdefs.h. */
15687 if ac_fn_cxx_try_compile "$LINENO"; then :
15690 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15703 if ac_fn_cxx_try_compile "$LINENO"; then :
15704 ac_cv_prog_cxx_g=yes
15706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15711 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
15714 $as_echo "$ac_cv_prog_cxx_g" >&6; }
15715 if test "$ac_test_CXXFLAGS" = set; then
15716 CXXFLAGS=$ac_save_CXXFLAGS
15717 elif test $ac_cv_prog_cxx_g = yes; then
15718 if test "$GXX" = yes; then
15724 if test "$GXX" = yes; then
15731 ac_cpp='$CPP $CPPFLAGS'
15732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15736 depcc="$CXX" am_compiler_list=
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15739 $as_echo_n "checking dependency style of $depcc... " >&6; }
15740 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
15741 $as_echo_n "(cached) " >&6
15743 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15744 # We make a subdir and do the tests there. Otherwise we can end up
15745 # making bogus files that we don't know about and never remove. For
15746 # instance it was reported that on HP-UX the gcc test will end up
15747 # making a dummy file named 'D' -- because '-MD' means "put the output
15749 rm -rf conftest.dir
15751 # Copy depcomp to subdir because otherwise we won't find it if we're
15752 # using a relative directory.
15753 cp "$am_depcomp" conftest.dir
15755 # We will build objects and dependencies in a subdirectory because
15756 # it helps to detect inapplicable dependency modes. For instance
15757 # both Tru64's cc and ICC support -MD to output dependencies as a
15758 # side effect of compilation, but ICC will put the dependencies in
15759 # the current directory while Tru64 will put them in the object
15763 am_cv_CXX_dependencies_compiler_type=none
15764 if test "$am_compiler_list" = ""; then
15765 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
15767 am__universal=false
15768 case " $depcc " in #(
15769 *\ -arch\ *\ -arch\ *) am__universal=true ;;
15772 for depmode in $am_compiler_list; do
15773 # Setup a source with many dependencies, because some compilers
15774 # like to wrap large dependency lists on column 80 (with \), and
15775 # we should not choose a depcomp mode which is confused by this.
15777 # We need to recreate these files for each test, as the compiler may
15778 # overwrite some of them when testing with obscure command lines.
15779 # This happens at least with the AIX C compiler.
15781 for i in 1 2 3 4 5 6; do
15782 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15783 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
15784 # Solaris 10 /bin/sh.
15785 echo '/* dummy */' > sub/conftst$i.h
15787 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15789 # We check with '-c' and '-o' for the sake of the "dashmstdout"
15790 # mode. It turns out that the SunPro C++ compiler does not properly
15791 # handle '-M -o', and we need to detect this. Also, some Intel
15792 # versions had trouble with output in subdirs.
15793 am__obj=sub/conftest.${OBJEXT-o}
15794 am__minus_obj="-o $am__obj"
15797 # This depmode causes a compiler race in universal mode.
15798 test "$am__universal" = false || continue
15801 # After this tag, mechanisms are not by side-effect, so they'll
15802 # only be used when explicitly requested.
15803 if test "x$enable_dependency_tracking" = xyes; then
15809 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
15810 # This compiler won't grok '-c -o', but also, the minuso test has
15811 # not run yet. These depmodes are late enough in the game, and
15812 # so weak that their functioning should not be impacted.
15813 am__obj=conftest.${OBJEXT-o}
15818 if depmode=$depmode \
15819 source=sub/conftest.c object=$am__obj \
15820 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15821 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15822 >/dev/null 2>conftest.err &&
15823 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15824 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15825 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15826 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15827 # icc doesn't choke on unknown options, it will just issue warnings
15828 # or remarks (even with -Werror). So we grep stderr for any message
15829 # that says an option was ignored or not supported.
15830 # When given -MP, icc 7.0 and 7.1 complain thusly:
15831 # icc: Command line warning: ignoring option '-M'; no argument required
15832 # The diagnosis changed in icc 8.0:
15833 # icc: Command line remark: option '-MP' not supported
15834 if (grep 'ignoring option' conftest.err ||
15835 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15836 am_cv_CXX_dependencies_compiler_type=$depmode
15843 rm -rf conftest.dir
15845 am_cv_CXX_dependencies_compiler_type=none
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15850 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15851 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15854 test "x$enable_dependency_tracking" != xno \
15855 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15856 am__fastdepCXX_TRUE=
15857 am__fastdepCXX_FALSE='#'
15859 am__fastdepCXX_TRUE='#'
15860 am__fastdepCXX_FALSE=
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
15864 $as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
15865 if ${kpse_cv_warning_cxxflags+:} false; then :
15866 $as_echo_n "(cached) " >&6
15868 if test "x$GXX" = xyes; then
15869 kpse_cv_warning_cxxflags=
15870 kpse_warn_strings="-Wno-write-strings"
15871 if test "x$enable_compiler_warnings" != xno; then
15872 kpse_cv_warning_cxxflags="-Wreturn-type"
15873 case `$CXX -dumpversion` in #(
15874 3.* | 4.[012345].*) :
15875 kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #(
15879 case `$CXX -dumpversion` in #(
15881 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #(
15885 if test "x$enable_compiler_warnings" != xmin; then
15886 kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags"
15887 if test "x$enable_compiler_warnings" != xyes; then
15888 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
15889 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align"
15890 kpse_warn_strings="-Wwrite-strings"
15891 if test "x$enable_compiler_warnings" != xmax; then
15892 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow"
15897 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings"
15898 elif test "x$enable_compiler_warnings" = xno; then
15899 kpse_cv_warning_cxxflags=
15901 kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5
15905 $as_echo "$kpse_cv_warning_cxxflags" >&6; }
15906 WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags
15912 func_stripname_cnf ()
15915 .*) func_stripname_result=`$ECHO "$3" |
$SED "s%^$1%%; s%\\\\$2\$%%"`;;
15916 *) func_stripname_result=`$ECHO "$3" |
$SED "s%^$1%%; s%$2\$%%"`;;
15918 } # func_stripname_cnf
15920 if test -n "$CXX" && ( test no != "$CXX" &&
15921 ( (test g++ = "$CXX" && `g
++ -v >/dev
/null
2>&1` ) ||
15922 (test g++ != "$CXX"))); then
15924 ac_cpp='$CXXCPP $CPPFLAGS'
15925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
15929 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15930 if test -z "$CXXCPP"; then
15931 if ${ac_cv_prog_CXXCPP+:} false; then :
15932 $as_echo_n "(cached) " >&6
15934 # Double quotes because CXXCPP needs to be expanded
15935 for CXXCPP in "$CXX -E" "/lib/cpp"
15937 ac_preproc_ok=false
15938 for ac_cxx_preproc_warn_flag in '' yes
15940 # Use a header file that comes with gcc, so configuring glibc
15941 # with a fresh cross-compiler works.
15942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15943 # <limits.h> exists even on freestanding compilers.
15944 # On the NeXT, cc -E runs the code through the compiler's parser,
15945 # not just through cpp. "Syntax error" is here to catch this case.
15946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15947 /* end confdefs.h. */
15949 # include <limits.h>
15951 # include <assert.h>
15955 if ac_fn_cxx_try_cpp "$LINENO"; then :
15958 # Broken: fails on valid input.
15961 rm -f conftest.err conftest.i conftest.$ac_ext
15963 # OK, works on sane cases. Now check whether nonexistent headers
15964 # can be detected and how.
15965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15966 /* end confdefs.h. */
15967 #include <ac_nonexistent.h>
15969 if ac_fn_cxx_try_cpp "$LINENO"; then :
15970 # Broken: success on invalid input.
15973 # Passes both tests.
15977 rm -f conftest.err conftest.i conftest.$ac_ext
15980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15981 rm -f conftest.i conftest.err conftest.
$ac_ext
15982 if $ac_preproc_ok; then :
15987 ac_cv_prog_CXXCPP
=$CXXCPP
15990 CXXCPP
=$ac_cv_prog_CXXCPP
15992 ac_cv_prog_CXXCPP
=$CXXCPP
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
15995 $as_echo "$CXXCPP" >&6; }
15996 ac_preproc_ok
=false
15997 for ac_cxx_preproc_warn_flag
in '' yes
15999 # Use a header file that comes with gcc, so configuring glibc
16000 # with a fresh cross-compiler works.
16001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16002 # <limits.h> exists even on freestanding compilers.
16003 # On the NeXT, cc -E runs the code through the compiler's parser,
16004 # not just through cpp. "Syntax error" is here to catch this case.
16005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 # include <limits.h>
16010 # include <assert.h>
16014 if ac_fn_cxx_try_cpp
"$LINENO"; then :
16017 # Broken: fails on valid input.
16020 rm -f conftest.err conftest.i conftest.
$ac_ext
16022 # OK, works on sane cases. Now check whether nonexistent headers
16023 # can be detected and how.
16024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16025 /* end confdefs.h. */
16026 #include <ac_nonexistent.h>
16028 if ac_fn_cxx_try_cpp
"$LINENO"; then :
16029 # Broken: success on invalid input.
16032 # Passes both tests.
16036 rm -f conftest.err conftest.i conftest.
$ac_ext
16039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16040 rm -f conftest.i conftest.err conftest.
$ac_ext
16041 if $ac_preproc_ok; then :
16044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16046 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
16047 See \`config.log' for more details" "$LINENO" 5; }
16051 ac_cpp
='$CPP $CPPFLAGS'
16052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16057 _lt_caught_CXX_error
=yes
16061 ac_cpp
='$CXXCPP $CPPFLAGS'
16062 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16066 archive_cmds_need_lc_CXX
=no
16067 allow_undefined_flag_CXX
=
16068 always_export_symbols_CXX
=no
16069 archive_expsym_cmds_CXX
=
16070 compiler_needs_object_CXX
=no
16071 export_dynamic_flag_spec_CXX
=
16072 hardcode_direct_CXX
=no
16073 hardcode_direct_absolute_CXX
=no
16074 hardcode_libdir_flag_spec_CXX
=
16075 hardcode_libdir_separator_CXX
=
16076 hardcode_minus_L_CXX
=no
16077 hardcode_shlibpath_var_CXX
=unsupported
16078 hardcode_automatic_CXX
=no
16079 inherit_rpath_CXX
=no
16081 module_expsym_cmds_CXX
=
16082 link_all_deplibs_CXX
=unknown
16083 old_archive_cmds_CXX
=$old_archive_cmds
16084 reload_flag_CXX
=$reload_flag
16085 reload_cmds_CXX
=$reload_cmds
16086 no_undefined_flag_CXX
=
16087 whole_archive_flag_spec_CXX
=
16088 enable_shared_with_static_runtimes_CXX
=no
16090 # Source file extension for C++ test sources.
16093 # Object file extension for compiled C++ test sources.
16097 # No sense in running all these tests if we already determined that
16098 # the CXX compiler isn't working. Some variables (like enable_shared)
16099 # are currently assumed to apply to all compilers on this platform,
16100 # and will be corrupted by setting them based on a non-working compiler.
16101 if test yes != "$_lt_caught_CXX_error"; then
16102 # Code to be used in simple compile tests
16103 lt_simple_compile_test_code
="int some_variable = 0;"
16105 # Code to be used in simple link tests
16106 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
16108 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16115 # If no C compiler was specified, use CC.
16118 # If no C compiler flags were specified, use CFLAGS.
16119 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16121 # Allow CC to be a program name with arguments.
16125 # save warnings/boilerplate of simple test code
16126 ac_outfile
=conftest.
$ac_objext
16127 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16128 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16129 _lt_compiler_boilerplate
=`cat conftest.err`
16132 ac_outfile
=conftest.
$ac_objext
16133 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16134 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16135 _lt_linker_boilerplate
=`cat conftest.err`
16139 # Allow CC to be a program name with arguments.
16141 lt_save_CFLAGS
=$CFLAGS
16145 lt_save_with_gnu_ld
=$with_gnu_ld
16146 lt_save_path_LD
=$lt_cv_path_LD
16147 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16148 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
16150 $as_unset lt_cv_prog_gnu_ld
16152 if test -n "${lt_cv_path_LDCXX+set}"; then
16153 lt_cv_path_LD
=$lt_cv_path_LDCXX
16155 $as_unset lt_cv_path_LD
16157 test -z "${LDCXX+set}" || LD
=$LDCXX
16162 func_cc_basename
$compiler
16163 cc_basename
=$func_cc_basename_result
16166 if test -n "$compiler"; then
16167 # We don't want -fno-exception when compiling C++ code, so set the
16168 # no_builtin_flag separately
16169 if test yes = "$GXX"; then
16170 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
16172 lt_prog_compiler_no_builtin_flag_CXX
=
16175 if test yes = "$GXX"; then
16176 # Set up default GNU C++ configuration
16180 # Check whether --with-gnu-ld was given.
16181 if test "${with_gnu_ld+set}" = set; then :
16182 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
16188 if test yes = "$GCC"; then
16189 # Check if gcc -print-prog-name=ld gives a path.
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16191 $as_echo_n "checking for ld used by $CC... " >&6; }
16194 # gcc leaves a trailing carriage return, which upsets mingw
16195 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16197 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16200 # Accept absolute paths.
16202 re_direlt
='/[^/][^/]*/\.\./'
16203 # Canonicalize the pathname of ld
16204 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16205 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
16206 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16208 test -z "$LD" && LD
=$ac_prog
16211 # If it fails, then pretend we aren't using GCC.
16215 # If it is relative, then search for the first ld in PATH.
16216 with_gnu_ld
=unknown
16219 elif test yes = "$with_gnu_ld"; then
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16221 $as_echo_n "checking for GNU ld... " >&6; }
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16224 $as_echo_n "checking for non-GNU ld... " >&6; }
16226 if ${lt_cv_path_LD+:} false
; then :
16227 $as_echo_n "(cached) " >&6
16229 if test -z "$LD"; then
16230 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
16231 for ac_dir
in $PATH; do
16233 test -z "$ac_dir" && ac_dir
=.
16234 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16235 lt_cv_path_LD
=$ac_dir/$ac_prog
16236 # Check to see if the program is GNU ld. I'd rather use --version,
16237 # but apparently some variants of GNU ld only accept -v.
16238 # Break only if it was the GNU/non-GNU ld that we prefer.
16239 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16240 *GNU
* |
*'with BFD'*)
16241 test no
!= "$with_gnu_ld" && break
16244 test yes != "$with_gnu_ld" && break
16251 lt_cv_path_LD
=$LD # Let the user override the test with a path.
16256 if test -n "$LD"; then
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16258 $as_echo "$LD" >&6; }
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16261 $as_echo "no" >&6; }
16263 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16265 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16266 if ${lt_cv_prog_gnu_ld+:} false
; then :
16267 $as_echo_n "(cached) " >&6
16269 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16270 case `$LD -v 2>&1 </dev/null` in
16271 *GNU
* |
*'with BFD'*)
16272 lt_cv_prog_gnu_ld
=yes
16275 lt_cv_prog_gnu_ld
=no
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16280 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
16281 with_gnu_ld
=$lt_cv_prog_gnu_ld
16289 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16290 # archiving commands below assume that GNU ld is being used.
16291 if test yes = "$with_gnu_ld"; then
16292 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16293 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'
16295 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16296 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
16298 # If archive_cmds runs LD, not CC, wlarc should be empty
16299 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16300 # investigate it a little bit more. (MM)
16303 # ancient GNU ld didn't support --whole-archive et. al.
16304 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
16305 $GREP 'no-whole-archive' > /dev
/null
; then
16306 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16308 whole_archive_flag_spec_CXX
=
16314 # A generic and very simple default shared library creation
16315 # command for GNU C++ for the case where it uses the native
16316 # linker, instead of GNU ld. If possible, this setting should
16317 # overridden to take advantage of the native linker features on
16318 # the platform it is being used on.
16319 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16322 # Commands to make compiler produce verbose output that lists
16323 # what "hidden" libraries, object files and flags are used when
16324 # linking a shared library.
16325 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16333 # PORTME: fill in a description of your system's C++ link characteristics
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16335 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16339 # FIXME: insert proper C++ library support
16343 if test ia64
= "$host_cpu"; then
16344 # On IA64, the linker does run time linking by default, so we don't
16345 # have to do anything special.
16346 aix_use_runtimelinking
=no
16347 exp_sym_flag
='-Bexport'
16350 aix_use_runtimelinking
=no
16352 # Test if we are trying to use run time linking or normal
16353 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16354 # have runtime linking enabled, and use it for executables.
16355 # For shared libraries, we enable/disable runtime linking
16356 # depending on the kind of the shared library created -
16357 # when "with_aix_soname,aix_use_runtimelinking" is:
16358 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
16359 # "aix,yes" lib.so shared, rtl:yes, for executables
16360 # lib.a static archive
16361 # "both,no" lib.so.V(shr.o) shared, rtl:yes
16362 # lib.a(lib.so.V) shared, rtl:no, for executables
16363 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
16364 # lib.a(lib.so.V) shared, rtl:no
16365 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
16366 # lib.a static archive
16367 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16368 for ld_flag
in $LDFLAGS; do
16371 aix_use_runtimelinking
=yes
16376 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
16377 # With aix-soname=svr4, we create the lib.so.V shared archives only,
16378 # so we don't have lib.a shared libs to link our executables.
16379 # We have to force runtime linking in this case.
16380 aix_use_runtimelinking
=yes
16381 LDFLAGS
="$LDFLAGS -Wl,-brtl"
16386 exp_sym_flag
='-bexport'
16387 no_entry_flag
='-bnoentry'
16390 # When large executables or shared objects are built, AIX ld can
16391 # have problems creating the table of contents. If linking a library
16392 # or program results in "error TOC overflow" add -mminimal-toc to
16393 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16394 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16396 archive_cmds_CXX
=''
16397 hardcode_direct_CXX
=yes
16398 hardcode_direct_absolute_CXX
=yes
16399 hardcode_libdir_separator_CXX
=':'
16400 link_all_deplibs_CXX
=yes
16401 file_list_spec_CXX
='$wl-f,'
16402 case $with_aix_soname,$aix_use_runtimelinking in
16403 aix
,*) ;; # no import file
16404 svr4
,* |
*,yes) # use import file
16405 # The Import File defines what to hardcode.
16406 hardcode_direct_CXX
=no
16407 hardcode_direct_absolute_CXX
=no
16411 if test yes = "$GXX"; then
16412 case $host_os in aix4.
[012]|aix4.
[012].
*)
16413 # We only want to do this on AIX 4.2 and lower, the check
16414 # below for broken collect2 doesn't work under 4.3+
16415 collect2name
=`$CC -print-prog-name=collect2`
16416 if test -f "$collect2name" &&
16417 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
16419 # We have reworked collect2
16422 # We have old collect2
16423 hardcode_direct_CXX
=unsupported
16424 # It fails to find uninstalled libraries when the uninstalled
16425 # path is not listed in the libpath. Setting hardcode_minus_L
16426 # to unsupported forces relinking
16427 hardcode_minus_L_CXX
=yes
16428 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16429 hardcode_libdir_separator_CXX
=
16432 shared_flag
='-shared'
16433 if test yes = "$aix_use_runtimelinking"; then
16434 shared_flag
=$shared_flag' $wl-G'
16436 # Need to ensure runtime linking is disabled for the traditional
16437 # shared library, or the linker may eventually find shared libraries
16438 # /with/ Import File - we do not want to mix them.
16439 shared_flag_aix
='-shared'
16440 shared_flag_svr4
='-shared $wl-G'
16443 if test ia64
= "$host_cpu"; then
16444 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16445 # chokes on -Wl,-G. The following line is correct:
16448 if test yes = "$aix_use_runtimelinking"; then
16449 shared_flag
='$wl-G'
16451 shared_flag
='$wl-bM:SRE'
16453 shared_flag_aix
='$wl-bM:SRE'
16454 shared_flag_svr4
='$wl-G'
16458 export_dynamic_flag_spec_CXX
='$wl-bexpall'
16459 # It seems that -bexpall does not export symbols beginning with
16460 # underscore (_), so it is better to generate a list of symbols to
16462 always_export_symbols_CXX
=yes
16463 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
16464 # Warning - without using the other runtime loading flags (-brtl),
16465 # -berok will link without error, but may produce a broken library.
16466 # The "-G" linker flag allows undefined symbols.
16467 no_undefined_flag_CXX
='-bernotok'
16468 # Determine the default libpath from the value encoded in an empty
16470 if test set = "${lt_cv_aix_libpath+set}"; then
16471 aix_libpath
=$lt_cv_aix_libpath
16473 if ${lt_cv_aix_libpath__CXX+:} false
; then :
16474 $as_echo_n "(cached) " >&6
16476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16487 if ac_fn_cxx_try_link
"$LINENO"; then :
16489 lt_aix_libpath_sed
='
16490 /Import File Strings/,/^$/ {
16492 s/^0 *\([^ ]*\) *$/\1/
16496 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16497 # Check for a 64-bit object if we didn't find anything.
16498 if test -z "$lt_cv_aix_libpath__CXX"; then
16499 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16502 rm -f core conftest.err conftest.
$ac_objext \
16503 conftest
$ac_exeext conftest.
$ac_ext
16504 if test -z "$lt_cv_aix_libpath__CXX"; then
16505 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
16510 aix_libpath
=$lt_cv_aix_libpath__CXX
16513 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
16515 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
16517 if test ia64
= "$host_cpu"; then
16518 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
16519 allow_undefined_flag_CXX
="-z nodefs"
16520 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"
16522 # Determine the default libpath from the value encoded in an
16523 # empty executable.
16524 if test set = "${lt_cv_aix_libpath+set}"; then
16525 aix_libpath
=$lt_cv_aix_libpath
16527 if ${lt_cv_aix_libpath__CXX+:} false
; then :
16528 $as_echo_n "(cached) " >&6
16530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16541 if ac_fn_cxx_try_link
"$LINENO"; then :
16543 lt_aix_libpath_sed
='
16544 /Import File Strings/,/^$/ {
16546 s/^0 *\([^ ]*\) *$/\1/
16550 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16551 # Check for a 64-bit object if we didn't find anything.
16552 if test -z "$lt_cv_aix_libpath__CXX"; then
16553 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16556 rm -f core conftest.err conftest.
$ac_objext \
16557 conftest
$ac_exeext conftest.
$ac_ext
16558 if test -z "$lt_cv_aix_libpath__CXX"; then
16559 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
16564 aix_libpath
=$lt_cv_aix_libpath__CXX
16567 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
16568 # Warning - without using the other run time loading flags,
16569 # -berok will link without error, but may produce a broken library.
16570 no_undefined_flag_CXX
=' $wl-bernotok'
16571 allow_undefined_flag_CXX
=' $wl-berok'
16572 if test yes = "$with_gnu_ld"; then
16573 # We only use this code for GNU lds that support --whole-archive.
16574 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
16576 # Exported symbols can be pulled into shared objects from archives
16577 whole_archive_flag_spec_CXX
='$convenience'
16579 archive_cmds_need_lc_CXX
=yes
16580 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
16581 # -brtl affects multiple linker settings, -berok does not and is overridden later
16582 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
16583 if test svr4
!= "$with_aix_soname"; then
16584 # This is similar to how AIX traditionally builds its shared
16585 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
16586 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'
16588 if test aix
!= "$with_aix_soname"; then
16589 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'
16591 # used by -dlpreopen to get the symbols
16592 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
16594 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
16600 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16601 allow_undefined_flag_CXX
=unsupported
16602 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16603 # support --undefined. This deserves some investigation. FIXME
16604 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16611 case $cc_basename in
16613 # FIXME: insert proper C++ library support
16619 cygwin
* | mingw
* | pw32
* | cegcc
*)
16620 case $GXX,$cc_basename in
16623 # hardcode_libdir_flag_spec is actually meaningless, as there is
16624 # no search path for DLLs.
16625 hardcode_libdir_flag_spec_CXX
=' '
16626 allow_undefined_flag_CXX
=unsupported
16627 always_export_symbols_CXX
=yes
16628 file_list_spec_CXX
='@'
16629 # Tell ltmain to make .lib files, not .a files.
16631 # Tell ltmain to make .dll files, not .so files.
16633 # FIXME: Setting linknames here is a bad hack.
16634 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
16635 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16636 cp "$export_symbols" "$output_objdir/$soname.def";
16637 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
16639 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
16641 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
16643 # The linker will not automatically build a static lib if we build a DLL.
16644 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
16645 enable_shared_with_static_runtimes_CXX
=yes
16647 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
16648 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
16649 lt_tool_outputfile="@TOOL_OUTPUT@"~
16650 case $lt_outputfile in
16653 lt_outputfile=$lt_outputfile.exe
16654 lt_tool_outputfile=$lt_tool_outputfile.exe
16657 func_to_tool_file "$lt_outputfile"~
16658 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
16659 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
16660 $RM "$lt_outputfile.manifest";
16665 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16666 # as there is no search path for DLLs.
16667 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16668 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
16669 allow_undefined_flag_CXX
=unsupported
16670 always_export_symbols_CXX
=no
16671 enable_shared_with_static_runtimes_CXX
=yes
16673 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
16674 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'
16675 # If the export-symbols file already is a .def file, use it as
16676 # is; otherwise, prepend EXPORTS...
16677 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16678 cp $export_symbols $output_objdir/$soname.def;
16680 echo EXPORTS > $output_objdir/$soname.def;
16681 cat $export_symbols >> $output_objdir/$soname.def;
16683 $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'
16690 darwin
* | rhapsody
*)
16693 archive_cmds_need_lc_CXX
=no
16694 hardcode_direct_CXX
=no
16695 hardcode_automatic_CXX
=yes
16696 hardcode_shlibpath_var_CXX
=unsupported
16697 if test yes = "$lt_cv_ld_force_load"; then
16698 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\"`'
16701 whole_archive_flag_spec_CXX
=''
16703 link_all_deplibs_CXX
=yes
16704 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
16705 case $cc_basename in
16706 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
16707 *) _lt_dar_can_shared
=$GCC ;;
16709 if test yes = "$_lt_dar_can_shared"; then
16710 output_verbose_link_cmd
=func_echo_all
16711 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"
16712 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
16713 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"
16714 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"
16715 if test yes != "$lt_cv_apple_cc_single_mod"; then
16716 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"
16717 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"
16727 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16728 hardcode_minus_L_CXX
=yes
16729 allow_undefined_flag_CXX
=unsupported
16731 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16732 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16733 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16734 $ECHO EXPORTS >> $output_objdir/$libname.def~
16735 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
16736 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16737 emximp -o $lib $output_objdir/$libname.def'
16738 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16739 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16740 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16741 $ECHO EXPORTS >> $output_objdir/$libname.def~
16742 prefix_cmds="$SED"~
16743 if test EXPORTS = "`$SED 1q $export_symbols`"; then
16744 prefix_cmds="$prefix_cmds -e 1d";
16746 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
16747 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
16748 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16749 emximp -o $lib $output_objdir/$libname.def'
16750 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
16751 enable_shared_with_static_runtimes_CXX
=yes
16755 case $cc_basename in
16757 # FIXME: insert proper C++ library support
16761 # Green Hills C++ Compiler
16762 # FIXME: insert proper C++ library support
16766 # FIXME: insert proper C++ library support
16773 # C++ shared libraries reported to be fairly broken before
16779 archive_cmds_need_lc_CXX
=no
16782 freebsd
* | dragonfly
*)
16783 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16789 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16790 link_all_deplibs_CXX
=yes
16794 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
16795 hardcode_libdir_separator_CXX
=:
16796 export_dynamic_flag_spec_CXX
='$wl-E'
16797 hardcode_direct_CXX
=yes
16798 hardcode_minus_L_CXX
=yes # Not in the search PATH,
16799 # but as the default
16800 # location of the library.
16802 case $cc_basename in
16804 # FIXME: insert proper C++ library support
16808 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'
16809 # Commands to make compiler produce verbose output that lists
16810 # what "hidden" libraries, object files and flags are used when
16811 # linking a shared library.
16813 # There doesn't appear to be a way to prevent this compiler from
16814 # explicitly linking system object files so we need to strip them
16815 # from the output so that they don't get included in the library
16817 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"'
16820 if test yes = "$GXX"; then
16821 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'
16823 # FIXME: insert proper C++ library support
16831 if test no
= "$with_gnu_ld"; then
16832 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
16833 hardcode_libdir_separator_CXX
=:
16839 export_dynamic_flag_spec_CXX
='$wl-E'
16845 hardcode_direct_CXX
=no
16846 hardcode_shlibpath_var_CXX
=no
16849 hardcode_direct_CXX
=yes
16850 hardcode_direct_absolute_CXX
=yes
16851 hardcode_minus_L_CXX
=yes # Not in the search PATH,
16852 # but as the default
16853 # location of the library.
16857 case $cc_basename in
16859 # FIXME: insert proper C++ library support
16865 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16868 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16871 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16874 # Commands to make compiler produce verbose output that lists
16875 # what "hidden" libraries, object files and flags are used when
16876 # linking a shared library.
16878 # There doesn't appear to be a way to prevent this compiler from
16879 # explicitly linking system object files so we need to strip them
16880 # from the output so that they don't get included in the library
16882 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"'
16885 if test yes = "$GXX"; then
16886 if test no
= "$with_gnu_ld"; then
16889 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16892 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16895 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'
16900 # FIXME: insert proper C++ library support
16908 hardcode_direct_CXX
=no
16909 hardcode_shlibpath_var_CXX
=no
16910 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16911 export_dynamic_flag_spec_CXX
='$wl-E'
16912 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16913 # Instead, shared libraries are loaded at an image base (0x10000000 by
16914 # default) and relocated if they conflict, which is a slow very memory
16915 # consuming and fragmenting process. To avoid this, we pick a random,
16916 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16917 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16918 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'
16919 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'
16922 case $cc_basename in
16925 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'
16927 # Archives containing C++ object files must be created using
16928 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16929 # necessary to make sure instantiated templates are included
16931 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
16934 if test yes = "$GXX"; then
16935 if test no
= "$with_gnu_ld"; then
16936 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'
16938 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'
16941 link_all_deplibs_CXX
=yes
16944 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16945 hardcode_libdir_separator_CXX
=:
16946 inherit_rpath_CXX
=yes
16949 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16950 case $cc_basename in
16952 # Kuck and Associates, Inc. (KAI) C++ Compiler
16954 # KCC will only create a shared library if the output file
16955 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16956 # to its proper name (with version) after linking.
16957 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'
16958 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'
16959 # Commands to make compiler produce verbose output that lists
16960 # what "hidden" libraries, object files and flags are used when
16961 # linking a shared library.
16963 # There doesn't appear to be a way to prevent this compiler from
16964 # explicitly linking system object files so we need to strip them
16965 # from the output so that they don't get included in the library
16967 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"'
16969 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16970 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
16972 # Archives containing C++ object files must be created using
16973 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16974 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
16979 # version 8.0 and above of icpc choke on multiply defined symbols
16980 # if we add $predep_objects and $postdep_objects, however 7.1 and
16981 # earlier do not add the objects themselves.
16982 case `$CC -V 2>&1` in
16984 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16985 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'
16987 *) # Version 8.0 or newer
16990 ia64
*) tmp_idyn
=' -i_dynamic';;
16992 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16993 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'
16996 archive_cmds_need_lc_CXX
=no
16997 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16998 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
16999 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
17002 # Portland Group C++ compiler
17004 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
17005 prelink_cmds_CXX
='tpldir=Template.dir~
17007 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
17008 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
17009 old_archive_cmds_CXX
='tpldir=Template.dir~
17011 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
17012 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
17014 archive_cmds_CXX
='tpldir=Template.dir~
17016 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17017 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17018 archive_expsym_cmds_CXX
='tpldir=Template.dir~
17020 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17021 $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'
17023 *) # Version 6 and above use weak symbols
17024 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17025 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'
17029 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
17030 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17031 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'
17035 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17036 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'
17038 runpath_var
=LD_RUN_PATH
17039 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
17040 hardcode_libdir_separator_CXX
=:
17042 # Commands to make compiler produce verbose output that lists
17043 # what "hidden" libraries, object files and flags are used when
17044 # linking a shared library.
17046 # There doesn't appear to be a way to prevent this compiler from
17047 # explicitly linking system object files so we need to strip them
17048 # from the output so that they don't get included in the library
17050 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'
17052 xl
* | mpixl
* | bgxl
*)
17053 # IBM XL 8.0 on PPC, with GNU ld
17054 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17055 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17056 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17057 if test yes = "$supports_anon_versioning"; then
17058 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
17059 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17060 echo "local: *; };" >> $output_objdir/$libname.ver~
17061 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
17065 case `$CC -V 2>&1 | sed 5q` in
17068 no_undefined_flag_CXX
=' -zdefs'
17069 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17070 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'
17071 hardcode_libdir_flag_spec_CXX
='-R$libdir'
17072 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'
17073 compiler_needs_object_CXX
=yes
17075 # Not sure whether something based on
17076 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
17078 output_verbose_link_cmd
='func_echo_all'
17080 # Archives containing C++ object files must be created using
17081 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17082 # necessary to make sure instantiated templates are included
17084 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
17092 # FIXME: insert proper C++ library support
17097 # FIXME: insert proper C++ library support
17102 case $cc_basename in
17104 # FIXME: insert proper C++ library support
17108 # FIXME: insert proper C++ library support
17115 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17116 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17118 hardcode_libdir_flag_spec_CXX
='-R$libdir'
17119 hardcode_direct_CXX
=yes
17120 hardcode_shlibpath_var_CXX
=no
17122 # Workaround some broken pre-1.5 toolchains
17123 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17130 openbsd
* | bitrig
*)
17131 if test -f /usr
/libexec
/ld.so
; then
17132 hardcode_direct_CXX
=yes
17133 hardcode_shlibpath_var_CXX
=no
17134 hardcode_direct_absolute_CXX
=yes
17135 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17136 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
17137 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
17138 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
17139 export_dynamic_flag_spec_CXX
='$wl-E'
17140 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
17142 output_verbose_link_cmd
=func_echo_all
17148 osf3
* | osf4
* | osf5
*)
17149 case $cc_basename in
17151 # Kuck and Associates, Inc. (KAI) C++ Compiler
17153 # KCC will only create a shared library if the output file
17154 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17155 # to its proper name (with version) after linking.
17156 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'
17158 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
17159 hardcode_libdir_separator_CXX
=:
17161 # Archives containing C++ object files must be created using
17162 # the KAI C++ compiler.
17164 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
17165 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
17169 # Rational C++ 2.4.1
17170 # FIXME: insert proper C++ library support
17176 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
17177 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'
17178 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17181 allow_undefined_flag_CXX
=' -expect_unresolved \*'
17182 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'
17183 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17184 echo "-hidden">> $lib.exp~
17185 $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~
17187 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
17191 hardcode_libdir_separator_CXX
=:
17193 # Commands to make compiler produce verbose output that lists
17194 # what "hidden" libraries, object files and flags are used when
17195 # linking a shared library.
17197 # There doesn't appear to be a way to prevent this compiler from
17198 # explicitly linking system object files so we need to strip them
17199 # from the output so that they don't get included in the library
17201 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"'
17204 if test yes,no
= "$GXX,$with_gnu_ld"; then
17205 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
17208 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'
17211 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'
17215 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17216 hardcode_libdir_separator_CXX
=:
17218 # Commands to make compiler produce verbose output that lists
17219 # what "hidden" libraries, object files and flags are used when
17220 # linking a shared library.
17221 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17224 # FIXME: insert proper C++ library support
17232 # FIXME: insert proper C++ library support
17237 case $cc_basename in
17240 # FIXME: insert proper C++ library support
17245 # FIXME: insert proper C++ library support
17249 # FIXME: insert proper C++ library support
17256 case $cc_basename in
17258 # Sun C++ 4.2, 5.x and Centerline C++
17259 archive_cmds_need_lc_CXX
=yes
17260 no_undefined_flag_CXX
=' -zdefs'
17261 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17262 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17263 $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'
17265 hardcode_libdir_flag_spec_CXX
='-R$libdir'
17266 hardcode_shlibpath_var_CXX
=no
17268 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17270 # The compiler driver will combine and reorder linker options,
17271 # but understands '-z linker_flag'.
17272 # Supported since Solaris 2.6 (maybe 2.5.1?)
17273 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
17276 link_all_deplibs_CXX
=yes
17278 output_verbose_link_cmd
='func_echo_all'
17280 # Archives containing C++ object files must be created using
17281 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17282 # necessary to make sure instantiated templates are included
17284 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
17287 # Green Hills C++ Compiler
17288 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17290 # The C++ compiler must be used to create the archive.
17291 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17294 # GNU C++ compiler with Solaris linker
17295 if test yes,no
= "$GXX,$with_gnu_ld"; then
17296 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
17297 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
17298 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17299 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17300 $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'
17302 # Commands to make compiler produce verbose output that lists
17303 # what "hidden" libraries, object files and flags are used when
17304 # linking a shared library.
17305 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17307 # g++ 2.7 appears to require '-G' NOT '-shared' on this
17309 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17310 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17311 $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'
17313 # Commands to make compiler produce verbose output that lists
17314 # what "hidden" libraries, object files and flags are used when
17315 # linking a shared library.
17316 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17319 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
17321 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17323 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
17331 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17332 no_undefined_flag_CXX
='$wl-z,text'
17333 archive_cmds_need_lc_CXX
=no
17334 hardcode_shlibpath_var_CXX
=no
17335 runpath_var
='LD_RUN_PATH'
17337 case $cc_basename in
17339 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17340 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17343 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17344 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17349 sysv5
* | sco3.2v5
* | sco5v6
*)
17350 # Note: We CANNOT use -z defs as we might desire, because we do not
17351 # link with -lc, and that would cause any symbols used from libc to
17352 # always be unresolved, which means just about no library would
17353 # ever link correctly. If we're not using GNU ld we use -z text
17354 # though, which does catch some bad symbols but isn't as heavy-handed
17356 no_undefined_flag_CXX
='$wl-z,text'
17357 allow_undefined_flag_CXX
='$wl-z,nodefs'
17358 archive_cmds_need_lc_CXX
=no
17359 hardcode_shlibpath_var_CXX
=no
17360 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
17361 hardcode_libdir_separator_CXX
=':'
17362 link_all_deplibs_CXX
=yes
17363 export_dynamic_flag_spec_CXX
='$wl-Bexport'
17364 runpath_var
='LD_RUN_PATH'
17366 case $cc_basename in
17368 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17369 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17370 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
17371 '"$old_archive_cmds_CXX"
17372 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
17373 '"$reload_cmds_CXX"
17376 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17377 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17383 case $cc_basename in
17385 # NonStop-UX NCC 3.20
17386 # FIXME: insert proper C++ library support
17390 # FIXME: insert proper C++ library support
17397 # FIXME: insert proper C++ library support
17402 # FIXME: insert proper C++ library support
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17408 $as_echo "$ld_shlibs_CXX" >&6; }
17409 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
17415 ## There is no encapsulation within the following macros, do not change
17416 ## the running order or otherwise move them around unless you know exactly
17417 ## what you are doing...
17418 # Dependencies to place before and after the object being linked:
17419 predep_objects_CXX
=
17420 postdep_objects_CXX
=
17423 compiler_lib_search_path_CXX
=
17425 cat > conftest.
$ac_ext <<_LT_EOF
17429 Foo (void) { a = 0; }
17436 _lt_libdeps_save_CFLAGS
=$CFLAGS
17437 case "$CC $CFLAGS " in #(
17438 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
17439 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
17440 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
17443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17444 (eval $ac_compile) 2>&5
17446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17447 test $ac_status = 0; }; then
17448 # Parse the compiler output and extract the necessary
17449 # objects, libraries and library flags.
17451 # Sentinel used to keep track of whether or not we are before
17452 # the conftest object file.
17453 pre_test_object_deps_done
=no
17455 for p
in `eval "$output_verbose_link_cmd"`; do
17459 # Some compilers place space between "-{L,R}" and the path.
17460 # Remove the space.
17461 if test x-L
= "$p" ||
17462 test x-R
= "$p"; then
17467 # Expand the sysroot to ease extracting the directories later.
17468 if test -z "$prev"; then
17470 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
17471 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
17472 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
17476 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
17478 if test no
= "$pre_test_object_deps_done"; then
17481 # Internal compiler library paths should come after those
17482 # provided the user. The postdeps already come after the
17483 # user supplied libs so there is no need to process them.
17484 if test -z "$compiler_lib_search_path_CXX"; then
17485 compiler_lib_search_path_CXX
=$prev$p
17487 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
17490 # The "-l" case would never come before the object being
17491 # linked, so don't bother handling this case.
17494 if test -z "$postdeps_CXX"; then
17495 postdeps_CXX
=$prev$p
17497 postdeps_CXX
="${postdeps_CXX} $prev$p"
17503 *.lto.
$objext) ;; # Ignore GCC LTO objects
17505 # This assumes that the test object file only shows up
17506 # once in the compiler output.
17507 if test "$p" = "conftest.$objext"; then
17508 pre_test_object_deps_done
=yes
17512 if test no
= "$pre_test_object_deps_done"; then
17513 if test -z "$predep_objects_CXX"; then
17514 predep_objects_CXX
=$p
17516 predep_objects_CXX
="$predep_objects_CXX $p"
17519 if test -z "$postdep_objects_CXX"; then
17520 postdep_objects_CXX
=$p
17522 postdep_objects_CXX
="$postdep_objects_CXX $p"
17527 *) ;; # Ignore the rest.
17535 echo "libtool.m4: error: problem compiling CXX test program"
17538 $RM -f confest.
$objext
17539 CFLAGS
=$_lt_libdeps_save_CFLAGS
17541 # PORTME: override above test on systems where it is broken
17544 # Interix 3.5 installs completely hosed .la files for C++, so rather than
17545 # hack all around it, let's just trust "g++" to DTRT.
17546 predep_objects_CXX
=
17547 postdep_objects_CXX
=
17553 case " $postdeps_CXX " in
17554 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
17556 compiler_lib_search_dirs_CXX
=
17557 if test -n "${compiler_lib_search_path_CXX}"; then
17558 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
17591 lt_prog_compiler_wl_CXX
=
17592 lt_prog_compiler_pic_CXX
=
17593 lt_prog_compiler_static_CXX
=
17596 # C++ specific cases for pic, static, wl, etc.
17597 if test yes = "$GXX"; then
17598 lt_prog_compiler_wl_CXX
='-Wl,'
17599 lt_prog_compiler_static_CXX
='-static'
17603 # All AIX code is PIC.
17604 if test ia64
= "$host_cpu"; then
17605 # AIX 5 now supports IA64 processor
17606 lt_prog_compiler_static_CXX
='-Bstatic'
17608 lt_prog_compiler_pic_CXX
='-fPIC'
17614 # see comment about AmigaOS4 .so support
17615 lt_prog_compiler_pic_CXX
='-fPIC'
17618 # FIXME: we need at least 68020 code to build shared libraries, but
17619 # adding the '-m68020' flag to GCC prevents building anything better,
17621 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
17626 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17627 # PIC is the default for these OSes.
17629 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
17630 # This hack is so that the source file can tell whether it is being
17631 # built for inclusion in a dll (and should export symbols for example).
17632 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17633 # (--disable-auto-import) libraries
17634 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
17637 lt_prog_compiler_static_CXX
='$wl-static'
17641 darwin
* | rhapsody
*)
17642 # PIC is the default on this platform
17643 # Common symbols not allowed in MH_DYLIB files
17644 lt_prog_compiler_pic_CXX
='-fno-common'
17647 # DJGPP does not support shared libraries at all
17648 lt_prog_compiler_pic_CXX
=
17651 # PIC is the default for Haiku.
17652 # The "-static" flag exists, but is broken.
17653 lt_prog_compiler_static_CXX
=
17656 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17657 # Instead, we relocate shared libraries at runtime.
17660 if test -d /usr
/nec
; then
17661 lt_prog_compiler_pic_CXX
=-Kconform_pic
17665 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17666 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17667 # sets the default TLS model and affects inlining.
17672 lt_prog_compiler_pic_CXX
='-fPIC'
17677 # QNX uses GNU C++, but need to define -shared option too, otherwise
17678 # it will coredump.
17679 lt_prog_compiler_pic_CXX
='-fPIC -shared'
17682 lt_prog_compiler_pic_CXX
='-fPIC'
17688 # All AIX code is PIC.
17689 if test ia64
= "$host_cpu"; then
17690 # AIX 5 now supports IA64 processor
17691 lt_prog_compiler_static_CXX
='-Bstatic'
17693 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
17697 case $cc_basename in
17699 # Green Hills C++ Compiler
17700 # _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"
17704 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
17705 # This hack is so that the source file can tell whether it is being
17706 # built for inclusion in a dll (and should export symbols for example).
17707 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
17710 case $cc_basename in
17712 lt_prog_compiler_pic_CXX
='-KPIC'
17715 # Green Hills C++ Compiler
17716 lt_prog_compiler_pic_CXX
='-pic'
17722 freebsd
* | dragonfly
*)
17723 # FreeBSD uses GNU C++
17725 hpux9
* | hpux10
* | hpux11
*)
17726 case $cc_basename in
17728 lt_prog_compiler_wl_CXX
='-Wl,'
17729 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
17730 if test ia64
!= "$host_cpu"; then
17731 lt_prog_compiler_pic_CXX
='+Z'
17735 lt_prog_compiler_wl_CXX
='-Wl,'
17736 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
17742 lt_prog_compiler_pic_CXX
='+Z'
17751 # This is c89, which is MS Visual C++ (no shared libs)
17752 # Anyone wants to do a port?
17754 irix5
* | irix6
* | nonstopux
*)
17755 case $cc_basename in
17757 lt_prog_compiler_wl_CXX
='-Wl,'
17758 lt_prog_compiler_static_CXX
='-non_shared'
17759 # CC pic flag -KPIC is the default.
17765 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17766 case $cc_basename in
17769 lt_prog_compiler_wl_CXX
='--backend -Wl,'
17770 lt_prog_compiler_pic_CXX
='-fPIC'
17773 # old Intel C++ for x86_64, which still supported -KPIC.
17774 lt_prog_compiler_wl_CXX
='-Wl,'
17775 lt_prog_compiler_pic_CXX
='-KPIC'
17776 lt_prog_compiler_static_CXX
='-static'
17779 # Intel C++, used to be incompatible with GCC.
17780 # ICC 10 doesn't accept -KPIC any more.
17781 lt_prog_compiler_wl_CXX
='-Wl,'
17782 lt_prog_compiler_pic_CXX
='-fPIC'
17783 lt_prog_compiler_static_CXX
='-static'
17786 # Portland Group C++ compiler
17787 lt_prog_compiler_wl_CXX
='-Wl,'
17788 lt_prog_compiler_pic_CXX
='-fpic'
17789 lt_prog_compiler_static_CXX
='-Bstatic'
17793 # Make sure the PIC flag is empty. It appears that all Alpha
17794 # Linux and Compaq Tru64 Unix objects are PIC.
17795 lt_prog_compiler_pic_CXX
=
17796 lt_prog_compiler_static_CXX
='-non_shared'
17798 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
17799 # IBM XL 8.0, 9.0 on PPC and BlueGene
17800 lt_prog_compiler_wl_CXX
='-Wl,'
17801 lt_prog_compiler_pic_CXX
='-qpic'
17802 lt_prog_compiler_static_CXX
='-qstaticlink'
17805 case `$CC -V 2>&1 | sed 5q` in
17808 lt_prog_compiler_pic_CXX
='-KPIC'
17809 lt_prog_compiler_static_CXX
='-Bstatic'
17810 lt_prog_compiler_wl_CXX
='-Qoption ld '
17821 case $cc_basename in
17823 lt_prog_compiler_pic_CXX
='-W c,exportall'
17832 # QNX uses GNU C++, but need to define -shared option too, otherwise
17833 # it will coredump.
17834 lt_prog_compiler_pic_CXX
='-fPIC -shared'
17836 osf3
* | osf4
* | osf5
*)
17837 case $cc_basename in
17839 lt_prog_compiler_wl_CXX
='--backend -Wl,'
17842 # Rational C++ 2.4.1
17843 lt_prog_compiler_pic_CXX
='-pic'
17846 # Digital/Compaq C++
17847 lt_prog_compiler_wl_CXX
='-Wl,'
17848 # Make sure the PIC flag is empty. It appears that all Alpha
17849 # Linux and Compaq Tru64 Unix objects are PIC.
17850 lt_prog_compiler_pic_CXX
=
17851 lt_prog_compiler_static_CXX
='-non_shared'
17860 case $cc_basename in
17862 # Sun C++ 4.2, 5.x and Centerline C++
17863 lt_prog_compiler_pic_CXX
='-KPIC'
17864 lt_prog_compiler_static_CXX
='-Bstatic'
17865 lt_prog_compiler_wl_CXX
='-Qoption ld '
17868 # Green Hills C++ Compiler
17869 lt_prog_compiler_pic_CXX
='-PIC'
17876 case $cc_basename in
17879 lt_prog_compiler_pic_CXX
='-pic'
17880 lt_prog_compiler_static_CXX
='-Bstatic'
17884 lt_prog_compiler_pic_CXX
='-pic'
17890 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17891 case $cc_basename in
17893 lt_prog_compiler_wl_CXX
='-Wl,'
17894 lt_prog_compiler_pic_CXX
='-KPIC'
17895 lt_prog_compiler_static_CXX
='-Bstatic'
17900 case $cc_basename in
17902 # NonStop-UX NCC 3.20
17903 lt_prog_compiler_pic_CXX
='-KPIC'
17912 lt_prog_compiler_can_build_shared_CXX
=no
17918 # For platforms that do not support PIC, -DPIC is meaningless:
17920 lt_prog_compiler_pic_CXX
=
17923 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17928 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17929 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
17930 $as_echo_n "(cached) " >&6
17932 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
17935 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
17936 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
17939 # Check to make sure the PIC flag actually works.
17941 if test -n "$lt_prog_compiler_pic_CXX"; then
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17943 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17944 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
17945 $as_echo_n "(cached) " >&6
17947 lt_cv_prog_compiler_pic_works_CXX
=no
17948 ac_outfile
=conftest.
$ac_objext
17949 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17950 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
17951 # Insert the option either (1) after the last *FLAGS variable, or
17952 # (2) before a word containing "conftest.", or (3) at the end.
17953 # Note that $ac_compile itself does not contain backslashes and begins
17954 # with a dollar sign (not a hyphen), so the echo should work correctly.
17955 # The option is referenced via a variable to avoid confusing sed.
17956 lt_compile
=`echo "$ac_compile" | $SED \
17957 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17958 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17959 -e 's:$: $lt_compiler_flag:'`
17960 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17961 (eval "$lt_compile" 2>conftest.err
)
17963 cat conftest.err
>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 if (exit $ac_status) && test -s "$ac_outfile"; then
17966 # The compiler can only warn and ignore the option if not recognized
17967 # So say no if there are warnings other than the usual output.
17968 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17969 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17970 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17971 lt_cv_prog_compiler_pic_works_CXX
=yes
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17978 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17980 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
17981 case $lt_prog_compiler_pic_CXX in
17983 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
17986 lt_prog_compiler_pic_CXX
=
17987 lt_prog_compiler_can_build_shared_CXX
=no
17997 # Check to make sure the static flag actually works.
17999 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18001 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18002 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
18003 $as_echo_n "(cached) " >&6
18005 lt_cv_prog_compiler_static_works_CXX
=no
18006 save_LDFLAGS
=$LDFLAGS
18007 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18008 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
18009 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18010 # The linker can only warn and ignore the option if not recognized
18011 # So say no if there are warnings
18012 if test -s conftest.err
; then
18013 # Append any errors to the config.log.
18014 cat conftest.err
1>&5
18015 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
18016 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18017 if diff conftest.exp conftest.er2
>/dev
/null
; then
18018 lt_cv_prog_compiler_static_works_CXX
=yes
18021 lt_cv_prog_compiler_static_works_CXX
=yes
18025 LDFLAGS
=$save_LDFLAGS
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
18029 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
18031 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
18034 lt_prog_compiler_static_CXX
=
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18041 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18042 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
18043 $as_echo_n "(cached) " >&6
18045 lt_cv_prog_compiler_c_o_CXX
=no
18046 $RM -r conftest
2>/dev
/null
18050 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18052 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18053 # Insert the option either (1) after the last *FLAGS variable, or
18054 # (2) before a word containing "conftest.", or (3) at the end.
18055 # Note that $ac_compile itself does not contain backslashes and begins
18056 # with a dollar sign (not a hyphen), so the echo should work correctly.
18057 lt_compile
=`echo "$ac_compile" | $SED \
18058 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18059 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18060 -e 's:$: $lt_compiler_flag:'`
18061 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18062 (eval "$lt_compile" 2>out
/conftest.err
)
18064 cat out
/conftest.err
>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18068 # The compiler can only warn and ignore the option if not recognized
18069 # So say no if there are warnings
18070 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
18071 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18072 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18073 lt_cv_prog_compiler_c_o_CXX
=yes
18078 # SGI C++ compiler will create directory out/ii_files/ for
18079 # template instantiation
18080 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
18081 $RM out
/* && rmdir out
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18088 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18093 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18094 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
18095 $as_echo_n "(cached) " >&6
18097 lt_cv_prog_compiler_c_o_CXX
=no
18098 $RM -r conftest
2>/dev
/null
18102 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18104 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18105 # Insert the option either (1) after the last *FLAGS variable, or
18106 # (2) before a word containing "conftest.", or (3) at the end.
18107 # Note that $ac_compile itself does not contain backslashes and begins
18108 # with a dollar sign (not a hyphen), so the echo should work correctly.
18109 lt_compile
=`echo "$ac_compile" | $SED \
18110 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18112 -e 's:$: $lt_compiler_flag:'`
18113 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18114 (eval "$lt_compile" 2>out
/conftest.err
)
18116 cat out
/conftest.err
>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18120 # The compiler can only warn and ignore the option if not recognized
18121 # So say no if there are warnings
18122 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
18123 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18124 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18125 lt_cv_prog_compiler_c_o_CXX
=yes
18130 # SGI C++ compiler will create directory out/ii_files/ for
18131 # template instantiation
18132 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
18133 $RM out
/* && rmdir out
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18140 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18145 hard_links
=nottested
18146 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
18147 # do not overwrite the value of need_locks provided by the user
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
18149 $as_echo_n "checking if we can lock with hard links... " >&6; }
18152 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18154 ln conftest.a conftest.b
2>&5 || hard_links
=no
18155 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
18157 $as_echo "$hard_links" >&6; }
18158 if test no
= "$hard_links"; then
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
18160 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18170 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18172 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18173 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18176 # If we're using GNU nm, then we don't want the "-C" option.
18177 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
18178 # Without the "-l" option, or with the "-B" option, AIX nm treats
18179 # weak defined symbols like other global defined symbols, whereas
18180 # GNU nm marks them as "W".
18181 # While the 'weak' keyword is ignored in the Export File, we need
18182 # it in the Import File for the 'aix-soname' feature, so we have
18183 # to replace the "-B" option with "-P" for AIX nm.
18184 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
18185 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'
18187 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'
18191 export_symbols_cmds_CXX
=$ltdll_cmds
18193 cygwin
* | mingw
* | cegcc
*)
18194 case $cc_basename in
18196 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
18199 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'
18200 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
18205 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18210 $as_echo "$ld_shlibs_CXX" >&6; }
18211 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
18213 with_gnu_ld_CXX
=$with_gnu_ld
18221 # Do we need to explicitly link libc?
18223 case "x$archive_cmds_need_lc_CXX" in
18225 # Assume -lc should be added
18226 archive_cmds_need_lc_CXX
=yes
18228 if test yes,yes = "$GCC,$enable_shared"; then
18229 case $archive_cmds_CXX in
18231 # FIXME: we may have to deal with multi-command sequences.
18234 # Test whether the compiler implicitly links with -lc since on some
18235 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18236 # to ld, don't add -lc before -lgcc.
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18238 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18239 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
18240 $as_echo_n "(cached) " >&6
18243 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18246 (eval $ac_compile) 2>&5
18248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18249 test $ac_status = 0; } 2>conftest.err
; then
18252 libobjs
=conftest.
$ac_objext
18254 wl
=$lt_prog_compiler_wl_CXX
18255 pic_flag
=$lt_prog_compiler_pic_CXX
18261 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
18262 allow_undefined_flag_CXX
=
18263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18264 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18267 test $ac_status = 0; }
18269 lt_cv_archive_cmds_need_lc_CXX
=no
18271 lt_cv_archive_cmds_need_lc_CXX
=yes
18273 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
18275 cat conftest.err
1>&5
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
18281 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
18282 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18351 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18353 library_names_spec
=
18354 libname_spec
='lib$name'
18358 postuninstall_cmds
=
18362 shlibpath_overrides_runpath
=unknown
18364 dynamic_linker
="$host_os ld.so"
18365 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18366 need_lib_prefix
=unknown
18367 hardcode_into_libs
=no
18369 # when you set need_version to no, make sure it does not cause -set_version
18370 # flags to be left without arguments
18371 need_version
=unknown
18377 version_type
=linux
# correct to gnu/linux during the next big refactor
18378 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
18379 shlibpath_var
=LIBPATH
18381 # AIX 3 has no versioning support, so we append a major version to the name.
18382 soname_spec
='$libname$release$shared_ext$major'
18386 version_type
=linux
# correct to gnu/linux during the next big refactor
18389 hardcode_into_libs
=yes
18390 if test ia64
= "$host_cpu"; then
18391 # AIX 5 supports IA64
18392 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
18393 shlibpath_var
=LD_LIBRARY_PATH
18395 # With GCC up to 2.95.x, collect2 would create an import file
18396 # for dependence libraries. The import file would start with
18397 # the line '#! .'. This would cause the generated library to
18398 # depend on '.', always an invalid library. This was fixed in
18399 # development snapshots of GCC prior to 3.0.
18401 aix4 | aix4.
[01] | aix4.
[01].
*)
18402 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18404 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
18407 can_build_shared
=no
18411 # Using Import Files as archive members, it is possible to support
18412 # filename-based versioning of shared library archives on AIX. While
18413 # this would work for both with and without runtime linking, it will
18414 # prevent static linking of such archives. So we do filename-based
18415 # shared library versioning with .so extension only, which is used
18416 # when both runtime linking and shared linking is enabled.
18417 # Unfortunately, runtime linking may impact performance, so we do
18418 # not want this to be the default eventually. Also, we use the
18419 # versioned .so libs for executables only if there is the -brtl
18420 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
18421 # To allow for filename-based versioning support, we need to create
18422 # libNAME.so.V as an archive file, containing:
18423 # *) an Import File, referring to the versioned filename of the
18424 # archive as well as the shared archive member, telling the
18425 # bitwidth (32 or 64) of that shared object, and providing the
18426 # list of exported symbols of that shared object, eventually
18427 # decorated with the 'weak' keyword
18428 # *) the shared object with the F_LOADONLY flag set, to really avoid
18429 # it being seen by the linker.
18430 # At run time we better use the real file rather than another symlink,
18431 # but for link time we create the symlink libNAME.so -> libNAME.so.V
18433 case $with_aix_soname,$aix_use_runtimelinking in
18434 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
18435 # soname into executable. Probably we can add versioning support to
18436 # collect2, so additional links can be useful in future.
18437 aix
,yes) # traditional libtool
18438 dynamic_linker
='AIX unversionable lib.so'
18439 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18440 # instead of lib<name>.a to let people know that these are not
18441 # typical AIX shared libraries.
18442 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18444 aix
,no
) # traditional AIX only
18445 dynamic_linker
='AIX lib.a(lib.so.V)'
18446 # We preserve .a as extension for shared libraries through AIX4.2
18447 # and later when we are not doing run time linking.
18448 library_names_spec
='$libname$release.a $libname.a'
18449 soname_spec
='$libname$release$shared_ext$major'
18451 svr4
,*) # full svr4 only
18452 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
18453 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
18454 # We do not specify a path in Import Files, so LIBPATH fires.
18455 shlibpath_overrides_runpath
=yes
18457 *,yes) # both, prefer svr4
18458 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
18459 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
18460 # unpreferred sharedlib libNAME.a needs extra handling
18461 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"'
18462 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"'
18463 # We do not specify a path in Import Files, so LIBPATH fires.
18464 shlibpath_overrides_runpath
=yes
18466 *,no
) # both, prefer aix
18467 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
18468 library_names_spec
='$libname$release.a $libname.a'
18469 soname_spec
='$libname$release$shared_ext$major'
18470 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
18471 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)'
18472 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"'
18475 shlibpath_var
=LIBPATH
18482 # Since July 2007 AmigaOS4 officially supports .so libraries.
18483 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18484 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18487 library_names_spec
='$libname.ixlibrary $libname.a'
18488 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18489 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'
18495 library_names_spec
='$libname$shared_ext'
18496 dynamic_linker
="$host_os ld.so"
18497 shlibpath_var
=LIBRARY_PATH
18501 version_type
=linux
# correct to gnu/linux during the next big refactor
18503 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18504 soname_spec
='$libname$release$shared_ext$major'
18505 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18506 shlibpath_var
=LD_LIBRARY_PATH
18507 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18508 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18509 # the default ld.so.conf also contains /usr/contrib/lib and
18510 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18511 # libtool to hard-code these into programs
18514 cygwin
* | mingw
* | pw32
* | cegcc
*)
18515 version_type
=windows
18520 case $GCC,$cc_basename in
18523 library_names_spec
='$libname.dll.a'
18524 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18525 postinstall_cmds
='base_file=`basename \$file`~
18526 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18527 dldir=$destdir/`dirname \$dlpath`~
18528 test -d \$dldir || mkdir -p \$dldir~
18529 $install_prog $dir/$dlname \$dldir/$dlname~
18530 chmod a+x \$dldir/$dlname~
18531 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18532 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18534 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18535 dlpath=$dir/\$dldll~
18537 shlibpath_overrides_runpath
=yes
18541 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18542 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18546 # MinGW DLLs use traditional 'lib' prefix
18547 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18550 # pw32 DLLs use 'pw' prefix rather than 'lib'
18551 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18554 dynamic_linker
='Win32 ld.exe'
18559 libname_spec
='$name'
18560 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18561 library_names_spec
='$libname.dll.lib'
18565 sys_lib_search_path_spec
=
18568 for lt_path
in $LIB
18571 # Let DOS variable expansion print the short 8.3 style file name.
18572 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
18573 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
18576 # Convert to MSYS style.
18577 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18580 # Convert to unix form, then to dos form, then back to unix form
18581 # but this time dos style (no spaces!) so that the unix form looks
18582 # like /cygdrive/c/PROGRA~1:/cygdr...
18583 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
18584 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
18585 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18588 sys_lib_search_path_spec
=$LIB
18589 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
18590 # It is most probably a Windows format PATH.
18591 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18593 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18595 # FIXME: find the short name or the path components, as spaces are
18596 # common. (e.g. "Program Files" -> "PROGRA~1")
18600 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18601 postinstall_cmds
='base_file=`basename \$file`~
18602 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18603 dldir=$destdir/`dirname \$dlpath`~
18604 test -d \$dldir || mkdir -p \$dldir~
18605 $install_prog $dir/$dlname \$dldir/$dlname'
18606 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18607 dlpath=$dir/\$dldll~
18609 shlibpath_overrides_runpath
=yes
18610 dynamic_linker
='Win32 link.exe'
18614 # Assume MSVC wrapper
18615 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
18616 dynamic_linker
='Win32 ld.exe'
18619 # FIXME: first we should search . and the directory the executable is in
18623 darwin
* | rhapsody
*)
18624 dynamic_linker
="$host_os dyld"
18625 version_type
=darwin
18628 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
18629 soname_spec
='$libname$release$major$shared_ext'
18630 shlibpath_overrides_runpath
=yes
18631 shlibpath_var
=DYLD_LIBRARY_PATH
18632 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18634 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18638 version_type
=linux
# correct to gnu/linux during the next big refactor
18641 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18642 soname_spec
='$libname$release$shared_ext$major'
18643 shlibpath_var
=LD_LIBRARY_PATH
18646 freebsd
* | dragonfly
*)
18647 # DragonFly does not have aout. When/if they implement a new
18648 # versioning mechanism, adjust this.
18649 if test -x /usr
/bin
/objformat
; then
18650 objformat
=`/usr/bin/objformat`
18653 freebsd
[23].
*) objformat
=aout
;;
18654 *) objformat
=elf
;;
18657 version_type
=freebsd-
$objformat
18658 case $version_type in
18660 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18661 soname_spec
='$libname$release$shared_ext$major'
18666 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18670 shlibpath_var
=LD_LIBRARY_PATH
18673 shlibpath_overrides_runpath
=yes
18675 freebsd3.
[01]* | freebsdelf3.
[01]*)
18676 shlibpath_overrides_runpath
=yes
18677 hardcode_into_libs
=yes
18679 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18680 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18681 shlibpath_overrides_runpath
=no
18682 hardcode_into_libs
=yes
18684 *) # from 4.6 on, and DragonFly
18685 shlibpath_overrides_runpath
=yes
18686 hardcode_into_libs
=yes
18692 version_type
=linux
# correct to gnu/linux during the next big refactor
18695 dynamic_linker
="$host_os runtime_loader"
18696 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18697 soname_spec
='$libname$release$shared_ext$major'
18698 shlibpath_var
=LIBRARY_PATH
18699 shlibpath_overrides_runpath
=no
18700 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
18701 hardcode_into_libs
=yes
18704 hpux9
* | hpux10
* | hpux11
*)
18705 # Give a soname corresponding to the major version so that dld.sl refuses to
18706 # link against other versions.
18713 hardcode_into_libs
=yes
18714 dynamic_linker
="$host_os dld.so"
18715 shlibpath_var
=LD_LIBRARY_PATH
18716 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18717 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18718 soname_spec
='$libname$release$shared_ext$major'
18719 if test 32 = "$HPUX_IA64_MODE"; then
18720 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18721 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
18723 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18724 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
18729 hardcode_into_libs
=yes
18730 dynamic_linker
="$host_os dld.sl"
18731 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18732 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18733 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18734 soname_spec
='$libname$release$shared_ext$major'
18735 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18736 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18740 dynamic_linker
="$host_os dld.sl"
18741 shlibpath_var
=SHLIB_PATH
18742 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18743 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18744 soname_spec
='$libname$release$shared_ext$major'
18747 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18748 postinstall_cmds
='chmod 555 $lib'
18749 # or fails outright, so override atomically:
18750 install_override_mode
=555
18754 version_type
=linux
# correct to gnu/linux during the next big refactor
18757 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18758 soname_spec
='$libname$release$shared_ext$major'
18759 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18760 shlibpath_var
=LD_LIBRARY_PATH
18761 shlibpath_overrides_runpath
=no
18762 hardcode_into_libs
=yes
18765 irix5
* | irix6
* | nonstopux
*)
18767 nonstopux
*) version_type
=nonstopux
;;
18769 if test yes = "$lt_cv_prog_gnu_ld"; then
18770 version_type
=linux
# correct to gnu/linux during the next big refactor
18777 soname_spec
='$libname$release$shared_ext$major'
18778 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
18780 irix5
* | nonstopux
*)
18781 libsuff
= shlibsuff
=
18784 case $LD in # libtool.m4 will add one of these switches to LD
18785 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18786 libsuff
= shlibsuff
= libmagic
=32-bit;;
18787 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18788 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18789 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18790 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18791 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18795 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18796 shlibpath_overrides_runpath
=no
18797 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
18798 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
18799 hardcode_into_libs
=yes
18802 # No shared lib support for Linux oldld, aout, or coff.
18803 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18808 version_type
=none
# Android doesn't support versioned libraries.
18811 library_names_spec
='$libname$release$shared_ext'
18812 soname_spec
='$libname$release$shared_ext'
18814 shlibpath_var
=LD_LIBRARY_PATH
18815 shlibpath_overrides_runpath
=yes
18817 # This implies no fast_install, which is unacceptable.
18818 # Some rework will be needed to allow for fast_install
18819 # before this can be enabled.
18820 hardcode_into_libs
=yes
18822 dynamic_linker
='Android linker'
18823 # Don't embed -rpath directories since the linker doesn't support them.
18824 hardcode_libdir_flag_spec_CXX
='-L$libdir'
18827 # This must be glibc/ELF.
18828 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
18829 version_type
=linux
# correct to gnu/linux during the next big refactor
18832 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18833 soname_spec
='$libname$release$shared_ext$major'
18834 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18835 shlibpath_var
=LD_LIBRARY_PATH
18836 shlibpath_overrides_runpath
=no
18838 # Some binutils ld are patched to set DT_RUNPATH
18839 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
18840 $as_echo_n "(cached) " >&6
18842 lt_cv_shlibpath_overrides_runpath
=no
18843 save_LDFLAGS
=$LDFLAGS
18844 save_libdir
=$libdir
18845 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
18846 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
18847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18848 /* end confdefs.h. */
18858 if ac_fn_cxx_try_link
"$LINENO"; then :
18859 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
18860 lt_cv_shlibpath_overrides_runpath
=yes
18863 rm -f core conftest.err conftest.
$ac_objext \
18864 conftest
$ac_exeext conftest.
$ac_ext
18865 LDFLAGS
=$save_LDFLAGS
18866 libdir
=$save_libdir
18870 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
18872 # This implies no fast_install, which is unacceptable.
18873 # Some rework will be needed to allow for fast_install
18874 # before this can be enabled.
18875 hardcode_into_libs
=yes
18877 # Ideally, we could use ldconfig to report *all* directores which are
18878 # searched for libraries, however this is still not possible. Aside from not
18879 # being certain /sbin/ldconfig is available, command
18880 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
18881 # even though it is searched at run-time. Try to do the best guess by
18882 # appending ld.so.conf contents (and includes) to the search path.
18883 if test -f /etc
/ld.so.conf
; then
18884 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' ' '`
18885 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18888 # We used to test for /lib/ld.so.1 and disable shared libraries on
18889 # powerpc, because MkLinux only supported shared libraries with the
18890 # GNU dynamic linker. Since this was broken with cross compilers,
18891 # most powerpc-linux boxes support dynamic linking these days and
18892 # people can always --disable-shared, the test was removed, and we
18893 # assume the GNU/Linux dynamic linker is in use.
18894 dynamic_linker
='GNU/Linux ld.so'
18901 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18902 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18903 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18904 dynamic_linker
='NetBSD (a.out) ld.so'
18906 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18907 soname_spec
='$libname$release$shared_ext$major'
18908 dynamic_linker
='NetBSD ld.elf_so'
18910 shlibpath_var
=LD_LIBRARY_PATH
18911 shlibpath_overrides_runpath
=yes
18912 hardcode_into_libs
=yes
18916 version_type
=linux
# correct to gnu/linux during the next big refactor
18917 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18918 shlibpath_var
=LD_LIBRARY_PATH
18919 shlibpath_overrides_runpath
=yes
18926 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18927 soname_spec
='$libname$release$shared_ext$major'
18928 shlibpath_var
=LD_LIBRARY_PATH
18929 shlibpath_overrides_runpath
=no
18930 hardcode_into_libs
=yes
18931 dynamic_linker
='ldqnx.so'
18934 openbsd
* | bitrig
*)
18936 sys_lib_dlsearch_path_spec
=/usr
/lib
18938 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
18943 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18944 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18945 shlibpath_var
=LD_LIBRARY_PATH
18946 shlibpath_overrides_runpath
=yes
18950 libname_spec
='$name'
18951 version_type
=windows
18955 # OS/2 can only load a DLL with a base name of 8 characters or less.
18956 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
18957 v=$($ECHO $release$versuffix | tr -d .-);
18958 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
18959 $ECHO $n$v`$shared_ext'
18960 library_names_spec
='${libname}_dll.$libext'
18961 dynamic_linker
='OS/2 ld.exe'
18962 shlibpath_var
=BEGINLIBPATH
18963 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18964 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18965 postinstall_cmds
='base_file=`basename \$file`~
18966 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
18967 dldir=$destdir/`dirname \$dlpath`~
18968 test -d \$dldir || mkdir -p \$dldir~
18969 $install_prog $dir/$dlname \$dldir/$dlname~
18970 chmod a+x \$dldir/$dlname~
18971 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18972 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18974 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
18975 dlpath=$dir/\$dldll~
18979 osf3
* | osf4
* | osf5
*)
18983 soname_spec
='$libname$release$shared_ext$major'
18984 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18985 shlibpath_var
=LD_LIBRARY_PATH
18986 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18987 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18995 version_type
=linux
# correct to gnu/linux during the next big refactor
18998 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18999 soname_spec
='$libname$release$shared_ext$major'
19000 shlibpath_var
=LD_LIBRARY_PATH
19001 shlibpath_overrides_runpath
=yes
19002 hardcode_into_libs
=yes
19003 # ldd complains unless libraries are executable
19004 postinstall_cmds
='chmod +x $lib'
19009 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19010 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19011 shlibpath_var
=LD_LIBRARY_PATH
19012 shlibpath_overrides_runpath
=yes
19013 if test yes = "$with_gnu_ld"; then
19020 version_type
=linux
# correct to gnu/linux during the next big refactor
19021 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19022 soname_spec
='$libname$release$shared_ext$major'
19023 shlibpath_var
=LD_LIBRARY_PATH
19024 case $host_vendor in
19026 shlibpath_overrides_runpath
=no
19028 runpath_var
=LD_RUN_PATH
19036 shlibpath_overrides_runpath
=no
19037 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19043 if test -d /usr
/nec
; then
19044 version_type
=linux
# correct to gnu/linux during the next big refactor
19045 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
19046 soname_spec
='$libname$shared_ext.$major'
19047 shlibpath_var
=LD_LIBRARY_PATH
19051 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19055 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
19056 soname_spec
='$libname$release$shared_ext$major'
19057 shlibpath_var
=LD_LIBRARY_PATH
19058 shlibpath_overrides_runpath
=yes
19059 hardcode_into_libs
=yes
19060 if test yes = "$with_gnu_ld"; then
19061 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19063 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19066 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19070 sys_lib_dlsearch_path_spec
='/usr/lib'
19074 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
19075 version_type
=linux
# correct to gnu/linux during the next big refactor
19078 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19079 shlibpath_var
=LD_LIBRARY_PATH
19080 shlibpath_overrides_runpath
=no
19081 hardcode_into_libs
=yes
19085 version_type
=linux
# correct to gnu/linux during the next big refactor
19086 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19087 soname_spec
='$libname$release$shared_ext$major'
19088 shlibpath_var
=LD_LIBRARY_PATH
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19096 $as_echo "$dynamic_linker" >&6; }
19097 test no
= "$dynamic_linker" && can_build_shared
=no
19099 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19100 if test yes = "$GCC"; then
19101 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19104 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
19105 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
19108 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
19109 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
19112 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
19113 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
19115 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
19116 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
19118 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
19119 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19161 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19162 hardcode_action_CXX
=
19163 if test -n "$hardcode_libdir_flag_spec_CXX" ||
19164 test -n "$runpath_var_CXX" ||
19165 test yes = "$hardcode_automatic_CXX"; then
19167 # We can hardcode non-existent directories.
19168 if test no
!= "$hardcode_direct_CXX" &&
19169 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19170 # have to relink, otherwise we might link with an installed library
19171 # when we should be linking with a yet-to-be-installed one
19172 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
19173 test no
!= "$hardcode_minus_L_CXX"; then
19174 # Linking always hardcodes the temporary library directory.
19175 hardcode_action_CXX
=relink
19177 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19178 hardcode_action_CXX
=immediate
19181 # We cannot hardcode anything, or else we can only hardcode existing
19183 hardcode_action_CXX
=unsupported
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
19186 $as_echo "$hardcode_action_CXX" >&6; }
19188 if test relink
= "$hardcode_action_CXX" ||
19189 test yes = "$inherit_rpath_CXX"; then
19190 # Fast installation is not supported
19191 enable_fast_install
=no
19192 elif test yes = "$shlibpath_overrides_runpath" ||
19193 test no
= "$enable_shared"; then
19194 # Fast installation is not necessary
19195 enable_fast_install
=needless
19204 fi # test -n "$compiler"
19207 CFLAGS
=$lt_save_CFLAGS
19211 with_gnu_ld
=$lt_save_with_gnu_ld
19212 lt_cv_path_LDCXX
=$lt_cv_path_LD
19213 lt_cv_path_LD
=$lt_save_path_LD
19214 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
19215 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
19216 fi # test yes != "$_lt_caught_CXX_error"
19219 ac_cpp
='$CPP $CPPFLAGS'
19220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
19227 $as_echo_n "checking whether ln -s works... " >&6; }
19229 if test "$LN_S" = "ln -s"; then
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19231 $as_echo "yes" >&6; }
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
19234 $as_echo "no, using $LN_S" >&6; }
19238 # Check whether --with-ln-s was given.
19239 if test "${with_ln_s+set}" = set; then :
19240 withval
=$with_ln_s;
19242 if test "x$LN_S" != "xln -s" && test "x$kpse_cv_have_win32" = xno
&& test "x$with_ln_s" != xno
; then
19243 as_fn_error $?
"You could use \`--without-ln-s' to build without working \`ln -s'" "$LINENO" 5
19246 if test "x$enable_native_texlive_build" = xyes
; then
19247 if test "x$datarootdir" = 'x${prefix}/share'; then
19248 datarootdir
='${prefix}'
19249 ac_configure_args
="$ac_configure_args '--datarootdir=$datarootdir'"
19251 if test "x$mandir" = 'x${datarootdir}/man'; then
19252 mandir
='${prefix}/texmf-dist/doc/man'
19253 ac_configure_args
="$ac_configure_args '--mandir=$mandir'"
19255 if test "x$infodir" = 'x${datarootdir}/info'; then
19256 infodir
='${prefix}/texmf-dist/doc/info'
19257 ac_configure_args
="$ac_configure_args '--infodir=$infodir'"
19261 if test "x$enable_web2c" = xyes
&& test "x$with_system_kpathsea" = xyes
; then
19262 if test "x$with_kpathsea_includes" = x
; then
19263 list
="/usr/include /usr/local/include"
19265 list
=$with_kpathsea_includes
19268 for ac_dir
in $list; do
19269 if test -r "$ac_dir/kpathsea/paths.h"; then
19274 if test "x$found" = xno
; then
19275 { $as_echo "$as_me:${as_lineno-$LINENO}: You requested to build \`web2c' using an installed \`kpathsea' version," >&5
19276 $as_echo "$as_me: You requested to build \`web2c' using an installed \`kpathsea' version," >&6;}
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: which requires to locate the <kpathsea/paths.h> header file." >&5
19278 $as_echo "$as_me: which requires to locate the <kpathsea/paths.h> header file." >&6;}
19279 as_fn_error $?
"Sorry, not found under any of: $list *****" "$LINENO" 5
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TeX specific libraries to build" >&5
19286 $as_echo_n "checking for TeX specific libraries to build... " >&6; }
19289 if test -x $srcdir/texk
/kpathsea
/configure
; then
19290 test "x$with_system_kpathsea" != xyes
&& test "x$need_kpathsea" = xyes
&& MAKE_SUBDIRS
="texk/kpathsea $MAKE_SUBDIRS"
19291 CONF_SUBDIRS
="texk/kpathsea $CONF_SUBDIRS"
19293 subdirs
="$subdirs texk/kpathsea"
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE_SUBDIRS" >&5
19299 $as_echo "$MAKE_SUBDIRS" >&6; }
19301 kpse_save_CPPFLAGS
=$CPPFLAGS
19302 kpse_save_LIBS
=$LIBS
19306 if test -n "$ac_tool_prefix"; then
19307 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19308 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19310 $as_echo_n "checking for $ac_word... " >&6; }
19311 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
19312 $as_echo_n "(cached) " >&6
19314 if test -n "$PKG_CONFIG"; then
19315 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
19317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19318 for as_dir
in $PATH
19321 test -z "$as_dir" && as_dir
=.
19322 for ac_exec_ext
in '' $ac_executable_extensions; do
19323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19324 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
19325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19334 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
19335 if test -n "$PKG_CONFIG"; then
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19337 $as_echo "$PKG_CONFIG" >&6; }
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19340 $as_echo "no" >&6; }
19345 if test -z "$ac_cv_prog_PKG_CONFIG"; then
19346 ac_ct_PKG_CONFIG
=$PKG_CONFIG
19347 # Extract the first word of "pkg-config", so it can be a program name with args.
19348 set dummy pkg-config
; ac_word
=$2
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19350 $as_echo_n "checking for $ac_word... " >&6; }
19351 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false
; then :
19352 $as_echo_n "(cached) " >&6
19354 if test -n "$ac_ct_PKG_CONFIG"; then
19355 ac_cv_prog_ac_ct_PKG_CONFIG
="$ac_ct_PKG_CONFIG" # Let the user override the test.
19357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19358 for as_dir
in $PATH
19361 test -z "$as_dir" && as_dir
=.
19362 for ac_exec_ext
in '' $ac_executable_extensions; do
19363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19364 ac_cv_prog_ac_ct_PKG_CONFIG
="pkg-config"
19365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19374 ac_ct_PKG_CONFIG
=$ac_cv_prog_ac_ct_PKG_CONFIG
19375 if test -n "$ac_ct_PKG_CONFIG"; then
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
19377 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19380 $as_echo "no" >&6; }
19383 if test "x$ac_ct_PKG_CONFIG" = x
; then
19386 case $cross_compiling:$ac_tool_warned in
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19390 ac_tool_warned
=yes ;;
19392 PKG_CONFIG
=$ac_ct_PKG_CONFIG
19395 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
19398 if $PKG_CONFIG kpathsea
; then
19399 KPATHSEA_INCLUDES
=`$PKG_CONFIG kpathsea --cflags`
19400 KPATHSEA_LIBS
=`$PKG_CONFIG kpathsea --libs`
19401 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes
:yes; then
19402 as_fn_error $?
"did not find kpathsea" "$LINENO" 5
19405 if $PKG_CONFIG ptexenc
; then
19406 PTEXENC_INCLUDES
=`$PKG_CONFIG ptexenc --cflags`
19407 PTEXENC_LIBS
=`$PKG_CONFIG ptexenc --libs`
19408 elif test "x$need_ptexenc:$with_system_ptexenc" = xyes
:yes; then
19409 as_fn_error $?
"did not find ptexenc" "$LINENO" 5
19412 if test "x$with_zlib_includes" != x
&& test "x$with_zlib_includes" != xyes
; then
19413 ZLIB_INCLUDES
="-I$with_zlib_includes"
19416 if test "x$with_zlib_libdir" != x
&& test "x$with_zlib_libdir" != xyes
; then
19417 ZLIB_LIBS
="-L$with_zlib_libdir $ZLIB_LIBS"
19420 if test "x$with_libpaper_includes" != x
&& test "x$with_libpaper_includes" != xyes
; then
19421 LIBPAPER_INCLUDES
="-I$with_libpaper_includes"
19423 LIBPAPER_LIBS
="-lpaper"
19424 if test "x$with_libpaper_libdir" != x
&& test "x$with_libpaper_libdir" != xyes
; then
19425 LIBPAPER_LIBS
="-L$with_libpaper_libdir $LIBPAPER_LIBS"
19428 if $PKG_CONFIG libpng
; then
19429 LIBPNG_INCLUDES
=`$PKG_CONFIG libpng --cflags`
19430 LIBPNG_LIBS
=`$PKG_CONFIG libpng --libs`
19431 elif test "x$need_libpng:$with_system_libpng" = xyes
:yes; then
19432 as_fn_error $?
"did not find libpng" "$LINENO" 5
19435 if test -n "$ac_tool_prefix"; then
19436 # Extract the first word of "${ac_tool_prefix}freetype-config", so it can be a program name with args.
19437 set dummy
${ac_tool_prefix}freetype-config
; ac_word
=$2
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19439 $as_echo_n "checking for $ac_word... " >&6; }
19440 if ${ac_cv_prog_FT2_CONFIG+:} false
; then :
19441 $as_echo_n "(cached) " >&6
19443 if test -n "$FT2_CONFIG"; then
19444 ac_cv_prog_FT2_CONFIG
="$FT2_CONFIG" # Let the user override the test.
19446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19447 for as_dir
in $PATH
19450 test -z "$as_dir" && as_dir
=.
19451 for ac_exec_ext
in '' $ac_executable_extensions; do
19452 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19453 ac_cv_prog_FT2_CONFIG
="${ac_tool_prefix}freetype-config"
19454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19463 FT2_CONFIG
=$ac_cv_prog_FT2_CONFIG
19464 if test -n "$FT2_CONFIG"; then
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
19466 $as_echo "$FT2_CONFIG" >&6; }
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19469 $as_echo "no" >&6; }
19474 if test -z "$ac_cv_prog_FT2_CONFIG"; then
19475 ac_ct_FT2_CONFIG
=$FT2_CONFIG
19476 # Extract the first word of "freetype-config", so it can be a program name with args.
19477 set dummy freetype-config
; ac_word
=$2
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19479 $as_echo_n "checking for $ac_word... " >&6; }
19480 if ${ac_cv_prog_ac_ct_FT2_CONFIG+:} false
; then :
19481 $as_echo_n "(cached) " >&6
19483 if test -n "$ac_ct_FT2_CONFIG"; then
19484 ac_cv_prog_ac_ct_FT2_CONFIG
="$ac_ct_FT2_CONFIG" # Let the user override the test.
19486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19487 for as_dir
in $PATH
19490 test -z "$as_dir" && as_dir
=.
19491 for ac_exec_ext
in '' $ac_executable_extensions; do
19492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19493 ac_cv_prog_ac_ct_FT2_CONFIG
="freetype-config"
19494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19503 ac_ct_FT2_CONFIG
=$ac_cv_prog_ac_ct_FT2_CONFIG
19504 if test -n "$ac_ct_FT2_CONFIG"; then
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FT2_CONFIG" >&5
19506 $as_echo "$ac_ct_FT2_CONFIG" >&6; }
19508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19509 $as_echo "no" >&6; }
19512 if test "x$ac_ct_FT2_CONFIG" = x
; then
19515 case $cross_compiling:$ac_tool_warned in
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19519 ac_tool_warned
=yes ;;
19521 FT2_CONFIG
=$ac_ct_FT2_CONFIG
19524 FT2_CONFIG
="$ac_cv_prog_FT2_CONFIG"
19526 if $FT2_CONFIG --ftversion >/dev
/null
2>&1; then
19527 FREETYPE2_INCLUDES
=`$FT2_CONFIG --cflags`
19528 FREETYPE2_LIBS
=`$FT2_CONFIG --libs`
19529 elif test "x$need_freetype2:$with_system_freetype2" = xyes
:yes; then
19530 as_fn_error $?
"did not find freetype-config required for system freetype2 library" "$LINENO" 5
19533 if test "x$with_gd_includes" != x
&& test "x$with_gd_includes" != xyes
; then
19534 GD_INCLUDES
="-I$with_gd_includes"
19537 if test "x$with_gd_libdir" != x
&& test "x$with_gd_libdir" != xyes
; then
19538 GD_LIBS
="-L$with_gd_libdir $GD_LIBS"
19541 if test "x$with_potrace_includes" != x
&& test "x$with_potrace_includes" != xyes
; then
19542 POTRACE_INCLUDES
="-I$with_potrace_includes"
19544 POTRACE_LIBS
="-lpotrace"
19545 if test "x$with_potrace_libdir" != x
&& test "x$with_potrace_libdir" != xyes
; then
19546 POTRACE_LIBS
="-L$with_potrace_libdir $POTRACE_LIBS"
19549 if $PKG_CONFIG pixman-1
--atleast-version=0.18; then
19550 PIXMAN_INCLUDES
=`$PKG_CONFIG pixman-1 --cflags`
19551 PIXMAN_LIBS
=`$PKG_CONFIG pixman-1 --libs`
19552 elif test "x$need_pixman:$with_system_pixman" = xyes
:yes; then
19553 as_fn_error $?
"did not find pixman-1 0.18 or better" "$LINENO" 5
19556 if $PKG_CONFIG cairo
--atleast-version=1.12; then
19557 CAIRO_INCLUDES
=`$PKG_CONFIG cairo --cflags`
19558 CAIRO_LIBS
=`$PKG_CONFIG cairo --libs`
19559 elif test "x$need_cairo:$with_system_cairo" = xyes
:yes; then
19560 as_fn_error $?
"did not find cairo 1.12 or better" "$LINENO" 5
19563 if test "x$with_gmp_includes" != x
&& test "x$with_gmp_includes" != xyes
; then
19564 GMP_INCLUDES
="-I$with_gmp_includes"
19567 if test "x$with_gmp_libdir" != x
&& test "x$with_gmp_libdir" != xyes
; then
19568 GMP_LIBS
="-L$with_gmp_libdir $GMP_LIBS"
19571 if test "x$with_mpfr_includes" != x
&& test "x$with_mpfr_includes" != xyes
; then
19572 MPFR_INCLUDES
="-I$with_mpfr_includes"
19575 if test "x$with_mpfr_libdir" != x
&& test "x$with_mpfr_libdir" != xyes
; then
19576 MPFR_LIBS
="-L$with_mpfr_libdir $MPFR_LIBS"
19579 if $PKG_CONFIG poppler
--atleast-version=0.18; then
19580 POPPLER_INCLUDES
=`$PKG_CONFIG poppler --cflags`
19581 POPPLER_LIBS
=`$PKG_CONFIG poppler --libs`
19582 elif test "x$need_poppler:$with_system_poppler" = xyes
:yes; then
19583 as_fn_error $?
"did not find poppler 0.18 or better" "$LINENO" 5
19586 POPPLER_VERSION
='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
19587 POPPLER_INCLUDES
="$POPPLER_VERSION $POPPLER_INCLUDES"
19589 if $PKG_CONFIG poppler
--atleast-version=0.12; then
19590 XPDF_INCLUDES
=`$PKG_CONFIG poppler --cflags`
19591 XPDF_LIBS
=`$PKG_CONFIG poppler --libs`
19592 elif test "x$need_xpdf:$with_system_xpdf" = xyes
:yes; then
19593 as_fn_error $?
"did not find poppler 0.12 or better" "$LINENO" 5
19596 POPPLER_VERSION
='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
19597 XPDF_INCLUDES
="$POPPLER_VERSION $XPDF_INCLUDES"
19599 if $PKG_CONFIG zziplib
--atleast-version=0.12; then
19600 ZZIPLIB_INCLUDES
=`$PKG_CONFIG zziplib --cflags`
19601 ZZIPLIB_LIBS
=`$PKG_CONFIG zziplib --libs`
19602 elif test "x$need_zziplib:$with_system_zziplib" = xyes
:yes; then
19603 as_fn_error $?
"did not find zziplib 0.12 or better" "$LINENO" 5
19606 if $PKG_CONFIG graphite2
; then
19607 GRAPHITE2_INCLUDES
=`$PKG_CONFIG graphite2 --cflags`
19608 GRAPHITE2_LIBS
=`$PKG_CONFIG graphite2 --libs`
19609 elif test "x$need_graphite2:$with_system_graphite2" = xyes
:yes; then
19610 as_fn_error $?
"did not find graphite2" "$LINENO" 5
19613 if $PKG_CONFIG teckit
; then
19614 TECKIT_INCLUDES
=`$PKG_CONFIG teckit --cflags`
19615 TECKIT_LIBS
=`$PKG_CONFIG teckit --libs`
19616 elif test "x$need_teckit:$with_system_teckit" = xyes
:yes; then
19617 as_fn_error $?
"did not find teckit" "$LINENO" 5
19620 if test -n "$ac_tool_prefix"; then
19621 # Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args.
19622 set dummy
${ac_tool_prefix}icu-config
; ac_word
=$2
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19624 $as_echo_n "checking for $ac_word... " >&6; }
19625 if ${ac_cv_prog_ICU_CONFIG+:} false
; then :
19626 $as_echo_n "(cached) " >&6
19628 if test -n "$ICU_CONFIG"; then
19629 ac_cv_prog_ICU_CONFIG
="$ICU_CONFIG" # Let the user override the test.
19631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19632 for as_dir
in $PATH
19635 test -z "$as_dir" && as_dir
=.
19636 for ac_exec_ext
in '' $ac_executable_extensions; do
19637 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19638 ac_cv_prog_ICU_CONFIG
="${ac_tool_prefix}icu-config"
19639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19648 ICU_CONFIG
=$ac_cv_prog_ICU_CONFIG
19649 if test -n "$ICU_CONFIG"; then
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5
19651 $as_echo "$ICU_CONFIG" >&6; }
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19654 $as_echo "no" >&6; }
19659 if test -z "$ac_cv_prog_ICU_CONFIG"; then
19660 ac_ct_ICU_CONFIG
=$ICU_CONFIG
19661 # Extract the first word of "icu-config", so it can be a program name with args.
19662 set dummy icu-config
; ac_word
=$2
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19664 $as_echo_n "checking for $ac_word... " >&6; }
19665 if ${ac_cv_prog_ac_ct_ICU_CONFIG+:} false
; then :
19666 $as_echo_n "(cached) " >&6
19668 if test -n "$ac_ct_ICU_CONFIG"; then
19669 ac_cv_prog_ac_ct_ICU_CONFIG
="$ac_ct_ICU_CONFIG" # Let the user override the test.
19671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19672 for as_dir
in $PATH
19675 test -z "$as_dir" && as_dir
=.
19676 for ac_exec_ext
in '' $ac_executable_extensions; do
19677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19678 ac_cv_prog_ac_ct_ICU_CONFIG
="icu-config"
19679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19688 ac_ct_ICU_CONFIG
=$ac_cv_prog_ac_ct_ICU_CONFIG
19689 if test -n "$ac_ct_ICU_CONFIG"; then
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5
19691 $as_echo "$ac_ct_ICU_CONFIG" >&6; }
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19694 $as_echo "no" >&6; }
19697 if test "x$ac_ct_ICU_CONFIG" = x
; then
19700 case $cross_compiling:$ac_tool_warned in
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19704 ac_tool_warned
=yes ;;
19706 ICU_CONFIG
=$ac_ct_ICU_CONFIG
19709 ICU_CONFIG
="$ac_cv_prog_ICU_CONFIG"
19711 if $ICU_CONFIG --version >/dev
/null
2>&1; then
19712 ICU_INCLUDES
=`$ICU_CONFIG --cppflags`
19713 # Work around bug in icu-config version 4.4
19714 ICU_LIBS
=`$ICU_CONFIG --ldflags-searchpath `
19715 ICU_LIBS
="$ICU_LIBS `$ICU_CONFIG --ldflags-libsonly --ldflags-system`"
19716 elif test "x$need_icu:$with_system_icu" = xyes
:yes; then
19717 as_fn_error $?
"did not find icu-config required for system icu libraries" "$LINENO" 5
19720 if $PKG_CONFIG harfbuzz-icu
; then
19721 HARFBUZZ_INCLUDES
=`$PKG_CONFIG harfbuzz-icu --cflags`
19722 HARFBUZZ_LIBS
=`$PKG_CONFIG harfbuzz-icu --libs`
19723 elif test "x$need_harfbuzz:$with_system_harfbuzz" = xyes
:yes; then
19724 as_fn_error $?
"did not find harfbuzz-icu" "$LINENO" 5
19732 ## texk/kpathsea/ac/kpathsea.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
19733 ## basic check of system kpathsea
19734 if test "x$need_kpathsea:$with_system_kpathsea" = xyes
:yes; then
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`kpathsea' library" >&5
19736 $as_echo_n "checking requested system \`kpathsea' library... " >&6; }
19737 CPPFLAGS
="$KPATHSEA_INCLUDES $CPPFLAGS"
19738 LIBS
="$KPATHSEA_LIBS $LIBS"
19739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19740 /* end confdefs.h. */
19741 #include <kpathsea/kpathsea.h>
19742 #include <kpathsea/version.h>
19746 const char *version = kpathsea_version_string;
19747 kpse_set_program_name("prog", "name");
19752 if ac_fn_c_try_link
"$LINENO"; then :
19753 syslib_used
=yes kpse_res
=ok
19755 syslib_status
=no kpse_res
=failed
19757 rm -f core conftest.err conftest.
$ac_objext \
19758 conftest
$ac_exeext conftest.
$ac_ext
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19760 $as_echo "$kpse_res" >&6; }
19763 ## libs/zlib/ac/zlib.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
19764 ## basic check of system zlib
19765 if test "x$need_zlib:$with_system_zlib" = xyes
:yes; then
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`zlib' library" >&5
19767 $as_echo_n "checking requested system \`zlib' library... " >&6; }
19768 CPPFLAGS
="$ZLIB_INCLUDES $CPPFLAGS"
19769 LIBS
="$ZLIB_LIBS $LIBS"
19770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19771 /* end confdefs.h. */
19777 const char *version = zlibVersion();
19778 deflate(&stream, 0);
19783 if ac_fn_c_try_link
"$LINENO"; then :
19784 syslib_used
=yes kpse_res
=ok
19786 syslib_status
=no kpse_res
=failed
19788 rm -f core conftest.err conftest.
$ac_objext \
19789 conftest
$ac_exeext conftest.
$ac_ext
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19791 $as_echo "$kpse_res" >&6; }
19794 ## libs/libpng/ac/libpng.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
19795 ## basic check of system libpng
19796 if test "x$need_libpng:$with_system_libpng" = xyes
:yes; then
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`libpng' library" >&5
19798 $as_echo_n "checking requested system \`libpng' library... " >&6; }
19799 CPPFLAGS
="$LIBPNG_INCLUDES $CPPFLAGS"
19800 LIBS
="$LIBPNG_LIBS $LIBS"
19801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h. */
19807 png_structp png; png_voidp io; png_rw_ptr fn;
19808 png_set_read_fn(png, io, fn);
19813 if ac_fn_c_try_link
"$LINENO"; then :
19814 syslib_used
=yes kpse_res
=ok
19816 syslib_status
=no kpse_res
=failed
19818 rm -f core conftest.err conftest.
$ac_objext \
19819 conftest
$ac_exeext conftest.
$ac_ext
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19821 $as_echo "$kpse_res" >&6; }
19824 ## libs/pixman/ac/pixman.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/
19825 ## basic check of system pixman
19826 if test "x$need_pixman:$with_system_pixman" = xyes
:yes; then
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`pixman' library" >&5
19828 $as_echo_n "checking requested system \`pixman' library... " >&6; }
19829 CPPFLAGS
="$PIXMAN_INCLUDES $CPPFLAGS"
19830 LIBS
="$PIXMAN_LIBS $LIBS"
19831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19833 #include <pixman.h>
19837 const char *s = pixman_version_string();
19842 if ac_fn_c_try_link
"$LINENO"; then :
19843 syslib_used
=yes kpse_res
=ok
19845 syslib_status
=no kpse_res
=failed
19847 rm -f core conftest.err conftest.
$ac_objext \
19848 conftest
$ac_exeext conftest.
$ac_ext
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19850 $as_echo "$kpse_res" >&6; }
19853 ## libs/cairo/ac/cairo.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/
19854 ## basic check of system cairo
19855 if test "x$need_cairo:$with_system_cairo" = xyes
:yes; then
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`cairo' library" >&5
19857 $as_echo_n "checking requested system \`cairo' library... " >&6; }
19858 CPPFLAGS
="$CAIRO_INCLUDES $CPPFLAGS"
19859 LIBS
="$CAIRO_LIBS $LIBS"
19860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h. */
19866 const char *s = cairo_version_string();
19871 if ac_fn_c_try_link
"$LINENO"; then :
19872 syslib_used
=yes kpse_res
=ok
19874 syslib_status
=no kpse_res
=failed
19876 rm -f core conftest.err conftest.
$ac_objext \
19877 conftest
$ac_exeext conftest.
$ac_ext
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19879 $as_echo "$kpse_res" >&6; }
19882 ## libs/gmp/ac/gmp.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/
19883 ## basic check of system gmp
19884 if test "x$need_gmp:$with_system_gmp" = xyes
:yes; then
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`gmp' library" >&5
19886 $as_echo_n "checking requested system \`gmp' library... " >&6; }
19887 CPPFLAGS
="$GMP_INCLUDES $CPPFLAGS"
19888 LIBS
="$GMP_LIBS $LIBS"
19889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19895 const char *s = gmp_version;
19900 if ac_fn_c_try_link
"$LINENO"; then :
19901 syslib_used
=yes kpse_res
=ok
19903 syslib_status
=no kpse_res
=failed
19905 rm -f core conftest.err conftest.
$ac_objext \
19906 conftest
$ac_exeext conftest.
$ac_ext
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19908 $as_echo "$kpse_res" >&6; }
19911 ## libs/mpfr/ac/mpfr.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/
19912 ## basic check of system mpfr
19913 if test "x$need_mpfr:$with_system_mpfr" = xyes
:yes; then
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`mpfr' library" >&5
19915 $as_echo_n "checking requested system \`mpfr' library... " >&6; }
19916 CPPFLAGS
="$MPFR_INCLUDES $CPPFLAGS"
19917 LIBS
="$MPFR_LIBS $LIBS"
19918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19919 /* end confdefs.h. */
19924 const char *s = mpfr_get_version();
19929 if ac_fn_c_try_link
"$LINENO"; then :
19930 syslib_used
=yes kpse_res
=ok
19932 syslib_status
=no kpse_res
=failed
19934 rm -f core conftest.err conftest.
$ac_objext \
19935 conftest
$ac_exeext conftest.
$ac_ext
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19937 $as_echo "$kpse_res" >&6; }
19940 ## libs/poppler/ac/poppler.ac: configure.ac fragment for the TeX Live subdirectory libs/poppler/
19941 ## basic check of system poppler
19943 ac_cpp
='$CXXCPP $CPPFLAGS'
19944 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19945 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19946 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19947 if test "x$need_poppler:$with_system_poppler" = xyes
:yes; then
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`poppler' library" >&5
19949 $as_echo_n "checking requested system \`poppler' library... " >&6; }
19950 CPPFLAGS
="$POPPLER_INCLUDES $CPPFLAGS"
19951 LIBS
="$POPPLER_LIBS $LIBS"
19952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19953 /* end confdefs.h. */
19954 #include <GfxFont.h>
19958 GfxFont *gfxFont; gfxFont->decRefCnt();
19963 if ac_fn_cxx_try_link
"$LINENO"; then :
19964 syslib_used
=yes kpse_res
=ok
19966 syslib_status
=no kpse_res
=failed
19968 rm -f core conftest.err conftest.
$ac_objext \
19969 conftest
$ac_exeext conftest.
$ac_ext
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19971 $as_echo "$kpse_res" >&6; }
19974 ac_cpp
='$CPP $CPPFLAGS'
19975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19979 ## libs/zziplib/ac/zziplib.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
19980 ## basic check of system zziplib
19981 if test "x$need_zziplib:$with_system_zziplib" = xyes
:yes; then
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`zziplib' library" >&5
19983 $as_echo_n "checking requested system \`zziplib' library... " >&6; }
19984 CPPFLAGS
="$ZZIPLIB_INCLUDES $CPPFLAGS"
19985 LIBS
="$ZZIPLIB_LIBS $LIBS"
19986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19987 /* end confdefs.h. */
19988 #include <zzip/zzip.h>
19992 ZZIP_FILE *z_FILE = zzip_open("file_name", 0);
19997 if ac_fn_c_try_link
"$LINENO"; then :
19998 syslib_used
=yes kpse_res
=ok
20000 syslib_status
=no kpse_res
=failed
20002 rm -f core conftest.err conftest.
$ac_objext \
20003 conftest
$ac_exeext conftest.
$ac_ext
20004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
20005 $as_echo "$kpse_res" >&6; }
20008 if test "x$syslib_status" = xno
; then
20009 as_fn_error $?
"some requested system libraries failed" "$LINENO" 5
20011 if test "x$syslib_used:$enable_native_texlive_build" = xyes
:yes; then
20012 as_fn_error $?
"you can not use system libraries for a native TeX Live build" "$LINENO" 5
20014 CPPFLAGS
=$kpse_save_CPPFLAGS
20015 LIBS
=$kpse_save_LIBS
20018 if test "x$cross_compiling" = xyes
; then
20027 subdirs
="$subdirs auxdir/auxsub libs utils texk"
20030 ac_config_files
="$ac_config_files Makefile doc/Makefile"
20034 kpse_GNU_make
=`${MAKE-make} -v 2>/dev/null | grep GNU`
20036 cat >confcache
<<\_ACEOF
20037 # This file is a shell script that caches the results of configure
20038 # tests run on this system so they can be shared between configure
20039 # scripts and configure runs, see configure's option --config-cache.
20040 # It is not useful on other systems. If it contains results you don't
20041 # want to keep, you may remove or edit it.
20043 # config.status only pays attention to the cache file if you give it
20044 # the --recheck option to rerun configure.
20046 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20047 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20048 # following values.
20052 # The following way of writing the cache mishandles newlines in values,
20053 # but we know of no workaround that is simple, portable, and efficient.
20054 # So, we kill variables containing newlines.
20055 # Ultrix sh set writes to stderr and can't be redirected directly,
20056 # and sets the high bit in the cache file unless we assign to the vars.
20058 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20059 eval ac_val
=\$
$ac_var
20063 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20067 _ | IFS | as_nl
) ;; #(
20068 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
20069 *) { eval $ac_var=; unset $ac_var;} ;;
20075 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20076 *${as_nl}ac_space
=\
*)
20077 # `set' does not quote correctly, so add quotes: double-quote
20078 # substitution turns \\\\ into \\, and sed turns \\ into \.
20081 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20084 # `set' quotes correctly as required by POSIX, so do not add quotes.
20085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20096 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20098 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20099 if test -w "$cache_file"; then
20100 if test "x$cache_file" != "x/dev/null"; then
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20102 $as_echo "$as_me: updating cache $cache_file" >&6;}
20103 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
20104 cat confcache
>"$cache_file"
20106 case $cache_file in #(
20108 mv -f confcache
"$cache_file"$$
&&
20109 mv -f "$cache_file"$$
"$cache_file" ;; #(
20111 mv -f confcache
"$cache_file" ;;
20116 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20117 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20122 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20123 # Let make expand exec_prefix.
20124 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20126 # Transform confdefs.h into DEFS.
20127 # Protect against shell expansion while executing Makefile rules.
20128 # Protect against Makefile macro expansion.
20130 # If the first sed substitution is executed (which looks for macros that
20131 # take arguments), then branch to the quote section. Otherwise,
20132 # look for a macro that doesn't take arguments.
20142 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
20144 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
20148 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
20161 DEFS
=`sed -n "$ac_script" confdefs.h`
20167 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20168 # 1. Remove the extension, and $U if already installed.
20169 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20170 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20171 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20172 # will be set to the directory where LIBOBJS objects are built.
20173 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20174 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20176 LIBOBJS
=$ac_libobjs
20178 LTLIBOBJS
=$ac_ltlibobjs
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20182 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20183 if test -n "$am_sleep_pid"; then
20184 # Hide warnings about reused PIDs.
20185 wait $am_sleep_pid 2>/dev
/null
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20188 $as_echo "done" >&6; }
20189 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20190 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20193 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20194 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20197 if test -n "$EXEEXT"; then
20199 am__EXEEXT_FALSE
='#'
20201 am__EXEEXT_TRUE
='#'
20205 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20206 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20209 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20210 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20213 if test -z "${cross_TRUE}" && test -z "${cross_FALSE}"; then
20214 as_fn_error $?
"conditional \"cross\" was never defined.
20215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20218 : "${CONFIG_STATUS=./config.status}"
20220 ac_clean_files_save
=$ac_clean_files
20221 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20223 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20225 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20227 # Generated by $as_me.
20228 # Run this file to recreate the current configuration.
20229 # Compiler output produced by configure, useful for debugging
20230 # configure, is in config.log if it exists.
20233 ac_cs_recheck=false
20236 SHELL=\${CONFIG_SHELL-$SHELL}
20239 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
20240 ## -------------------- ##
20241 ## M4sh Initialization. ##
20242 ## -------------------- ##
20244 # Be more Bourne compatible
20245 DUALCASE
=1; export DUALCASE
# for MKS sh
20246 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20249 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20250 # is contrary to our usage. Disable this feature.
20251 alias -g '${1+"$@"}'='"$@"'
20252 setopt NO_GLOB_SUBST
20254 case `(set -o) 2>/dev/null` in #(
20266 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20267 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20268 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20269 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20270 # Prefer a ksh shell builtin over an external printf program on Solaris,
20271 # but without wasting forks for bash or zsh.
20272 if test -z "$BASH_VERSION$ZSH_VERSION" \
20273 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20274 as_echo='print
-r --'
20275 as_echo_n='print
-rn --'
20276 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20277 as_echo='printf %s
\n'
20278 as_echo_n='printf %s
'
20280 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20281 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20282 as_echo_n='/usr
/ucb
/echo -n'
20284 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20285 as_echo_n_body='eval
20289 expr "X$arg" : "X\\(.*\\)$as_nl";
20290 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20292 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20294 export as_echo_n_body
20295 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20297 export as_echo_body
20298 as_echo='sh
-c $as_echo_body as_echo
'
20301 # The user is always right.
20302 if test "${PATH_SEPARATOR+set}" != set; then
20304 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20305 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20312 # We need space, tab and new line, in precisely that order. Quoting is
20313 # there to prevent editors from complaining about space-tab.
20314 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20315 # splitting by setting IFS to empty value.)
20318 # Find who we are. Look in the path if we contain no directory separator.
20321 *[\\/]* ) as_myself=$0 ;;
20322 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20323 for as_dir in $PATH
20326 test -z "$as_dir" && as_dir=.
20327 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20333 # We did not find ourselves, most probably we were run as `sh COMMAND'
20334 # in which case we are not to be found in the path.
20335 if test "x$as_myself" = x
; then
20338 if test ! -f "$as_myself"; then
20339 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20343 # Unset variables that we do not need and which cause bugs (e.g. in
20344 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20345 # suppresses any "Segmentation fault" message there. '((' could
20346 # trigger a bug in pdksh 5.2.14.
20347 for as_var
in BASH_ENV ENV MAIL MAILPATH
20348 do eval test x\
${$as_var+set} = xset \
20349 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
20362 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20365 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20366 # ----------------------------------------
20367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20369 # script with STATUS, using 1 if that was 0.
20372 as_status
=$1; test $as_status -eq 0 && as_status
=1
20374 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20377 $as_echo "$as_me: error: $2" >&2
20378 as_fn_exit
$as_status
20382 # as_fn_set_status STATUS
20383 # -----------------------
20384 # Set $? to STATUS, without forking.
20385 as_fn_set_status
()
20388 } # as_fn_set_status
20390 # as_fn_exit STATUS
20391 # -----------------
20392 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20396 as_fn_set_status
$1
20402 # Portably unset VAR.
20405 { eval $1=; unset $1;}
20407 as_unset
=as_fn_unset
20408 # as_fn_append VAR VALUE
20409 # ----------------------
20410 # Append the text in VALUE to the end of the definition contained in VAR. Take
20411 # advantage of any shell optimizations that allow amortized linear growth over
20412 # repeated appends, instead of the typical quadratic growth present in naive
20414 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20415 eval 'as_fn_append ()
20426 # as_fn_arith ARG...
20427 # ------------------
20428 # Perform arithmetic evaluation on the ARGs, and store the result in the
20429 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20430 # must be portable across $(()) and expr.
20431 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20432 eval 'as_fn_arith ()
20439 as_val
=`expr "$@" || test $? -eq 1`
20444 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20445 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20451 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20452 as_basename
=basename
20457 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20463 as_me
=`$as_basename -- "$0" ||
20464 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20465 X"$0" : 'X\(//\)$' \| \
20466 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20468 sed '/^.*\/\([^/][^/]*\)\/*$/{
20482 # Avoid depending upon Character Ranges.
20483 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20484 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20485 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20486 as_cr_digits
='0123456789'
20487 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20489 ECHO_C
= ECHO_N
= ECHO_T
=
20490 case `echo -n x` in #(((((
20492 case `echo 'xy\c'` in
20493 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20495 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20502 rm -f conf$$ conf$$.exe conf$$.
file
20503 if test -d conf$$.dir
; then
20504 rm -f conf$$.dir
/conf$$.
file
20507 mkdir conf$$.dir
2>/dev
/null
20509 if (echo >conf$$.
file) 2>/dev
/null
; then
20510 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20512 # ... but there are two gotchas:
20513 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20514 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20515 # In both cases, we have to default to `cp -pR'.
20516 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20518 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20526 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20527 rmdir conf$$.dir
2>/dev
/null
20532 # Create "$as_dir" as a directory, including parents if necessary.
20537 -*) as_dir
=.
/$as_dir;;
20539 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20543 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20544 *) as_qdir
=$as_dir;;
20546 as_dirs
="'$as_qdir' $as_dirs"
20547 as_dir
=`$as_dirname -- "$as_dir" ||
20548 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20549 X"$as_dir" : 'X\(//\)[^/]' \| \
20550 X"$as_dir" : 'X\(//\)$' \| \
20551 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20552 $as_echo X"$as_dir" |
20553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20557 /^X\(\/\/\)[^/].*/{
20570 test -d "$as_dir" && break
20572 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20573 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20577 if mkdir
-p .
2>/dev
/null
; then
20578 as_mkdir_p
='mkdir -p "$as_dir"'
20580 test -d .
/-p && rmdir .
/-p
20585 # as_fn_executable_p FILE
20586 # -----------------------
20587 # Test if FILE is an executable regular file.
20588 as_fn_executable_p
()
20590 test -f "$1" && test -x "$1"
20591 } # as_fn_executable_p
20592 as_test_x
='test -x'
20593 as_executable_p
=as_fn_executable_p
20595 # Sed expression to map a string onto a valid CPP name.
20596 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20598 # Sed expression to map a string onto a valid variable name.
20599 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20603 ## ----------------------------------- ##
20604 ## Main body of $CONFIG_STATUS script. ##
20605 ## ----------------------------------- ##
20607 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20610 # Save the log message, to keep $0 and so on meaningful, and to
20611 # report actual input values of CONFIG_FILES etc. instead of their
20612 # values after options handling.
20614 This file was extended by TeX Live $as_me 2015-03-07, which was
20615 generated by GNU Autoconf 2.69. Invocation command line was
20617 CONFIG_FILES = $CONFIG_FILES
20618 CONFIG_HEADERS = $CONFIG_HEADERS
20619 CONFIG_LINKS = $CONFIG_LINKS
20620 CONFIG_COMMANDS = $CONFIG_COMMANDS
20623 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20628 case $ac_config_files in *"
20629 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20635 # Files that config.status was made for.
20636 config_files="$ac_config_files"
20637 config_commands="$ac_config_commands"
20641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20643 \`$as_me' instantiates files and other configuration actions
20644 from templates according to the current configuration. Unless the files
20645 and actions are specified as TAGs, all are instantiated by default.
20647 Usage: $0 [OPTION]... [TAG]...
20649 -h, --help print this help, then exit
20650 -V, --version print version number and configuration settings, then exit
20651 --config print configuration, then exit
20652 -q, --quiet, --silent
20653 do not print progress messages
20654 -d, --debug don't remove temporary files
20655 --recheck update $as_me by reconfiguring in the same conditions
20656 --file=FILE[:TEMPLATE]
20657 instantiate the configuration file FILE
20659 Configuration files:
20662 Configuration commands:
20665 Report bugs to <tex-k@tug.org>."
20668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20669 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20671 TeX Live config.status 2015-03-07
20672 configured by $0, generated by GNU Autoconf 2.69,
20673 with options \\"\$ac_cs_config\\"
20675 Copyright (C) 2012 Free Software Foundation, Inc.
20676 This config.status script is free software; the Free Software Foundation
20677 gives unlimited permission to copy, distribute and modify it."
20684 test -n "\$AWK" || AWK=awk
20687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20688 # The default lists apply if the user does not specify any file.
20694 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20695 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20699 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20711 # Handling of the options.
20712 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20714 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20715 $as_echo "$ac_cs_version"; exit ;;
20716 --config |
--confi |
--conf |
--con |
--co |
--c )
20717 $as_echo "$ac_cs_config"; exit ;;
20718 --debug |
--debu |
--deb |
--de |
--d |
-d )
20720 --file |
--fil |
--fi |
--f )
20723 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20724 '') as_fn_error $?
"missing file argument" ;;
20726 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20727 ac_need_defaults
=false
;;
20728 --he |
--h |
--help |
--hel |
-h )
20729 $as_echo "$ac_cs_usage"; exit ;;
20730 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20731 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20734 # This is an error.
20735 -*) as_fn_error $?
"unrecognized option: \`$1'
20736 Try \`$0 --help' for more information." ;;
20738 *) as_fn_append ac_config_targets
" $1"
20739 ac_need_defaults
=false
;;
20745 ac_configure_extra_args
=
20747 if $ac_cs_silent; then
20749 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20754 if \$ac_cs_recheck; then
20755 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20757 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20758 CONFIG_SHELL='$SHELL'
20759 export CONFIG_SHELL
20764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20768 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20769 ## Running $as_me. ##
20775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20779 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20782 # The HP-UX ksh and POSIX shell print the target directory to stdout
20783 # if CDPATH is set.
20784 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20786 sed_quote_subst='$sed_quote_subst'
20787 double_quote_subst='$double_quote_subst'
20788 delay_variable_subst='$delay_variable_subst'
20789 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20790 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20791 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20792 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20793 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20794 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20795 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20796 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20797 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20798 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
20799 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20800 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20801 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20802 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20803 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20804 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20805 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20806 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20807 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20808 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20809 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20810 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20811 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20812 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20813 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20814 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20815 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20816 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20817 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20818 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20819 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20820 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20821 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20822 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20823 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20824 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20825 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20826 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20827 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20828 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20829 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20830 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20831 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20832 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20833 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20834 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20835 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20836 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20837 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20838 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20839 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20840 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20841 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20842 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20843 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20844 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20845 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20846 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
20847 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20848 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"`'
20849 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
20850 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20851 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20852 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
20853 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20854 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20855 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20856 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20857 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20858 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20859 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20860 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20861 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20862 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20863 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20864 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20865 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20866 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20867 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20868 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20869 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20870 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20871 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20872 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20873 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20874 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20875 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20876 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20877 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20878 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20879 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20880 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20881 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20882 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20883 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20884 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20885 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20886 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20887 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20888 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20889 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20890 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20891 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20892 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20893 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20894 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20895 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20896 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20897 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20898 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20899 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20900 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20901 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20902 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20903 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20904 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20905 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20906 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20907 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20908 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20909 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20910 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20911 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20912 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20913 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20914 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20915 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20916 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20917 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
20918 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
20919 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20920 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20921 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20922 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20923 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20924 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20925 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20926 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20927 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20928 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20929 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20930 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20931 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20932 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20933 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20934 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20935 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20936 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20937 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20938 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20939 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20940 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20941 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20942 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20943 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20944 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20945 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20946 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20947 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20948 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20949 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20950 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20951 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20952 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20953 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20954 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20955 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20956 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20957 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20958 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20959 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20960 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20961 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20962 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20963 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20964 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20965 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20966 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20967 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20968 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20969 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20970 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20971 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20972 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20973 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20974 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20975 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20976 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20977 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20978 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20981 LTCFLAGS='$LTCFLAGS'
20982 compiler='$compiler_DEFAULT'
20984 # A function that is used when there is no print builtin or printf.
20985 func_fallback_echo ()
20987 eval 'cat <<_LTECHO_EOF
20992 # Quote evaled strings.
21009 deplibs_check_method \
21013 sharedlib_from_linklib_cmd \
21016 archiver_list_spec \
21022 lt_cv_sys_global_symbol_pipe \
21023 lt_cv_sys_global_symbol_to_cdecl \
21024 lt_cv_sys_global_symbol_to_import \
21025 lt_cv_sys_global_symbol_to_c_name_address \
21026 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21027 lt_cv_nm_interface \
21028 nm_file_list_spec \
21029 lt_cv_truncate_bin \
21030 lt_prog_compiler_no_builtin_flag \
21031 lt_prog_compiler_pic \
21032 lt_prog_compiler_wl \
21033 lt_prog_compiler_static \
21034 lt_cv_prog_compiler_c_o \
21043 export_dynamic_flag_spec \
21044 whole_archive_flag_spec \
21045 compiler_needs_object \
21047 allow_undefined_flag \
21048 no_undefined_flag \
21049 hardcode_libdir_flag_spec \
21050 hardcode_libdir_separator \
21054 variables_saved_for_relink \
21056 library_names_spec \
21058 install_override_mode \
21062 compiler_lib_search_dirs \
21067 compiler_lib_search_path \
21071 lt_prog_compiler_no_builtin_flag_CXX \
21072 lt_prog_compiler_pic_CXX \
21073 lt_prog_compiler_wl_CXX \
21074 lt_prog_compiler_static_CXX \
21075 lt_cv_prog_compiler_c_o_CXX \
21076 export_dynamic_flag_spec_CXX \
21077 whole_archive_flag_spec_CXX \
21078 compiler_needs_object_CXX \
21080 allow_undefined_flag_CXX \
21081 no_undefined_flag_CXX \
21082 hardcode_libdir_flag_spec_CXX \
21083 hardcode_libdir_separator_CXX \
21084 exclude_expsyms_CXX \
21085 include_expsyms_CXX \
21086 file_list_spec_CXX \
21087 compiler_lib_search_dirs_CXX \
21088 predep_objects_CXX \
21089 postdep_objects_CXX \
21092 compiler_lib_search_path_CXX; do
21093 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21094 *[\\\\\\\`\\"\\\$]*)
21095 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21098 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21103 # Double-quote double-evaled strings.
21104 for var in reload_cmds \
21105 old_postinstall_cmds \
21106 old_postuninstall_cmds \
21108 extract_expsyms_cmds \
21109 old_archive_from_new_cmds \
21110 old_archive_from_expsyms_cmds \
21112 archive_expsym_cmds \
21114 module_expsym_cmds \
21115 export_symbols_cmds \
21119 postuninstall_cmds \
21121 sys_lib_search_path_spec \
21122 configure_time_dlsearch_path \
21123 configure_time_lt_sys_library_path \
21125 old_archive_cmds_CXX \
21126 old_archive_from_new_cmds_CXX \
21127 old_archive_from_expsyms_cmds_CXX \
21129 archive_expsym_cmds_CXX \
21131 module_expsym_cmds_CXX \
21132 export_symbols_cmds_CXX \
21134 postlink_cmds_CXX; do
21135 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21136 *[\\\\\\\`\\"\\\$]*)
21137 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21140 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21145 ac_aux_dir='$ac_aux_dir'
21147 # See if we are running on zsh, and set the options that allow our
21148 # commands through without removal of \ escapes INIT.
21149 if test -n "\${ZSH_VERSION+set}"; then
21150 setopt NO_GLOB_SUBST
21161 enable_libtool_hack='$enable_libtool_hack'
21167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21169 # Handling of arguments.
21170 for ac_config_target
in $ac_config_targets
21172 case $ac_config_target in
21173 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21174 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21175 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21176 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
21178 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21183 # If the user did not use the arguments to specify the items to instantiate,
21184 # then the envvar interface is used. Set only those that are not.
21185 # We use the long form for the default assignment because of an extremely
21186 # bizarre bug on SunOS 4.1.3.
21187 if $ac_need_defaults; then
21188 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21189 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21192 # Have a temporary directory for convenience. Make it in the build tree
21193 # simply because there is no reason against having it here, and in addition,
21194 # creating and moving files from /tmp can sometimes cause problems.
21195 # Hook for its removal unless debugging.
21196 # Note that there is a small window in which the directory will not be cleaned:
21197 # after its creation but before its name has been assigned to `$tmp'.
21201 trap 'exit_status=$?
21202 : "${ac_tmp:=$tmp}"
21203 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21205 trap 'as_fn_exit 1' 1 2 13 15
21207 # Create a (secure) tmp directory for tmp files.
21210 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21214 tmp
=.
/conf$$
-$RANDOM
21215 (umask 077 && mkdir
"$tmp")
21216 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21219 # Set up the scripts for CONFIG_FILES section.
21220 # No need to generate them if there are no CONFIG_FILES.
21221 # This happens for instance with `./config.status config.h'.
21222 if test -n "$CONFIG_FILES"; then
21225 ac_cr
=`echo X | tr X '\015'`
21226 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21227 # But we know of no other shell where ac_cr would be empty at this
21228 # point, so we can use a bashism as a fallback.
21229 if test "x$ac_cr" = x
; then
21230 eval ac_cr
=\$
\'\\r
\'
21232 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21233 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21236 ac_cs_awk_cr
=$ac_cr
21239 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21244 echo "cat >conf$$subs.awk <<_ACEOF" &&
21245 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21247 } >conf$$subs.sh ||
21248 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21249 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21251 for ac_last_try in false false false false false :; do
21252 . ./conf$$subs.sh ||
21253 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21255 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21256 if test $ac_delim_n = $ac_delim_num; then
21258 elif $ac_last_try; then
21259 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21261 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21264 rm -f conf$$subs.sh
21266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21267 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21271 s/^/S["/; s
/!.
*/"]=/
21281 s/\(.\{148\}\)..*/\1/
21283 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21288 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21295 s/\(.\{148\}\)..*/\1/
21297 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21301 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21306 ' <conf$$subs.awk | sed '
21311 ' >>$CONFIG_STATUS || ac_write_fail=1
21312 rm -f conf$$subs.awk
21313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21315 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21316 for (key in S) S_is_set[key] = 1
21322 nfields = split(line, field, "@
")
21324 len = length(field[1])
21325 for (i = 2; i < nfields; i++) {
21327 keylen = length(key)
21328 if (S_is_set[key]) {
21330 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21331 len += length(value) + length(field[++i])
21342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21343 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21344 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21347 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21348 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21351 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21352 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21353 # trailing colons and then remove the whole line if VPATH becomes empty
21354 # (actually we leave an empty line to preserve line numbers).
21355 if test "x
$srcdir" = x.; then
21356 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21375 fi # test -n "$CONFIG_FILES"
21378 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
21383 :[FHLC]) ac_mode=$ac_tag; continue;;
21385 case $ac_mode$ac_tag in
21387 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
21388 :[FH]-) ac_tag=-:-;;
21389 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21406 -) ac_f="$ac_tmp/stdin";;
21407 *) # Look for the file first in the build tree, then in the source tree
21408 # (if the path is not absolute). The absolute path cannot be DOS-style,
21409 # because $ac_f cannot contain `:'.
21413 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21415 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21417 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
21418 as_fn_append ac_file_inputs " '$ac_f'"
21421 # Let's still pretend it is `configure' which instantiates (i.e., don't
21422 # use $as_me), people would be surprised to read:
21423 # /* config.h. Generated by config.status. */
21424 configure_input='Generated from '`
21425 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21427 if test x"$ac_file" != x-; then
21428 configure_input="$ac_file.
$configure_input"
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
21430 $as_echo "$as_me: creating
$ac_file" >&6;}
21432 # Neutralize special characters interpreted by sed in replacement strings.
21433 case $configure_input in #(
21434 *\&* | *\|* | *\\* )
21435 ac_sed_conf_input=`$as_echo "$configure_input" |
21436 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21437 *) ac_sed_conf_input=$configure_input;;
21441 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
21442 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
21447 ac_dir=`$as_dirname -- "$ac_file" ||
21448 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21449 X"$ac_file" : 'X\(//\)[^/]' \| \
21450 X"$ac_file" : 'X\(//\)$' \| \
21451 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21452 $as_echo X"$ac_file" |
21453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21457 /^X\(\/\/\)[^/].*/{
21470 as_dir="$ac_dir"; as_fn_mkdir_p
21474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21476 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21477 # A "..
" for each directory in $ac_dir_suffix.
21478 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21479 case $ac_top_builddir_sub in
21480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21484 ac_abs_top_builddir=$ac_pwd
21485 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21486 # for backward compatibility:
21487 ac_top_builddir=$ac_top_build_prefix
21490 .) # We are building in place.
21492 ac_top_srcdir=$ac_top_builddir_sub
21493 ac_abs_top_srcdir=$ac_pwd ;;
21494 [\\/]* | ?:[\\/]* ) # Absolute name.
21495 ac_srcdir=$srcdir$ac_dir_suffix;
21496 ac_top_srcdir=$srcdir
21497 ac_abs_top_srcdir=$srcdir ;;
21498 *) # Relative name.
21499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21500 ac_top_srcdir=$ac_top_build_prefix$srcdir
21501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21503 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21513 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21514 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21516 ac_MKDIR_P=$MKDIR_P
21518 [\\/$]* | ?:[\\/]* ) ;;
21519 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21524 # If the template does not know about datarootdir, expand it.
21525 # FIXME: This hack should be removed a few years after 2.60.
21526 ac_datarootdir_hack=; ac_datarootdir_seen=
21537 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
21538 *datarootdir*) ac_datarootdir_seen=yes;;
21539 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
21541 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
21543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21544 ac_datarootdir_hack='
21545 s&@datadir@&$datadir&g
21546 s&@docdir@&$docdir&g
21547 s&@infodir@&$infodir&g
21548 s&@localedir@&$localedir&g
21549 s&@mandir@&$mandir&g
21550 s&\\\${datarootdir}&$datarootdir&g' ;;
21554 # Neutralize VPATH when `$srcdir' = `.'.
21555 # Shell code in configure.ac might set extrasub.
21556 # FIXME: do we really want to maintain this feature?
21557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21558 ac_sed_extra="$ac_vpsub
21561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21563 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21564 s|@configure_input@|
$ac_sed_conf_input|
;t t
21565 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21566 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21567 s
&@srcdir@
&$ac_srcdir&;t t
21568 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21569 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21570 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21571 s
&@builddir@
&$ac_builddir&;t t
21572 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21573 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21574 s
&@INSTALL@
&$ac_INSTALL&;t t
21575 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21576 $ac_datarootdir_hack
21578 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21579 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21581 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21582 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21583 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21584 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21586 which seems to be undefined. Please make sure it is defined" >&5
21587 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21588 which seems to be undefined. Please make sure it is defined" >&2;}
21590 rm -f "$ac_tmp/stdin"
21592 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21593 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21595 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21599 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21600 $as_echo "$as_me: executing $ac_file commands" >&6;}
21605 case $ac_file$ac_mode in
21606 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21607 # Older Autoconf quotes --file arguments for eval, but not when files
21608 # are listed without --file. Let's play safe and only
enable the
eval
21609 # if we detect the quoting.
21610 case $CONFIG_FILES in
21611 *\'*) eval set x
"$CONFIG_FILES" ;;
21612 *) set x
$CONFIG_FILES ;;
21617 # Strip MF so we end up with the name of the file.
21618 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21619 # Check whether this is an Automake generated Makefile or not.
21620 # We used to match only the files named 'Makefile.in', but
21621 # some people rename them; so instead we look at the file content.
21622 # Grep'ing the first line is not enough: some people post-process
21623 # each Makefile.in and add a new line on top of each file to say so.
21624 # Grep'ing the whole file is not good either: AIX grep has a line
21625 # limit of 2048, but all sed's we know have understand at least 4000.
21626 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21627 dirpart
=`$as_dirname -- "$mf" ||
21628 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21629 X"$mf" : 'X\(//\)[^/]' \| \
21630 X"$mf" : 'X\(//\)$' \| \
21631 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21637 /^X\(\/\/\)[^/].*/{
21653 # Extract the definition of DEPDIR, am__include, and am__quote
21654 # from the Makefile without running 'make'.
21655 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21656 test -z "$DEPDIR" && continue
21657 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21658 test -z "$am__include" && continue
21659 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21660 # Find all dependency output files, they are included files with
21661 # $(DEPDIR) in their names. We invoke sed twice because it is the
21662 # simplest approach to changing $(DEPDIR) to its actual value in the
21664 for file in `sed -n "
21665 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21666 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21667 # Make sure the directory exists.
21668 test -f "$dirpart/$file" && continue
21669 fdir
=`$as_dirname -- "$file" ||
21670 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21671 X"$file" : 'X\(//\)[^/]' \| \
21672 X"$file" : 'X\(//\)$' \| \
21673 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21674 $as_echo X"$file" |
21675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21679 /^X\(\/\/\)[^/].*/{
21692 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21693 # echo "creating $dirpart/$file"
21694 echo '# dummy' > "$dirpart/$file"
21701 # See if we are running on zsh, and set the options that allow our
21702 # commands through without removal of \ escapes.
21703 if test -n "${ZSH_VERSION+set}"; then
21704 setopt NO_GLOB_SUBST
21708 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21711 cat <<_LT_EOF >> "$cfgfile"
21713 # Generated automatically by $as_me ($PACKAGE) $VERSION
21714 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21715 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21717 # Provide generalized library-building support services.
21718 # Written by Gordon Matzigkeit, 1996
21720 # Copyright (C) 2014 Free Software Foundation, Inc.
21721 # This is free software; see the source for copying conditions. There is NO
21722 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21724 # GNU Libtool is free software; you can redistribute it and/or modify
21725 # it under the terms of the GNU General Public License as published by
21726 # the Free Software Foundation; either version 2 of of the License, or
21727 # (at your option) any later version.
21729 # As a special exception to the GNU General Public License, if you
21730 # distribute this file as part of a program or library that is built
21731 # using GNU Libtool, you may include this file under the same
21732 # distribution terms that you use for the rest of that program.
21734 # GNU Libtool is distributed in the hope that it will be useful, but
21735 # WITHOUT ANY WARRANTY; without even the implied warranty of
21736 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21737 # GNU General Public License for more details.
21739 # You should have received a copy of the GNU General Public License
21740 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21743 # The names of the tagged configurations supported by this script.
21744 available_tags='CXX '
21746 # Configured defaults for sys_lib_dlsearch_path munging.
21747 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
21749 # ### BEGIN LIBTOOL CONFIG
21751 # Which release of libtool.m4 was used?
21752 macro_version=$macro_version
21753 macro_revision=$macro_revision
21755 # Assembler program.
21758 # DLL creation program.
21759 DLLTOOL=$lt_DLLTOOL
21761 # Object dumper program.
21762 OBJDUMP=$lt_OBJDUMP
21764 # Whether or not to build shared libraries.
21765 build_libtool_libs=$enable_shared
21767 # Whether or not to build static libraries.
21768 build_old_libs=$enable_static
21770 # What type of objects to build.
21773 # Whether or not to optimize for fast installation.
21774 fast_install=$enable_fast_install
21776 # Shared archive member basename,for filename based shared library versioning on AIX.
21777 shared_archive_member_spec=$shared_archive_member_spec
21779 # Shell to use when invoking shell scripts.
21782 # An echo program that protects backslashes.
21785 # The PATH separator for the build system.
21786 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21789 host_alias=$host_alias
21793 # The build system.
21794 build_alias=$build_alias
21798 # A sed program that does not truncate output.
21801 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21802 Xsed="\$SED -e 1s/^X//"
21804 # A grep program that handles long lines.
21810 # A literal string matcher.
21813 # A BSD- or MS-compatible name lister.
21816 # Whether we need soft or hard links.
21819 # What is the maximum length of a command?
21820 max_cmd_len=$max_cmd_len
21822 # Object file suffix (normally "o").
21825 # Executable file suffix (normally "").
21828 # whether the shell understands "unset".
21831 # turn spaces into newlines.
21834 # turn newlines into spaces.
21837 # convert \$build file names to \$host format.
21838 to_host_file_cmd=$lt_cv_to_host_file_cmd
21840 # convert \$build files to toolchain format.
21841 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21843 # Method to check whether dependent libraries are shared objects.
21844 deplibs_check_method=$lt_deplibs_check_method
21846 # Command to use when deplibs_check_method = "file_magic".
21847 file_magic_cmd=$lt_file_magic_cmd
21849 # How to find potential files when deplibs_check_method = "file_magic".
21850 file_magic_glob=$lt_file_magic_glob
21852 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21853 want_nocaseglob=$lt_want_nocaseglob
21855 # Command to associate shared and link libraries.
21856 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21861 # Flags to create an archive.
21862 AR_FLAGS=$lt_AR_FLAGS
21864 # How to feed a file listing to the archiver.
21865 archiver_list_spec=$lt_archiver_list_spec
21867 # A symbol stripping program.
21870 # Commands used to install an old-style archive.
21872 old_postinstall_cmds=$lt_old_postinstall_cmds
21873 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21875 # Whether to use a lock for old archive extraction.
21876 lock_old_archive_extraction=$lock_old_archive_extraction
21881 # LTCC compiler flags.
21882 LTCFLAGS=$lt_CFLAGS
21884 # Take the output of nm and produce a listing of raw symbols and C names.
21885 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21887 # Transform the output of nm in a proper C declaration.
21888 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21890 # Transform the output of nm into a list of symbols to manually relocate.
21891 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
21893 # Transform the output of nm in a C name address pair.
21894 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21896 # Transform the output of nm in a C name address pair when lib prefix is needed.
21897 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21899 # The name lister interface.
21900 nm_interface=$lt_lt_cv_nm_interface
21902 # Specify filename containing input files for \$NM.
21903 nm_file_list_spec=$lt_nm_file_list_spec
21905 # The root where to search for dependent libraries,and where our libraries should be installed.
21906 lt_sysroot=$lt_sysroot
21908 # Command to truncate a binary pipe.
21909 lt_truncate_bin=$lt_lt_cv_truncate_bin
21911 # The name of the directory that contains temporary libtool files.
21914 # Used to examine libraries when file_magic_cmd begins with "file".
21915 MAGIC_CMD=$MAGIC_CMD
21917 # Must we lock files when doing compilation?
21918 need_locks=$lt_need_locks
21921 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21923 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21924 DSYMUTIL=$lt_DSYMUTIL
21926 # Tool to change global to local symbols on Mac OS X.
21929 # Tool to manipulate fat objects and archives on Mac OS X.
21932 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21935 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21936 OTOOL64=$lt_OTOOL64
21938 # Old archive suffix (normally "a").
21941 # Shared library suffix (normally ".so").
21942 shrext_cmds=$lt_shrext_cmds
21944 # The commands to extract the exported symbol list from a shared archive.
21945 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21947 # Variables whose values should be saved in libtool wrapper scripts and
21948 # restored at link time.
21949 variables_saved_for_relink=$lt_variables_saved_for_relink
21951 # Do we need the "lib" prefix for modules?
21952 need_lib_prefix=$need_lib_prefix
21954 # Do we need a version for libraries?
21955 need_version=$need_version
21957 # Library versioning type.
21958 version_type=$version_type
21960 # Shared library runtime path variable.
21961 runpath_var=$runpath_var
21963 # Shared library path variable.
21964 shlibpath_var=$shlibpath_var
21966 # Is shlibpath searched before the hard-coded library search path?
21967 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21969 # Format of library name prefix.
21970 libname_spec=$lt_libname_spec
21972 # List of archive names. First name is the real one, the rest are links.
21973 # The last name is the one that the linker finds with -lNAME
21974 library_names_spec=$lt_library_names_spec
21976 # The coded name of the library, if different from the real name.
21977 soname_spec=$lt_soname_spec
21979 # Permission mode override for installation of shared libraries.
21980 install_override_mode=$lt_install_override_mode
21982 # Command to use after installation of a shared archive.
21983 postinstall_cmds=$lt_postinstall_cmds
21985 # Command to use after uninstallation of a shared archive.
21986 postuninstall_cmds=$lt_postuninstall_cmds
21988 # Commands used to finish a libtool library installation in a directory.
21989 finish_cmds=$lt_finish_cmds
21991 # As "finish_cmds", except a single script fragment to be evaled but
21993 finish_eval=$lt_finish_eval
21995 # Whether we should hardcode library paths into libraries.
21996 hardcode_into_libs=$hardcode_into_libs
21998 # Compile-time system search path for libraries.
21999 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22001 # Detected run-time system search path for libraries.
22002 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
22004 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
22005 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
22007 # Whether dlopen is supported.
22008 dlopen_support=$enable_dlopen
22010 # Whether dlopen of programs is supported.
22011 dlopen_self=$enable_dlopen_self
22013 # Whether dlopen of statically linked programs is supported.
22014 dlopen_self_static=$enable_dlopen_self_static
22016 # Commands to strip libraries.
22017 old_striplib=$lt_old_striplib
22018 striplib=$lt_striplib
22021 # The linker used to build libraries.
22024 # How to create reloadable object files.
22025 reload_flag=$lt_reload_flag
22026 reload_cmds=$lt_reload_cmds
22028 # Commands used to build an old-style archive.
22029 old_archive_cmds=$lt_old_archive_cmds
22031 # A language specific compiler.
22034 # Is the compiler the GNU compiler?
22037 # Compiler flag to turn off builtin functions.
22038 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22040 # Additional compiler flags for building library objects.
22041 pic_flag=$lt_lt_prog_compiler_pic
22043 # How to pass a linker flag through the compiler.
22044 wl=$lt_lt_prog_compiler_wl
22046 # Compiler flag to prevent dynamic linking.
22047 link_static_flag=$lt_lt_prog_compiler_static
22049 # Does compiler simultaneously support -c and -o options?
22050 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22052 # Whether or not to add -lc for building shared libraries.
22053 build_libtool_need_lc=$archive_cmds_need_lc
22055 # Whether or not to disallow shared libs when runtime libs are static.
22056 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22058 # Compiler flag to allow reflexive dlopens.
22059 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22061 # Compiler flag to generate shared objects directly from archives.
22062 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22064 # Whether the compiler copes with passing no objects directly.
22065 compiler_needs_object=$lt_compiler_needs_object
22067 # Create an old-style archive from a shared archive.
22068 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22070 # Create a temporary old-style archive to link instead of a shared archive.
22071 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22073 # Commands used to build a shared archive.
22074 archive_cmds=$lt_archive_cmds
22075 archive_expsym_cmds=$lt_archive_expsym_cmds
22077 # Commands used to build a loadable module if different from building
22078 # a shared archive.
22079 module_cmds=$lt_module_cmds
22080 module_expsym_cmds=$lt_module_expsym_cmds
22082 # Whether we are building with GNU ld or not.
22083 with_gnu_ld=$lt_with_gnu_ld
22085 # Flag that allows shared libraries with undefined symbols to be built.
22086 allow_undefined_flag=$lt_allow_undefined_flag
22088 # Flag that enforces no undefined symbols.
22089 no_undefined_flag=$lt_no_undefined_flag
22091 # Flag to hardcode \$libdir into a binary during linking.
22092 # This must work even if \$libdir does not exist
22093 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22095 # Whether we need a single "-rpath" flag with a separated argument.
22096 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22098 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22099 # DIR into the resulting binary.
22100 hardcode_direct=$hardcode_direct
22102 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22103 # DIR into the resulting binary and the resulting library dependency is
22104 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
22105 # library is relocated.
22106 hardcode_direct_absolute=$hardcode_direct_absolute
22108 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22109 # into the resulting binary.
22110 hardcode_minus_L=$hardcode_minus_L
22112 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22113 # into the resulting binary.
22114 hardcode_shlibpath_var=$hardcode_shlibpath_var
22116 # Set to "yes" if building a shared library automatically hardcodes DIR
22117 # into the library and all subsequent libraries and executables linked
22119 hardcode_automatic=$hardcode_automatic
22121 # Set to yes if linker adds runtime paths of dependent libraries
22122 # to runtime path list.
22123 inherit_rpath=$inherit_rpath
22125 # Whether libtool must link a program against all its dependency libraries.
22126 link_all_deplibs=$link_all_deplibs
22128 # Set to "yes" if exported symbols are required.
22129 always_export_symbols=$always_export_symbols
22131 # The commands to list exported symbols.
22132 export_symbols_cmds=$lt_export_symbols_cmds
22134 # Symbols that should not be listed in the preloaded symbols.
22135 exclude_expsyms=$lt_exclude_expsyms
22137 # Symbols that must always be exported.
22138 include_expsyms=$lt_include_expsyms
22140 # Commands necessary for linking programs (against libraries) with templates.
22141 prelink_cmds=$lt_prelink_cmds
22143 # Commands necessary for finishing linking programs.
22144 postlink_cmds=$lt_postlink_cmds
22146 # Specify filename containing input files.
22147 file_list_spec=$lt_file_list_spec
22149 # How to hardcode a shared library path into an executable.
22150 hardcode_action=$hardcode_action
22152 # The directories searched by this compiler when creating a shared library.
22153 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22155 # Dependencies to place before and after the objects being linked to
22156 # create a shared library.
22157 predep_objects=$lt_predep_objects
22158 postdep_objects=$lt_postdep_objects
22159 predeps=$lt_predeps
22160 postdeps=$lt_postdeps
22162 # The library search path used internally by the compiler when linking
22163 # a shared library.
22164 compiler_lib_search_path=$lt_compiler_lib_search_path
22166 # ### END LIBTOOL CONFIG
22170 cat <<'_LT_EOF' >> "$cfgfile"
22172 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
22174 # func_munge_path_list VARIABLE PATH
22175 # -----------------------------------
22176 # VARIABLE is name of variable containing _space_ separated list of
22177 # directories to be munged by the contents of PATH, which is string
22180 # string "DIR[ DIR]" will be prepended to VARIABLE
22182 # string "DIR[ DIR]" will be appended to VARIABLE
22183 # "DIRP[:DIRP]::[DIRA:]DIRA"
22184 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
22185 # "DIRA[ DIRA]" will be appended to VARIABLE
22187 # VARIABLE will be replaced by "DIR[ DIR]"
22188 func_munge_path_list ()
22194 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
22197 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
22200 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
22201 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
22204 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
22210 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
22211 func_cc_basename ()
22213 for cc_temp in $*""; do
22215 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22216 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22221 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
22225 # ### END FUNCTIONS SHARED WITH CONFIGURE
22231 cat <<\_LT_EOF
>> "$cfgfile"
22232 # AIX sometimes has problems with the GCC collect2 program. For some
22233 # reason, if we set the COLLECT_NAMES environment variable, the problems
22234 # vanish in a puff of smoke.
22235 if test set != "${COLLECT_NAMES+set}"; then
22237 export COLLECT_NAMES
22244 ltmain
=$ac_aux_dir/ltmain.sh
22247 # We use sed instead of cat because bash on DJGPP gets confused if
22248 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22249 # text mode, it properly converts lines to CR/LF. This bash problem
22250 # is reportedly fixed, but why not run on old versions too?
22251 sed '$q' "$ltmain" >> "$cfgfile" \
22252 ||
(rm -f "$cfgfile"; exit 1)
22254 mv -f "$cfgfile" "$ofile" ||
22255 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22259 cat <<_LT_EOF >> "$ofile"
22261 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22263 # The linker used to build libraries.
22266 # How to create reloadable object files.
22267 reload_flag=$lt_reload_flag_CXX
22268 reload_cmds=$lt_reload_cmds_CXX
22270 # Commands used to build an old-style archive.
22271 old_archive_cmds=$lt_old_archive_cmds_CXX
22273 # A language specific compiler.
22274 CC=$lt_compiler_CXX
22276 # Is the compiler the GNU compiler?
22279 # Compiler flag to turn off builtin functions.
22280 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22282 # Additional compiler flags for building library objects.
22283 pic_flag=$lt_lt_prog_compiler_pic_CXX
22285 # How to pass a linker flag through the compiler.
22286 wl=$lt_lt_prog_compiler_wl_CXX
22288 # Compiler flag to prevent dynamic linking.
22289 link_static_flag=$lt_lt_prog_compiler_static_CXX
22291 # Does compiler simultaneously support -c and -o options?
22292 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22294 # Whether or not to add -lc for building shared libraries.
22295 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22297 # Whether or not to disallow shared libs when runtime libs are static.
22298 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22300 # Compiler flag to allow reflexive dlopens.
22301 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22303 # Compiler flag to generate shared objects directly from archives.
22304 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22306 # Whether the compiler copes with passing no objects directly.
22307 compiler_needs_object=$lt_compiler_needs_object_CXX
22309 # Create an old-style archive from a shared archive.
22310 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22312 # Create a temporary old-style archive to link instead of a shared archive.
22313 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22315 # Commands used to build a shared archive.
22316 archive_cmds=$lt_archive_cmds_CXX
22317 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22319 # Commands used to build a loadable module if different from building
22320 # a shared archive.
22321 module_cmds=$lt_module_cmds_CXX
22322 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22324 # Whether we are building with GNU ld or not.
22325 with_gnu_ld=$lt_with_gnu_ld_CXX
22327 # Flag that allows shared libraries with undefined symbols to be built.
22328 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22330 # Flag that enforces no undefined symbols.
22331 no_undefined_flag=$lt_no_undefined_flag_CXX
22333 # Flag to hardcode \$libdir into a binary during linking.
22334 # This must work even if \$libdir does not exist
22335 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22337 # Whether we need a single "-rpath" flag with a separated argument.
22338 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22340 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22341 # DIR into the resulting binary.
22342 hardcode_direct=$hardcode_direct_CXX
22344 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22345 # DIR into the resulting binary and the resulting library dependency is
22346 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
22347 # library is relocated.
22348 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22350 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22351 # into the resulting binary.
22352 hardcode_minus_L=$hardcode_minus_L_CXX
22354 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22355 # into the resulting binary.
22356 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22358 # Set to "yes" if building a shared library automatically hardcodes DIR
22359 # into the library and all subsequent libraries and executables linked
22361 hardcode_automatic=$hardcode_automatic_CXX
22363 # Set to yes if linker adds runtime paths of dependent libraries
22364 # to runtime path list.
22365 inherit_rpath=$inherit_rpath_CXX
22367 # Whether libtool must link a program against all its dependency libraries.
22368 link_all_deplibs=$link_all_deplibs_CXX
22370 # Set to "yes" if exported symbols are required.
22371 always_export_symbols=$always_export_symbols_CXX
22373 # The commands to list exported symbols.
22374 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22376 # Symbols that should not be listed in the preloaded symbols.
22377 exclude_expsyms=$lt_exclude_expsyms_CXX
22379 # Symbols that must always be exported.
22380 include_expsyms=$lt_include_expsyms_CXX
22382 # Commands necessary for linking programs (against libraries) with templates.
22383 prelink_cmds=$lt_prelink_cmds_CXX
22385 # Commands necessary for finishing linking programs.
22386 postlink_cmds=$lt_postlink_cmds_CXX
22388 # Specify filename containing input files.
22389 file_list_spec=$lt_file_list_spec_CXX
22391 # How to hardcode a shared library path into an executable.
22392 hardcode_action=$hardcode_action_CXX
22394 # The directories searched by this compiler when creating a shared library.
22395 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22397 # Dependencies to place before and after the objects being linked to
22398 # create a shared library.
22399 predep_objects=$lt_predep_objects_CXX
22400 postdep_objects=$lt_postdep_objects_CXX
22401 predeps=$lt_predeps_CXX
22402 postdeps=$lt_postdeps_CXX
22404 # The library search path used internally by the compiler when linking
22405 # a shared library.
22406 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22408 # ### END LIBTOOL TAG CONFIG: CXX
22411 ## KPSE_LT_HACK: Prevent libtool from linking dependency_libs
22412 if test "x$enable_libtool_hack" = xyes
; then
22413 $SED '/# Convert "-framework/i\
22414 ## KPSE_LT_HACK: ignore dependency_libs\
22415 test "X$installed" = Xyes && dependency_libs=\
22416 ' "$ofile" >"$cfgfile"
22417 mv "$cfgfile" "$ofile" ||
22418 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22429 ac_clean_files
=$ac_clean_files_save
22431 test $ac_write_fail = 0 ||
22432 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22435 # configure is writing to config.log, and then calls config.status.
22436 # config.status does its own redirection, appending to config.log.
22437 # Unfortunately, on DOS this fails, as config.log is still kept open
22438 # by configure, so config.status won't be able to write to it; its
22439 # output is simply discarded. So we exec the FD to /dev/null,
22440 # effectively closing config.log, so it can be properly (re)opened and
22441 # appended to by config.status. When coming back to configure, we
22442 # need to make the FD available again.
22443 if test "$no_create" != yes; then
22445 ac_config_status_args
=
22446 test "$silent" = yes &&
22447 ac_config_status_args
="$ac_config_status_args --quiet"
22449 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22451 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22452 # would make configure fail if this is the last instruction.
22453 $ac_cs_success || as_fn_exit
1
22457 # CONFIG_SUBDIRS section.
22459 if test "$no_recursion" != yes; then
22461 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22462 # so they do not pile up.
22463 ac_sub_configure_args
=
22465 eval "set x $ac_configure_args"
22469 if test -n "$ac_prev"; then
22474 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
22475 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
22476 ac_prev
=cache_file
;;
22477 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
22478 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
22481 --config-cache |
-C)
22483 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
22485 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
22487 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
22489 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
22491 --disable-option-checking)
22495 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22497 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
22501 # Always prepend --prefix to ensure using the same prefix
22502 # in subdir configurations.
22503 ac_arg
="--prefix=$prefix"
22505 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22507 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
22510 if test "$silent" = yes; then
22511 ac_sub_configure_args
="--silent $ac_sub_configure_args"
22514 # Always prepend --disable-option-checking to silence warnings, since
22515 # different subdirs can have different --enable and --with options.
22516 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
22519 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
22521 # Do not complain, so a configure script can configure whichever
22522 # parts of a large source tree are present.
22523 test -d "$srcdir/$ac_dir" ||
continue
22525 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22526 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22527 $as_echo "$ac_msg" >&6
22528 as_dir
="$ac_dir"; as_fn_mkdir_p
22532 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22534 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22535 # A ".." for each directory in $ac_dir_suffix.
22536 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22537 case $ac_top_builddir_sub in
22538 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22539 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22542 ac_abs_top_builddir
=$ac_pwd
22543 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22544 # for backward compatibility:
22545 ac_top_builddir
=$ac_top_build_prefix
22548 .
) # We are building in place.
22550 ac_top_srcdir
=$ac_top_builddir_sub
22551 ac_abs_top_srcdir
=$ac_pwd ;;
22552 [\\/]* | ?
:[\\/]* ) # Absolute name.
22553 ac_srcdir
=$srcdir$ac_dir_suffix;
22554 ac_top_srcdir
=$srcdir
22555 ac_abs_top_srcdir
=$srcdir ;;
22556 *) # Relative name.
22557 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22558 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22559 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22561 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22566 # Check for guested configure; otherwise get Cygnus style configure.
22567 if test -f "$ac_srcdir/configure.gnu"; then
22568 ac_sub_configure
=$ac_srcdir/configure.gnu
22569 elif test -f "$ac_srcdir/configure"; then
22570 ac_sub_configure
=$ac_srcdir/configure
22571 elif test -f "$ac_srcdir/configure.in"; then
22572 # This should be Cygnus configure.
22573 ac_sub_configure
=$ac_aux_dir/configure
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22576 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22580 # The recursion is here.
22581 if test -n "$ac_sub_configure"; then
22582 # Make the cache file name correct relative to the subdirectory.
22583 case $cache_file in
22584 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
22585 *) # Relative name.
22586 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
22589 { $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
22590 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22591 # The eval makes quoting arguments work.
22592 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22593 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22594 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22600 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22602 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22606 if test -z "$kpse_GNU_make"; then
22607 if test "x$enable_native_texlive_build" = xno
; then
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building TeX Live may require GNU make" >&5
22609 $as_echo "$as_me: WARNING: Building TeX Live may require GNU make" >&2;}
22611 as_fn_error $?
"Building TeX Live requires GNU make" "$LINENO" 5
22615 if test "x$cross_compiling" = xyes
; then :
22616 msg_compiling
="cross-compiling on $build_alias for $host_alias"
22618 msg_compiling
="compiling for $kpse_build_alias"
22621 kpse_src
=`cd "$srcdir" && pwd`
22622 msg_compiling
="$msg_compiling
22624 test "x$srcdir" = x. || msg_compiling
="$msg_compiling
22625 from sources in $kpse_src"
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
22627 ** Configuration summary for $PACKAGE_STRING (2015/dev$with_banner_add):
22629 $msg_compiling" >&5
22631 ** Configuration summary for $PACKAGE_STRING (2015/dev$with_banner_add):
22633 $msg_compiling" >&6; }
22634 case $kpse_src$kpse_bld in
22635 *' '*) as_fn_error $?
"Absolute source and/or build path with embedded spaces" "$LINENO" 5;;
22638 cc_version
=`$CC --version 2>/dev/null | sed 1q`
22639 test -n "$cc_version" && cc_version
=" ($cc_version)"
22641 cxx_version
=`$CXX --version 2>/dev/null | sed 1q`
22642 test -n "$cxx_version" && cxx_version
=" ($cxx_version)"
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
22645 C compiler (CC): $CC$cc_version
22646 C++ compiler (CXX): $CXX$cxx_version
22649 enable_native_texlive_build: $enable_native_texlive_build
22650 enable_largefile: $enable_largefile
22651 enable_shared: $enable_shared
22652 enable_multiplatform: $enable_multiplatform
22653 enable_cxx_runtime_hack: $enable_cxx_runtime_hack
22654 enable_libtool_hack: $enable_libtool_hack
22655 enable_compiler_warnings: $enable_compiler_warnings
22658 includedir: $includedir
22659 datarootdir: $datarootdir
22662 exec_prefix: $exec_prefix
22666 ** Next run \`make' to configure and build each library and program.
22669 C compiler (CC): $CC$cc_version
22670 C++ compiler (CXX): $CXX$cxx_version
22673 enable_native_texlive_build: $enable_native_texlive_build
22674 enable_largefile: $enable_largefile
22675 enable_shared: $enable_shared
22676 enable_multiplatform: $enable_multiplatform
22677 enable_cxx_runtime_hack: $enable_cxx_runtime_hack
22678 enable_libtool_hack: $enable_libtool_hack
22679 enable_compiler_warnings: $enable_compiler_warnings
22682 includedir: $includedir
22683 datarootdir: $datarootdir
22686 exec_prefix: $exec_prefix
22690 ** Next run \`make' to configure and build each library and program.