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 compile and install METAFONT
1545 --disable-mf-nowin do not build a separate non-window-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 case $enable_mf in #(
4246 # Check whether --enable-mf-nowin was given.
4247 if test "${enable_mf_nowin+set}" = set; then :
4248 enableval=$enable_mf_nowin;
4251 # Check whether --with-mf-x-toolkit was given.
4252 if test "${with_mf_x_toolkit+set}" = set; then :
4253 withval=$with_mf_x_toolkit;
4255 # Check whether --enable-epsfwin was given.
4256 if test "${enable_epsfwin+set}" = set; then :
4257 enableval=$enable_epsfwin;
4259 # Check whether --enable-hp2627win was given.
4260 if test "${enable_hp2627win+set}" = set; then :
4261 enableval=$enable_hp2627win;
4263 # Check whether --enable-mftalkwin was given.
4264 if test "${enable_mftalkwin+set}" = set; then :
4265 enableval=$enable_mftalkwin;
4267 # Check whether --enable-nextwin was given.
4268 if test "${enable_nextwin+set}" = set; then :
4269 enableval=$enable_nextwin;
4271 # Check whether --enable-regiswin was given.
4272 if test "${enable_regiswin+set}" = set; then :
4273 enableval=$enable_regiswin;
4275 # Check whether --enable-suntoolswin was given.
4276 if test "${enable_suntoolswin+set}" = set; then :
4277 enableval=$enable_suntoolswin;
4279 # Check whether --enable-tektronixwin was given.
4280 if test "${enable_tektronixwin+set}" = set; then :
4281 enableval=$enable_tektronixwin;
4283 # Check whether --enable-unitermwin was given.
4284 if test "${enable_unitermwin+set}" = set; then :
4285 enableval=$enable_unitermwin;
4287 ## configure options for WEB programs
4288 # Check whether --enable-web-progs was given.
4289 if test "${enable_web_progs+set}" = set; then :
4290 enableval=$enable_web_progs;
4292 ## configure option for the SyncTeX library and tool
4293 # Check whether --enable-synctex was given.
4294 if test "${enable_synctex+set}" = set; then :
4295 enableval=$enable_synctex;
4299 ## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
4300 ## configure options and TL libraries required for texlive
4301 # Check whether --enable-texlive was given.
4302 if test "${enable_texlive+set}" = set; then :
4303 enableval=$enable_texlive;
4305 case $enable_texlive in #(
4310 enable_texlive=$enable_all_pkgs
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5
4312 $as_echo "$as_me: Assuming \
`--enable-texlive=$enable_texlive'" >&6;}
4313 ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'"
4317 ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
4318 ## configure options for texlive
4319 # Check whether --enable-linked-scripts was given.
4320 if test "${enable_linked_scripts+set}" = set; then :
4321 enableval=$enable_linked_scripts;
4325 ## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
4326 ## configure options and TL libraries required for zziplib
4328 # Check whether --with-system-zziplib was given.
4329 if test "${with_system_zziplib+set}" = set; then :
4330 withval=$with_system_zziplib;
4332 if test "x$with_system_zziplib" = x; then
4333 if test -f $srcdir/libs/zziplib/configure; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib
' headers and library from TL tree" >&5
4335 $as_echo "$as_me: Assuming \`zziplib' headers and library from TL tree
" >&6;}
4336 with_system_zziplib=no
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`zziplib' headers and library" >&5
4339 $as_echo "$as_me: Assuming installed \`zziplib
' headers and library" >&6;}
4340 with_system_zziplib=yes
4342 ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'"
4343 elif test "x$with_system_zziplib" = xyes; then
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`zziplib' headers and library
" >&5
4345 $as_echo "$as_me: Using installed \
`zziplib' headers and library" >&6;}
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zziplib
' headers and library from TL tree" >&5
4348 $as_echo "$as_me: Using \`zziplib' headers and library from TL tree
" >&6;}
4349 if test "x
$with_system_zziplib" != xno; then
4350 with_system_zziplib=no
4351 ac_configure_args="$ac_configure_args '--without-system-zziplib'"
4354 if test "x
$with_system_zziplib" = xyes; then
4355 if test "x
$with_system_zlib" = x; then
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \
`zlib' headers and library" >&5
4357 $as_echo "$as_me: -> installed \`zlib
' headers and library" >&6;}
4358 with_system_zlib=yes
4359 ac_configure_args="$ac_configure_args '--with-system-zlib'"
4360 elif test "x$with_system_zlib" != xyes; then
4361 as_fn_error $? "Sorry, \`--with-system-zziplib' requires \
`--with-system-zlib'" "$LINENO" 5
4365 test "x$need_zziplib" = xyes && {
4369 ## libs/poppler/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/poppler/
4370 ## configure options and TL libraries required for poppler
4372 # Check whether --with-system-poppler was given.
4373 if test "${with_system_poppler+set}" = set; then :
4374 withval=$with_system_poppler;
4376 if test "x$with_system_poppler" = x; then
4377 if test -f $srcdir/libs/poppler/configure; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`poppler
' headers and library from TL tree" >&5
4379 $as_echo "$as_me: Assuming \`poppler' headers and library from TL tree
" >&6;}
4380 with_system_poppler=no
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`poppler' headers and library" >&5
4383 $as_echo "$as_me: Assuming installed \`poppler
' headers and library" >&6;}
4384 with_system_poppler=yes
4386 ac_configure_args="$ac_configure_args '--with-system-poppler=$with_system_poppler'"
4387 elif test "x$with_system_poppler" = xyes; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`poppler' headers and library
" >&5
4389 $as_echo "$as_me: Using installed \
`poppler' headers and library" >&6;}
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`poppler
' headers and library from TL tree" >&5
4392 $as_echo "$as_me: Using \`poppler' headers and library from TL tree
" >&6;}
4393 if test "x
$with_system_poppler" != xno; then
4394 with_system_poppler=no
4395 ac_configure_args="$ac_configure_args '--without-system-poppler'"
4398 if test "x
$with_system_poppler" = xyes; then
4399 if test "x
$with_system_zlib" = x; then
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \
`zlib' headers and library" >&5
4401 $as_echo "$as_me: -> installed \`zlib
' headers and library" >&6;}
4402 with_system_zlib=yes
4403 ac_configure_args="$ac_configure_args '--with-system-zlib'"
4404 elif test "x$with_system_zlib" != xyes; then
4405 as_fn_error $? "Sorry, \`--with-system-poppler' requires \
`--with-system-zlib'" "$LINENO" 5
4409 test "x$need_poppler" = xyes && {
4413 ## libs/mpfr/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/
4414 ## configure options and TL libraries required for mpfr
4416 # Check whether --with-system-mpfr was given.
4417 if test "${with_system_mpfr+set}" = set; then :
4418 withval=$with_system_mpfr;
4421 # Check whether --with-mpfr-includes was given.
4422 if test "${with_mpfr_includes+set}" = set; then :
4423 withval=$with_mpfr_includes;
4426 # Check whether --with-mpfr-libdir was given.
4427 if test "${with_mpfr_libdir+set}" = set; then :
4428 withval=$with_mpfr_libdir;
4430 if test "x$with_system_mpfr" = x; then
4431 if test -f $srcdir/libs/mpfr/configure; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`mpfr
' headers and library from TL tree" >&5
4433 $as_echo "$as_me: Assuming \`mpfr' headers and library from TL tree
" >&6;}
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`mpfr' headers and library" >&5
4437 $as_echo "$as_me: Assuming installed \`mpfr
' headers and library" >&6;}
4438 with_system_mpfr=yes
4440 ac_configure_args="$ac_configure_args '--with-system-mpfr=$with_system_mpfr'"
4441 elif test "x$with_system_mpfr" = xyes; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`mpfr' headers and library
" >&5
4443 $as_echo "$as_me: Using installed \
`mpfr' headers and library" >&6;}
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`mpfr
' headers and library from TL tree" >&5
4446 $as_echo "$as_me: Using \`mpfr' headers and library from TL tree
" >&6;}
4447 if test "x
$with_system_mpfr" != xno; then
4449 ac_configure_args="$ac_configure_args '--without-system-mpfr'"
4452 if test "x
$with_system_mpfr" = xyes; then
4453 if test "x
$with_system_gmp" = x; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \
`gmp' headers and library" >&5
4455 $as_echo "$as_me: -> installed \`gmp
' headers and library" >&6;}
4457 ac_configure_args="$ac_configure_args '--with-system-gmp'"
4458 elif test "x$with_system_gmp" != xyes; then
4459 as_fn_error $? "Sorry, \`--with-system-mpfr' requires \
`--with-system-gmp'" "$LINENO" 5
4463 test "x$need_mpfr" = xyes && {
4467 ## libs/gmp/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/
4468 ## configure options and TL libraries required for gmp
4470 # Check whether --with-system-gmp was given.
4471 if test "${with_system_gmp+set}" = set; then :
4472 withval=$with_system_gmp;
4475 # Check whether --with-gmp-includes was given.
4476 if test "${with_gmp_includes+set}" = set; then :
4477 withval=$with_gmp_includes;
4480 # Check whether --with-gmp-libdir was given.
4481 if test "${with_gmp_libdir+set}" = set; then :
4482 withval=$with_gmp_libdir;
4484 if test "x$with_system_gmp" = x; then
4485 if test -f $srcdir/libs/gmp/configure; then
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`gmp
' headers and library from TL tree" >&5
4487 $as_echo "$as_me: Assuming \`gmp' headers and library from TL tree
" >&6;}
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`gmp' headers and library" >&5
4491 $as_echo "$as_me: Assuming installed \`gmp
' headers and library" >&6;}
4494 ac_configure_args="$ac_configure_args '--with-system-gmp=$with_system_gmp'"
4495 elif test "x$with_system_gmp" = xyes; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`gmp' headers and library
" >&5
4497 $as_echo "$as_me: Using installed \
`gmp' headers and library" >&6;}
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`gmp
' headers and library from TL tree" >&5
4500 $as_echo "$as_me: Using \`gmp' headers and library from TL tree
" >&6;}
4501 if test "x
$with_system_gmp" != xno; then
4503 ac_configure_args="$ac_configure_args '--without-system-gmp'"
4507 ## libs/cairo/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/
4508 ## configure options and TL libraries required for cairo
4510 # Check whether --with-system-cairo was given.
4511 if test "${with_system_cairo+set}" = set; then :
4512 withval=$with_system_cairo;
4514 if test "x
$with_system_cairo" = x; then
4515 if test -f $srcdir/libs/cairo/configure; then
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \
`cairo' headers and library from TL tree" >&5
4517 $as_echo "$as_me: Assuming \`cairo
' headers and library from TL tree" >&6;}
4518 with_system_cairo=no
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`cairo' headers and library
" >&5
4521 $as_echo "$as_me: Assuming installed \
`cairo' headers and library" >&6;}
4522 with_system_cairo=yes
4524 ac_configure_args="$ac_configure_args '--with-system-cairo=$with_system_cairo'"
4525 elif test "x$with_system_cairo" = xyes; then
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`cairo
' headers and library" >&5
4527 $as_echo "$as_me: Using installed \`cairo' headers and library
" >&6;}
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \
`cairo' headers and library from TL tree" >&5
4530 $as_echo "$as_me: Using \`cairo
' headers and library from TL tree" >&6;}
4531 if test "x$with_system_cairo" != xno; then
4532 with_system_cairo=no
4533 ac_configure_args="$ac_configure_args '--without-system-cairo'"
4536 if test "x$with_system_cairo" = xyes; then
4537 if test "x$with_system_pixman" = x; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`pixman' headers and library
" >&5
4539 $as_echo "$as_me: -> installed \
`pixman' headers and library" >&6;}
4540 with_system_pixman=yes
4541 ac_configure_args="$ac_configure_args '--with-system-pixman'"
4542 elif test "x$with_system_pixman" != xyes; then
4543 as_fn_error $? "Sorry, \`--with-system-cairo' requires \`--with-system-pixman'" "$LINENO" 5
4547 test "x
$need_cairo" = xyes && {
4551 ## libs/pixman/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/
4552 ## configure options and TL libraries required for pixman
4554 # Check whether --with-system-pixman was given.
4555 if test "${with_system_pixman+set}" = set; then :
4556 withval=$with_system_pixman;
4558 if test "x
$with_system_pixman" = x; then
4559 if test -f $srcdir/libs/pixman/configure; then
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \
`pixman' headers and library from TL tree" >&5
4561 $as_echo "$as_me: Assuming \`pixman
' headers and library from TL tree" >&6;}
4562 with_system_pixman=no
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`pixman' headers and library
" >&5
4565 $as_echo "$as_me: Assuming installed \
`pixman' headers and library" >&6;}
4566 with_system_pixman=yes
4568 ac_configure_args="$ac_configure_args '--with-system-pixman=$with_system_pixman'"
4569 elif test "x$with_system_pixman" = xyes; then
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`pixman
' headers and library" >&5
4571 $as_echo "$as_me: Using installed \`pixman' headers and library
" >&6;}
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \
`pixman' headers and library from TL tree" >&5
4574 $as_echo "$as_me: Using \`pixman
' headers and library from TL tree" >&6;}
4575 if test "x$with_system_pixman" != xno; then
4576 with_system_pixman=no
4577 ac_configure_args="$ac_configure_args '--without-system-pixman'"
4581 ## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
4582 ## configure options and TL libraries required for libpng
4584 # Check whether --with-system-libpng was given.
4585 if test "${with_system_libpng+set}" = set; then :
4586 withval=$with_system_libpng;
4588 if test "x$with_system_libpng" = x; then
4589 if test -f $srcdir/libs/libpng/configure; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree
" >&5
4591 $as_echo "$as_me: Assuming \
`libpng' headers and library from TL tree" >&6;}
4592 with_system_libpng=no
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng
' headers and library" >&5
4595 $as_echo "$as_me: Assuming installed \`libpng' headers and library
" >&6;}
4596 with_system_libpng=yes
4598 ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'"
4599 elif test "x
$with_system_libpng" = xyes; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \
`libpng' headers and library" >&5
4601 $as_echo "$as_me: Using installed \`libpng
' headers and library" >&6;}
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`libpng' headers and library from TL tree
" >&5
4604 $as_echo "$as_me: Using \
`libpng' headers and library from TL tree" >&6;}
4605 if test "x$with_system_libpng" != xno; then
4606 with_system_libpng=no
4607 ac_configure_args="$ac_configure_args '--without-system-libpng'"
4610 if test "x$with_system_libpng" = xyes; then
4611 if test "x$with_system_zlib" = x; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib
' headers and library" >&5
4613 $as_echo "$as_me: -> installed \`zlib' headers and library
" >&6;}
4614 with_system_zlib=yes
4615 ac_configure_args="$ac_configure_args '--with-system-zlib'"
4616 elif test "x
$with_system_zlib" != xyes; then
4617 as_fn_error $? "Sorry
, \
`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5
4621 test "x$need_libpng" = xyes && {
4625 ## libs/luajit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/luajit/
4626 ## configure options and TL libraries required for luajit
4628 ## libs/lua52/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua52/
4629 ## configure options and TL libraries required for lua52
4631 ## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
4632 ## configure options and TL libraries required for zlib
4634 # Check whether --with-system-zlib was given.
4635 if test "${with_system_zlib+set}" = set; then :
4636 withval=$with_system_zlib;
4639 # Check whether --with-zlib-includes was given.
4640 if test "${with_zlib_includes+set}" = set; then :
4641 withval=$with_zlib_includes;
4644 # Check whether --with-zlib-libdir was given.
4645 if test "${with_zlib_libdir+set}" = set; then :
4646 withval=$with_zlib_libdir;
4648 if test "x$with_system_zlib" = x; then
4649 if test -f $srcdir/libs/zlib/configure; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree
" >&5
4651 $as_echo "$as_me: Assuming \
`zlib' headers and library from TL tree" >&6;}
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib
' headers and library" >&5
4655 $as_echo "$as_me: Assuming installed \`zlib' headers and library
" >&6;}
4656 with_system_zlib=yes
4658 ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'"
4659 elif test "x
$with_system_zlib" = xyes; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \
`zlib' headers and library" >&5
4661 $as_echo "$as_me: Using installed \`zlib
' headers and library" >&6;}
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zlib' headers and library from TL tree
" >&5
4664 $as_echo "$as_me: Using \
`zlib' headers and library from TL tree" >&6;}
4665 if test "x$with_system_zlib" != xno; then
4667 ac_configure_args="$ac_configure_args '--without-system-zlib'"
4672 ## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
4673 ## configure options and TL libraries required for kpathsea
4675 # Check whether --with-system-kpathsea was given.
4676 if test "${with_system_kpathsea+set}" = set; then :
4677 withval=$with_system_kpathsea;
4679 if test "x$with_system_kpathsea" = x; then
4680 if test -f $srcdir/texk/kpathsea/configure; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea
' headers and library from TL tree" >&5
4682 $as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree
" >&6;}
4683 with_system_kpathsea=no
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`kpathsea' headers and library" >&5
4686 $as_echo "$as_me: Assuming installed \`kpathsea
' headers and library" >&6;}
4687 with_system_kpathsea=yes
4689 ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
4690 elif test "x$with_system_kpathsea" = xyes; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`kpathsea' headers and library
" >&5
4692 $as_echo "$as_me: Using installed \
`kpathsea' headers and library" >&6;}
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`kpathsea
' headers and library from TL tree" >&5
4695 $as_echo "$as_me: Using \`kpathsea' headers and library from TL tree
" >&6;}
4696 if test "x
$with_system_kpathsea" != xno; then
4697 with_system_kpathsea=no
4698 ac_configure_args="$ac_configure_args '--without-system-kpathsea'"
4702 ## texk/kpathsea/ac/mktex.ac: configure.ac fragment for the TeX Live
4703 ## subdirectory texk/kpathsea.
4704 ## configure defaults for mktexfmt & Co.
4705 # Check whether --enable-mktexmf-default was given.
4706 if test "${enable_mktexmf_default+set}" = set; then :
4707 enableval=$enable_mktexmf_default;
4709 # Check whether --enable-mktexpk-default was given.
4710 if test "${enable_mktexpk_default+set}" = set; then :
4711 enableval=$enable_mktexpk_default;
4713 # Check whether --enable-mktextfm-default was given.
4714 if test "${enable_mktextfm_default+set}" = set; then :
4715 enableval=$enable_mktextfm_default;
4717 # Check whether --enable-mkocp-default was given.
4718 if test "${enable_mkocp_default+set}" = set; then :
4719 enableval=$enable_mkocp_default;
4721 # Check whether --enable-mkofm-default was given.
4722 if test "${enable_mkofm_default+set}" = set; then :
4723 enableval=$enable_mkofm_default;
4725 # Check whether --enable-mktexfmt-default was given.
4726 if test "${enable_mktexfmt_default+set}" = set; then :
4727 enableval=$enable_mktexfmt_default;
4729 # Check whether --enable-mktextex-default was given.
4730 if test "${enable_mktextex_default+set}" = set; then :
4731 enableval=$enable_mktextex_default;
4737 am__api_version='1.15'
4739 # Find a good install program. We prefer a C program (faster),
4740 # so one script is as good as another. But avoid the broken or
4741 # incompatible versions:
4742 # SysV /etc/install, /usr/sbin/install
4743 # SunOS /usr/etc/install
4744 # IRIX /sbin/install
4746 # AmigaOS /C/install, which installs bootblocks on floppy discs
4747 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4748 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4749 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
4750 # OS/2's system install, which has a completely different semantic
4751 # ./install, which can be erroneously created by make from ./install.sh.
4752 # Reject install programs that cannot install multiple files.
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
4754 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
4755 if test -z "$INSTALL"; then
4756 if ${ac_cv_path_install+:} false; then :
4757 $as_echo_n "(cached
) " >&6
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 test -z "$as_dir" && as_dir=.
4764 # Account for people who put trailing slashes in PATH elements.
4765 case $as_dir/ in #((
4766 ./ | .// | /[cC]/* | \
4767 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4768 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4771 # OSF1 and SCO ODT 3.0 have their own names for install.
4772 # Don't use installbsd from OSF since it installs stuff as root
4774 for ac_prog in ginstall scoinst install; do
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4777 if test $ac_prog = install &&
4778 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4779 # AIX install. It has an incompatible calling convention.
4781 elif test $ac_prog = install &&
4782 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4783 # program-specific install script used by HP pwplus--don't use.
4786 rm -rf conftest.one conftest.two conftest.dir
4787 echo one > conftest.one
4788 echo two > conftest.two
4790 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
4791 test -s conftest.one && test -s conftest.two &&
4792 test -s conftest.dir/conftest.one &&
4793 test -s conftest.dir/conftest.two
4795 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4808 rm -rf conftest.one conftest.two conftest.dir
4811 if test "${ac_cv_path_install+set}" = set; then
4812 INSTALL=$ac_cv_path_install
4814 # As a last resort, use the slow shell script. Don't cache a
4815 # value for INSTALL within a source directory, because that will
4816 # break other packages using the cache if that directory is
4817 # removed, or if the value is a relative name.
4818 INSTALL=$ac_install_sh
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
4822 $as_echo "$INSTALL" >&6; }
4824 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4825 # It thinks the first close brace ends the variable substitution.
4826 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4828 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4830 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane
" >&5
4833 $as_echo_n "checking whether build environment is sane...
" >&6; }
4834 # Reject unsafe characters in $srcdir or the absolute working directory
4835 # name. Accept space and tab only in the latter.
4839 *[\\\"\#\$\&\'\`$am_lf]*)
4840 as_fn_error $? "unsafe absolute working directory name
" "$LINENO" 5;;
4843 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4844 as_fn_error $? "unsafe srcdir value
: '$srcdir'" "$LINENO" 5;;
4847 # Do 'set' in a subshell so we don't clobber the current shell's
4848 # arguments. Must try -L first in case configure is actually a
4849 # symlink; some systems play weird games with the mod time of symlinks
4850 # (eg FreeBSD returns the mod time of the symlink's containing
4854 for am_try in 1 2; do
4855 echo "timestamp
, slept
: $am_has_slept" > conftest.file
4856 set X `ls -Lt "$srcdir/configure
" conftest.file 2> /dev/null`
4857 if test "$
*" = "X
"; then
4859 set X `ls -t "$srcdir/configure
" conftest.file`
4861 if test "$
*" != "X
$srcdir/configure conftest.
file" \
4862 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
4864 # If neither matched, then we have a broken ls. This can happen
4865 # if, for instance, CONFIG_SHELL is bash and it inherits a
4866 # broken ls alias from the environment. This has actually
4867 # happened. Such a system could not be considered "sane
".
4868 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4869 alias in your environment
" "$LINENO" 5
4871 if test "$2" = conftest.file || test $am_try -eq 2; then
4878 test "$2" = conftest.file
4884 as_fn_error $? "newly created
file is older than distributed files
!
4885 Check your system
clock" "$LINENO" 5
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4888 $as_echo "yes" >&6; }
4889 # If we didn't sleep, we still need to ensure time stamps of config.status and
4890 # generated files are strictly newer.
4892 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4899 test "$program_prefix" != NONE &&
4900 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
4901 # Use a double $ so make ignores it.
4902 test "$program_suffix" != NONE &&
4903 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
4904 # Double any \ or $.
4905 # By default was `s,x,x', remove it if useless.
4906 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4907 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4909 if test x"${MISSING+set}" != xset; then
4912 MISSING="\
${SHELL} \"$am_aux_dir/missing
\"" ;;
4914 MISSING="\
${SHELL} $am_aux_dir/missing
" ;;
4917 # Use eval to expand $SHELL
4918 if eval "$MISSING --is-lightweight"; then
4919 am_missing_run="$MISSING "
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: 'missing' script is too old or missing
" >&5
4923 $as_echo "$as_me: WARNING
: 'missing' script is too old or missing
" >&2;}
4926 if test x"${install_sh+set}" != xset; then
4929 install_sh="\
${SHELL} '$am_aux_dir/install-sh'" ;;
4931 install_sh="\
${SHELL} $am_aux_dir/install-sh
"
4935 # Installed binaries are usually stripped using 'strip' when the user
4936 # run "make install-strip
". However 'strip' might not be the right
4937 # tool to use in cross-compilation environments, therefore Automake
4938 # will honor the 'STRIP' environment variable to overrule this program.
4939 if test "$cross_compiling" != no; then
4940 if test -n "$ac_tool_prefix"; then
4941 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4942 set dummy ${ac_tool_prefix}strip; ac_word=$2
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4944 $as_echo_n "checking
for $ac_word...
" >&6; }
4945 if ${ac_cv_prog_STRIP+:} false; then :
4946 $as_echo_n "(cached
) " >&6
4948 if test -n "$STRIP"; then
4949 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 test -z "$as_dir" && as_dir=.
4956 for ac_exec_ext in '' $ac_executable_extensions; do
4957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4958 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4968 STRIP=$ac_cv_prog_STRIP
4969 if test -n "$STRIP"; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
4971 $as_echo "$STRIP" >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4974 $as_echo "no
" >&6; }
4979 if test -z "$ac_cv_prog_STRIP"; then
4981 # Extract the first word of "strip
", so it can be a program name with args.
4982 set dummy strip; ac_word=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4984 $as_echo_n "checking
for $ac_word...
" >&6; }
4985 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4986 $as_echo_n "(cached
) " >&6
4988 if test -n "$ac_ct_STRIP"; then
4989 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_ac_ct_STRIP="strip
"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5008 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5009 if test -n "$ac_ct_STRIP"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5011 $as_echo "$ac_ct_STRIP" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5014 $as_echo "no
" >&6; }
5017 if test "x
$ac_ct_STRIP" = x; then
5020 case $cross_compiling:$ac_tool_warned in
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5023 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5024 ac_tool_warned=yes ;;
5029 STRIP="$ac_cv_prog_STRIP"
5033 INSTALL_STRIP_PROGRAM="\$
(install_sh
) -c -s"
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a thread-safe mkdir
-p" >&5
5036 $as_echo_n "checking
for a thread-safe mkdir
-p...
" >&6; }
5037 if test -z "$MKDIR_P"; then
5038 if ${ac_cv_path_mkdir+:} false; then :
5039 $as_echo_n "(cached
) " >&6
5041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5042 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5045 test -z "$as_dir" && as_dir=.
5046 for ac_prog in mkdir gmkdir; do
5047 for ac_exec_ext in '' $ac_executable_extensions; do
5048 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5049 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5050 'mkdir (GNU coreutils) '* | \
5051 'mkdir (coreutils) '* | \
5052 'mkdir (fileutils) '4.1*)
5053 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5063 test -d ./--version && rmdir ./--version
5064 if test "${ac_cv_path_mkdir+set}" = set; then
5065 MKDIR_P="$ac_cv_path_mkdir -p"
5067 # As a last resort, use the slow shell script. Don't cache a
5068 # value for MKDIR_P within a source directory, because that will
5069 # break other packages using the cache if that directory is
5070 # removed, or if the value is a relative name.
5071 MKDIR_P="$ac_install_sh -d"
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MKDIR_P" >&5
5075 $as_echo "$MKDIR_P" >&6; }
5077 for ac_prog in gawk mawk nawk awk
5079 # Extract the first word of "$ac_prog", so it can be a program name with args.
5080 set dummy $ac_prog; ac_word=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5082 $as_echo_n "checking
for $ac_word...
" >&6; }
5083 if ${ac_cv_prog_AWK+:} false; then :
5084 $as_echo_n "(cached
) " >&6
5086 if test -n "$AWK"; then
5087 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_AWK="$ac_prog"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5107 if test -n "$AWK"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
5109 $as_echo "$AWK" >&6; }
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5112 $as_echo "no
" >&6; }
5116 test -n "$AWK" && break
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
5120 $as_echo_n "checking whether
${MAKE-make} sets \$
(MAKE
)...
" >&6; }
5122 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5123 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5124 $as_echo_n "(cached
) " >&6
5126 cat >conftest.make <<\_ACEOF
5129 @echo '@@@%%%=$(MAKE)=@@@%%%'
5131 # GNU make sometimes prints "make[1]: Entering ...
", which would confuse us.
5132 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5134 eval ac_cv_prog_make_${ac_make}_set=yes;;
5136 eval ac_cv_prog_make_${ac_make}_set=no;;
5140 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5142 $as_echo "yes" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5146 $as_echo "no
" >&6; }
5147 SET_MAKE="MAKE
=${MAKE-make}"
5150 rm -rf .tst 2>/dev/null
5151 mkdir .tst 2>/dev/null
5152 if test -d .tst; then
5157 rmdir .tst 2>/dev/null
5159 DEPDIR="${am__leading_dot}deps
"
5161 ac_config_commands="$ac_config_commands depfiles
"
5164 am_make=${MAKE-make}
5165 cat > confinc << 'END'
5167 @echo this is the am__doit target
5170 # If we don't find an include directive, just comment out the code.
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for style of include used by
$am_make" >&5
5172 $as_echo_n "checking
for style of include used by
$am_make...
" >&6; }
5176 # First try GNU make style include.
5177 echo "include confinc" > confmf
5178 # Ignore all kinds of additional output from 'make'.
5179 case `$am_make -s -f confmf 2> /dev/null` in #(
5180 *the\ am__doit\ target
*)
5186 # Now try BSD make style include.
5187 if test "$am__include" = "#"; then
5188 echo '.include "confinc"' > confmf
5189 case `$am_make -s -f confmf 2> /dev/null` in #(
5190 *the\ am__doit\ target
*)
5191 am__include
=.include
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5200 $as_echo "$_am_result" >&6; }
5201 rm -f confinc confmf
5203 # Check whether --enable-dependency-tracking was given.
5204 if test "${enable_dependency_tracking+set}" = set; then :
5205 enableval
=$enable_dependency_tracking;
5208 if test "x$enable_dependency_tracking" != xno
; then
5209 am_depcomp
="$ac_aux_dir/depcomp"
5213 if test "x$enable_dependency_tracking" != xno; then
5222 # Check whether --enable-silent-rules was given.
5223 if test "${enable_silent_rules+set}" = set; then :
5224 enableval
=$enable_silent_rules;
5227 case $enable_silent_rules in # (((
5228 yes) AM_DEFAULT_VERBOSITY
=0;;
5229 no
) AM_DEFAULT_VERBOSITY
=1;;
5230 *) AM_DEFAULT_VERBOSITY
=1;;
5232 am_make
=${MAKE-make}
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5234 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5235 if ${am_cv_make_support_nested_variables+:} false
; then :
5236 $as_echo_n "(cached) " >&6
5238 if $as_echo 'TRUE=$(BAR$(V))
5244 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5245 am_cv_make_support_nested_variables
=yes
5247 am_cv_make_support_nested_variables
=no
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5251 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5252 if test $am_cv_make_support_nested_variables = yes; then
5254 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5256 AM_V
=$AM_DEFAULT_VERBOSITY
5257 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5261 # Check whether --enable-compiler-warnings was given.
5262 if test "${enable_compiler_warnings+set}" = set; then :
5263 enableval=$enable_compiler_warnings;
5265 case $enable_compiler_warnings in #(
5266 no | min | yes | max | all) :
5269 if test "x$enable_maintainer_mode" = xyes; then :
5270 enable_compiler_warnings=yes
5272 enable_compiler_warnings=min
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5279 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5284 macro_version='2.4.6'
5285 macro_revision='2.4.6'
5299 ltmain=$ac_aux_dir/ltmain.sh
5301 # Backslashify metacharacters that are still active within
5302 # double-quoted strings.
5303 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
5305 # Same as above, but do not quote variable references.
5306 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5308 # Sed substitution to delay expansion of an escaped shell variable in a
5309 # double_quote_subst'ed string.
5310 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5312 # Sed substitution to delay expansion of an escaped single quote.
5313 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5315 # Sed substitution to avoid accidental globbing in evaled expressions
5316 no_glob_subst='s/\*/\\\*/g'
5318 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5319 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5320 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5323 $as_echo_n "checking how to print strings... " >&6; }
5324 # Test print first, because it will be a builtin if present.
5325 if test "X`( print
-r -- -n ) 2>/dev
/null
`" = X-n && \
5326 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
5328 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
5331 # Use this function as a fallback that always works.
5332 func_fallback_echo ()
5334 eval 'cat <<_LTECHO_EOF
5338 ECHO='func_fallback_echo'
5341 # func_echo_all arg...
5342 # Invoke $ECHO with all args, space-separated.
5349 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5350 $as_echo "printf" >&6; } ;;
5351 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5352 $as_echo "print -r" >&6; } ;;
5353 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5354 $as_echo "cat" >&6; } ;;
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5371 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5372 if ${ac_cv_path_SED+:} false; then :
5373 $as_echo_n "(cached) " >&6
5375 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5376 for ac_i in 1 2 3 4 5 6 7; do
5377 ac_script="$ac_script$as_nl$ac_script"
5379 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5380 { ac_script=; unset ac_script;}
5381 if test -z "$SED"; then
5382 ac_path_SED_found=false
5383 # Loop through the user's path and test for each of PROGNAME-LIST
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 test -z "$as_dir" && as_dir=.
5389 for ac_prog in sed gsed; do
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5392 as_fn_executable_p "$ac_path_SED" || continue
5393 # Check for GNU ac_path_SED and select it if it is found.
5394 # Check for GNU $ac_path_SED
5395 case `"$ac_path_SED" --version 2>&1` in
5397 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5400 $as_echo_n 0123456789 >"conftest.in"
5403 cat "conftest.in" "conftest.in" >"conftest.tmp"
5404 mv "conftest.tmp" "conftest.in"
5405 cp "conftest.in" "conftest.nl"
5406 $as_echo '' >> "conftest.nl"
5407 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5408 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5409 as_fn_arith $ac_count + 1 && ac_count=$as_val
5410 if test $ac_count -gt ${ac_path_SED_max-0}; then
5411 # Best one so far, save it but keep looking for a better one
5412 ac_cv_path_SED="$ac_path_SED"
5413 ac_path_SED_max=$ac_count
5415 # 10*(2^10) chars as input seems more than enough
5416 test $ac_count -gt 10 && break
5418 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5421 $ac_path_SED_found && break 3
5426 if test -z "$ac_cv_path_SED"; then
5427 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5435 $as_echo "$ac_cv_path_SED" >&6; }
5436 SED="$ac_cv_path_SED"
5439 test -z "$SED" && SED=sed
5440 Xsed="$SED -e 1s/^X//"
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5453 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5454 if ${ac_cv_path_GREP+:} false; then :
5455 $as_echo_n "(cached) " >&6
5457 if test -z "$GREP"; then
5458 ac_path_GREP_found=false
5459 # Loop through the user's path and test for each of PROGNAME-LIST
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5464 test -z "$as_dir" && as_dir=.
5465 for ac_prog in grep ggrep; do
5466 for ac_exec_ext in '' $ac_executable_extensions; do
5467 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5468 as_fn_executable_p "$ac_path_GREP" || continue
5469 # Check for GNU ac_path_GREP and select it if it is found.
5470 # Check for GNU $ac_path_GREP
5471 case `"$ac_path_GREP" --version 2>&1` in
5473 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5476 $as_echo_n 0123456789 >"conftest.in"
5479 cat "conftest.in" "conftest.in" >"conftest.tmp"
5480 mv "conftest.tmp" "conftest.in"
5481 cp "conftest.in" "conftest.nl"
5482 $as_echo 'GREP' >> "conftest.nl"
5483 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5484 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5485 as_fn_arith $ac_count + 1 && ac_count=$as_val
5486 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5487 # Best one so far, save it but keep looking for a better one
5488 ac_cv_path_GREP="$ac_path_GREP"
5489 ac_path_GREP_max=$ac_count
5491 # 10*(2^10) chars as input seems more than enough
5492 test $ac_count -gt 10 && break
5494 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5497 $ac_path_GREP_found && break 3
5502 if test -z "$ac_cv_path_GREP"; then
5503 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5506 ac_cv_path_GREP=$GREP
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5511 $as_echo "$ac_cv_path_GREP" >&6; }
5512 GREP="$ac_cv_path_GREP"
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5516 $as_echo_n "checking for egrep... " >&6; }
5517 if ${ac_cv_path_EGREP+:} false; then :
5518 $as_echo_n "(cached) " >&6
5520 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5521 then ac_cv_path_EGREP="$GREP -E"
5523 if test -z "$EGREP"; then
5524 ac_path_EGREP_found=false
5525 # Loop through the user's path and test for each of PROGNAME-LIST
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5530 test -z "$as_dir" && as_dir=.
5531 for ac_prog in egrep; do
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5534 as_fn_executable_p "$ac_path_EGREP" || continue
5535 # Check for GNU ac_path_EGREP and select it if it is found.
5536 # Check for GNU $ac_path_EGREP
5537 case `"$ac_path_EGREP" --version 2>&1` in
5539 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5542 $as_echo_n 0123456789 >"conftest.in"
5545 cat "conftest.in" "conftest.in" >"conftest.tmp"
5546 mv "conftest.tmp" "conftest.in"
5547 cp "conftest.in" "conftest.nl"
5548 $as_echo 'EGREP' >> "conftest.nl"
5549 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5550 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5551 as_fn_arith $ac_count + 1 && ac_count=$as_val
5552 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5553 # Best one so far, save it but keep looking for a better one
5554 ac_cv_path_EGREP="$ac_path_EGREP"
5555 ac_path_EGREP_max=$ac_count
5557 # 10*(2^10) chars as input seems more than enough
5558 test $ac_count -gt 10 && break
5560 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5563 $ac_path_EGREP_found && break 3
5568 if test -z "$ac_cv_path_EGREP"; then
5569 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5572 ac_cv_path_EGREP=$EGREP
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5578 $as_echo "$ac_cv_path_EGREP" >&6; }
5579 EGREP="$ac_cv_path_EGREP"
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5583 $as_echo_n "checking for fgrep... " >&6; }
5584 if ${ac_cv_path_FGREP+:} false; then :
5585 $as_echo_n "(cached) " >&6
5587 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5588 then ac_cv_path_FGREP="$GREP -F"
5590 if test -z "$FGREP"; then
5591 ac_path_FGREP_found=false
5592 # Loop through the user's path and test for each of PROGNAME-LIST
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5597 test -z "$as_dir" && as_dir=.
5598 for ac_prog in fgrep; do
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5601 as_fn_executable_p "$ac_path_FGREP" || continue
5602 # Check for GNU ac_path_FGREP and select it if it is found.
5603 # Check for GNU $ac_path_FGREP
5604 case `"$ac_path_FGREP" --version 2>&1` in
5606 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5609 $as_echo_n 0123456789 >"conftest.in"
5612 cat "conftest.in" "conftest.in" >"conftest.tmp"
5613 mv "conftest.tmp" "conftest.in"
5614 cp "conftest.in" "conftest.nl"
5615 $as_echo 'FGREP' >> "conftest.nl"
5616 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5617 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5618 as_fn_arith $ac_count + 1 && ac_count=$as_val
5619 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5620 # Best one so far, save it but keep looking for a better one
5621 ac_cv_path_FGREP="$ac_path_FGREP"
5622 ac_path_FGREP_max=$ac_count
5624 # 10*(2^10) chars as input seems more than enough
5625 test $ac_count -gt 10 && break
5627 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5630 $ac_path_FGREP_found && break 3
5635 if test -z "$ac_cv_path_FGREP"; then
5636 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5639 ac_cv_path_FGREP=$FGREP
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5645 $as_echo "$ac_cv_path_FGREP" >&6; }
5646 FGREP="$ac_cv_path_FGREP"
5649 test -z "$GREP" && GREP=grep
5669 # Check whether --with-gnu-ld was given.
5670 if test "${with_gnu_ld+set}" = set; then :
5671 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5677 if test yes = "$GCC"; then
5678 # Check if gcc -print-prog-name=ld gives a path.
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5680 $as_echo_n "checking for ld used by $CC... " >&6; }
5683 # gcc leaves a trailing carriage return, which upsets mingw
5684 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5686 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5689 # Accept absolute paths.
5691 re_direlt='/[^/][^/]*/\.\./'
5692 # Canonicalize the pathname of ld
5693 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5694 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5695 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5697 test -z "$LD" && LD=$ac_prog
5700 # If it fails, then pretend we aren't using GCC.
5704 # If it is relative, then search for the first ld in PATH.
5708 elif test yes = "$with_gnu_ld"; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5710 $as_echo_n "checking for GNU ld... " >&6; }
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5713 $as_echo_n "checking for non-GNU ld... " >&6; }
5715 if ${lt_cv_path_LD+:} false; then :
5716 $as_echo_n "(cached) " >&6
5718 if test -z "$LD"; then
5719 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5720 for ac_dir in $PATH; do
5722 test -z "$ac_dir" && ac_dir=.
5723 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5724 lt_cv_path_LD=$ac_dir/$ac_prog
5725 # Check to see if the program is GNU ld. I'd rather use --version,
5726 # but apparently some variants of GNU ld only accept -v.
5727 # Break only if it was the GNU/non-GNU ld that we prefer.
5728 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5729 *GNU* | *'with BFD'*)
5730 test no != "$with_gnu_ld" && break
5733 test yes != "$with_gnu_ld" && break
5740 lt_cv_path_LD=$LD # Let the user override the test with a path.
5745 if test -n "$LD"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5747 $as_echo "$LD" >&6; }
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5752 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5754 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5755 if ${lt_cv_prog_gnu_ld+:} false; then :
5756 $as_echo_n "(cached) " >&6
5758 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5759 case `$LD -v 2>&1 </dev
/null
` in
5760 *GNU* | *'with BFD'*)
5761 lt_cv_prog_gnu_ld=yes
5764 lt_cv_prog_gnu_ld=no
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5769 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5770 with_gnu_ld=$lt_cv_prog_gnu_ld
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5781 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5782 if ${lt_cv_path_NM+:} false; then :
5783 $as_echo_n "(cached) " >&6
5785 if test -n "$NM"; then
5786 # Let the user override the test.
5789 lt_nm_to_check=${ac_tool_prefix}nm
5790 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5791 lt_nm_to_check="$lt_nm_to_check nm"
5793 for lt_tmp_nm in $lt_nm_to_check; do
5794 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5795 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5797 test -z "$ac_dir" && ac_dir=.
5798 tmp_nm=$ac_dir/$lt_tmp_nm
5799 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5800 # Check to see if the nm accepts a BSD-compat flag.
5801 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5802 # nm: unknown option "B" ignored
5803 # Tru64's nm complains that /dev/null is an invalid object file
5804 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5806 mingw*) lt_bad_file=conftest.nm/nofile ;;
5807 *) lt_bad_file=/dev/null ;;
5809 case `"$tmp_nm" -B $lt_bad_file 2>&1 |
sed '1q'` in
5810 *$lt_bad_file* | *'Invalid file or object type'*)
5811 lt_cv_path_NM="$tmp_nm -B"
5815 case `"$tmp_nm" -p /dev
/null
2>&1 |
sed '1q'` in
5817 lt_cv_path_NM="$tmp_nm -p"
5821 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5822 continue # so that we can try to find one that supports BSD flags
5831 : ${lt_cv_path_NM=no}
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5835 $as_echo "$lt_cv_path_NM" >&6; }
5836 if test no != "$lt_cv_path_NM"; then
5839 # Didn't find any BSD compatible name lister, look for dumpbin.
5840 if test -n "$DUMPBIN"; then :
5841 # Let the user override the test.
5843 if test -n "$ac_tool_prefix"; then
5844 for ac_prog in dumpbin "link -dump"
5846 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5847 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_prog_DUMPBIN+:} false; then :
5851 $as_echo_n "(cached) " >&6
5853 if test -n "$DUMPBIN"; then
5854 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5863 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 DUMPBIN=$ac_cv_prog_DUMPBIN
5874 if test -n "$DUMPBIN"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5876 $as_echo "$DUMPBIN" >&6; }
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5883 test -n "$DUMPBIN" && break
5886 if test -z "$DUMPBIN"; then
5887 ac_ct_DUMPBIN=$DUMPBIN
5888 for ac_prog in dumpbin "link -dump"
5890 # Extract the first word of "$ac_prog", so it can be a program name with args.
5891 set dummy $ac_prog; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5895 $as_echo_n "(cached) " >&6
5897 if test -n "$ac_ct_DUMPBIN"; then
5898 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5918 if test -n "$ac_ct_DUMPBIN"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5920 $as_echo "$ac_ct_DUMPBIN" >&6; }
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923 $as_echo "no" >&6; }
5927 test -n "$ac_ct_DUMPBIN" && break
5930 if test "x$ac_ct_DUMPBIN" = x; then
5933 case $cross_compiling:$ac_tool_warned in
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5937 ac_tool_warned=yes ;;
5939 DUMPBIN=$ac_ct_DUMPBIN
5943 case `$DUMPBIN -symbols -headers /dev
/null
2>&1 |
sed '1q'` in
5945 DUMPBIN="$DUMPBIN -symbols -headers"
5953 if test : != "$DUMPBIN"; then
5957 test -z "$NM" && NM=nm
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5965 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5966 if ${lt_cv_nm_interface+:} false; then :
5967 $as_echo_n "(cached) " >&6
5969 lt_cv_nm_interface="BSD nm"
5970 echo "int some_variable = 0;" > conftest.$ac_ext
5971 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5972 (eval "$ac_compile" 2>conftest.err)
5973 cat conftest.err >&5
5974 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5975 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5976 cat conftest.err >&5
5977 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5978 cat conftest.out >&5
5979 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5980 lt_cv_nm_interface="MS dumpbin"
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5985 $as_echo "$lt_cv_nm_interface" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5988 $as_echo_n "checking whether ln -s works... " >&6; }
5990 if test "$LN_S" = "ln -s"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5992 $as_echo "yes" >&6; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5995 $as_echo "no, using $LN_S" >&6; }
5998 # find the maximum length of command line arguments
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6000 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6001 if ${lt_cv_sys_max_cmd_len+:} false; then :
6002 $as_echo_n "(cached) " >&6
6009 # On DJGPP, this test can blow up pretty badly due to problems in libc
6010 # (any single argument exceeding 2000 bytes causes a buffer overrun
6011 # during glob expansion). Even if it were fixed, the result of this
6012 # check would be larger than it should be.
6013 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6017 # Under GNU Hurd, this test is not required because there is
6018 # no limit to the length of command line arguments.
6019 # Libtool will interpret -1 as no limit whatsoever
6020 lt_cv_sys_max_cmd_len=-1;
6023 cygwin* | mingw* | cegcc*)
6024 # On Win9x/ME, this test blows up -- it succeeds, but takes
6025 # about 5 minutes as the teststring grows exponentially.
6026 # Worse, since 9x/ME are not pre-emptively multitasking,
6027 # you end up with a "frozen" computer, even though with patience
6028 # the test eventually succeeds (with a max line length of 256k).
6029 # Instead, let's just punt: use the minimum linelength reported by
6030 # all of the supported platforms: 8192 (on NT/2K/XP).
6031 lt_cv_sys_max_cmd_len=8192;
6035 # On MiNT this can take a long time and run out of memory.
6036 lt_cv_sys_max_cmd_len=8192;
6040 # On AmigaOS with pdksh, this test takes hours, literally.
6041 # So we just punt and use a minimum line length of 8192.
6042 lt_cv_sys_max_cmd_len=8192;
6045 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6046 # This has been around since 386BSD, at least. Likely further.
6047 if test -x /sbin/sysctl; then
6048 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
6049 elif test -x /usr/sbin/sysctl; then
6050 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
6052 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6054 # And add a safety zone
6055 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
6056 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
6060 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6061 lt_cv_sys_max_cmd_len=196608
6065 # The test takes a long time on OS/2.
6066 lt_cv_sys_max_cmd_len=8192
6070 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6071 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6072 # nice to cause kernel panics so lets avoid the loop below.
6073 # First set a reasonable default.
6074 lt_cv_sys_max_cmd_len=16384
6076 if test -x /sbin/sysconfig; then
6077 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
6078 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6083 lt_cv_sys_max_cmd_len=102400
6085 sysv5* | sco5v6* | sysv4.2uw2*)
6086 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
6087 if test -n "$kargmax"; then
6088 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
6090 lt_cv_sys_max_cmd_len=32768
6094 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX
) 2> /dev
/null
`
6095 if test -n "$lt_cv_sys_max_cmd_len" && \
6096 test undefined != "$lt_cv_sys_max_cmd_len"; then
6097 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
6098 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
6100 # Make teststring a little bigger before we do anything with it.
6101 # a 1K string should be a reasonable start.
6102 for i in 1 2 3 4 5 6 7 8; do
6103 teststring=$teststring$teststring
6105 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6106 # If test is not a shell built-in, we'll probably end up computing a
6107 # maximum length that is only half of the actual maximum length, but
6109 while { test X`env
echo "$teststring$teststring" 2>/dev
/null
` \
6110 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6111 test 17 != "$i" # 1/2 MB should be enough
6114 teststring=$teststring$teststring
6116 # Only check the string length outside the loop.
6117 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6119 # Add a significant safety factor because C++ compilers can tack on
6120 # massive amounts of additional arguments before passing them to the
6121 # linker. It appears as though 1/2 is a usable value.
6122 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
6129 if test -n "$lt_cv_sys_max_cmd_len"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6131 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6134 $as_echo "none" >&6; }
6136 max_cmd_len=$lt_cv_sys_max_cmd_len
6147 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6157 # test EBCDIC or ASCII
6158 case `echo X|
tr X
'\101'` in
6159 A) # ASCII based system
6160 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6161 lt_SP2NL='tr \040 \012'
6162 lt_NL2SP='tr \015\012 \040\040'
6164 *) # EBCDIC based system
6165 lt_SP2NL='tr \100 \n'
6166 lt_NL2SP='tr \r\n \100\100'
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6179 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6180 if ${lt_cv_to_host_file_cmd+:} false; then :
6181 $as_echo_n "(cached) " >&6
6186 *-*-mingw* ) # actually msys
6187 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6190 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6192 * ) # otherwise, assume *nix
6193 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6199 *-*-mingw* ) # actually msys
6200 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6203 lt_cv_to_host_file_cmd=func_convert_file_noop
6205 * ) # otherwise, assume *nix
6206 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6210 * ) # unhandled hosts (and "normal" native builds)
6211 lt_cv_to_host_file_cmd=func_convert_file_noop
6217 to_host_file_cmd=$lt_cv_to_host_file_cmd
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6219 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6226 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6227 if ${lt_cv_to_tool_file_cmd+:} false; then :
6228 $as_echo_n "(cached) " >&6
6230 #assume ordinary cross tools, or native build.
6231 lt_cv_to_tool_file_cmd=func_convert_file_noop
6235 *-*-mingw* ) # actually msys
6236 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6244 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6246 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6253 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6254 if ${lt_cv_ld_reload_flag+:} false; then :
6255 $as_echo_n "(cached) " >&6
6257 lt_cv_ld_reload_flag='-r'
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6260 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6261 reload_flag=$lt_cv_ld_reload_flag
6262 case $reload_flag in
6264 *) reload_flag=" $reload_flag" ;;
6266 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6268 cygwin* | mingw* | pw32* | cegcc*)
6269 if test yes != "$GCC"; then
6274 if test yes = "$GCC"; then
6275 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6277 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6290 if test -n "$ac_tool_prefix"; then
6291 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6292 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6294 $as_echo_n "checking for $ac_word... " >&6; }
6295 if ${ac_cv_prog_OBJDUMP+:} false; then :
6296 $as_echo_n "(cached) " >&6
6298 if test -n "$OBJDUMP"; then
6299 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 test -z "$as_dir" && as_dir=.
6306 for ac_exec_ext in '' $ac_executable_extensions; do
6307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6308 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6318 OBJDUMP=$ac_cv_prog_OBJDUMP
6319 if test -n "$OBJDUMP"; then
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6321 $as_echo "$OBJDUMP" >&6; }
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6324 $as_echo "no" >&6; }
6329 if test -z "$ac_cv_prog_OBJDUMP"; then
6330 ac_ct_OBJDUMP=$OBJDUMP
6331 # Extract the first word of "objdump", so it can be a program name with args.
6332 set dummy objdump; ac_word=$2
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6334 $as_echo_n "checking for $ac_word... " >&6; }
6335 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6336 $as_echo_n "(cached) " >&6
6338 if test -n "$ac_ct_OBJDUMP"; then
6339 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6345 test -z "$as_dir" && as_dir=.
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6348 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6358 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6359 if test -n "$ac_ct_OBJDUMP"; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6361 $as_echo "$ac_ct_OBJDUMP" >&6; }
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6367 if test "x$ac_ct_OBJDUMP" = x; then
6370 case $cross_compiling:$ac_tool_warned in
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6374 ac_tool_warned=yes ;;
6376 OBJDUMP=$ac_ct_OBJDUMP
6379 OBJDUMP="$ac_cv_prog_OBJDUMP"
6382 test -z "$OBJDUMP" && OBJDUMP=objdump
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6390 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6391 if ${lt_cv_deplibs_check_method+:} false; then :
6392 $as_echo_n "(cached) " >&6
6394 lt_cv_file_magic_cmd='$MAGIC_CMD'
6395 lt_cv_file_magic_test_file=
6396 lt_cv_deplibs_check_method='unknown'
6397 # Need to set the preceding variable on all platforms that support
6398 # interlibrary dependencies.
6399 # 'none' -- dependencies not supported.
6400 # 'unknown' -- same as none, but documents that we really don't know.
6401 # 'pass_all' -- all dependencies passed with no checks.
6402 # 'test_compile' -- check by making test program.
6403 # 'file_magic [[regex]]' -- check by looking for files in library path
6404 # that responds to the $file_magic_cmd with a given extended regex.
6405 # If you have 'file' or equivalent on your system and you're not sure
6406 # whether 'pass_all' will *always* work, you probably want this one.
6410 lt_cv_deplibs_check_method=pass_all
6414 lt_cv_deplibs_check_method=pass_all
6418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6419 lt_cv_file_magic_cmd='/usr/bin/file -L'
6420 lt_cv_file_magic_test_file=/shlib/libc.so
6424 # func_win32_libid is a shell function defined in ltmain.sh
6425 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6426 lt_cv_file_magic_cmd='func_win32_libid'
6430 # Base MSYS/MinGW do not provide the 'file' command needed by
6431 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6432 # unless we find 'file', for example because we are cross-compiling.
6433 if ( file / ) >/dev/null 2>&1; then
6434 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6435 lt_cv_file_magic_cmd='func_win32_libid'
6437 # Keep this pattern in sync with the one in func_win32_libid.
6438 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6439 lt_cv_file_magic_cmd='$OBJDUMP -f'
6444 # use the weaker test based on 'objdump'. See mingw*.
6445 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6446 lt_cv_file_magic_cmd='$OBJDUMP -f'
6449 darwin* | rhapsody*)
6450 lt_cv_deplibs_check_method=pass_all
6453 freebsd* | dragonfly*)
6454 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6457 # Not sure whether the presence of OpenBSD here was a mistake.
6458 # Let's accept both of them until this is cleared up.
6459 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6460 lt_cv_file_magic_cmd=/usr/bin/file
6461 lt_cv_file_magic_test_file=`echo /usr
/lib
/libc.so.
*`
6465 lt_cv_deplibs_check_method=pass_all
6470 lt_cv_deplibs_check_method=pass_all
6473 hpux10.20* | hpux11*)
6474 lt_cv_file_magic_cmd=/usr/bin/file
6477 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6478 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6481 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]'
6482 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6485 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6486 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6492 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6493 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6496 irix5* | irix6* | nonstopux*)
6498 *-32|*"-32 ") libmagic=32-bit;;
6499 *-n32|*"-n32 ") libmagic=N32;;
6500 *-64|*"-64 ") libmagic=64-bit;;
6501 *) libmagic=never-match;;
6503 lt_cv_deplibs_check_method=pass_all
6506 # This must be glibc/ELF.
6507 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6508 lt_cv_deplibs_check_method=pass_all
6512 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6513 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6515 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6520 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6521 lt_cv_file_magic_cmd=/usr/bin/file
6522 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6526 lt_cv_deplibs_check_method=pass_all
6530 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`"; then
6531 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6533 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6537 osf3* | osf4* | osf5*)
6538 lt_cv_deplibs_check_method=pass_all
6542 lt_cv_deplibs_check_method=pass_all
6546 lt_cv_deplibs_check_method=pass_all
6549 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6550 lt_cv_deplibs_check_method=pass_all
6554 case $host_vendor in
6556 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]'
6557 lt_cv_file_magic_test_file=`echo /usr
/lib
/libc.so
*`
6560 lt_cv_deplibs_check_method=pass_all
6563 lt_cv_file_magic_cmd='/bin/file'
6564 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6567 lt_cv_file_magic_cmd='/bin/file'
6568 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6569 lt_cv_file_magic_test_file=/lib/libc.so
6572 lt_cv_deplibs_check_method=pass_all
6575 lt_cv_deplibs_check_method=pass_all
6581 lt_cv_deplibs_check_method=pass_all
6584 lt_cv_deplibs_check_method=pass_all
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6590 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6594 if test "$build" = "$host"; then
6597 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6600 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ |
$SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6606 file_magic_cmd=$lt_cv_file_magic_cmd
6607 deplibs_check_method=$lt_cv_deplibs_check_method
6608 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6631 if test -n "$ac_tool_prefix"; then
6632 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6633 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635 $as_echo_n "checking for $ac_word... " >&6; }
6636 if ${ac_cv_prog_DLLTOOL+:} false; then :
6637 $as_echo_n "(cached) " >&6
6639 if test -n "$DLLTOOL"; then
6640 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 test -z "$as_dir" && as_dir=.
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6649 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6659 DLLTOOL=$ac_cv_prog_DLLTOOL
6660 if test -n "$DLLTOOL"; then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6662 $as_echo "$DLLTOOL" >&6; }
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 $as_echo "no" >&6; }
6670 if test -z "$ac_cv_prog_DLLTOOL"; then
6671 ac_ct_DLLTOOL=$DLLTOOL
6672 # Extract the first word of "dlltool", so it can be a program name with args.
6673 set dummy dlltool; ac_word=$2
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675 $as_echo_n "checking for $ac_word... " >&6; }
6676 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6677 $as_echo_n "(cached) " >&6
6679 if test -n "$ac_ct_DLLTOOL"; then
6680 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 test -z "$as_dir" && as_dir=.
6687 for ac_exec_ext in '' $ac_executable_extensions; do
6688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6689 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6699 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6700 if test -n "$ac_ct_DLLTOOL"; then
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6702 $as_echo "$ac_ct_DLLTOOL" >&6; }
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6705 $as_echo "no" >&6; }
6708 if test "x$ac_ct_DLLTOOL" = x; then
6711 case $cross_compiling:$ac_tool_warned in
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6715 ac_tool_warned=yes ;;
6717 DLLTOOL=$ac_ct_DLLTOOL
6720 DLLTOOL="$ac_cv_prog_DLLTOOL"
6723 test -z "$DLLTOOL" && DLLTOOL=dlltool
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6732 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6733 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6734 $as_echo_n "(cached) " >&6
6736 lt_cv_sharedlib_from_linklib_cmd='unknown'
6739 cygwin* | mingw* | pw32* | cegcc*)
6740 # two different shell functions defined in ltmain.sh;
6741 # decide which one to use based on capabilities of $DLLTOOL
6742 case `$DLLTOOL --help 2>&1` in
6743 *--identify-strict*)
6744 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6747 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6752 # fallback: assume linklib IS sharedlib
6753 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6759 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6760 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6761 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6769 if test -n "$ac_tool_prefix"; then
6772 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6773 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6775 $as_echo_n "checking for $ac_word... " >&6; }
6776 if ${ac_cv_prog_AR+:} false; then :
6777 $as_echo_n "(cached) " >&6
6779 if test -n "$AR"; then
6780 ac_cv_prog_AR="$AR" # Let the user override the test.
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 test -z "$as_dir" && as_dir=.
6787 for ac_exec_ext in '' $ac_executable_extensions; do
6788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800 if test -n "$AR"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6802 $as_echo "$AR" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6809 test -n "$AR" && break
6812 if test -z "$AR"; then
6816 # Extract the first word of "$ac_prog", so it can be a program name with args.
6817 set dummy $ac_prog; ac_word=$2
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819 $as_echo_n "checking for $ac_word... " >&6; }
6820 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6821 $as_echo_n "(cached) " >&6
6823 if test -n "$ac_ct_AR"; then
6824 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830 test -z "$as_dir" && as_dir=.
6831 for ac_exec_ext in '' $ac_executable_extensions; do
6832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6833 ac_cv_prog_ac_ct_AR="$ac_prog"
6834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6843 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6844 if test -n "$ac_ct_AR"; then
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6846 $as_echo "$ac_ct_AR" >&6; }
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 $as_echo "no" >&6; }
6853 test -n "$ac_ct_AR" && break
6856 if test "x$ac_ct_AR" = x; then
6859 case $cross_compiling:$ac_tool_warned in
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6863 ac_tool_warned=yes ;;
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6883 $as_echo_n "checking for archiver @FILE support... " >&6; }
6884 if ${lt_cv_ar_at_file+:} false; then :
6885 $as_echo_n "(cached) " >&6
6888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h. */
6899 if ac_fn_c_try_compile "$LINENO"; then :
6900 echo conftest.$ac_objext > conftest.lst
6901 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6902 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6903 (eval $lt_ar_try) 2>&5
6905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6906 test $ac_status = 0; }
6907 if test 0 -eq "$ac_status"; then
6908 # Ensure the archiver fails upon bogus file names.
6909 rm -f conftest.$ac_objext libconftest.a
6910 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6911 (eval $lt_ar_try) 2>&5
6913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914 test $ac_status = 0; }
6915 if test 0 -ne "$ac_status"; then
6919 rm -f conftest.* libconftest.a
6922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6926 $as_echo "$lt_cv_ar_at_file" >&6; }
6928 if test no = "$lt_cv_ar_at_file"; then
6931 archiver_list_spec=$lt_cv_ar_at_file
6940 if test -n "$ac_tool_prefix"; then
6941 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6942 set dummy ${ac_tool_prefix}strip; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if ${ac_cv_prog_STRIP+:} false; then :
6946 $as_echo_n "(cached) " >&6
6948 if test -n "$STRIP"; then
6949 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6958 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968 STRIP=$ac_cv_prog_STRIP
6969 if test -n "$STRIP"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6971 $as_echo "$STRIP" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6979 if test -z "$ac_cv_prog_STRIP"; then
6981 # Extract the first word of "strip", so it can be a program name with args.
6982 set dummy strip; ac_word=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984 $as_echo_n "checking for $ac_word... " >&6; }
6985 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6986 $as_echo_n "(cached) " >&6
6988 if test -n "$ac_ct_STRIP"; then
6989 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir=.
6996 for ac_exec_ext in '' $ac_executable_extensions; do
6997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6998 ac_cv_prog_ac_ct_STRIP="strip"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7008 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7009 if test -n "$ac_ct_STRIP"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7011 $as_echo "$ac_ct_STRIP" >&6; }
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014 $as_echo "no" >&6; }
7017 if test "x$ac_ct_STRIP" = x; then
7020 case $cross_compiling:$ac_tool_warned in
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7024 ac_tool_warned=yes ;;
7029 STRIP="$ac_cv_prog_STRIP"
7032 test -z "$STRIP" && STRIP=:
7039 if test -n "$ac_tool_prefix"; then
7040 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7041 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_RANLIB+:} false; then :
7045 $as_echo_n "(cached) " >&6
7047 if test -n "$RANLIB"; then
7048 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 test -z "$as_dir" && as_dir=.
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067 RANLIB=$ac_cv_prog_RANLIB
7068 if test -n "$RANLIB"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7070 $as_echo "$RANLIB" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7078 if test -z "$ac_cv_prog_RANLIB"; then
7079 ac_ct_RANLIB=$RANLIB
7080 # Extract the first word of "ranlib", so it can be a program name with args.
7081 set dummy ranlib; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7085 $as_echo_n "(cached) " >&6
7087 if test -n "$ac_ct_RANLIB"; then
7088 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_ac_ct_RANLIB="ranlib"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7108 if test -n "$ac_ct_RANLIB"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7110 $as_echo "$ac_ct_RANLIB" >&6; }
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7116 if test "x$ac_ct_RANLIB" = x; then
7119 case $cross_compiling:$ac_tool_warned in
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7123 ac_tool_warned=yes ;;
7125 RANLIB=$ac_ct_RANLIB
7128 RANLIB="$ac_cv_prog_RANLIB"
7131 test -z "$RANLIB" && RANLIB=:
7138 # Determine commands to create old-style static archives.
7139 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7140 old_postinstall_cmds='chmod 644 $oldlib'
7141 old_postuninstall_cmds=
7143 if test -n "$RANLIB"; then
7146 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7149 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7152 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7157 lock_old_archive_extraction=yes ;;
7159 lock_old_archive_extraction=no ;;
7200 # If no C compiler was specified, use CC.
7203 # If no C compiler flags were specified, use CFLAGS.
7204 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7206 # Allow CC to be a program name with arguments.
7210 # Check for command to grab the raw symbol name followed by C symbol from nm.
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7212 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7213 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7214 $as_echo_n "(cached) " >&6
7217 # These are sane defaults that work on at least a few old systems.
7218 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7220 # Character class describing NM global symbol codes.
7221 symcode='[BCDEGRST]'
7223 # Regexp to match symbols that can be accessed directly from C.
7224 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7226 # Define system-specific variables.
7231 cygwin* | mingw* | pw32* | cegcc*)
7232 symcode='[ABCDGISTW]'
7235 if test ia64 = "$host_cpu"; then
7236 symcode='[ABCDEGRST]'
7240 symcode='[BCDEGRST]'
7243 symcode='[BCDEGQRST]'
7254 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7262 # If we're using GNU nm, then use its standard symbol codes.
7263 case `$NM -V 2>&1` in
7264 *GNU* | *'with BFD'*)
7265 symcode='[ABCDGIRSTW]' ;;
7268 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7269 # Gets list of data symbols to import.
7270 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7271 # Adjust the below global symbol transforms to fixup imported variables.
7272 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7273 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7274 lt_c_name_lib_hook="\
7275 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7276 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7278 # Disable hooks by default.
7279 lt_cv_sys_global_symbol_to_import=
7285 # Transform an extracted symbol line into a proper C declaration.
7286 # Some systems (esp. on ia64) link data and code symbols differently,
7287 # so use this general approach.
7288 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7290 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7291 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7293 # Transform an extracted symbol line into symbol name and symbol address
7294 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7296 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7297 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7299 # Transform an extracted symbol line into symbol name with lib prefix and
7301 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7302 $lt_c_name_lib_hook\
7303 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7304 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7305 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7307 # Handle CRLF in mingw tool chain
7311 opt_cr=`$ECHO 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
7315 # Try without a prefix underscore, then with it.
7316 for ac_symprfx in "" "_"; do
7318 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7319 symxfrm="\\1 $ac_symprfx\\2 \\2"
7321 # Write the raw and C identifiers.
7322 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7323 # Fake it for dumpbin and say T for any non-static function,
7324 # D for any global variable and I for any imported variable.
7325 # Also find C++ and __fastcall symbols from MSVC++,
7326 # which start with @ or ?.
7327 lt_cv_sys_global_symbol_pipe="$AWK '"\
7328 " {last_section=section; section=\$ 3};"\
7329 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7330 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7331 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7332 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7333 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7334 " \$ 0!~/External *\|/{next};"\
7335 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7336 " {if(hide[section]) next};"\
7337 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7338 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7339 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7340 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7341 " ' prfx=^$ac_symprfx"
7343 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7345 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7347 # Check to see that the pipe works correctly.
7351 cat > conftest.$ac_ext <<_LT_EOF
7356 void nm_test_func(void);
7357 void nm_test_func(void){}
7361 int main(){nm_test_var='a';nm_test_func();return(0);}
7364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7365 (eval $ac_compile) 2>&5
7367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7368 test $ac_status = 0; }; then
7369 # Now try to grab the symbols.
7371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7372 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7375 test $ac_status = 0; } && test -s "$nlist"; then
7376 # Try sorting and uniquifying the output.
7377 if sort "$nlist" | uniq > "$nlist"T; then
7378 mv -f "$nlist"T "$nlist"
7383 # Make sure that we snagged all the symbols we need.
7384 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7385 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7386 cat <<_LT_EOF > conftest.$ac_ext
7387 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7388 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7389 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7390 relocations are performed -- see ld's documentation on pseudo-relocs. */
7391 # define LT_DLSYM_CONST
7392 #elif defined __osf__
7393 /* This system does not cope well with relocations in const data. */
7394 # define LT_DLSYM_CONST
7396 # define LT_DLSYM_CONST const
7404 # Now generate the symbol file.
7405 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7407 cat <<_LT_EOF >> conftest.$ac_ext
7409 /* The mapping between symbol names and symbols. */
7410 LT_DLSYM_CONST struct {
7414 lt__PROGRAM__LTX_preloaded_symbols[] =
7416 { "@PROGRAM@", (void *) 0 },
7418 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7419 cat <<\_LT_EOF >> conftest.$ac_ext
7423 /* This works around a problem in FreeBSD linker */
7424 #ifdef FREEBSD_WORKAROUND
7425 static const void *lt_preloaded_setup() {
7426 return lt__PROGRAM__LTX_preloaded_symbols;
7434 # Now try linking the two files.
7435 mv conftest.$ac_objext conftstm.$ac_objext
7436 lt_globsym_save_LIBS=$LIBS
7437 lt_globsym_save_CFLAGS=$CFLAGS
7438 LIBS=conftstm.$ac_objext
7439 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7441 (eval $ac_link) 2>&5
7443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7444 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7447 LIBS=$lt_globsym_save_LIBS
7448 CFLAGS=$lt_globsym_save_CFLAGS
7450 echo "cannot find nm_test_func in $nlist" >&5
7453 echo "cannot find nm_test_var in $nlist" >&5
7456 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7459 echo "$progname: failed program was:" >&5
7460 cat conftest.$ac_ext >&5
7462 rm -rf conftest* conftst*
7464 # Do not use the global_symbol_pipe unless it works.
7465 if test yes = "$pipe_works"; then
7468 lt_cv_sys_global_symbol_pipe=
7474 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7475 lt_cv_sys_global_symbol_to_cdecl=
7477 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7479 $as_echo "failed" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7482 $as_echo "ok" >&6; }
7485 # Response file support.
7486 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7487 nm_file_list_spec='@'
7488 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7489 nm_file_list_spec='@'
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7529 $as_echo_n "checking for sysroot... " >&6; }
7531 # Check whether --with-sysroot was given.
7532 if test "${with_sysroot+set}" = set; then :
7533 withval=$with_sysroot;
7540 case $with_sysroot in #(
7542 if test yes = "$GCC"; then
7543 lt_sysroot=`$CC --print-sysroot 2>/dev
/null
`
7547 lt_sysroot=`echo "$with_sysroot" |
sed -e "$sed_quote_subst"`
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7553 $as_echo "$with_sysroot" >&6; }
7554 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7559 $as_echo "${lt_sysroot:-no}" >&6; }
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7566 $as_echo_n "checking for a working dd... " >&6; }
7567 if ${ac_cv_path_lt_DD+:} false; then :
7568 $as_echo_n "(cached) " >&6
7570 printf 0123456789abcdef0123456789abcdef >conftest.i
7571 cat conftest.i conftest.i >conftest2.i
7573 if test -z "$lt_DD"; then
7574 ac_path_lt_DD_found=false
7575 # Loop through the user's path and test for each of PROGNAME-LIST
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir=.
7581 for ac_prog in dd; do
7582 for ac_exec_ext in '' $ac_executable_extensions; do
7583 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7584 as_fn_executable_p "$ac_path_lt_DD" || continue
7585 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7586 cmp -s conftest.i conftest.out \
7587 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7589 $ac_path_lt_DD_found && break 3
7594 if test -z "$ac_cv_path_lt_DD"; then
7598 ac_cv_path_lt_DD=$lt_DD
7601 rm -f conftest.i conftest2.i conftest.out
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7604 $as_echo "$ac_cv_path_lt_DD" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7608 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7609 if ${lt_cv_truncate_bin+:} false; then :
7610 $as_echo_n "(cached) " >&6
7612 printf 0123456789abcdef0123456789abcdef >conftest.i
7613 cat conftest.i conftest.i >conftest2.i
7615 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7616 cmp -s conftest.i conftest.out \
7617 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7619 rm -f conftest.i conftest2.i conftest.out
7620 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7623 $as_echo "$lt_cv_truncate_bin" >&6; }
7631 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7634 for cc_temp in $*""; do
7636 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7637 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7642 func_cc_basename_result=`$ECHO "$cc_temp" |
$SED "s%.*/%%; s%^$host_alias-%%"`
7645 # Check whether --enable-libtool-lock was given.
7646 if test "${enable_libtool_lock+set}" = set; then :
7647 enableval=$enable_libtool_lock;
7650 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7652 # Some flags need to be propagated to the compiler or linker for good
7656 # Find out what ABI is being produced by ac_compile, and set mode
7657 # options accordingly.
7658 echo 'int i;' > conftest.$ac_ext
7659 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7660 (eval $ac_compile) 2>&5
7662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7663 test $ac_status = 0; }; then
7664 case `/usr
/bin
/file conftest.
$ac_objext` in
7676 # Find out what ABI is being produced by ac_compile, and set linker
7677 # options accordingly.
7678 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7680 (eval $ac_compile) 2>&5
7682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7683 test $ac_status = 0; }; then
7684 if test yes = "$lt_cv_prog_gnu_ld"; then
7685 case `/usr
/bin
/file conftest.
$ac_objext` in
7687 LD="${LD-ld} -melf32bsmip"
7690 LD="${LD-ld} -melf32bmipn32"
7693 LD="${LD-ld} -melf64bmip"
7697 case `/usr
/bin
/file conftest.
$ac_objext` in
7714 # Find out what ABI is being produced by ac_compile, and set linker
7715 # options accordingly.
7716 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7718 (eval $ac_compile) 2>&5
7720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7721 test $ac_status = 0; }; then
7723 case `/usr
/bin
/file conftest.
$ac_objext` in
7731 case `/usr
/bin
/file conftest.
$ac_objext` in
7733 emul="${emul}btsmip"
7736 emul="${emul}ltsmip"
7739 case `/usr
/bin
/file conftest.
$ac_objext` in
7744 LD="${LD-ld} -m $emul"
7749 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7750 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7751 # Find out what ABI is being produced by ac_compile, and set linker
7752 # options accordingly. Note that the listed cases only cover the
7753 # situations where additional linker options are needed (such as when
7754 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7755 # vice versa); the common cases where no linker options are needed do
7756 # not appear in the list.
7757 echo 'int i;' > conftest.$ac_ext
7758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7759 (eval $ac_compile) 2>&5
7761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7762 test $ac_status = 0; }; then
7763 case `/usr
/bin
/file conftest.o
` in
7766 x86_64-*kfreebsd*-gnu)
7767 LD="${LD-ld} -m elf_i386_fbsd"
7770 case `/usr
/bin
/file conftest.o
` in
7772 LD="${LD-ld} -m elf32_x86_64"
7775 LD="${LD-ld} -m elf_i386"
7779 powerpc64le-*linux*)
7780 LD="${LD-ld} -m elf32lppclinux"
7783 LD="${LD-ld} -m elf32ppclinux"
7786 LD="${LD-ld} -m elf_s390"
7789 LD="${LD-ld} -m elf32_sparc"
7795 x86_64-*kfreebsd*-gnu)
7796 LD="${LD-ld} -m elf_x86_64_fbsd"
7799 LD="${LD-ld} -m elf_x86_64"
7802 LD="${LD-ld} -m elf64lppc"
7805 LD="${LD-ld} -m elf64ppc"
7807 s390*-*linux*|s390*-*tpf*)
7808 LD="${LD-ld} -m elf64_s390"
7811 LD="${LD-ld} -m elf64_sparc"
7821 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7823 CFLAGS="$CFLAGS -belf"
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7825 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7826 if ${lt_cv_cc_needs_belf+:} false; then :
7827 $as_echo_n "(cached) " >&6
7830 ac_cpp='$CPP $CPPFLAGS'
7831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7836 /* end confdefs.h. */
7846 if ac_fn_c_try_link "$LINENO"; then :
7847 lt_cv_cc_needs_belf=yes
7849 lt_cv_cc_needs_belf=no
7851 rm -f core conftest.err conftest.$ac_objext \
7852 conftest$ac_exeext conftest.$ac_ext
7854 ac_cpp='$CPP $CPPFLAGS'
7855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7861 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7862 if test yes != "$lt_cv_cc_needs_belf"; then
7863 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7868 # Find out what ABI is being produced by ac_compile, and set linker
7869 # options accordingly.
7870 echo 'int i;' > conftest.$ac_ext
7871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7872 (eval $ac_compile) 2>&5
7874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7875 test $ac_status = 0; }; then
7876 case `/usr
/bin
/file conftest.o
` in
7878 case $lt_cv_prog_gnu_ld in
7881 i?86-*-solaris*|x86_64-*-solaris*)
7882 LD="${LD-ld} -m elf_x86_64"
7885 LD="${LD-ld} -m elf64_sparc"
7888 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7889 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7894 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7906 need_locks=$enable_libtool_lock
7908 if test -n "$ac_tool_prefix"; then
7909 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7910 set dummy ${ac_tool_prefix}mt; ac_word=$2
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7912 $as_echo_n "checking for $ac_word... " >&6; }
7913 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7914 $as_echo_n "(cached) " >&6
7916 if test -n "$MANIFEST_TOOL"; then
7917 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 test -z "$as_dir" && as_dir=.
7924 for ac_exec_ext in '' $ac_executable_extensions; do
7925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7926 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7937 if test -n "$MANIFEST_TOOL"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7939 $as_echo "$MANIFEST_TOOL" >&6; }
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 $as_echo "no" >&6; }
7947 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7948 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7949 # Extract the first word of "mt", so it can be a program name with args.
7950 set dummy mt; ac_word=$2
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7952 $as_echo_n "checking for $ac_word... " >&6; }
7953 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7954 $as_echo_n "(cached) " >&6
7956 if test -n "$ac_ct_MANIFEST_TOOL"; then
7957 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 test -z "$as_dir" && as_dir=.
7964 for ac_exec_ext in '' $ac_executable_extensions; do
7965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7966 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7977 if test -n "$ac_ct_MANIFEST_TOOL"; then
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7979 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7982 $as_echo "no" >&6; }
7985 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7988 case $cross_compiling:$ac_tool_warned in
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7992 ac_tool_warned=yes ;;
7994 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7997 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8000 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8002 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8003 if ${lt_cv_path_mainfest_tool+:} false; then :
8004 $as_echo_n "(cached) " >&6
8006 lt_cv_path_mainfest_tool=no
8007 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8008 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8009 cat conftest.err >&5
8010 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8011 lt_cv_path_mainfest_tool=yes
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8016 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8017 if test yes != "$lt_cv_path_mainfest_tool"; then
8027 rhapsody* | darwin*)
8028 if test -n "$ac_tool_prefix"; then
8029 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8030 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8034 $as_echo_n "(cached) " >&6
8036 if test -n "$DSYMUTIL"; then
8037 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8043 test -z "$as_dir" && as_dir=.
8044 for ac_exec_ext in '' $ac_executable_extensions; do
8045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8046 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8057 if test -n "$DSYMUTIL"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8059 $as_echo "$DSYMUTIL" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8067 if test -z "$ac_cv_prog_DSYMUTIL"; then
8068 ac_ct_DSYMUTIL=$DSYMUTIL
8069 # Extract the first word of "dsymutil", so it can be a program name with args.
8070 set dummy dsymutil; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8074 $as_echo_n "(cached) " >&6
8076 if test -n "$ac_ct_DSYMUTIL"; then
8077 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8096 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8097 if test -n "$ac_ct_DSYMUTIL"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8099 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8105 if test "x$ac_ct_DSYMUTIL" = x; then
8108 case $cross_compiling:$ac_tool_warned in
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8112 ac_tool_warned=yes ;;
8114 DSYMUTIL=$ac_ct_DSYMUTIL
8117 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8120 if test -n "$ac_tool_prefix"; then
8121 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8122 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if ${ac_cv_prog_NMEDIT+:} false; then :
8126 $as_echo_n "(cached) " >&6
8128 if test -n "$NMEDIT"; then
8129 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8148 NMEDIT=$ac_cv_prog_NMEDIT
8149 if test -n "$NMEDIT"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8151 $as_echo "$NMEDIT" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8159 if test -z "$ac_cv_prog_NMEDIT"; then
8160 ac_ct_NMEDIT=$NMEDIT
8161 # Extract the first word of "nmedit", so it can be a program name with args.
8162 set dummy nmedit; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8164 $as_echo_n "checking for $ac_word... " >&6; }
8165 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8166 $as_echo_n "(cached) " >&6
8168 if test -n "$ac_ct_NMEDIT"; then
8169 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8175 test -z "$as_dir" && as_dir=.
8176 for ac_exec_ext in '' $ac_executable_extensions; do
8177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8178 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8188 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8189 if test -n "$ac_ct_NMEDIT"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8191 $as_echo "$ac_ct_NMEDIT" >&6; }
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 $as_echo "no" >&6; }
8197 if test "x$ac_ct_NMEDIT" = x; then
8200 case $cross_compiling:$ac_tool_warned in
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8204 ac_tool_warned=yes ;;
8206 NMEDIT=$ac_ct_NMEDIT
8209 NMEDIT="$ac_cv_prog_NMEDIT"
8212 if test -n "$ac_tool_prefix"; then
8213 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8214 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if ${ac_cv_prog_LIPO+:} false; then :
8218 $as_echo_n "(cached) " >&6
8220 if test -n "$LIPO"; then
8221 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8227 test -z "$as_dir" && as_dir=.
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8230 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8240 LIPO=$ac_cv_prog_LIPO
8241 if test -n "$LIPO"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8243 $as_echo "$LIPO" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8251 if test -z "$ac_cv_prog_LIPO"; then
8253 # Extract the first word of "lipo", so it can be a program name with args.
8254 set dummy lipo; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8258 $as_echo_n "(cached) " >&6
8260 if test -n "$ac_ct_LIPO"; then
8261 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270 ac_cv_prog_ac_ct_LIPO="lipo"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8280 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8281 if test -n "$ac_ct_LIPO"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8283 $as_echo "$ac_ct_LIPO" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8289 if test "x$ac_ct_LIPO" = x; then
8292 case $cross_compiling:$ac_tool_warned in
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned=yes ;;
8301 LIPO="$ac_cv_prog_LIPO"
8304 if test -n "$ac_tool_prefix"; then
8305 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8306 set dummy ${ac_tool_prefix}otool; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_prog_OTOOL+:} false; then :
8310 $as_echo_n "(cached) " >&6
8312 if test -n "$OTOOL"; then
8313 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8332 OTOOL=$ac_cv_prog_OTOOL
8333 if test -n "$OTOOL"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8335 $as_echo "$OTOOL" >&6; }
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8343 if test -z "$ac_cv_prog_OTOOL"; then
8345 # Extract the first word of "otool", so it can be a program name with args.
8346 set dummy otool; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8350 $as_echo_n "(cached) " >&6
8352 if test -n "$ac_ct_OTOOL"; then
8353 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_ac_ct_OTOOL="otool"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8372 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8373 if test -n "$ac_ct_OTOOL"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8375 $as_echo "$ac_ct_OTOOL" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8381 if test "x$ac_ct_OTOOL" = x; then
8384 case $cross_compiling:$ac_tool_warned in
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned=yes ;;
8393 OTOOL="$ac_cv_prog_OTOOL"
8396 if test -n "$ac_tool_prefix"; then
8397 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8398 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8400 $as_echo_n "checking for $ac_word... " >&6; }
8401 if ${ac_cv_prog_OTOOL64+:} false; then :
8402 $as_echo_n "(cached) " >&6
8404 if test -n "$OTOOL64"; then
8405 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir=.
8412 for ac_exec_ext in '' $ac_executable_extensions; do
8413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8414 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8424 OTOOL64=$ac_cv_prog_OTOOL64
8425 if test -n "$OTOOL64"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8427 $as_echo "$OTOOL64" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8435 if test -z "$ac_cv_prog_OTOOL64"; then
8436 ac_ct_OTOOL64=$OTOOL64
8437 # Extract the first word of "otool64", so it can be a program name with args.
8438 set dummy otool64; ac_word=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8442 $as_echo_n "(cached) " >&6
8444 if test -n "$ac_ct_OTOOL64"; then
8445 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8451 test -z "$as_dir" && as_dir=.
8452 for ac_exec_ext in '' $ac_executable_extensions; do
8453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8454 ac_cv_prog_ac_ct_OTOOL64="otool64"
8455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8464 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8465 if test -n "$ac_ct_OTOOL64"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8467 $as_echo "$ac_ct_OTOOL64" >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8473 if test "x$ac_ct_OTOOL64" = x; then
8476 case $cross_compiling:$ac_tool_warned in
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8480 ac_tool_warned=yes ;;
8482 OTOOL64=$ac_ct_OTOOL64
8485 OTOOL64="$ac_cv_prog_OTOOL64"
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8515 $as_echo_n "checking for -single_module linker flag... " >&6; }
8516 if ${lt_cv_apple_cc_single_mod+:} false; then :
8517 $as_echo_n "(cached) " >&6
8519 lt_cv_apple_cc_single_mod=no
8520 if test -z "$LT_MULTI_MODULE"; then
8521 # By default we will add the -single_module flag. You can override
8522 # by either setting the environment variable LT_MULTI_MODULE
8523 # non-empty at configure time, or by adding -multi_module to the
8525 rm -rf libconftest.dylib*
8526 echo "int foo(void){return 1;}" > conftest.c
8527 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8528 -dynamiclib -Wl,-single_module conftest.c" >&5
8529 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8530 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8532 # If there is a non-empty error log, and "single_module"
8533 # appears in it, assume the flag caused a linker warning
8534 if test -s conftest.err && $GREP single_module conftest.err; then
8535 cat conftest.err >&5
8536 # Otherwise, if the output was created with a 0 exit code from
8537 # the compiler, it worked.
8538 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8539 lt_cv_apple_cc_single_mod=yes
8541 cat conftest.err >&5
8543 rm -rf libconftest.dylib*
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8548 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8551 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8552 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8553 $as_echo_n "(cached) " >&6
8555 lt_cv_ld_exported_symbols_list=no
8556 save_LDFLAGS=$LDFLAGS
8557 echo "_main" > conftest.sym
8558 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8570 if ac_fn_c_try_link "$LINENO"; then :
8571 lt_cv_ld_exported_symbols_list=yes
8573 lt_cv_ld_exported_symbols_list=no
8575 rm -f core conftest.err conftest.$ac_objext \
8576 conftest$ac_exeext conftest.$ac_ext
8577 LDFLAGS=$save_LDFLAGS
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8581 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8584 $as_echo_n "checking for -force_load linker flag... " >&6; }
8585 if ${lt_cv_ld_force_load+:} false; then :
8586 $as_echo_n "(cached) " >&6
8588 lt_cv_ld_force_load=no
8589 cat > conftest.c << _LT_EOF
8590 int forced_loaded() { return 2;}
8592 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8593 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8594 echo "$AR cru libconftest.a conftest.o" >&5
8595 $AR cru libconftest.a conftest.o 2>&5
8596 echo "$RANLIB libconftest.a" >&5
8597 $RANLIB libconftest.a 2>&5
8598 cat > conftest.c << _LT_EOF
8599 int main() { return 0;}
8601 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8602 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8604 if test -s conftest.err && $GREP force_load conftest.err; then
8605 cat conftest.err >&5
8606 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8607 lt_cv_ld_force_load=yes
8609 cat conftest.err >&5
8611 rm -f conftest.err libconftest.a conftest conftest.c
8612 rm -rf conftest.dSYM
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8616 $as_echo "$lt_cv_ld_force_load" >&6; }
8618 rhapsody* | darwin1.[012])
8619 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8621 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8622 darwin*) # darwin 5.x on
8623 # if running on 10.5 or later, the deployment target defaults
8624 # to the OS version, if on x86, and 10.4, the deployment
8625 # target defaults to 10.4. Don't you love it?
8626 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8627 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8628 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8630 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8632 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8636 if test yes = "$lt_cv_apple_cc_single_mod"; then
8637 _lt_dar_single_mod='$single_module'
8639 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8640 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8642 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8644 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8645 _lt_dsymutil='~$DSYMUTIL $lib || :'
8652 # func_munge_path_list VARIABLE PATH
8653 # -----------------------------------
8654 # VARIABLE is name of variable containing _space_ separated list of
8655 # directories to be munged by the contents of PATH, which is string
8658 # string "DIR[ DIR]" will be prepended to VARIABLE
8660 # string "DIR[ DIR]" will be appended to VARIABLE
8661 # "DIRP[:DIRP]::[DIRA:]DIRA"
8662 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8663 # "DIRA[ DIRA]" will be appended to VARIABLE
8665 # VARIABLE will be replaced by "DIR[ DIR]"
8666 func_munge_path_list ()
8672 eval $1=\"`$ECHO $2 |
$SED 's/:/ /g'` \$$1\"
8675 eval $1=\"\$$1 `$ECHO $2 |
$SED 's/:/ /g'`\"
8678 eval $1=\"\$$1\ `$ECHO $2 |
$SED -e 's/.*:://' -e 's/:/ /g'`\"
8679 eval $1=\"`$ECHO $2 |
$SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8682 eval $1=\"`$ECHO $2 |
$SED 's/:/ /g'`\"
8688 ac_cpp='$CPP $CPPFLAGS'
8689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8693 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8694 # On Suns, sometimes $CPP names a directory.
8695 if test -n "$CPP" && test -d "$CPP"; then
8698 if test -z "$CPP"; then
8699 if ${ac_cv_prog_CPP+:} false; then :
8700 $as_echo_n "(cached) " >&6
8702 # Double quotes because CPP needs to be expanded
8703 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8706 for ac_c_preproc_warn_flag in '' yes
8708 # Use a header file that comes with gcc, so configuring glibc
8709 # with a fresh cross-compiler works.
8710 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8711 # <limits.h> exists even on freestanding compilers.
8712 # On the NeXT, cc -E runs the code through the compiler's parser,
8713 # not just through cpp. "Syntax error" is here to catch this case.
8714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8717 # include <limits.h>
8719 # include <assert.h>
8723 if ac_fn_c_try_cpp "$LINENO"; then :
8726 # Broken: fails on valid input.
8729 rm -f conftest.err conftest.i conftest.$ac_ext
8731 # OK, works on sane cases. Now check whether nonexistent headers
8732 # can be detected and how.
8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 #include <ac_nonexistent.h>
8737 if ac_fn_c_try_cpp "$LINENO"; then :
8738 # Broken: success on invalid input.
8741 # Passes both tests.
8745 rm -f conftest.err conftest.i conftest.$ac_ext
8748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8749 rm -f conftest.i conftest.err conftest.
$ac_ext
8750 if $ac_preproc_ok; then :
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8763 $as_echo "$CPP" >&6; }
8765 for ac_c_preproc_warn_flag
in '' yes
8767 # Use a header file that comes with gcc, so configuring glibc
8768 # with a fresh cross-compiler works.
8769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8770 # <limits.h> exists even on freestanding compilers.
8771 # On the NeXT, cc -E runs the code through the compiler's parser,
8772 # not just through cpp. "Syntax error" is here to catch this case.
8773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8776 # include <limits.h>
8778 # include <assert.h>
8782 if ac_fn_c_try_cpp
"$LINENO"; then :
8785 # Broken: fails on valid input.
8788 rm -f conftest.err conftest.i conftest.
$ac_ext
8790 # OK, works on sane cases. Now check whether nonexistent headers
8791 # can be detected and how.
8792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8794 #include <ac_nonexistent.h>
8796 if ac_fn_c_try_cpp
"$LINENO"; then :
8797 # Broken: success on invalid input.
8800 # Passes both tests.
8804 rm -f conftest.err conftest.i conftest.
$ac_ext
8807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8808 rm -f conftest.i conftest.err conftest.
$ac_ext
8809 if $ac_preproc_ok; then :
8812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8814 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
8815 See \`config.log' for more details" "$LINENO" 5; }
8819 ac_cpp
='$CPP $CPPFLAGS'
8820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8826 $as_echo_n "checking for ANSI C header files... " >&6; }
8827 if ${ac_cv_header_stdc+:} false
; then :
8828 $as_echo_n "(cached) " >&6
8830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8831 /* end confdefs.h. */
8845 if ac_fn_c_try_compile
"$LINENO"; then :
8846 ac_cv_header_stdc
=yes
8848 ac_cv_header_stdc
=no
8850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8852 if test $ac_cv_header_stdc = yes; then
8853 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8855 /* end confdefs.h. */
8859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8860 $EGREP "memchr" >/dev
/null
2>&1; then :
8863 ac_cv_header_stdc
=no
8869 if test $ac_cv_header_stdc = yes; then
8870 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8877 $EGREP "free" >/dev
/null
2>&1; then :
8880 ac_cv_header_stdc
=no
8886 if test $ac_cv_header_stdc = yes; then
8887 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8888 if test "$cross_compiling" = yes; then :
8891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8892 /* end confdefs.h. */
8895 #if ((' ' & 0x0FF) == 0x020)
8896 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8897 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8899 # define ISLOWER(c) \
8900 (('a' <= (c) && (c) <= 'i') \
8901 || ('j' <= (c) && (c) <= 'r') \
8902 || ('s' <= (c) && (c) <= 'z'))
8903 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8906 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8911 for (i = 0; i < 256; i++)
8912 if (XOR (islower (i), ISLOWER (i))
8913 || toupper (i) != TOUPPER (i))
8918 if ac_fn_c_try_run
"$LINENO"; then :
8921 ac_cv_header_stdc
=no
8923 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8924 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8930 $as_echo "$ac_cv_header_stdc" >&6; }
8931 if test $ac_cv_header_stdc = yes; then
8933 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8937 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8938 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8939 inttypes.h stdint.h unistd.h
8941 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8942 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8944 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8945 cat >>confdefs.h
<<_ACEOF
8946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8954 for ac_header
in dlfcn.h
8956 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8958 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8959 cat >>confdefs.h
<<_ACEOF
8960 #define HAVE_DLFCN_H 1
8968 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8969 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8970 # is not polluted with repeated "-I."
8971 am__isrc
=' -I$(srcdir)'
8972 # test to see if srcdir already configured
8973 if test -f $srcdir/config.status
; then
8974 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8978 # test whether we have cygpath
8979 if test -z "$CYGPATH_W"; then
8980 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
8981 CYGPATH_W
='cygpath -w'
8988 # Define the identity of the package.
8990 VERSION
='2015-03-07'
8993 cat >>confdefs.h
<<_ACEOF
8994 #define PACKAGE "$PACKAGE"
8998 cat >>confdefs.h
<<_ACEOF
8999 #define VERSION "$VERSION"
9002 # Some tools Automake needs.
9004 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9007 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
9010 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9013 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
9016 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
9018 # For better backward compatibility. To be removed once Automake 1.9.x
9019 # dies out for good. For more background, see:
9020 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9021 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9022 mkdir_p
='$(MKDIR_P)'
9024 # We need awk for the "check" target (and possibly the TAP driver). The
9025 # system "awk" is bad on some platforms.
9026 # Always define AMTAR for backward compatibility. Yes, it's still used
9027 # in the wild :-( We should find a proper way to deprecate it ...
9031 # We'll loop over all known methods to create a tar archive until one works.
9032 _am_tools
='gnutar pax cpio none'
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
9037 $as_echo_n "checking how to create a pax tar archive... " >&6; }
9039 # Go ahead even if we have the value already cached. We do so because we
9040 # need to set the values for the 'am__tar' and 'am__untar' variables.
9041 _am_tools
=${am_cv_prog_tar_pax-$_am_tools}
9043 for _am_tool
in $_am_tools; do
9046 for _am_tar
in tar gnutar gtar
; do
9047 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9048 ($_am_tar --version) >&5 2>&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); } && break
9053 am__tar
="$_am_tar --format=posix -chf - "'"$$tardir"'
9054 am__tar_
="$_am_tar --format=posix -chf - "'"$tardir"'
9055 am__untar
="$_am_tar -xf -"
9058 # Must skip GNU tar: if it does not support --format= it doesn't create
9059 # ustar tarball either.
9060 (tar --version) >/dev
/null
2>&1 && continue
9061 am__tar
='tar chf - "$$tardir"'
9062 am__tar_
='tar chf - "$tardir"'
9063 am__untar
='tar xf -'
9066 am__tar
='pax -L -x pax -w "$$tardir"'
9067 am__tar_
='pax -L -x pax -w "$tardir"'
9071 am__tar
='find "$$tardir" -print | cpio -o -H pax -L'
9072 am__tar_
='find "$tardir" -print | cpio -o -H pax -L'
9073 am__untar
='cpio -i -H pax -d'
9082 # If the value was cached, stop now. We just wanted to have am__tar
9083 # and am__untar set.
9084 test -n "${am_cv_prog_tar_pax}" && break
9086 # tar/untar a dummy directory, and stop if the command works.
9089 echo GrepMe
> conftest.dir
/file
9090 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9091 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 (exit $ac_status); }
9096 if test -s conftest.
tar; then
9097 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9098 ($am__untar <conftest.
tar) >&5 2>&5
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); }
9102 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9103 (cat conftest.dir
/file) >&5 2>&5
9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106 (exit $ac_status); }
9107 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
9112 if ${am_cv_prog_tar_pax+:} false
; then :
9113 $as_echo_n "(cached) " >&6
9115 am_cv_prog_tar_pax
=$_am_tool
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
9119 $as_echo "$am_cv_prog_tar_pax" >&6; }
9125 depcc
="$CC" am_compiler_list
=
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
9128 $as_echo_n "checking dependency style of $depcc... " >&6; }
9129 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
9130 $as_echo_n "(cached) " >&6
9132 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9133 # We make a subdir and do the tests there. Otherwise we can end up
9134 # making bogus files that we don't know about and never remove. For
9135 # instance it was reported that on HP-UX the gcc test will end up
9136 # making a dummy file named 'D' -- because '-MD' means "put the output
9140 # Copy depcomp to subdir because otherwise we won't find it if we're
9141 # using a relative directory.
9142 cp "$am_depcomp" conftest.dir
9144 # We will build objects and dependencies in a subdirectory because
9145 # it helps to detect inapplicable dependency modes. For instance
9146 # both Tru64's cc and ICC support -MD to output dependencies as a
9147 # side effect of compilation, but ICC will put the dependencies in
9148 # the current directory while Tru64 will put them in the object
9152 am_cv_CC_dependencies_compiler_type
=none
9153 if test "$am_compiler_list" = ""; then
9154 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9157 case " $depcc " in #(
9158 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
9161 for depmode
in $am_compiler_list; do
9162 # Setup a source with many dependencies, because some compilers
9163 # like to wrap large dependency lists on column 80 (with \), and
9164 # we should not choose a depcomp mode which is confused by this.
9166 # We need to recreate these files for each test, as the compiler may
9167 # overwrite some of them when testing with obscure command lines.
9168 # This happens at least with the AIX C compiler.
9170 for i
in 1 2 3 4 5 6; do
9171 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
9172 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
9173 # Solaris 10 /bin/sh.
9174 echo '/* dummy */' > sub
/conftst
$i.h
9176 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9178 # We check with '-c' and '-o' for the sake of the "dashmstdout"
9179 # mode. It turns out that the SunPro C++ compiler does not properly
9180 # handle '-M -o', and we need to detect this. Also, some Intel
9181 # versions had trouble with output in subdirs.
9182 am__obj
=sub
/conftest.
${OBJEXT-o}
9183 am__minus_obj
="-o $am__obj"
9186 # This depmode causes a compiler race in universal mode.
9187 test "$am__universal" = false ||
continue
9190 # After this tag, mechanisms are not by side-effect, so they'll
9191 # only be used when explicitly requested.
9192 if test "x$enable_dependency_tracking" = xyes
; then
9198 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
9199 # This compiler won't grok '-c -o', but also, the minuso test has
9200 # not run yet. These depmodes are late enough in the game, and
9201 # so weak that their functioning should not be impacted.
9202 am__obj
=conftest.
${OBJEXT-o}
9207 if depmode
=$depmode \
9208 source=sub
/conftest.c object
=$am__obj \
9209 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
9210 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
9211 >/dev
/null
2>conftest.err
&&
9212 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
9213 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
9214 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
9215 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
9216 # icc doesn't choke on unknown options, it will just issue warnings
9217 # or remarks (even with -Werror). So we grep stderr for any message
9218 # that says an option was ignored or not supported.
9219 # When given -MP, icc 7.0 and 7.1 complain thusly:
9220 # icc: Command line warning: ignoring option '-M'; no argument required
9221 # The diagnosis changed in icc 8.0:
9222 # icc: Command line remark: option '-MP' not supported
9223 if (grep 'ignoring option' conftest.err ||
9224 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
9225 am_cv_CC_dependencies_compiler_type
=$depmode
9234 am_cv_CC_dependencies_compiler_type
=none
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
9239 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
9240 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
9243 test "x$enable_dependency_tracking" != xno \
9244 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
9246 am__fastdepCC_FALSE
='#'
9248 am__fastdepCC_TRUE
='#'
9249 am__fastdepCC_FALSE
=
9254 # POSIX will say in a future version that running "rm -f" with no argument
9255 # is OK; and we want to be able to make that assumption in our Makefile
9256 # recipes. So use an aggressive probe to check that the usage we want is
9257 # actually supported "in the wild" to an acceptable degree.
9258 # See automake bug#10828.
9259 # To make any issue more visible, cause the running configure to be aborted
9260 # by default if the 'rm' program in use doesn't match our expectations; the
9261 # user can still override this though.
9262 if rm -f && rm -fr && rm -rf; then : OK
; else
9266 Your 'rm' program seems unable to run without file operands specified
9267 on the command line, even when the '-f' option is present. This is contrary
9268 to the behaviour of most rm programs out there, and not conforming with
9269 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
9271 Please tell bug-automake@gnu.org about your system, including the value
9272 of your $PATH and any error possibly output before this message. This
9273 can help us improve future automake versions.
9276 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
9277 echo 'Configuration will proceed anyway, since you have set the' >&2
9278 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
9282 Aborting the configuration process, to ensure you take notice of the issue.
9284 You can download and install GNU coreutils to get an 'rm' implementation
9285 that behaves properly: <http://www.gnu.org/software/coreutils/>.
9287 If you want to complete the configuration process using your problematic
9288 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
9289 to "yes", and re-run configure.
9292 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9298 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9299 # Check whether --enable-maintainer-mode was given.
9300 if test "${enable_maintainer_mode+set}" = set; then :
9301 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
9303 USE_MAINTAINER_MODE
=no
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9307 $as_echo "$USE_MAINTAINER_MODE" >&6; }
9308 if test $USE_MAINTAINER_MODE = yes; then
9309 MAINTAINER_MODE_TRUE
=
9310 MAINTAINER_MODE_FALSE
='#'
9312 MAINTAINER_MODE_TRUE
='#'
9313 MAINTAINER_MODE_FALSE
=
9316 MAINT
=$MAINTAINER_MODE_TRUE
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9320 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
9321 if ${kb_cv_c_prototypes+:} false
; then :
9322 $as_echo_n "(cached) " >&6
9324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9330 extern void foo(int i,...);
9335 if ac_fn_c_try_link
"$LINENO"; then :
9336 kb_cv_c_prototypes
=yes
9338 kb_cv_c_prototypes
=no
9340 rm -f core conftest.err conftest.
$ac_objext \
9341 conftest
$ac_exeext conftest.
$ac_ext
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9344 $as_echo "$kb_cv_c_prototypes" >&6; }
9345 if test "x$kb_cv_c_prototypes" = xno
; then
9346 as_fn_error $?
"Sorry, your compiler does not understand prototypes." "$LINENO" 5
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9349 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
9350 if ${kpse_cv_warning_cflags+:} false
; then :
9351 $as_echo_n "(cached) " >&6
9353 if test "x$GCC" = xyes
; then
9354 kpse_cv_warning_cflags
=
9355 if test "x$enable_compiler_warnings" != xno
; then
9356 kpse_cv_warning_cflags
="-Wimplicit -Wreturn-type"
9357 case `$CC -dumpversion` in #(
9359 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9363 case `$CC -dumpversion` in #(
9365 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9369 if test "x$enable_compiler_warnings" != xmin
; then
9370 kpse_cv_warning_cflags
="-Wall -Wunused $kpse_cv_warning_cflags"
9371 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9372 if test "x$enable_compiler_warnings" != xyes
; then
9373 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9374 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9375 case `$CC -dumpversion` in #(
9377 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9381 if test "x$enable_compiler_warnings" != xmax
; then
9382 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wshadow"
9387 elif test "x$enable_compiler_warnings" = xno
; then
9388 kpse_cv_warning_cflags
=
9390 kpse_cv_warning_cflags
= # FIXME: warning flags for non-GNU C compilers
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9394 $as_echo "$kpse_cv_warning_cflags" >&6; }
9395 WARNING_CFLAGS
=$kpse_cv_warning_cflags
9409 enable_win32_dll
=yes
9412 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
9413 if test -n "$ac_tool_prefix"; then
9414 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9415 set dummy
${ac_tool_prefix}as
; ac_word
=$2
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9417 $as_echo_n "checking for $ac_word... " >&6; }
9418 if ${ac_cv_prog_AS+:} false
; then :
9419 $as_echo_n "(cached) " >&6
9421 if test -n "$AS"; then
9422 ac_cv_prog_AS
="$AS" # Let the user override the test.
9424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9428 test -z "$as_dir" && as_dir
=.
9429 for ac_exec_ext
in '' $ac_executable_extensions; do
9430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9431 ac_cv_prog_AS
="${ac_tool_prefix}as"
9432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9442 if test -n "$AS"; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9444 $as_echo "$AS" >&6; }
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9447 $as_echo "no" >&6; }
9452 if test -z "$ac_cv_prog_AS"; then
9454 # Extract the first word of "as", so it can be a program name with args.
9455 set dummy as
; ac_word
=$2
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9457 $as_echo_n "checking for $ac_word... " >&6; }
9458 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
9459 $as_echo_n "(cached) " >&6
9461 if test -n "$ac_ct_AS"; then
9462 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
9464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9468 test -z "$as_dir" && as_dir
=.
9469 for ac_exec_ext
in '' $ac_executable_extensions; do
9470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9471 ac_cv_prog_ac_ct_AS
="as"
9472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9481 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
9482 if test -n "$ac_ct_AS"; then
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9484 $as_echo "$ac_ct_AS" >&6; }
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9487 $as_echo "no" >&6; }
9490 if test "x$ac_ct_AS" = x
; then
9493 case $cross_compiling:$ac_tool_warned in
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9497 ac_tool_warned
=yes ;;
9505 if test -n "$ac_tool_prefix"; then
9506 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9507 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9509 $as_echo_n "checking for $ac_word... " >&6; }
9510 if ${ac_cv_prog_DLLTOOL+:} false
; then :
9511 $as_echo_n "(cached) " >&6
9513 if test -n "$DLLTOOL"; then
9514 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9520 test -z "$as_dir" && as_dir
=.
9521 for ac_exec_ext
in '' $ac_executable_extensions; do
9522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9523 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9533 DLLTOOL
=$ac_cv_prog_DLLTOOL
9534 if test -n "$DLLTOOL"; then
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9536 $as_echo "$DLLTOOL" >&6; }
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9539 $as_echo "no" >&6; }
9544 if test -z "$ac_cv_prog_DLLTOOL"; then
9545 ac_ct_DLLTOOL
=$DLLTOOL
9546 # Extract the first word of "dlltool", so it can be a program name with args.
9547 set dummy dlltool
; ac_word
=$2
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9549 $as_echo_n "checking for $ac_word... " >&6; }
9550 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
9551 $as_echo_n "(cached) " >&6
9553 if test -n "$ac_ct_DLLTOOL"; then
9554 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9560 test -z "$as_dir" && as_dir
=.
9561 for ac_exec_ext
in '' $ac_executable_extensions; do
9562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9563 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9573 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9574 if test -n "$ac_ct_DLLTOOL"; then
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9576 $as_echo "$ac_ct_DLLTOOL" >&6; }
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9579 $as_echo "no" >&6; }
9582 if test "x$ac_ct_DLLTOOL" = x
; then
9585 case $cross_compiling:$ac_tool_warned in
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9589 ac_tool_warned
=yes ;;
9591 DLLTOOL
=$ac_ct_DLLTOOL
9594 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9597 if test -n "$ac_tool_prefix"; then
9598 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9599 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9601 $as_echo_n "checking for $ac_word... " >&6; }
9602 if ${ac_cv_prog_OBJDUMP+:} false
; then :
9603 $as_echo_n "(cached) " >&6
9605 if test -n "$OBJDUMP"; then
9606 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
9608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9612 test -z "$as_dir" && as_dir
=.
9613 for ac_exec_ext
in '' $ac_executable_extensions; do
9614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9615 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
9616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9625 OBJDUMP
=$ac_cv_prog_OBJDUMP
9626 if test -n "$OBJDUMP"; then
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9628 $as_echo "$OBJDUMP" >&6; }
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9631 $as_echo "no" >&6; }
9636 if test -z "$ac_cv_prog_OBJDUMP"; then
9637 ac_ct_OBJDUMP
=$OBJDUMP
9638 # Extract the first word of "objdump", so it can be a program name with args.
9639 set dummy objdump
; ac_word
=$2
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9641 $as_echo_n "checking for $ac_word... " >&6; }
9642 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
9643 $as_echo_n "(cached) " >&6
9645 if test -n "$ac_ct_OBJDUMP"; then
9646 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
9648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9652 test -z "$as_dir" && as_dir
=.
9653 for ac_exec_ext
in '' $ac_executable_extensions; do
9654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9655 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
9656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9665 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
9666 if test -n "$ac_ct_OBJDUMP"; then
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9668 $as_echo "$ac_ct_OBJDUMP" >&6; }
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9671 $as_echo "no" >&6; }
9674 if test "x$ac_ct_OBJDUMP" = x
; then
9677 case $cross_compiling:$ac_tool_warned in
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9681 ac_tool_warned
=yes ;;
9683 OBJDUMP
=$ac_ct_OBJDUMP
9686 OBJDUMP
="$ac_cv_prog_OBJDUMP"
9692 test -z "$AS" && AS
=as
9698 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9704 test -z "$OBJDUMP" && OBJDUMP
=objdump
9716 # Check whether --enable-shared was given.
9717 if test "${enable_shared+set}" = set; then :
9718 enableval
=$enable_shared; p
=${PACKAGE-default}
9720 yes) enable_shared
=yes ;;
9721 no
) enable_shared
=no
;;
9724 # Look at the argument we got. We use all the common list separators.
9725 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9726 for pkg
in $enableval; do
9728 if test "X$pkg" = "X$p"; then
9747 # Check whether --enable-static was given.
9748 if test "${enable_static+set}" = set; then :
9749 enableval
=$enable_static; p
=${PACKAGE-default}
9751 yes) enable_static
=yes ;;
9752 no
) enable_static
=no
;;
9755 # Look at the argument we got. We use all the common list separators.
9756 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9757 for pkg
in $enableval; do
9759 if test "X$pkg" = "X$p"; then
9779 # Check whether --with-pic was given.
9780 if test "${with_pic+set}" = set; then :
9781 withval
=$with_pic; lt_p
=${PACKAGE-default}
9783 yes|no
) pic_mode
=$withval ;;
9786 # Look at the argument we got. We use all the common list separators.
9787 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9788 for lt_pkg
in $withval; do
9790 if test "X$lt_pkg" = "X$lt_p"; then
9808 # Check whether --enable-fast-install was given.
9809 if test "${enable_fast_install+set}" = set; then :
9810 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9812 yes) enable_fast_install
=yes ;;
9813 no
) enable_fast_install
=no
;;
9815 enable_fast_install
=no
9816 # Look at the argument we got. We use all the common list separators.
9817 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9818 for pkg
in $enableval; do
9820 if test "X$pkg" = "X$p"; then
9821 enable_fast_install
=yes
9828 enable_fast_install
=yes
9838 shared_archive_member_spec
=
9839 case $host,$enable_shared in
9840 power
*-*-aix[5-9]*,yes)
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9842 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9844 # Check whether --with-aix-soname was given.
9845 if test "${with_aix_soname+set}" = set; then :
9846 withval
=$with_aix_soname; case $withval in
9850 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9853 lt_cv_with_aix_soname
=$with_aix_soname
9855 if ${lt_cv_with_aix_soname+:} false
; then :
9856 $as_echo_n "(cached) " >&6
9858 lt_cv_with_aix_soname
=aix
9861 with_aix_soname
=$lt_cv_with_aix_soname
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9865 $as_echo "$with_aix_soname" >&6; }
9866 if test aix
!= "$with_aix_soname"; then
9867 # For the AIX way of multilib, we name the shared archive member
9868 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9869 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9870 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9871 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9872 if test 64 = "${OBJECT_MODE-32}"; then
9873 shared_archive_member_spec
=shr_64
9875 shared_archive_member_spec
=shr
9893 # This can be used to rebuild libtool when needed
9894 LIBTOOL_DEPS
=$ltmain
9896 # Always use our own libtool.
9897 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9928 test -z "$LN_S" && LN_S
="ln -s"
9943 if test -n "${ZSH_VERSION+set}"; then
9944 setopt NO_GLOB_SUBST
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9948 $as_echo_n "checking for objdir... " >&6; }
9949 if ${lt_cv_objdir+:} false
; then :
9950 $as_echo_n "(cached) " >&6
9952 rm -f .libs
2>/dev
/null
9953 mkdir .libs
2>/dev
/null
9954 if test -d .libs
; then
9957 # MS-DOS does not allow filenames that begin with a dot.
9960 rmdir .libs
2>/dev
/null
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9963 $as_echo "$lt_cv_objdir" >&6; }
9964 objdir
=$lt_cv_objdir
9970 cat >>confdefs.h
<<_ACEOF
9971 #define LT_OBJDIR "$lt_cv_objdir/"
9979 # AIX sometimes has problems with the GCC collect2 program. For some
9980 # reason, if we set the COLLECT_NAMES environment variable, the problems
9981 # vanish in a puff of smoke.
9982 if test set != "${COLLECT_NAMES+set}"; then
9984 export COLLECT_NAMES
9991 can_build_shared
=yes
9993 # All known linkers require a '.a' archive for static linking (except MSVC,
9994 # which needs '.lib').
9997 with_gnu_ld
=$lt_cv_prog_gnu_ld
10002 # Set sane defaults for various variables
10003 test -z "$CC" && CC
=cc
10004 test -z "$LTCC" && LTCC
=$CC
10005 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10006 test -z "$LD" && LD
=ld
10007 test -z "$ac_objext" && ac_objext
=o
10009 func_cc_basename
$compiler
10010 cc_basename
=$func_cc_basename_result
10013 # Only perform the check for file, if the check method requires it
10014 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10015 case $deplibs_check_method in
10017 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10019 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10020 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10021 $as_echo_n "(cached) " >&6
10025 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10028 lt_save_MAGIC_CMD
=$MAGIC_CMD
10029 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10030 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10031 for ac_dir
in $ac_dummy; do
10033 test -z "$ac_dir" && ac_dir
=.
10034 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10035 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
10036 if test -n "$file_magic_test_file"; then
10037 case $deplibs_check_method in
10039 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10040 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10041 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10042 $EGREP "$file_magic_regex" > /dev
/null
; then
10047 *** Warning: the command libtool uses to detect shared libraries,
10048 *** $file_magic_cmd, produces output that libtool cannot recognize.
10049 *** The result is that libtool may fail to recognize shared libraries
10050 *** as such. This will affect the creation of libtool libraries that
10051 *** depend on shared libraries, but programs linked with such libtool
10052 *** libraries will work regardless of this problem. Nevertheless, you
10053 *** may want to report the problem to your system manager and/or to
10054 *** bug-libtool@gnu.org
10064 MAGIC_CMD
=$lt_save_MAGIC_CMD
10069 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10070 if test -n "$MAGIC_CMD"; then
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10072 $as_echo "$MAGIC_CMD" >&6; }
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10075 $as_echo "no" >&6; }
10082 if test -z "$lt_cv_path_MAGIC_CMD"; then
10083 if test -n "$ac_tool_prefix"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10085 $as_echo_n "checking for file... " >&6; }
10086 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10087 $as_echo_n "(cached) " >&6
10091 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10094 lt_save_MAGIC_CMD
=$MAGIC_CMD
10095 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10096 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10097 for ac_dir
in $ac_dummy; do
10099 test -z "$ac_dir" && ac_dir
=.
10100 if test -f "$ac_dir/file"; then
10101 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
10102 if test -n "$file_magic_test_file"; then
10103 case $deplibs_check_method in
10105 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10106 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10107 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10108 $EGREP "$file_magic_regex" > /dev
/null
; then
10113 *** Warning: the command libtool uses to detect shared libraries,
10114 *** $file_magic_cmd, produces output that libtool cannot recognize.
10115 *** The result is that libtool may fail to recognize shared libraries
10116 *** as such. This will affect the creation of libtool libraries that
10117 *** depend on shared libraries, but programs linked with such libtool
10118 *** libraries will work regardless of this problem. Nevertheless, you
10119 *** may want to report the problem to your system manager and/or to
10120 *** bug-libtool@gnu.org
10130 MAGIC_CMD
=$lt_save_MAGIC_CMD
10135 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10136 if test -n "$MAGIC_CMD"; then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10138 $as_echo "$MAGIC_CMD" >&6; }
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10141 $as_echo "no" >&6; }
10154 # Use C for the default configuration in the libtool script
10158 ac_cpp
='$CPP $CPPFLAGS'
10159 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10160 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10161 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10164 # Source file extension for C test sources.
10167 # Object file extension for compiled C test sources.
10171 # Code to be used in simple compile tests
10172 lt_simple_compile_test_code
="int some_variable = 0;"
10174 # Code to be used in simple link tests
10175 lt_simple_link_test_code
='int main(){return(0);}'
10183 # If no C compiler was specified, use CC.
10186 # If no C compiler flags were specified, use CFLAGS.
10187 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10189 # Allow CC to be a program name with arguments.
10192 # Save the default compiler, since it gets overwritten when the other
10193 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10194 compiler_DEFAULT
=$CC
10196 # save warnings/boilerplate of simple test code
10197 ac_outfile
=conftest.
$ac_objext
10198 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10199 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10200 _lt_compiler_boilerplate
=`cat conftest.err`
10203 ac_outfile
=conftest.
$ac_objext
10204 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10205 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10206 _lt_linker_boilerplate
=`cat conftest.err`
10211 ## There is no encapsulation within the following macros, do not change
10212 ## the running order or otherwise move them around unless you know exactly
10213 ## what you are doing...
10214 if test -n "$compiler"; then
10216 lt_prog_compiler_no_builtin_flag
=
10218 if test yes = "$GCC"; then
10219 case $cc_basename in
10221 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10223 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10227 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10228 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
10229 $as_echo_n "(cached) " >&6
10231 lt_cv_prog_compiler_rtti_exceptions
=no
10232 ac_outfile
=conftest.
$ac_objext
10233 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10234 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10235 # Insert the option either (1) after the last *FLAGS variable, or
10236 # (2) before a word containing "conftest.", or (3) at the end.
10237 # Note that $ac_compile itself does not contain backslashes and begins
10238 # with a dollar sign (not a hyphen), so the echo should work correctly.
10239 # The option is referenced via a variable to avoid confusing sed.
10240 lt_compile
=`echo "$ac_compile" | $SED \
10241 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10242 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10243 -e 's:$: $lt_compiler_flag:'`
10244 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10245 (eval "$lt_compile" 2>conftest.err
)
10247 cat conftest.err
>&5
10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249 if (exit $ac_status) && test -s "$ac_outfile"; then
10250 # The compiler can only warn and ignore the option if not recognized
10251 # So say no if there are warnings other than the usual output.
10252 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10253 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10254 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10255 lt_cv_prog_compiler_rtti_exceptions
=yes
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10262 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10264 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10265 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10277 lt_prog_compiler_wl
=
10278 lt_prog_compiler_pic
=
10279 lt_prog_compiler_static
=
10282 if test yes = "$GCC"; then
10283 lt_prog_compiler_wl
='-Wl,'
10284 lt_prog_compiler_static
='-static'
10288 # All AIX code is PIC.
10289 if test ia64
= "$host_cpu"; then
10290 # AIX 5 now supports IA64 processor
10291 lt_prog_compiler_static
='-Bstatic'
10293 lt_prog_compiler_pic
='-fPIC'
10299 # see comment about AmigaOS4 .so support
10300 lt_prog_compiler_pic
='-fPIC'
10303 # FIXME: we need at least 68020 code to build shared libraries, but
10304 # adding the '-m68020' flag to GCC prevents building anything better,
10306 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10311 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10312 # PIC is the default for these OSes.
10315 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10316 # This hack is so that the source file can tell whether it is being
10317 # built for inclusion in a dll (and should export symbols for example).
10318 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10319 # (--disable-auto-import) libraries
10320 lt_prog_compiler_pic
='-DDLL_EXPORT'
10323 lt_prog_compiler_static
='$wl-static'
10328 darwin
* | rhapsody
*)
10329 # PIC is the default on this platform
10330 # Common symbols not allowed in MH_DYLIB files
10331 lt_prog_compiler_pic
='-fno-common'
10335 # PIC is the default for Haiku.
10336 # The "-static" flag exists, but is broken.
10337 lt_prog_compiler_static
=
10341 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10342 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10343 # sets the default TLS model and affects inlining.
10349 lt_prog_compiler_pic
='-fPIC'
10355 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10356 # Instead, we relocate shared libraries at runtime.
10360 # Just because we use GCC doesn't mean we suddenly get shared libraries
10361 # on systems that don't support them.
10362 lt_prog_compiler_can_build_shared
=no
10367 # QNX uses GNU C++, but need to define -shared option too, otherwise
10368 # it will coredump.
10369 lt_prog_compiler_pic
='-fPIC -shared'
10373 if test -d /usr
/nec
; then
10374 lt_prog_compiler_pic
=-Kconform_pic
10379 lt_prog_compiler_pic
='-fPIC'
10383 case $cc_basename in
10384 nvcc
*) # Cuda Compiler Driver 2.2
10385 lt_prog_compiler_wl
='-Xlinker '
10386 if test -n "$lt_prog_compiler_pic"; then
10387 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
10392 # PORTME Check for flag to pass linker flags through the system compiler.
10395 lt_prog_compiler_wl
='-Wl,'
10396 if test ia64
= "$host_cpu"; then
10397 # AIX 5 now supports IA64 processor
10398 lt_prog_compiler_static
='-Bstatic'
10400 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10404 darwin
* | rhapsody
*)
10405 # PIC is the default on this platform
10406 # Common symbols not allowed in MH_DYLIB files
10407 lt_prog_compiler_pic
='-fno-common'
10408 case $cc_basename in
10410 # NAG Fortran compiler
10411 lt_prog_compiler_wl
='-Wl,-Wl,,'
10412 lt_prog_compiler_pic
='-PIC'
10413 lt_prog_compiler_static
='-Bstatic'
10418 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10419 # This hack is so that the source file can tell whether it is being
10420 # built for inclusion in a dll (and should export symbols for example).
10421 lt_prog_compiler_pic
='-DDLL_EXPORT'
10424 lt_prog_compiler_static
='$wl-static'
10429 hpux9
* | hpux10
* | hpux11
*)
10430 lt_prog_compiler_wl
='-Wl,'
10431 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10432 # not for PA HP-UX.
10438 lt_prog_compiler_pic
='+Z'
10441 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10442 lt_prog_compiler_static
='$wl-a ${wl}archive'
10445 irix5
* | irix6
* | nonstopux
*)
10446 lt_prog_compiler_wl
='-Wl,'
10447 # PIC (with -KPIC) is the default.
10448 lt_prog_compiler_static
='-non_shared'
10451 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10452 case $cc_basename in
10453 # old Intel for x86_64, which still supported -KPIC.
10455 lt_prog_compiler_wl
='-Wl,'
10456 lt_prog_compiler_pic
='-KPIC'
10457 lt_prog_compiler_static
='-static'
10459 # icc used to be incompatible with GCC.
10460 # ICC 10 doesn't accept -KPIC any more.
10462 lt_prog_compiler_wl
='-Wl,'
10463 lt_prog_compiler_pic
='-fPIC'
10464 lt_prog_compiler_static
='-static'
10466 # Lahey Fortran 8.1.
10468 lt_prog_compiler_wl
='-Wl,'
10469 lt_prog_compiler_pic
='--shared'
10470 lt_prog_compiler_static
='--static'
10473 # NAG Fortran compiler
10474 lt_prog_compiler_wl
='-Wl,-Wl,,'
10475 lt_prog_compiler_pic
='-PIC'
10476 lt_prog_compiler_static
='-Bstatic'
10479 # Fabrice Bellard et al's Tiny C Compiler
10480 lt_prog_compiler_wl
='-Wl,'
10481 lt_prog_compiler_pic
='-fPIC'
10482 lt_prog_compiler_static
='-static'
10484 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10485 # Portland Group compilers (*not* the Pentium gcc compiler,
10486 # which looks to be a dead project)
10487 lt_prog_compiler_wl
='-Wl,'
10488 lt_prog_compiler_pic
='-fpic'
10489 lt_prog_compiler_static
='-Bstatic'
10492 lt_prog_compiler_wl
='-Wl,'
10493 # All Alpha code is PIC.
10494 lt_prog_compiler_static
='-non_shared'
10496 xl
* | bgxl
* | bgf
* | mpixl
*)
10497 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10498 lt_prog_compiler_wl
='-Wl,'
10499 lt_prog_compiler_pic
='-qpic'
10500 lt_prog_compiler_static
='-qstaticlink'
10503 case `$CC -V 2>&1 | sed 5q` in
10504 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
10505 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10506 lt_prog_compiler_pic
='-KPIC'
10507 lt_prog_compiler_static
='-Bstatic'
10508 lt_prog_compiler_wl
=''
10510 *Sun\ F
* |
*Sun
*Fortran
*)
10511 lt_prog_compiler_pic
='-KPIC'
10512 lt_prog_compiler_static
='-Bstatic'
10513 lt_prog_compiler_wl
='-Qoption ld '
10517 lt_prog_compiler_pic
='-KPIC'
10518 lt_prog_compiler_static
='-Bstatic'
10519 lt_prog_compiler_wl
='-Wl,'
10521 *Intel
*\
[CF
]*Compiler
*)
10522 lt_prog_compiler_wl
='-Wl,'
10523 lt_prog_compiler_pic
='-fPIC'
10524 lt_prog_compiler_static
='-static'
10527 lt_prog_compiler_wl
='-Wl,'
10528 lt_prog_compiler_pic
='-fpic'
10529 lt_prog_compiler_static
='-Bstatic'
10537 lt_prog_compiler_pic
='-KPIC'
10538 lt_prog_compiler_static
='-Bstatic'
10542 # QNX uses GNU C++, but need to define -shared option too, otherwise
10543 # it will coredump.
10544 lt_prog_compiler_pic
='-fPIC -shared'
10547 osf3
* | osf4
* | osf5
*)
10548 lt_prog_compiler_wl
='-Wl,'
10549 # All OSF/1 code is PIC.
10550 lt_prog_compiler_static
='-non_shared'
10554 lt_prog_compiler_static
='-non_shared'
10558 lt_prog_compiler_pic
='-KPIC'
10559 lt_prog_compiler_static
='-Bstatic'
10560 case $cc_basename in
10561 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10562 lt_prog_compiler_wl
='-Qoption ld ';;
10564 lt_prog_compiler_wl
='-Wl,';;
10569 lt_prog_compiler_wl
='-Qoption ld '
10570 lt_prog_compiler_pic
='-PIC'
10571 lt_prog_compiler_static
='-Bstatic'
10574 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10575 lt_prog_compiler_wl
='-Wl,'
10576 lt_prog_compiler_pic
='-KPIC'
10577 lt_prog_compiler_static
='-Bstatic'
10581 if test -d /usr
/nec
; then
10582 lt_prog_compiler_pic
='-Kconform_pic'
10583 lt_prog_compiler_static
='-Bstatic'
10587 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10588 lt_prog_compiler_wl
='-Wl,'
10589 lt_prog_compiler_pic
='-KPIC'
10590 lt_prog_compiler_static
='-Bstatic'
10594 lt_prog_compiler_wl
='-Wl,'
10595 lt_prog_compiler_can_build_shared
=no
10599 lt_prog_compiler_pic
='-pic'
10600 lt_prog_compiler_static
='-Bstatic'
10604 lt_prog_compiler_can_build_shared
=no
10610 # For platforms that do not support PIC, -DPIC is meaningless:
10612 lt_prog_compiler_pic
=
10615 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10620 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10621 if ${lt_cv_prog_compiler_pic+:} false
; then :
10622 $as_echo_n "(cached) " >&6
10624 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10627 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10628 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10631 # Check to make sure the PIC flag actually works.
10633 if test -n "$lt_prog_compiler_pic"; then
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10635 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10636 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10637 $as_echo_n "(cached) " >&6
10639 lt_cv_prog_compiler_pic_works
=no
10640 ac_outfile
=conftest.
$ac_objext
10641 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10642 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10643 # Insert the option either (1) after the last *FLAGS variable, or
10644 # (2) before a word containing "conftest.", or (3) at the end.
10645 # Note that $ac_compile itself does not contain backslashes and begins
10646 # with a dollar sign (not a hyphen), so the echo should work correctly.
10647 # The option is referenced via a variable to avoid confusing sed.
10648 lt_compile
=`echo "$ac_compile" | $SED \
10649 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10650 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10651 -e 's:$: $lt_compiler_flag:'`
10652 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10653 (eval "$lt_compile" 2>conftest.err
)
10655 cat conftest.err
>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 if (exit $ac_status) && test -s "$ac_outfile"; then
10658 # The compiler can only warn and ignore the option if not recognized
10659 # So say no if there are warnings other than the usual output.
10660 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10661 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10662 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10663 lt_cv_prog_compiler_pic_works
=yes
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10670 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10672 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10673 case $lt_prog_compiler_pic in
10675 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10678 lt_prog_compiler_pic
=
10679 lt_prog_compiler_can_build_shared
=no
10695 # Check to make sure the static flag actually works.
10697 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10699 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10700 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10701 $as_echo_n "(cached) " >&6
10703 lt_cv_prog_compiler_static_works
=no
10704 save_LDFLAGS
=$LDFLAGS
10705 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10706 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10707 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10708 # The linker can only warn and ignore the option if not recognized
10709 # So say no if there are warnings
10710 if test -s conftest.err
; then
10711 # Append any errors to the config.log.
10712 cat conftest.err
1>&5
10713 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10714 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10715 if diff conftest.exp conftest.er2
>/dev
/null
; then
10716 lt_cv_prog_compiler_static_works
=yes
10719 lt_cv_prog_compiler_static_works
=yes
10723 LDFLAGS
=$save_LDFLAGS
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10727 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10729 if test yes = "$lt_cv_prog_compiler_static_works"; then
10732 lt_prog_compiler_static
=
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10742 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10743 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10744 $as_echo_n "(cached) " >&6
10746 lt_cv_prog_compiler_c_o
=no
10747 $RM -r conftest
2>/dev
/null
10751 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10753 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10754 # Insert the option either (1) after the last *FLAGS variable, or
10755 # (2) before a word containing "conftest.", or (3) at the end.
10756 # Note that $ac_compile itself does not contain backslashes and begins
10757 # with a dollar sign (not a hyphen), so the echo should work correctly.
10758 lt_compile
=`echo "$ac_compile" | $SED \
10759 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10760 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10761 -e 's:$: $lt_compiler_flag:'`
10762 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10763 (eval "$lt_compile" 2>out
/conftest.err
)
10765 cat out
/conftest.err
>&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10769 # The compiler can only warn and ignore the option if not recognized
10770 # So say no if there are warnings
10771 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10772 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10773 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10774 lt_cv_prog_compiler_c_o
=yes
10779 # SGI C++ compiler will create directory out/ii_files/ for
10780 # template instantiation
10781 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10782 $RM out
/* && rmdir out
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10789 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10797 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10798 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10799 $as_echo_n "(cached) " >&6
10801 lt_cv_prog_compiler_c_o
=no
10802 $RM -r conftest
2>/dev
/null
10806 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10808 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10809 # Insert the option either (1) after the last *FLAGS variable, or
10810 # (2) before a word containing "conftest.", or (3) at the end.
10811 # Note that $ac_compile itself does not contain backslashes and begins
10812 # with a dollar sign (not a hyphen), so the echo should work correctly.
10813 lt_compile
=`echo "$ac_compile" | $SED \
10814 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10815 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10816 -e 's:$: $lt_compiler_flag:'`
10817 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10818 (eval "$lt_compile" 2>out
/conftest.err
)
10820 cat out
/conftest.err
>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10824 # The compiler can only warn and ignore the option if not recognized
10825 # So say no if there are warnings
10826 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10827 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10828 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10829 lt_cv_prog_compiler_c_o
=yes
10834 # SGI C++ compiler will create directory out/ii_files/ for
10835 # template instantiation
10836 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10837 $RM out
/* && rmdir out
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10844 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10849 hard_links
=nottested
10850 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10851 # do not overwrite the value of need_locks provided by the user
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10853 $as_echo_n "checking if we can lock with hard links... " >&6; }
10856 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10858 ln conftest.a conftest.b
2>&5 || hard_links
=no
10859 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10861 $as_echo "$hard_links" >&6; }
10862 if test no
= "$hard_links"; then
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10864 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10877 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10880 allow_undefined_flag
=
10881 always_export_symbols
=no
10883 archive_expsym_cmds
=
10884 compiler_needs_object
=no
10885 enable_shared_with_static_runtimes
=no
10886 export_dynamic_flag_spec
=
10887 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10888 hardcode_automatic
=no
10890 hardcode_direct_absolute
=no
10891 hardcode_libdir_flag_spec
=
10892 hardcode_libdir_separator
=
10893 hardcode_minus_L
=no
10894 hardcode_shlibpath_var
=unsupported
10896 link_all_deplibs
=unknown
10898 module_expsym_cmds
=
10899 old_archive_from_new_cmds
=
10900 old_archive_from_expsyms_cmds
=
10901 thread_safe_flag_spec
=
10902 whole_archive_flag_spec
=
10903 # include_expsyms should be a list of space-separated symbols to be *always*
10904 # included in the symbol list
10906 # exclude_expsyms can be an extended regexp of symbols to exclude
10907 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10908 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10909 # as well as any symbol that contains 'd'.
10910 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10911 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10912 # platforms (ab)use it in PIC code, but their linkers get confused if
10913 # the symbol is explicitly referenced. Since portable code cannot
10914 # rely on this symbol name, it's probably fine to never include it in
10915 # preloaded symbol tables.
10916 # Exclude shared library initialization/finalization symbols.
10917 extract_expsyms_cmds
=
10920 cygwin
* | mingw
* | pw32
* | cegcc
*)
10921 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10922 # When not using gcc, we currently assume that we are using
10923 # Microsoft Visual C++.
10924 if test yes != "$GCC"; then
10929 # we just hope/assume this is gcc and not c89 (= MSVC++)
10932 openbsd
* | bitrig
*)
10939 # On some targets, GNU ld is compatible enough with the native linker
10940 # that we're better off using the native interface for both.
10941 lt_use_gnu_ld_interface
=no
10942 if test yes = "$with_gnu_ld"; then
10945 # The AIX port of GNU ld has always aspired to compatibility
10946 # with the native linker. However, as the warning in the GNU ld
10947 # block says, versions before 2.19.5* couldn't really create working
10948 # shared libraries, regardless of the interface used.
10949 case `$LD -v 2>&1` in
10950 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10951 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10952 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10954 lt_use_gnu_ld_interface
=yes
10959 lt_use_gnu_ld_interface
=yes
10964 if test yes = "$lt_use_gnu_ld_interface"; then
10965 # If archive_cmds runs LD, not CC, wlarc should be empty
10968 # Set some defaults for GNU ld with shared library support. These
10969 # are reset later if shared libraries are not supported. Putting them
10970 # here allows them to be overridden if necessary.
10971 runpath_var
=LD_RUN_PATH
10972 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10973 export_dynamic_flag_spec
='$wl--export-dynamic'
10974 # ancient GNU ld didn't support --whole-archive et. al.
10975 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10976 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10978 whole_archive_flag_spec
=
10980 supports_anon_versioning
=no
10981 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10982 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10983 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10984 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10985 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10986 *\
2.11.
*) ;; # other 2.11 versions
10987 *) supports_anon_versioning
=yes ;;
10990 # See if GNU ld supports shared libraries.
10993 # On AIX/PPC, the GNU linker is very broken
10994 if test ia64
!= "$host_cpu"; then
10998 *** Warning: the GNU linker, at least up to release 2.19, is reported
10999 *** to be unable to reliably create shared libraries on AIX.
11000 *** Therefore, libtool is disabling shared libraries support. If you
11001 *** really care for shared libraries, you may want to install binutils
11002 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11003 *** You will then need to restart the configuration process.
11012 # see comment about AmigaOS4 .so support
11013 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11014 archive_expsym_cmds
=''
11017 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)'
11018 hardcode_libdir_flag_spec
='-L$libdir'
11019 hardcode_minus_L
=yes
11025 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11026 allow_undefined_flag
=unsupported
11027 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11028 # support --undefined. This deserves some investigation. FIXME
11029 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11035 cygwin
* | mingw
* | pw32
* | cegcc
*)
11036 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11037 # as there is no search path for DLLs.
11038 hardcode_libdir_flag_spec
='-L$libdir'
11039 export_dynamic_flag_spec
='$wl--export-all-symbols'
11040 allow_undefined_flag
=unsupported
11041 always_export_symbols
=no
11042 enable_shared_with_static_runtimes
=yes
11043 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'
11044 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11046 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11047 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11048 # If the export-symbols file already is a .def file, use it as
11049 # is; otherwise, prepend EXPORTS...
11050 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11051 cp $export_symbols $output_objdir/$soname.def;
11053 echo EXPORTS > $output_objdir/$soname.def;
11054 cat $export_symbols >> $output_objdir/$soname.def;
11056 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11063 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11064 link_all_deplibs
=yes
11068 hardcode_libdir_flag_spec
='-L$libdir'
11069 hardcode_minus_L
=yes
11070 allow_undefined_flag
=unsupported
11072 archive_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 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11077 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11078 emximp -o $lib $output_objdir/$libname.def'
11079 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11080 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11081 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11082 $ECHO EXPORTS >> $output_objdir/$libname.def~
11083 prefix_cmds="$SED"~
11084 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11085 prefix_cmds="$prefix_cmds -e 1d";
11087 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11088 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11089 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11090 emximp -o $lib $output_objdir/$libname.def'
11091 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11092 enable_shared_with_static_runtimes
=yes
11097 hardcode_shlibpath_var
=no
11098 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11099 export_dynamic_flag_spec
='$wl-E'
11100 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11101 # Instead, shared libraries are loaded at an image base (0x10000000 by
11102 # default) and relocated if they conflict, which is a slow very memory
11103 # consuming and fragmenting process. To avoid this, we pick a random,
11104 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11105 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11106 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11107 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'
11110 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11112 if test linux-dietlibc
= "$host_os"; then
11113 case $cc_basename in
11114 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11117 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11118 && test no
= "$tmp_diet"
11120 tmp_addflag
=' $pic_flag'
11121 tmp_sharedflag
='-shared'
11122 case $cc_basename,$host_cpu in
11123 pgcc
*) # Portland Group C compiler
11124 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'
11125 tmp_addflag
=' $pic_flag'
11127 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11128 # Portland Group f77 and f90 compilers
11129 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'
11130 tmp_addflag
=' $pic_flag -Mnomain' ;;
11131 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11132 tmp_addflag
=' -i_dynamic' ;;
11133 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11134 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11135 ifc
* | ifort
*) # Intel Fortran compiler
11136 tmp_addflag
=' -nofor_main' ;;
11137 lf95
*) # Lahey Fortran 8.1
11138 whole_archive_flag_spec
=
11139 tmp_sharedflag
='--shared' ;;
11140 nagfor
*) # NAGFOR 5.3
11141 tmp_sharedflag
='-Wl,-shared' ;;
11142 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11143 tmp_sharedflag
='-qmkshrobj'
11145 nvcc
*) # Cuda Compiler Driver 2.2
11146 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'
11147 compiler_needs_object
=yes
11150 case `$CC -V 2>&1 | sed 5q` in
11151 *Sun\ C
*) # Sun C 5.9
11152 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'
11153 compiler_needs_object
=yes
11154 tmp_sharedflag
='-G' ;;
11155 *Sun\ F
*) # Sun Fortran 8.3
11156 tmp_sharedflag
='-G' ;;
11158 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11160 if test yes = "$supports_anon_versioning"; then
11161 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11162 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11163 echo "local: *; };" >> $output_objdir/$libname.ver~
11164 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11167 case $cc_basename in
11169 export_dynamic_flag_spec
='-rdynamic'
11171 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11172 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11173 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11174 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11175 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11176 if test yes = "$supports_anon_versioning"; then
11177 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11178 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11179 echo "local: *; };" >> $output_objdir/$libname.ver~
11180 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11190 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11191 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11194 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11195 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11200 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11204 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11205 *** create shared libraries on Solaris systems. Therefore, libtool
11206 *** is disabling shared libraries support. We urge you to upgrade GNU
11207 *** binutils to release 2.9.1 or newer. Another option is to modify
11208 *** your PATH or compiler configuration so that the native linker is
11209 *** used, and then restart.
11212 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11213 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11214 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11220 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11221 case `$LD -v 2>&1` in
11222 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11226 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11227 *** reliably create shared libraries on SCO systems. Therefore, libtool
11228 *** is disabling shared libraries support. We urge you to upgrade GNU
11229 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11230 *** your PATH or compiler configuration so that the native linker is
11231 *** used, and then restart.
11236 # For security reasons, it is highly recommended that you always
11237 # use absolute paths for naming shared libraries, and exclude the
11238 # DT_RUNPATH tag from executables and libraries. But doing so
11239 # requires that you compile everything twice, which is a pain.
11240 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11241 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11242 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11243 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11252 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11254 hardcode_direct
=yes
11255 hardcode_shlibpath_var
=no
11259 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11260 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11261 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11268 if test no
= "$ld_shlibs"; then
11270 hardcode_libdir_flag_spec
=
11271 export_dynamic_flag_spec
=
11272 whole_archive_flag_spec
=
11275 # PORTME fill in a description of your system's linker (not GNU ld)
11278 allow_undefined_flag
=unsupported
11279 always_export_symbols
=yes
11280 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'
11281 # Note: this linker hardcodes the directories in LIBPATH if there
11282 # are no directories specified by -L.
11283 hardcode_minus_L
=yes
11284 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11285 # Neither direct hardcoding nor static linking is supported with a
11287 hardcode_direct
=unsupported
11292 if test ia64
= "$host_cpu"; then
11293 # On IA64, the linker does run time linking by default, so we don't
11294 # have to do anything special.
11295 aix_use_runtimelinking
=no
11296 exp_sym_flag
='-Bexport'
11299 # If we're using GNU nm, then we don't want the "-C" option.
11300 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11301 # Without the "-l" option, or with the "-B" option, AIX nm treats
11302 # weak defined symbols like other global defined symbols, whereas
11303 # GNU nm marks them as "W".
11304 # While the 'weak' keyword is ignored in the Export File, we need
11305 # it in the Import File for the 'aix-soname' feature, so we have
11306 # to replace the "-B" option with "-P" for AIX nm.
11307 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11308 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'
11310 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'
11312 aix_use_runtimelinking
=no
11314 # Test if we are trying to use run time linking or normal
11315 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11316 # have runtime linking enabled, and use it for executables.
11317 # For shared libraries, we enable/disable runtime linking
11318 # depending on the kind of the shared library created -
11319 # when "with_aix_soname,aix_use_runtimelinking" is:
11320 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11321 # "aix,yes" lib.so shared, rtl:yes, for executables
11322 # lib.a static archive
11323 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11324 # lib.a(lib.so.V) shared, rtl:no, for executables
11325 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11326 # lib.a(lib.so.V) shared, rtl:no
11327 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11328 # lib.a static archive
11329 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11330 for ld_flag
in $LDFLAGS; do
11331 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
11332 aix_use_runtimelinking
=yes
11336 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
11337 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11338 # so we don't have lib.a shared libs to link our executables.
11339 # We have to force runtime linking in this case.
11340 aix_use_runtimelinking
=yes
11341 LDFLAGS
="$LDFLAGS -Wl,-brtl"
11346 exp_sym_flag
='-bexport'
11347 no_entry_flag
='-bnoentry'
11350 # When large executables or shared objects are built, AIX ld can
11351 # have problems creating the table of contents. If linking a library
11352 # or program results in "error TOC overflow" add -mminimal-toc to
11353 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11354 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11357 hardcode_direct
=yes
11358 hardcode_direct_absolute
=yes
11359 hardcode_libdir_separator
=':'
11360 link_all_deplibs
=yes
11361 file_list_spec
='$wl-f,'
11362 case $with_aix_soname,$aix_use_runtimelinking in
11363 aix
,*) ;; # traditional, no import file
11364 svr4
,* |
*,yes) # use import file
11365 # The Import File defines what to hardcode.
11367 hardcode_direct_absolute
=no
11371 if test yes = "$GCC"; then
11372 case $host_os in aix4.
[012]|aix4.
[012].
*)
11373 # We only want to do this on AIX 4.2 and lower, the check
11374 # below for broken collect2 doesn't work under 4.3+
11375 collect2name
=`$CC -print-prog-name=collect2`
11376 if test -f "$collect2name" &&
11377 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11379 # We have reworked collect2
11382 # We have old collect2
11383 hardcode_direct
=unsupported
11384 # It fails to find uninstalled libraries when the uninstalled
11385 # path is not listed in the libpath. Setting hardcode_minus_L
11386 # to unsupported forces relinking
11387 hardcode_minus_L
=yes
11388 hardcode_libdir_flag_spec
='-L$libdir'
11389 hardcode_libdir_separator
=
11393 shared_flag
='-shared'
11394 if test yes = "$aix_use_runtimelinking"; then
11395 shared_flag
="$shared_flag "'$wl-G'
11397 # Need to ensure runtime linking is disabled for the traditional
11398 # shared library, or the linker may eventually find shared libraries
11399 # /with/ Import File - we do not want to mix them.
11400 shared_flag_aix
='-shared'
11401 shared_flag_svr4
='-shared $wl-G'
11404 if test ia64
= "$host_cpu"; then
11405 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11406 # chokes on -Wl,-G. The following line is correct:
11409 if test yes = "$aix_use_runtimelinking"; then
11410 shared_flag
='$wl-G'
11412 shared_flag
='$wl-bM:SRE'
11414 shared_flag_aix
='$wl-bM:SRE'
11415 shared_flag_svr4
='$wl-G'
11419 export_dynamic_flag_spec
='$wl-bexpall'
11420 # It seems that -bexpall does not export symbols beginning with
11421 # underscore (_), so it is better to generate a list of symbols to export.
11422 always_export_symbols
=yes
11423 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11424 # Warning - without using the other runtime loading flags (-brtl),
11425 # -berok will link without error, but may produce a broken library.
11426 allow_undefined_flag
='-berok'
11427 # Determine the default libpath from the value encoded in an
11428 # empty executable.
11429 if test set = "${lt_cv_aix_libpath+set}"; then
11430 aix_libpath
=$lt_cv_aix_libpath
11432 if ${lt_cv_aix_libpath_+:} false
; then :
11433 $as_echo_n "(cached) " >&6
11435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11446 if ac_fn_c_try_link
"$LINENO"; then :
11448 lt_aix_libpath_sed
='
11449 /Import File Strings/,/^$/ {
11451 s/^0 *\([^ ]*\) *$/\1/
11455 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11456 # Check for a 64-bit object if we didn't find anything.
11457 if test -z "$lt_cv_aix_libpath_"; then
11458 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11461 rm -f core conftest.err conftest.
$ac_objext \
11462 conftest
$ac_exeext conftest.
$ac_ext
11463 if test -z "$lt_cv_aix_libpath_"; then
11464 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11469 aix_libpath
=$lt_cv_aix_libpath_
11472 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11473 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
11475 if test ia64
= "$host_cpu"; then
11476 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
11477 allow_undefined_flag
="-z nodefs"
11478 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"
11480 # Determine the default libpath from the value encoded in an
11481 # empty executable.
11482 if test set = "${lt_cv_aix_libpath+set}"; then
11483 aix_libpath
=$lt_cv_aix_libpath
11485 if ${lt_cv_aix_libpath_+:} false
; then :
11486 $as_echo_n "(cached) " >&6
11488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11499 if ac_fn_c_try_link
"$LINENO"; then :
11501 lt_aix_libpath_sed
='
11502 /Import File Strings/,/^$/ {
11504 s/^0 *\([^ ]*\) *$/\1/
11508 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11509 # Check for a 64-bit object if we didn't find anything.
11510 if test -z "$lt_cv_aix_libpath_"; then
11511 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11514 rm -f core conftest.err conftest.
$ac_objext \
11515 conftest
$ac_exeext conftest.
$ac_ext
11516 if test -z "$lt_cv_aix_libpath_"; then
11517 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11522 aix_libpath
=$lt_cv_aix_libpath_
11525 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11526 # Warning - without using the other run time loading flags,
11527 # -berok will link without error, but may produce a broken library.
11528 no_undefined_flag
=' $wl-bernotok'
11529 allow_undefined_flag
=' $wl-berok'
11530 if test yes = "$with_gnu_ld"; then
11531 # We only use this code for GNU lds that support --whole-archive.
11532 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11534 # Exported symbols can be pulled into shared objects from archives
11535 whole_archive_flag_spec
='$convenience'
11537 archive_cmds_need_lc
=yes
11538 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11539 # -brtl affects multiple linker settings, -berok does not and is overridden later
11540 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11541 if test svr4
!= "$with_aix_soname"; then
11542 # This is similar to how AIX traditionally builds its shared libraries.
11543 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'
11545 if test aix
!= "$with_aix_soname"; then
11546 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'
11548 # used by -dlpreopen to get the symbols
11549 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11551 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11559 # see comment about AmigaOS4 .so support
11560 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11561 archive_expsym_cmds
=''
11564 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)'
11565 hardcode_libdir_flag_spec
='-L$libdir'
11566 hardcode_minus_L
=yes
11572 export_dynamic_flag_spec
=-rdynamic
11575 cygwin
* | mingw
* | pw32
* | cegcc
*)
11576 # When not using gcc, we currently assume that we are using
11577 # Microsoft Visual C++.
11578 # hardcode_libdir_flag_spec is actually meaningless, as there is
11579 # no search path for DLLs.
11580 case $cc_basename in
11583 hardcode_libdir_flag_spec
=' '
11584 allow_undefined_flag
=unsupported
11585 always_export_symbols
=yes
11587 # Tell ltmain to make .lib files, not .a files.
11589 # Tell ltmain to make .dll files, not .so files.
11591 # FIXME: Setting linknames here is a bad hack.
11592 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11593 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11594 cp "$export_symbols" "$output_objdir/$soname.def";
11595 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11597 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11599 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11601 # The linker will not automatically build a static lib if we build a DLL.
11602 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11603 enable_shared_with_static_runtimes
=yes
11604 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11605 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11607 old_postinstall_cmds
='chmod 644 $oldlib'
11608 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11609 lt_tool_outputfile="@TOOL_OUTPUT@"~
11610 case $lt_outputfile in
11613 lt_outputfile=$lt_outputfile.exe
11614 lt_tool_outputfile=$lt_tool_outputfile.exe
11617 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11618 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11619 $RM "$lt_outputfile.manifest";
11623 # Assume MSVC wrapper
11624 hardcode_libdir_flag_spec
=' '
11625 allow_undefined_flag
=unsupported
11626 # Tell ltmain to make .lib files, not .a files.
11628 # Tell ltmain to make .dll files, not .so files.
11630 # FIXME: Setting linknames here is a bad hack.
11631 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11632 # The linker will automatically build a .lib file if we build a DLL.
11633 old_archive_from_new_cmds
='true'
11634 # FIXME: Should let the user specify the lib program.
11635 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11636 enable_shared_with_static_runtimes
=yes
11641 darwin
* | rhapsody
*)
11644 archive_cmds_need_lc
=no
11646 hardcode_automatic
=yes
11647 hardcode_shlibpath_var
=unsupported
11648 if test yes = "$lt_cv_ld_force_load"; then
11649 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\"`'
11652 whole_archive_flag_spec
=''
11654 link_all_deplibs
=yes
11655 allow_undefined_flag
=$_lt_dar_allow_undefined
11656 case $cc_basename in
11657 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11658 *) _lt_dar_can_shared
=$GCC ;;
11660 if test yes = "$_lt_dar_can_shared"; then
11661 output_verbose_link_cmd
=func_echo_all
11662 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11663 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11664 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"
11665 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"
11674 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11675 hardcode_libdir_flag_spec
='-L$libdir'
11676 hardcode_shlibpath_var
=no
11679 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11680 # support. Future versions do this automatically, but an explicit c++rt0.o
11681 # does not break anything, and helps significantly (at the cost of a little
11684 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11685 hardcode_libdir_flag_spec
='-R$libdir'
11686 hardcode_direct
=yes
11687 hardcode_shlibpath_var
=no
11690 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11692 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11693 hardcode_direct
=yes
11694 hardcode_minus_L
=yes
11695 hardcode_shlibpath_var
=no
11698 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11699 freebsd
* | dragonfly
*)
11700 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11701 hardcode_libdir_flag_spec
='-R$libdir'
11702 hardcode_direct
=yes
11703 hardcode_shlibpath_var
=no
11707 if test yes = "$GCC"; then
11708 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'
11710 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'
11712 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11713 hardcode_libdir_separator
=:
11714 hardcode_direct
=yes
11716 # hardcode_minus_L: Not really in the search PATH,
11717 # but as the default location of the library.
11718 hardcode_minus_L
=yes
11719 export_dynamic_flag_spec
='$wl-E'
11723 if test yes,no
= "$GCC,$with_gnu_ld"; then
11724 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11726 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11728 if test no
= "$with_gnu_ld"; then
11729 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11730 hardcode_libdir_separator
=:
11731 hardcode_direct
=yes
11732 hardcode_direct_absolute
=yes
11733 export_dynamic_flag_spec
='$wl-E'
11734 # hardcode_minus_L: Not really in the search PATH,
11735 # but as the default location of the library.
11736 hardcode_minus_L
=yes
11741 if test yes,no
= "$GCC,$with_gnu_ld"; then
11744 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11747 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11750 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11756 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11759 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11763 # Older versions of the 11.00 compiler do not understand -b yet
11764 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11766 $as_echo_n "checking if $CC understands -b... " >&6; }
11767 if ${lt_cv_prog_compiler__b+:} false
; then :
11768 $as_echo_n "(cached) " >&6
11770 lt_cv_prog_compiler__b
=no
11771 save_LDFLAGS
=$LDFLAGS
11772 LDFLAGS
="$LDFLAGS -b"
11773 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11774 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11775 # The linker can only warn and ignore the option if not recognized
11776 # So say no if there are warnings
11777 if test -s conftest.err
; then
11778 # Append any errors to the config.log.
11779 cat conftest.err
1>&5
11780 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11781 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11782 if diff conftest.exp conftest.er2
>/dev
/null
; then
11783 lt_cv_prog_compiler__b
=yes
11786 lt_cv_prog_compiler__b
=yes
11790 LDFLAGS
=$save_LDFLAGS
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11794 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11796 if test yes = "$lt_cv_prog_compiler__b"; then
11797 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11799 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11805 if test no
= "$with_gnu_ld"; then
11806 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11807 hardcode_libdir_separator
=:
11812 hardcode_shlibpath_var
=no
11815 hardcode_direct
=yes
11816 hardcode_direct_absolute
=yes
11817 export_dynamic_flag_spec
='$wl-E'
11819 # hardcode_minus_L: Not really in the search PATH,
11820 # but as the default location of the library.
11821 hardcode_minus_L
=yes
11827 irix5
* | irix6
* | nonstopux
*)
11828 if test yes = "$GCC"; then
11829 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'
11830 # Try to use the -exported_symbol ld option, if it does not
11831 # work, assume that -exports_file does not work either and
11832 # implicitly export all symbols.
11833 # This should be the same for all languages, so no per-tag cache variable.
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11835 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11836 if ${lt_cv_irix_exported_symbol+:} false
; then :
11837 $as_echo_n "(cached) " >&6
11839 save_LDFLAGS
=$LDFLAGS
11840 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11843 int foo (void) { return 0; }
11845 if ac_fn_c_try_link
"$LINENO"; then :
11846 lt_cv_irix_exported_symbol
=yes
11848 lt_cv_irix_exported_symbol
=no
11850 rm -f core conftest.err conftest.
$ac_objext \
11851 conftest
$ac_exeext conftest.
$ac_ext
11852 LDFLAGS
=$save_LDFLAGS
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11855 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11856 if test yes = "$lt_cv_irix_exported_symbol"; then
11857 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'
11860 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'
11861 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'
11863 archive_cmds_need_lc
='no'
11864 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11865 hardcode_libdir_separator
=:
11867 link_all_deplibs
=yes
11871 case $cc_basename in
11873 # Fabrice Bellard et al's Tiny C Compiler
11875 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11881 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11882 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11884 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11886 hardcode_libdir_flag_spec
='-R$libdir'
11887 hardcode_direct
=yes
11888 hardcode_shlibpath_var
=no
11892 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11893 hardcode_direct
=yes
11894 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11895 hardcode_libdir_separator
=:
11896 hardcode_shlibpath_var
=no
11902 openbsd
* | bitrig
*)
11903 if test -f /usr
/libexec
/ld.so
; then
11904 hardcode_direct
=yes
11905 hardcode_shlibpath_var
=no
11906 hardcode_direct_absolute
=yes
11907 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11908 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11909 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11910 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11911 export_dynamic_flag_spec
='$wl-E'
11913 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11914 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11922 hardcode_libdir_flag_spec
='-L$libdir'
11923 hardcode_minus_L
=yes
11924 allow_undefined_flag
=unsupported
11926 archive_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 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11931 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11932 emximp -o $lib $output_objdir/$libname.def'
11933 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11934 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11935 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11936 $ECHO EXPORTS >> $output_objdir/$libname.def~
11937 prefix_cmds="$SED"~
11938 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11939 prefix_cmds="$prefix_cmds -e 1d";
11941 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11942 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11943 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11944 emximp -o $lib $output_objdir/$libname.def'
11945 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11946 enable_shared_with_static_runtimes
=yes
11950 if test yes = "$GCC"; then
11951 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11952 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'
11954 allow_undefined_flag
=' -expect_unresolved \*'
11955 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'
11957 archive_cmds_need_lc
='no'
11958 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11959 hardcode_libdir_separator
=:
11962 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11963 if test yes = "$GCC"; then
11964 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11965 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'
11966 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11968 allow_undefined_flag
=' -expect_unresolved \*'
11969 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'
11970 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~
11971 $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'
11973 # Both c and cxx compiler support -rpath directly
11974 hardcode_libdir_flag_spec
='-rpath $libdir'
11976 archive_cmds_need_lc
='no'
11977 hardcode_libdir_separator
=:
11981 no_undefined_flag
=' -z defs'
11982 if test yes = "$GCC"; then
11984 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11985 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11986 $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'
11988 case `$CC -V 2>&1` in
11991 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11992 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11993 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11997 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11998 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11999 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12003 hardcode_libdir_flag_spec
='-R$libdir'
12004 hardcode_shlibpath_var
=no
12006 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12008 # The compiler driver will combine and reorder linker options,
12009 # but understands '-z linker_flag'. GCC discards it without '$wl',
12010 # but is careful enough not to reorder.
12011 # Supported since Solaris 2.6 (maybe 2.5.1?)
12012 if test yes = "$GCC"; then
12013 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12015 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12019 link_all_deplibs
=yes
12023 if test sequent
= "$host_vendor"; then
12024 # Use $CC to link under sequent, because it throws in some extra .o
12025 # files that make .init and .fini sections work.
12026 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12028 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12030 hardcode_libdir_flag_spec
='-L$libdir'
12031 hardcode_direct
=yes
12032 hardcode_minus_L
=yes
12033 hardcode_shlibpath_var
=no
12037 case $host_vendor in
12039 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12040 hardcode_direct
=yes # is this really true???
12043 ## LD is ld it makes a PLAMLIB
12044 ## CC just makes a GrossModule.
12045 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12046 reload_cmds
='$CC -r -o $output$reload_objs'
12050 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12051 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12054 runpath_var
='LD_RUN_PATH'
12055 hardcode_shlibpath_var
=no
12059 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12060 hardcode_shlibpath_var
=no
12061 export_dynamic_flag_spec
='-Bexport'
12065 if test -d /usr
/nec
; then
12066 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12067 hardcode_shlibpath_var
=no
12068 runpath_var
=LD_RUN_PATH
12069 hardcode_runpath_var
=yes
12074 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12075 no_undefined_flag
='$wl-z,text'
12076 archive_cmds_need_lc
=no
12077 hardcode_shlibpath_var
=no
12078 runpath_var
='LD_RUN_PATH'
12080 if test yes = "$GCC"; then
12081 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12082 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12084 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12085 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12089 sysv5
* | sco3.2v5
* | sco5v6
*)
12090 # Note: We CANNOT use -z defs as we might desire, because we do not
12091 # link with -lc, and that would cause any symbols used from libc to
12092 # always be unresolved, which means just about no library would
12093 # ever link correctly. If we're not using GNU ld we use -z text
12094 # though, which does catch some bad symbols but isn't as heavy-handed
12096 no_undefined_flag
='$wl-z,text'
12097 allow_undefined_flag
='$wl-z,nodefs'
12098 archive_cmds_need_lc
=no
12099 hardcode_shlibpath_var
=no
12100 hardcode_libdir_flag_spec
='$wl-R,$libdir'
12101 hardcode_libdir_separator
=':'
12102 link_all_deplibs
=yes
12103 export_dynamic_flag_spec
='$wl-Bexport'
12104 runpath_var
='LD_RUN_PATH'
12106 if test yes = "$GCC"; then
12107 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12108 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12110 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12111 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12116 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12117 hardcode_libdir_flag_spec
='-L$libdir'
12118 hardcode_shlibpath_var
=no
12126 if test sni
= "$host_vendor"; then
12128 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12129 export_dynamic_flag_spec
='$wl-Blargedynsym'
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12136 $as_echo "$ld_shlibs" >&6; }
12137 test no
= "$ld_shlibs" && can_build_shared
=no
12139 with_gnu_ld
=$with_gnu_ld
12156 # Do we need to explicitly link libc?
12158 case "x$archive_cmds_need_lc" in
12160 # Assume -lc should be added
12161 archive_cmds_need_lc
=yes
12163 if test yes,yes = "$GCC,$enable_shared"; then
12164 case $archive_cmds in
12166 # FIXME: we may have to deal with multi-command sequences.
12169 # Test whether the compiler implicitly links with -lc since on some
12170 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12171 # to ld, don't add -lc before -lgcc.
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12173 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12174 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
12175 $as_echo_n "(cached) " >&6
12178 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12181 (eval $ac_compile) 2>&5
12183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12184 test $ac_status = 0; } 2>conftest.err
; then
12187 libobjs
=conftest.
$ac_objext
12189 wl
=$lt_prog_compiler_wl
12190 pic_flag
=$lt_prog_compiler_pic
12196 lt_save_allow_undefined_flag
=$allow_undefined_flag
12197 allow_undefined_flag
=
12198 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12199 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12202 test $ac_status = 0; }
12204 lt_cv_archive_cmds_need_lc
=no
12206 lt_cv_archive_cmds_need_lc
=yes
12208 allow_undefined_flag
=$lt_save_allow_undefined_flag
12210 cat conftest.err
1>&5
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12216 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12217 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12376 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12378 if test yes = "$GCC"; then
12380 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
12381 *) lt_awk_arg
='/^libraries:/' ;;
12384 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
12385 *) lt_sed_strip_eq
='s|=/|/|g' ;;
12387 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12388 case $lt_search_path_spec in
12390 # if the path contains ";" then we assume it to be the separator
12391 # otherwise default to the standard path separator (i.e. ":") - it is
12392 # assumed that no part of a normal pathname contains ";" but that should
12393 # okay in the real world where ";" in dirpaths is itself problematic.
12394 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12397 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12400 # Ok, now we have the path, separated by spaces, we can step through it
12401 # and add multilib dir if necessary...
12402 lt_tmp_lt_search_path_spec
=
12403 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12404 # ...but if some path component already ends with the multilib dir we assume
12405 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12406 case "$lt_multi_os_dir; $lt_search_path_spec " in
12407 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
12411 for lt_sys_path
in $lt_search_path_spec; do
12412 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12413 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12414 elif test -n "$lt_multi_os_dir"; then
12415 test -d "$lt_sys_path" && \
12416 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12419 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12420 BEGIN {RS = " "; FS = "/|\n";} {
12423 for (lt_i = NF; lt_i > 0; lt_i--) {
12424 if ($lt_i != "" && $lt_i != ".") {
12425 if ($lt_i == "..") {
12428 if (lt_count == 0) {
12429 lt_foo = "/" $lt_i lt_foo;
12436 if (lt_foo != "") { lt_freq[lt_foo]++; }
12437 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12439 # AWK program above erroneously prepends '/' to C:/dos/paths
12442 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12443 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12445 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12447 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12449 library_names_spec
=
12450 libname_spec
='lib$name'
12454 postuninstall_cmds
=
12458 shlibpath_overrides_runpath
=unknown
12460 dynamic_linker
="$host_os ld.so"
12461 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12462 need_lib_prefix
=unknown
12463 hardcode_into_libs
=no
12465 # when you set need_version to no, make sure it does not cause -set_version
12466 # flags to be left without arguments
12467 need_version
=unknown
12473 version_type
=linux
# correct to gnu/linux during the next big refactor
12474 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
12475 shlibpath_var
=LIBPATH
12477 # AIX 3 has no versioning support, so we append a major version to the name.
12478 soname_spec
='$libname$release$shared_ext$major'
12482 version_type
=linux
# correct to gnu/linux during the next big refactor
12485 hardcode_into_libs
=yes
12486 if test ia64
= "$host_cpu"; then
12487 # AIX 5 supports IA64
12488 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12489 shlibpath_var
=LD_LIBRARY_PATH
12491 # With GCC up to 2.95.x, collect2 would create an import file
12492 # for dependence libraries. The import file would start with
12493 # the line '#! .'. This would cause the generated library to
12494 # depend on '.', always an invalid library. This was fixed in
12495 # development snapshots of GCC prior to 3.0.
12497 aix4 | aix4.
[01] | aix4.
[01].
*)
12498 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12500 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
12503 can_build_shared
=no
12507 # Using Import Files as archive members, it is possible to support
12508 # filename-based versioning of shared library archives on AIX. While
12509 # this would work for both with and without runtime linking, it will
12510 # prevent static linking of such archives. So we do filename-based
12511 # shared library versioning with .so extension only, which is used
12512 # when both runtime linking and shared linking is enabled.
12513 # Unfortunately, runtime linking may impact performance, so we do
12514 # not want this to be the default eventually. Also, we use the
12515 # versioned .so libs for executables only if there is the -brtl
12516 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12517 # To allow for filename-based versioning support, we need to create
12518 # libNAME.so.V as an archive file, containing:
12519 # *) an Import File, referring to the versioned filename of the
12520 # archive as well as the shared archive member, telling the
12521 # bitwidth (32 or 64) of that shared object, and providing the
12522 # list of exported symbols of that shared object, eventually
12523 # decorated with the 'weak' keyword
12524 # *) the shared object with the F_LOADONLY flag set, to really avoid
12525 # it being seen by the linker.
12526 # At run time we better use the real file rather than another symlink,
12527 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12529 case $with_aix_soname,$aix_use_runtimelinking in
12530 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12531 # soname into executable. Probably we can add versioning support to
12532 # collect2, so additional links can be useful in future.
12533 aix
,yes) # traditional libtool
12534 dynamic_linker
='AIX unversionable lib.so'
12535 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12536 # instead of lib<name>.a to let people know that these are not
12537 # typical AIX shared libraries.
12538 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12540 aix
,no
) # traditional AIX only
12541 dynamic_linker
='AIX lib.a(lib.so.V)'
12542 # We preserve .a as extension for shared libraries through AIX4.2
12543 # and later when we are not doing run time linking.
12544 library_names_spec
='$libname$release.a $libname.a'
12545 soname_spec
='$libname$release$shared_ext$major'
12547 svr4
,*) # full svr4 only
12548 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12549 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12550 # We do not specify a path in Import Files, so LIBPATH fires.
12551 shlibpath_overrides_runpath
=yes
12553 *,yes) # both, prefer svr4
12554 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12555 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12556 # unpreferred sharedlib libNAME.a needs extra handling
12557 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"'
12558 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"'
12559 # We do not specify a path in Import Files, so LIBPATH fires.
12560 shlibpath_overrides_runpath
=yes
12562 *,no
) # both, prefer aix
12563 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12564 library_names_spec
='$libname$release.a $libname.a'
12565 soname_spec
='$libname$release$shared_ext$major'
12566 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12567 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)'
12568 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"'
12571 shlibpath_var
=LIBPATH
12578 # Since July 2007 AmigaOS4 officially supports .so libraries.
12579 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12580 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12583 library_names_spec
='$libname.ixlibrary $libname.a'
12584 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12585 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'
12591 library_names_spec
='$libname$shared_ext'
12592 dynamic_linker
="$host_os ld.so"
12593 shlibpath_var
=LIBRARY_PATH
12597 version_type
=linux
# correct to gnu/linux during the next big refactor
12599 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12600 soname_spec
='$libname$release$shared_ext$major'
12601 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12602 shlibpath_var
=LD_LIBRARY_PATH
12603 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12604 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12605 # the default ld.so.conf also contains /usr/contrib/lib and
12606 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12607 # libtool to hard-code these into programs
12610 cygwin
* | mingw
* | pw32
* | cegcc
*)
12611 version_type
=windows
12616 case $GCC,$cc_basename in
12619 library_names_spec
='$libname.dll.a'
12620 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12621 postinstall_cmds
='base_file=`basename \$file`~
12622 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12623 dldir=$destdir/`dirname \$dlpath`~
12624 test -d \$dldir || mkdir -p \$dldir~
12625 $install_prog $dir/$dlname \$dldir/$dlname~
12626 chmod a+x \$dldir/$dlname~
12627 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12628 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12630 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12631 dlpath=$dir/\$dldll~
12633 shlibpath_overrides_runpath
=yes
12637 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12638 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12640 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12643 # MinGW DLLs use traditional 'lib' prefix
12644 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12647 # pw32 DLLs use 'pw' prefix rather than 'lib'
12648 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12651 dynamic_linker
='Win32 ld.exe'
12656 libname_spec
='$name'
12657 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12658 library_names_spec
='$libname.dll.lib'
12662 sys_lib_search_path_spec
=
12665 for lt_path
in $LIB
12668 # Let DOS variable expansion print the short 8.3 style file name.
12669 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12670 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12673 # Convert to MSYS style.
12674 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12677 # Convert to unix form, then to dos form, then back to unix form
12678 # but this time dos style (no spaces!) so that the unix form looks
12679 # like /cygdrive/c/PROGRA~1:/cygdr...
12680 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12681 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12682 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12685 sys_lib_search_path_spec
=$LIB
12686 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12687 # It is most probably a Windows format PATH.
12688 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12690 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12692 # FIXME: find the short name or the path components, as spaces are
12693 # common. (e.g. "Program Files" -> "PROGRA~1")
12697 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12698 postinstall_cmds
='base_file=`basename \$file`~
12699 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12700 dldir=$destdir/`dirname \$dlpath`~
12701 test -d \$dldir || mkdir -p \$dldir~
12702 $install_prog $dir/$dlname \$dldir/$dlname'
12703 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12704 dlpath=$dir/\$dldll~
12706 shlibpath_overrides_runpath
=yes
12707 dynamic_linker
='Win32 link.exe'
12711 # Assume MSVC wrapper
12712 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12713 dynamic_linker
='Win32 ld.exe'
12716 # FIXME: first we should search . and the directory the executable is in
12720 darwin
* | rhapsody
*)
12721 dynamic_linker
="$host_os dyld"
12722 version_type
=darwin
12725 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12726 soname_spec
='$libname$release$major$shared_ext'
12727 shlibpath_overrides_runpath
=yes
12728 shlibpath_var
=DYLD_LIBRARY_PATH
12729 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12731 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12732 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12736 version_type
=linux
# correct to gnu/linux during the next big refactor
12739 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12740 soname_spec
='$libname$release$shared_ext$major'
12741 shlibpath_var
=LD_LIBRARY_PATH
12744 freebsd
* | dragonfly
*)
12745 # DragonFly does not have aout. When/if they implement a new
12746 # versioning mechanism, adjust this.
12747 if test -x /usr
/bin
/objformat
; then
12748 objformat
=`/usr/bin/objformat`
12751 freebsd
[23].
*) objformat
=aout
;;
12752 *) objformat
=elf
;;
12755 version_type
=freebsd-
$objformat
12756 case $version_type in
12758 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12759 soname_spec
='$libname$release$shared_ext$major'
12764 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12768 shlibpath_var
=LD_LIBRARY_PATH
12771 shlibpath_overrides_runpath
=yes
12773 freebsd3.
[01]* | freebsdelf3.
[01]*)
12774 shlibpath_overrides_runpath
=yes
12775 hardcode_into_libs
=yes
12777 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12778 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12779 shlibpath_overrides_runpath
=no
12780 hardcode_into_libs
=yes
12782 *) # from 4.6 on, and DragonFly
12783 shlibpath_overrides_runpath
=yes
12784 hardcode_into_libs
=yes
12790 version_type
=linux
# correct to gnu/linux during the next big refactor
12793 dynamic_linker
="$host_os runtime_loader"
12794 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12795 soname_spec
='$libname$release$shared_ext$major'
12796 shlibpath_var
=LIBRARY_PATH
12797 shlibpath_overrides_runpath
=no
12798 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12799 hardcode_into_libs
=yes
12802 hpux9
* | hpux10
* | hpux11
*)
12803 # Give a soname corresponding to the major version so that dld.sl refuses to
12804 # link against other versions.
12811 hardcode_into_libs
=yes
12812 dynamic_linker
="$host_os dld.so"
12813 shlibpath_var
=LD_LIBRARY_PATH
12814 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12815 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12816 soname_spec
='$libname$release$shared_ext$major'
12817 if test 32 = "$HPUX_IA64_MODE"; then
12818 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12819 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12821 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12822 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12827 hardcode_into_libs
=yes
12828 dynamic_linker
="$host_os dld.sl"
12829 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12830 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12831 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12832 soname_spec
='$libname$release$shared_ext$major'
12833 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12834 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12838 dynamic_linker
="$host_os dld.sl"
12839 shlibpath_var
=SHLIB_PATH
12840 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12841 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12842 soname_spec
='$libname$release$shared_ext$major'
12845 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12846 postinstall_cmds
='chmod 555 $lib'
12847 # or fails outright, so override atomically:
12848 install_override_mode
=555
12852 version_type
=linux
# correct to gnu/linux during the next big refactor
12855 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12856 soname_spec
='$libname$release$shared_ext$major'
12857 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12858 shlibpath_var
=LD_LIBRARY_PATH
12859 shlibpath_overrides_runpath
=no
12860 hardcode_into_libs
=yes
12863 irix5
* | irix6
* | nonstopux
*)
12865 nonstopux
*) version_type
=nonstopux
;;
12867 if test yes = "$lt_cv_prog_gnu_ld"; then
12868 version_type
=linux
# correct to gnu/linux during the next big refactor
12875 soname_spec
='$libname$release$shared_ext$major'
12876 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12878 irix5
* | nonstopux
*)
12879 libsuff
= shlibsuff
=
12882 case $LD in # libtool.m4 will add one of these switches to LD
12883 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12884 libsuff
= shlibsuff
= libmagic
=32-bit;;
12885 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12886 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12887 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12888 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12889 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12893 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12894 shlibpath_overrides_runpath
=no
12895 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12896 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12897 hardcode_into_libs
=yes
12900 # No shared lib support for Linux oldld, aout, or coff.
12901 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12906 version_type
=none
# Android doesn't support versioned libraries.
12909 library_names_spec
='$libname$release$shared_ext'
12910 soname_spec
='$libname$release$shared_ext'
12912 shlibpath_var
=LD_LIBRARY_PATH
12913 shlibpath_overrides_runpath
=yes
12915 # This implies no fast_install, which is unacceptable.
12916 # Some rework will be needed to allow for fast_install
12917 # before this can be enabled.
12918 hardcode_into_libs
=yes
12920 dynamic_linker
='Android linker'
12921 # Don't embed -rpath directories since the linker doesn't support them.
12922 hardcode_libdir_flag_spec
='-L$libdir'
12925 # This must be glibc/ELF.
12926 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12927 version_type
=linux
# correct to gnu/linux during the next big refactor
12930 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12931 soname_spec
='$libname$release$shared_ext$major'
12932 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12933 shlibpath_var
=LD_LIBRARY_PATH
12934 shlibpath_overrides_runpath
=no
12936 # Some binutils ld are patched to set DT_RUNPATH
12937 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12938 $as_echo_n "(cached) " >&6
12940 lt_cv_shlibpath_overrides_runpath
=no
12941 save_LDFLAGS
=$LDFLAGS
12942 save_libdir
=$libdir
12943 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12944 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h. */
12956 if ac_fn_c_try_link
"$LINENO"; then :
12957 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12958 lt_cv_shlibpath_overrides_runpath
=yes
12961 rm -f core conftest.err conftest.
$ac_objext \
12962 conftest
$ac_exeext conftest.
$ac_ext
12963 LDFLAGS
=$save_LDFLAGS
12964 libdir
=$save_libdir
12968 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12970 # This implies no fast_install, which is unacceptable.
12971 # Some rework will be needed to allow for fast_install
12972 # before this can be enabled.
12973 hardcode_into_libs
=yes
12975 # Ideally, we could use ldconfig to report *all* directores which are
12976 # searched for libraries, however this is still not possible. Aside from not
12977 # being certain /sbin/ldconfig is available, command
12978 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12979 # even though it is searched at run-time. Try to do the best guess by
12980 # appending ld.so.conf contents (and includes) to the search path.
12981 if test -f /etc
/ld.so.conf
; then
12982 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' ' '`
12983 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12986 # We used to test for /lib/ld.so.1 and disable shared libraries on
12987 # powerpc, because MkLinux only supported shared libraries with the
12988 # GNU dynamic linker. Since this was broken with cross compilers,
12989 # most powerpc-linux boxes support dynamic linking these days and
12990 # people can always --disable-shared, the test was removed, and we
12991 # assume the GNU/Linux dynamic linker is in use.
12992 dynamic_linker
='GNU/Linux ld.so'
12999 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13000 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13001 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13002 dynamic_linker
='NetBSD (a.out) ld.so'
13004 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13005 soname_spec
='$libname$release$shared_ext$major'
13006 dynamic_linker
='NetBSD ld.elf_so'
13008 shlibpath_var
=LD_LIBRARY_PATH
13009 shlibpath_overrides_runpath
=yes
13010 hardcode_into_libs
=yes
13014 version_type
=linux
# correct to gnu/linux during the next big refactor
13015 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13016 shlibpath_var
=LD_LIBRARY_PATH
13017 shlibpath_overrides_runpath
=yes
13024 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13025 soname_spec
='$libname$release$shared_ext$major'
13026 shlibpath_var
=LD_LIBRARY_PATH
13027 shlibpath_overrides_runpath
=no
13028 hardcode_into_libs
=yes
13029 dynamic_linker
='ldqnx.so'
13032 openbsd
* | bitrig
*)
13034 sys_lib_dlsearch_path_spec
=/usr
/lib
13036 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13041 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13042 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13043 shlibpath_var
=LD_LIBRARY_PATH
13044 shlibpath_overrides_runpath
=yes
13048 libname_spec
='$name'
13049 version_type
=windows
13053 # OS/2 can only load a DLL with a base name of 8 characters or less.
13054 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
13055 v=$($ECHO $release$versuffix | tr -d .-);
13056 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13057 $ECHO $n$v`$shared_ext'
13058 library_names_spec
='${libname}_dll.$libext'
13059 dynamic_linker
='OS/2 ld.exe'
13060 shlibpath_var
=BEGINLIBPATH
13061 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13062 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13063 postinstall_cmds
='base_file=`basename \$file`~
13064 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13065 dldir=$destdir/`dirname \$dlpath`~
13066 test -d \$dldir || mkdir -p \$dldir~
13067 $install_prog $dir/$dlname \$dldir/$dlname~
13068 chmod a+x \$dldir/$dlname~
13069 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13070 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13072 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13073 dlpath=$dir/\$dldll~
13077 osf3
* | osf4
* | osf5
*)
13081 soname_spec
='$libname$release$shared_ext$major'
13082 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13083 shlibpath_var
=LD_LIBRARY_PATH
13084 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13085 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13093 version_type
=linux
# correct to gnu/linux during the next big refactor
13096 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13097 soname_spec
='$libname$release$shared_ext$major'
13098 shlibpath_var
=LD_LIBRARY_PATH
13099 shlibpath_overrides_runpath
=yes
13100 hardcode_into_libs
=yes
13101 # ldd complains unless libraries are executable
13102 postinstall_cmds
='chmod +x $lib'
13107 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13108 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13109 shlibpath_var
=LD_LIBRARY_PATH
13110 shlibpath_overrides_runpath
=yes
13111 if test yes = "$with_gnu_ld"; then
13118 version_type
=linux
# correct to gnu/linux during the next big refactor
13119 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13120 soname_spec
='$libname$release$shared_ext$major'
13121 shlibpath_var
=LD_LIBRARY_PATH
13122 case $host_vendor in
13124 shlibpath_overrides_runpath
=no
13126 runpath_var
=LD_RUN_PATH
13134 shlibpath_overrides_runpath
=no
13135 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13141 if test -d /usr
/nec
; then
13142 version_type
=linux
# correct to gnu/linux during the next big refactor
13143 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13144 soname_spec
='$libname$shared_ext.$major'
13145 shlibpath_var
=LD_LIBRARY_PATH
13149 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13153 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13154 soname_spec
='$libname$release$shared_ext$major'
13155 shlibpath_var
=LD_LIBRARY_PATH
13156 shlibpath_overrides_runpath
=yes
13157 hardcode_into_libs
=yes
13158 if test yes = "$with_gnu_ld"; then
13159 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13161 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13164 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13168 sys_lib_dlsearch_path_spec
='/usr/lib'
13172 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13173 version_type
=linux
# correct to gnu/linux during the next big refactor
13176 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13177 shlibpath_var
=LD_LIBRARY_PATH
13178 shlibpath_overrides_runpath
=no
13179 hardcode_into_libs
=yes
13183 version_type
=linux
# correct to gnu/linux during the next big refactor
13184 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13185 soname_spec
='$libname$release$shared_ext$major'
13186 shlibpath_var
=LD_LIBRARY_PATH
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13194 $as_echo "$dynamic_linker" >&6; }
13195 test no
= "$dynamic_linker" && can_build_shared
=no
13197 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13198 if test yes = "$GCC"; then
13199 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13202 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13203 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
13206 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13207 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
13210 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13211 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
13213 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13214 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
13216 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13217 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13316 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13318 if test -n "$hardcode_libdir_flag_spec" ||
13319 test -n "$runpath_var" ||
13320 test yes = "$hardcode_automatic"; then
13322 # We can hardcode non-existent directories.
13323 if test no
!= "$hardcode_direct" &&
13324 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13325 # have to relink, otherwise we might link with an installed library
13326 # when we should be linking with a yet-to-be-installed one
13327 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13328 test no
!= "$hardcode_minus_L"; then
13329 # Linking always hardcodes the temporary library directory.
13330 hardcode_action
=relink
13332 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13333 hardcode_action
=immediate
13336 # We cannot hardcode anything, or else we can only hardcode existing
13338 hardcode_action
=unsupported
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13341 $as_echo "$hardcode_action" >&6; }
13343 if test relink
= "$hardcode_action" ||
13344 test yes = "$inherit_rpath"; then
13345 # Fast installation is not supported
13346 enable_fast_install
=no
13347 elif test yes = "$shlibpath_overrides_runpath" ||
13348 test no
= "$enable_shared"; then
13349 # Fast installation is not necessary
13350 enable_fast_install
=needless
13358 if test yes != "$enable_dlopen"; then
13359 enable_dlopen
=unknown
13360 enable_dlopen_self
=unknown
13361 enable_dlopen_self_static
=unknown
13368 lt_cv_dlopen
=load_add_on
13370 lt_cv_dlopen_self
=yes
13373 mingw
* | pw32
* | cegcc
*)
13374 lt_cv_dlopen
=LoadLibrary
13379 lt_cv_dlopen
=dlopen
13384 # if libdl is installed we need to link against it
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13386 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13387 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13388 $as_echo_n "(cached) " >&6
13390 ac_check_lib_save_LIBS
=$LIBS
13392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13393 /* end confdefs.h. */
13395 /* Override any GCC internal prototype to avoid an error.
13396 Use char because int might match the return type of a GCC
13397 builtin and then its argument prototype would still apply. */
13410 if ac_fn_c_try_link
"$LINENO"; then :
13411 ac_cv_lib_dl_dlopen
=yes
13413 ac_cv_lib_dl_dlopen
=no
13415 rm -f core conftest.err conftest.
$ac_objext \
13416 conftest
$ac_exeext conftest.
$ac_ext
13417 LIBS
=$ac_check_lib_save_LIBS
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13420 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13421 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13422 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13427 lt_cv_dlopen_self
=yes
13434 # Don't try to run any link tests for TPF. We know it's impossible
13435 # because TPF is a cross-compiler, and we know how we open DSOs.
13436 lt_cv_dlopen
=dlopen
13438 lt_cv_dlopen_self
=no
13442 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13443 if test "x$ac_cv_func_shl_load" = xyes
; then :
13444 lt_cv_dlopen
=shl_load
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13447 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13448 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13449 $as_echo_n "(cached) " >&6
13451 ac_check_lib_save_LIBS
=$LIBS
13453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13456 /* Override any GCC internal prototype to avoid an error.
13457 Use char because int might match the return type of a GCC
13458 builtin and then its argument prototype would still apply. */
13466 return shl_load ();
13471 if ac_fn_c_try_link
"$LINENO"; then :
13472 ac_cv_lib_dld_shl_load
=yes
13474 ac_cv_lib_dld_shl_load
=no
13476 rm -f core conftest.err conftest.
$ac_objext \
13477 conftest
$ac_exeext conftest.
$ac_ext
13478 LIBS
=$ac_check_lib_save_LIBS
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13481 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13482 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13483 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
13485 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13486 if test "x$ac_cv_func_dlopen" = xyes
; then :
13487 lt_cv_dlopen
=dlopen
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13490 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13491 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13492 $as_echo_n "(cached) " >&6
13494 ac_check_lib_save_LIBS
=$LIBS
13496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13499 /* Override any GCC internal prototype to avoid an error.
13500 Use char because int might match the return type of a GCC
13501 builtin and then its argument prototype would still apply. */
13514 if ac_fn_c_try_link
"$LINENO"; then :
13515 ac_cv_lib_dl_dlopen
=yes
13517 ac_cv_lib_dl_dlopen
=no
13519 rm -f core conftest.err conftest.
$ac_objext \
13520 conftest
$ac_exeext conftest.
$ac_ext
13521 LIBS
=$ac_check_lib_save_LIBS
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13524 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13525 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13526 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13529 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13530 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13531 $as_echo_n "(cached) " >&6
13533 ac_check_lib_save_LIBS
=$LIBS
13534 LIBS
="-lsvld $LIBS"
13535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13538 /* Override any GCC internal prototype to avoid an error.
13539 Use char because int might match the return type of a GCC
13540 builtin and then its argument prototype would still apply. */
13553 if ac_fn_c_try_link
"$LINENO"; then :
13554 ac_cv_lib_svld_dlopen
=yes
13556 ac_cv_lib_svld_dlopen
=no
13558 rm -f core conftest.err conftest.
$ac_objext \
13559 conftest
$ac_exeext conftest.
$ac_ext
13560 LIBS
=$ac_check_lib_save_LIBS
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13563 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13564 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13565 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13568 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13569 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13570 $as_echo_n "(cached) " >&6
13572 ac_check_lib_save_LIBS
=$LIBS
13574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13577 /* Override any GCC internal prototype to avoid an error.
13578 Use char because int might match the return type of a GCC
13579 builtin and then its argument prototype would still apply. */
13587 return dld_link ();
13592 if ac_fn_c_try_link
"$LINENO"; then :
13593 ac_cv_lib_dld_dld_link
=yes
13595 ac_cv_lib_dld_dld_link
=no
13597 rm -f core conftest.err conftest.
$ac_objext \
13598 conftest
$ac_exeext conftest.
$ac_ext
13599 LIBS
=$ac_check_lib_save_LIBS
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13602 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13603 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13604 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13625 if test no
= "$lt_cv_dlopen"; then
13631 case $lt_cv_dlopen in
13633 save_CPPFLAGS
=$CPPFLAGS
13634 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13636 save_LDFLAGS
=$LDFLAGS
13637 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13640 LIBS
="$lt_cv_dlopen_libs $LIBS"
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13643 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13644 if ${lt_cv_dlopen_self+:} false
; then :
13645 $as_echo_n "(cached) " >&6
13647 if test yes = "$cross_compiling"; then :
13648 lt_cv_dlopen_self
=cross
13650 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13651 lt_status
=$lt_dlunknown
13652 cat > conftest.
$ac_ext <<_LT_EOF
13653 #line $LINENO "configure"
13654 #include "confdefs.h"
13663 # define LT_DLGLOBAL RTLD_GLOBAL
13666 # define LT_DLGLOBAL DL_GLOBAL
13668 # define LT_DLGLOBAL 0
13672 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13673 find out it does not work in some platform. */
13674 #ifndef LT_DLLAZY_OR_NOW
13676 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13679 # define LT_DLLAZY_OR_NOW DL_LAZY
13682 # define LT_DLLAZY_OR_NOW RTLD_NOW
13685 # define LT_DLLAZY_OR_NOW DL_NOW
13687 # define LT_DLLAZY_OR_NOW 0
13694 /* When -fvisibility=hidden is used, assume the code has been annotated
13695 correspondingly for the symbols needed. */
13696 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13697 int fnord () __attribute__((visibility("default")));
13700 int fnord () { return 42; }
13703 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13704 int status = $lt_dlunknown;
13708 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13711 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13712 else puts (dlerror ());
13714 /* dlclose (self); */
13722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13723 (eval $ac_link) 2>&5
13725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13726 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13727 (.
/conftest
; exit; ) >&5 2>/dev
/null
13729 case x
$lt_status in
13730 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13731 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13732 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13735 # compilation failed
13736 lt_cv_dlopen_self
=no
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13744 $as_echo "$lt_cv_dlopen_self" >&6; }
13746 if test yes = "$lt_cv_dlopen_self"; then
13747 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13749 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13750 if ${lt_cv_dlopen_self_static+:} false
; then :
13751 $as_echo_n "(cached) " >&6
13753 if test yes = "$cross_compiling"; then :
13754 lt_cv_dlopen_self_static
=cross
13756 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13757 lt_status
=$lt_dlunknown
13758 cat > conftest.
$ac_ext <<_LT_EOF
13759 #line $LINENO "configure"
13760 #include "confdefs.h"
13769 # define LT_DLGLOBAL RTLD_GLOBAL
13772 # define LT_DLGLOBAL DL_GLOBAL
13774 # define LT_DLGLOBAL 0
13778 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13779 find out it does not work in some platform. */
13780 #ifndef LT_DLLAZY_OR_NOW
13782 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13785 # define LT_DLLAZY_OR_NOW DL_LAZY
13788 # define LT_DLLAZY_OR_NOW RTLD_NOW
13791 # define LT_DLLAZY_OR_NOW DL_NOW
13793 # define LT_DLLAZY_OR_NOW 0
13800 /* When -fvisibility=hidden is used, assume the code has been annotated
13801 correspondingly for the symbols needed. */
13802 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13803 int fnord () __attribute__((visibility("default")));
13806 int fnord () { return 42; }
13809 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13810 int status = $lt_dlunknown;
13814 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13817 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13818 else puts (dlerror ());
13820 /* dlclose (self); */
13828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13829 (eval $ac_link) 2>&5
13831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13832 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13833 (.
/conftest
; exit; ) >&5 2>/dev
/null
13835 case x
$lt_status in
13836 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13837 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13838 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13841 # compilation failed
13842 lt_cv_dlopen_self_static
=no
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13850 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13853 CPPFLAGS
=$save_CPPFLAGS
13854 LDFLAGS
=$save_LDFLAGS
13859 case $lt_cv_dlopen_self in
13860 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13861 *) enable_dlopen_self
=unknown
;;
13864 case $lt_cv_dlopen_self_static in
13865 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13866 *) enable_dlopen_self_static
=unknown
;;
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13889 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13890 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13891 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13892 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13894 $as_echo "yes" >&6; }
13896 # FIXME - insert some real tests, host_os isn't really good enough
13899 if test -n "$STRIP"; then
13900 striplib
="$STRIP -x"
13901 old_striplib
="$STRIP -S"
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13903 $as_echo "yes" >&6; }
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13906 $as_echo "no" >&6; }
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13911 $as_echo "no" >&6; }
13927 # Report what library types will actually be built
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13929 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13931 $as_echo "$can_build_shared" >&6; }
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13934 $as_echo_n "checking whether to build shared libraries... " >&6; }
13935 test no
= "$can_build_shared" && enable_shared
=no
13937 # On AIX, shared libraries and static libraries use the same namespace, and
13938 # are all built from PIC.
13941 test yes = "$enable_shared" && enable_static
=no
13942 if test -n "$RANLIB"; then
13943 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13944 postinstall_cmds
='$RANLIB $lib'
13949 if test ia64
!= "$host_cpu"; then
13950 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13951 yes,aix
,yes) ;; # shared object as lib.so file only
13952 yes,svr4
,*) ;; # shared object as lib.so archive member only
13953 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13959 $as_echo "$enable_shared" >&6; }
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13962 $as_echo_n "checking whether to build static libraries... " >&6; }
13963 # Make sure either enable_shared or enable_static is yes.
13964 test yes = "$enable_shared" || enable_static
=yes
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13966 $as_echo "$enable_static" >&6; }
13973 ac_cpp
='$CPP $CPPFLAGS'
13974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13994 ac_config_commands
="$ac_config_commands libtool"
13999 # Only expand once:
14002 # Check whether --enable-largefile was given.
14003 if test "${enable_largefile+set}" = set; then :
14004 enableval
=$enable_largefile;
14007 if test "$enable_largefile" != no
; then
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14010 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14011 if ${ac_cv_sys_largefile_CC+:} false
; then :
14012 $as_echo_n "(cached) " >&6
14014 ac_cv_sys_largefile_CC
=no
14015 if test "$GCC" != yes; then
14018 # IRIX 6.2 and later do not support large files by default,
14019 # so use the C compiler's -n32 option if that helps.
14020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14021 /* end confdefs.h. */
14022 #include <sys/types.h>
14023 /* Check that off_t can represent 2**63 - 1 correctly.
14024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14025 since some C++ compilers masquerading as C compilers
14026 incorrectly reject 9223372036854775807. */
14027 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14029 && LARGE_OFF_T % 2147483647 == 1)
14039 if ac_fn_c_try_compile
"$LINENO"; then :
14042 rm -f core conftest.err conftest.
$ac_objext
14044 if ac_fn_c_try_compile
"$LINENO"; then :
14045 ac_cv_sys_largefile_CC
=' -n32'; break
14047 rm -f core conftest.err conftest.
$ac_objext
14051 rm -f conftest.
$ac_ext
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14055 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14056 if test "$ac_cv_sys_largefile_CC" != no
; then
14057 CC
=$CC$ac_cv_sys_largefile_CC
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14061 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14062 if ${ac_cv_sys_file_offset_bits+:} false
; then :
14063 $as_echo_n "(cached) " >&6
14066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14068 #include <sys/types.h>
14069 /* Check that off_t can represent 2**63 - 1 correctly.
14070 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14071 since some C++ compilers masquerading as C compilers
14072 incorrectly reject 9223372036854775807. */
14073 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14074 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14075 && LARGE_OFF_T % 2147483647 == 1)
14085 if ac_fn_c_try_compile
"$LINENO"; then :
14086 ac_cv_sys_file_offset_bits
=no
; break
14088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h. */
14091 #define _FILE_OFFSET_BITS 64
14092 #include <sys/types.h>
14093 /* Check that off_t can represent 2**63 - 1 correctly.
14094 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14095 since some C++ compilers masquerading as C compilers
14096 incorrectly reject 9223372036854775807. */
14097 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14098 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14099 && LARGE_OFF_T % 2147483647 == 1)
14109 if ac_fn_c_try_compile
"$LINENO"; then :
14110 ac_cv_sys_file_offset_bits
=64; break
14112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14113 ac_cv_sys_file_offset_bits
=unknown
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14118 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14119 case $ac_cv_sys_file_offset_bits in #(
14122 cat >>confdefs.h
<<_ACEOF
14123 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14128 if test $ac_cv_sys_file_offset_bits = unknown
; then
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14130 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14131 if ${ac_cv_sys_large_files+:} false
; then :
14132 $as_echo_n "(cached) " >&6
14135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 #include <sys/types.h>
14138 /* Check that off_t can represent 2**63 - 1 correctly.
14139 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14140 since some C++ compilers masquerading as C compilers
14141 incorrectly reject 9223372036854775807. */
14142 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14143 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14144 && LARGE_OFF_T % 2147483647 == 1)
14154 if ac_fn_c_try_compile
"$LINENO"; then :
14155 ac_cv_sys_large_files
=no
; break
14157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 #define _LARGE_FILES 1
14161 #include <sys/types.h>
14162 /* Check that off_t can represent 2**63 - 1 correctly.
14163 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14164 since some C++ compilers masquerading as C compilers
14165 incorrectly reject 9223372036854775807. */
14166 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14167 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14168 && LARGE_OFF_T % 2147483647 == 1)
14178 if ac_fn_c_try_compile
"$LINENO"; then :
14179 ac_cv_sys_large_files
=1; break
14181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14182 ac_cv_sys_large_files
=unknown
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14187 $as_echo "$ac_cv_sys_large_files" >&6; }
14188 case $ac_cv_sys_large_files in #(
14191 cat >>confdefs.h
<<_ACEOF
14192 #define _LARGE_FILES $ac_cv_sys_large_files
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
14203 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
14204 if ${ac_cv_sys_largefile_source+:} false
; then :
14205 $as_echo_n "(cached) " >&6
14208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 #include <sys/types.h> /* for off_t */
14215 int (*fp) (FILE *, off_t, int) = fseeko;
14216 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
14221 if ac_fn_c_try_link
"$LINENO"; then :
14222 ac_cv_sys_largefile_source
=no
; break
14224 rm -f core conftest.err conftest.
$ac_objext \
14225 conftest
$ac_exeext conftest.
$ac_ext
14226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14228 #define _LARGEFILE_SOURCE 1
14229 #include <sys/types.h> /* for off_t */
14234 int (*fp) (FILE *, off_t, int) = fseeko;
14235 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
14240 if ac_fn_c_try_link
"$LINENO"; then :
14241 ac_cv_sys_largefile_source
=1; break
14243 rm -f core conftest.err conftest.
$ac_objext \
14244 conftest
$ac_exeext conftest.
$ac_ext
14245 ac_cv_sys_largefile_source
=unknown
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
14250 $as_echo "$ac_cv_sys_largefile_source" >&6; }
14251 case $ac_cv_sys_largefile_source in #(
14254 cat >>confdefs.h
<<_ACEOF
14255 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
14261 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
14262 # in glibc 2.1.3, but that breaks too many other things.
14263 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
14264 if test $ac_cv_sys_largefile_source != unknown
; then
14266 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
14270 ac_header_dirent
=no
14271 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
14272 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
14274 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
14275 if eval \
${$as_ac_Header+:} false
; then :
14276 $as_echo_n "(cached) " >&6
14278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14279 /* end confdefs.h. */
14280 #include <sys/types.h>
14292 if ac_fn_c_try_compile
"$LINENO"; then :
14293 eval "$as_ac_Header=yes"
14295 eval "$as_ac_Header=no"
14297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14299 eval ac_res
=\$
$as_ac_Header
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14301 $as_echo "$ac_res" >&6; }
14302 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14303 cat >>confdefs.h
<<_ACEOF
14304 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
14307 ac_header_dirent
=$ac_hdr; break
14311 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
14312 if test $ac_header_dirent = dirent.h
; then
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14314 $as_echo_n "checking for library containing opendir... " >&6; }
14315 if ${ac_cv_search_opendir+:} false
; then :
14316 $as_echo_n "(cached) " >&6
14318 ac_func_search_save_LIBS
=$LIBS
14319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14322 /* Override any GCC internal prototype to avoid an error.
14323 Use char because int might match the return type of a GCC
14324 builtin and then its argument prototype would still apply. */
14337 for ac_lib
in '' dir
; do
14338 if test -z "$ac_lib"; then
14339 ac_res
="none required"
14342 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14344 if ac_fn_c_try_link
"$LINENO"; then :
14345 ac_cv_search_opendir
=$ac_res
14347 rm -f core conftest.err conftest.
$ac_objext \
14349 if ${ac_cv_search_opendir+:} false
; then :
14353 if ${ac_cv_search_opendir+:} false
; then :
14356 ac_cv_search_opendir
=no
14358 rm conftest.
$ac_ext
14359 LIBS
=$ac_func_search_save_LIBS
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14362 $as_echo "$ac_cv_search_opendir" >&6; }
14363 ac_res
=$ac_cv_search_opendir
14364 if test "$ac_res" != no
; then :
14365 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14371 $as_echo_n "checking for library containing opendir... " >&6; }
14372 if ${ac_cv_search_opendir+:} false
; then :
14373 $as_echo_n "(cached) " >&6
14375 ac_func_search_save_LIBS
=$LIBS
14376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14377 /* end confdefs.h. */
14379 /* Override any GCC internal prototype to avoid an error.
14380 Use char because int might match the return type of a GCC
14381 builtin and then its argument prototype would still apply. */
14394 for ac_lib
in '' x
; do
14395 if test -z "$ac_lib"; then
14396 ac_res
="none required"
14399 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14401 if ac_fn_c_try_link
"$LINENO"; then :
14402 ac_cv_search_opendir
=$ac_res
14404 rm -f core conftest.err conftest.
$ac_objext \
14406 if ${ac_cv_search_opendir+:} false
; then :
14410 if ${ac_cv_search_opendir+:} false
; then :
14413 ac_cv_search_opendir
=no
14415 rm conftest.
$ac_ext
14416 LIBS
=$ac_func_search_save_LIBS
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14419 $as_echo "$ac_cv_search_opendir" >&6; }
14420 ac_res
=$ac_cv_search_opendir
14421 if test "$ac_res" != no
; then :
14422 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14429 $as_echo_n "checking for ANSI C header files... " >&6; }
14430 if ${ac_cv_header_stdc+:} false
; then :
14431 $as_echo_n "(cached) " >&6
14433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14435 #include <stdlib.h>
14436 #include <stdarg.h>
14437 #include <string.h>
14448 if ac_fn_c_try_compile
"$LINENO"; then :
14449 ac_cv_header_stdc
=yes
14451 ac_cv_header_stdc
=no
14453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14455 if test $ac_cv_header_stdc = yes; then
14456 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14459 #include <string.h>
14462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14463 $EGREP "memchr" >/dev
/null
2>&1; then :
14466 ac_cv_header_stdc
=no
14472 if test $ac_cv_header_stdc = yes; then
14473 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14476 #include <stdlib.h>
14479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14480 $EGREP "free" >/dev
/null
2>&1; then :
14483 ac_cv_header_stdc
=no
14489 if test $ac_cv_header_stdc = yes; then
14490 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14491 if test "$cross_compiling" = yes; then :
14494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14497 #include <stdlib.h>
14498 #if ((' ' & 0x0FF) == 0x020)
14499 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14500 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14502 # define ISLOWER(c) \
14503 (('a' <= (c) && (c) <= 'i') \
14504 || ('j' <= (c) && (c) <= 'r') \
14505 || ('s' <= (c) && (c) <= 'z'))
14506 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14509 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14514 for (i = 0; i < 256; i++)
14515 if (XOR (islower (i), ISLOWER (i))
14516 || toupper (i) != TOUPPER (i))
14521 if ac_fn_c_try_run
"$LINENO"; then :
14524 ac_cv_header_stdc
=no
14526 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14527 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14533 $as_echo "$ac_cv_header_stdc" >&6; }
14534 if test $ac_cv_header_stdc = yes; then
14536 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
14541 $as_echo_n "checking whether closedir returns void... " >&6; }
14542 if ${ac_cv_func_closedir_void+:} false
; then :
14543 $as_echo_n "(cached) " >&6
14545 if test "$cross_compiling" = yes; then :
14546 ac_cv_func_closedir_void
=yes
14548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 $ac_includes_default
14551 #include <$ac_header_dirent>
14552 #ifndef __cplusplus
14559 return closedir (opendir (".")) != 0;
14564 if ac_fn_c_try_run
"$LINENO"; then :
14565 ac_cv_func_closedir_void
=no
14567 ac_cv_func_closedir_void
=yes
14569 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14570 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
14575 $as_echo "$ac_cv_func_closedir_void" >&6; }
14576 if test $ac_cv_func_closedir_void = yes; then
14578 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
14582 for ac_header
in assert.h float.h limits.h
pwd.h stdlib.h sys
/param.h
14584 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14585 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14586 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14587 cat >>confdefs.h
<<_ACEOF
14588 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14595 for ac_func
in putenv
14597 ac_fn_c_check_func
"$LINENO" "putenv" "ac_cv_func_putenv"
14598 if test "x$ac_cv_func_putenv" = xyes
; then :
14599 cat >>confdefs.h
<<_ACEOF
14600 #define HAVE_PUTENV 1
14606 for ac_func
in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr
14608 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14609 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14610 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14611 cat >>confdefs.h
<<_ACEOF
14612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14619 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14620 if ${ac_cv_c_const+:} false
; then :
14621 $as_echo_n "(cached) " >&6
14623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14630 #ifndef __cplusplus
14631 /* Ultrix mips cc rejects this sort of thing. */
14632 typedef int charset[2];
14633 const charset cs = { 0, 0 };
14634 /* SunOS 4.1.1 cc rejects this. */
14635 char const *const *pcpcc;
14637 /* NEC SVR4.0.2 mips cc rejects this. */
14638 struct point {int x, y;};
14639 static struct point const zero = {0,0};
14640 /* AIX XL C 1.02.0.0 rejects this.
14641 It does not let you subtract one const X* pointer from another in
14642 an arm of an if-expression whose if-part is not a constant
14644 const char *g = "string";
14645 pcpcc = &g + (g ? g-g : 0);
14646 /* HPUX 7.0 cc rejects these. */
14648 ppc = (char**) pcpcc;
14649 pcpcc = (char const *const *) ppc;
14650 { /* SCO 3.2v4 cc rejects this sort of thing. */
14653 char const *s = 0 ? (char *) 0 : (char const *) 0;
14658 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14659 int x[] = {25, 17};
14660 const int *foo = &x[0];
14663 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14664 typedef const int *iptr;
14668 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14669 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14670 struct s { int j; const int *ap[3]; } bx;
14671 struct s *b = &bx; b->j = 5;
14673 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14674 const int foo = 10;
14675 if (!foo) return 0;
14677 return !cs[0] && !zero.x;
14684 if ac_fn_c_try_compile
"$LINENO"; then :
14689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14692 $as_echo "$ac_cv_c_const" >&6; }
14693 if test $ac_cv_c_const = no
; then
14695 $as_echo "#define const /**/" >>confdefs.h
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14700 $as_echo_n "checking for inline... " >&6; }
14701 if ${ac_cv_c_inline+:} false
; then :
14702 $as_echo_n "(cached) " >&6
14705 for ac_kw
in inline __inline__ __inline
; do
14706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14708 #ifndef __cplusplus
14710 static $ac_kw foo_t static_foo () {return 0; }
14711 $ac_kw foo_t foo () {return 0; }
14715 if ac_fn_c_try_compile
"$LINENO"; then :
14716 ac_cv_c_inline
=$ac_kw
14718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14719 test "$ac_cv_c_inline" != no
&& break
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14724 $as_echo "$ac_cv_c_inline" >&6; }
14726 case $ac_cv_c_inline in
14729 case $ac_cv_c_inline in
14731 *) ac_val
=$ac_cv_c_inline;;
14733 cat >>confdefs.h
<<_ACEOF
14734 #ifndef __cplusplus
14735 #define inline $ac_val
14741 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14742 if test "x$ac_cv_type_size_t" = xyes
; then :
14746 cat >>confdefs.h
<<_ACEOF
14747 #define size_t unsigned int
14752 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
14753 case $ac_cv_c_int64_t in #(
14757 cat >>confdefs.h
<<_ACEOF
14758 #define int64_t $ac_cv_c_int64_t
14763 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
14764 case $ac_cv_c_uint64_t in #(
14768 $as_echo "#define _UINT64_T 1" >>confdefs.h
14771 cat >>confdefs.h
<<_ACEOF
14772 #define uint64_t $ac_cv_c_uint64_t
14777 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
14779 as_fn_error $?
"Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
14783 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14784 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14786 cat >>confdefs.h
<<_ACEOF
14787 #define HAVE_STRUCT_STAT_ST_MTIM 1
14794 if test "x$host_alias" != x
&& test "x$build_alias" = x
; then :
14795 as_fn_error $?
"when cross-compiling you must specify both --host and --build." "$LINENO" 5
14797 eval kpse_build_alias
=\
${build_alias-$build}
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14803 $as_echo_n "checking for X... " >&6; }
14806 # Check whether --with-x was given.
14807 if test "${with_x+set}" = set; then :
14811 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14812 if test "x$with_x" = xno
; then
14813 # The user explicitly disabled X.
14816 case $x_includes,$x_libraries in #(
14817 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14818 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14819 $as_echo_n "(cached) " >&6
14821 # One or both of the vars are not set, and there is no cached value.
14822 ac_x_includes
=no ac_x_libraries
=no
14823 rm -f -r conftest.dir
14824 if mkdir conftest.dir
; then
14826 cat >Imakefile
<<'_ACEOF'
14828 @echo incroot='${INCROOT}'
14830 @echo usrlibdir='${USRLIBDIR}'
14832 @echo libdir='${LIBDIR}'
14834 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14835 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14836 for ac_var
in incroot usrlibdir libdir
; do
14837 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14839 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14840 for ac_extension
in a so sl dylib la dll
; do
14841 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14842 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14843 ac_im_usrlibdir
=$ac_im_libdir; break
14846 # Screen out bogus values from the imake configuration. They are
14847 # bogus both because they are the default anyway, and because
14848 # using them would break gcc on systems where it needs fixed includes.
14849 case $ac_im_incroot in
14850 /usr
/include
) ac_x_includes
= ;;
14851 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14853 case $ac_im_usrlibdir in
14854 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14855 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14859 rm -f -r conftest.dir
14862 # Standard set of common directories for X headers.
14863 # Check X11 before X11Rn because it is often a symlink to the current release.
14877 /usr/local/X11/include
14878 /usr/local/X11R7/include
14879 /usr/local/X11R6/include
14880 /usr/local/X11R5/include
14881 /usr/local/X11R4/include
14883 /usr/local/include/X11
14884 /usr/local/include/X11R7
14885 /usr/local/include/X11R6
14886 /usr/local/include/X11R5
14887 /usr/local/include/X11R4
14891 /usr/XFree86/include/X11
14895 /usr/unsupported/include
14896 /usr/athena/include
14897 /usr/local/x11r5/include
14898 /usr/lpp/Xamples/include
14900 /usr/openwin/include
14901 /usr/openwin/share/include'
14903 if test "$ac_x_includes" = no
; then
14904 # Guess where to find include files, by looking for Xlib.h.
14905 # First, try using that file with no special directory specified.
14906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14908 #include <X11/Xlib.h>
14910 if ac_fn_c_try_cpp
"$LINENO"; then :
14911 # We can compile using X headers with no special include directory.
14914 for ac_dir
in $ac_x_header_dirs; do
14915 if test -r "$ac_dir/X11/Xlib.h"; then
14916 ac_x_includes
=$ac_dir
14921 rm -f conftest.err conftest.i conftest.
$ac_ext
14922 fi # $ac_x_includes = no
14924 if test "$ac_x_libraries" = no
; then
14925 # Check for the libraries.
14926 # See if we find them without any special options.
14927 # Don't add to $LIBS permanently.
14930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 #include <X11/Xlib.h>
14941 if ac_fn_c_try_link
"$LINENO"; then :
14943 # We can link X programs with no special library path.
14947 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14949 # Don't even attempt the hair of trying to link an X program!
14950 for ac_extension
in a so sl dylib la dll
; do
14951 if test -r "$ac_dir/libX11.$ac_extension"; then
14952 ac_x_libraries
=$ac_dir
14958 rm -f core conftest.err conftest.
$ac_objext \
14959 conftest
$ac_exeext conftest.
$ac_ext
14960 fi # $ac_x_libraries = no
14962 case $ac_x_includes,$ac_x_libraries in #(
14963 no
,* |
*,no |
*\'*)
14964 # Didn't find X, or a directory has "'" in its name.
14965 ac_cv_have_x
="have_x=no";; #(
14967 # Record where we found X for the cache.
14968 ac_cv_have_x
="have_x=yes\
14969 ac_x_includes='$ac_x_includes'\
14970 ac_x_libraries='$ac_x_libraries'"
14976 eval "$ac_cv_have_x"
14979 if test "$have_x" != yes; then
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14981 $as_echo "$have_x" >&6; }
14984 # If each of the values was on the command line, it overrides each guess.
14985 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14986 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14987 # Update the cache value to reflect the command line values.
14988 ac_cv_have_x
="have_x=yes\
14989 ac_x_includes='$x_includes'\
14990 ac_x_libraries='$x_libraries'"
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14992 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14995 if test "$no_x" = yes; then
14996 # Not all programs may use this symbol, but it does not hurt to define it.
14998 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
15000 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
15002 if test -n "$x_includes"; then
15003 X_CFLAGS
="$X_CFLAGS -I$x_includes"
15006 # It would also be nice to do this for all -L options, not just this one.
15007 if test -n "$x_libraries"; then
15008 X_LIBS
="$X_LIBS -L$x_libraries"
15009 # For Solaris; some versions of Sun CC require a space after -R and
15010 # others require no space. Words are not sufficient . . . .
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
15012 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
15013 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
15014 ac_xsave_c_werror_flag
=$ac_c_werror_flag
15015 ac_c_werror_flag
=yes
15016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15017 /* end confdefs.h. */
15027 if ac_fn_c_try_link
"$LINENO"; then :
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15029 $as_echo "no" >&6; }
15030 X_LIBS
="$X_LIBS -R$x_libraries"
15032 LIBS
="$ac_xsave_LIBS -R $x_libraries"
15033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15034 /* end confdefs.h. */
15044 if ac_fn_c_try_link
"$LINENO"; then :
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15046 $as_echo "yes" >&6; }
15047 X_LIBS
="$X_LIBS -R $x_libraries"
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
15050 $as_echo "neither works" >&6; }
15052 rm -f core conftest.err conftest.
$ac_objext \
15053 conftest
$ac_exeext conftest.
$ac_ext
15055 rm -f core conftest.err conftest.
$ac_objext \
15056 conftest
$ac_exeext conftest.
$ac_ext
15057 ac_c_werror_flag
=$ac_xsave_c_werror_flag
15058 LIBS
=$ac_xsave_LIBS
15061 # Check for system-dependent libraries X programs must link with.
15062 # Do this before checking for the system-independent R6 libraries
15063 # (-lICE), since we may need -lsocket or whatever for X linking.
15065 if test "$ISC" = yes; then
15066 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
15068 # Martyn Johnson says this is needed for Ultrix, if the X
15069 # libraries were built with DECnet support. And Karl Berry says
15070 # the Alpha needs dnet_stub (dnet does not exist).
15071 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
15072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15075 /* Override any GCC internal prototype to avoid an error.
15076 Use char because int might match the return type of a GCC
15077 builtin and then its argument prototype would still apply. */
15081 char XOpenDisplay ();
15085 return XOpenDisplay ();
15090 if ac_fn_c_try_link
"$LINENO"; then :
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
15094 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
15095 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
15096 $as_echo_n "(cached) " >&6
15098 ac_check_lib_save_LIBS
=$LIBS
15099 LIBS
="-ldnet $LIBS"
15100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15103 /* Override any GCC internal prototype to avoid an error.
15104 Use char because int might match the return type of a GCC
15105 builtin and then its argument prototype would still apply. */
15113 return dnet_ntoa ();
15118 if ac_fn_c_try_link
"$LINENO"; then :
15119 ac_cv_lib_dnet_dnet_ntoa
=yes
15121 ac_cv_lib_dnet_dnet_ntoa
=no
15123 rm -f core conftest.err conftest.
$ac_objext \
15124 conftest
$ac_exeext conftest.
$ac_ext
15125 LIBS
=$ac_check_lib_save_LIBS
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
15128 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
15129 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
15130 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
15133 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
15135 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
15136 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
15137 $as_echo_n "(cached) " >&6
15139 ac_check_lib_save_LIBS
=$LIBS
15140 LIBS
="-ldnet_stub $LIBS"
15141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15144 /* Override any GCC internal prototype to avoid an error.
15145 Use char because int might match the return type of a GCC
15146 builtin and then its argument prototype would still apply. */
15154 return dnet_ntoa ();
15159 if ac_fn_c_try_link
"$LINENO"; then :
15160 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
15162 ac_cv_lib_dnet_stub_dnet_ntoa
=no
15164 rm -f core conftest.err conftest.
$ac_objext \
15165 conftest
$ac_exeext conftest.
$ac_ext
15166 LIBS
=$ac_check_lib_save_LIBS
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
15169 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
15170 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
15171 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
15176 rm -f core conftest.err conftest.
$ac_objext \
15177 conftest
$ac_exeext conftest.
$ac_ext
15178 LIBS
="$ac_xsave_LIBS"
15180 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
15181 # to get the SysV transport functions.
15182 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
15184 # The nsl library prevents programs from opening the X display
15185 # on Irix 5.2, according to T.E. Dickey.
15186 # The functions gethostbyname, getservbyname, and inet_addr are
15187 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
15188 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
15189 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
15193 if test $ac_cv_func_gethostbyname = no
; then
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
15195 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
15196 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
15197 $as_echo_n "(cached) " >&6
15199 ac_check_lib_save_LIBS
=$LIBS
15201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15204 /* Override any GCC internal prototype to avoid an error.
15205 Use char because int might match the return type of a GCC
15206 builtin and then its argument prototype would still apply. */
15210 char gethostbyname ();
15214 return gethostbyname ();
15219 if ac_fn_c_try_link
"$LINENO"; then :
15220 ac_cv_lib_nsl_gethostbyname
=yes
15222 ac_cv_lib_nsl_gethostbyname
=no
15224 rm -f core conftest.err conftest.
$ac_objext \
15225 conftest
$ac_exeext conftest.
$ac_ext
15226 LIBS
=$ac_check_lib_save_LIBS
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
15229 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
15230 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
15231 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15234 if test $ac_cv_lib_nsl_gethostbyname = no
; then
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
15236 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
15237 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
15238 $as_echo_n "(cached) " >&6
15240 ac_check_lib_save_LIBS
=$LIBS
15242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15245 /* Override any GCC internal prototype to avoid an error.
15246 Use char because int might match the return type of a GCC
15247 builtin and then its argument prototype would still apply. */
15251 char gethostbyname ();
15255 return gethostbyname ();
15260 if ac_fn_c_try_link
"$LINENO"; then :
15261 ac_cv_lib_bsd_gethostbyname
=yes
15263 ac_cv_lib_bsd_gethostbyname
=no
15265 rm -f core conftest.err conftest.
$ac_objext \
15266 conftest
$ac_exeext conftest.
$ac_ext
15267 LIBS
=$ac_check_lib_save_LIBS
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
15270 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
15271 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
15272 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
15278 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15279 # socket/setsockopt and other routines are undefined under SCO ODT
15280 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15281 # on later versions), says Simon Leinen: it contains gethostby*
15282 # variants that don't use the name server (or something). -lsocket
15283 # must be given before -lnsl if both are needed. We assume that
15284 # if connect needs -lnsl, so does gethostbyname.
15285 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
15286 if test "x$ac_cv_func_connect" = xyes
; then :
15290 if test $ac_cv_func_connect = no
; then
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
15292 $as_echo_n "checking for connect in -lsocket... " >&6; }
15293 if ${ac_cv_lib_socket_connect+:} false
; then :
15294 $as_echo_n "(cached) " >&6
15296 ac_check_lib_save_LIBS
=$LIBS
15297 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15301 /* Override any GCC internal prototype to avoid an error.
15302 Use char because int might match the return type of a GCC
15303 builtin and then its argument prototype would still apply. */
15316 if ac_fn_c_try_link
"$LINENO"; then :
15317 ac_cv_lib_socket_connect
=yes
15319 ac_cv_lib_socket_connect
=no
15321 rm -f core conftest.err conftest.
$ac_objext \
15322 conftest
$ac_exeext conftest.
$ac_ext
15323 LIBS
=$ac_check_lib_save_LIBS
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
15326 $as_echo "$ac_cv_lib_socket_connect" >&6; }
15327 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
15328 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15333 # Guillermo Gomez says -lposix is necessary on A/UX.
15334 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
15335 if test "x$ac_cv_func_remove" = xyes
; then :
15339 if test $ac_cv_func_remove = no
; then
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
15341 $as_echo_n "checking for remove in -lposix... " >&6; }
15342 if ${ac_cv_lib_posix_remove+:} false
; then :
15343 $as_echo_n "(cached) " >&6
15345 ac_check_lib_save_LIBS
=$LIBS
15346 LIBS
="-lposix $LIBS"
15347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15348 /* end confdefs.h. */
15350 /* Override any GCC internal prototype to avoid an error.
15351 Use char because int might match the return type of a GCC
15352 builtin and then its argument prototype would still apply. */
15365 if ac_fn_c_try_link
"$LINENO"; then :
15366 ac_cv_lib_posix_remove
=yes
15368 ac_cv_lib_posix_remove
=no
15370 rm -f core conftest.err conftest.
$ac_objext \
15371 conftest
$ac_exeext conftest.
$ac_ext
15372 LIBS
=$ac_check_lib_save_LIBS
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
15375 $as_echo "$ac_cv_lib_posix_remove" >&6; }
15376 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
15377 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15382 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15383 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
15384 if test "x$ac_cv_func_shmat" = xyes
; then :
15388 if test $ac_cv_func_shmat = no
; then
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
15390 $as_echo_n "checking for shmat in -lipc... " >&6; }
15391 if ${ac_cv_lib_ipc_shmat+:} false
; then :
15392 $as_echo_n "(cached) " >&6
15394 ac_check_lib_save_LIBS
=$LIBS
15396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15399 /* Override any GCC internal prototype to avoid an error.
15400 Use char because int might match the return type of a GCC
15401 builtin and then its argument prototype would still apply. */
15414 if ac_fn_c_try_link
"$LINENO"; then :
15415 ac_cv_lib_ipc_shmat
=yes
15417 ac_cv_lib_ipc_shmat
=no
15419 rm -f core conftest.err conftest.
$ac_objext \
15420 conftest
$ac_exeext conftest.
$ac_ext
15421 LIBS
=$ac_check_lib_save_LIBS
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
15424 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
15425 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
15426 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15432 # Check for libraries that X11R6 Xt/Xaw programs need.
15433 ac_save_LDFLAGS
=$LDFLAGS
15434 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15435 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15436 # check for ICE first), but we must link in the order -lSM -lICE or
15437 # we get undefined symbols. So assume we have SM if we have ICE.
15438 # These have to be linked with before -lX11, unlike the other
15439 # libraries we check for below, so use a different variable.
15440 # John Interrante, Karl Berry
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
15442 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
15443 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
15444 $as_echo_n "(cached) " >&6
15446 ac_check_lib_save_LIBS
=$LIBS
15447 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15451 /* Override any GCC internal prototype to avoid an error.
15452 Use char because int might match the return type of a GCC
15453 builtin and then its argument prototype would still apply. */
15457 char IceConnectionNumber ();
15461 return IceConnectionNumber ();
15466 if ac_fn_c_try_link
"$LINENO"; then :
15467 ac_cv_lib_ICE_IceConnectionNumber
=yes
15469 ac_cv_lib_ICE_IceConnectionNumber
=no
15471 rm -f core conftest.err conftest.
$ac_objext \
15472 conftest
$ac_exeext conftest.
$ac_ext
15473 LIBS
=$ac_check_lib_save_LIBS
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
15476 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
15477 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
15478 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15481 LDFLAGS
=$ac_save_LDFLAGS
15487 ac_cpp
='$CXXCPP $CPPFLAGS'
15488 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15489 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15490 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15491 if test -z "$CXX"; then
15492 if test -n "$CCC"; then
15495 if test -n "$ac_tool_prefix"; then
15496 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15499 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15501 $as_echo_n "checking for $ac_word... " >&6; }
15502 if ${ac_cv_prog_CXX+:} false
; then :
15503 $as_echo_n "(cached) " >&6
15505 if test -n "$CXX"; then
15506 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15509 for as_dir
in $PATH
15512 test -z "$as_dir" && as_dir
=.
15513 for ac_exec_ext
in '' $ac_executable_extensions; do
15514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15515 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15525 CXX
=$ac_cv_prog_CXX
15526 if test -n "$CXX"; then
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
15528 $as_echo "$CXX" >&6; }
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15531 $as_echo "no" >&6; }
15535 test -n "$CXX" && break
15538 if test -z "$CXX"; then
15540 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15542 # Extract the first word of "$ac_prog", so it can be a program name with args.
15543 set dummy
$ac_prog; ac_word
=$2
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15545 $as_echo_n "checking for $ac_word... " >&6; }
15546 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
15547 $as_echo_n "(cached) " >&6
15549 if test -n "$ac_ct_CXX"; then
15550 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15553 for as_dir
in $PATH
15556 test -z "$as_dir" && as_dir
=.
15557 for ac_exec_ext
in '' $ac_executable_extensions; do
15558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15559 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15569 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15570 if test -n "$ac_ct_CXX"; then
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15572 $as_echo "$ac_ct_CXX" >&6; }
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15575 $as_echo "no" >&6; }
15579 test -n "$ac_ct_CXX" && break
15582 if test "x$ac_ct_CXX" = x
; then
15585 case $cross_compiling:$ac_tool_warned in
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15589 ac_tool_warned
=yes ;;
15597 # Provide some information about the compiler.
15598 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
15601 for ac_option
in --version -v -V -qversion; do
15602 { { ac_try
="$ac_compiler $ac_option >&5"
15603 case "(($ac_try" in
15604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15605 *) ac_try_echo=$ac_try;;
15607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15608 $as_echo "$ac_try_echo"; } >&5
15609 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15611 if test -s conftest.err; then
15613 ... rest of stderr output deleted ...
15614 10q' conftest.err >conftest.er1
15615 cat conftest.er1 >&5
15617 rm -f conftest.er1 conftest.err
15618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15619 test $ac_status = 0; }
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
15623 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15624 if ${ac_cv_cxx_compiler_gnu+:} false; then :
15625 $as_echo_n "(cached) " >&6
15627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15641 if ac_fn_cxx_try_compile "$LINENO"; then :
15642 ac_compiler_gnu=yes
15646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15647 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
15651 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15652 if test $ac_compiler_gnu = yes; then
15657 ac_test_CXXFLAGS=${CXXFLAGS+set}
15658 ac_save_CXXFLAGS=$CXXFLAGS
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
15660 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
15661 if ${ac_cv_prog_cxx_g+:} false; then :
15662 $as_echo_n "(cached) " >&6
15664 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15665 ac_cxx_werror_flag=yes
15666 ac_cv_prog_cxx_g=no
15668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15669 /* end confdefs.h. */
15679 if ac_fn_cxx_try_compile "$LINENO"; then :
15680 ac_cv_prog_cxx_g=yes
15683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15684 /* end confdefs.h. */
15694 if ac_fn_cxx_try_compile "$LINENO"; then :
15697 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15710 if ac_fn_cxx_try_compile "$LINENO"; then :
15711 ac_cv_prog_cxx_g=yes
15713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15718 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
15721 $as_echo "$ac_cv_prog_cxx_g" >&6; }
15722 if test "$ac_test_CXXFLAGS" = set; then
15723 CXXFLAGS=$ac_save_CXXFLAGS
15724 elif test $ac_cv_prog_cxx_g = yes; then
15725 if test "$GXX" = yes; then
15731 if test "$GXX" = yes; then
15738 ac_cpp='$CPP $CPPFLAGS'
15739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15743 depcc="$CXX" am_compiler_list=
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15746 $as_echo_n "checking dependency style of $depcc... " >&6; }
15747 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
15748 $as_echo_n "(cached) " >&6
15750 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15751 # We make a subdir and do the tests there. Otherwise we can end up
15752 # making bogus files that we don't know about and never remove. For
15753 # instance it was reported that on HP-UX the gcc test will end up
15754 # making a dummy file named 'D' -- because '-MD' means "put the output
15756 rm -rf conftest.dir
15758 # Copy depcomp to subdir because otherwise we won't find it if we're
15759 # using a relative directory.
15760 cp "$am_depcomp" conftest.dir
15762 # We will build objects and dependencies in a subdirectory because
15763 # it helps to detect inapplicable dependency modes. For instance
15764 # both Tru64's cc and ICC support -MD to output dependencies as a
15765 # side effect of compilation, but ICC will put the dependencies in
15766 # the current directory while Tru64 will put them in the object
15770 am_cv_CXX_dependencies_compiler_type=none
15771 if test "$am_compiler_list" = ""; then
15772 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
15774 am__universal=false
15775 case " $depcc " in #(
15776 *\ -arch\ *\ -arch\ *) am__universal=true ;;
15779 for depmode in $am_compiler_list; do
15780 # Setup a source with many dependencies, because some compilers
15781 # like to wrap large dependency lists on column 80 (with \), and
15782 # we should not choose a depcomp mode which is confused by this.
15784 # We need to recreate these files for each test, as the compiler may
15785 # overwrite some of them when testing with obscure command lines.
15786 # This happens at least with the AIX C compiler.
15788 for i in 1 2 3 4 5 6; do
15789 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15790 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
15791 # Solaris 10 /bin/sh.
15792 echo '/* dummy */' > sub/conftst$i.h
15794 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15796 # We check with '-c' and '-o' for the sake of the "dashmstdout"
15797 # mode. It turns out that the SunPro C++ compiler does not properly
15798 # handle '-M -o', and we need to detect this. Also, some Intel
15799 # versions had trouble with output in subdirs.
15800 am__obj=sub/conftest.${OBJEXT-o}
15801 am__minus_obj="-o $am__obj"
15804 # This depmode causes a compiler race in universal mode.
15805 test "$am__universal" = false || continue
15808 # After this tag, mechanisms are not by side-effect, so they'll
15809 # only be used when explicitly requested.
15810 if test "x$enable_dependency_tracking" = xyes; then
15816 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
15817 # This compiler won't grok '-c -o', but also, the minuso test has
15818 # not run yet. These depmodes are late enough in the game, and
15819 # so weak that their functioning should not be impacted.
15820 am__obj=conftest.${OBJEXT-o}
15825 if depmode=$depmode \
15826 source=sub/conftest.c object=$am__obj \
15827 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15828 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15829 >/dev/null 2>conftest.err &&
15830 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15831 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15832 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15833 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15834 # icc doesn't choke on unknown options, it will just issue warnings
15835 # or remarks (even with -Werror). So we grep stderr for any message
15836 # that says an option was ignored or not supported.
15837 # When given -MP, icc 7.0 and 7.1 complain thusly:
15838 # icc: Command line warning: ignoring option '-M'; no argument required
15839 # The diagnosis changed in icc 8.0:
15840 # icc: Command line remark: option '-MP' not supported
15841 if (grep 'ignoring option' conftest.err ||
15842 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15843 am_cv_CXX_dependencies_compiler_type=$depmode
15850 rm -rf conftest.dir
15852 am_cv_CXX_dependencies_compiler_type=none
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15857 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15858 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15861 test "x$enable_dependency_tracking" != xno \
15862 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15863 am__fastdepCXX_TRUE=
15864 am__fastdepCXX_FALSE='#'
15866 am__fastdepCXX_TRUE='#'
15867 am__fastdepCXX_FALSE=
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
15871 $as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
15872 if ${kpse_cv_warning_cxxflags+:} false; then :
15873 $as_echo_n "(cached) " >&6
15875 if test "x$GXX" = xyes; then
15876 kpse_cv_warning_cxxflags=
15877 kpse_warn_strings="-Wno-write-strings"
15878 if test "x$enable_compiler_warnings" != xno; then
15879 kpse_cv_warning_cxxflags="-Wreturn-type"
15880 case `$CXX -dumpversion` in #(
15881 3.* | 4.[012345].*) :
15882 kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #(
15886 case `$CXX -dumpversion` in #(
15888 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #(
15892 if test "x$enable_compiler_warnings" != xmin; then
15893 kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags"
15894 if test "x$enable_compiler_warnings" != xyes; then
15895 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
15896 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align"
15897 kpse_warn_strings="-Wwrite-strings"
15898 if test "x$enable_compiler_warnings" != xmax; then
15899 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow"
15904 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings"
15905 elif test "x$enable_compiler_warnings" = xno; then
15906 kpse_cv_warning_cxxflags=
15908 kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5
15912 $as_echo "$kpse_cv_warning_cxxflags" >&6; }
15913 WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags
15919 func_stripname_cnf ()
15922 .*) func_stripname_result=`$ECHO "$3" |
$SED "s%^$1%%; s%\\\\$2\$%%"`;;
15923 *) func_stripname_result=`$ECHO "$3" |
$SED "s%^$1%%; s%$2\$%%"`;;
15925 } # func_stripname_cnf
15927 if test -n "$CXX" && ( test no != "$CXX" &&
15928 ( (test g++ = "$CXX" && `g
++ -v >/dev
/null
2>&1` ) ||
15929 (test g++ != "$CXX"))); then
15931 ac_cpp='$CXXCPP $CPPFLAGS'
15932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
15936 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15937 if test -z "$CXXCPP"; then
15938 if ${ac_cv_prog_CXXCPP+:} false; then :
15939 $as_echo_n "(cached) " >&6
15941 # Double quotes because CXXCPP needs to be expanded
15942 for CXXCPP in "$CXX -E" "/lib/cpp"
15944 ac_preproc_ok=false
15945 for ac_cxx_preproc_warn_flag in '' yes
15947 # Use a header file that comes with gcc, so configuring glibc
15948 # with a fresh cross-compiler works.
15949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15950 # <limits.h> exists even on freestanding compilers.
15951 # On the NeXT, cc -E runs the code through the compiler's parser,
15952 # not just through cpp. "Syntax error" is here to catch this case.
15953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15954 /* end confdefs.h. */
15956 # include <limits.h>
15958 # include <assert.h>
15962 if ac_fn_cxx_try_cpp "$LINENO"; then :
15965 # Broken: fails on valid input.
15968 rm -f conftest.err conftest.i conftest.$ac_ext
15970 # OK, works on sane cases. Now check whether nonexistent headers
15971 # can be detected and how.
15972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15973 /* end confdefs.h. */
15974 #include <ac_nonexistent.h>
15976 if ac_fn_cxx_try_cpp "$LINENO"; then :
15977 # Broken: success on invalid input.
15980 # Passes both tests.
15984 rm -f conftest.err conftest.i conftest.$ac_ext
15987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15988 rm -f conftest.i conftest.err conftest.
$ac_ext
15989 if $ac_preproc_ok; then :
15994 ac_cv_prog_CXXCPP
=$CXXCPP
15997 CXXCPP
=$ac_cv_prog_CXXCPP
15999 ac_cv_prog_CXXCPP
=$CXXCPP
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
16002 $as_echo "$CXXCPP" >&6; }
16003 ac_preproc_ok
=false
16004 for ac_cxx_preproc_warn_flag
in '' yes
16006 # Use a header file that comes with gcc, so configuring glibc
16007 # with a fresh cross-compiler works.
16008 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16009 # <limits.h> exists even on freestanding compilers.
16010 # On the NeXT, cc -E runs the code through the compiler's parser,
16011 # not just through cpp. "Syntax error" is here to catch this case.
16012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16013 /* end confdefs.h. */
16015 # include <limits.h>
16017 # include <assert.h>
16021 if ac_fn_cxx_try_cpp
"$LINENO"; then :
16024 # Broken: fails on valid input.
16027 rm -f conftest.err conftest.i conftest.
$ac_ext
16029 # OK, works on sane cases. Now check whether nonexistent headers
16030 # can be detected and how.
16031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16032 /* end confdefs.h. */
16033 #include <ac_nonexistent.h>
16035 if ac_fn_cxx_try_cpp
"$LINENO"; then :
16036 # Broken: success on invalid input.
16039 # Passes both tests.
16043 rm -f conftest.err conftest.i conftest.
$ac_ext
16046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16047 rm -f conftest.i conftest.err conftest.
$ac_ext
16048 if $ac_preproc_ok; then :
16051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16053 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
16054 See \`config.log' for more details" "$LINENO" 5; }
16058 ac_cpp
='$CPP $CPPFLAGS'
16059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16064 _lt_caught_CXX_error
=yes
16068 ac_cpp
='$CXXCPP $CPPFLAGS'
16069 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16070 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16071 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16073 archive_cmds_need_lc_CXX
=no
16074 allow_undefined_flag_CXX
=
16075 always_export_symbols_CXX
=no
16076 archive_expsym_cmds_CXX
=
16077 compiler_needs_object_CXX
=no
16078 export_dynamic_flag_spec_CXX
=
16079 hardcode_direct_CXX
=no
16080 hardcode_direct_absolute_CXX
=no
16081 hardcode_libdir_flag_spec_CXX
=
16082 hardcode_libdir_separator_CXX
=
16083 hardcode_minus_L_CXX
=no
16084 hardcode_shlibpath_var_CXX
=unsupported
16085 hardcode_automatic_CXX
=no
16086 inherit_rpath_CXX
=no
16088 module_expsym_cmds_CXX
=
16089 link_all_deplibs_CXX
=unknown
16090 old_archive_cmds_CXX
=$old_archive_cmds
16091 reload_flag_CXX
=$reload_flag
16092 reload_cmds_CXX
=$reload_cmds
16093 no_undefined_flag_CXX
=
16094 whole_archive_flag_spec_CXX
=
16095 enable_shared_with_static_runtimes_CXX
=no
16097 # Source file extension for C++ test sources.
16100 # Object file extension for compiled C++ test sources.
16104 # No sense in running all these tests if we already determined that
16105 # the CXX compiler isn't working. Some variables (like enable_shared)
16106 # are currently assumed to apply to all compilers on this platform,
16107 # and will be corrupted by setting them based on a non-working compiler.
16108 if test yes != "$_lt_caught_CXX_error"; then
16109 # Code to be used in simple compile tests
16110 lt_simple_compile_test_code
="int some_variable = 0;"
16112 # Code to be used in simple link tests
16113 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
16115 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16122 # If no C compiler was specified, use CC.
16125 # If no C compiler flags were specified, use CFLAGS.
16126 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16128 # Allow CC to be a program name with arguments.
16132 # save warnings/boilerplate of simple test code
16133 ac_outfile
=conftest.
$ac_objext
16134 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16135 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16136 _lt_compiler_boilerplate
=`cat conftest.err`
16139 ac_outfile
=conftest.
$ac_objext
16140 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16141 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16142 _lt_linker_boilerplate
=`cat conftest.err`
16146 # Allow CC to be a program name with arguments.
16148 lt_save_CFLAGS
=$CFLAGS
16152 lt_save_with_gnu_ld
=$with_gnu_ld
16153 lt_save_path_LD
=$lt_cv_path_LD
16154 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16155 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
16157 $as_unset lt_cv_prog_gnu_ld
16159 if test -n "${lt_cv_path_LDCXX+set}"; then
16160 lt_cv_path_LD
=$lt_cv_path_LDCXX
16162 $as_unset lt_cv_path_LD
16164 test -z "${LDCXX+set}" || LD
=$LDCXX
16169 func_cc_basename
$compiler
16170 cc_basename
=$func_cc_basename_result
16173 if test -n "$compiler"; then
16174 # We don't want -fno-exception when compiling C++ code, so set the
16175 # no_builtin_flag separately
16176 if test yes = "$GXX"; then
16177 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
16179 lt_prog_compiler_no_builtin_flag_CXX
=
16182 if test yes = "$GXX"; then
16183 # Set up default GNU C++ configuration
16187 # Check whether --with-gnu-ld was given.
16188 if test "${with_gnu_ld+set}" = set; then :
16189 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
16195 if test yes = "$GCC"; then
16196 # Check if gcc -print-prog-name=ld gives a path.
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16198 $as_echo_n "checking for ld used by $CC... " >&6; }
16201 # gcc leaves a trailing carriage return, which upsets mingw
16202 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16204 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16207 # Accept absolute paths.
16209 re_direlt
='/[^/][^/]*/\.\./'
16210 # Canonicalize the pathname of ld
16211 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16212 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
16213 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16215 test -z "$LD" && LD
=$ac_prog
16218 # If it fails, then pretend we aren't using GCC.
16222 # If it is relative, then search for the first ld in PATH.
16223 with_gnu_ld
=unknown
16226 elif test yes = "$with_gnu_ld"; then
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16228 $as_echo_n "checking for GNU ld... " >&6; }
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16231 $as_echo_n "checking for non-GNU ld... " >&6; }
16233 if ${lt_cv_path_LD+:} false
; then :
16234 $as_echo_n "(cached) " >&6
16236 if test -z "$LD"; then
16237 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
16238 for ac_dir
in $PATH; do
16240 test -z "$ac_dir" && ac_dir
=.
16241 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16242 lt_cv_path_LD
=$ac_dir/$ac_prog
16243 # Check to see if the program is GNU ld. I'd rather use --version,
16244 # but apparently some variants of GNU ld only accept -v.
16245 # Break only if it was the GNU/non-GNU ld that we prefer.
16246 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16247 *GNU
* |
*'with BFD'*)
16248 test no
!= "$with_gnu_ld" && break
16251 test yes != "$with_gnu_ld" && break
16258 lt_cv_path_LD
=$LD # Let the user override the test with a path.
16263 if test -n "$LD"; then
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16265 $as_echo "$LD" >&6; }
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16268 $as_echo "no" >&6; }
16270 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16272 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16273 if ${lt_cv_prog_gnu_ld+:} false
; then :
16274 $as_echo_n "(cached) " >&6
16276 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16277 case `$LD -v 2>&1 </dev/null` in
16278 *GNU
* |
*'with BFD'*)
16279 lt_cv_prog_gnu_ld
=yes
16282 lt_cv_prog_gnu_ld
=no
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16287 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
16288 with_gnu_ld
=$lt_cv_prog_gnu_ld
16296 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16297 # archiving commands below assume that GNU ld is being used.
16298 if test yes = "$with_gnu_ld"; then
16299 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16300 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'
16302 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16303 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
16305 # If archive_cmds runs LD, not CC, wlarc should be empty
16306 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16307 # investigate it a little bit more. (MM)
16310 # ancient GNU ld didn't support --whole-archive et. al.
16311 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
16312 $GREP 'no-whole-archive' > /dev
/null
; then
16313 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16315 whole_archive_flag_spec_CXX
=
16321 # A generic and very simple default shared library creation
16322 # command for GNU C++ for the case where it uses the native
16323 # linker, instead of GNU ld. If possible, this setting should
16324 # overridden to take advantage of the native linker features on
16325 # the platform it is being used on.
16326 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16329 # Commands to make compiler produce verbose output that lists
16330 # what "hidden" libraries, object files and flags are used when
16331 # linking a shared library.
16332 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16340 # PORTME: fill in a description of your system's C++ link characteristics
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16342 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16346 # FIXME: insert proper C++ library support
16350 if test ia64
= "$host_cpu"; then
16351 # On IA64, the linker does run time linking by default, so we don't
16352 # have to do anything special.
16353 aix_use_runtimelinking
=no
16354 exp_sym_flag
='-Bexport'
16357 aix_use_runtimelinking
=no
16359 # Test if we are trying to use run time linking or normal
16360 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16361 # have runtime linking enabled, and use it for executables.
16362 # For shared libraries, we enable/disable runtime linking
16363 # depending on the kind of the shared library created -
16364 # when "with_aix_soname,aix_use_runtimelinking" is:
16365 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
16366 # "aix,yes" lib.so shared, rtl:yes, for executables
16367 # lib.a static archive
16368 # "both,no" lib.so.V(shr.o) shared, rtl:yes
16369 # lib.a(lib.so.V) shared, rtl:no, for executables
16370 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
16371 # lib.a(lib.so.V) shared, rtl:no
16372 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
16373 # lib.a static archive
16374 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16375 for ld_flag
in $LDFLAGS; do
16378 aix_use_runtimelinking
=yes
16383 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
16384 # With aix-soname=svr4, we create the lib.so.V shared archives only,
16385 # so we don't have lib.a shared libs to link our executables.
16386 # We have to force runtime linking in this case.
16387 aix_use_runtimelinking
=yes
16388 LDFLAGS
="$LDFLAGS -Wl,-brtl"
16393 exp_sym_flag
='-bexport'
16394 no_entry_flag
='-bnoentry'
16397 # When large executables or shared objects are built, AIX ld can
16398 # have problems creating the table of contents. If linking a library
16399 # or program results in "error TOC overflow" add -mminimal-toc to
16400 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16401 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16403 archive_cmds_CXX
=''
16404 hardcode_direct_CXX
=yes
16405 hardcode_direct_absolute_CXX
=yes
16406 hardcode_libdir_separator_CXX
=':'
16407 link_all_deplibs_CXX
=yes
16408 file_list_spec_CXX
='$wl-f,'
16409 case $with_aix_soname,$aix_use_runtimelinking in
16410 aix
,*) ;; # no import file
16411 svr4
,* |
*,yes) # use import file
16412 # The Import File defines what to hardcode.
16413 hardcode_direct_CXX
=no
16414 hardcode_direct_absolute_CXX
=no
16418 if test yes = "$GXX"; then
16419 case $host_os in aix4.
[012]|aix4.
[012].
*)
16420 # We only want to do this on AIX 4.2 and lower, the check
16421 # below for broken collect2 doesn't work under 4.3+
16422 collect2name
=`$CC -print-prog-name=collect2`
16423 if test -f "$collect2name" &&
16424 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
16426 # We have reworked collect2
16429 # We have old collect2
16430 hardcode_direct_CXX
=unsupported
16431 # It fails to find uninstalled libraries when the uninstalled
16432 # path is not listed in the libpath. Setting hardcode_minus_L
16433 # to unsupported forces relinking
16434 hardcode_minus_L_CXX
=yes
16435 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16436 hardcode_libdir_separator_CXX
=
16439 shared_flag
='-shared'
16440 if test yes = "$aix_use_runtimelinking"; then
16441 shared_flag
=$shared_flag' $wl-G'
16443 # Need to ensure runtime linking is disabled for the traditional
16444 # shared library, or the linker may eventually find shared libraries
16445 # /with/ Import File - we do not want to mix them.
16446 shared_flag_aix
='-shared'
16447 shared_flag_svr4
='-shared $wl-G'
16450 if test ia64
= "$host_cpu"; then
16451 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16452 # chokes on -Wl,-G. The following line is correct:
16455 if test yes = "$aix_use_runtimelinking"; then
16456 shared_flag
='$wl-G'
16458 shared_flag
='$wl-bM:SRE'
16460 shared_flag_aix
='$wl-bM:SRE'
16461 shared_flag_svr4
='$wl-G'
16465 export_dynamic_flag_spec_CXX
='$wl-bexpall'
16466 # It seems that -bexpall does not export symbols beginning with
16467 # underscore (_), so it is better to generate a list of symbols to
16469 always_export_symbols_CXX
=yes
16470 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
16471 # Warning - without using the other runtime loading flags (-brtl),
16472 # -berok will link without error, but may produce a broken library.
16473 # The "-G" linker flag allows undefined symbols.
16474 no_undefined_flag_CXX
='-bernotok'
16475 # Determine the default libpath from the value encoded in an empty
16477 if test set = "${lt_cv_aix_libpath+set}"; then
16478 aix_libpath
=$lt_cv_aix_libpath
16480 if ${lt_cv_aix_libpath__CXX+:} false
; then :
16481 $as_echo_n "(cached) " >&6
16483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16494 if ac_fn_cxx_try_link
"$LINENO"; then :
16496 lt_aix_libpath_sed
='
16497 /Import File Strings/,/^$/ {
16499 s/^0 *\([^ ]*\) *$/\1/
16503 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16504 # Check for a 64-bit object if we didn't find anything.
16505 if test -z "$lt_cv_aix_libpath__CXX"; then
16506 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16509 rm -f core conftest.err conftest.
$ac_objext \
16510 conftest
$ac_exeext conftest.
$ac_ext
16511 if test -z "$lt_cv_aix_libpath__CXX"; then
16512 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
16517 aix_libpath
=$lt_cv_aix_libpath__CXX
16520 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
16522 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
16524 if test ia64
= "$host_cpu"; then
16525 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
16526 allow_undefined_flag_CXX
="-z nodefs"
16527 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"
16529 # Determine the default libpath from the value encoded in an
16530 # empty executable.
16531 if test set = "${lt_cv_aix_libpath+set}"; then
16532 aix_libpath
=$lt_cv_aix_libpath
16534 if ${lt_cv_aix_libpath__CXX+:} false
; then :
16535 $as_echo_n "(cached) " >&6
16537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16548 if ac_fn_cxx_try_link
"$LINENO"; then :
16550 lt_aix_libpath_sed
='
16551 /Import File Strings/,/^$/ {
16553 s/^0 *\([^ ]*\) *$/\1/
16557 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16558 # Check for a 64-bit object if we didn't find anything.
16559 if test -z "$lt_cv_aix_libpath__CXX"; then
16560 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16563 rm -f core conftest.err conftest.
$ac_objext \
16564 conftest
$ac_exeext conftest.
$ac_ext
16565 if test -z "$lt_cv_aix_libpath__CXX"; then
16566 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
16571 aix_libpath
=$lt_cv_aix_libpath__CXX
16574 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
16575 # Warning - without using the other run time loading flags,
16576 # -berok will link without error, but may produce a broken library.
16577 no_undefined_flag_CXX
=' $wl-bernotok'
16578 allow_undefined_flag_CXX
=' $wl-berok'
16579 if test yes = "$with_gnu_ld"; then
16580 # We only use this code for GNU lds that support --whole-archive.
16581 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
16583 # Exported symbols can be pulled into shared objects from archives
16584 whole_archive_flag_spec_CXX
='$convenience'
16586 archive_cmds_need_lc_CXX
=yes
16587 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
16588 # -brtl affects multiple linker settings, -berok does not and is overridden later
16589 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
16590 if test svr4
!= "$with_aix_soname"; then
16591 # This is similar to how AIX traditionally builds its shared
16592 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
16593 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'
16595 if test aix
!= "$with_aix_soname"; then
16596 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'
16598 # used by -dlpreopen to get the symbols
16599 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
16601 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
16607 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16608 allow_undefined_flag_CXX
=unsupported
16609 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16610 # support --undefined. This deserves some investigation. FIXME
16611 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16618 case $cc_basename in
16620 # FIXME: insert proper C++ library support
16626 cygwin
* | mingw
* | pw32
* | cegcc
*)
16627 case $GXX,$cc_basename in
16630 # hardcode_libdir_flag_spec is actually meaningless, as there is
16631 # no search path for DLLs.
16632 hardcode_libdir_flag_spec_CXX
=' '
16633 allow_undefined_flag_CXX
=unsupported
16634 always_export_symbols_CXX
=yes
16635 file_list_spec_CXX
='@'
16636 # Tell ltmain to make .lib files, not .a files.
16638 # Tell ltmain to make .dll files, not .so files.
16640 # FIXME: Setting linknames here is a bad hack.
16641 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
16642 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16643 cp "$export_symbols" "$output_objdir/$soname.def";
16644 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
16646 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
16648 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
16650 # The linker will not automatically build a static lib if we build a DLL.
16651 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
16652 enable_shared_with_static_runtimes_CXX
=yes
16654 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
16655 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
16656 lt_tool_outputfile="@TOOL_OUTPUT@"~
16657 case $lt_outputfile in
16660 lt_outputfile=$lt_outputfile.exe
16661 lt_tool_outputfile=$lt_tool_outputfile.exe
16664 func_to_tool_file "$lt_outputfile"~
16665 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
16666 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
16667 $RM "$lt_outputfile.manifest";
16672 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16673 # as there is no search path for DLLs.
16674 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16675 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
16676 allow_undefined_flag_CXX
=unsupported
16677 always_export_symbols_CXX
=no
16678 enable_shared_with_static_runtimes_CXX
=yes
16680 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
16681 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'
16682 # If the export-symbols file already is a .def file, use it as
16683 # is; otherwise, prepend EXPORTS...
16684 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16685 cp $export_symbols $output_objdir/$soname.def;
16687 echo EXPORTS > $output_objdir/$soname.def;
16688 cat $export_symbols >> $output_objdir/$soname.def;
16690 $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'
16697 darwin
* | rhapsody
*)
16700 archive_cmds_need_lc_CXX
=no
16701 hardcode_direct_CXX
=no
16702 hardcode_automatic_CXX
=yes
16703 hardcode_shlibpath_var_CXX
=unsupported
16704 if test yes = "$lt_cv_ld_force_load"; then
16705 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\"`'
16708 whole_archive_flag_spec_CXX
=''
16710 link_all_deplibs_CXX
=yes
16711 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
16712 case $cc_basename in
16713 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
16714 *) _lt_dar_can_shared
=$GCC ;;
16716 if test yes = "$_lt_dar_can_shared"; then
16717 output_verbose_link_cmd
=func_echo_all
16718 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"
16719 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
16720 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"
16721 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"
16722 if test yes != "$lt_cv_apple_cc_single_mod"; then
16723 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"
16724 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"
16734 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16735 hardcode_minus_L_CXX
=yes
16736 allow_undefined_flag_CXX
=unsupported
16738 archive_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 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
16743 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16744 emximp -o $lib $output_objdir/$libname.def'
16745 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16746 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16747 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16748 $ECHO EXPORTS >> $output_objdir/$libname.def~
16749 prefix_cmds="$SED"~
16750 if test EXPORTS = "`$SED 1q $export_symbols`"; then
16751 prefix_cmds="$prefix_cmds -e 1d";
16753 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
16754 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
16755 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16756 emximp -o $lib $output_objdir/$libname.def'
16757 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
16758 enable_shared_with_static_runtimes_CXX
=yes
16762 case $cc_basename in
16764 # FIXME: insert proper C++ library support
16768 # Green Hills C++ Compiler
16769 # FIXME: insert proper C++ library support
16773 # FIXME: insert proper C++ library support
16780 # C++ shared libraries reported to be fairly broken before
16786 archive_cmds_need_lc_CXX
=no
16789 freebsd
* | dragonfly
*)
16790 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16796 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16797 link_all_deplibs_CXX
=yes
16801 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
16802 hardcode_libdir_separator_CXX
=:
16803 export_dynamic_flag_spec_CXX
='$wl-E'
16804 hardcode_direct_CXX
=yes
16805 hardcode_minus_L_CXX
=yes # Not in the search PATH,
16806 # but as the default
16807 # location of the library.
16809 case $cc_basename in
16811 # FIXME: insert proper C++ library support
16815 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'
16816 # Commands to make compiler produce verbose output that lists
16817 # what "hidden" libraries, object files and flags are used when
16818 # linking a shared library.
16820 # There doesn't appear to be a way to prevent this compiler from
16821 # explicitly linking system object files so we need to strip them
16822 # from the output so that they don't get included in the library
16824 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"'
16827 if test yes = "$GXX"; then
16828 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'
16830 # FIXME: insert proper C++ library support
16838 if test no
= "$with_gnu_ld"; then
16839 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
16840 hardcode_libdir_separator_CXX
=:
16846 export_dynamic_flag_spec_CXX
='$wl-E'
16852 hardcode_direct_CXX
=no
16853 hardcode_shlibpath_var_CXX
=no
16856 hardcode_direct_CXX
=yes
16857 hardcode_direct_absolute_CXX
=yes
16858 hardcode_minus_L_CXX
=yes # Not in the search PATH,
16859 # but as the default
16860 # location of the library.
16864 case $cc_basename in
16866 # FIXME: insert proper C++ library support
16872 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16875 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16878 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16881 # Commands to make compiler produce verbose output that lists
16882 # what "hidden" libraries, object files and flags are used when
16883 # linking a shared library.
16885 # There doesn't appear to be a way to prevent this compiler from
16886 # explicitly linking system object files so we need to strip them
16887 # from the output so that they don't get included in the library
16889 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"'
16892 if test yes = "$GXX"; then
16893 if test no
= "$with_gnu_ld"; then
16896 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16899 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16902 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'
16907 # FIXME: insert proper C++ library support
16915 hardcode_direct_CXX
=no
16916 hardcode_shlibpath_var_CXX
=no
16917 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16918 export_dynamic_flag_spec_CXX
='$wl-E'
16919 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16920 # Instead, shared libraries are loaded at an image base (0x10000000 by
16921 # default) and relocated if they conflict, which is a slow very memory
16922 # consuming and fragmenting process. To avoid this, we pick a random,
16923 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16924 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16925 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'
16926 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'
16929 case $cc_basename in
16932 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'
16934 # Archives containing C++ object files must be created using
16935 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16936 # necessary to make sure instantiated templates are included
16938 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
16941 if test yes = "$GXX"; then
16942 if test no
= "$with_gnu_ld"; then
16943 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'
16945 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'
16948 link_all_deplibs_CXX
=yes
16951 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16952 hardcode_libdir_separator_CXX
=:
16953 inherit_rpath_CXX
=yes
16956 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16957 case $cc_basename in
16959 # Kuck and Associates, Inc. (KAI) C++ Compiler
16961 # KCC will only create a shared library if the output file
16962 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16963 # to its proper name (with version) after linking.
16964 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'
16965 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'
16966 # Commands to make compiler produce verbose output that lists
16967 # what "hidden" libraries, object files and flags are used when
16968 # linking a shared library.
16970 # There doesn't appear to be a way to prevent this compiler from
16971 # explicitly linking system object files so we need to strip them
16972 # from the output so that they don't get included in the library
16974 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"'
16976 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16977 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
16979 # Archives containing C++ object files must be created using
16980 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16981 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
16986 # version 8.0 and above of icpc choke on multiply defined symbols
16987 # if we add $predep_objects and $postdep_objects, however 7.1 and
16988 # earlier do not add the objects themselves.
16989 case `$CC -V 2>&1` in
16991 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16992 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'
16994 *) # Version 8.0 or newer
16997 ia64
*) tmp_idyn
=' -i_dynamic';;
16999 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17000 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'
17003 archive_cmds_need_lc_CXX
=no
17004 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
17005 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17006 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
17009 # Portland Group C++ compiler
17011 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
17012 prelink_cmds_CXX
='tpldir=Template.dir~
17014 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
17015 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
17016 old_archive_cmds_CXX
='tpldir=Template.dir~
17018 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
17019 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
17021 archive_cmds_CXX
='tpldir=Template.dir~
17023 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17024 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17025 archive_expsym_cmds_CXX
='tpldir=Template.dir~
17027 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17028 $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'
17030 *) # Version 6 and above use weak symbols
17031 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17032 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'
17036 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
17037 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17038 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'
17042 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17043 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'
17045 runpath_var
=LD_RUN_PATH
17046 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
17047 hardcode_libdir_separator_CXX
=:
17049 # Commands to make compiler produce verbose output that lists
17050 # what "hidden" libraries, object files and flags are used when
17051 # linking a shared library.
17053 # There doesn't appear to be a way to prevent this compiler from
17054 # explicitly linking system object files so we need to strip them
17055 # from the output so that they don't get included in the library
17057 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'
17059 xl
* | mpixl
* | bgxl
*)
17060 # IBM XL 8.0 on PPC, with GNU ld
17061 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17062 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17063 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17064 if test yes = "$supports_anon_versioning"; then
17065 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
17066 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17067 echo "local: *; };" >> $output_objdir/$libname.ver~
17068 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
17072 case `$CC -V 2>&1 | sed 5q` in
17075 no_undefined_flag_CXX
=' -zdefs'
17076 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17077 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'
17078 hardcode_libdir_flag_spec_CXX
='-R$libdir'
17079 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'
17080 compiler_needs_object_CXX
=yes
17082 # Not sure whether something based on
17083 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
17085 output_verbose_link_cmd
='func_echo_all'
17087 # Archives containing C++ object files must be created using
17088 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17089 # necessary to make sure instantiated templates are included
17091 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
17099 # FIXME: insert proper C++ library support
17104 # FIXME: insert proper C++ library support
17109 case $cc_basename in
17111 # FIXME: insert proper C++ library support
17115 # FIXME: insert proper C++ library support
17122 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17123 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17125 hardcode_libdir_flag_spec_CXX
='-R$libdir'
17126 hardcode_direct_CXX
=yes
17127 hardcode_shlibpath_var_CXX
=no
17129 # Workaround some broken pre-1.5 toolchains
17130 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17137 openbsd
* | bitrig
*)
17138 if test -f /usr
/libexec
/ld.so
; then
17139 hardcode_direct_CXX
=yes
17140 hardcode_shlibpath_var_CXX
=no
17141 hardcode_direct_absolute_CXX
=yes
17142 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17143 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
17144 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
17145 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
17146 export_dynamic_flag_spec_CXX
='$wl-E'
17147 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
17149 output_verbose_link_cmd
=func_echo_all
17155 osf3
* | osf4
* | osf5
*)
17156 case $cc_basename in
17158 # Kuck and Associates, Inc. (KAI) C++ Compiler
17160 # KCC will only create a shared library if the output file
17161 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17162 # to its proper name (with version) after linking.
17163 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'
17165 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
17166 hardcode_libdir_separator_CXX
=:
17168 # Archives containing C++ object files must be created using
17169 # the KAI C++ compiler.
17171 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
17172 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
17176 # Rational C++ 2.4.1
17177 # FIXME: insert proper C++ library support
17183 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
17184 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'
17185 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17188 allow_undefined_flag_CXX
=' -expect_unresolved \*'
17189 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'
17190 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17191 echo "-hidden">> $lib.exp~
17192 $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~
17194 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
17198 hardcode_libdir_separator_CXX
=:
17200 # Commands to make compiler produce verbose output that lists
17201 # what "hidden" libraries, object files and flags are used when
17202 # linking a shared library.
17204 # There doesn't appear to be a way to prevent this compiler from
17205 # explicitly linking system object files so we need to strip them
17206 # from the output so that they don't get included in the library
17208 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"'
17211 if test yes,no
= "$GXX,$with_gnu_ld"; then
17212 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
17215 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'
17218 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'
17222 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17223 hardcode_libdir_separator_CXX
=:
17225 # Commands to make compiler produce verbose output that lists
17226 # what "hidden" libraries, object files and flags are used when
17227 # linking a shared library.
17228 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17231 # FIXME: insert proper C++ library support
17239 # FIXME: insert proper C++ library support
17244 case $cc_basename in
17247 # FIXME: insert proper C++ library support
17252 # FIXME: insert proper C++ library support
17256 # FIXME: insert proper C++ library support
17263 case $cc_basename in
17265 # Sun C++ 4.2, 5.x and Centerline C++
17266 archive_cmds_need_lc_CXX
=yes
17267 no_undefined_flag_CXX
=' -zdefs'
17268 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17269 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17270 $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'
17272 hardcode_libdir_flag_spec_CXX
='-R$libdir'
17273 hardcode_shlibpath_var_CXX
=no
17275 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17277 # The compiler driver will combine and reorder linker options,
17278 # but understands '-z linker_flag'.
17279 # Supported since Solaris 2.6 (maybe 2.5.1?)
17280 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
17283 link_all_deplibs_CXX
=yes
17285 output_verbose_link_cmd
='func_echo_all'
17287 # Archives containing C++ object files must be created using
17288 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17289 # necessary to make sure instantiated templates are included
17291 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
17294 # Green Hills C++ Compiler
17295 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17297 # The C++ compiler must be used to create the archive.
17298 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17301 # GNU C++ compiler with Solaris linker
17302 if test yes,no
= "$GXX,$with_gnu_ld"; then
17303 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
17304 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
17305 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17306 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17307 $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'
17309 # Commands to make compiler produce verbose output that lists
17310 # what "hidden" libraries, object files and flags are used when
17311 # linking a shared library.
17312 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17314 # g++ 2.7 appears to require '-G' NOT '-shared' on this
17316 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17317 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17318 $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'
17320 # Commands to make compiler produce verbose output that lists
17321 # what "hidden" libraries, object files and flags are used when
17322 # linking a shared library.
17323 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17326 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
17328 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17330 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
17338 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17339 no_undefined_flag_CXX
='$wl-z,text'
17340 archive_cmds_need_lc_CXX
=no
17341 hardcode_shlibpath_var_CXX
=no
17342 runpath_var
='LD_RUN_PATH'
17344 case $cc_basename in
17346 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17347 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17350 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17351 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17356 sysv5
* | sco3.2v5
* | sco5v6
*)
17357 # Note: We CANNOT use -z defs as we might desire, because we do not
17358 # link with -lc, and that would cause any symbols used from libc to
17359 # always be unresolved, which means just about no library would
17360 # ever link correctly. If we're not using GNU ld we use -z text
17361 # though, which does catch some bad symbols but isn't as heavy-handed
17363 no_undefined_flag_CXX
='$wl-z,text'
17364 allow_undefined_flag_CXX
='$wl-z,nodefs'
17365 archive_cmds_need_lc_CXX
=no
17366 hardcode_shlibpath_var_CXX
=no
17367 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
17368 hardcode_libdir_separator_CXX
=':'
17369 link_all_deplibs_CXX
=yes
17370 export_dynamic_flag_spec_CXX
='$wl-Bexport'
17371 runpath_var
='LD_RUN_PATH'
17373 case $cc_basename in
17375 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17376 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17377 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
17378 '"$old_archive_cmds_CXX"
17379 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
17380 '"$reload_cmds_CXX"
17383 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17384 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17390 case $cc_basename in
17392 # NonStop-UX NCC 3.20
17393 # FIXME: insert proper C++ library support
17397 # FIXME: insert proper C++ library support
17404 # FIXME: insert proper C++ library support
17409 # FIXME: insert proper C++ library support
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17415 $as_echo "$ld_shlibs_CXX" >&6; }
17416 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
17422 ## There is no encapsulation within the following macros, do not change
17423 ## the running order or otherwise move them around unless you know exactly
17424 ## what you are doing...
17425 # Dependencies to place before and after the object being linked:
17426 predep_objects_CXX
=
17427 postdep_objects_CXX
=
17430 compiler_lib_search_path_CXX
=
17432 cat > conftest.
$ac_ext <<_LT_EOF
17436 Foo (void) { a = 0; }
17443 _lt_libdeps_save_CFLAGS
=$CFLAGS
17444 case "$CC $CFLAGS " in #(
17445 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
17446 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
17447 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
17450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17451 (eval $ac_compile) 2>&5
17453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17454 test $ac_status = 0; }; then
17455 # Parse the compiler output and extract the necessary
17456 # objects, libraries and library flags.
17458 # Sentinel used to keep track of whether or not we are before
17459 # the conftest object file.
17460 pre_test_object_deps_done
=no
17462 for p
in `eval "$output_verbose_link_cmd"`; do
17466 # Some compilers place space between "-{L,R}" and the path.
17467 # Remove the space.
17468 if test x-L
= "$p" ||
17469 test x-R
= "$p"; then
17474 # Expand the sysroot to ease extracting the directories later.
17475 if test -z "$prev"; then
17477 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
17478 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
17479 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
17483 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
17485 if test no
= "$pre_test_object_deps_done"; then
17488 # Internal compiler library paths should come after those
17489 # provided the user. The postdeps already come after the
17490 # user supplied libs so there is no need to process them.
17491 if test -z "$compiler_lib_search_path_CXX"; then
17492 compiler_lib_search_path_CXX
=$prev$p
17494 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
17497 # The "-l" case would never come before the object being
17498 # linked, so don't bother handling this case.
17501 if test -z "$postdeps_CXX"; then
17502 postdeps_CXX
=$prev$p
17504 postdeps_CXX
="${postdeps_CXX} $prev$p"
17510 *.lto.
$objext) ;; # Ignore GCC LTO objects
17512 # This assumes that the test object file only shows up
17513 # once in the compiler output.
17514 if test "$p" = "conftest.$objext"; then
17515 pre_test_object_deps_done
=yes
17519 if test no
= "$pre_test_object_deps_done"; then
17520 if test -z "$predep_objects_CXX"; then
17521 predep_objects_CXX
=$p
17523 predep_objects_CXX
="$predep_objects_CXX $p"
17526 if test -z "$postdep_objects_CXX"; then
17527 postdep_objects_CXX
=$p
17529 postdep_objects_CXX
="$postdep_objects_CXX $p"
17534 *) ;; # Ignore the rest.
17542 echo "libtool.m4: error: problem compiling CXX test program"
17545 $RM -f confest.
$objext
17546 CFLAGS
=$_lt_libdeps_save_CFLAGS
17548 # PORTME: override above test on systems where it is broken
17551 # Interix 3.5 installs completely hosed .la files for C++, so rather than
17552 # hack all around it, let's just trust "g++" to DTRT.
17553 predep_objects_CXX
=
17554 postdep_objects_CXX
=
17560 case " $postdeps_CXX " in
17561 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
17563 compiler_lib_search_dirs_CXX
=
17564 if test -n "${compiler_lib_search_path_CXX}"; then
17565 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
17598 lt_prog_compiler_wl_CXX
=
17599 lt_prog_compiler_pic_CXX
=
17600 lt_prog_compiler_static_CXX
=
17603 # C++ specific cases for pic, static, wl, etc.
17604 if test yes = "$GXX"; then
17605 lt_prog_compiler_wl_CXX
='-Wl,'
17606 lt_prog_compiler_static_CXX
='-static'
17610 # All AIX code is PIC.
17611 if test ia64
= "$host_cpu"; then
17612 # AIX 5 now supports IA64 processor
17613 lt_prog_compiler_static_CXX
='-Bstatic'
17615 lt_prog_compiler_pic_CXX
='-fPIC'
17621 # see comment about AmigaOS4 .so support
17622 lt_prog_compiler_pic_CXX
='-fPIC'
17625 # FIXME: we need at least 68020 code to build shared libraries, but
17626 # adding the '-m68020' flag to GCC prevents building anything better,
17628 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
17633 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17634 # PIC is the default for these OSes.
17636 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
17637 # This hack is so that the source file can tell whether it is being
17638 # built for inclusion in a dll (and should export symbols for example).
17639 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17640 # (--disable-auto-import) libraries
17641 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
17644 lt_prog_compiler_static_CXX
='$wl-static'
17648 darwin
* | rhapsody
*)
17649 # PIC is the default on this platform
17650 # Common symbols not allowed in MH_DYLIB files
17651 lt_prog_compiler_pic_CXX
='-fno-common'
17654 # DJGPP does not support shared libraries at all
17655 lt_prog_compiler_pic_CXX
=
17658 # PIC is the default for Haiku.
17659 # The "-static" flag exists, but is broken.
17660 lt_prog_compiler_static_CXX
=
17663 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17664 # Instead, we relocate shared libraries at runtime.
17667 if test -d /usr
/nec
; then
17668 lt_prog_compiler_pic_CXX
=-Kconform_pic
17672 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17673 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17674 # sets the default TLS model and affects inlining.
17679 lt_prog_compiler_pic_CXX
='-fPIC'
17684 # QNX uses GNU C++, but need to define -shared option too, otherwise
17685 # it will coredump.
17686 lt_prog_compiler_pic_CXX
='-fPIC -shared'
17689 lt_prog_compiler_pic_CXX
='-fPIC'
17695 # All AIX code is PIC.
17696 if test ia64
= "$host_cpu"; then
17697 # AIX 5 now supports IA64 processor
17698 lt_prog_compiler_static_CXX
='-Bstatic'
17700 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
17704 case $cc_basename in
17706 # Green Hills C++ Compiler
17707 # _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"
17711 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
17712 # This hack is so that the source file can tell whether it is being
17713 # built for inclusion in a dll (and should export symbols for example).
17714 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
17717 case $cc_basename in
17719 lt_prog_compiler_pic_CXX
='-KPIC'
17722 # Green Hills C++ Compiler
17723 lt_prog_compiler_pic_CXX
='-pic'
17729 freebsd
* | dragonfly
*)
17730 # FreeBSD uses GNU C++
17732 hpux9
* | hpux10
* | hpux11
*)
17733 case $cc_basename in
17735 lt_prog_compiler_wl_CXX
='-Wl,'
17736 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
17737 if test ia64
!= "$host_cpu"; then
17738 lt_prog_compiler_pic_CXX
='+Z'
17742 lt_prog_compiler_wl_CXX
='-Wl,'
17743 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
17749 lt_prog_compiler_pic_CXX
='+Z'
17758 # This is c89, which is MS Visual C++ (no shared libs)
17759 # Anyone wants to do a port?
17761 irix5
* | irix6
* | nonstopux
*)
17762 case $cc_basename in
17764 lt_prog_compiler_wl_CXX
='-Wl,'
17765 lt_prog_compiler_static_CXX
='-non_shared'
17766 # CC pic flag -KPIC is the default.
17772 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17773 case $cc_basename in
17776 lt_prog_compiler_wl_CXX
='--backend -Wl,'
17777 lt_prog_compiler_pic_CXX
='-fPIC'
17780 # old Intel C++ for x86_64, which still supported -KPIC.
17781 lt_prog_compiler_wl_CXX
='-Wl,'
17782 lt_prog_compiler_pic_CXX
='-KPIC'
17783 lt_prog_compiler_static_CXX
='-static'
17786 # Intel C++, used to be incompatible with GCC.
17787 # ICC 10 doesn't accept -KPIC any more.
17788 lt_prog_compiler_wl_CXX
='-Wl,'
17789 lt_prog_compiler_pic_CXX
='-fPIC'
17790 lt_prog_compiler_static_CXX
='-static'
17793 # Portland Group C++ compiler
17794 lt_prog_compiler_wl_CXX
='-Wl,'
17795 lt_prog_compiler_pic_CXX
='-fpic'
17796 lt_prog_compiler_static_CXX
='-Bstatic'
17800 # Make sure the PIC flag is empty. It appears that all Alpha
17801 # Linux and Compaq Tru64 Unix objects are PIC.
17802 lt_prog_compiler_pic_CXX
=
17803 lt_prog_compiler_static_CXX
='-non_shared'
17805 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
17806 # IBM XL 8.0, 9.0 on PPC and BlueGene
17807 lt_prog_compiler_wl_CXX
='-Wl,'
17808 lt_prog_compiler_pic_CXX
='-qpic'
17809 lt_prog_compiler_static_CXX
='-qstaticlink'
17812 case `$CC -V 2>&1 | sed 5q` in
17815 lt_prog_compiler_pic_CXX
='-KPIC'
17816 lt_prog_compiler_static_CXX
='-Bstatic'
17817 lt_prog_compiler_wl_CXX
='-Qoption ld '
17828 case $cc_basename in
17830 lt_prog_compiler_pic_CXX
='-W c,exportall'
17839 # QNX uses GNU C++, but need to define -shared option too, otherwise
17840 # it will coredump.
17841 lt_prog_compiler_pic_CXX
='-fPIC -shared'
17843 osf3
* | osf4
* | osf5
*)
17844 case $cc_basename in
17846 lt_prog_compiler_wl_CXX
='--backend -Wl,'
17849 # Rational C++ 2.4.1
17850 lt_prog_compiler_pic_CXX
='-pic'
17853 # Digital/Compaq C++
17854 lt_prog_compiler_wl_CXX
='-Wl,'
17855 # Make sure the PIC flag is empty. It appears that all Alpha
17856 # Linux and Compaq Tru64 Unix objects are PIC.
17857 lt_prog_compiler_pic_CXX
=
17858 lt_prog_compiler_static_CXX
='-non_shared'
17867 case $cc_basename in
17869 # Sun C++ 4.2, 5.x and Centerline C++
17870 lt_prog_compiler_pic_CXX
='-KPIC'
17871 lt_prog_compiler_static_CXX
='-Bstatic'
17872 lt_prog_compiler_wl_CXX
='-Qoption ld '
17875 # Green Hills C++ Compiler
17876 lt_prog_compiler_pic_CXX
='-PIC'
17883 case $cc_basename in
17886 lt_prog_compiler_pic_CXX
='-pic'
17887 lt_prog_compiler_static_CXX
='-Bstatic'
17891 lt_prog_compiler_pic_CXX
='-pic'
17897 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17898 case $cc_basename in
17900 lt_prog_compiler_wl_CXX
='-Wl,'
17901 lt_prog_compiler_pic_CXX
='-KPIC'
17902 lt_prog_compiler_static_CXX
='-Bstatic'
17907 case $cc_basename in
17909 # NonStop-UX NCC 3.20
17910 lt_prog_compiler_pic_CXX
='-KPIC'
17919 lt_prog_compiler_can_build_shared_CXX
=no
17925 # For platforms that do not support PIC, -DPIC is meaningless:
17927 lt_prog_compiler_pic_CXX
=
17930 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17935 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17936 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
17937 $as_echo_n "(cached) " >&6
17939 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
17942 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
17943 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
17946 # Check to make sure the PIC flag actually works.
17948 if test -n "$lt_prog_compiler_pic_CXX"; then
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17950 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17951 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
17952 $as_echo_n "(cached) " >&6
17954 lt_cv_prog_compiler_pic_works_CXX
=no
17955 ac_outfile
=conftest.
$ac_objext
17956 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17957 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
17958 # Insert the option either (1) after the last *FLAGS variable, or
17959 # (2) before a word containing "conftest.", or (3) at the end.
17960 # Note that $ac_compile itself does not contain backslashes and begins
17961 # with a dollar sign (not a hyphen), so the echo should work correctly.
17962 # The option is referenced via a variable to avoid confusing sed.
17963 lt_compile
=`echo "$ac_compile" | $SED \
17964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17966 -e 's:$: $lt_compiler_flag:'`
17967 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17968 (eval "$lt_compile" 2>conftest.err
)
17970 cat conftest.err
>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 if (exit $ac_status) && test -s "$ac_outfile"; then
17973 # The compiler can only warn and ignore the option if not recognized
17974 # So say no if there are warnings other than the usual output.
17975 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17976 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17977 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17978 lt_cv_prog_compiler_pic_works_CXX
=yes
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17985 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17987 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
17988 case $lt_prog_compiler_pic_CXX in
17990 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
17993 lt_prog_compiler_pic_CXX
=
17994 lt_prog_compiler_can_build_shared_CXX
=no
18004 # Check to make sure the static flag actually works.
18006 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18008 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18009 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
18010 $as_echo_n "(cached) " >&6
18012 lt_cv_prog_compiler_static_works_CXX
=no
18013 save_LDFLAGS
=$LDFLAGS
18014 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18015 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
18016 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18017 # The linker can only warn and ignore the option if not recognized
18018 # So say no if there are warnings
18019 if test -s conftest.err
; then
18020 # Append any errors to the config.log.
18021 cat conftest.err
1>&5
18022 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
18023 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18024 if diff conftest.exp conftest.er2
>/dev
/null
; then
18025 lt_cv_prog_compiler_static_works_CXX
=yes
18028 lt_cv_prog_compiler_static_works_CXX
=yes
18032 LDFLAGS
=$save_LDFLAGS
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
18036 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
18038 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
18041 lt_prog_compiler_static_CXX
=
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18048 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18049 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
18050 $as_echo_n "(cached) " >&6
18052 lt_cv_prog_compiler_c_o_CXX
=no
18053 $RM -r conftest
2>/dev
/null
18057 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18059 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18060 # Insert the option either (1) after the last *FLAGS variable, or
18061 # (2) before a word containing "conftest.", or (3) at the end.
18062 # Note that $ac_compile itself does not contain backslashes and begins
18063 # with a dollar sign (not a hyphen), so the echo should work correctly.
18064 lt_compile
=`echo "$ac_compile" | $SED \
18065 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18066 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18067 -e 's:$: $lt_compiler_flag:'`
18068 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18069 (eval "$lt_compile" 2>out
/conftest.err
)
18071 cat out
/conftest.err
>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18075 # The compiler can only warn and ignore the option if not recognized
18076 # So say no if there are warnings
18077 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
18078 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18079 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18080 lt_cv_prog_compiler_c_o_CXX
=yes
18085 # SGI C++ compiler will create directory out/ii_files/ for
18086 # template instantiation
18087 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
18088 $RM out
/* && rmdir out
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18095 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18100 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18101 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
18102 $as_echo_n "(cached) " >&6
18104 lt_cv_prog_compiler_c_o_CXX
=no
18105 $RM -r conftest
2>/dev
/null
18109 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18111 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18112 # Insert the option either (1) after the last *FLAGS variable, or
18113 # (2) before a word containing "conftest.", or (3) at the end.
18114 # Note that $ac_compile itself does not contain backslashes and begins
18115 # with a dollar sign (not a hyphen), so the echo should work correctly.
18116 lt_compile
=`echo "$ac_compile" | $SED \
18117 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18118 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18119 -e 's:$: $lt_compiler_flag:'`
18120 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18121 (eval "$lt_compile" 2>out
/conftest.err
)
18123 cat out
/conftest.err
>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18127 # The compiler can only warn and ignore the option if not recognized
18128 # So say no if there are warnings
18129 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
18130 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18131 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18132 lt_cv_prog_compiler_c_o_CXX
=yes
18137 # SGI C++ compiler will create directory out/ii_files/ for
18138 # template instantiation
18139 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
18140 $RM out
/* && rmdir out
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18147 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18152 hard_links
=nottested
18153 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
18154 # do not overwrite the value of need_locks provided by the user
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
18156 $as_echo_n "checking if we can lock with hard links... " >&6; }
18159 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18161 ln conftest.a conftest.b
2>&5 || hard_links
=no
18162 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
18164 $as_echo "$hard_links" >&6; }
18165 if test no
= "$hard_links"; then
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
18167 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18177 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18179 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18180 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18183 # If we're using GNU nm, then we don't want the "-C" option.
18184 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
18185 # Without the "-l" option, or with the "-B" option, AIX nm treats
18186 # weak defined symbols like other global defined symbols, whereas
18187 # GNU nm marks them as "W".
18188 # While the 'weak' keyword is ignored in the Export File, we need
18189 # it in the Import File for the 'aix-soname' feature, so we have
18190 # to replace the "-B" option with "-P" for AIX nm.
18191 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
18192 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'
18194 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'
18198 export_symbols_cmds_CXX
=$ltdll_cmds
18200 cygwin
* | mingw
* | cegcc
*)
18201 case $cc_basename in
18203 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
18206 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'
18207 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
18212 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18217 $as_echo "$ld_shlibs_CXX" >&6; }
18218 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
18220 with_gnu_ld_CXX
=$with_gnu_ld
18228 # Do we need to explicitly link libc?
18230 case "x$archive_cmds_need_lc_CXX" in
18232 # Assume -lc should be added
18233 archive_cmds_need_lc_CXX
=yes
18235 if test yes,yes = "$GCC,$enable_shared"; then
18236 case $archive_cmds_CXX in
18238 # FIXME: we may have to deal with multi-command sequences.
18241 # Test whether the compiler implicitly links with -lc since on some
18242 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18243 # to ld, don't add -lc before -lgcc.
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18245 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18246 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
18247 $as_echo_n "(cached) " >&6
18250 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18253 (eval $ac_compile) 2>&5
18255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18256 test $ac_status = 0; } 2>conftest.err
; then
18259 libobjs
=conftest.
$ac_objext
18261 wl
=$lt_prog_compiler_wl_CXX
18262 pic_flag
=$lt_prog_compiler_pic_CXX
18268 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
18269 allow_undefined_flag_CXX
=
18270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18271 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18274 test $ac_status = 0; }
18276 lt_cv_archive_cmds_need_lc_CXX
=no
18278 lt_cv_archive_cmds_need_lc_CXX
=yes
18280 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
18282 cat conftest.err
1>&5
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
18288 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
18289 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18358 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18360 library_names_spec
=
18361 libname_spec
='lib$name'
18365 postuninstall_cmds
=
18369 shlibpath_overrides_runpath
=unknown
18371 dynamic_linker
="$host_os ld.so"
18372 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18373 need_lib_prefix
=unknown
18374 hardcode_into_libs
=no
18376 # when you set need_version to no, make sure it does not cause -set_version
18377 # flags to be left without arguments
18378 need_version
=unknown
18384 version_type
=linux
# correct to gnu/linux during the next big refactor
18385 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
18386 shlibpath_var
=LIBPATH
18388 # AIX 3 has no versioning support, so we append a major version to the name.
18389 soname_spec
='$libname$release$shared_ext$major'
18393 version_type
=linux
# correct to gnu/linux during the next big refactor
18396 hardcode_into_libs
=yes
18397 if test ia64
= "$host_cpu"; then
18398 # AIX 5 supports IA64
18399 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
18400 shlibpath_var
=LD_LIBRARY_PATH
18402 # With GCC up to 2.95.x, collect2 would create an import file
18403 # for dependence libraries. The import file would start with
18404 # the line '#! .'. This would cause the generated library to
18405 # depend on '.', always an invalid library. This was fixed in
18406 # development snapshots of GCC prior to 3.0.
18408 aix4 | aix4.
[01] | aix4.
[01].
*)
18409 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18411 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
18414 can_build_shared
=no
18418 # Using Import Files as archive members, it is possible to support
18419 # filename-based versioning of shared library archives on AIX. While
18420 # this would work for both with and without runtime linking, it will
18421 # prevent static linking of such archives. So we do filename-based
18422 # shared library versioning with .so extension only, which is used
18423 # when both runtime linking and shared linking is enabled.
18424 # Unfortunately, runtime linking may impact performance, so we do
18425 # not want this to be the default eventually. Also, we use the
18426 # versioned .so libs for executables only if there is the -brtl
18427 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
18428 # To allow for filename-based versioning support, we need to create
18429 # libNAME.so.V as an archive file, containing:
18430 # *) an Import File, referring to the versioned filename of the
18431 # archive as well as the shared archive member, telling the
18432 # bitwidth (32 or 64) of that shared object, and providing the
18433 # list of exported symbols of that shared object, eventually
18434 # decorated with the 'weak' keyword
18435 # *) the shared object with the F_LOADONLY flag set, to really avoid
18436 # it being seen by the linker.
18437 # At run time we better use the real file rather than another symlink,
18438 # but for link time we create the symlink libNAME.so -> libNAME.so.V
18440 case $with_aix_soname,$aix_use_runtimelinking in
18441 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
18442 # soname into executable. Probably we can add versioning support to
18443 # collect2, so additional links can be useful in future.
18444 aix
,yes) # traditional libtool
18445 dynamic_linker
='AIX unversionable lib.so'
18446 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18447 # instead of lib<name>.a to let people know that these are not
18448 # typical AIX shared libraries.
18449 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18451 aix
,no
) # traditional AIX only
18452 dynamic_linker
='AIX lib.a(lib.so.V)'
18453 # We preserve .a as extension for shared libraries through AIX4.2
18454 # and later when we are not doing run time linking.
18455 library_names_spec
='$libname$release.a $libname.a'
18456 soname_spec
='$libname$release$shared_ext$major'
18458 svr4
,*) # full svr4 only
18459 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
18460 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
18461 # We do not specify a path in Import Files, so LIBPATH fires.
18462 shlibpath_overrides_runpath
=yes
18464 *,yes) # both, prefer svr4
18465 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
18466 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
18467 # unpreferred sharedlib libNAME.a needs extra handling
18468 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"'
18469 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"'
18470 # We do not specify a path in Import Files, so LIBPATH fires.
18471 shlibpath_overrides_runpath
=yes
18473 *,no
) # both, prefer aix
18474 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
18475 library_names_spec
='$libname$release.a $libname.a'
18476 soname_spec
='$libname$release$shared_ext$major'
18477 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
18478 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)'
18479 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"'
18482 shlibpath_var
=LIBPATH
18489 # Since July 2007 AmigaOS4 officially supports .so libraries.
18490 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18491 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18494 library_names_spec
='$libname.ixlibrary $libname.a'
18495 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18496 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'
18502 library_names_spec
='$libname$shared_ext'
18503 dynamic_linker
="$host_os ld.so"
18504 shlibpath_var
=LIBRARY_PATH
18508 version_type
=linux
# correct to gnu/linux during the next big refactor
18510 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18511 soname_spec
='$libname$release$shared_ext$major'
18512 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18513 shlibpath_var
=LD_LIBRARY_PATH
18514 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18515 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18516 # the default ld.so.conf also contains /usr/contrib/lib and
18517 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18518 # libtool to hard-code these into programs
18521 cygwin
* | mingw
* | pw32
* | cegcc
*)
18522 version_type
=windows
18527 case $GCC,$cc_basename in
18530 library_names_spec
='$libname.dll.a'
18531 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18532 postinstall_cmds
='base_file=`basename \$file`~
18533 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18534 dldir=$destdir/`dirname \$dlpath`~
18535 test -d \$dldir || mkdir -p \$dldir~
18536 $install_prog $dir/$dlname \$dldir/$dlname~
18537 chmod a+x \$dldir/$dlname~
18538 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18539 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18541 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18542 dlpath=$dir/\$dldll~
18544 shlibpath_overrides_runpath
=yes
18548 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18549 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18553 # MinGW DLLs use traditional 'lib' prefix
18554 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18557 # pw32 DLLs use 'pw' prefix rather than 'lib'
18558 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18561 dynamic_linker
='Win32 ld.exe'
18566 libname_spec
='$name'
18567 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18568 library_names_spec
='$libname.dll.lib'
18572 sys_lib_search_path_spec
=
18575 for lt_path
in $LIB
18578 # Let DOS variable expansion print the short 8.3 style file name.
18579 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
18580 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
18583 # Convert to MSYS style.
18584 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18587 # Convert to unix form, then to dos form, then back to unix form
18588 # but this time dos style (no spaces!) so that the unix form looks
18589 # like /cygdrive/c/PROGRA~1:/cygdr...
18590 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
18591 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
18592 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18595 sys_lib_search_path_spec
=$LIB
18596 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
18597 # It is most probably a Windows format PATH.
18598 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18600 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18602 # FIXME: find the short name or the path components, as spaces are
18603 # common. (e.g. "Program Files" -> "PROGRA~1")
18607 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18608 postinstall_cmds
='base_file=`basename \$file`~
18609 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18610 dldir=$destdir/`dirname \$dlpath`~
18611 test -d \$dldir || mkdir -p \$dldir~
18612 $install_prog $dir/$dlname \$dldir/$dlname'
18613 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18614 dlpath=$dir/\$dldll~
18616 shlibpath_overrides_runpath
=yes
18617 dynamic_linker
='Win32 link.exe'
18621 # Assume MSVC wrapper
18622 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
18623 dynamic_linker
='Win32 ld.exe'
18626 # FIXME: first we should search . and the directory the executable is in
18630 darwin
* | rhapsody
*)
18631 dynamic_linker
="$host_os dyld"
18632 version_type
=darwin
18635 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
18636 soname_spec
='$libname$release$major$shared_ext'
18637 shlibpath_overrides_runpath
=yes
18638 shlibpath_var
=DYLD_LIBRARY_PATH
18639 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18641 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18645 version_type
=linux
# correct to gnu/linux during the next big refactor
18648 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18649 soname_spec
='$libname$release$shared_ext$major'
18650 shlibpath_var
=LD_LIBRARY_PATH
18653 freebsd
* | dragonfly
*)
18654 # DragonFly does not have aout. When/if they implement a new
18655 # versioning mechanism, adjust this.
18656 if test -x /usr
/bin
/objformat
; then
18657 objformat
=`/usr/bin/objformat`
18660 freebsd
[23].
*) objformat
=aout
;;
18661 *) objformat
=elf
;;
18664 version_type
=freebsd-
$objformat
18665 case $version_type in
18667 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18668 soname_spec
='$libname$release$shared_ext$major'
18673 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18677 shlibpath_var
=LD_LIBRARY_PATH
18680 shlibpath_overrides_runpath
=yes
18682 freebsd3.
[01]* | freebsdelf3.
[01]*)
18683 shlibpath_overrides_runpath
=yes
18684 hardcode_into_libs
=yes
18686 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18687 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18688 shlibpath_overrides_runpath
=no
18689 hardcode_into_libs
=yes
18691 *) # from 4.6 on, and DragonFly
18692 shlibpath_overrides_runpath
=yes
18693 hardcode_into_libs
=yes
18699 version_type
=linux
# correct to gnu/linux during the next big refactor
18702 dynamic_linker
="$host_os runtime_loader"
18703 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18704 soname_spec
='$libname$release$shared_ext$major'
18705 shlibpath_var
=LIBRARY_PATH
18706 shlibpath_overrides_runpath
=no
18707 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
18708 hardcode_into_libs
=yes
18711 hpux9
* | hpux10
* | hpux11
*)
18712 # Give a soname corresponding to the major version so that dld.sl refuses to
18713 # link against other versions.
18720 hardcode_into_libs
=yes
18721 dynamic_linker
="$host_os dld.so"
18722 shlibpath_var
=LD_LIBRARY_PATH
18723 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18724 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18725 soname_spec
='$libname$release$shared_ext$major'
18726 if test 32 = "$HPUX_IA64_MODE"; then
18727 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18728 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
18730 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18731 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
18736 hardcode_into_libs
=yes
18737 dynamic_linker
="$host_os dld.sl"
18738 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18739 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18740 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18741 soname_spec
='$libname$release$shared_ext$major'
18742 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18743 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18747 dynamic_linker
="$host_os dld.sl"
18748 shlibpath_var
=SHLIB_PATH
18749 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18750 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18751 soname_spec
='$libname$release$shared_ext$major'
18754 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18755 postinstall_cmds
='chmod 555 $lib'
18756 # or fails outright, so override atomically:
18757 install_override_mode
=555
18761 version_type
=linux
# correct to gnu/linux during the next big refactor
18764 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18765 soname_spec
='$libname$release$shared_ext$major'
18766 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18767 shlibpath_var
=LD_LIBRARY_PATH
18768 shlibpath_overrides_runpath
=no
18769 hardcode_into_libs
=yes
18772 irix5
* | irix6
* | nonstopux
*)
18774 nonstopux
*) version_type
=nonstopux
;;
18776 if test yes = "$lt_cv_prog_gnu_ld"; then
18777 version_type
=linux
# correct to gnu/linux during the next big refactor
18784 soname_spec
='$libname$release$shared_ext$major'
18785 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
18787 irix5
* | nonstopux
*)
18788 libsuff
= shlibsuff
=
18791 case $LD in # libtool.m4 will add one of these switches to LD
18792 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18793 libsuff
= shlibsuff
= libmagic
=32-bit;;
18794 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18795 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18796 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18797 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18798 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18802 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18803 shlibpath_overrides_runpath
=no
18804 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
18805 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
18806 hardcode_into_libs
=yes
18809 # No shared lib support for Linux oldld, aout, or coff.
18810 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18815 version_type
=none
# Android doesn't support versioned libraries.
18818 library_names_spec
='$libname$release$shared_ext'
18819 soname_spec
='$libname$release$shared_ext'
18821 shlibpath_var
=LD_LIBRARY_PATH
18822 shlibpath_overrides_runpath
=yes
18824 # This implies no fast_install, which is unacceptable.
18825 # Some rework will be needed to allow for fast_install
18826 # before this can be enabled.
18827 hardcode_into_libs
=yes
18829 dynamic_linker
='Android linker'
18830 # Don't embed -rpath directories since the linker doesn't support them.
18831 hardcode_libdir_flag_spec_CXX
='-L$libdir'
18834 # This must be glibc/ELF.
18835 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
18836 version_type
=linux
# correct to gnu/linux during the next big refactor
18839 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18840 soname_spec
='$libname$release$shared_ext$major'
18841 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18842 shlibpath_var
=LD_LIBRARY_PATH
18843 shlibpath_overrides_runpath
=no
18845 # Some binutils ld are patched to set DT_RUNPATH
18846 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
18847 $as_echo_n "(cached) " >&6
18849 lt_cv_shlibpath_overrides_runpath
=no
18850 save_LDFLAGS
=$LDFLAGS
18851 save_libdir
=$libdir
18852 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
18853 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
18854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18865 if ac_fn_cxx_try_link
"$LINENO"; then :
18866 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
18867 lt_cv_shlibpath_overrides_runpath
=yes
18870 rm -f core conftest.err conftest.
$ac_objext \
18871 conftest
$ac_exeext conftest.
$ac_ext
18872 LDFLAGS
=$save_LDFLAGS
18873 libdir
=$save_libdir
18877 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
18879 # This implies no fast_install, which is unacceptable.
18880 # Some rework will be needed to allow for fast_install
18881 # before this can be enabled.
18882 hardcode_into_libs
=yes
18884 # Ideally, we could use ldconfig to report *all* directores which are
18885 # searched for libraries, however this is still not possible. Aside from not
18886 # being certain /sbin/ldconfig is available, command
18887 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
18888 # even though it is searched at run-time. Try to do the best guess by
18889 # appending ld.so.conf contents (and includes) to the search path.
18890 if test -f /etc
/ld.so.conf
; then
18891 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' ' '`
18892 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18895 # We used to test for /lib/ld.so.1 and disable shared libraries on
18896 # powerpc, because MkLinux only supported shared libraries with the
18897 # GNU dynamic linker. Since this was broken with cross compilers,
18898 # most powerpc-linux boxes support dynamic linking these days and
18899 # people can always --disable-shared, the test was removed, and we
18900 # assume the GNU/Linux dynamic linker is in use.
18901 dynamic_linker
='GNU/Linux ld.so'
18908 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18909 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18910 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18911 dynamic_linker
='NetBSD (a.out) ld.so'
18913 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18914 soname_spec
='$libname$release$shared_ext$major'
18915 dynamic_linker
='NetBSD ld.elf_so'
18917 shlibpath_var
=LD_LIBRARY_PATH
18918 shlibpath_overrides_runpath
=yes
18919 hardcode_into_libs
=yes
18923 version_type
=linux
# correct to gnu/linux during the next big refactor
18924 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18925 shlibpath_var
=LD_LIBRARY_PATH
18926 shlibpath_overrides_runpath
=yes
18933 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18934 soname_spec
='$libname$release$shared_ext$major'
18935 shlibpath_var
=LD_LIBRARY_PATH
18936 shlibpath_overrides_runpath
=no
18937 hardcode_into_libs
=yes
18938 dynamic_linker
='ldqnx.so'
18941 openbsd
* | bitrig
*)
18943 sys_lib_dlsearch_path_spec
=/usr
/lib
18945 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
18950 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18951 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18952 shlibpath_var
=LD_LIBRARY_PATH
18953 shlibpath_overrides_runpath
=yes
18957 libname_spec
='$name'
18958 version_type
=windows
18962 # OS/2 can only load a DLL with a base name of 8 characters or less.
18963 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
18964 v=$($ECHO $release$versuffix | tr -d .-);
18965 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
18966 $ECHO $n$v`$shared_ext'
18967 library_names_spec
='${libname}_dll.$libext'
18968 dynamic_linker
='OS/2 ld.exe'
18969 shlibpath_var
=BEGINLIBPATH
18970 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18971 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18972 postinstall_cmds
='base_file=`basename \$file`~
18973 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
18974 dldir=$destdir/`dirname \$dlpath`~
18975 test -d \$dldir || mkdir -p \$dldir~
18976 $install_prog $dir/$dlname \$dldir/$dlname~
18977 chmod a+x \$dldir/$dlname~
18978 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18979 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18981 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
18982 dlpath=$dir/\$dldll~
18986 osf3
* | osf4
* | osf5
*)
18990 soname_spec
='$libname$release$shared_ext$major'
18991 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18992 shlibpath_var
=LD_LIBRARY_PATH
18993 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18994 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19002 version_type
=linux
# correct to gnu/linux during the next big refactor
19005 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19006 soname_spec
='$libname$release$shared_ext$major'
19007 shlibpath_var
=LD_LIBRARY_PATH
19008 shlibpath_overrides_runpath
=yes
19009 hardcode_into_libs
=yes
19010 # ldd complains unless libraries are executable
19011 postinstall_cmds
='chmod +x $lib'
19016 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19017 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19018 shlibpath_var
=LD_LIBRARY_PATH
19019 shlibpath_overrides_runpath
=yes
19020 if test yes = "$with_gnu_ld"; then
19027 version_type
=linux
# correct to gnu/linux during the next big refactor
19028 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19029 soname_spec
='$libname$release$shared_ext$major'
19030 shlibpath_var
=LD_LIBRARY_PATH
19031 case $host_vendor in
19033 shlibpath_overrides_runpath
=no
19035 runpath_var
=LD_RUN_PATH
19043 shlibpath_overrides_runpath
=no
19044 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19050 if test -d /usr
/nec
; then
19051 version_type
=linux
# correct to gnu/linux during the next big refactor
19052 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
19053 soname_spec
='$libname$shared_ext.$major'
19054 shlibpath_var
=LD_LIBRARY_PATH
19058 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19062 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
19063 soname_spec
='$libname$release$shared_ext$major'
19064 shlibpath_var
=LD_LIBRARY_PATH
19065 shlibpath_overrides_runpath
=yes
19066 hardcode_into_libs
=yes
19067 if test yes = "$with_gnu_ld"; then
19068 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19070 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19073 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19077 sys_lib_dlsearch_path_spec
='/usr/lib'
19081 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
19082 version_type
=linux
# correct to gnu/linux during the next big refactor
19085 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19086 shlibpath_var
=LD_LIBRARY_PATH
19087 shlibpath_overrides_runpath
=no
19088 hardcode_into_libs
=yes
19092 version_type
=linux
# correct to gnu/linux during the next big refactor
19093 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19094 soname_spec
='$libname$release$shared_ext$major'
19095 shlibpath_var
=LD_LIBRARY_PATH
19102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19103 $as_echo "$dynamic_linker" >&6; }
19104 test no
= "$dynamic_linker" && can_build_shared
=no
19106 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19107 if test yes = "$GCC"; then
19108 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19111 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
19112 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
19115 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
19116 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
19119 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
19120 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
19122 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
19123 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
19125 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
19126 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19168 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19169 hardcode_action_CXX
=
19170 if test -n "$hardcode_libdir_flag_spec_CXX" ||
19171 test -n "$runpath_var_CXX" ||
19172 test yes = "$hardcode_automatic_CXX"; then
19174 # We can hardcode non-existent directories.
19175 if test no
!= "$hardcode_direct_CXX" &&
19176 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19177 # have to relink, otherwise we might link with an installed library
19178 # when we should be linking with a yet-to-be-installed one
19179 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
19180 test no
!= "$hardcode_minus_L_CXX"; then
19181 # Linking always hardcodes the temporary library directory.
19182 hardcode_action_CXX
=relink
19184 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19185 hardcode_action_CXX
=immediate
19188 # We cannot hardcode anything, or else we can only hardcode existing
19190 hardcode_action_CXX
=unsupported
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
19193 $as_echo "$hardcode_action_CXX" >&6; }
19195 if test relink
= "$hardcode_action_CXX" ||
19196 test yes = "$inherit_rpath_CXX"; then
19197 # Fast installation is not supported
19198 enable_fast_install
=no
19199 elif test yes = "$shlibpath_overrides_runpath" ||
19200 test no
= "$enable_shared"; then
19201 # Fast installation is not necessary
19202 enable_fast_install
=needless
19211 fi # test -n "$compiler"
19214 CFLAGS
=$lt_save_CFLAGS
19218 with_gnu_ld
=$lt_save_with_gnu_ld
19219 lt_cv_path_LDCXX
=$lt_cv_path_LD
19220 lt_cv_path_LD
=$lt_save_path_LD
19221 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
19222 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
19223 fi # test yes != "$_lt_caught_CXX_error"
19226 ac_cpp
='$CPP $CPPFLAGS'
19227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
19234 $as_echo_n "checking whether ln -s works... " >&6; }
19236 if test "$LN_S" = "ln -s"; then
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19238 $as_echo "yes" >&6; }
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
19241 $as_echo "no, using $LN_S" >&6; }
19245 # Check whether --with-ln-s was given.
19246 if test "${with_ln_s+set}" = set; then :
19247 withval
=$with_ln_s;
19249 if test "x$LN_S" != "xln -s" && test "x$kpse_cv_have_win32" = xno
&& test "x$with_ln_s" != xno
; then
19250 as_fn_error $?
"You could use \`--without-ln-s' to build without working \`ln -s'" "$LINENO" 5
19253 if test "x$enable_native_texlive_build" = xyes
; then
19254 if test "x$datarootdir" = 'x${prefix}/share'; then
19255 datarootdir
='${prefix}'
19256 ac_configure_args
="$ac_configure_args '--datarootdir=$datarootdir'"
19258 if test "x$mandir" = 'x${datarootdir}/man'; then
19259 mandir
='${prefix}/texmf-dist/doc/man'
19260 ac_configure_args
="$ac_configure_args '--mandir=$mandir'"
19262 if test "x$infodir" = 'x${datarootdir}/info'; then
19263 infodir
='${prefix}/texmf-dist/doc/info'
19264 ac_configure_args
="$ac_configure_args '--infodir=$infodir'"
19268 if test "x$enable_web2c" = xyes
&& test "x$with_system_kpathsea" = xyes
; then
19269 if test "x$with_kpathsea_includes" = x
; then
19270 list
="/usr/include /usr/local/include"
19272 list
=$with_kpathsea_includes
19275 for ac_dir
in $list; do
19276 if test -r "$ac_dir/kpathsea/paths.h"; then
19281 if test "x$found" = xno
; then
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: You requested to build \`web2c' using an installed \`kpathsea' version," >&5
19283 $as_echo "$as_me: You requested to build \`web2c' using an installed \`kpathsea' version," >&6;}
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: which requires to locate the <kpathsea/paths.h> header file." >&5
19285 $as_echo "$as_me: which requires to locate the <kpathsea/paths.h> header file." >&6;}
19286 as_fn_error $?
"Sorry, not found under any of: $list *****" "$LINENO" 5
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TeX specific libraries to build" >&5
19293 $as_echo_n "checking for TeX specific libraries to build... " >&6; }
19296 if test -x $srcdir/texk
/kpathsea
/configure
; then
19297 test "x$with_system_kpathsea" != xyes
&& test "x$need_kpathsea" = xyes
&& MAKE_SUBDIRS
="texk/kpathsea $MAKE_SUBDIRS"
19298 CONF_SUBDIRS
="texk/kpathsea $CONF_SUBDIRS"
19300 subdirs
="$subdirs texk/kpathsea"
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE_SUBDIRS" >&5
19306 $as_echo "$MAKE_SUBDIRS" >&6; }
19308 kpse_save_CPPFLAGS
=$CPPFLAGS
19309 kpse_save_LIBS
=$LIBS
19313 if test -n "$ac_tool_prefix"; then
19314 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19315 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19317 $as_echo_n "checking for $ac_word... " >&6; }
19318 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
19319 $as_echo_n "(cached) " >&6
19321 if test -n "$PKG_CONFIG"; then
19322 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
19324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19325 for as_dir
in $PATH
19328 test -z "$as_dir" && as_dir
=.
19329 for ac_exec_ext
in '' $ac_executable_extensions; do
19330 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19331 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
19332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19341 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
19342 if test -n "$PKG_CONFIG"; then
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19344 $as_echo "$PKG_CONFIG" >&6; }
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19347 $as_echo "no" >&6; }
19352 if test -z "$ac_cv_prog_PKG_CONFIG"; then
19353 ac_ct_PKG_CONFIG
=$PKG_CONFIG
19354 # Extract the first word of "pkg-config", so it can be a program name with args.
19355 set dummy pkg-config
; ac_word
=$2
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19357 $as_echo_n "checking for $ac_word... " >&6; }
19358 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false
; then :
19359 $as_echo_n "(cached) " >&6
19361 if test -n "$ac_ct_PKG_CONFIG"; then
19362 ac_cv_prog_ac_ct_PKG_CONFIG
="$ac_ct_PKG_CONFIG" # Let the user override the test.
19364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19365 for as_dir
in $PATH
19368 test -z "$as_dir" && as_dir
=.
19369 for ac_exec_ext
in '' $ac_executable_extensions; do
19370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19371 ac_cv_prog_ac_ct_PKG_CONFIG
="pkg-config"
19372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19381 ac_ct_PKG_CONFIG
=$ac_cv_prog_ac_ct_PKG_CONFIG
19382 if test -n "$ac_ct_PKG_CONFIG"; then
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
19384 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19387 $as_echo "no" >&6; }
19390 if test "x$ac_ct_PKG_CONFIG" = x
; then
19393 case $cross_compiling:$ac_tool_warned in
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19397 ac_tool_warned
=yes ;;
19399 PKG_CONFIG
=$ac_ct_PKG_CONFIG
19402 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
19405 if $PKG_CONFIG kpathsea
; then
19406 KPATHSEA_INCLUDES
=`$PKG_CONFIG kpathsea --cflags`
19407 KPATHSEA_LIBS
=`$PKG_CONFIG kpathsea --libs`
19408 elif test "x$need_kpathsea:$with_system_kpathsea" = xyes
:yes; then
19409 as_fn_error $?
"did not find kpathsea" "$LINENO" 5
19412 if $PKG_CONFIG ptexenc
; then
19413 PTEXENC_INCLUDES
=`$PKG_CONFIG ptexenc --cflags`
19414 PTEXENC_LIBS
=`$PKG_CONFIG ptexenc --libs`
19415 elif test "x$need_ptexenc:$with_system_ptexenc" = xyes
:yes; then
19416 as_fn_error $?
"did not find ptexenc" "$LINENO" 5
19419 if test "x$with_zlib_includes" != x
&& test "x$with_zlib_includes" != xyes
; then
19420 ZLIB_INCLUDES
="-I$with_zlib_includes"
19423 if test "x$with_zlib_libdir" != x
&& test "x$with_zlib_libdir" != xyes
; then
19424 ZLIB_LIBS
="-L$with_zlib_libdir $ZLIB_LIBS"
19427 if test "x$with_libpaper_includes" != x
&& test "x$with_libpaper_includes" != xyes
; then
19428 LIBPAPER_INCLUDES
="-I$with_libpaper_includes"
19430 LIBPAPER_LIBS
="-lpaper"
19431 if test "x$with_libpaper_libdir" != x
&& test "x$with_libpaper_libdir" != xyes
; then
19432 LIBPAPER_LIBS
="-L$with_libpaper_libdir $LIBPAPER_LIBS"
19435 if $PKG_CONFIG libpng
; then
19436 LIBPNG_INCLUDES
=`$PKG_CONFIG libpng --cflags`
19437 LIBPNG_LIBS
=`$PKG_CONFIG libpng --libs`
19438 elif test "x$need_libpng:$with_system_libpng" = xyes
:yes; then
19439 as_fn_error $?
"did not find libpng" "$LINENO" 5
19442 if test -n "$ac_tool_prefix"; then
19443 # Extract the first word of "${ac_tool_prefix}freetype-config", so it can be a program name with args.
19444 set dummy
${ac_tool_prefix}freetype-config
; ac_word
=$2
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19446 $as_echo_n "checking for $ac_word... " >&6; }
19447 if ${ac_cv_prog_FT2_CONFIG+:} false
; then :
19448 $as_echo_n "(cached) " >&6
19450 if test -n "$FT2_CONFIG"; then
19451 ac_cv_prog_FT2_CONFIG
="$FT2_CONFIG" # Let the user override the test.
19453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19454 for as_dir
in $PATH
19457 test -z "$as_dir" && as_dir
=.
19458 for ac_exec_ext
in '' $ac_executable_extensions; do
19459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19460 ac_cv_prog_FT2_CONFIG
="${ac_tool_prefix}freetype-config"
19461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19470 FT2_CONFIG
=$ac_cv_prog_FT2_CONFIG
19471 if test -n "$FT2_CONFIG"; then
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
19473 $as_echo "$FT2_CONFIG" >&6; }
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19476 $as_echo "no" >&6; }
19481 if test -z "$ac_cv_prog_FT2_CONFIG"; then
19482 ac_ct_FT2_CONFIG
=$FT2_CONFIG
19483 # Extract the first word of "freetype-config", so it can be a program name with args.
19484 set dummy freetype-config
; ac_word
=$2
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19486 $as_echo_n "checking for $ac_word... " >&6; }
19487 if ${ac_cv_prog_ac_ct_FT2_CONFIG+:} false
; then :
19488 $as_echo_n "(cached) " >&6
19490 if test -n "$ac_ct_FT2_CONFIG"; then
19491 ac_cv_prog_ac_ct_FT2_CONFIG
="$ac_ct_FT2_CONFIG" # Let the user override the test.
19493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19494 for as_dir
in $PATH
19497 test -z "$as_dir" && as_dir
=.
19498 for ac_exec_ext
in '' $ac_executable_extensions; do
19499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19500 ac_cv_prog_ac_ct_FT2_CONFIG
="freetype-config"
19501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19510 ac_ct_FT2_CONFIG
=$ac_cv_prog_ac_ct_FT2_CONFIG
19511 if test -n "$ac_ct_FT2_CONFIG"; then
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FT2_CONFIG" >&5
19513 $as_echo "$ac_ct_FT2_CONFIG" >&6; }
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19516 $as_echo "no" >&6; }
19519 if test "x$ac_ct_FT2_CONFIG" = x
; then
19522 case $cross_compiling:$ac_tool_warned in
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19526 ac_tool_warned
=yes ;;
19528 FT2_CONFIG
=$ac_ct_FT2_CONFIG
19531 FT2_CONFIG
="$ac_cv_prog_FT2_CONFIG"
19533 if $FT2_CONFIG --ftversion >/dev
/null
2>&1; then
19534 FREETYPE2_INCLUDES
=`$FT2_CONFIG --cflags`
19535 FREETYPE2_LIBS
=`$FT2_CONFIG --libs`
19536 elif test "x$need_freetype2:$with_system_freetype2" = xyes
:yes; then
19537 as_fn_error $?
"did not find freetype-config required for system freetype2 library" "$LINENO" 5
19540 if test "x$with_gd_includes" != x
&& test "x$with_gd_includes" != xyes
; then
19541 GD_INCLUDES
="-I$with_gd_includes"
19544 if test "x$with_gd_libdir" != x
&& test "x$with_gd_libdir" != xyes
; then
19545 GD_LIBS
="-L$with_gd_libdir $GD_LIBS"
19548 if test "x$with_potrace_includes" != x
&& test "x$with_potrace_includes" != xyes
; then
19549 POTRACE_INCLUDES
="-I$with_potrace_includes"
19551 POTRACE_LIBS
="-lpotrace"
19552 if test "x$with_potrace_libdir" != x
&& test "x$with_potrace_libdir" != xyes
; then
19553 POTRACE_LIBS
="-L$with_potrace_libdir $POTRACE_LIBS"
19556 if $PKG_CONFIG pixman-1
--atleast-version=0.18; then
19557 PIXMAN_INCLUDES
=`$PKG_CONFIG pixman-1 --cflags`
19558 PIXMAN_LIBS
=`$PKG_CONFIG pixman-1 --libs`
19559 elif test "x$need_pixman:$with_system_pixman" = xyes
:yes; then
19560 as_fn_error $?
"did not find pixman-1 0.18 or better" "$LINENO" 5
19563 if $PKG_CONFIG cairo
--atleast-version=1.12; then
19564 CAIRO_INCLUDES
=`$PKG_CONFIG cairo --cflags`
19565 CAIRO_LIBS
=`$PKG_CONFIG cairo --libs`
19566 elif test "x$need_cairo:$with_system_cairo" = xyes
:yes; then
19567 as_fn_error $?
"did not find cairo 1.12 or better" "$LINENO" 5
19570 if test "x$with_gmp_includes" != x
&& test "x$with_gmp_includes" != xyes
; then
19571 GMP_INCLUDES
="-I$with_gmp_includes"
19574 if test "x$with_gmp_libdir" != x
&& test "x$with_gmp_libdir" != xyes
; then
19575 GMP_LIBS
="-L$with_gmp_libdir $GMP_LIBS"
19578 if test "x$with_mpfr_includes" != x
&& test "x$with_mpfr_includes" != xyes
; then
19579 MPFR_INCLUDES
="-I$with_mpfr_includes"
19582 if test "x$with_mpfr_libdir" != x
&& test "x$with_mpfr_libdir" != xyes
; then
19583 MPFR_LIBS
="-L$with_mpfr_libdir $MPFR_LIBS"
19586 if $PKG_CONFIG poppler
--atleast-version=0.18; then
19587 POPPLER_INCLUDES
=`$PKG_CONFIG poppler --cflags`
19588 POPPLER_LIBS
=`$PKG_CONFIG poppler --libs`
19589 elif test "x$need_poppler:$with_system_poppler" = xyes
:yes; then
19590 as_fn_error $?
"did not find poppler 0.18 or better" "$LINENO" 5
19593 POPPLER_VERSION
='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
19594 POPPLER_INCLUDES
="$POPPLER_VERSION $POPPLER_INCLUDES"
19596 if $PKG_CONFIG poppler
--atleast-version=0.12; then
19597 XPDF_INCLUDES
=`$PKG_CONFIG poppler --cflags`
19598 XPDF_LIBS
=`$PKG_CONFIG poppler --libs`
19599 elif test "x$need_xpdf:$with_system_xpdf" = xyes
:yes; then
19600 as_fn_error $?
"did not find poppler 0.12 or better" "$LINENO" 5
19603 POPPLER_VERSION
='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
19604 XPDF_INCLUDES
="$POPPLER_VERSION $XPDF_INCLUDES"
19606 if $PKG_CONFIG zziplib
--atleast-version=0.12; then
19607 ZZIPLIB_INCLUDES
=`$PKG_CONFIG zziplib --cflags`
19608 ZZIPLIB_LIBS
=`$PKG_CONFIG zziplib --libs`
19609 elif test "x$need_zziplib:$with_system_zziplib" = xyes
:yes; then
19610 as_fn_error $?
"did not find zziplib 0.12 or better" "$LINENO" 5
19613 if $PKG_CONFIG graphite2
; then
19614 GRAPHITE2_INCLUDES
=`$PKG_CONFIG graphite2 --cflags`
19615 GRAPHITE2_LIBS
=`$PKG_CONFIG graphite2 --libs`
19616 elif test "x$need_graphite2:$with_system_graphite2" = xyes
:yes; then
19617 as_fn_error $?
"did not find graphite2" "$LINENO" 5
19620 if $PKG_CONFIG teckit
; then
19621 TECKIT_INCLUDES
=`$PKG_CONFIG teckit --cflags`
19622 TECKIT_LIBS
=`$PKG_CONFIG teckit --libs`
19623 elif test "x$need_teckit:$with_system_teckit" = xyes
:yes; then
19624 as_fn_error $?
"did not find teckit" "$LINENO" 5
19627 if test -n "$ac_tool_prefix"; then
19628 # Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args.
19629 set dummy
${ac_tool_prefix}icu-config
; ac_word
=$2
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19631 $as_echo_n "checking for $ac_word... " >&6; }
19632 if ${ac_cv_prog_ICU_CONFIG+:} false
; then :
19633 $as_echo_n "(cached) " >&6
19635 if test -n "$ICU_CONFIG"; then
19636 ac_cv_prog_ICU_CONFIG
="$ICU_CONFIG" # Let the user override the test.
19638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19639 for as_dir
in $PATH
19642 test -z "$as_dir" && as_dir
=.
19643 for ac_exec_ext
in '' $ac_executable_extensions; do
19644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19645 ac_cv_prog_ICU_CONFIG
="${ac_tool_prefix}icu-config"
19646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19655 ICU_CONFIG
=$ac_cv_prog_ICU_CONFIG
19656 if test -n "$ICU_CONFIG"; then
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5
19658 $as_echo "$ICU_CONFIG" >&6; }
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19661 $as_echo "no" >&6; }
19666 if test -z "$ac_cv_prog_ICU_CONFIG"; then
19667 ac_ct_ICU_CONFIG
=$ICU_CONFIG
19668 # Extract the first word of "icu-config", so it can be a program name with args.
19669 set dummy icu-config
; ac_word
=$2
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19671 $as_echo_n "checking for $ac_word... " >&6; }
19672 if ${ac_cv_prog_ac_ct_ICU_CONFIG+:} false
; then :
19673 $as_echo_n "(cached) " >&6
19675 if test -n "$ac_ct_ICU_CONFIG"; then
19676 ac_cv_prog_ac_ct_ICU_CONFIG
="$ac_ct_ICU_CONFIG" # Let the user override the test.
19678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19679 for as_dir
in $PATH
19682 test -z "$as_dir" && as_dir
=.
19683 for ac_exec_ext
in '' $ac_executable_extensions; do
19684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19685 ac_cv_prog_ac_ct_ICU_CONFIG
="icu-config"
19686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19695 ac_ct_ICU_CONFIG
=$ac_cv_prog_ac_ct_ICU_CONFIG
19696 if test -n "$ac_ct_ICU_CONFIG"; then
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5
19698 $as_echo "$ac_ct_ICU_CONFIG" >&6; }
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19701 $as_echo "no" >&6; }
19704 if test "x$ac_ct_ICU_CONFIG" = x
; then
19707 case $cross_compiling:$ac_tool_warned in
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19711 ac_tool_warned
=yes ;;
19713 ICU_CONFIG
=$ac_ct_ICU_CONFIG
19716 ICU_CONFIG
="$ac_cv_prog_ICU_CONFIG"
19718 if $ICU_CONFIG --version >/dev
/null
2>&1; then
19719 ICU_INCLUDES
=`$ICU_CONFIG --cppflags`
19720 ICU_LIBS
=`$ICU_CONFIG --ldflags-searchpath --ldflags-libsonly --ldflags-system`
19721 elif test "x$need_icu:$with_system_icu" = xyes
:yes; then
19722 as_fn_error $?
"did not find icu-config required for system icu libraries" "$LINENO" 5
19725 if $PKG_CONFIG harfbuzz-icu
; then
19726 HARFBUZZ_INCLUDES
=`$PKG_CONFIG harfbuzz-icu --cflags`
19727 HARFBUZZ_LIBS
=`$PKG_CONFIG harfbuzz-icu --libs`
19728 elif test "x$need_harfbuzz:$with_system_harfbuzz" = xyes
:yes; then
19729 as_fn_error $?
"did not find harfbuzz-icu" "$LINENO" 5
19737 ## texk/kpathsea/ac/kpathsea.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
19738 ## basic check of system kpathsea
19739 if test "x$need_kpathsea:$with_system_kpathsea" = xyes
:yes; then
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`kpathsea' library" >&5
19741 $as_echo_n "checking requested system \`kpathsea' library... " >&6; }
19742 CPPFLAGS
="$KPATHSEA_INCLUDES $CPPFLAGS"
19743 LIBS
="$KPATHSEA_LIBS $LIBS"
19744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19745 /* end confdefs.h. */
19746 #include <kpathsea/kpathsea.h>
19747 #include <kpathsea/version.h>
19751 const char *version = kpathsea_version_string;
19752 kpse_set_program_name("prog", "name");
19757 if ac_fn_c_try_link
"$LINENO"; then :
19758 syslib_used
=yes kpse_res
=ok
19760 syslib_status
=no kpse_res
=failed
19762 rm -f core conftest.err conftest.
$ac_objext \
19763 conftest
$ac_exeext conftest.
$ac_ext
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19765 $as_echo "$kpse_res" >&6; }
19768 ## libs/zlib/ac/zlib.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
19769 ## basic check of system zlib
19770 if test "x$need_zlib:$with_system_zlib" = xyes
:yes; then
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`zlib' library" >&5
19772 $as_echo_n "checking requested system \`zlib' library... " >&6; }
19773 CPPFLAGS
="$ZLIB_INCLUDES $CPPFLAGS"
19774 LIBS
="$ZLIB_LIBS $LIBS"
19775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19782 const char *version = zlibVersion();
19783 deflate(&stream, 0);
19788 if ac_fn_c_try_link
"$LINENO"; then :
19789 syslib_used
=yes kpse_res
=ok
19791 syslib_status
=no kpse_res
=failed
19793 rm -f core conftest.err conftest.
$ac_objext \
19794 conftest
$ac_exeext conftest.
$ac_ext
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19796 $as_echo "$kpse_res" >&6; }
19799 ## libs/libpng/ac/libpng.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
19800 ## basic check of system libpng
19801 if test "x$need_libpng:$with_system_libpng" = xyes
:yes; then
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`libpng' library" >&5
19803 $as_echo_n "checking requested system \`libpng' library... " >&6; }
19804 CPPFLAGS
="$LIBPNG_INCLUDES $CPPFLAGS"
19805 LIBS
="$LIBPNG_LIBS $LIBS"
19806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19812 png_structp png; png_voidp io; png_rw_ptr fn;
19813 png_set_read_fn(png, io, fn);
19818 if ac_fn_c_try_link
"$LINENO"; then :
19819 syslib_used
=yes kpse_res
=ok
19821 syslib_status
=no kpse_res
=failed
19823 rm -f core conftest.err conftest.
$ac_objext \
19824 conftest
$ac_exeext conftest.
$ac_ext
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19826 $as_echo "$kpse_res" >&6; }
19829 ## libs/pixman/ac/pixman.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/
19830 ## basic check of system pixman
19831 if test "x$need_pixman:$with_system_pixman" = xyes
:yes; then
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`pixman' library" >&5
19833 $as_echo_n "checking requested system \`pixman' library... " >&6; }
19834 CPPFLAGS
="$PIXMAN_INCLUDES $CPPFLAGS"
19835 LIBS
="$PIXMAN_LIBS $LIBS"
19836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19837 /* end confdefs.h. */
19838 #include <pixman.h>
19842 const char *s = pixman_version_string();
19847 if ac_fn_c_try_link
"$LINENO"; then :
19848 syslib_used
=yes kpse_res
=ok
19850 syslib_status
=no kpse_res
=failed
19852 rm -f core conftest.err conftest.
$ac_objext \
19853 conftest
$ac_exeext conftest.
$ac_ext
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19855 $as_echo "$kpse_res" >&6; }
19858 ## libs/cairo/ac/cairo.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/
19859 ## basic check of system cairo
19860 if test "x$need_cairo:$with_system_cairo" = xyes
:yes; then
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`cairo' library" >&5
19862 $as_echo_n "checking requested system \`cairo' library... " >&6; }
19863 CPPFLAGS
="$CAIRO_INCLUDES $CPPFLAGS"
19864 LIBS
="$CAIRO_LIBS $LIBS"
19865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h. */
19871 const char *s = cairo_version_string();
19876 if ac_fn_c_try_link
"$LINENO"; then :
19877 syslib_used
=yes kpse_res
=ok
19879 syslib_status
=no kpse_res
=failed
19881 rm -f core conftest.err conftest.
$ac_objext \
19882 conftest
$ac_exeext conftest.
$ac_ext
19883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19884 $as_echo "$kpse_res" >&6; }
19887 ## libs/gmp/ac/gmp.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/
19888 ## basic check of system gmp
19889 if test "x$need_gmp:$with_system_gmp" = xyes
:yes; then
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`gmp' library" >&5
19891 $as_echo_n "checking requested system \`gmp' library... " >&6; }
19892 CPPFLAGS
="$GMP_INCLUDES $CPPFLAGS"
19893 LIBS
="$GMP_LIBS $LIBS"
19894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19895 /* end confdefs.h. */
19900 const char *s = gmp_version;
19905 if ac_fn_c_try_link
"$LINENO"; then :
19906 syslib_used
=yes kpse_res
=ok
19908 syslib_status
=no kpse_res
=failed
19910 rm -f core conftest.err conftest.
$ac_objext \
19911 conftest
$ac_exeext conftest.
$ac_ext
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19913 $as_echo "$kpse_res" >&6; }
19916 ## libs/mpfr/ac/mpfr.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/
19917 ## basic check of system mpfr
19918 if test "x$need_mpfr:$with_system_mpfr" = xyes
:yes; then
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`mpfr' library" >&5
19920 $as_echo_n "checking requested system \`mpfr' library... " >&6; }
19921 CPPFLAGS
="$MPFR_INCLUDES $CPPFLAGS"
19922 LIBS
="$MPFR_LIBS $LIBS"
19923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19929 const char *s = mpfr_get_version();
19934 if ac_fn_c_try_link
"$LINENO"; then :
19935 syslib_used
=yes kpse_res
=ok
19937 syslib_status
=no kpse_res
=failed
19939 rm -f core conftest.err conftest.
$ac_objext \
19940 conftest
$ac_exeext conftest.
$ac_ext
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19942 $as_echo "$kpse_res" >&6; }
19945 ## libs/poppler/ac/poppler.ac: configure.ac fragment for the TeX Live subdirectory libs/poppler/
19946 ## basic check of system poppler
19948 ac_cpp
='$CXXCPP $CPPFLAGS'
19949 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19950 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19951 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19952 if test "x$need_poppler:$with_system_poppler" = xyes
:yes; then
19953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`poppler' library" >&5
19954 $as_echo_n "checking requested system \`poppler' library... " >&6; }
19955 CPPFLAGS
="$POPPLER_INCLUDES $CPPFLAGS"
19956 LIBS
="$POPPLER_LIBS $LIBS"
19957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19959 #include <GfxFont.h>
19963 GfxFont *gfxFont; gfxFont->decRefCnt();
19968 if ac_fn_cxx_try_link
"$LINENO"; then :
19969 syslib_used
=yes kpse_res
=ok
19971 syslib_status
=no kpse_res
=failed
19973 rm -f core conftest.err conftest.
$ac_objext \
19974 conftest
$ac_exeext conftest.
$ac_ext
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
19976 $as_echo "$kpse_res" >&6; }
19979 ac_cpp
='$CPP $CPPFLAGS'
19980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19984 ## libs/zziplib/ac/zziplib.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
19985 ## basic check of system zziplib
19986 if test "x$need_zziplib:$with_system_zziplib" = xyes
:yes; then
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`zziplib' library" >&5
19988 $as_echo_n "checking requested system \`zziplib' library... " >&6; }
19989 CPPFLAGS
="$ZZIPLIB_INCLUDES $CPPFLAGS"
19990 LIBS
="$ZZIPLIB_LIBS $LIBS"
19991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19992 /* end confdefs.h. */
19993 #include <zzip/zzip.h>
19997 ZZIP_FILE *z_FILE = zzip_open("file_name", 0);
20002 if ac_fn_c_try_link
"$LINENO"; then :
20003 syslib_used
=yes kpse_res
=ok
20005 syslib_status
=no kpse_res
=failed
20007 rm -f core conftest.err conftest.
$ac_objext \
20008 conftest
$ac_exeext conftest.
$ac_ext
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
20010 $as_echo "$kpse_res" >&6; }
20013 if test "x$syslib_status" = xno
; then
20014 as_fn_error $?
"some requested system libraries failed" "$LINENO" 5
20016 if test "x$syslib_used:$enable_native_texlive_build" = xyes
:yes; then
20017 as_fn_error $?
"you can not use system libraries for a native TeX Live build" "$LINENO" 5
20019 CPPFLAGS
=$kpse_save_CPPFLAGS
20020 LIBS
=$kpse_save_LIBS
20023 if test "x$cross_compiling" = xyes
; then
20032 subdirs
="$subdirs auxdir/auxsub libs utils texk"
20035 ac_config_files
="$ac_config_files Makefile doc/Makefile"
20039 kpse_GNU_make
=`${MAKE-make} -v 2>/dev/null | grep GNU`
20041 cat >confcache
<<\_ACEOF
20042 # This file is a shell script that caches the results of configure
20043 # tests run on this system so they can be shared between configure
20044 # scripts and configure runs, see configure's option --config-cache.
20045 # It is not useful on other systems. If it contains results you don't
20046 # want to keep, you may remove or edit it.
20048 # config.status only pays attention to the cache file if you give it
20049 # the --recheck option to rerun configure.
20051 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20052 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20053 # following values.
20057 # The following way of writing the cache mishandles newlines in values,
20058 # but we know of no workaround that is simple, portable, and efficient.
20059 # So, we kill variables containing newlines.
20060 # Ultrix sh set writes to stderr and can't be redirected directly,
20061 # and sets the high bit in the cache file unless we assign to the vars.
20063 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20064 eval ac_val
=\$
$ac_var
20068 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20069 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20072 _ | IFS | as_nl
) ;; #(
20073 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
20074 *) { eval $ac_var=; unset $ac_var;} ;;
20080 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20081 *${as_nl}ac_space
=\
*)
20082 # `set' does not quote correctly, so add quotes: double-quote
20083 # substitution turns \\\\ into \\, and sed turns \\ into \.
20086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20089 # `set' quotes correctly as required by POSIX, so do not add quotes.
20090 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20099 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20101 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20103 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20104 if test -w "$cache_file"; then
20105 if test "x$cache_file" != "x/dev/null"; then
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20107 $as_echo "$as_me: updating cache $cache_file" >&6;}
20108 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
20109 cat confcache
>"$cache_file"
20111 case $cache_file in #(
20113 mv -f confcache
"$cache_file"$$
&&
20114 mv -f "$cache_file"$$
"$cache_file" ;; #(
20116 mv -f confcache
"$cache_file" ;;
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20122 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20127 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20128 # Let make expand exec_prefix.
20129 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20131 # Transform confdefs.h into DEFS.
20132 # Protect against shell expansion while executing Makefile rules.
20133 # Protect against Makefile macro expansion.
20135 # If the first sed substitution is executed (which looks for macros that
20136 # take arguments), then branch to the quote section. Otherwise,
20137 # look for a macro that doesn't take arguments.
20147 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
20149 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
20153 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
20166 DEFS
=`sed -n "$ac_script" confdefs.h`
20172 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20173 # 1. Remove the extension, and $U if already installed.
20174 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20175 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20176 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20177 # will be set to the directory where LIBOBJS objects are built.
20178 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20179 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20181 LIBOBJS
=$ac_libobjs
20183 LTLIBOBJS
=$ac_ltlibobjs
20186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20187 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20188 if test -n "$am_sleep_pid"; then
20189 # Hide warnings about reused PIDs.
20190 wait $am_sleep_pid 2>/dev
/null
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20193 $as_echo "done" >&6; }
20194 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20195 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20198 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20199 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20202 if test -n "$EXEEXT"; then
20204 am__EXEEXT_FALSE
='#'
20206 am__EXEEXT_TRUE
='#'
20210 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20211 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20214 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20215 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20218 if test -z "${cross_TRUE}" && test -z "${cross_FALSE}"; then
20219 as_fn_error $?
"conditional \"cross\" was never defined.
20220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20223 : "${CONFIG_STATUS=./config.status}"
20225 ac_clean_files_save
=$ac_clean_files
20226 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20228 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20230 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20232 # Generated by $as_me.
20233 # Run this file to recreate the current configuration.
20234 # Compiler output produced by configure, useful for debugging
20235 # configure, is in config.log if it exists.
20238 ac_cs_recheck=false
20241 SHELL=\${CONFIG_SHELL-$SHELL}
20244 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
20245 ## -------------------- ##
20246 ## M4sh Initialization. ##
20247 ## -------------------- ##
20249 # Be more Bourne compatible
20250 DUALCASE
=1; export DUALCASE
# for MKS sh
20251 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20254 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20255 # is contrary to our usage. Disable this feature.
20256 alias -g '${1+"$@"}'='"$@"'
20257 setopt NO_GLOB_SUBST
20259 case `(set -o) 2>/dev/null` in #(
20271 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20272 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20273 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20274 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20275 # Prefer a ksh shell builtin over an external printf program on Solaris,
20276 # but without wasting forks for bash or zsh.
20277 if test -z "$BASH_VERSION$ZSH_VERSION" \
20278 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20279 as_echo='print
-r --'
20280 as_echo_n='print
-rn --'
20281 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20282 as_echo='printf %s
\n'
20283 as_echo_n='printf %s
'
20285 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20286 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20287 as_echo_n='/usr
/ucb
/echo -n'
20289 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20290 as_echo_n_body='eval
20294 expr "X$arg" : "X\\(.*\\)$as_nl";
20295 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20297 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20299 export as_echo_n_body
20300 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20302 export as_echo_body
20303 as_echo='sh
-c $as_echo_body as_echo
'
20306 # The user is always right.
20307 if test "${PATH_SEPARATOR+set}" != set; then
20309 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20310 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20317 # We need space, tab and new line, in precisely that order. Quoting is
20318 # there to prevent editors from complaining about space-tab.
20319 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20320 # splitting by setting IFS to empty value.)
20323 # Find who we are. Look in the path if we contain no directory separator.
20326 *[\\/]* ) as_myself=$0 ;;
20327 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20328 for as_dir in $PATH
20331 test -z "$as_dir" && as_dir=.
20332 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20338 # We did not find ourselves, most probably we were run as `sh COMMAND'
20339 # in which case we are not to be found in the path.
20340 if test "x$as_myself" = x
; then
20343 if test ! -f "$as_myself"; then
20344 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20348 # Unset variables that we do not need and which cause bugs (e.g. in
20349 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20350 # suppresses any "Segmentation fault" message there. '((' could
20351 # trigger a bug in pdksh 5.2.14.
20352 for as_var
in BASH_ENV ENV MAIL MAILPATH
20353 do eval test x\
${$as_var+set} = xset \
20354 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
20367 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20371 # ----------------------------------------
20372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20374 # script with STATUS, using 1 if that was 0.
20377 as_status
=$1; test $as_status -eq 0 && as_status
=1
20379 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20382 $as_echo "$as_me: error: $2" >&2
20383 as_fn_exit
$as_status
20387 # as_fn_set_status STATUS
20388 # -----------------------
20389 # Set $? to STATUS, without forking.
20390 as_fn_set_status
()
20393 } # as_fn_set_status
20395 # as_fn_exit STATUS
20396 # -----------------
20397 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20401 as_fn_set_status
$1
20407 # Portably unset VAR.
20410 { eval $1=; unset $1;}
20412 as_unset
=as_fn_unset
20413 # as_fn_append VAR VALUE
20414 # ----------------------
20415 # Append the text in VALUE to the end of the definition contained in VAR. Take
20416 # advantage of any shell optimizations that allow amortized linear growth over
20417 # repeated appends, instead of the typical quadratic growth present in naive
20419 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20420 eval 'as_fn_append ()
20431 # as_fn_arith ARG...
20432 # ------------------
20433 # Perform arithmetic evaluation on the ARGs, and store the result in the
20434 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20435 # must be portable across $(()) and expr.
20436 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20437 eval 'as_fn_arith ()
20444 as_val
=`expr "$@" || test $? -eq 1`
20449 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20450 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20456 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20457 as_basename
=basename
20462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20468 as_me
=`$as_basename -- "$0" ||
20469 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20470 X"$0" : 'X\(//\)$' \| \
20471 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20473 sed '/^.*\/\([^/][^/]*\)\/*$/{
20487 # Avoid depending upon Character Ranges.
20488 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20489 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20490 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20491 as_cr_digits
='0123456789'
20492 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20494 ECHO_C
= ECHO_N
= ECHO_T
=
20495 case `echo -n x` in #(((((
20497 case `echo 'xy\c'` in
20498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20500 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20507 rm -f conf$$ conf$$.exe conf$$.
file
20508 if test -d conf$$.dir
; then
20509 rm -f conf$$.dir
/conf$$.
file
20512 mkdir conf$$.dir
2>/dev
/null
20514 if (echo >conf$$.
file) 2>/dev
/null
; then
20515 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20517 # ... but there are two gotchas:
20518 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20519 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20520 # In both cases, we have to default to `cp -pR'.
20521 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20523 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20531 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20532 rmdir conf$$.dir
2>/dev
/null
20537 # Create "$as_dir" as a directory, including parents if necessary.
20542 -*) as_dir
=.
/$as_dir;;
20544 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20548 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20549 *) as_qdir
=$as_dir;;
20551 as_dirs
="'$as_qdir' $as_dirs"
20552 as_dir
=`$as_dirname -- "$as_dir" ||
20553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20554 X"$as_dir" : 'X\(//\)[^/]' \| \
20555 X"$as_dir" : 'X\(//\)$' \| \
20556 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20557 $as_echo X"$as_dir" |
20558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20562 /^X\(\/\/\)[^/].*/{
20575 test -d "$as_dir" && break
20577 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20578 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20582 if mkdir
-p .
2>/dev
/null
; then
20583 as_mkdir_p
='mkdir -p "$as_dir"'
20585 test -d .
/-p && rmdir .
/-p
20590 # as_fn_executable_p FILE
20591 # -----------------------
20592 # Test if FILE is an executable regular file.
20593 as_fn_executable_p
()
20595 test -f "$1" && test -x "$1"
20596 } # as_fn_executable_p
20597 as_test_x
='test -x'
20598 as_executable_p
=as_fn_executable_p
20600 # Sed expression to map a string onto a valid CPP name.
20601 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20603 # Sed expression to map a string onto a valid variable name.
20604 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20608 ## ----------------------------------- ##
20609 ## Main body of $CONFIG_STATUS script. ##
20610 ## ----------------------------------- ##
20612 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20615 # Save the log message, to keep $0 and so on meaningful, and to
20616 # report actual input values of CONFIG_FILES etc. instead of their
20617 # values after options handling.
20619 This file was extended by TeX Live $as_me 2015-03-07, which was
20620 generated by GNU Autoconf 2.69. Invocation command line was
20622 CONFIG_FILES = $CONFIG_FILES
20623 CONFIG_HEADERS = $CONFIG_HEADERS
20624 CONFIG_LINKS = $CONFIG_LINKS
20625 CONFIG_COMMANDS = $CONFIG_COMMANDS
20628 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20633 case $ac_config_files in *"
20634 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20640 # Files that config.status was made for.
20641 config_files="$ac_config_files"
20642 config_commands="$ac_config_commands"
20646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20648 \`$as_me' instantiates files and other configuration actions
20649 from templates according to the current configuration. Unless the files
20650 and actions are specified as TAGs, all are instantiated by default.
20652 Usage: $0 [OPTION]... [TAG]...
20654 -h, --help print this help, then exit
20655 -V, --version print version number and configuration settings, then exit
20656 --config print configuration, then exit
20657 -q, --quiet, --silent
20658 do not print progress messages
20659 -d, --debug don't remove temporary files
20660 --recheck update $as_me by reconfiguring in the same conditions
20661 --file=FILE[:TEMPLATE]
20662 instantiate the configuration file FILE
20664 Configuration files:
20667 Configuration commands:
20670 Report bugs to <tex-k@tug.org>."
20673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20674 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20676 TeX Live config.status 2015-03-07
20677 configured by $0, generated by GNU Autoconf 2.69,
20678 with options \\"\$ac_cs_config\\"
20680 Copyright (C) 2012 Free Software Foundation, Inc.
20681 This config.status script is free software; the Free Software Foundation
20682 gives unlimited permission to copy, distribute and modify it."
20689 test -n "\$AWK" || AWK=awk
20692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20693 # The default lists apply if the user does not specify any file.
20699 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20700 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20704 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20716 # Handling of the options.
20717 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20719 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20720 $as_echo "$ac_cs_version"; exit ;;
20721 --config |
--confi |
--conf |
--con |
--co |
--c )
20722 $as_echo "$ac_cs_config"; exit ;;
20723 --debug |
--debu |
--deb |
--de |
--d |
-d )
20725 --file |
--fil |
--fi |
--f )
20728 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20729 '') as_fn_error $?
"missing file argument" ;;
20731 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20732 ac_need_defaults
=false
;;
20733 --he |
--h |
--help |
--hel |
-h )
20734 $as_echo "$ac_cs_usage"; exit ;;
20735 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20736 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20739 # This is an error.
20740 -*) as_fn_error $?
"unrecognized option: \`$1'
20741 Try \`$0 --help' for more information." ;;
20743 *) as_fn_append ac_config_targets
" $1"
20744 ac_need_defaults
=false
;;
20750 ac_configure_extra_args
=
20752 if $ac_cs_silent; then
20754 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20759 if \$ac_cs_recheck; then
20760 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20762 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20763 CONFIG_SHELL='$SHELL'
20764 export CONFIG_SHELL
20769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20773 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20774 ## Running $as_me. ##
20780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20784 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20787 # The HP-UX ksh and POSIX shell print the target directory to stdout
20788 # if CDPATH is set.
20789 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20791 sed_quote_subst='$sed_quote_subst'
20792 double_quote_subst='$double_quote_subst'
20793 delay_variable_subst='$delay_variable_subst'
20794 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20795 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20796 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20797 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20798 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20799 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20800 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20801 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20802 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20803 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
20804 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20805 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20806 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20807 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20808 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20809 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20810 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20811 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20812 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20813 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20814 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20815 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20816 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20817 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20818 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20819 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20820 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20821 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20822 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20823 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20824 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20825 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20826 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20827 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20828 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20829 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20830 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20831 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20832 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20833 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20834 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20835 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20836 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20837 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20838 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20839 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20840 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20841 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20842 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20843 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20844 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20845 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20846 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20847 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20848 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20849 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20850 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20851 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
20852 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20853 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"`'
20854 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
20855 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20856 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20857 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
20858 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20859 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20860 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20861 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20862 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20863 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20864 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20865 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20866 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20867 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20868 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20869 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20870 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20871 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20872 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20873 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20874 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20875 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20876 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20877 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20878 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20879 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20880 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20881 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20882 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20883 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20884 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20885 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20886 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20887 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20888 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20889 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20890 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20891 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20892 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20893 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20894 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20895 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20896 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20897 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20898 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20899 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20900 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20901 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20902 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20903 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20904 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20905 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20906 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20907 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20908 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20909 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20910 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20911 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20912 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20913 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20914 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20915 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20916 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20917 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20918 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20919 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20920 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20921 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20922 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
20923 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
20924 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20925 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20926 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20927 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20928 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20929 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20930 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20931 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20932 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20933 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20934 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20935 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20936 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20937 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20938 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20939 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20940 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20941 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20942 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20943 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20944 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20945 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20946 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20947 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20948 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20949 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20950 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20951 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20952 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20953 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20954 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20955 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20956 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20957 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20958 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20959 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20960 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20961 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20962 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20963 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20964 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20965 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20966 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20967 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20968 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20969 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20970 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20971 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20972 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20973 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20974 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20975 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20976 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20977 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20978 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20979 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20980 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20981 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20982 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20983 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20986 LTCFLAGS='$LTCFLAGS'
20987 compiler='$compiler_DEFAULT'
20989 # A function that is used when there is no print builtin or printf.
20990 func_fallback_echo ()
20992 eval 'cat <<_LTECHO_EOF
20997 # Quote evaled strings.
21014 deplibs_check_method \
21018 sharedlib_from_linklib_cmd \
21021 archiver_list_spec \
21027 lt_cv_sys_global_symbol_pipe \
21028 lt_cv_sys_global_symbol_to_cdecl \
21029 lt_cv_sys_global_symbol_to_import \
21030 lt_cv_sys_global_symbol_to_c_name_address \
21031 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21032 lt_cv_nm_interface \
21033 nm_file_list_spec \
21034 lt_cv_truncate_bin \
21035 lt_prog_compiler_no_builtin_flag \
21036 lt_prog_compiler_pic \
21037 lt_prog_compiler_wl \
21038 lt_prog_compiler_static \
21039 lt_cv_prog_compiler_c_o \
21048 export_dynamic_flag_spec \
21049 whole_archive_flag_spec \
21050 compiler_needs_object \
21052 allow_undefined_flag \
21053 no_undefined_flag \
21054 hardcode_libdir_flag_spec \
21055 hardcode_libdir_separator \
21059 variables_saved_for_relink \
21061 library_names_spec \
21063 install_override_mode \
21067 compiler_lib_search_dirs \
21072 compiler_lib_search_path \
21076 lt_prog_compiler_no_builtin_flag_CXX \
21077 lt_prog_compiler_pic_CXX \
21078 lt_prog_compiler_wl_CXX \
21079 lt_prog_compiler_static_CXX \
21080 lt_cv_prog_compiler_c_o_CXX \
21081 export_dynamic_flag_spec_CXX \
21082 whole_archive_flag_spec_CXX \
21083 compiler_needs_object_CXX \
21085 allow_undefined_flag_CXX \
21086 no_undefined_flag_CXX \
21087 hardcode_libdir_flag_spec_CXX \
21088 hardcode_libdir_separator_CXX \
21089 exclude_expsyms_CXX \
21090 include_expsyms_CXX \
21091 file_list_spec_CXX \
21092 compiler_lib_search_dirs_CXX \
21093 predep_objects_CXX \
21094 postdep_objects_CXX \
21097 compiler_lib_search_path_CXX; do
21098 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21099 *[\\\\\\\`\\"\\\$]*)
21100 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21103 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21108 # Double-quote double-evaled strings.
21109 for var in reload_cmds \
21110 old_postinstall_cmds \
21111 old_postuninstall_cmds \
21113 extract_expsyms_cmds \
21114 old_archive_from_new_cmds \
21115 old_archive_from_expsyms_cmds \
21117 archive_expsym_cmds \
21119 module_expsym_cmds \
21120 export_symbols_cmds \
21124 postuninstall_cmds \
21126 sys_lib_search_path_spec \
21127 configure_time_dlsearch_path \
21128 configure_time_lt_sys_library_path \
21130 old_archive_cmds_CXX \
21131 old_archive_from_new_cmds_CXX \
21132 old_archive_from_expsyms_cmds_CXX \
21134 archive_expsym_cmds_CXX \
21136 module_expsym_cmds_CXX \
21137 export_symbols_cmds_CXX \
21139 postlink_cmds_CXX; do
21140 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21141 *[\\\\\\\`\\"\\\$]*)
21142 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21145 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21150 ac_aux_dir='$ac_aux_dir'
21152 # See if we are running on zsh, and set the options that allow our
21153 # commands through without removal of \ escapes INIT.
21154 if test -n "\${ZSH_VERSION+set}"; then
21155 setopt NO_GLOB_SUBST
21166 enable_libtool_hack='$enable_libtool_hack'
21172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21174 # Handling of arguments.
21175 for ac_config_target
in $ac_config_targets
21177 case $ac_config_target in
21178 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21179 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21180 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21181 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
21183 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21188 # If the user did not use the arguments to specify the items to instantiate,
21189 # then the envvar interface is used. Set only those that are not.
21190 # We use the long form for the default assignment because of an extremely
21191 # bizarre bug on SunOS 4.1.3.
21192 if $ac_need_defaults; then
21193 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21194 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21197 # Have a temporary directory for convenience. Make it in the build tree
21198 # simply because there is no reason against having it here, and in addition,
21199 # creating and moving files from /tmp can sometimes cause problems.
21200 # Hook for its removal unless debugging.
21201 # Note that there is a small window in which the directory will not be cleaned:
21202 # after its creation but before its name has been assigned to `$tmp'.
21206 trap 'exit_status=$?
21207 : "${ac_tmp:=$tmp}"
21208 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21210 trap 'as_fn_exit 1' 1 2 13 15
21212 # Create a (secure) tmp directory for tmp files.
21215 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21219 tmp
=.
/conf$$
-$RANDOM
21220 (umask 077 && mkdir
"$tmp")
21221 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21224 # Set up the scripts for CONFIG_FILES section.
21225 # No need to generate them if there are no CONFIG_FILES.
21226 # This happens for instance with `./config.status config.h'.
21227 if test -n "$CONFIG_FILES"; then
21230 ac_cr
=`echo X | tr X '\015'`
21231 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21232 # But we know of no other shell where ac_cr would be empty at this
21233 # point, so we can use a bashism as a fallback.
21234 if test "x$ac_cr" = x
; then
21235 eval ac_cr
=\$
\'\\r
\'
21237 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21238 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21241 ac_cs_awk_cr
=$ac_cr
21244 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21249 echo "cat >conf$$subs.awk <<_ACEOF" &&
21250 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21252 } >conf$$subs.sh ||
21253 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21254 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21256 for ac_last_try in false false false false false :; do
21257 . ./conf$$subs.sh ||
21258 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21260 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21261 if test $ac_delim_n = $ac_delim_num; then
21263 elif $ac_last_try; then
21264 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21266 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21269 rm -f conf$$subs.sh
21271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21272 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21276 s/^/S["/; s
/!.
*/"]=/
21286 s/\(.\{148\}\)..*/\1/
21288 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21293 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21300 s/\(.\{148\}\)..*/\1/
21302 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21306 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21311 ' <conf$$subs.awk | sed '
21316 ' >>$CONFIG_STATUS || ac_write_fail=1
21317 rm -f conf$$subs.awk
21318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21320 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21321 for (key in S) S_is_set[key] = 1
21327 nfields = split(line, field, "@
")
21329 len = length(field[1])
21330 for (i = 2; i < nfields; i++) {
21332 keylen = length(key)
21333 if (S_is_set[key]) {
21335 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21336 len += length(value) + length(field[++i])
21347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21348 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21349 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21352 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21353 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21356 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21357 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21358 # trailing colons and then remove the whole line if VPATH becomes empty
21359 # (actually we leave an empty line to preserve line numbers).
21360 if test "x
$srcdir" = x.; then
21361 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21380 fi # test -n "$CONFIG_FILES"
21383 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
21388 :[FHLC]) ac_mode=$ac_tag; continue;;
21390 case $ac_mode$ac_tag in
21392 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
21393 :[FH]-) ac_tag=-:-;;
21394 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21411 -) ac_f="$ac_tmp/stdin";;
21412 *) # Look for the file first in the build tree, then in the source tree
21413 # (if the path is not absolute). The absolute path cannot be DOS-style,
21414 # because $ac_f cannot contain `:'.
21418 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21420 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21422 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
21423 as_fn_append ac_file_inputs " '$ac_f'"
21426 # Let's still pretend it is `configure' which instantiates (i.e., don't
21427 # use $as_me), people would be surprised to read:
21428 # /* config.h. Generated by config.status. */
21429 configure_input='Generated from '`
21430 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21432 if test x"$ac_file" != x-; then
21433 configure_input="$ac_file.
$configure_input"
21434 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
21435 $as_echo "$as_me: creating
$ac_file" >&6;}
21437 # Neutralize special characters interpreted by sed in replacement strings.
21438 case $configure_input in #(
21439 *\&* | *\|* | *\\* )
21440 ac_sed_conf_input=`$as_echo "$configure_input" |
21441 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21442 *) ac_sed_conf_input=$configure_input;;
21446 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
21447 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
21452 ac_dir=`$as_dirname -- "$ac_file" ||
21453 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21454 X"$ac_file" : 'X\(//\)[^/]' \| \
21455 X"$ac_file" : 'X\(//\)$' \| \
21456 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21457 $as_echo X"$ac_file" |
21458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21462 /^X\(\/\/\)[^/].*/{
21475 as_dir="$ac_dir"; as_fn_mkdir_p
21479 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21481 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21482 # A "..
" for each directory in $ac_dir_suffix.
21483 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21484 case $ac_top_builddir_sub in
21485 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21486 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21489 ac_abs_top_builddir=$ac_pwd
21490 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21491 # for backward compatibility:
21492 ac_top_builddir=$ac_top_build_prefix
21495 .) # We are building in place.
21497 ac_top_srcdir=$ac_top_builddir_sub
21498 ac_abs_top_srcdir=$ac_pwd ;;
21499 [\\/]* | ?:[\\/]* ) # Absolute name.
21500 ac_srcdir=$srcdir$ac_dir_suffix;
21501 ac_top_srcdir=$srcdir
21502 ac_abs_top_srcdir=$srcdir ;;
21503 *) # Relative name.
21504 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21505 ac_top_srcdir=$ac_top_build_prefix$srcdir
21506 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21508 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21518 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21519 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21521 ac_MKDIR_P=$MKDIR_P
21523 [\\/$]* | ?:[\\/]* ) ;;
21524 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21529 # If the template does not know about datarootdir, expand it.
21530 # FIXME: This hack should be removed a few years after 2.60.
21531 ac_datarootdir_hack=; ac_datarootdir_seen=
21542 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
21543 *datarootdir*) ac_datarootdir_seen=yes;;
21544 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
21546 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
21548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21549 ac_datarootdir_hack='
21550 s&@datadir@&$datadir&g
21551 s&@docdir@&$docdir&g
21552 s&@infodir@&$infodir&g
21553 s&@localedir@&$localedir&g
21554 s&@mandir@&$mandir&g
21555 s&\\\${datarootdir}&$datarootdir&g' ;;
21559 # Neutralize VPATH when `$srcdir' = `.'.
21560 # Shell code in configure.ac might set extrasub.
21561 # FIXME: do we really want to maintain this feature?
21562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21563 ac_sed_extra="$ac_vpsub
21566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21568 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21569 s|@configure_input@|
$ac_sed_conf_input|
;t t
21570 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21571 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21572 s
&@srcdir@
&$ac_srcdir&;t t
21573 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21574 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21575 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21576 s
&@builddir@
&$ac_builddir&;t t
21577 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21578 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21579 s
&@INSTALL@
&$ac_INSTALL&;t t
21580 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21581 $ac_datarootdir_hack
21583 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21584 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21586 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21587 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21588 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21589 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21591 which seems to be undefined. Please make sure it is defined" >&5
21592 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21593 which seems to be undefined. Please make sure it is defined" >&2;}
21595 rm -f "$ac_tmp/stdin"
21597 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21598 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21600 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21604 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21605 $as_echo "$as_me: executing $ac_file commands" >&6;}
21610 case $ac_file$ac_mode in
21611 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21612 # Older Autoconf quotes --file arguments for eval, but not when files
21613 # are listed without --file. Let's play safe and only
enable the
eval
21614 # if we detect the quoting.
21615 case $CONFIG_FILES in
21616 *\'*) eval set x
"$CONFIG_FILES" ;;
21617 *) set x
$CONFIG_FILES ;;
21622 # Strip MF so we end up with the name of the file.
21623 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21624 # Check whether this is an Automake generated Makefile or not.
21625 # We used to match only the files named 'Makefile.in', but
21626 # some people rename them; so instead we look at the file content.
21627 # Grep'ing the first line is not enough: some people post-process
21628 # each Makefile.in and add a new line on top of each file to say so.
21629 # Grep'ing the whole file is not good either: AIX grep has a line
21630 # limit of 2048, but all sed's we know have understand at least 4000.
21631 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21632 dirpart
=`$as_dirname -- "$mf" ||
21633 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21634 X"$mf" : 'X\(//\)[^/]' \| \
21635 X"$mf" : 'X\(//\)$' \| \
21636 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21642 /^X\(\/\/\)[^/].*/{
21658 # Extract the definition of DEPDIR, am__include, and am__quote
21659 # from the Makefile without running 'make'.
21660 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21661 test -z "$DEPDIR" && continue
21662 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21663 test -z "$am__include" && continue
21664 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21665 # Find all dependency output files, they are included files with
21666 # $(DEPDIR) in their names. We invoke sed twice because it is the
21667 # simplest approach to changing $(DEPDIR) to its actual value in the
21669 for file in `sed -n "
21670 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21671 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21672 # Make sure the directory exists.
21673 test -f "$dirpart/$file" && continue
21674 fdir
=`$as_dirname -- "$file" ||
21675 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21676 X"$file" : 'X\(//\)[^/]' \| \
21677 X"$file" : 'X\(//\)$' \| \
21678 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21679 $as_echo X"$file" |
21680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21684 /^X\(\/\/\)[^/].*/{
21697 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21698 # echo "creating $dirpart/$file"
21699 echo '# dummy' > "$dirpart/$file"
21706 # See if we are running on zsh, and set the options that allow our
21707 # commands through without removal of \ escapes.
21708 if test -n "${ZSH_VERSION+set}"; then
21709 setopt NO_GLOB_SUBST
21713 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21716 cat <<_LT_EOF >> "$cfgfile"
21718 # Generated automatically by $as_me ($PACKAGE) $VERSION
21719 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21720 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21722 # Provide generalized library-building support services.
21723 # Written by Gordon Matzigkeit, 1996
21725 # Copyright (C) 2014 Free Software Foundation, Inc.
21726 # This is free software; see the source for copying conditions. There is NO
21727 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21729 # GNU Libtool is free software; you can redistribute it and/or modify
21730 # it under the terms of the GNU General Public License as published by
21731 # the Free Software Foundation; either version 2 of of the License, or
21732 # (at your option) any later version.
21734 # As a special exception to the GNU General Public License, if you
21735 # distribute this file as part of a program or library that is built
21736 # using GNU Libtool, you may include this file under the same
21737 # distribution terms that you use for the rest of that program.
21739 # GNU Libtool is distributed in the hope that it will be useful, but
21740 # WITHOUT ANY WARRANTY; without even the implied warranty of
21741 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21742 # GNU General Public License for more details.
21744 # You should have received a copy of the GNU General Public License
21745 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21748 # The names of the tagged configurations supported by this script.
21749 available_tags='CXX '
21751 # Configured defaults for sys_lib_dlsearch_path munging.
21752 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
21754 # ### BEGIN LIBTOOL CONFIG
21756 # Which release of libtool.m4 was used?
21757 macro_version=$macro_version
21758 macro_revision=$macro_revision
21760 # Assembler program.
21763 # DLL creation program.
21764 DLLTOOL=$lt_DLLTOOL
21766 # Object dumper program.
21767 OBJDUMP=$lt_OBJDUMP
21769 # Whether or not to build shared libraries.
21770 build_libtool_libs=$enable_shared
21772 # Whether or not to build static libraries.
21773 build_old_libs=$enable_static
21775 # What type of objects to build.
21778 # Whether or not to optimize for fast installation.
21779 fast_install=$enable_fast_install
21781 # Shared archive member basename,for filename based shared library versioning on AIX.
21782 shared_archive_member_spec=$shared_archive_member_spec
21784 # Shell to use when invoking shell scripts.
21787 # An echo program that protects backslashes.
21790 # The PATH separator for the build system.
21791 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21794 host_alias=$host_alias
21798 # The build system.
21799 build_alias=$build_alias
21803 # A sed program that does not truncate output.
21806 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21807 Xsed="\$SED -e 1s/^X//"
21809 # A grep program that handles long lines.
21815 # A literal string matcher.
21818 # A BSD- or MS-compatible name lister.
21821 # Whether we need soft or hard links.
21824 # What is the maximum length of a command?
21825 max_cmd_len=$max_cmd_len
21827 # Object file suffix (normally "o").
21830 # Executable file suffix (normally "").
21833 # whether the shell understands "unset".
21836 # turn spaces into newlines.
21839 # turn newlines into spaces.
21842 # convert \$build file names to \$host format.
21843 to_host_file_cmd=$lt_cv_to_host_file_cmd
21845 # convert \$build files to toolchain format.
21846 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21848 # Method to check whether dependent libraries are shared objects.
21849 deplibs_check_method=$lt_deplibs_check_method
21851 # Command to use when deplibs_check_method = "file_magic".
21852 file_magic_cmd=$lt_file_magic_cmd
21854 # How to find potential files when deplibs_check_method = "file_magic".
21855 file_magic_glob=$lt_file_magic_glob
21857 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21858 want_nocaseglob=$lt_want_nocaseglob
21860 # Command to associate shared and link libraries.
21861 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21866 # Flags to create an archive.
21867 AR_FLAGS=$lt_AR_FLAGS
21869 # How to feed a file listing to the archiver.
21870 archiver_list_spec=$lt_archiver_list_spec
21872 # A symbol stripping program.
21875 # Commands used to install an old-style archive.
21877 old_postinstall_cmds=$lt_old_postinstall_cmds
21878 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21880 # Whether to use a lock for old archive extraction.
21881 lock_old_archive_extraction=$lock_old_archive_extraction
21886 # LTCC compiler flags.
21887 LTCFLAGS=$lt_CFLAGS
21889 # Take the output of nm and produce a listing of raw symbols and C names.
21890 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21892 # Transform the output of nm in a proper C declaration.
21893 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21895 # Transform the output of nm into a list of symbols to manually relocate.
21896 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
21898 # Transform the output of nm in a C name address pair.
21899 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21901 # Transform the output of nm in a C name address pair when lib prefix is needed.
21902 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21904 # The name lister interface.
21905 nm_interface=$lt_lt_cv_nm_interface
21907 # Specify filename containing input files for \$NM.
21908 nm_file_list_spec=$lt_nm_file_list_spec
21910 # The root where to search for dependent libraries,and where our libraries should be installed.
21911 lt_sysroot=$lt_sysroot
21913 # Command to truncate a binary pipe.
21914 lt_truncate_bin=$lt_lt_cv_truncate_bin
21916 # The name of the directory that contains temporary libtool files.
21919 # Used to examine libraries when file_magic_cmd begins with "file".
21920 MAGIC_CMD=$MAGIC_CMD
21922 # Must we lock files when doing compilation?
21923 need_locks=$lt_need_locks
21926 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21928 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21929 DSYMUTIL=$lt_DSYMUTIL
21931 # Tool to change global to local symbols on Mac OS X.
21934 # Tool to manipulate fat objects and archives on Mac OS X.
21937 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21940 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21941 OTOOL64=$lt_OTOOL64
21943 # Old archive suffix (normally "a").
21946 # Shared library suffix (normally ".so").
21947 shrext_cmds=$lt_shrext_cmds
21949 # The commands to extract the exported symbol list from a shared archive.
21950 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21952 # Variables whose values should be saved in libtool wrapper scripts and
21953 # restored at link time.
21954 variables_saved_for_relink=$lt_variables_saved_for_relink
21956 # Do we need the "lib" prefix for modules?
21957 need_lib_prefix=$need_lib_prefix
21959 # Do we need a version for libraries?
21960 need_version=$need_version
21962 # Library versioning type.
21963 version_type=$version_type
21965 # Shared library runtime path variable.
21966 runpath_var=$runpath_var
21968 # Shared library path variable.
21969 shlibpath_var=$shlibpath_var
21971 # Is shlibpath searched before the hard-coded library search path?
21972 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21974 # Format of library name prefix.
21975 libname_spec=$lt_libname_spec
21977 # List of archive names. First name is the real one, the rest are links.
21978 # The last name is the one that the linker finds with -lNAME
21979 library_names_spec=$lt_library_names_spec
21981 # The coded name of the library, if different from the real name.
21982 soname_spec=$lt_soname_spec
21984 # Permission mode override for installation of shared libraries.
21985 install_override_mode=$lt_install_override_mode
21987 # Command to use after installation of a shared archive.
21988 postinstall_cmds=$lt_postinstall_cmds
21990 # Command to use after uninstallation of a shared archive.
21991 postuninstall_cmds=$lt_postuninstall_cmds
21993 # Commands used to finish a libtool library installation in a directory.
21994 finish_cmds=$lt_finish_cmds
21996 # As "finish_cmds", except a single script fragment to be evaled but
21998 finish_eval=$lt_finish_eval
22000 # Whether we should hardcode library paths into libraries.
22001 hardcode_into_libs=$hardcode_into_libs
22003 # Compile-time system search path for libraries.
22004 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22006 # Detected run-time system search path for libraries.
22007 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
22009 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
22010 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
22012 # Whether dlopen is supported.
22013 dlopen_support=$enable_dlopen
22015 # Whether dlopen of programs is supported.
22016 dlopen_self=$enable_dlopen_self
22018 # Whether dlopen of statically linked programs is supported.
22019 dlopen_self_static=$enable_dlopen_self_static
22021 # Commands to strip libraries.
22022 old_striplib=$lt_old_striplib
22023 striplib=$lt_striplib
22026 # The linker used to build libraries.
22029 # How to create reloadable object files.
22030 reload_flag=$lt_reload_flag
22031 reload_cmds=$lt_reload_cmds
22033 # Commands used to build an old-style archive.
22034 old_archive_cmds=$lt_old_archive_cmds
22036 # A language specific compiler.
22039 # Is the compiler the GNU compiler?
22042 # Compiler flag to turn off builtin functions.
22043 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22045 # Additional compiler flags for building library objects.
22046 pic_flag=$lt_lt_prog_compiler_pic
22048 # How to pass a linker flag through the compiler.
22049 wl=$lt_lt_prog_compiler_wl
22051 # Compiler flag to prevent dynamic linking.
22052 link_static_flag=$lt_lt_prog_compiler_static
22054 # Does compiler simultaneously support -c and -o options?
22055 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22057 # Whether or not to add -lc for building shared libraries.
22058 build_libtool_need_lc=$archive_cmds_need_lc
22060 # Whether or not to disallow shared libs when runtime libs are static.
22061 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22063 # Compiler flag to allow reflexive dlopens.
22064 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22066 # Compiler flag to generate shared objects directly from archives.
22067 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22069 # Whether the compiler copes with passing no objects directly.
22070 compiler_needs_object=$lt_compiler_needs_object
22072 # Create an old-style archive from a shared archive.
22073 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22075 # Create a temporary old-style archive to link instead of a shared archive.
22076 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22078 # Commands used to build a shared archive.
22079 archive_cmds=$lt_archive_cmds
22080 archive_expsym_cmds=$lt_archive_expsym_cmds
22082 # Commands used to build a loadable module if different from building
22083 # a shared archive.
22084 module_cmds=$lt_module_cmds
22085 module_expsym_cmds=$lt_module_expsym_cmds
22087 # Whether we are building with GNU ld or not.
22088 with_gnu_ld=$lt_with_gnu_ld
22090 # Flag that allows shared libraries with undefined symbols to be built.
22091 allow_undefined_flag=$lt_allow_undefined_flag
22093 # Flag that enforces no undefined symbols.
22094 no_undefined_flag=$lt_no_undefined_flag
22096 # Flag to hardcode \$libdir into a binary during linking.
22097 # This must work even if \$libdir does not exist
22098 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22100 # Whether we need a single "-rpath" flag with a separated argument.
22101 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22103 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22104 # DIR into the resulting binary.
22105 hardcode_direct=$hardcode_direct
22107 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22108 # DIR into the resulting binary and the resulting library dependency is
22109 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
22110 # library is relocated.
22111 hardcode_direct_absolute=$hardcode_direct_absolute
22113 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22114 # into the resulting binary.
22115 hardcode_minus_L=$hardcode_minus_L
22117 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22118 # into the resulting binary.
22119 hardcode_shlibpath_var=$hardcode_shlibpath_var
22121 # Set to "yes" if building a shared library automatically hardcodes DIR
22122 # into the library and all subsequent libraries and executables linked
22124 hardcode_automatic=$hardcode_automatic
22126 # Set to yes if linker adds runtime paths of dependent libraries
22127 # to runtime path list.
22128 inherit_rpath=$inherit_rpath
22130 # Whether libtool must link a program against all its dependency libraries.
22131 link_all_deplibs=$link_all_deplibs
22133 # Set to "yes" if exported symbols are required.
22134 always_export_symbols=$always_export_symbols
22136 # The commands to list exported symbols.
22137 export_symbols_cmds=$lt_export_symbols_cmds
22139 # Symbols that should not be listed in the preloaded symbols.
22140 exclude_expsyms=$lt_exclude_expsyms
22142 # Symbols that must always be exported.
22143 include_expsyms=$lt_include_expsyms
22145 # Commands necessary for linking programs (against libraries) with templates.
22146 prelink_cmds=$lt_prelink_cmds
22148 # Commands necessary for finishing linking programs.
22149 postlink_cmds=$lt_postlink_cmds
22151 # Specify filename containing input files.
22152 file_list_spec=$lt_file_list_spec
22154 # How to hardcode a shared library path into an executable.
22155 hardcode_action=$hardcode_action
22157 # The directories searched by this compiler when creating a shared library.
22158 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22160 # Dependencies to place before and after the objects being linked to
22161 # create a shared library.
22162 predep_objects=$lt_predep_objects
22163 postdep_objects=$lt_postdep_objects
22164 predeps=$lt_predeps
22165 postdeps=$lt_postdeps
22167 # The library search path used internally by the compiler when linking
22168 # a shared library.
22169 compiler_lib_search_path=$lt_compiler_lib_search_path
22171 # ### END LIBTOOL CONFIG
22175 cat <<'_LT_EOF' >> "$cfgfile"
22177 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
22179 # func_munge_path_list VARIABLE PATH
22180 # -----------------------------------
22181 # VARIABLE is name of variable containing _space_ separated list of
22182 # directories to be munged by the contents of PATH, which is string
22185 # string "DIR[ DIR]" will be prepended to VARIABLE
22187 # string "DIR[ DIR]" will be appended to VARIABLE
22188 # "DIRP[:DIRP]::[DIRA:]DIRA"
22189 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
22190 # "DIRA[ DIRA]" will be appended to VARIABLE
22192 # VARIABLE will be replaced by "DIR[ DIR]"
22193 func_munge_path_list ()
22199 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
22202 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
22205 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
22206 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
22209 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
22215 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
22216 func_cc_basename ()
22218 for cc_temp in $*""; do
22220 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22221 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22226 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
22230 # ### END FUNCTIONS SHARED WITH CONFIGURE
22236 cat <<\_LT_EOF
>> "$cfgfile"
22237 # AIX sometimes has problems with the GCC collect2 program. For some
22238 # reason, if we set the COLLECT_NAMES environment variable, the problems
22239 # vanish in a puff of smoke.
22240 if test set != "${COLLECT_NAMES+set}"; then
22242 export COLLECT_NAMES
22249 ltmain
=$ac_aux_dir/ltmain.sh
22252 # We use sed instead of cat because bash on DJGPP gets confused if
22253 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22254 # text mode, it properly converts lines to CR/LF. This bash problem
22255 # is reportedly fixed, but why not run on old versions too?
22256 sed '$q' "$ltmain" >> "$cfgfile" \
22257 ||
(rm -f "$cfgfile"; exit 1)
22259 mv -f "$cfgfile" "$ofile" ||
22260 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22264 cat <<_LT_EOF >> "$ofile"
22266 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22268 # The linker used to build libraries.
22271 # How to create reloadable object files.
22272 reload_flag=$lt_reload_flag_CXX
22273 reload_cmds=$lt_reload_cmds_CXX
22275 # Commands used to build an old-style archive.
22276 old_archive_cmds=$lt_old_archive_cmds_CXX
22278 # A language specific compiler.
22279 CC=$lt_compiler_CXX
22281 # Is the compiler the GNU compiler?
22284 # Compiler flag to turn off builtin functions.
22285 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22287 # Additional compiler flags for building library objects.
22288 pic_flag=$lt_lt_prog_compiler_pic_CXX
22290 # How to pass a linker flag through the compiler.
22291 wl=$lt_lt_prog_compiler_wl_CXX
22293 # Compiler flag to prevent dynamic linking.
22294 link_static_flag=$lt_lt_prog_compiler_static_CXX
22296 # Does compiler simultaneously support -c and -o options?
22297 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22299 # Whether or not to add -lc for building shared libraries.
22300 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22302 # Whether or not to disallow shared libs when runtime libs are static.
22303 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22305 # Compiler flag to allow reflexive dlopens.
22306 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22308 # Compiler flag to generate shared objects directly from archives.
22309 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22311 # Whether the compiler copes with passing no objects directly.
22312 compiler_needs_object=$lt_compiler_needs_object_CXX
22314 # Create an old-style archive from a shared archive.
22315 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22317 # Create a temporary old-style archive to link instead of a shared archive.
22318 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22320 # Commands used to build a shared archive.
22321 archive_cmds=$lt_archive_cmds_CXX
22322 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22324 # Commands used to build a loadable module if different from building
22325 # a shared archive.
22326 module_cmds=$lt_module_cmds_CXX
22327 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22329 # Whether we are building with GNU ld or not.
22330 with_gnu_ld=$lt_with_gnu_ld_CXX
22332 # Flag that allows shared libraries with undefined symbols to be built.
22333 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22335 # Flag that enforces no undefined symbols.
22336 no_undefined_flag=$lt_no_undefined_flag_CXX
22338 # Flag to hardcode \$libdir into a binary during linking.
22339 # This must work even if \$libdir does not exist
22340 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22342 # Whether we need a single "-rpath" flag with a separated argument.
22343 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22345 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22346 # DIR into the resulting binary.
22347 hardcode_direct=$hardcode_direct_CXX
22349 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22350 # DIR into the resulting binary and the resulting library dependency is
22351 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
22352 # library is relocated.
22353 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22355 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22356 # into the resulting binary.
22357 hardcode_minus_L=$hardcode_minus_L_CXX
22359 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22360 # into the resulting binary.
22361 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22363 # Set to "yes" if building a shared library automatically hardcodes DIR
22364 # into the library and all subsequent libraries and executables linked
22366 hardcode_automatic=$hardcode_automatic_CXX
22368 # Set to yes if linker adds runtime paths of dependent libraries
22369 # to runtime path list.
22370 inherit_rpath=$inherit_rpath_CXX
22372 # Whether libtool must link a program against all its dependency libraries.
22373 link_all_deplibs=$link_all_deplibs_CXX
22375 # Set to "yes" if exported symbols are required.
22376 always_export_symbols=$always_export_symbols_CXX
22378 # The commands to list exported symbols.
22379 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22381 # Symbols that should not be listed in the preloaded symbols.
22382 exclude_expsyms=$lt_exclude_expsyms_CXX
22384 # Symbols that must always be exported.
22385 include_expsyms=$lt_include_expsyms_CXX
22387 # Commands necessary for linking programs (against libraries) with templates.
22388 prelink_cmds=$lt_prelink_cmds_CXX
22390 # Commands necessary for finishing linking programs.
22391 postlink_cmds=$lt_postlink_cmds_CXX
22393 # Specify filename containing input files.
22394 file_list_spec=$lt_file_list_spec_CXX
22396 # How to hardcode a shared library path into an executable.
22397 hardcode_action=$hardcode_action_CXX
22399 # The directories searched by this compiler when creating a shared library.
22400 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22402 # Dependencies to place before and after the objects being linked to
22403 # create a shared library.
22404 predep_objects=$lt_predep_objects_CXX
22405 postdep_objects=$lt_postdep_objects_CXX
22406 predeps=$lt_predeps_CXX
22407 postdeps=$lt_postdeps_CXX
22409 # The library search path used internally by the compiler when linking
22410 # a shared library.
22411 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22413 # ### END LIBTOOL TAG CONFIG: CXX
22416 ## KPSE_LT_HACK: Prevent libtool from linking dependency_libs
22417 if test "x$enable_libtool_hack" = xyes
; then
22418 $SED '/# Convert "-framework/i\
22419 ## KPSE_LT_HACK: ignore dependency_libs\
22420 test "X$installed" = Xyes && dependency_libs=\
22421 ' "$ofile" >"$cfgfile"
22422 mv "$cfgfile" "$ofile" ||
22423 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22434 ac_clean_files
=$ac_clean_files_save
22436 test $ac_write_fail = 0 ||
22437 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22440 # configure is writing to config.log, and then calls config.status.
22441 # config.status does its own redirection, appending to config.log.
22442 # Unfortunately, on DOS this fails, as config.log is still kept open
22443 # by configure, so config.status won't be able to write to it; its
22444 # output is simply discarded. So we exec the FD to /dev/null,
22445 # effectively closing config.log, so it can be properly (re)opened and
22446 # appended to by config.status. When coming back to configure, we
22447 # need to make the FD available again.
22448 if test "$no_create" != yes; then
22450 ac_config_status_args
=
22451 test "$silent" = yes &&
22452 ac_config_status_args
="$ac_config_status_args --quiet"
22454 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22456 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22457 # would make configure fail if this is the last instruction.
22458 $ac_cs_success || as_fn_exit
1
22462 # CONFIG_SUBDIRS section.
22464 if test "$no_recursion" != yes; then
22466 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22467 # so they do not pile up.
22468 ac_sub_configure_args
=
22470 eval "set x $ac_configure_args"
22474 if test -n "$ac_prev"; then
22479 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
22480 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
22481 ac_prev
=cache_file
;;
22482 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
22483 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
22486 --config-cache |
-C)
22488 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
22490 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
22492 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
22494 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
22496 --disable-option-checking)
22500 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22502 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
22506 # Always prepend --prefix to ensure using the same prefix
22507 # in subdir configurations.
22508 ac_arg
="--prefix=$prefix"
22510 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22512 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
22515 if test "$silent" = yes; then
22516 ac_sub_configure_args
="--silent $ac_sub_configure_args"
22519 # Always prepend --disable-option-checking to silence warnings, since
22520 # different subdirs can have different --enable and --with options.
22521 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
22524 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
22526 # Do not complain, so a configure script can configure whichever
22527 # parts of a large source tree are present.
22528 test -d "$srcdir/$ac_dir" ||
continue
22530 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22531 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22532 $as_echo "$ac_msg" >&6
22533 as_dir
="$ac_dir"; as_fn_mkdir_p
22537 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22539 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22540 # A ".." for each directory in $ac_dir_suffix.
22541 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22542 case $ac_top_builddir_sub in
22543 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22544 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22547 ac_abs_top_builddir
=$ac_pwd
22548 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22549 # for backward compatibility:
22550 ac_top_builddir
=$ac_top_build_prefix
22553 .
) # We are building in place.
22555 ac_top_srcdir
=$ac_top_builddir_sub
22556 ac_abs_top_srcdir
=$ac_pwd ;;
22557 [\\/]* | ?
:[\\/]* ) # Absolute name.
22558 ac_srcdir
=$srcdir$ac_dir_suffix;
22559 ac_top_srcdir
=$srcdir
22560 ac_abs_top_srcdir
=$srcdir ;;
22561 *) # Relative name.
22562 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22563 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22564 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22566 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22571 # Check for guested configure; otherwise get Cygnus style configure.
22572 if test -f "$ac_srcdir/configure.gnu"; then
22573 ac_sub_configure
=$ac_srcdir/configure.gnu
22574 elif test -f "$ac_srcdir/configure"; then
22575 ac_sub_configure
=$ac_srcdir/configure
22576 elif test -f "$ac_srcdir/configure.in"; then
22577 # This should be Cygnus configure.
22578 ac_sub_configure
=$ac_aux_dir/configure
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22581 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22585 # The recursion is here.
22586 if test -n "$ac_sub_configure"; then
22587 # Make the cache file name correct relative to the subdirectory.
22588 case $cache_file in
22589 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
22590 *) # Relative name.
22591 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
22594 { $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
22595 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22596 # The eval makes quoting arguments work.
22597 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22598 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22599 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22605 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22607 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22611 if test -z "$kpse_GNU_make"; then
22612 if test "x$enable_native_texlive_build" = xno
; then
22613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building TeX Live may require GNU make" >&5
22614 $as_echo "$as_me: WARNING: Building TeX Live may require GNU make" >&2;}
22616 as_fn_error $?
"Building TeX Live requires GNU make" "$LINENO" 5
22620 if test "x$cross_compiling" = xyes
; then :
22621 msg_compiling
="cross-compiling on $build_alias for $host_alias"
22623 msg_compiling
="compiling for $kpse_build_alias"
22626 kpse_src
=`cd "$srcdir" && pwd`
22627 msg_compiling
="$msg_compiling
22629 test "x$srcdir" = x. || msg_compiling
="$msg_compiling
22630 from sources in $kpse_src"
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
22632 ** Configuration summary for $PACKAGE_STRING (2015$with_banner_add):
22634 $msg_compiling" >&5
22636 ** Configuration summary for $PACKAGE_STRING (2015$with_banner_add):
22638 $msg_compiling" >&6; }
22639 case $kpse_src$kpse_bld in
22640 *' '*) as_fn_error $?
"Absolute source and/or build path with embedded spaces" "$LINENO" 5;;
22643 cc_version
=`$CC --version 2>/dev/null | sed 1q`
22644 test -n "$cc_version" && cc_version
=" ($cc_version)"
22646 cxx_version
=`$CXX --version 2>/dev/null | sed 1q`
22647 test -n "$cxx_version" && cxx_version
=" ($cxx_version)"
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
22650 C compiler (CC): $CC$cc_version
22651 C++ compiler (CXX): $CXX$cxx_version
22654 enable_native_texlive_build: $enable_native_texlive_build
22655 enable_largefile: $enable_largefile
22656 enable_shared: $enable_shared
22657 enable_multiplatform: $enable_multiplatform
22658 enable_cxx_runtime_hack: $enable_cxx_runtime_hack
22659 enable_libtool_hack: $enable_libtool_hack
22660 enable_compiler_warnings: $enable_compiler_warnings
22663 includedir: $includedir
22664 datarootdir: $datarootdir
22667 exec_prefix: $exec_prefix
22671 ** Next run \`make' to configure and build each library and program.
22674 C compiler (CC): $CC$cc_version
22675 C++ compiler (CXX): $CXX$cxx_version
22678 enable_native_texlive_build: $enable_native_texlive_build
22679 enable_largefile: $enable_largefile
22680 enable_shared: $enable_shared
22681 enable_multiplatform: $enable_multiplatform
22682 enable_cxx_runtime_hack: $enable_cxx_runtime_hack
22683 enable_libtool_hack: $enable_libtool_hack
22684 enable_compiler_warnings: $enable_compiler_warnings
22687 includedir: $includedir
22688 datarootdir: $datarootdir
22691 exec_prefix: $exec_prefix
22695 ** Next run \`make' to configure and build each library and program.