2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for TeX Live 2014-11-24.
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
='2014-11-24'
594 PACKAGE_STRING
='TeX Live 2014-11-24'
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 with_kpathsea_includes
848 enable_mktexmf_default
849 enable_mktexpk_default
850 enable_mktextfm_default
853 enable_mktexfmt_default
854 enable_mktextex_default
855 enable_dependency_tracking
857 enable_maintainer_mode
858 enable_compiler_warnings
871 ac_precious_vars
='build_alias
886 ac_subdirs_all
='texk/kpathsea
887 auxdir/auxsub libs utils texk'
889 # Initialize some variables set by options.
891 ac_init_version
=false
892 ac_unrecognized_opts
=
894 # The variables have the same names as the options, with
895 # dashes changed to underlines.
903 program_transform_name
=s
,x
,x
,
911 # Installation directory options.
912 # These are left unexpanded so users can "make install exec_prefix=/foo"
913 # and all the variables that are supposed to be based on exec_prefix
914 # by default will actually change.
915 # Use braces instead of parens because sh, perl, etc. also accept them.
916 # (The list follows the same order as the GNU Coding Standards.)
917 bindir
='${exec_prefix}/bin'
918 sbindir
='${exec_prefix}/sbin'
919 libexecdir
='${exec_prefix}/libexec'
920 datarootdir
='${prefix}/share'
921 datadir
='${datarootdir}'
922 sysconfdir
='${prefix}/etc'
923 sharedstatedir
='${prefix}/com'
924 localstatedir
='${prefix}/var'
925 includedir
='${prefix}/include'
926 oldincludedir
='/usr/include'
927 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
928 infodir
='${datarootdir}/info'
933 libdir
='${exec_prefix}/lib'
934 localedir
='${datarootdir}/locale'
935 mandir
='${datarootdir}/man'
941 # If the previous option needs an argument, assign it.
942 if test -n "$ac_prev"; then
943 eval $ac_prev=\
$ac_option
949 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
962 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
965 -build |
--build |
--buil |
--bui |
--bu)
966 ac_prev
=build_alias
;;
967 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
968 build_alias
=$ac_optarg ;;
970 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
971 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
972 ac_prev
=cache_file
;;
973 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
974 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
975 cache_file
=$ac_optarg ;;
978 cache_file
=config.cache
;;
980 -datadir |
--datadir |
--datadi |
--datad)
982 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
983 datadir
=$ac_optarg ;;
985 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
986 |
--dataroo |
--dataro |
--datar)
987 ac_prev
=datarootdir
;;
988 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
989 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
990 datarootdir
=$ac_optarg ;;
992 -disable-* |
--disable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error $?
"invalid feature name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=no
;;
1008 -docdir |
--docdir |
--docdi |
--doc |
--do)
1010 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1011 docdir
=$ac_optarg ;;
1013 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1015 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1016 dvidir
=$ac_optarg ;;
1018 -enable-* |
--enable-*)
1019 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1022 as_fn_error $?
"invalid feature name: $ac_useropt"
1023 ac_useropt_orig
=$ac_useropt
1024 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_
$ac_useropt"
1029 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1030 ac_unrecognized_sep
=', ';;
1032 eval enable_
$ac_useropt=\
$ac_optarg ;;
1034 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1035 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1036 |
--exec |
--exe |
--ex)
1037 ac_prev
=exec_prefix
;;
1038 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1039 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1040 |
--exec=* |
--exe=* |
--ex=*)
1041 exec_prefix
=$ac_optarg ;;
1043 -gas |
--gas |
--ga |
--g)
1044 # Obsolete; use --with-gas.
1047 -help |
--help |
--hel |
--he |
-h)
1048 ac_init_help
=long
;;
1049 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1050 ac_init_help
=recursive
;;
1051 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1052 ac_init_help
=short
;;
1054 -host |
--host |
--hos |
--ho)
1055 ac_prev
=host_alias
;;
1056 -host=* |
--host=* |
--hos=* |
--ho=*)
1057 host_alias
=$ac_optarg ;;
1059 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1061 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1063 htmldir
=$ac_optarg ;;
1065 -includedir |
--includedir |
--includedi |
--included |
--include \
1066 |
--includ |
--inclu |
--incl |
--inc)
1067 ac_prev
=includedir
;;
1068 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1069 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1070 includedir
=$ac_optarg ;;
1072 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1074 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1075 infodir
=$ac_optarg ;;
1077 -libdir |
--libdir |
--libdi |
--libd)
1079 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1080 libdir
=$ac_optarg ;;
1082 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1083 |
--libexe |
--libex |
--libe)
1084 ac_prev
=libexecdir
;;
1085 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1086 |
--libexe=* |
--libex=* |
--libe=*)
1087 libexecdir
=$ac_optarg ;;
1089 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1090 ac_prev
=localedir
;;
1091 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1092 localedir
=$ac_optarg ;;
1094 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1095 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1096 ac_prev
=localstatedir
;;
1097 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1098 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1099 localstatedir
=$ac_optarg ;;
1101 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1103 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1104 mandir
=$ac_optarg ;;
1106 -nfp |
--nfp |
--nf)
1107 # Obsolete; use --without-fp.
1110 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1111 |
--no-cr |
--no-c |
-n)
1114 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1115 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1118 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1119 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1120 |
--oldin |
--oldi |
--old |
--ol |
--o)
1121 ac_prev
=oldincludedir
;;
1122 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1123 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1124 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1125 oldincludedir
=$ac_optarg ;;
1127 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1129 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1130 prefix
=$ac_optarg ;;
1132 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1133 |
--program-pre |
--program-pr |
--program-p)
1134 ac_prev
=program_prefix
;;
1135 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1136 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1137 program_prefix
=$ac_optarg ;;
1139 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1140 |
--program-suf |
--program-su |
--program-s)
1141 ac_prev
=program_suffix
;;
1142 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1143 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1144 program_suffix
=$ac_optarg ;;
1146 -program-transform-name |
--program-transform-name \
1147 |
--program-transform-nam |
--program-transform-na \
1148 |
--program-transform-n |
--program-transform- \
1149 |
--program-transform |
--program-transfor \
1150 |
--program-transfo |
--program-transf \
1151 |
--program-trans |
--program-tran \
1152 |
--progr-tra |
--program-tr |
--program-t)
1153 ac_prev
=program_transform_name
;;
1154 -program-transform-name=* |
--program-transform-name=* \
1155 |
--program-transform-nam=* |
--program-transform-na=* \
1156 |
--program-transform-n=* |
--program-transform-=* \
1157 |
--program-transform=* |
--program-transfor=* \
1158 |
--program-transfo=* |
--program-transf=* \
1159 |
--program-trans=* |
--program-tran=* \
1160 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1161 program_transform_name
=$ac_optarg ;;
1163 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1165 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1166 pdfdir
=$ac_optarg ;;
1168 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1170 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1173 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1174 |
-silent |
--silent |
--silen |
--sile |
--sil)
1177 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1179 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1181 sbindir
=$ac_optarg ;;
1183 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1184 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1185 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1187 ac_prev
=sharedstatedir
;;
1188 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1189 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1190 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1192 sharedstatedir
=$ac_optarg ;;
1194 -site |
--site |
--sit)
1196 -site=* |
--site=* |
--sit=*)
1199 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1201 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1202 srcdir
=$ac_optarg ;;
1204 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1205 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1206 ac_prev
=sysconfdir
;;
1207 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1208 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1209 sysconfdir
=$ac_optarg ;;
1211 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1212 ac_prev
=target_alias
;;
1213 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1214 target_alias
=$ac_optarg ;;
1216 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1219 -version |
--version |
--versio |
--versi |
--vers |
-V)
1220 ac_init_version
=: ;;
1223 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1226 as_fn_error $?
"invalid package name: $ac_useropt"
1227 ac_useropt_orig
=$ac_useropt
1228 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1234 ac_unrecognized_sep
=', ';;
1236 eval with_
$ac_useropt=\
$ac_optarg ;;
1238 -without-* |
--without-*)
1239 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1242 as_fn_error $?
"invalid package name: $ac_useropt"
1243 ac_useropt_orig
=$ac_useropt
1244 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1249 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1250 ac_unrecognized_sep
=', ';;
1252 eval with_
$ac_useropt=no
;;
1255 # Obsolete; use --with-x.
1258 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1259 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1260 ac_prev
=x_includes
;;
1261 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1262 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1263 x_includes
=$ac_optarg ;;
1265 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1266 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1267 ac_prev
=x_libraries
;;
1268 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1269 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1270 x_libraries
=$ac_optarg ;;
1272 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1273 Try \`$0 --help' for more information"
1277 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1278 # Reject names that are not valid shell variable names.
1279 case $ac_envvar in #(
1280 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1281 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1283 eval $ac_envvar=\
$ac_optarg
1284 export $ac_envvar ;;
1287 # FIXME: should be removed in autoconf 3.0.
1288 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1289 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1290 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1291 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1297 if test -n "$ac_prev"; then
1298 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1299 as_fn_error $?
"missing argument to $ac_option"
1302 if test -n "$ac_unrecognized_opts"; then
1303 case $enable_option_checking in
1305 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1306 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310 # Check all directory arguments for consistency.
1311 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1312 datadir sysconfdir sharedstatedir localstatedir includedir \
1313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1314 libdir localedir mandir
1316 eval ac_val
=\$
$ac_var
1317 # Remove trailing slashes.
1320 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1321 eval $ac_var=\
$ac_val;;
1323 # Be sure to have absolute directory names.
1325 [\\/$
]* | ?
:[\\/]* ) continue;;
1326 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1328 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1331 # There might be people who depend on the old broken behavior: `$host'
1332 # used to hold the argument of --host etc.
1333 # FIXME: To remove some day.
1336 target
=$target_alias
1338 # FIXME: To remove some day.
1339 if test "x$host_alias" != x
; then
1340 if test "x$build_alias" = x
; then
1341 cross_compiling
=maybe
1342 elif test "x$build_alias" != "x$host_alias"; then
1348 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1350 test "$silent" = yes && exec 6>/dev
/null
1353 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di
=`ls -di .` &&
1355 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error $?
"working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error $?
"pwd does not report name of working directory"
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted
=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir
=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1393 ac_srcdir_defaulted
=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1397 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1399 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1411 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413 for ac_var
in $ac_precious_vars; do
1414 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1416 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1427 \`configure' configures TeX Live 2014-11-24 to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking ...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/tex-live]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1490 --x-includes=DIR X include files are
in DIR
1491 --x-libraries=DIR X library files are
in DIR
1494 --build=BUILD configure
for building on BUILD
[guessed
]
1495 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1499 if test -n "$ac_init_help"; then
1500 case $ac_init_help in
1501 short | recursive
) echo "Configuration of TeX Live 2014-11-24:";;
1506 --disable-option-checking ignore unrecognized
--enable/--with options
1507 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1508 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1509 --disable-missing terminate
if a requested program or feature must be
1510 disabled
, e.g.
, due to missing libraries
1511 --disable-all-pkgs do not build packages unless explicitly enabled
1512 --disable-native-texlive-build
1513 do not build
for the TeX Live binary distribution
1514 --enable-multiplatform put executables into bin
/PLATFORM and libraries into
1516 --enable-cxx-runtime-hack link C
++ runtime statically
1517 --enable-libtool-hack ignore libtool dependency_libs
1518 --disable-web2c do not build the web2c
(TeX
& Co.
) package
1519 --enable-auto-core cause TeX
&MF to dump core
, given a certain
1521 --disable-dump-share make fmt
/base
/mem files architecture-dependent
1522 --disable-ipc disable TeX
's --ipc option, i.e., pipe to a
1524 --disable-tex do not compile and install TeX
1525 --enable-tex-synctex build TeX with SyncTeX support
1526 --enable-etex compile and install e-TeX
1527 --disable-etex-synctex build e-TeX without SyncTeX support
1528 --disable-ptex do not compile and install pTeX
1529 --disable-ptex-synctex build pTeX without SyncTeX support
1530 --disable-eptex do not compile and install e-pTeX
1531 --disable-eptex-synctex build e-pTeX without SyncTeX support
1532 --disable-uptex do not compile and install upTeX
1533 --disable-uptex-synctex build upTeX without SyncTeX support
1534 --disable-euptex do not compile and install e-upTeX
1535 --disable-euptex-synctex build e-upTeX without SyncTeX support
1536 --disable-aleph do not compile and install Aleph
1537 --disable-pdftex do not compile and install pdfTeX
1538 --disable-pdftex-synctex build pdfTeX without SyncTeX support
1539 --disable-luatex do not compile and install LuaTeX
1540 --disable-luajittex do not compile and install LuaJITTeX
1541 --disable-mp do not compile and install MetaPost
1542 --disable-pmp do not compile and install pMetaPost
1543 --disable-upmp do not compile and install upMetaPost
1544 --disable-xetex do not compile and install XeTeX
1545 --disable-xetex-synctex build XeTeX without SyncTeX support
1546 --disable-mf do not build METAFONT
1547 --disable-mf-nowin do not build a separate non-windows-capable
1549 --enable-epsfwin include EPSF pseudo window support
1550 --enable-hp2627win include HP 2627 window support
1551 --enable-mftalkwin include mftalk (generic server) window support
1552 --enable-nextwin include NeXT window support
1553 --enable-regiswin include Regis window support
1554 --enable-suntoolswin include old Suntools (not X) window support
1555 --enable-tektronixwin include Tektronix window support
1556 --enable-unitermwin include Uniterm window support
1557 --disable-web-progs do not build WEB programs bibtex ... weave
1558 --disable-synctex do not build the SyncTeX tool
1559 --disable-texlive do not build the texlive (TeX Live scripts) package
1560 --disable-linked-scripts do not install the linked scripts
1561 --disable-mktexmf-default do not run mktexmf if MF source missing
1562 --disable-mktexpk-default do not run mktexpk if PK font missing
1563 --disable-mktextfm-default do not run mktextfm if TFM file missing
1564 --disable-mkocp-default do not run mkocp if OCP file missing
1565 --disable-mkofm-default do not run mkofm if OFM file missing
1566 --disable-mktexfmt-default do not run mktexfmt if format file missing
1567 --enable-mktextex-default run mktextex if TeX source missing
1568 --enable-dependency-tracking
1569 do not reject slow dependency extractors
1570 --disable-dependency-tracking
1571 speeds up one-time build
1572 --enable-silent-rules less verbose build output (undo: "make V=1")
1573 --disable-silent-rules verbose build output (undo: "make V=0")
1574 --enable-maintainer-mode
1575 enable make rules and dependencies not useful (and
1576 sometimes confusing) to the casual installer
1577 --enable-compiler-warnings=[no|min|yes|max|all]
1578 Turn on compiler warnings [default: yes if
1579 maintainer-mode, min otherwise]
1580 --enable-shared[=PKGS] build shared libraries [default=yes]
1581 --enable-static[=PKGS] build static libraries [default=yes]
1582 --enable-fast-install[=PKGS]
1583 optimize for fast installation [default=yes]
1584 --disable-libtool-lock avoid locking (might break parallel builds)
1585 --disable-largefile omit support for large files
1588 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1589 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1590 --with-banner-add=STR add STR to version string appended to banner lines
1591 --with-editor=CMD invoke CMD from the `e' option
[vi
+%d
'%s'] or
1592 [texworks
--position=%d
"%s"]
1593 --with-mf-x-toolkit use X toolkit
for METAFONT
1594 --with-system-zziplib use installed zziplib headers and library
(requires
1596 --with-system-poppler use installed poppler headers and library
(requires
1598 --with-system-mpfr use installed mpfr headers and library
1599 --with-mpfr-includes=DIR
1600 mpfr headers installed
in DIR
1601 --with-mpfr-libdir=DIR mpfr library installed
in DIR
1602 --with-system-gmp use installed gmp headers and library
1603 --with-gmp-includes=DIR gmp headers installed
in DIR
1604 --with-gmp-libdir=DIR gmp library installed
in DIR
1605 --with-system-cairo use installed cairo headers and library
(requires
1607 --with-system-pixman use installed pixman headers and library
(requires
1609 --with-system-libpng use installed libpng headers and library
(requires
1611 --with-system-zlib use installed zlib headers and library
1612 --with-zlib-includes=DIR
1613 zlib headers installed
in DIR
1614 --with-zlib-libdir=DIR zlib library installed
in DIR
1615 --with-system-kpathsea use installed kpathsea headers and library
1616 --with-kpathsea-includes=DIR
1617 kpathsea headers installed
in DIR
1618 --with-kpathsea-libdir=DIR
1619 kpathsea library installed
in DIR
1620 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1622 --with-aix-soname=aix|svr4|both
1623 shared library versioning
(aka
"SONAME") variant to
1624 provide on AIX
, [default
=aix
].
1625 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1626 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1627 compiler
's sysroot if not specified).
1628 --with-x use the X Window System
1629 --without-ln-s do build even if `ln -s' does not work
1631 Some influential environment variables
:
1632 CC C compiler
command
1633 CFLAGS C compiler flags
1634 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1635 nonstandard directory
<lib dir
>
1636 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1637 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1638 you have headers
in a nonstandard directory
<include dir
>
1640 User-defined run-time library search path.
1642 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1643 CXX C
++ compiler
command
1644 CXXFLAGS C
++ compiler flags
1645 CXXCPP C
++ preprocessor
1647 Use these variables to override the choices made by
`configure' or to help
1648 it to find libraries and programs with nonstandard names/locations.
1650 Report bugs to <tex-k@tug.org>.
1655 if test "$ac_init_help" = "recursive"; then
1656 # If there are subdirs, report their specific --help.
1657 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1658 test -d "$ac_dir" ||
1659 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1664 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1666 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1667 # A ".." for each directory in $ac_dir_suffix.
1668 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1669 case $ac_top_builddir_sub in
1670 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1671 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1674 ac_abs_top_builddir=$ac_pwd
1675 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1676 # for backward compatibility:
1677 ac_top_builddir=$ac_top_build_prefix
1680 .) # We are building in place.
1682 ac_top_srcdir=$ac_top_builddir_sub
1683 ac_abs_top_srcdir=$ac_pwd ;;
1684 [\\/]* | ?:[\\/]* ) # Absolute name.
1685 ac_srcdir=$srcdir$ac_dir_suffix;
1686 ac_top_srcdir=$srcdir
1687 ac_abs_top_srcdir=$srcdir ;;
1689 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1690 ac_top_srcdir=$ac_top_build_prefix$srcdir
1691 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1693 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1695 cd "$ac_dir" || { ac_status=$?; continue; }
1696 # Check for guested configure.
1697 if test -f "$ac_srcdir/configure.gnu"; then
1699 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1700 elif test -f "$ac_srcdir/configure"; then
1702 $SHELL "$ac_srcdir/configure" --help=recursive
1704 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1706 cd "$ac_pwd" || { ac_status=$?; break; }
1710 test -n "$ac_init_help" && exit $ac_status
1711 if $ac_init_version; then
1713 TeX Live configure 2014-11-24
1714 generated by GNU Autoconf 2.69
1716 Copyright (C) 2012 Free Software Foundation, Inc.
1717 This configure script is free software; the Free Software Foundation
1718 gives unlimited permission to copy, distribute and modify it.
1723 ## ------------------------ ##
1724 ## Autoconf initialization. ##
1725 ## ------------------------ ##
1727 # ac_fn_c_try_compile LINENO
1728 # --------------------------
1729 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1730 ac_fn_c_try_compile ()
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 rm -f conftest.$ac_objext
1734 if { { ac_try="$ac_compile"
1736 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1737 *) ac_try_echo
=$ac_try;;
1739 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_compile") 2>conftest.err
1743 if test -s conftest.err
; then
1744 grep -v '^ *+' conftest.err
>conftest.er1
1745 cat conftest.er1
>&5
1746 mv -f conftest.er1 conftest.err
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; } && {
1750 test -z "$ac_c_werror_flag" ||
1751 test ! -s conftest.err
1752 } && test -s conftest.
$ac_objext; then :
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.
$ac_ext >&5
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761 as_fn_set_status
$ac_retval
1763 } # ac_fn_c_try_compile
1765 # ac_fn_c_try_link LINENO
1766 # -----------------------
1767 # Try to link conftest.$ac_ext, and return whether this succeeded.
1770 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1771 rm -f conftest.
$ac_objext conftest
$ac_exeext
1772 if { { ac_try
="$ac_link"
1774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_link") 2>conftest.err
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } && {
1788 test -z "$ac_c_werror_flag" ||
1789 test ! -s conftest.err
1790 } && test -s conftest$ac_exeext && {
1791 test "$cross_compiling" = yes ||
1792 test -x conftest$ac_exeext
1796 $as_echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.$ac_ext >&5
1801 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1802 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1803 # interfere with the next link command; also delete a directory that is
1804 # left behind by Apple's compiler. We do this before executing the actions.
1805 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807 as_fn_set_status $ac_retval
1809 } # ac_fn_c_try_link
1811 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1812 # -------------------------------------------------------
1813 # Tests whether HEADER exists and can be compiled using the include files in
1814 # INCLUDES, setting the cache variable VAR accordingly.
1815 ac_fn_c_check_header_compile ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819 $as_echo_n "checking for $2... " >&6; }
1820 if eval \${$3+:} false; then :
1821 $as_echo_n "(cached) " >&6
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1828 if ac_fn_c_try_compile "$LINENO"; then :
1833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837 $as_echo "$ac_res" >&6; }
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 } # ac_fn_c_check_header_compile
1842 # ac_fn_c_try_cpp LINENO
1843 # ----------------------
1844 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 if { { ac_try="$ac_cpp conftest.$ac_ext"
1850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1851 *) ac_try_echo
=$ac_try;;
1853 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1857 if test -s conftest.err
; then
1858 grep -v '^ *+' conftest.err
>conftest.er1
1859 cat conftest.er1
>&5
1860 mv -f conftest.er1 conftest.err
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } > conftest.i
&& {
1864 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1865 test ! -s conftest.err
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.
$ac_ext >&5
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 as_fn_set_status
$ac_retval
1879 # ac_fn_c_try_run LINENO
1880 # ----------------------
1881 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1882 # that executables *can* be run.
1885 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1886 if { { ac_try
="$ac_link"
1888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_link") 2>&5
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1897 { { case "(($ac_try" in
1898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1899 *) ac_try_echo
=$ac_try;;
1901 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_try") 2>&5
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; }; }; then :
1909 $as_echo "$as_me: program exited with status $ac_status" >&5
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.
$ac_ext >&5
1913 ac_retval
=$ac_status
1915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 as_fn_set_status
$ac_retval
1921 # ac_fn_c_check_func LINENO FUNC VAR
1922 # ----------------------------------
1923 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1924 ac_fn_c_check_func
()
1926 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if eval \
${$3+:} false
; then :
1930 $as_echo_n "(cached) " >&6
1932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */
1934 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1936 #define $2 innocuous_$2
1938 /* System header to define __stub macros and hopefully few prototypes,
1939 which can conflict with char $2 (); below.
1940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1941 <limits.h> exists even on freestanding compilers. */
1944 # include <limits.h>
1946 # include <assert.h>
1951 /* Override any GCC internal prototype to avoid an error.
1952 Use char because int might match the return type of a GCC
1953 builtin and then its argument prototype would still apply. */
1958 /* The GNU C library defines this for functions which it implements
1959 to always fail with ENOSYS. Some functions are actually named
1960 something starting with __ and the normal name is an alias. */
1961 #if defined __stub_$2 || defined __stub___$2
1973 if ac_fn_c_try_link
"$LINENO"; then :
1978 rm -f core conftest.err conftest.
$ac_objext \
1979 conftest
$ac_exeext conftest.
$ac_ext
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 } # ac_fn_c_check_func
1988 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1989 # -------------------------------------------------------
1990 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1991 # the include files in INCLUDES and setting the cache variable VAR
1993 ac_fn_c_check_header_mongrel
()
1995 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1996 if eval \
${$3+:} false
; then :
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998 $as_echo_n "checking for $2... " >&6; }
1999 if eval \
${$3+:} false
; then :
2000 $as_echo_n "(cached) " >&6
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004 $as_echo "$ac_res" >&6; }
2006 # Is the header compilable?
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2008 $as_echo_n "checking $2 usability... " >&6; }
2009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2014 if ac_fn_c_try_compile
"$LINENO"; then :
2015 ac_header_compiler
=yes
2017 ac_header_compiler
=no
2019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2021 $as_echo "$ac_header_compiler" >&6; }
2023 # Is the header present?
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2025 $as_echo_n "checking $2 presence... " >&6; }
2026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2030 if ac_fn_c_try_cpp
"$LINENO"; then :
2031 ac_header_preproc
=yes
2033 ac_header_preproc
=no
2035 rm -f conftest.err conftest.i conftest.
$ac_ext
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2037 $as_echo "$ac_header_preproc" >&6; }
2039 # So? What about this header?
2040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2043 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2049 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2051 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2053 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2055 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2057 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2058 ( $as_echo "## ---------------------------- ##
2059 ## Report this to tex-k@tug.org ##
2060 ## ---------------------------- ##"
2061 ) |
sed "s/^/$as_me: WARNING: /" >&2
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065 $as_echo_n "checking for $2... " >&6; }
2066 if eval \
${$3+:} false
; then :
2067 $as_echo_n "(cached) " >&6
2069 eval "$3=\$ac_header_compiler"
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077 } # ac_fn_c_check_header_mongrel
2079 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2080 # -------------------------------------------
2081 # Tests whether TYPE exists after having included INCLUDES, setting cache
2082 # variable VAR accordingly.
2083 ac_fn_c_check_type
()
2085 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2087 $as_echo_n "checking for $2... " >&6; }
2088 if eval \
${$3+:} false
; then :
2089 $as_echo_n "(cached) " >&6
2092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2104 if ac_fn_c_try_compile
"$LINENO"; then :
2105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h. */
2117 if ac_fn_c_try_compile
"$LINENO"; then :
2122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128 $as_echo "$ac_res" >&6; }
2129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2131 } # ac_fn_c_check_type
2133 # ac_fn_c_find_intX_t LINENO BITS VAR
2134 # -----------------------------------
2135 # Finds a signed integer type with width BITS, setting cache variable VAR
2137 ac_fn_c_find_intX_t
()
2139 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2141 $as_echo_n "checking for int$2_t... " >&6; }
2142 if eval \
${$3+:} false
; then :
2143 $as_echo_n "(cached) " >&6
2146 # Order is important - never check a type that is potentially smaller
2147 # than half of the expected target width.
2148 for ac_type
in int
$2_t 'int' 'long int' \
2149 'long long int' 'short int' 'signed char'; do
2150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h. */
2152 $ac_includes_default
2153 enum { N = $2 / 2 - 1 };
2157 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2159 return test_array [0];
2165 if ac_fn_c_try_compile
"$LINENO"; then :
2166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2168 $ac_includes_default
2169 enum { N = $2 / 2 - 1 };
2173 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2174 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2176 return test_array [0];
2182 if ac_fn_c_try_compile
"$LINENO"; then :
2189 eval "$3=\$ac_type" ;;
2192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2195 if eval test \"x\$
"$3"\" = x
"no"; then :
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2204 $as_echo "$ac_res" >&6; }
2205 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2207 } # ac_fn_c_find_intX_t
2209 # ac_fn_c_find_uintX_t LINENO BITS VAR
2210 # ------------------------------------
2211 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2213 ac_fn_c_find_uintX_t
()
2215 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2217 $as_echo_n "checking for uint$2_t... " >&6; }
2218 if eval \
${$3+:} false
; then :
2219 $as_echo_n "(cached) " >&6
2222 # Order is important - never check a type that is potentially smaller
2223 # than half of the expected target width.
2224 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
2225 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2227 /* end confdefs.h. */
2228 $ac_includes_default
2232 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2234 return test_array [0];
2240 if ac_fn_c_try_compile
"$LINENO"; then :
2245 eval "$3=\$ac_type" ;;
2248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2249 if eval test \"x\$
"$3"\" = x
"no"; then :
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2258 $as_echo "$ac_res" >&6; }
2259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2261 } # ac_fn_c_find_uintX_t
2263 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2264 # ----------------------------------------------------
2265 # Tries to find if the field MEMBER exists in type AGGR, after including
2266 # INCLUDES, setting cache variable VAR accordingly.
2267 ac_fn_c_check_member
()
2269 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2271 $as_echo_n "checking for $2.$3... " >&6; }
2272 if eval \
${$4+:} false
; then :
2273 $as_echo_n "(cached) " >&6
2275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2276 /* end confdefs.h. */
2288 if ac_fn_c_try_compile
"$LINENO"; then :
2291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2298 if (sizeof ac_aggr.$3)
2304 if ac_fn_c_try_compile
"$LINENO"; then :
2309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2315 $as_echo "$ac_res" >&6; }
2316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2318 } # ac_fn_c_check_member
2320 # ac_fn_cxx_try_compile LINENO
2321 # ----------------------------
2322 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2323 ac_fn_cxx_try_compile
()
2325 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2326 rm -f conftest.
$ac_objext
2327 if { { ac_try
="$ac_compile"
2329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2330 *) ac_try_echo=$ac_try;;
2332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2333 $as_echo "$ac_try_echo"; } >&5
2334 (eval "$ac_compile") 2>conftest.err
2336 if test -s conftest.err; then
2337 grep -v '^ *+' conftest.err >conftest.er1
2338 cat conftest.er1 >&5
2339 mv -f conftest.er1 conftest.err
2341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2342 test $ac_status = 0; } && {
2343 test -z "$ac_cxx_werror_flag" ||
2344 test ! -s conftest.err
2345 } && test -s conftest.$ac_objext; then :
2348 $as_echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.$ac_ext >&5
2353 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2354 as_fn_set_status $ac_retval
2356 } # ac_fn_cxx_try_compile
2358 # ac_fn_cxx_try_cpp LINENO
2359 # ------------------------
2360 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2361 ac_fn_cxx_try_cpp ()
2363 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2364 if { { ac_try="$ac_cpp conftest.$ac_ext"
2366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2367 *) ac_try_echo
=$ac_try;;
2369 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2370 $as_echo "$ac_try_echo"; } >&5
2371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2373 if test -s conftest.err
; then
2374 grep -v '^ *+' conftest.err
>conftest.er1
2375 cat conftest.er1
>&5
2376 mv -f conftest.er1 conftest.err
2378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2379 test $ac_status = 0; } > conftest.i
&& {
2380 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2381 test ! -s conftest.err
2385 $as_echo "$as_me: failed program was:" >&5
2386 sed 's/^/| /' conftest.
$ac_ext >&5
2390 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2391 as_fn_set_status
$ac_retval
2393 } # ac_fn_cxx_try_cpp
2395 # ac_fn_cxx_try_link LINENO
2396 # -------------------------
2397 # Try to link conftest.$ac_ext, and return whether this succeeded.
2398 ac_fn_cxx_try_link
()
2400 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2401 rm -f conftest.
$ac_objext conftest
$ac_exeext
2402 if { { ac_try
="$ac_link"
2404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2405 *) ac_try_echo=$ac_try;;
2407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2408 $as_echo "$ac_try_echo"; } >&5
2409 (eval "$ac_link") 2>conftest.err
2411 if test -s conftest.err; then
2412 grep -v '^ *+' conftest.err >conftest.er1
2413 cat conftest.er1 >&5
2414 mv -f conftest.er1 conftest.err
2416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2417 test $ac_status = 0; } && {
2418 test -z "$ac_cxx_werror_flag" ||
2419 test ! -s conftest.err
2420 } && test -s conftest$ac_exeext && {
2421 test "$cross_compiling" = yes ||
2422 test -x conftest$ac_exeext
2426 $as_echo "$as_me: failed program was:" >&5
2427 sed 's/^/| /' conftest.$ac_ext >&5
2431 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2432 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2433 # interfere with the next link command; also delete a directory that is
2434 # left behind by Apple's compiler. We do this before executing the actions.
2435 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2436 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2437 as_fn_set_status $ac_retval
2439 } # ac_fn_cxx_try_link
2440 cat >config.log <<_ACEOF
2441 This file contains any messages produced by compilers while
2442 running configure, to aid debugging if configure makes a mistake.
2444 It was created by TeX Live $as_me 2014-11-24, which was
2445 generated by GNU Autoconf 2.69. Invocation command line was
2457 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2458 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2459 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2460 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2461 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2463 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2464 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2466 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2467 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2468 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2469 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2470 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2471 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2472 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480 test -z "$as_dir" && as_dir=.
2481 $as_echo "PATH: $as_dir"
2497 # Keep a trace of the command line.
2498 # Strip out --no-create and --no-recursion so they do not pile up.
2499 # Strip out --silent because we don't want to record it for future runs.
2500 # Also quote any args containing shell meta-characters.
2501 # Make two passes to allow for proper duplicate-argument suppression.
2505 ac_must_keep_next=false
2511 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2513 | -silent | --silent | --silen | --sile | --sil)
2516 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2519 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2521 as_fn_append ac_configure_args1 " '$ac_arg'"
2522 if test $ac_must_keep_next = true; then
2523 ac_must_keep_next=false # Got value, back to normal.
2526 *=* | --config-cache | -C | -disable-* | --disable-* \
2527 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2528 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2529 | -with-* | --with-* | -without-* | --without-* | --x)
2530 case "$ac_configure_args0 " in
2531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2534 -* ) ac_must_keep_next=true ;;
2537 as_fn_append ac_configure_args " '$ac_arg'"
2542 { ac_configure_args0=; unset ac_configure_args0;}
2543 { ac_configure_args1=; unset ac_configure_args1;}
2545 # When interrupted or exit'd, cleanup temporary files, and complete
2546 # config.log. We remove comments because anyway the quotes in there
2547 # would cause problems or look ugly.
2548 # WARNING: Use '\'' to represent an apostrophe within the trap.
2549 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2550 trap 'exit_status=$?
2551 # Save into config.log some information that might help in debugging.
2555 $as_echo "## ---------------- ##
2556 ## Cache variables. ##
2557 ## ---------------- ##"
2559 # The following way of writing the cache mishandles newlines in values,
2561 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2562 eval ac_val=\$$ac_var
2566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2570 _ | IFS | as_nl) ;; #(
2571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2572 *) { eval $ac_var=; unset $ac_var;} ;;
2577 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2578 *${as_nl}ac_space=\ *)
2580 "s/'\''/'\''\\\\'\'''\''/g;
2581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2591 $as_echo "## ----------------- ##
2592 ## Output variables. ##
2593 ## ----------------- ##"
2595 for ac_var in $ac_subst_vars
2597 eval ac_val=\$$ac_var
2599 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2601 $as_echo "$ac_var='\''$ac_val'\''"
2605 if test -n "$ac_subst_files"; then
2606 $as_echo "## ------------------- ##
2607 ## File substitutions. ##
2608 ## ------------------- ##"
2610 for ac_var in $ac_subst_files
2612 eval ac_val=\$$ac_var
2614 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2616 $as_echo "$ac_var='\''$ac_val'\''"
2621 if test -s confdefs.h; then
2622 $as_echo "## ----------- ##
2629 test "$ac_signal" != 0 &&
2630 $as_echo "$as_me: caught signal $ac_signal"
2631 $as_echo "$as_me: exit $exit_status"
2633 rm -f core *.core core.conftest.* &&
2634 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2637 for ac_signal in 1 2 13 15; do
2638 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2642 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2643 rm -f -r conftest* confdefs.h
2645 $as_echo "/* confdefs.h */" > confdefs.h
2647 # Predefined preprocessor variables.
2649 cat >>confdefs.h <<_ACEOF
2650 #define PACKAGE_NAME "$PACKAGE_NAME"
2653 cat >>confdefs.h <<_ACEOF
2654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2657 cat >>confdefs.h <<_ACEOF
2658 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2661 cat >>confdefs.h <<_ACEOF
2662 #define PACKAGE_STRING "$PACKAGE_STRING"
2665 cat >>confdefs.h <<_ACEOF
2666 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2669 cat >>confdefs.h <<_ACEOF
2670 #define PACKAGE_URL "$PACKAGE_URL"
2674 # Let the site file select an alternate cache file if it wants to.
2675 # Prefer an explicitly selected file to automatically selected ones.
2678 if test -n "$CONFIG_SITE"; then
2679 # We do not want a PATH search for config.site.
2680 case $CONFIG_SITE in #((
2681 -*) ac_site_file1=./$CONFIG_SITE;;
2682 */*) ac_site_file1=$CONFIG_SITE;;
2683 *) ac_site_file1=./$CONFIG_SITE;;
2685 elif test "x$prefix" != xNONE; then
2686 ac_site_file1=$prefix/share/config.site
2687 ac_site_file2=$prefix/etc/config.site
2689 ac_site_file1=$ac_default_prefix/share/config.site
2690 ac_site_file2=$ac_default_prefix/etc/config.site
2692 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2694 test "x$ac_site_file" = xNONE && continue
2695 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2698 sed 's/^/| /' "$ac_site_file" >&5
2700 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2702 as_fn_error $? "failed to load site
script $ac_site_file
2703 See \
`config.log' for more details" "$LINENO" 5; }
2707 if test -r "$cache_file"; then
2708 # Some versions of bash will fail to source /dev/null (special files
2709 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2710 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2712 $as_echo "$as_me: loading cache $cache_file" >&6;}
2714 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2715 *) . "./$cache_file";;
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2720 $as_echo "$as_me: creating cache $cache_file" >&6;}
2724 # Check that the precious variables saved in the cache have kept the same
2726 ac_cache_corrupted=false
2727 for ac_var in $ac_precious_vars; do
2728 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2729 eval ac_new_set=\$ac_env_${ac_var}_set
2730 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2731 eval ac_new_val=\$ac_env_${ac_var}_value
2732 case $ac_old_set,$ac_new_set in
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2735 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2736 ac_cache_corrupted=: ;;
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2739 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2740 ac_cache_corrupted=: ;;
2743 if test "x$ac_old_val" != "x$ac_new_val"; then
2744 # differences in whitespace do not lead to failure.
2745 ac_old_val_w=`echo x
$ac_old_val`
2746 ac_new_val_w=`echo x
$ac_new_val`
2747 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2749 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2750 ac_cache_corrupted=:
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2753 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2754 eval $ac_var=\$ac_old_val
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2757 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2759 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2762 # Pass precious variables to config.status.
2763 if test "$ac_new_set" = set; then
2765 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2766 *) ac_arg=$ac_var=$ac_new_val ;;
2768 case " $ac_configure_args " in
2769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2770 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2774 if $ac_cache_corrupted; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2779 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2781 ## -------------------- ##
2782 ## Main body of script. ##
2783 ## -------------------- ##
2786 ac_cpp='$CPP $CPPFLAGS'
2787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2795 for ac_dir in build-aux "$srcdir"/build-aux; do
2796 if test -f "$ac_dir/install-sh"; then
2798 ac_install_sh="$ac_aux_dir/install-sh -c"
2800 elif test -f "$ac_dir/install.sh"; then
2802 ac_install_sh="$ac_aux_dir/install.sh -c"
2804 elif test -f "$ac_dir/shtool"; then
2806 ac_install_sh="$ac_aux_dir/shtool install -c"
2810 if test -z "$ac_aux_dir"; then
2811 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2814 # These three variables are undocumented and unsupported,
2815 # and are intended to be withdrawn in a future Autoconf release.
2816 # They can cause serious problems if a builder's source tree is in a directory
2817 # whose full name contains unusual characters.
2818 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2819 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2820 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2825 if test "x$srcdir" = x. && test "x$enable_build_in_source_tree" != xyes; then
2827 as_fn_error $? "Configuring and building TeX Live in the source tree
2828 is strongly discouraged. If you really want to do that, you must
2829 specify the configure option \`--enable-build-in-source-tree', but
2830 then do not ask for help -- you have been warned." "$LINENO" 5
2833 # Make sure we can run config.sub.
2834 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2835 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2838 $as_echo_n "checking build system type... " >&6; }
2839 if ${ac_cv_build+:} false; then :
2840 $as_echo_n "(cached) " >&6
2842 ac_build_alias=$build_alias
2843 test "x$ac_build_alias" = x &&
2844 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2845 test "x$ac_build_alias" = x &&
2846 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2847 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2848 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2852 $as_echo "$ac_cv_build" >&6; }
2853 case $ac_cv_build in
2855 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2858 ac_save_IFS=$IFS; IFS='-'
2864 # Remember, the first character of IFS is used to create $*,
2865 # except with old shells:
2868 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's
/ /-/g
'`;; esac
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2872 $as_echo_n "checking host system type... " >&6; }
2873 if ${ac_cv_host+:} false; then :
2874 $as_echo_n "(cached) " >&6
2876 if test "x$host_alias" = x; then
2877 ac_cv_host=$ac_cv_build
2879 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2880 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2885 $as_echo "$ac_cv_host" >&6; }
2888 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2891 ac_save_IFS=$IFS; IFS='-'
2897 # Remember, the first character of IFS is used to create $*,
2898 # except with old shells:
2901 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's
/ /-/g
'`;; esac
2904 # Check whether --enable-missing was given.
2905 if test "${enable_missing+set}" = set; then :
2906 enableval=$enable_missing;
2909 # Expand $ac_aux_dir to an absolute path.
2910 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2913 ac_cpp='$CPP $CPPFLAGS'
2914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
2915 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
2916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2917 if test -n "$ac_tool_prefix"; then
2918 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2919 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if ${ac_cv_prog_CC+:} false; then :
2923 $as_echo_n "(cached) " >&6
2925 if test -n "$CC"; then
2926 ac_cv_prog_CC="$CC" # Let the user override the test.
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir=.
2933 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2935 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 if test -n "$CC"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2948 $as_echo "$CC" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2956 if test -z "$ac_cv_prog_CC"; then
2958 # Extract the first word of "gcc", so it can be a program name with args.
2959 set dummy gcc; ac_word=$2
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2963 $as_echo_n "(cached) " >&6
2965 if test -n "$ac_ct_CC"; then
2966 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir=.
2973 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2975 ac_cv_prog_ac_ct_CC="gcc"
2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2986 if test -n "$ac_ct_CC"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2988 $as_echo "$ac_ct_CC" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2994 if test "x$ac_ct_CC" = x; then
2997 case $cross_compiling:$ac_tool_warned in
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3001 ac_tool_warned=yes ;;
3009 if test -z "$CC"; then
3010 if test -n "$ac_tool_prefix"; then
3011 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3012 set dummy ${ac_tool_prefix}cc; ac_word=$2
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3014 $as_echo_n "checking for $ac_word... " >&6; }
3015 if ${ac_cv_prog_CC+:} false; then :
3016 $as_echo_n "(cached) " >&6
3018 if test -n "$CC"; then
3019 ac_cv_prog_CC="$CC" # Let the user override the test.
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 test -z "$as_dir" && as_dir=.
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3028 ac_cv_prog_CC="${ac_tool_prefix}cc"
3029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 if test -n "$CC"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3041 $as_echo "$CC" >&6; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044 $as_echo "no" >&6; }
3050 if test -z "$CC"; then
3051 # Extract the first word of "cc", so it can be a program name with args.
3052 set dummy cc; ac_word=$2
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3054 $as_echo_n "checking for $ac_word... " >&6; }
3055 if ${ac_cv_prog_CC+:} false; then :
3056 $as_echo_n "(cached) " >&6
3058 if test -n "$CC"; then
3059 ac_cv_prog_CC="$CC" # Let the user override the test.
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir=.
3067 for ac_exec_ext in '' $ac_executable_extensions; do
3068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3070 ac_prog_rejected=yes
3074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 if test $ac_prog_rejected = yes; then
3082 # We found a bogon in the path, so make sure we never use it.
3083 set dummy $ac_cv_prog_CC
3085 if test $# != 0; then
3086 # We chose a different compiler from the bogus one.
3087 # However, it has the same basename, so the bogon will be chosen
3088 # first if we set CC to just the basename; use the full file name.
3090 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3096 if test -n "$CC"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3098 $as_echo "$CC" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3106 if test -z "$CC"; then
3107 if test -n "$ac_tool_prefix"; then
3108 for ac_prog in cl.exe
3110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3111 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if ${ac_cv_prog_CC+:} false; then :
3115 $as_echo_n "(cached) " >&6
3117 if test -n "$CC"; then
3118 ac_cv_prog_CC="$CC" # Let the user override the test.
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 if test -n "$CC"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3140 $as_echo "$CC" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3147 test -n "$CC" && break
3150 if test -z "$CC"; then
3152 for ac_prog in cl.exe
3154 # Extract the first word of "$ac_prog", so it can be a program name with args.
3155 set dummy $ac_prog; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$ac_ct_CC"; then
3162 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3171 ac_cv_prog_ac_ct_CC="$ac_prog"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3182 if test -n "$ac_ct_CC"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3184 $as_echo "$ac_ct_CC" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3191 test -n "$ac_ct_CC" && break
3194 if test "x$ac_ct_CC" = x; then
3197 case $cross_compiling:$ac_tool_warned in
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3201 ac_tool_warned=yes ;;
3210 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3211 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3212 as_fn_error $? "no acceptable C compiler found in \$PATH
3213 See \`config.log
' for more details" "$LINENO" 5; }
3215 # Provide some information about the compiler.
3216 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3219 for ac_option in --version -v -V -qversion; do
3220 { { ac_try="$ac_compiler $ac_option >&5"
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3229 if test -s conftest.err; then
3231 ... rest of stderr output deleted ...
3232 10q
' conftest.err >conftest.er1
3233 cat conftest.er1 >&5
3235 rm -f conftest.er1 conftest.err
3236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3237 test $ac_status = 0; }
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3251 ac_clean_files_save=$ac_clean_files
3252 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3253 # Try to create an executable without -o first, disregard a.out.
3254 # It will help us diagnose broken compilers, and finding out an intuition
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3257 $as_echo_n "checking whether the C compiler works... " >&6; }
3258 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3260 # The possible output files:
3261 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3264 for ac_file in $ac_files
3267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3268 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3273 if { { ac_try="$ac_link_default"
3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276 *) ac_try_echo=$ac_try;;
3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3279 $as_echo "$ac_try_echo"; } >&5
3280 (eval "$ac_link_default") 2>&5
3282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283 test $ac_status = 0; }; then :
3284 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3285 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3286 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3287 # so that the user can short-circuit this test for compilers unknown to
3289 for ac_file
in $ac_files ''
3291 test -f "$ac_file" ||
continue
3293 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3296 # We found the default executable, but exeext='' is most
3300 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3302 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3304 # We set ac_cv_exeext here because the later test for it is not
3305 # safe: cross compilers may not add the suffix if given an `-o'
3306 # argument, so we may need to know it at that point already.
3307 # Even if this section looks crufty: it has the advantage of
3314 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3319 if test -z "$ac_file"; then :
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3321 $as_echo "no" >&6; }
3322 $as_echo "$as_me: failed program was:" >&5
3323 sed 's/^/| /' conftest.
$ac_ext >&5
3325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 as_fn_error
77 "C compiler cannot create executables
3328 See \`config.log' for more details" "$LINENO" 5; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3331 $as_echo "yes" >&6; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3334 $as_echo_n "checking for C compiler default output file name... " >&6; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3336 $as_echo "$ac_file" >&6; }
3337 ac_exeext
=$ac_cv_exeext
3339 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3340 ac_clean_files
=$ac_clean_files_save
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3342 $as_echo_n "checking for suffix of executables... " >&6; }
3343 if { { ac_try
="$ac_link"
3345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349 $as_echo "$ac_try_echo"; } >&5
3350 (eval "$ac_link") 2>&5
3352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353 test $ac_status = 0; }; then :
3354 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3355 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3356 # work properly (i.e., refer to `conftest.exe'), while it won't with
3358 for ac_file
in conftest.exe conftest conftest.
*; do
3359 test -f "$ac_file" ||
continue
3361 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3362 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3370 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3371 See \`config.log' for more details" "$LINENO" 5; }
3373 rm -f conftest conftest
$ac_cv_exeext
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3375 $as_echo "$ac_cv_exeext" >&6; }
3377 rm -f conftest.
$ac_ext
3378 EXEEXT
=$ac_cv_exeext
3380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3386 FILE *f = fopen ("conftest.out", "w");
3387 return ferror (f) || fclose (f) != 0;
3393 ac_clean_files
="$ac_clean_files conftest.out"
3394 # Check that the compiler produces executables we can run. If not, either
3395 # the compiler is broken, or we cross compile.
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3397 $as_echo_n "checking whether we are cross compiling... " >&6; }
3398 if test "$cross_compiling" != yes; then
3399 { { ac_try
="$ac_link"
3401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3405 $as_echo "$ac_try_echo"; } >&5
3406 (eval "$ac_link") 2>&5
3408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3409 test $ac_status = 0; }
3410 if { ac_try='./conftest$ac_cv_exeext'
3411 { { case "(($ac_try" in
3412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3413 *) ac_try_echo
=$ac_try;;
3415 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 $as_echo "$ac_try_echo"; } >&5
3417 (eval "$ac_try") 2>&5
3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420 test $ac_status = 0; }; }; then
3423 if test "$cross_compiling" = maybe
; then
3426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3428 as_fn_error $?
"cannot run C compiled programs.
3429 If you meant to cross compile, use \`--host'.
3430 See \`config.log' for more details" "$LINENO" 5; }
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3435 $as_echo "$cross_compiling" >&6; }
3437 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3438 ac_clean_files
=$ac_clean_files_save
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3440 $as_echo_n "checking for suffix of object files... " >&6; }
3441 if ${ac_cv_objext+:} false
; then :
3442 $as_echo_n "(cached) " >&6
3444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3455 rm -f conftest.o conftest.obj
3456 if { { ac_try
="$ac_compile"
3458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3459 *) ac_try_echo=$ac_try;;
3461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3462 $as_echo "$ac_try_echo"; } >&5
3463 (eval "$ac_compile") 2>&5
3465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3466 test $ac_status = 0; }; then :
3467 for ac_file in conftest.o conftest.obj conftest.*; do
3468 test -f "$ac_file" || continue;
3470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3471 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3476 $as_echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3482 See \
`config.log' for more details" "$LINENO" 5; }
3484 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3487 $as_echo "$ac_cv_objext" >&6; }
3488 OBJEXT=$ac_cv_objext
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3491 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3492 if ${ac_cv_c_compiler_gnu+:} false; then :
3493 $as_echo_n "(cached) " >&6
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3509 if ac_fn_c_try_compile "$LINENO"; then :
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3519 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3520 if test $ac_compiler_gnu = yes; then
3525 ac_test_CFLAGS=${CFLAGS+set}
3526 ac_save_CFLAGS=$CFLAGS
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3528 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3529 if ${ac_cv_prog_cc_g+:} false; then :
3530 $as_echo_n "(cached) " >&6
3532 ac_save_c_werror_flag=$ac_c_werror_flag
3533 ac_c_werror_flag=yes
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3547 if ac_fn_c_try_compile "$LINENO"; then :
3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h. */
3562 if ac_fn_c_try_compile "$LINENO"; then :
3565 ac_c_werror_flag=$ac_save_c_werror_flag
3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3578 if ac_fn_c_try_compile "$LINENO"; then :
3581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 ac_c_werror_flag=$ac_save_c_werror_flag
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3589 $as_echo "$ac_cv_prog_cc_g" >&6; }
3590 if test "$ac_test_CFLAGS" = set; then
3591 CFLAGS=$ac_save_CFLAGS
3592 elif test $ac_cv_prog_cc_g = yes; then
3593 if test "$GCC" = yes; then
3599 if test "$GCC" = yes; then
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3606 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3607 if ${ac_cv_prog_cc_c89+:} false; then :
3608 $as_echo_n "(cached) " >&6
3610 ac_cv_prog_cc_c89=no
3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h. */
3617 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3618 struct buf { int x; };
3619 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3620 static char *e (p, i)
3626 static char *f (char * (*g) (char **, int), char **p, ...)
3631 s = g (p, va_arg (v,int));
3636 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3637 function prototypes and stuff, but not '\xHH' hex character constants.
3638 These don't provoke an error unfortunately, instead are silently treated
3639 as 'x'. The following induces an error, until -std is added to get
3640 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3641 array size at least. It's necessary to write '\x00'==0 to get something
3642 that's true only with -std. */
3643 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3645 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3646 inside strings and character constants. */
3648 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3650 int test (int i, double x);
3651 struct s1 {int (*f) (int a);};
3652 struct s2 {int (*f) (double a);};
3653 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3659 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3664 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3665 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3667 CC="$ac_save_CC $ac_arg"
3668 if ac_fn_c_try_compile "$LINENO"; then :
3669 ac_cv_prog_cc_c89=$ac_arg
3671 rm -f core conftest.err conftest.$ac_objext
3672 test "x$ac_cv_prog_cc_c89" != "xno" && break
3674 rm -f conftest.$ac_ext
3679 case "x$ac_cv_prog_cc_c89" in
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3682 $as_echo "none needed" >&6; } ;;
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3685 $as_echo "unsupported" >&6; } ;;
3687 CC="$CC $ac_cv_prog_cc_c89"
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3689 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3691 if test "x$ac_cv_prog_cc_c89" != xno; then :
3696 ac_cpp='$CPP $CPPFLAGS'
3697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3702 ac_cpp='$CPP $CPPFLAGS'
3703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3707 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3708 if ${am_cv_prog_cc_c_o+:} false; then :
3709 $as_echo_n "(cached) " >&6
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3722 # Make sure it works both with $CC and with simple cc.
3723 # Following AC_PROG_CC_C_O, we do the test twice because some
3724 # compilers refuse to overwrite an existing .o file with -o,
3725 # though they will create one.
3726 am_cv_prog_cc_c_o=yes
3728 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3729 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } \
3733 && test -f conftest2.$ac_objext; then
3736 am_cv_prog_cc_c_o=no
3740 rm -f core conftest*
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3744 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3745 if test "$am_cv_prog_cc_c_o" != yes; then
3746 # Losing compiler, so override with the script.
3747 # FIXME: It is wrong to rewrite CC.
3748 # But if we don't then we get into trouble of one sort or another.
3749 # A longer-term fix would be to have automake use am__CC in this case,
3750 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3751 CC="$am_aux_dir/compile $CC"
3754 ac_cpp='$CPP $CPPFLAGS'
3755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3764 # Check whether --enable-all-pkgs was given.
3765 if test "${enable_all_pkgs+set}" = set; then :
3766 enableval=$enable_all_pkgs;
3768 test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes
3769 # Check whether --enable-native-texlive-build was given.
3770 if test "${enable_native_texlive_build+set}" = set; then :
3771 enableval=$enable_native_texlive_build;
3773 case $enable_native_texlive_build in #(
3777 enable_native_texlive_build=yes
3778 ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;;
3780 case $enable_largefile in #(
3784 enable_largefile=yes
3785 ac_configure_args="$ac_configure_args '--enable-largefile'" ;;
3787 case $enable_silent_rules in #(
3791 enable_silent_rules=no
3792 ac_configure_args="$ac_configure_args '--disable-silent-rules'" ;;
3794 case $enable_multiplatform in #(
3798 enable_multiplatform=$enable_native_texlive_build
3799 ac_configure_args="$ac_configure_args '--enable-multiplatform=$enable_native_texlive_build'" ;;
3801 case $enable_cxx_runtime_hack in #(
3805 enable_cxx_runtime_hack=$enable_native_texlive_build
3806 ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack=$enable_native_texlive_build'" ;;
3808 case $enable_libtool_hack in #(
3814 enable_libtool_hack=no ;; #(
3816 enable_libtool_hack=yes ;;
3818 ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;;
3820 case $enable_shared in #(
3824 if test "x$enable_native_texlive_build" = xyes; then :
3825 as_fn_error $? "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5
3829 ac_configure_args="$ac_configure_args '--disable-shared'" ;;
3831 case $enable_texlive_build in #(
3835 as_fn_error $? "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #(
3837 enable_texlive_build=yes
3838 ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;;
3840 # Check whether --enable-multiplatform was given.
3841 if test "${enable_multiplatform+set}" = set; then :
3842 enableval=$enable_multiplatform;
3844 if test "x$enable_multiplatform" = xyes; then
3845 if test "x$bindir" = 'x
${exec_prefix}/bin
'; then
3846 bindir="$bindir/${host_alias-$host}"
3847 ac_configure_args="$ac_configure_args '--bindir=$bindir'"
3849 if test "x$libdir" = 'x
${exec_prefix}/lib
'; then
3850 libdir="$libdir/${host_alias-$host}"
3851 ac_configure_args="$ac_configure_args '--libdir=$libdir'"
3855 # Check whether --enable-cxx-runtime-hack was given.
3856 if test "${enable_cxx_runtime_hack+set}" = set; then :
3857 enableval=$enable_cxx_runtime_hack;
3860 # Check whether --enable-libtool-hack was given.
3861 if test "${enable_libtool_hack+set}" = set; then :
3862 enableval=$enable_libtool_hack;
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
3869 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
3870 if ${kpse_cv_have_win32+:} false; then :
3871 $as_echo_n "(cached) " >&6
3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3886 if ac_fn_c_try_compile "$LINENO"; then :
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3900 if ac_fn_c_try_compile "$LINENO"; then :
3901 kpse_cv_have_win32=mingw32
3903 kpse_cv_have_win32=native
3905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3907 kpse_cv_have_win32=no
3909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
3912 $as_echo "$kpse_cv_have_win32" >&6; }
3914 case $with_x:$kpse_cv_have_win32 in #(
3918 as_fn_error $? "you can not use \`--with-x' for WIN32
" "$LINENO" 5 ;; #(
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \
`--with-x'" >&5
3922 $as_echo "$as_me: Assuming \`--with-x'" >&6;}
3923 ac_configure_args="$ac_configure_args '--with-x'" ;; #(
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WIN32 -> \`--without-x'" >&5
3927 $as_echo "$as_me: WIN32
-> \
`--without-x'" >&6;}
3928 ac_configure_args="$ac_configure_args '--without-x'" ;;
3930 case $enable_luajittex in #(
3935 alpha* | sparc* | x86_64-*-cygwin | powerpc-*-darwin* ) :
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-luajittex'" >&5
3937 $as_echo "$as_me: $host -> \`--disable-luajittex'" >&6;}
3938 ac_configure_args="$ac_configure_args '--disable-luajittex'" ;; #(
3944 ## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3945 ## configure options and TL libraries required for web2c
3946 # Check whether --enable-web2c was given.
3947 if test "${enable_web2c+set}" = set; then :
3948 enableval=$enable_web2c;
3950 case $enable_web2c in #(
3955 enable_web2c=$enable_all_pkgs
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \
`--enable-web2c=$enable_web2c'" >&5
3957 $as_echo "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;}
3958 ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'"
3962 test "x$enable_web2c" = xno || {
3967 ## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3968 ## configure options for TeX and MF
3970 # Check whether --with-banner-add was given.
3971 if test "${with_banner_add+set}" = set; then :
3972 withval=$with_banner_add;
3975 # Check whether --with-editor was given.
3976 if test "${with_editor+set}" = set; then :
3977 withval=$with_editor;
3979 # Check whether --enable-auto-core was given.
3980 if test "${enable_auto_core+set}" = set; then :
3981 enableval=$enable_auto_core;
3983 # Check whether --enable-dump-share was given.
3984 if test "${enable_dump_share+set}" = set; then :
3985 enableval=$enable_dump_share;
3987 ## configure options for TeX
3988 # Check whether --enable-ipc was given.
3989 if test "${enable_ipc+set}" = set; then :
3990 enableval=$enable_ipc;
3992 # Check whether --enable-tex was given.
3993 if test "${enable_tex+set}" = set; then :
3994 enableval=$enable_tex;
3996 case $enable_tex in #(
4003 # Check whether --enable-tex-synctex was given.
4004 if test "${enable_tex_synctex+set}" = set; then :
4005 enableval=$enable_tex_synctex;
4007 # Check whether --enable-etex was given.
4008 if test "${enable_etex+set}" = set; then :
4009 enableval=$enable_etex;
4011 case $enable_etex in #(
4018 # Check whether --enable-etex-synctex was given.
4019 if test "${enable_etex_synctex+set}" = set; then :
4020 enableval=$enable_etex_synctex;
4022 # Check whether --enable-ptex was given.
4023 if test "${enable_ptex+set}" = set; then :
4024 enableval=$enable_ptex;
4026 case $enable_ptex in #(
4033 # Check whether --enable-ptex-synctex was given.
4034 if test "${enable_ptex_synctex+set}" = set; then :
4035 enableval=$enable_ptex_synctex;
4038 test "x$enable_web2c:$enable_ptex" = xyes:yes && {
4041 # Check whether --enable-eptex was given.
4042 if test "${enable_eptex+set}" = set; then :
4043 enableval=$enable_eptex;
4045 case $enable_eptex in #(
4052 # Check whether --enable-eptex-synctex was given.
4053 if test "${enable_eptex_synctex+set}" = set; then :
4054 enableval=$enable_eptex_synctex;
4057 test "x$enable_web2c:$enable_eptex" = xyes:yes && {
4060 # Check whether --enable-uptex was given.
4061 if test "${enable_uptex+set}" = set; then :
4062 enableval=$enable_uptex;
4064 case $enable_uptex in #(
4071 # Check whether --enable-uptex-synctex was given.
4072 if test "${enable_uptex_synctex+set}" = set; then :
4073 enableval=$enable_uptex_synctex;
4076 test "x$enable_web2c:$enable_uptex" = xyes:yes && {
4079 # Check whether --enable-euptex was given.
4080 if test "${enable_euptex+set}" = set; then :
4081 enableval=$enable_euptex;
4083 case $enable_euptex in #(
4087 enable_euptex=yes ;;
4090 # Check whether --enable-euptex-synctex was given.
4091 if test "${enable_euptex_synctex+set}" = set; then :
4092 enableval=$enable_euptex_synctex;
4095 test "x$enable_web2c:$enable_euptex" = xyes:yes && {
4098 # Check whether --enable-aleph was given.
4099 if test "${enable_aleph+set}" = set; then :
4100 enableval=$enable_aleph;
4102 case $enable_aleph in #(
4108 # Check whether --enable-pdftex was given.
4109 if test "${enable_pdftex+set}" = set; then :
4110 enableval=$enable_pdftex;
4112 case $enable_pdftex in #(
4116 enable_pdftex=yes ;;
4119 # Check whether --enable-pdftex-synctex was given.
4120 if test "${enable_pdftex_synctex+set}" = set; then :
4121 enableval=$enable_pdftex_synctex;
4124 test "x$enable_web2c:$enable_pdftex" = xyes:yes && {
4128 # Check whether --enable-luatex was given.
4129 if test "${enable_luatex+set}" = set; then :
4130 enableval=$enable_luatex;
4132 case $enable_luatex in #(
4136 enable_luatex=yes ;;
4139 test "x$enable_web2c:$enable_luatex" = xyes:yes && {
4147 # Check whether --enable-luajittex was given.
4148 if test "${enable_luajittex+set}" = set; then :
4149 enableval=$enable_luajittex;
4151 case $enable_luajittex in #(
4155 enable_luajittex=yes ;;
4158 test "x$enable_web2c:$enable_luajittex" = xyes:yes && {
4166 # Check whether --enable-mp was given.
4167 if test "${enable_mp+set}" = set; then :
4168 enableval=$enable_mp;
4170 case $enable_mp in #(
4177 test "x$enable_web2c:$enable_mp" = xyes:yes && {
4182 # Check whether --enable-pmp was given.
4183 if test "${enable_pmp+set}" = set; then :
4184 enableval=$enable_pmp;
4186 case $enable_pmp in #(
4193 test "x$enable_web2c:$enable_pmp" = xyes:yes && {
4199 # Check whether --enable-upmp was given.
4200 if test "${enable_upmp+set}" = set; then :
4201 enableval=$enable_upmp;
4203 case $enable_upmp in #(
4210 test "x$enable_web2c:$enable_upmp" = xyes:yes && {
4216 # Check whether --enable-xetex was given.
4217 if test "${enable_xetex+set}" = set; then :
4218 enableval=$enable_xetex;
4220 case $enable_xetex in #(
4227 # Check whether --enable-xetex-synctex was given.
4228 if test "${enable_xetex_synctex+set}" = set; then :
4229 enableval=$enable_xetex_synctex;
4232 test "x$enable_web2c:$enable_xetex" = xyes:yes && {
4239 ## configure options for MF
4240 # Check whether --enable-mf was given.
4241 if test "${enable_mf+set}" = set; then :
4242 enableval=$enable_mf;
4244 # Check whether --enable-mf-nowin was given.
4245 if test "${enable_mf_nowin+set}" = set; then :
4246 enableval=$enable_mf_nowin;
4249 # Check whether --with-mf-x-toolkit was given.
4250 if test "${with_mf_x_toolkit+set}" = set; then :
4251 withval=$with_mf_x_toolkit;
4253 # Check whether --enable-epsfwin was given.
4254 if test "${enable_epsfwin+set}" = set; then :
4255 enableval=$enable_epsfwin;
4257 # Check whether --enable-hp2627win was given.
4258 if test "${enable_hp2627win+set}" = set; then :
4259 enableval=$enable_hp2627win;
4261 # Check whether --enable-mftalkwin was given.
4262 if test "${enable_mftalkwin+set}" = set; then :
4263 enableval=$enable_mftalkwin;
4265 # Check whether --enable-nextwin was given.
4266 if test "${enable_nextwin+set}" = set; then :
4267 enableval=$enable_nextwin;
4269 # Check whether --enable-regiswin was given.
4270 if test "${enable_regiswin+set}" = set; then :
4271 enableval=$enable_regiswin;
4273 # Check whether --enable-suntoolswin was given.
4274 if test "${enable_suntoolswin+set}" = set; then :
4275 enableval=$enable_suntoolswin;
4277 # Check whether --enable-tektronixwin was given.
4278 if test "${enable_tektronixwin+set}" = set; then :
4279 enableval=$enable_tektronixwin;
4281 # Check whether --enable-unitermwin was given.
4282 if test "${enable_unitermwin+set}" = set; then :
4283 enableval=$enable_unitermwin;
4285 ## configure options for WEB programs
4286 # Check whether --enable-web-progs was given.
4287 if test "${enable_web_progs+set}" = set; then :
4288 enableval=$enable_web_progs;
4291 ## configure option for the SyncTeX tool
4292 # Check whether --enable-synctex was given.
4293 if test "${enable_synctex+set}" = set; then :
4294 enableval=$enable_synctex;
4298 ## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
4299 ## configure options and TL libraries required for texlive
4300 # Check whether --enable-texlive was given.
4301 if test "${enable_texlive+set}" = set; then :
4302 enableval=$enable_texlive;
4304 case $enable_texlive in #(
4309 enable_texlive=$enable_all_pkgs
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5
4311 $as_echo "$as_me: Assuming \
`--enable-texlive=$enable_texlive'" >&6;}
4312 ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'"
4316 ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
4317 ## configure options for texlive
4318 # Check whether --enable-linked-scripts was given.
4319 if test "${enable_linked_scripts+set}" = set; then :
4320 enableval=$enable_linked_scripts;
4324 ## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
4325 ## configure options and TL libraries required for zziplib
4327 # Check whether --with-system-zziplib was given.
4328 if test "${with_system_zziplib+set}" = set; then :
4329 withval=$with_system_zziplib;
4331 if test "x$with_system_zziplib" = x; then
4332 if test -f $srcdir/libs/zziplib/configure; then
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib
' headers and library from TL tree" >&5
4334 $as_echo "$as_me: Assuming \`zziplib' headers and library from TL tree
" >&6;}
4335 with_system_zziplib=no
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`zziplib' headers and library" >&5
4338 $as_echo "$as_me: Assuming installed \`zziplib
' headers and library" >&6;}
4339 with_system_zziplib=yes
4341 ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'"
4342 elif test "x$with_system_zziplib" = xyes; then
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`zziplib' headers and library
" >&5
4344 $as_echo "$as_me: Using installed \
`zziplib' headers and library" >&6;}
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zziplib
' headers and library from TL tree" >&5
4347 $as_echo "$as_me: Using \`zziplib' headers and library from TL tree
" >&6;}
4348 if test "x
$with_system_zziplib" != xno; then
4349 with_system_zziplib=no
4350 ac_configure_args="$ac_configure_args '--without-system-zziplib'"
4353 if test "x
$with_system_zziplib" = xyes; then
4354 if test "x
$with_system_zlib" = x; then
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \
`zlib' headers and library" >&5
4356 $as_echo "$as_me: -> installed \`zlib
' headers and library" >&6;}
4357 with_system_zlib=yes
4358 ac_configure_args="$ac_configure_args '--with-system-zlib'"
4359 elif test "x$with_system_zlib" != xyes; then
4360 as_fn_error $? "Sorry, \`--with-system-zziplib' requires \
`--with-system-zlib'" "$LINENO" 5
4364 test "x$need_zziplib" = xyes && {
4368 ## libs/poppler/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/poppler/
4369 ## configure options and TL libraries required for poppler
4371 # Check whether --with-system-poppler was given.
4372 if test "${with_system_poppler+set}" = set; then :
4373 withval=$with_system_poppler;
4375 if test "x$with_system_poppler" = x; then
4376 if test -f $srcdir/libs/poppler/configure; then
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`poppler
' headers and library from TL tree" >&5
4378 $as_echo "$as_me: Assuming \`poppler' headers and library from TL tree
" >&6;}
4379 with_system_poppler=no
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`poppler' headers and library" >&5
4382 $as_echo "$as_me: Assuming installed \`poppler
' headers and library" >&6;}
4383 with_system_poppler=yes
4385 ac_configure_args="$ac_configure_args '--with-system-poppler=$with_system_poppler'"
4386 elif test "x$with_system_poppler" = xyes; then
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`poppler' headers and library
" >&5
4388 $as_echo "$as_me: Using installed \
`poppler' headers and library" >&6;}
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`poppler
' headers and library from TL tree" >&5
4391 $as_echo "$as_me: Using \`poppler' headers and library from TL tree
" >&6;}
4392 if test "x
$with_system_poppler" != xno; then
4393 with_system_poppler=no
4394 ac_configure_args="$ac_configure_args '--without-system-poppler'"
4397 if test "x
$with_system_poppler" = xyes; then
4398 if test "x
$with_system_zlib" = x; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \
`zlib' headers and library" >&5
4400 $as_echo "$as_me: -> installed \`zlib
' headers and library" >&6;}
4401 with_system_zlib=yes
4402 ac_configure_args="$ac_configure_args '--with-system-zlib'"
4403 elif test "x$with_system_zlib" != xyes; then
4404 as_fn_error $? "Sorry, \`--with-system-poppler' requires \
`--with-system-zlib'" "$LINENO" 5
4408 test "x$need_poppler" = xyes && {
4412 ## libs/mpfr/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/
4413 ## configure options and TL libraries required for mpfr
4415 # Check whether --with-system-mpfr was given.
4416 if test "${with_system_mpfr+set}" = set; then :
4417 withval=$with_system_mpfr;
4420 # Check whether --with-mpfr-includes was given.
4421 if test "${with_mpfr_includes+set}" = set; then :
4422 withval=$with_mpfr_includes;
4425 # Check whether --with-mpfr-libdir was given.
4426 if test "${with_mpfr_libdir+set}" = set; then :
4427 withval=$with_mpfr_libdir;
4429 if test "x$with_system_mpfr" = x; then
4430 if test -f $srcdir/libs/mpfr/configure; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`mpfr
' headers and library from TL tree" >&5
4432 $as_echo "$as_me: Assuming \`mpfr' headers and library from TL tree
" >&6;}
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`mpfr' headers and library" >&5
4436 $as_echo "$as_me: Assuming installed \`mpfr
' headers and library" >&6;}
4437 with_system_mpfr=yes
4439 ac_configure_args="$ac_configure_args '--with-system-mpfr=$with_system_mpfr'"
4440 elif test "x$with_system_mpfr" = xyes; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`mpfr' headers and library
" >&5
4442 $as_echo "$as_me: Using installed \
`mpfr' headers and library" >&6;}
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`mpfr
' headers and library from TL tree" >&5
4445 $as_echo "$as_me: Using \`mpfr' headers and library from TL tree
" >&6;}
4446 if test "x
$with_system_mpfr" != xno; then
4448 ac_configure_args="$ac_configure_args '--without-system-mpfr'"
4451 if test "x
$with_system_mpfr" = xyes; then
4452 if test "x
$with_system_gmp" = x; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \
`gmp' headers and library" >&5
4454 $as_echo "$as_me: -> installed \`gmp
' headers and library" >&6;}
4456 ac_configure_args="$ac_configure_args '--with-system-gmp'"
4457 elif test "x$with_system_gmp" != xyes; then
4458 as_fn_error $? "Sorry, \`--with-system-mpfr' requires \
`--with-system-gmp'" "$LINENO" 5
4462 test "x$need_mpfr" = xyes && {
4466 ## libs/gmp/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/
4467 ## configure options and TL libraries required for gmp
4469 # Check whether --with-system-gmp was given.
4470 if test "${with_system_gmp+set}" = set; then :
4471 withval=$with_system_gmp;
4474 # Check whether --with-gmp-includes was given.
4475 if test "${with_gmp_includes+set}" = set; then :
4476 withval=$with_gmp_includes;
4479 # Check whether --with-gmp-libdir was given.
4480 if test "${with_gmp_libdir+set}" = set; then :
4481 withval=$with_gmp_libdir;
4483 if test "x$with_system_gmp" = x; then
4484 if test -f $srcdir/libs/gmp/configure; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`gmp
' headers and library from TL tree" >&5
4486 $as_echo "$as_me: Assuming \`gmp' headers and library from TL tree
" >&6;}
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`gmp' headers and library" >&5
4490 $as_echo "$as_me: Assuming installed \`gmp
' headers and library" >&6;}
4493 ac_configure_args="$ac_configure_args '--with-system-gmp=$with_system_gmp'"
4494 elif test "x$with_system_gmp" = xyes; then
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`gmp' headers and library
" >&5
4496 $as_echo "$as_me: Using installed \
`gmp' headers and library" >&6;}
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`gmp
' headers and library from TL tree" >&5
4499 $as_echo "$as_me: Using \`gmp' headers and library from TL tree
" >&6;}
4500 if test "x
$with_system_gmp" != xno; then
4502 ac_configure_args="$ac_configure_args '--without-system-gmp'"
4506 ## libs/cairo/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/
4507 ## configure options and TL libraries required for cairo
4509 # Check whether --with-system-cairo was given.
4510 if test "${with_system_cairo+set}" = set; then :
4511 withval=$with_system_cairo;
4513 if test "x
$with_system_cairo" = x; then
4514 if test -f $srcdir/libs/cairo/configure; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \
`cairo' headers and library from TL tree" >&5
4516 $as_echo "$as_me: Assuming \`cairo
' headers and library from TL tree" >&6;}
4517 with_system_cairo=no
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`cairo' headers and library
" >&5
4520 $as_echo "$as_me: Assuming installed \
`cairo' headers and library" >&6;}
4521 with_system_cairo=yes
4523 ac_configure_args="$ac_configure_args '--with-system-cairo=$with_system_cairo'"
4524 elif test "x$with_system_cairo" = xyes; then
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`cairo
' headers and library" >&5
4526 $as_echo "$as_me: Using installed \`cairo' headers and library
" >&6;}
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \
`cairo' headers and library from TL tree" >&5
4529 $as_echo "$as_me: Using \`cairo
' headers and library from TL tree" >&6;}
4530 if test "x$with_system_cairo" != xno; then
4531 with_system_cairo=no
4532 ac_configure_args="$ac_configure_args '--without-system-cairo'"
4535 if test "x$with_system_cairo" = xyes; then
4536 if test "x$with_system_pixman" = x; then
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`pixman' headers and library
" >&5
4538 $as_echo "$as_me: -> installed \
`pixman' headers and library" >&6;}
4539 with_system_pixman=yes
4540 ac_configure_args="$ac_configure_args '--with-system-pixman'"
4541 elif test "x$with_system_pixman" != xyes; then
4542 as_fn_error $? "Sorry, \`--with-system-cairo' requires \`--with-system-pixman'" "$LINENO" 5
4546 test "x
$need_cairo" = xyes && {
4550 ## libs/pixman/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/
4551 ## configure options and TL libraries required for pixman
4553 # Check whether --with-system-pixman was given.
4554 if test "${with_system_pixman+set}" = set; then :
4555 withval=$with_system_pixman;
4557 if test "x
$with_system_pixman" = x; then
4558 if test -f $srcdir/libs/pixman/configure; then
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \
`pixman' headers and library from TL tree" >&5
4560 $as_echo "$as_me: Assuming \`pixman
' headers and library from TL tree" >&6;}
4561 with_system_pixman=no
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`pixman' headers and library
" >&5
4564 $as_echo "$as_me: Assuming installed \
`pixman' headers and library" >&6;}
4565 with_system_pixman=yes
4567 ac_configure_args="$ac_configure_args '--with-system-pixman=$with_system_pixman'"
4568 elif test "x$with_system_pixman" = xyes; then
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`pixman
' headers and library" >&5
4570 $as_echo "$as_me: Using installed \`pixman' headers and library
" >&6;}
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \
`pixman' headers and library from TL tree" >&5
4573 $as_echo "$as_me: Using \`pixman
' headers and library from TL tree" >&6;}
4574 if test "x$with_system_pixman" != xno; then
4575 with_system_pixman=no
4576 ac_configure_args="$ac_configure_args '--without-system-pixman'"
4580 ## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
4581 ## configure options and TL libraries required for libpng
4583 # Check whether --with-system-libpng was given.
4584 if test "${with_system_libpng+set}" = set; then :
4585 withval=$with_system_libpng;
4587 if test "x$with_system_libpng" = x; then
4588 if test -f $srcdir/libs/libpng/configure; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree
" >&5
4590 $as_echo "$as_me: Assuming \
`libpng' headers and library from TL tree" >&6;}
4591 with_system_libpng=no
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng
' headers and library" >&5
4594 $as_echo "$as_me: Assuming installed \`libpng' headers and library
" >&6;}
4595 with_system_libpng=yes
4597 ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'"
4598 elif test "x
$with_system_libpng" = xyes; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \
`libpng' headers and library" >&5
4600 $as_echo "$as_me: Using installed \`libpng
' headers and library" >&6;}
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`libpng' headers and library from TL tree
" >&5
4603 $as_echo "$as_me: Using \
`libpng' headers and library from TL tree" >&6;}
4604 if test "x$with_system_libpng" != xno; then
4605 with_system_libpng=no
4606 ac_configure_args="$ac_configure_args '--without-system-libpng'"
4609 if test "x$with_system_libpng" = xyes; then
4610 if test "x$with_system_zlib" = x; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib
' headers and library" >&5
4612 $as_echo "$as_me: -> installed \`zlib' headers and library
" >&6;}
4613 with_system_zlib=yes
4614 ac_configure_args="$ac_configure_args '--with-system-zlib'"
4615 elif test "x
$with_system_zlib" != xyes; then
4616 as_fn_error $? "Sorry
, \
`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5
4620 test "x$need_libpng" = xyes && {
4624 ## libs/luajit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/luajit/
4625 ## configure options and TL libraries required for luajit
4627 ## libs/lua52/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua52/
4628 ## configure options and TL libraries required for lua52
4630 ## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
4631 ## configure options and TL libraries required for zlib
4633 # Check whether --with-system-zlib was given.
4634 if test "${with_system_zlib+set}" = set; then :
4635 withval=$with_system_zlib;
4638 # Check whether --with-zlib-includes was given.
4639 if test "${with_zlib_includes+set}" = set; then :
4640 withval=$with_zlib_includes;
4643 # Check whether --with-zlib-libdir was given.
4644 if test "${with_zlib_libdir+set}" = set; then :
4645 withval=$with_zlib_libdir;
4647 if test "x$with_system_zlib" = x; then
4648 if test -f $srcdir/libs/zlib/configure; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree
" >&5
4650 $as_echo "$as_me: Assuming \
`zlib' headers and library from TL tree" >&6;}
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib
' headers and library" >&5
4654 $as_echo "$as_me: Assuming installed \`zlib' headers and library
" >&6;}
4655 with_system_zlib=yes
4657 ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'"
4658 elif test "x
$with_system_zlib" = xyes; then
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \
`zlib' headers and library" >&5
4660 $as_echo "$as_me: Using installed \`zlib
' headers and library" >&6;}
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zlib' headers and library from TL tree
" >&5
4663 $as_echo "$as_me: Using \
`zlib' headers and library from TL tree" >&6;}
4664 if test "x$with_system_zlib" != xno; then
4666 ac_configure_args="$ac_configure_args '--without-system-zlib'"
4671 ## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
4672 ## configure options and TL libraries required for kpathsea
4674 # Check whether --with-system-kpathsea was given.
4675 if test "${with_system_kpathsea+set}" = set; then :
4676 withval=$with_system_kpathsea;
4679 # Check whether --with-kpathsea-includes was given.
4680 if test "${with_kpathsea_includes+set}" = set; then :
4681 withval=$with_kpathsea_includes;
4684 # Check whether --with-kpathsea-libdir was given.
4685 if test "${with_kpathsea_libdir+set}" = set; then :
4686 withval=$with_kpathsea_libdir;
4688 if test "x$with_system_kpathsea" = x; then
4689 if test -f $srcdir/texk/kpathsea/configure; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea
' headers and library from TL tree" >&5
4691 $as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree
" >&6;}
4692 with_system_kpathsea=no
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \
`kpathsea' headers and library" >&5
4695 $as_echo "$as_me: Assuming installed \`kpathsea
' headers and library" >&6;}
4696 with_system_kpathsea=yes
4698 ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
4699 elif test "x$with_system_kpathsea" = xyes; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`kpathsea' headers and library
" >&5
4701 $as_echo "$as_me: Using installed \
`kpathsea' headers and library" >&6;}
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`kpathsea
' headers and library from TL tree" >&5
4704 $as_echo "$as_me: Using \`kpathsea' headers and library from TL tree
" >&6;}
4705 if test "x
$with_system_kpathsea" != xno; then
4706 with_system_kpathsea=no
4707 ac_configure_args="$ac_configure_args '--without-system-kpathsea'"
4711 ## texk/kpathsea/ac/mktex.ac: configure.ac fragment for the TeX Live
4712 ## subdirectory texk/kpathsea.
4713 ## configure defaults for mktexfmt & Co.
4714 # Check whether --enable-mktexmf-default was given.
4715 if test "${enable_mktexmf_default+set}" = set; then :
4716 enableval=$enable_mktexmf_default;
4718 # Check whether --enable-mktexpk-default was given.
4719 if test "${enable_mktexpk_default+set}" = set; then :
4720 enableval=$enable_mktexpk_default;
4722 # Check whether --enable-mktextfm-default was given.
4723 if test "${enable_mktextfm_default+set}" = set; then :
4724 enableval=$enable_mktextfm_default;
4726 # Check whether --enable-mkocp-default was given.
4727 if test "${enable_mkocp_default+set}" = set; then :
4728 enableval=$enable_mkocp_default;
4730 # Check whether --enable-mkofm-default was given.
4731 if test "${enable_mkofm_default+set}" = set; then :
4732 enableval=$enable_mkofm_default;
4734 # Check whether --enable-mktexfmt-default was given.
4735 if test "${enable_mktexfmt_default+set}" = set; then :
4736 enableval=$enable_mktexfmt_default;
4738 # Check whether --enable-mktextex-default was given.
4739 if test "${enable_mktextex_default+set}" = set; then :
4740 enableval=$enable_mktextex_default;
4746 am__api_version='1.15'
4748 # Find a good install program. We prefer a C program (faster),
4749 # so one script is as good as another. But avoid the broken or
4750 # incompatible versions:
4751 # SysV /etc/install, /usr/sbin/install
4752 # SunOS /usr/etc/install
4753 # IRIX /sbin/install
4755 # AmigaOS /C/install, which installs bootblocks on floppy discs
4756 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4757 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4758 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
4759 # OS/2's system install, which has a completely different semantic
4760 # ./install, which can be erroneously created by make from ./install.sh.
4761 # Reject install programs that cannot install multiple files.
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
4763 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
4764 if test -z "$INSTALL"; then
4765 if ${ac_cv_path_install+:} false; then :
4766 $as_echo_n "(cached
) " >&6
4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 test -z "$as_dir" && as_dir=.
4773 # Account for people who put trailing slashes in PATH elements.
4774 case $as_dir/ in #((
4775 ./ | .// | /[cC]/* | \
4776 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4777 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4780 # OSF1 and SCO ODT 3.0 have their own names for install.
4781 # Don't use installbsd from OSF since it installs stuff as root
4783 for ac_prog in ginstall scoinst install; do
4784 for ac_exec_ext in '' $ac_executable_extensions; do
4785 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4786 if test $ac_prog = install &&
4787 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4788 # AIX install. It has an incompatible calling convention.
4790 elif test $ac_prog = install &&
4791 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4792 # program-specific install script used by HP pwplus--don't use.
4795 rm -rf conftest.one conftest.two conftest.dir
4796 echo one > conftest.one
4797 echo two > conftest.two
4799 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
4800 test -s conftest.one && test -s conftest.two &&
4801 test -s conftest.dir/conftest.one &&
4802 test -s conftest.dir/conftest.two
4804 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4817 rm -rf conftest.one conftest.two conftest.dir
4820 if test "${ac_cv_path_install+set}" = set; then
4821 INSTALL=$ac_cv_path_install
4823 # As a last resort, use the slow shell script. Don't cache a
4824 # value for INSTALL within a source directory, because that will
4825 # break other packages using the cache if that directory is
4826 # removed, or if the value is a relative name.
4827 INSTALL=$ac_install_sh
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
4831 $as_echo "$INSTALL" >&6; }
4833 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4834 # It thinks the first close brace ends the variable substitution.
4835 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4837 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4839 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane
" >&5
4842 $as_echo_n "checking whether build environment is sane...
" >&6; }
4843 # Reject unsafe characters in $srcdir or the absolute working directory
4844 # name. Accept space and tab only in the latter.
4848 *[\\\"\#\$\&\'\`$am_lf]*)
4849 as_fn_error $? "unsafe absolute working directory name
" "$LINENO" 5;;
4852 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4853 as_fn_error $? "unsafe srcdir value
: '$srcdir'" "$LINENO" 5;;
4856 # Do 'set' in a subshell so we don't clobber the current shell's
4857 # arguments. Must try -L first in case configure is actually a
4858 # symlink; some systems play weird games with the mod time of symlinks
4859 # (eg FreeBSD returns the mod time of the symlink's containing
4863 for am_try in 1 2; do
4864 echo "timestamp
, slept
: $am_has_slept" > conftest.file
4865 set X `ls -Lt "$srcdir/configure
" conftest.file 2> /dev/null`
4866 if test "$
*" = "X
"; then
4868 set X `ls -t "$srcdir/configure
" conftest.file`
4870 if test "$
*" != "X
$srcdir/configure conftest.
file" \
4871 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
4873 # If neither matched, then we have a broken ls. This can happen
4874 # if, for instance, CONFIG_SHELL is bash and it inherits a
4875 # broken ls alias from the environment. This has actually
4876 # happened. Such a system could not be considered "sane
".
4877 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4878 alias in your environment
" "$LINENO" 5
4880 if test "$2" = conftest.file || test $am_try -eq 2; then
4887 test "$2" = conftest.file
4893 as_fn_error $? "newly created
file is older than distributed files
!
4894 Check your system
clock" "$LINENO" 5
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4897 $as_echo "yes" >&6; }
4898 # If we didn't sleep, we still need to ensure time stamps of config.status and
4899 # generated files are strictly newer.
4901 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4908 test "$program_prefix" != NONE &&
4909 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
4910 # Use a double $ so make ignores it.
4911 test "$program_suffix" != NONE &&
4912 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
4913 # Double any \ or $.
4914 # By default was `s,x,x', remove it if useless.
4915 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4916 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4918 if test x"${MISSING+set}" != xset; then
4921 MISSING="\
${SHELL} \"$am_aux_dir/missing
\"" ;;
4923 MISSING="\
${SHELL} $am_aux_dir/missing
" ;;
4926 # Use eval to expand $SHELL
4927 if eval "$MISSING --is-lightweight"; then
4928 am_missing_run="$MISSING "
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: 'missing' script is too old or missing
" >&5
4932 $as_echo "$as_me: WARNING
: 'missing' script is too old or missing
" >&2;}
4935 if test x"${install_sh+set}" != xset; then
4938 install_sh="\
${SHELL} '$am_aux_dir/install-sh'" ;;
4940 install_sh="\
${SHELL} $am_aux_dir/install-sh
"
4944 # Installed binaries are usually stripped using 'strip' when the user
4945 # run "make install-strip
". However 'strip' might not be the right
4946 # tool to use in cross-compilation environments, therefore Automake
4947 # will honor the 'STRIP' environment variable to overrule this program.
4948 if test "$cross_compiling" != no; then
4949 if test -n "$ac_tool_prefix"; then
4950 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4951 set dummy ${ac_tool_prefix}strip; ac_word=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4953 $as_echo_n "checking
for $ac_word...
" >&6; }
4954 if ${ac_cv_prog_STRIP+:} false; then :
4955 $as_echo_n "(cached
) " >&6
4957 if test -n "$STRIP"; then
4958 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir=.
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4977 STRIP=$ac_cv_prog_STRIP
4978 if test -n "$STRIP"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
4980 $as_echo "$STRIP" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4983 $as_echo "no
" >&6; }
4988 if test -z "$ac_cv_prog_STRIP"; then
4990 # Extract the first word of "strip
", so it can be a program name with args.
4991 set dummy strip; ac_word=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4993 $as_echo_n "checking
for $ac_word...
" >&6; }
4994 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4995 $as_echo_n "(cached
) " >&6
4997 if test -n "$ac_ct_STRIP"; then
4998 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 test -z "$as_dir" && as_dir=.
5005 for ac_exec_ext in '' $ac_executable_extensions; do
5006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_ac_ct_STRIP="strip
"
5008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5017 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5018 if test -n "$ac_ct_STRIP"; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5020 $as_echo "$ac_ct_STRIP" >&6; }
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5023 $as_echo "no
" >&6; }
5026 if test "x
$ac_ct_STRIP" = x; then
5029 case $cross_compiling:$ac_tool_warned in
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5032 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5033 ac_tool_warned=yes ;;
5038 STRIP="$ac_cv_prog_STRIP"
5042 INSTALL_STRIP_PROGRAM="\$
(install_sh
) -c -s"
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a thread-safe mkdir
-p" >&5
5045 $as_echo_n "checking
for a thread-safe mkdir
-p...
" >&6; }
5046 if test -z "$MKDIR_P"; then
5047 if ${ac_cv_path_mkdir+:} false; then :
5048 $as_echo_n "(cached
) " >&6
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5054 test -z "$as_dir" && as_dir=.
5055 for ac_prog in mkdir gmkdir; do
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5058 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5059 'mkdir (GNU coreutils) '* | \
5060 'mkdir (coreutils) '* | \
5061 'mkdir (fileutils) '4.1*)
5062 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5072 test -d ./--version && rmdir ./--version
5073 if test "${ac_cv_path_mkdir+set}" = set; then
5074 MKDIR_P="$ac_cv_path_mkdir -p"
5076 # As a last resort, use the slow shell script. Don't cache a
5077 # value for MKDIR_P within a source directory, because that will
5078 # break other packages using the cache if that directory is
5079 # removed, or if the value is a relative name.
5080 MKDIR_P="$ac_install_sh -d"
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MKDIR_P" >&5
5084 $as_echo "$MKDIR_P" >&6; }
5086 for ac_prog in gawk mawk nawk awk
5088 # Extract the first word of "$ac_prog", so it can be a program name with args.
5089 set dummy $ac_prog; ac_word=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5091 $as_echo_n "checking
for $ac_word...
" >&6; }
5092 if ${ac_cv_prog_AWK+:} false; then :
5093 $as_echo_n "(cached
) " >&6
5095 if test -n "$AWK"; then
5096 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102 test -z "$as_dir" && as_dir=.
5103 for ac_exec_ext in '' $ac_executable_extensions; do
5104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5105 ac_cv_prog_AWK="$ac_prog"
5106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5116 if test -n "$AWK"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
5118 $as_echo "$AWK" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5121 $as_echo "no
" >&6; }
5125 test -n "$AWK" && break
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
5129 $as_echo_n "checking whether
${MAKE-make} sets \$
(MAKE
)...
" >&6; }
5131 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5132 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5133 $as_echo_n "(cached
) " >&6
5135 cat >conftest.make <<\_ACEOF
5138 @echo '@@@%%%=$(MAKE)=@@@%%%'
5140 # GNU make sometimes prints "make[1]: Entering ...
", which would confuse us.
5141 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5143 eval ac_cv_prog_make_${ac_make}_set=yes;;
5145 eval ac_cv_prog_make_${ac_make}_set=no;;
5149 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5151 $as_echo "yes" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5155 $as_echo "no
" >&6; }
5156 SET_MAKE="MAKE
=${MAKE-make}"
5159 rm -rf .tst 2>/dev/null
5160 mkdir .tst 2>/dev/null
5161 if test -d .tst; then
5166 rmdir .tst 2>/dev/null
5168 DEPDIR="${am__leading_dot}deps
"
5170 ac_config_commands="$ac_config_commands depfiles
"
5173 am_make=${MAKE-make}
5174 cat > confinc << 'END'
5176 @echo this is the am__doit target
5179 # If we don't find an include directive, just comment out the code.
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for style of include used by
$am_make" >&5
5181 $as_echo_n "checking
for style of include used by
$am_make...
" >&6; }
5185 # First try GNU make style include.
5186 echo "include confinc" > confmf
5187 # Ignore all kinds of additional output from 'make'.
5188 case `$am_make -s -f confmf 2> /dev/null` in #(
5189 *the\ am__doit\ target
*)
5195 # Now try BSD make style include.
5196 if test "$am__include" = "#"; then
5197 echo '.include "confinc"' > confmf
5198 case `$am_make -s -f confmf 2> /dev/null` in #(
5199 *the\ am__doit\ target
*)
5200 am__include
=.include
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5209 $as_echo "$_am_result" >&6; }
5210 rm -f confinc confmf
5212 # Check whether --enable-dependency-tracking was given.
5213 if test "${enable_dependency_tracking+set}" = set; then :
5214 enableval
=$enable_dependency_tracking;
5217 if test "x$enable_dependency_tracking" != xno
; then
5218 am_depcomp
="$ac_aux_dir/depcomp"
5222 if test "x$enable_dependency_tracking" != xno; then
5231 # Check whether --enable-silent-rules was given.
5232 if test "${enable_silent_rules+set}" = set; then :
5233 enableval
=$enable_silent_rules;
5236 case $enable_silent_rules in # (((
5237 yes) AM_DEFAULT_VERBOSITY
=0;;
5238 no
) AM_DEFAULT_VERBOSITY
=1;;
5239 *) AM_DEFAULT_VERBOSITY
=1;;
5241 am_make
=${MAKE-make}
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5243 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5244 if ${am_cv_make_support_nested_variables+:} false
; then :
5245 $as_echo_n "(cached) " >&6
5247 if $as_echo 'TRUE=$(BAR$(V))
5253 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5254 am_cv_make_support_nested_variables
=yes
5256 am_cv_make_support_nested_variables
=no
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5260 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5261 if test $am_cv_make_support_nested_variables = yes; then
5263 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5265 AM_V
=$AM_DEFAULT_VERBOSITY
5266 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5270 # Check whether --enable-compiler-warnings was given.
5271 if test "${enable_compiler_warnings+set}" = set; then :
5272 enableval=$enable_compiler_warnings;
5274 case $enable_compiler_warnings in #(
5275 no | min | yes | max | all) :
5278 if test "x$enable_maintainer_mode" = xyes; then :
5279 enable_compiler_warnings=yes
5281 enable_compiler_warnings=min
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5288 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5293 macro_version='2.4.5'
5294 macro_revision='2.4.5'
5308 ltmain=$ac_aux_dir/ltmain.sh
5310 # Backslashify metacharacters that are still active within
5311 # double-quoted strings.
5312 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
5314 # Same as above, but do not quote variable references.
5315 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5317 # Sed substitution to delay expansion of an escaped shell variable in a
5318 # double_quote_subst'ed string.
5319 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5321 # Sed substitution to delay expansion of an escaped single quote.
5322 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5324 # Sed substitution to avoid accidental globbing in evaled expressions
5325 no_glob_subst='s/\*/\\\*/g'
5327 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5328 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5329 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5332 $as_echo_n "checking how to print strings... " >&6; }
5333 # Test print first, because it will be a builtin if present.
5334 if test "X`( print
-r -- -n ) 2>/dev
/null
`" = X-n && \
5335 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
5337 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
5340 # Use this function as a fallback that always works.
5341 func_fallback_echo ()
5343 eval 'cat <<_LTECHO_EOF
5347 ECHO='func_fallback_echo'
5350 # func_echo_all arg...
5351 # Invoke $ECHO with all args, space-separated.
5358 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5359 $as_echo "printf" >&6; } ;;
5360 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5361 $as_echo "print -r" >&6; } ;;
5362 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5363 $as_echo "cat" >&6; } ;;
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5380 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5381 if ${ac_cv_path_SED+:} false; then :
5382 $as_echo_n "(cached) " >&6
5384 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5385 for ac_i in 1 2 3 4 5 6 7; do
5386 ac_script="$ac_script$as_nl$ac_script"
5388 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5389 { ac_script=; unset ac_script;}
5390 if test -z "$SED"; then
5391 ac_path_SED_found=false
5392 # Loop through the user's path and test for each of PROGNAME-LIST
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 test -z "$as_dir" && as_dir=.
5398 for ac_prog in sed gsed; do
5399 for ac_exec_ext in '' $ac_executable_extensions; do
5400 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5401 as_fn_executable_p "$ac_path_SED" || continue
5402 # Check for GNU ac_path_SED and select it if it is found.
5403 # Check for GNU $ac_path_SED
5404 case `"$ac_path_SED" --version 2>&1` in
5406 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5409 $as_echo_n 0123456789 >"conftest.in"
5412 cat "conftest.in" "conftest.in" >"conftest.tmp"
5413 mv "conftest.tmp" "conftest.in"
5414 cp "conftest.in" "conftest.nl"
5415 $as_echo '' >> "conftest.nl"
5416 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5417 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5418 as_fn_arith $ac_count + 1 && ac_count=$as_val
5419 if test $ac_count -gt ${ac_path_SED_max-0}; then
5420 # Best one so far, save it but keep looking for a better one
5421 ac_cv_path_SED="$ac_path_SED"
5422 ac_path_SED_max=$ac_count
5424 # 10*(2^10) chars as input seems more than enough
5425 test $ac_count -gt 10 && break
5427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5430 $ac_path_SED_found && break 3
5435 if test -z "$ac_cv_path_SED"; then
5436 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5444 $as_echo "$ac_cv_path_SED" >&6; }
5445 SED="$ac_cv_path_SED"
5448 test -z "$SED" && SED=sed
5449 Xsed="$SED -e 1s/^X//"
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5462 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5463 if ${ac_cv_path_GREP+:} false; then :
5464 $as_echo_n "(cached) " >&6
5466 if test -z "$GREP"; then
5467 ac_path_GREP_found=false
5468 # Loop through the user's path and test for each of PROGNAME-LIST
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5473 test -z "$as_dir" && as_dir=.
5474 for ac_prog in grep ggrep; do
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5477 as_fn_executable_p "$ac_path_GREP" || continue
5478 # Check for GNU ac_path_GREP and select it if it is found.
5479 # Check for GNU $ac_path_GREP
5480 case `"$ac_path_GREP" --version 2>&1` in
5482 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5485 $as_echo_n 0123456789 >"conftest.in"
5488 cat "conftest.in" "conftest.in" >"conftest.tmp"
5489 mv "conftest.tmp" "conftest.in"
5490 cp "conftest.in" "conftest.nl"
5491 $as_echo 'GREP' >> "conftest.nl"
5492 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5493 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5494 as_fn_arith $ac_count + 1 && ac_count=$as_val
5495 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5496 # Best one so far, save it but keep looking for a better one
5497 ac_cv_path_GREP="$ac_path_GREP"
5498 ac_path_GREP_max=$ac_count
5500 # 10*(2^10) chars as input seems more than enough
5501 test $ac_count -gt 10 && break
5503 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5506 $ac_path_GREP_found && break 3
5511 if test -z "$ac_cv_path_GREP"; then
5512 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5515 ac_cv_path_GREP=$GREP
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5520 $as_echo "$ac_cv_path_GREP" >&6; }
5521 GREP="$ac_cv_path_GREP"
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5525 $as_echo_n "checking for egrep... " >&6; }
5526 if ${ac_cv_path_EGREP+:} false; then :
5527 $as_echo_n "(cached) " >&6
5529 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5530 then ac_cv_path_EGREP="$GREP -E"
5532 if test -z "$EGREP"; then
5533 ac_path_EGREP_found=false
5534 # Loop through the user's path and test for each of PROGNAME-LIST
5535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5536 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5539 test -z "$as_dir" && as_dir=.
5540 for ac_prog in egrep; do
5541 for ac_exec_ext in '' $ac_executable_extensions; do
5542 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5543 as_fn_executable_p "$ac_path_EGREP" || continue
5544 # Check for GNU ac_path_EGREP and select it if it is found.
5545 # Check for GNU $ac_path_EGREP
5546 case `"$ac_path_EGREP" --version 2>&1` in
5548 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5551 $as_echo_n 0123456789 >"conftest.in"
5554 cat "conftest.in" "conftest.in" >"conftest.tmp"
5555 mv "conftest.tmp" "conftest.in"
5556 cp "conftest.in" "conftest.nl"
5557 $as_echo 'EGREP' >> "conftest.nl"
5558 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5559 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5560 as_fn_arith $ac_count + 1 && ac_count=$as_val
5561 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5562 # Best one so far, save it but keep looking for a better one
5563 ac_cv_path_EGREP="$ac_path_EGREP"
5564 ac_path_EGREP_max=$ac_count
5566 # 10*(2^10) chars as input seems more than enough
5567 test $ac_count -gt 10 && break
5569 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5572 $ac_path_EGREP_found && break 3
5577 if test -z "$ac_cv_path_EGREP"; then
5578 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5581 ac_cv_path_EGREP=$EGREP
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5587 $as_echo "$ac_cv_path_EGREP" >&6; }
5588 EGREP="$ac_cv_path_EGREP"
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5592 $as_echo_n "checking for fgrep... " >&6; }
5593 if ${ac_cv_path_FGREP+:} false; then :
5594 $as_echo_n "(cached) " >&6
5596 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5597 then ac_cv_path_FGREP="$GREP -F"
5599 if test -z "$FGREP"; then
5600 ac_path_FGREP_found=false
5601 # Loop through the user's path and test for each of PROGNAME-LIST
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5606 test -z "$as_dir" && as_dir=.
5607 for ac_prog in fgrep; do
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5610 as_fn_executable_p "$ac_path_FGREP" || continue
5611 # Check for GNU ac_path_FGREP and select it if it is found.
5612 # Check for GNU $ac_path_FGREP
5613 case `"$ac_path_FGREP" --version 2>&1` in
5615 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5618 $as_echo_n 0123456789 >"conftest.in"
5621 cat "conftest.in" "conftest.in" >"conftest.tmp"
5622 mv "conftest.tmp" "conftest.in"
5623 cp "conftest.in" "conftest.nl"
5624 $as_echo 'FGREP' >> "conftest.nl"
5625 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5626 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5627 as_fn_arith $ac_count + 1 && ac_count=$as_val
5628 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5629 # Best one so far, save it but keep looking for a better one
5630 ac_cv_path_FGREP="$ac_path_FGREP"
5631 ac_path_FGREP_max=$ac_count
5633 # 10*(2^10) chars as input seems more than enough
5634 test $ac_count -gt 10 && break
5636 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5639 $ac_path_FGREP_found && break 3
5644 if test -z "$ac_cv_path_FGREP"; then
5645 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5648 ac_cv_path_FGREP=$FGREP
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5654 $as_echo "$ac_cv_path_FGREP" >&6; }
5655 FGREP="$ac_cv_path_FGREP"
5658 test -z "$GREP" && GREP=grep
5678 # Check whether --with-gnu-ld was given.
5679 if test "${with_gnu_ld+set}" = set; then :
5680 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5686 if test yes = "$GCC"; then
5687 # Check if gcc -print-prog-name=ld gives a path.
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5689 $as_echo_n "checking for ld used by $CC... " >&6; }
5692 # gcc leaves a trailing carriage return, which upsets mingw
5693 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5695 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5698 # Accept absolute paths.
5700 re_direlt='/[^/][^/]*/\.\./'
5701 # Canonicalize the pathname of ld
5702 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5703 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5704 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5706 test -z "$LD" && LD=$ac_prog
5709 # If it fails, then pretend we aren't using GCC.
5713 # If it is relative, then search for the first ld in PATH.
5717 elif test yes = "$with_gnu_ld"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5719 $as_echo_n "checking for GNU ld... " >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5722 $as_echo_n "checking for non-GNU ld... " >&6; }
5724 if ${lt_cv_path_LD+:} false; then :
5725 $as_echo_n "(cached) " >&6
5727 if test -z "$LD"; then
5728 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5729 for ac_dir in $PATH; do
5731 test -z "$ac_dir" && ac_dir=.
5732 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5733 lt_cv_path_LD=$ac_dir/$ac_prog
5734 # Check to see if the program is GNU ld. I'd rather use --version,
5735 # but apparently some variants of GNU ld only accept -v.
5736 # Break only if it was the GNU/non-GNU ld that we prefer.
5737 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5738 *GNU* | *'with BFD'*)
5739 test no != "$with_gnu_ld" && break
5742 test yes != "$with_gnu_ld" && break
5749 lt_cv_path_LD=$LD # Let the user override the test with a path.
5754 if test -n "$LD"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5756 $as_echo "$LD" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5761 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5763 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5764 if ${lt_cv_prog_gnu_ld+:} false; then :
5765 $as_echo_n "(cached) " >&6
5767 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5768 case `$LD -v 2>&1 </dev
/null
` in
5769 *GNU* | *'with BFD'*)
5770 lt_cv_prog_gnu_ld=yes
5773 lt_cv_prog_gnu_ld=no
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5778 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5779 with_gnu_ld=$lt_cv_prog_gnu_ld
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5790 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5791 if ${lt_cv_path_NM+:} false; then :
5792 $as_echo_n "(cached) " >&6
5794 if test -n "$NM"; then
5795 # Let the user override the test.
5798 lt_nm_to_check=${ac_tool_prefix}nm
5799 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5800 lt_nm_to_check="$lt_nm_to_check nm"
5802 for lt_tmp_nm in $lt_nm_to_check; do
5803 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5804 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5806 test -z "$ac_dir" && ac_dir=.
5807 tmp_nm=$ac_dir/$lt_tmp_nm
5808 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5809 # Check to see if the nm accepts a BSD-compat flag.
5810 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5811 # nm: unknown option "B" ignored
5812 # Tru64's nm complains that /dev/null is an invalid object file
5813 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5815 mingw*) lt_bad_file=conftest.nm/nofile ;;
5816 *) lt_bad_file=/dev/null ;;
5818 case `"$tmp_nm" -B $lt_bad_file 2>&1 |
sed '1q'` in
5819 *$lt_bad_file* | *'Invalid file or object type'*)
5820 lt_cv_path_NM="$tmp_nm -B"
5824 case `"$tmp_nm" -p /dev
/null
2>&1 |
sed '1q'` in
5826 lt_cv_path_NM="$tmp_nm -p"
5830 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5831 continue # so that we can try to find one that supports BSD flags
5840 : ${lt_cv_path_NM=no}
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5844 $as_echo "$lt_cv_path_NM" >&6; }
5845 if test no != "$lt_cv_path_NM"; then
5848 # Didn't find any BSD compatible name lister, look for dumpbin.
5849 if test -n "$DUMPBIN"; then :
5850 # Let the user override the test.
5852 if test -n "$ac_tool_prefix"; then
5853 for ac_prog in dumpbin "link -dump"
5855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_DUMPBIN+:} false; then :
5860 $as_echo_n "(cached) " >&6
5862 if test -n "$DUMPBIN"; then
5863 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 DUMPBIN=$ac_cv_prog_DUMPBIN
5883 if test -n "$DUMPBIN"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5885 $as_echo "$DUMPBIN" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5892 test -n "$DUMPBIN" && break
5895 if test -z "$DUMPBIN"; then
5896 ac_ct_DUMPBIN=$DUMPBIN
5897 for ac_prog in dumpbin "link -dump"
5899 # Extract the first word of "$ac_prog", so it can be a program name with args.
5900 set dummy $ac_prog; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5904 $as_echo_n "(cached) " >&6
5906 if test -n "$ac_ct_DUMPBIN"; then
5907 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5927 if test -n "$ac_ct_DUMPBIN"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5929 $as_echo "$ac_ct_DUMPBIN" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5936 test -n "$ac_ct_DUMPBIN" && break
5939 if test "x$ac_ct_DUMPBIN" = x; then
5942 case $cross_compiling:$ac_tool_warned in
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5946 ac_tool_warned=yes ;;
5948 DUMPBIN=$ac_ct_DUMPBIN
5952 case `$DUMPBIN -symbols -headers /dev
/null
2>&1 |
sed '1q'` in
5954 DUMPBIN="$DUMPBIN -symbols -headers"
5962 if test : != "$DUMPBIN"; then
5966 test -z "$NM" && NM=nm
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5974 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5975 if ${lt_cv_nm_interface+:} false; then :
5976 $as_echo_n "(cached) " >&6
5978 lt_cv_nm_interface="BSD nm"
5979 echo "int some_variable = 0;" > conftest.$ac_ext
5980 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5981 (eval "$ac_compile" 2>conftest.err)
5982 cat conftest.err >&5
5983 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5984 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5985 cat conftest.err >&5
5986 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5987 cat conftest.out >&5
5988 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5989 lt_cv_nm_interface="MS dumpbin"
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5994 $as_echo "$lt_cv_nm_interface" >&6; }
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5997 $as_echo_n "checking whether ln -s works... " >&6; }
5999 if test "$LN_S" = "ln -s"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6001 $as_echo "yes" >&6; }
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6004 $as_echo "no, using $LN_S" >&6; }
6007 # find the maximum length of command line arguments
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6009 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6010 if ${lt_cv_sys_max_cmd_len+:} false; then :
6011 $as_echo_n "(cached) " >&6
6018 # On DJGPP, this test can blow up pretty badly due to problems in libc
6019 # (any single argument exceeding 2000 bytes causes a buffer overrun
6020 # during glob expansion). Even if it were fixed, the result of this
6021 # check would be larger than it should be.
6022 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6026 # Under GNU Hurd, this test is not required because there is
6027 # no limit to the length of command line arguments.
6028 # Libtool will interpret -1 as no limit whatsoever
6029 lt_cv_sys_max_cmd_len=-1;
6032 cygwin* | mingw* | cegcc*)
6033 # On Win9x/ME, this test blows up -- it succeeds, but takes
6034 # about 5 minutes as the teststring grows exponentially.
6035 # Worse, since 9x/ME are not pre-emptively multitasking,
6036 # you end up with a "frozen" computer, even though with patience
6037 # the test eventually succeeds (with a max line length of 256k).
6038 # Instead, let's just punt: use the minimum linelength reported by
6039 # all of the supported platforms: 8192 (on NT/2K/XP).
6040 lt_cv_sys_max_cmd_len=8192;
6044 # On MiNT this can take a long time and run out of memory.
6045 lt_cv_sys_max_cmd_len=8192;
6049 # On AmigaOS with pdksh, this test takes hours, literally.
6050 # So we just punt and use a minimum line length of 8192.
6051 lt_cv_sys_max_cmd_len=8192;
6054 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6055 # This has been around since 386BSD, at least. Likely further.
6056 if test -x /sbin/sysctl; then
6057 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
6058 elif test -x /usr/sbin/sysctl; then
6059 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
6061 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6063 # And add a safety zone
6064 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
6065 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
6069 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6070 lt_cv_sys_max_cmd_len=196608
6074 # The test takes a long time on OS/2.
6075 lt_cv_sys_max_cmd_len=8192
6079 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6080 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6081 # nice to cause kernel panics so lets avoid the loop below.
6082 # First set a reasonable default.
6083 lt_cv_sys_max_cmd_len=16384
6085 if test -x /sbin/sysconfig; then
6086 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
6087 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6092 lt_cv_sys_max_cmd_len=102400
6094 sysv5* | sco5v6* | sysv4.2uw2*)
6095 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
6096 if test -n "$kargmax"; then
6097 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
6099 lt_cv_sys_max_cmd_len=32768
6103 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX
) 2> /dev
/null
`
6104 if test -n "$lt_cv_sys_max_cmd_len" && \
6105 test undefined != "$lt_cv_sys_max_cmd_len"; then
6106 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
6107 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
6109 # Make teststring a little bigger before we do anything with it.
6110 # a 1K string should be a reasonable start.
6111 for i in 1 2 3 4 5 6 7 8; do
6112 teststring=$teststring$teststring
6114 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6115 # If test is not a shell built-in, we'll probably end up computing a
6116 # maximum length that is only half of the actual maximum length, but
6118 while { test X`env
echo "$teststring$teststring" 2>/dev
/null
` \
6119 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6120 test 17 != "$i" # 1/2 MB should be enough
6123 teststring=$teststring$teststring
6125 # Only check the string length outside the loop.
6126 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6128 # Add a significant safety factor because C++ compilers can tack on
6129 # massive amounts of additional arguments before passing them to the
6130 # linker. It appears as though 1/2 is a usable value.
6131 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
6138 if test -n "$lt_cv_sys_max_cmd_len"; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6140 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6143 $as_echo "none" >&6; }
6145 max_cmd_len=$lt_cv_sys_max_cmd_len
6156 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6166 # test EBCDIC or ASCII
6167 case `echo X|
tr X
'\101'` in
6168 A) # ASCII based system
6169 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6170 lt_SP2NL='tr \040 \012'
6171 lt_NL2SP='tr \015\012 \040\040'
6173 *) # EBCDIC based system
6174 lt_SP2NL='tr \100 \n'
6175 lt_NL2SP='tr \r\n \100\100'
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6188 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6189 if ${lt_cv_to_host_file_cmd+:} false; then :
6190 $as_echo_n "(cached) " >&6
6195 *-*-mingw* ) # actually msys
6196 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6199 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6201 * ) # otherwise, assume *nix
6202 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6208 *-*-mingw* ) # actually msys
6209 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6212 lt_cv_to_host_file_cmd=func_convert_file_noop
6214 * ) # otherwise, assume *nix
6215 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6219 * ) # unhandled hosts (and "normal" native builds)
6220 lt_cv_to_host_file_cmd=func_convert_file_noop
6226 to_host_file_cmd=$lt_cv_to_host_file_cmd
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6228 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6235 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6236 if ${lt_cv_to_tool_file_cmd+:} false; then :
6237 $as_echo_n "(cached) " >&6
6239 #assume ordinary cross tools, or native build.
6240 lt_cv_to_tool_file_cmd=func_convert_file_noop
6244 *-*-mingw* ) # actually msys
6245 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6253 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6255 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6262 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6263 if ${lt_cv_ld_reload_flag+:} false; then :
6264 $as_echo_n "(cached) " >&6
6266 lt_cv_ld_reload_flag='-r'
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6269 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6270 reload_flag=$lt_cv_ld_reload_flag
6271 case $reload_flag in
6273 *) reload_flag=" $reload_flag" ;;
6275 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6277 cygwin* | mingw* | pw32* | cegcc*)
6278 if test yes != "$GCC"; then
6283 if test yes = "$GCC"; then
6284 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6286 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6299 if test -n "$ac_tool_prefix"; then
6300 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6301 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303 $as_echo_n "checking for $ac_word... " >&6; }
6304 if ${ac_cv_prog_OBJDUMP+:} false; then :
6305 $as_echo_n "(cached) " >&6
6307 if test -n "$OBJDUMP"; then
6308 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6317 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6327 OBJDUMP=$ac_cv_prog_OBJDUMP
6328 if test -n "$OBJDUMP"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6330 $as_echo "$OBJDUMP" >&6; }
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333 $as_echo "no" >&6; }
6338 if test -z "$ac_cv_prog_OBJDUMP"; then
6339 ac_ct_OBJDUMP=$OBJDUMP
6340 # Extract the first word of "objdump", so it can be a program name with args.
6341 set dummy objdump; ac_word=$2
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6343 $as_echo_n "checking for $ac_word... " >&6; }
6344 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6345 $as_echo_n "(cached) " >&6
6347 if test -n "$ac_ct_OBJDUMP"; then
6348 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6357 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6367 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6368 if test -n "$ac_ct_OBJDUMP"; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6370 $as_echo "$ac_ct_OBJDUMP" >&6; }
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6373 $as_echo "no" >&6; }
6376 if test "x$ac_ct_OBJDUMP" = x; then
6379 case $cross_compiling:$ac_tool_warned in
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6383 ac_tool_warned=yes ;;
6385 OBJDUMP=$ac_ct_OBJDUMP
6388 OBJDUMP="$ac_cv_prog_OBJDUMP"
6391 test -z "$OBJDUMP" && OBJDUMP=objdump
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6399 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6400 if ${lt_cv_deplibs_check_method+:} false; then :
6401 $as_echo_n "(cached) " >&6
6403 lt_cv_file_magic_cmd='$MAGIC_CMD'
6404 lt_cv_file_magic_test_file=
6405 lt_cv_deplibs_check_method='unknown'
6406 # Need to set the preceding variable on all platforms that support
6407 # interlibrary dependencies.
6408 # 'none' -- dependencies not supported.
6409 # 'unknown' -- same as none, but documents that we really don't know.
6410 # 'pass_all' -- all dependencies passed with no checks.
6411 # 'test_compile' -- check by making test program.
6412 # 'file_magic [[regex]]' -- check by looking for files in library path
6413 # that responds to the $file_magic_cmd with a given extended regex.
6414 # If you have 'file' or equivalent on your system and you're not sure
6415 # whether 'pass_all' will *always* work, you probably want this one.
6419 lt_cv_deplibs_check_method=pass_all
6423 lt_cv_deplibs_check_method=pass_all
6427 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6428 lt_cv_file_magic_cmd='/usr/bin/file -L'
6429 lt_cv_file_magic_test_file=/shlib/libc.so
6433 # func_win32_libid is a shell function defined in ltmain.sh
6434 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6435 lt_cv_file_magic_cmd='func_win32_libid'
6439 # Base MSYS/MinGW do not provide the 'file' command needed by
6440 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6441 # unless we find 'file', for example because we are cross-compiling.
6442 if ( file / ) >/dev/null 2>&1; then
6443 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6444 lt_cv_file_magic_cmd='func_win32_libid'
6446 # Keep this pattern in sync with the one in func_win32_libid.
6447 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6448 lt_cv_file_magic_cmd='$OBJDUMP -f'
6453 # use the weaker test based on 'objdump'. See mingw*.
6454 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6455 lt_cv_file_magic_cmd='$OBJDUMP -f'
6458 darwin* | rhapsody*)
6459 lt_cv_deplibs_check_method=pass_all
6462 freebsd* | dragonfly*)
6463 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6466 # Not sure whether the presence of OpenBSD here was a mistake.
6467 # Let's accept both of them until this is cleared up.
6468 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6469 lt_cv_file_magic_cmd=/usr/bin/file
6470 lt_cv_file_magic_test_file=`echo /usr
/lib
/libc.so.
*`
6474 lt_cv_deplibs_check_method=pass_all
6479 lt_cv_deplibs_check_method=pass_all
6482 hpux10.20* | hpux11*)
6483 lt_cv_file_magic_cmd=/usr/bin/file
6486 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6487 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6490 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]'
6491 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6494 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6495 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6501 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6502 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6505 irix5* | irix6* | nonstopux*)
6507 *-32|*"-32 ") libmagic=32-bit;;
6508 *-n32|*"-n32 ") libmagic=N32;;
6509 *-64|*"-64 ") libmagic=64-bit;;
6510 *) libmagic=never-match;;
6512 lt_cv_deplibs_check_method=pass_all
6515 # This must be glibc/ELF.
6516 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6517 lt_cv_deplibs_check_method=pass_all
6521 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6522 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6524 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6529 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6530 lt_cv_file_magic_cmd=/usr/bin/file
6531 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6535 lt_cv_deplibs_check_method=pass_all
6539 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`"; then
6540 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6542 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6546 osf3* | osf4* | osf5*)
6547 lt_cv_deplibs_check_method=pass_all
6551 lt_cv_deplibs_check_method=pass_all
6555 lt_cv_deplibs_check_method=pass_all
6558 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6559 lt_cv_deplibs_check_method=pass_all
6563 case $host_vendor in
6565 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]'
6566 lt_cv_file_magic_test_file=`echo /usr
/lib
/libc.so
*`
6569 lt_cv_deplibs_check_method=pass_all
6572 lt_cv_file_magic_cmd='/bin/file'
6573 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6576 lt_cv_file_magic_cmd='/bin/file'
6577 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6578 lt_cv_file_magic_test_file=/lib/libc.so
6581 lt_cv_deplibs_check_method=pass_all
6584 lt_cv_deplibs_check_method=pass_all
6590 lt_cv_deplibs_check_method=pass_all
6593 lt_cv_deplibs_check_method=pass_all
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6599 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6603 if test "$build" = "$host"; then
6606 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6609 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ |
$SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6615 file_magic_cmd=$lt_cv_file_magic_cmd
6616 deplibs_check_method=$lt_cv_deplibs_check_method
6617 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6640 if test -n "$ac_tool_prefix"; then
6641 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6642 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if ${ac_cv_prog_DLLTOOL+:} false; then :
6646 $as_echo_n "(cached) " >&6
6648 if test -n "$DLLTOOL"; then
6649 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6658 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 DLLTOOL=$ac_cv_prog_DLLTOOL
6669 if test -n "$DLLTOOL"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6671 $as_echo "$DLLTOOL" >&6; }
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6679 if test -z "$ac_cv_prog_DLLTOOL"; then
6680 ac_ct_DLLTOOL=$DLLTOOL
6681 # Extract the first word of "dlltool", so it can be a program name with args.
6682 set dummy dlltool; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6686 $as_echo_n "(cached) " >&6
6688 if test -n "$ac_ct_DLLTOOL"; then
6689 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6698 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6708 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6709 if test -n "$ac_ct_DLLTOOL"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6711 $as_echo "$ac_ct_DLLTOOL" >&6; }
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6717 if test "x$ac_ct_DLLTOOL" = x; then
6720 case $cross_compiling:$ac_tool_warned in
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned=yes ;;
6726 DLLTOOL=$ac_ct_DLLTOOL
6729 DLLTOOL="$ac_cv_prog_DLLTOOL"
6732 test -z "$DLLTOOL" && DLLTOOL=dlltool
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6741 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6742 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6743 $as_echo_n "(cached) " >&6
6745 lt_cv_sharedlib_from_linklib_cmd='unknown'
6748 cygwin* | mingw* | pw32* | cegcc*)
6749 # two different shell functions defined in ltmain.sh;
6750 # decide which one to use based on capabilities of $DLLTOOL
6751 case `$DLLTOOL --help 2>&1` in
6752 *--identify-strict*)
6753 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6756 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6761 # fallback: assume linklib IS sharedlib
6762 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6768 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6769 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6770 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6778 if test -n "$ac_tool_prefix"; then
6781 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6782 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784 $as_echo_n "checking for $ac_word... " >&6; }
6785 if ${ac_cv_prog_AR+:} false; then :
6786 $as_echo_n "(cached) " >&6
6788 if test -n "$AR"; then
6789 ac_cv_prog_AR="$AR" # Let the user override the test.
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6809 if test -n "$AR"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6811 $as_echo "$AR" >&6; }
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 $as_echo "no" >&6; }
6818 test -n "$AR" && break
6821 if test -z "$AR"; then
6825 # Extract the first word of "$ac_prog", so it can be a program name with args.
6826 set dummy $ac_prog; ac_word=$2
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828 $as_echo_n "checking for $ac_word... " >&6; }
6829 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6830 $as_echo_n "(cached) " >&6
6832 if test -n "$ac_ct_AR"; then
6833 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 test -z "$as_dir" && as_dir=.
6840 for ac_exec_ext in '' $ac_executable_extensions; do
6841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6842 ac_cv_prog_ac_ct_AR="$ac_prog"
6843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6853 if test -n "$ac_ct_AR"; then
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6855 $as_echo "$ac_ct_AR" >&6; }
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858 $as_echo "no" >&6; }
6862 test -n "$ac_ct_AR" && break
6865 if test "x$ac_ct_AR" = x; then
6868 case $cross_compiling:$ac_tool_warned in
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6872 ac_tool_warned=yes ;;
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6892 $as_echo_n "checking for archiver @FILE support... " >&6; }
6893 if ${lt_cv_ar_at_file+:} false; then :
6894 $as_echo_n "(cached) " >&6
6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6908 if ac_fn_c_try_compile "$LINENO"; then :
6909 echo conftest.$ac_objext > conftest.lst
6910 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6911 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6912 (eval $lt_ar_try) 2>&5
6914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6915 test $ac_status = 0; }
6916 if test 0 -eq "$ac_status"; then
6917 # Ensure the archiver fails upon bogus file names.
6918 rm -f conftest.$ac_objext libconftest.a
6919 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6920 (eval $lt_ar_try) 2>&5
6922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6923 test $ac_status = 0; }
6924 if test 0 -ne "$ac_status"; then
6928 rm -f conftest.* libconftest.a
6931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6935 $as_echo "$lt_cv_ar_at_file" >&6; }
6937 if test no = "$lt_cv_ar_at_file"; then
6940 archiver_list_spec=$lt_cv_ar_at_file
6949 if test -n "$ac_tool_prefix"; then
6950 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6951 set dummy ${ac_tool_prefix}strip; ac_word=$2
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6953 $as_echo_n "checking for $ac_word... " >&6; }
6954 if ${ac_cv_prog_STRIP+:} false; then :
6955 $as_echo_n "(cached) " >&6
6957 if test -n "$STRIP"; then
6958 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6964 test -z "$as_dir" && as_dir=.
6965 for ac_exec_ext in '' $ac_executable_extensions; do
6966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6967 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977 STRIP=$ac_cv_prog_STRIP
6978 if test -n "$STRIP"; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6980 $as_echo "$STRIP" >&6; }
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6983 $as_echo "no" >&6; }
6988 if test -z "$ac_cv_prog_STRIP"; then
6990 # Extract the first word of "strip", so it can be a program name with args.
6991 set dummy strip; ac_word=$2
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6993 $as_echo_n "checking for $ac_word... " >&6; }
6994 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6995 $as_echo_n "(cached) " >&6
6997 if test -n "$ac_ct_STRIP"; then
6998 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 test -z "$as_dir" && as_dir=.
7005 for ac_exec_ext in '' $ac_executable_extensions; do
7006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7007 ac_cv_prog_ac_ct_STRIP="strip"
7008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7018 if test -n "$ac_ct_STRIP"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7020 $as_echo "$ac_ct_STRIP" >&6; }
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023 $as_echo "no" >&6; }
7026 if test "x$ac_ct_STRIP" = x; then
7029 case $cross_compiling:$ac_tool_warned in
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7033 ac_tool_warned=yes ;;
7038 STRIP="$ac_cv_prog_STRIP"
7041 test -z "$STRIP" && STRIP=:
7048 if test -n "$ac_tool_prefix"; then
7049 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7050 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7052 $as_echo_n "checking for $ac_word... " >&6; }
7053 if ${ac_cv_prog_RANLIB+:} false; then :
7054 $as_echo_n "(cached) " >&6
7056 if test -n "$RANLIB"; then
7057 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7063 test -z "$as_dir" && as_dir=.
7064 for ac_exec_ext in '' $ac_executable_extensions; do
7065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7066 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 RANLIB=$ac_cv_prog_RANLIB
7077 if test -n "$RANLIB"; then
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7079 $as_echo "$RANLIB" >&6; }
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 $as_echo "no" >&6; }
7087 if test -z "$ac_cv_prog_RANLIB"; then
7088 ac_ct_RANLIB=$RANLIB
7089 # Extract the first word of "ranlib", so it can be a program name with args.
7090 set dummy ranlib; ac_word=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 $as_echo_n "checking for $ac_word... " >&6; }
7093 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7094 $as_echo_n "(cached) " >&6
7096 if test -n "$ac_ct_RANLIB"; then
7097 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 test -z "$as_dir" && as_dir=.
7104 for ac_exec_ext in '' $ac_executable_extensions; do
7105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7106 ac_cv_prog_ac_ct_RANLIB="ranlib"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7117 if test -n "$ac_ct_RANLIB"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7119 $as_echo "$ac_ct_RANLIB" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 $as_echo "no" >&6; }
7125 if test "x$ac_ct_RANLIB" = x; then
7128 case $cross_compiling:$ac_tool_warned in
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7132 ac_tool_warned=yes ;;
7134 RANLIB=$ac_ct_RANLIB
7137 RANLIB="$ac_cv_prog_RANLIB"
7140 test -z "$RANLIB" && RANLIB=:
7147 # Determine commands to create old-style static archives.
7148 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7149 old_postinstall_cmds='chmod 644 $oldlib'
7150 old_postuninstall_cmds=
7152 if test -n "$RANLIB"; then
7155 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7158 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7161 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7166 lock_old_archive_extraction=yes ;;
7168 lock_old_archive_extraction=no ;;
7209 # If no C compiler was specified, use CC.
7212 # If no C compiler flags were specified, use CFLAGS.
7213 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7215 # Allow CC to be a program name with arguments.
7219 # Check for command to grab the raw symbol name followed by C symbol from nm.
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7221 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7222 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7223 $as_echo_n "(cached) " >&6
7226 # These are sane defaults that work on at least a few old systems.
7227 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7229 # Character class describing NM global symbol codes.
7230 symcode='[BCDEGRST]'
7232 # Regexp to match symbols that can be accessed directly from C.
7233 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7235 # Define system-specific variables.
7240 cygwin* | mingw* | pw32* | cegcc*)
7241 symcode='[ABCDGISTW]'
7244 if test ia64 = "$host_cpu"; then
7245 symcode='[ABCDEGRST]'
7249 symcode='[BCDEGRST]'
7252 symcode='[BCDEGQRST]'
7263 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7271 # If we're using GNU nm, then use its standard symbol codes.
7272 case `$NM -V 2>&1` in
7273 *GNU* | *'with BFD'*)
7274 symcode='[ABCDGIRSTW]' ;;
7277 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7278 # Gets list of data symbols to import.
7279 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7280 # Adjust the below global symbol transforms to fixup imported variables.
7281 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7282 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7283 lt_c_name_lib_hook="\
7284 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7285 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7287 # Disable hooks by default.
7288 lt_cv_sys_global_symbol_to_import=
7294 # Transform an extracted symbol line into a proper C declaration.
7295 # Some systems (esp. on ia64) link data and code symbols differently,
7296 # so use this general approach.
7297 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7299 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7300 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7302 # Transform an extracted symbol line into symbol name and symbol address
7303 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7305 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7306 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7308 # Transform an extracted symbol line into symbol name with lib prefix and
7310 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7311 $lt_c_name_lib_hook\
7312 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7313 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7314 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7316 # Handle CRLF in mingw tool chain
7320 opt_cr=`$ECHO 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
7324 # Try without a prefix underscore, then with it.
7325 for ac_symprfx in "" "_"; do
7327 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7328 symxfrm="\\1 $ac_symprfx\\2 \\2"
7330 # Write the raw and C identifiers.
7331 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7332 # Fake it for dumpbin and say T for any non-static function,
7333 # D for any global variable and I for any imported variable.
7334 # Also find C++ and __fastcall symbols from MSVC++,
7335 # which start with @ or ?.
7336 lt_cv_sys_global_symbol_pipe="$AWK '"\
7337 " {last_section=section; section=\$ 3};"\
7338 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7339 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7340 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7341 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7342 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7343 " \$ 0!~/External *\|/{next};"\
7344 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7345 " {if(hide[section]) next};"\
7346 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7347 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7348 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7349 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7350 " ' prfx=^$ac_symprfx"
7352 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7354 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7356 # Check to see that the pipe works correctly.
7360 cat > conftest.$ac_ext <<_LT_EOF
7365 void nm_test_func(void);
7366 void nm_test_func(void){}
7370 int main(){nm_test_var='a';nm_test_func();return(0);}
7373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7374 (eval $ac_compile) 2>&5
7376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7377 test $ac_status = 0; }; then
7378 # Now try to grab the symbols.
7380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7381 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7384 test $ac_status = 0; } && test -s "$nlist"; then
7385 # Try sorting and uniquifying the output.
7386 if sort "$nlist" | uniq > "$nlist"T; then
7387 mv -f "$nlist"T "$nlist"
7392 # Make sure that we snagged all the symbols we need.
7393 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7394 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7395 cat <<_LT_EOF > conftest.$ac_ext
7396 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7397 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7398 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7399 relocations are performed -- see ld's documentation on pseudo-relocs. */
7400 # define LT_DLSYM_CONST
7401 #elif defined __osf__
7402 /* This system does not cope well with relocations in const data. */
7403 # define LT_DLSYM_CONST
7405 # define LT_DLSYM_CONST const
7413 # Now generate the symbol file.
7414 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7416 cat <<_LT_EOF >> conftest.$ac_ext
7418 /* The mapping between symbol names and symbols. */
7419 LT_DLSYM_CONST struct {
7423 lt__PROGRAM__LTX_preloaded_symbols[] =
7425 { "@PROGRAM@", (void *) 0 },
7427 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7428 cat <<\_LT_EOF >> conftest.$ac_ext
7432 /* This works around a problem in FreeBSD linker */
7433 #ifdef FREEBSD_WORKAROUND
7434 static const void *lt_preloaded_setup() {
7435 return lt__PROGRAM__LTX_preloaded_symbols;
7443 # Now try linking the two files.
7444 mv conftest.$ac_objext conftstm.$ac_objext
7445 lt_globsym_save_LIBS=$LIBS
7446 lt_globsym_save_CFLAGS=$CFLAGS
7447 LIBS=conftstm.$ac_objext
7448 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7449 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7450 (eval $ac_link) 2>&5
7452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7453 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7456 LIBS=$lt_globsym_save_LIBS
7457 CFLAGS=$lt_globsym_save_CFLAGS
7459 echo "cannot find nm_test_func in $nlist" >&5
7462 echo "cannot find nm_test_var in $nlist" >&5
7465 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7468 echo "$progname: failed program was:" >&5
7469 cat conftest.$ac_ext >&5
7471 rm -rf conftest* conftst*
7473 # Do not use the global_symbol_pipe unless it works.
7474 if test yes = "$pipe_works"; then
7477 lt_cv_sys_global_symbol_pipe=
7483 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7484 lt_cv_sys_global_symbol_to_cdecl=
7486 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7488 $as_echo "failed" >&6; }
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7491 $as_echo "ok" >&6; }
7494 # Response file support.
7495 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7496 nm_file_list_spec='@'
7497 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7498 nm_file_list_spec='@'
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7538 $as_echo_n "checking for sysroot... " >&6; }
7540 # Check whether --with-sysroot was given.
7541 if test "${with_sysroot+set}" = set; then :
7542 withval=$with_sysroot;
7549 case $with_sysroot in #(
7551 if test yes = "$GCC"; then
7552 lt_sysroot=`$CC --print-sysroot 2>/dev
/null
`
7556 lt_sysroot=`echo "$with_sysroot" |
sed -e "$sed_quote_subst"`
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7562 $as_echo "$with_sysroot" >&6; }
7563 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7568 $as_echo "${lt_sysroot:-no}" >&6; }
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7575 $as_echo_n "checking for a working dd... " >&6; }
7576 if ${ac_cv_path_lt_DD+:} false; then :
7577 $as_echo_n "(cached) " >&6
7579 printf 0123456789abcdef0123456789abcdef >conftest.i
7580 cat conftest.i conftest.i >conftest2.i
7582 if test -z "$lt_DD"; then
7583 ac_path_lt_DD_found=false
7584 # Loop through the user's path and test for each of PROGNAME-LIST
7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 test -z "$as_dir" && as_dir=.
7590 for ac_prog in dd; do
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7593 as_fn_executable_p "$ac_path_lt_DD" || continue
7594 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7595 cmp -s conftest.i conftest.out \
7596 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7598 $ac_path_lt_DD_found && break 3
7603 if test -z "$ac_cv_path_lt_DD"; then
7607 ac_cv_path_lt_DD=$lt_DD
7610 rm -f conftest.i conftest2.i conftest.out
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7613 $as_echo "$ac_cv_path_lt_DD" >&6; }
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7617 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7618 if ${lt_cv_truncate_bin+:} false; then :
7619 $as_echo_n "(cached) " >&6
7621 printf 0123456789abcdef0123456789abcdef >conftest.i
7622 cat conftest.i conftest.i >conftest2.i
7624 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7625 cmp -s conftest.i conftest.out \
7626 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7628 rm -f conftest.i conftest2.i conftest.out
7629 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7632 $as_echo "$lt_cv_truncate_bin" >&6; }
7640 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7643 for cc_temp in $*""; do
7645 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7646 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7651 func_cc_basename_result=`$ECHO "$cc_temp" |
$SED "s%.*/%%; s%^$host_alias-%%"`
7654 # Check whether --enable-libtool-lock was given.
7655 if test "${enable_libtool_lock+set}" = set; then :
7656 enableval=$enable_libtool_lock;
7659 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7661 # Some flags need to be propagated to the compiler or linker for good
7665 # Find out what ABI is being produced by ac_compile, and set mode
7666 # options accordingly.
7667 echo 'int i;' > conftest.$ac_ext
7668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7669 (eval $ac_compile) 2>&5
7671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7672 test $ac_status = 0; }; then
7673 case `/usr
/bin
/file conftest.
$ac_objext` in
7685 # Find out what ABI is being produced by ac_compile, and set linker
7686 # options accordingly.
7687 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7688 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7689 (eval $ac_compile) 2>&5
7691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7692 test $ac_status = 0; }; then
7693 if test yes = "$lt_cv_prog_gnu_ld"; then
7694 case `/usr
/bin
/file conftest.
$ac_objext` in
7696 LD="${LD-ld} -melf32bsmip"
7699 LD="${LD-ld} -melf32bmipn32"
7702 LD="${LD-ld} -melf64bmip"
7706 case `/usr
/bin
/file conftest.
$ac_objext` in
7723 # Find out what ABI is being produced by ac_compile, and set linker
7724 # options accordingly.
7725 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7726 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7727 (eval $ac_compile) 2>&5
7729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7730 test $ac_status = 0; }; then
7732 case `/usr
/bin
/file conftest.
$ac_objext` in
7740 case `/usr
/bin
/file conftest.
$ac_objext` in
7742 emul="${emul}btsmip"
7745 emul="${emul}ltsmip"
7748 case `/usr
/bin
/file conftest.
$ac_objext` in
7753 LD="${LD-ld} -m $emul"
7758 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7759 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7760 # Find out what ABI is being produced by ac_compile, and set linker
7761 # options accordingly. Note that the listed cases only cover the
7762 # situations where additional linker options are needed (such as when
7763 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7764 # vice versa); the common cases where no linker options are needed do
7765 # not appear in the list.
7766 echo 'int i;' > conftest.$ac_ext
7767 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7768 (eval $ac_compile) 2>&5
7770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7771 test $ac_status = 0; }; then
7772 case `/usr
/bin
/file conftest.o
` in
7775 x86_64-*kfreebsd*-gnu)
7776 LD="${LD-ld} -m elf_i386_fbsd"
7779 case `/usr
/bin
/file conftest.o
` in
7781 LD="${LD-ld} -m elf32_x86_64"
7784 LD="${LD-ld} -m elf_i386"
7788 powerpc64le-*linux*)
7789 LD="${LD-ld} -m elf32lppclinux"
7792 LD="${LD-ld} -m elf32ppclinux"
7795 LD="${LD-ld} -m elf_s390"
7798 LD="${LD-ld} -m elf32_sparc"
7804 x86_64-*kfreebsd*-gnu)
7805 LD="${LD-ld} -m elf_x86_64_fbsd"
7808 LD="${LD-ld} -m elf_x86_64"
7811 LD="${LD-ld} -m elf64lppc"
7814 LD="${LD-ld} -m elf64ppc"
7816 s390*-*linux*|s390*-*tpf*)
7817 LD="${LD-ld} -m elf64_s390"
7820 LD="${LD-ld} -m elf64_sparc"
7830 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7832 CFLAGS="$CFLAGS -belf"
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7834 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7835 if ${lt_cv_cc_needs_belf+:} false; then :
7836 $as_echo_n "(cached) " >&6
7839 ac_cpp='$CPP $CPPFLAGS'
7840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7845 /* end confdefs.h. */
7855 if ac_fn_c_try_link "$LINENO"; then :
7856 lt_cv_cc_needs_belf=yes
7858 lt_cv_cc_needs_belf=no
7860 rm -f core conftest.err conftest.$ac_objext \
7861 conftest$ac_exeext conftest.$ac_ext
7863 ac_cpp='$CPP $CPPFLAGS'
7864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7870 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7871 if test yes != "$lt_cv_cc_needs_belf"; then
7872 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7877 # Find out what ABI is being produced by ac_compile, and set linker
7878 # options accordingly.
7879 echo 'int i;' > conftest.$ac_ext
7880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7881 (eval $ac_compile) 2>&5
7883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7884 test $ac_status = 0; }; then
7885 case `/usr
/bin
/file conftest.o
` in
7887 case $lt_cv_prog_gnu_ld in
7890 i?86-*-solaris*|x86_64-*-solaris*)
7891 LD="${LD-ld} -m elf_x86_64"
7894 LD="${LD-ld} -m elf64_sparc"
7897 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7898 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7903 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7915 need_locks=$enable_libtool_lock
7917 if test -n "$ac_tool_prefix"; then
7918 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7919 set dummy ${ac_tool_prefix}mt; ac_word=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 $as_echo_n "checking for $ac_word... " >&6; }
7922 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7923 $as_echo_n "(cached) " >&6
7925 if test -n "$MANIFEST_TOOL"; then
7926 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932 test -z "$as_dir" && as_dir=.
7933 for ac_exec_ext in '' $ac_executable_extensions; do
7934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7935 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7945 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7946 if test -n "$MANIFEST_TOOL"; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7948 $as_echo "$MANIFEST_TOOL" >&6; }
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7951 $as_echo "no" >&6; }
7956 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7957 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7958 # Extract the first word of "mt", so it can be a program name with args.
7959 set dummy mt; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7963 $as_echo_n "(cached) " >&6
7965 if test -n "$ac_ct_MANIFEST_TOOL"; then
7966 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7986 if test -n "$ac_ct_MANIFEST_TOOL"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7988 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7994 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7997 case $cross_compiling:$ac_tool_warned in
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8001 ac_tool_warned=yes ;;
8003 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8006 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8009 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8011 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8012 if ${lt_cv_path_mainfest_tool+:} false; then :
8013 $as_echo_n "(cached) " >&6
8015 lt_cv_path_mainfest_tool=no
8016 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8017 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8018 cat conftest.err >&5
8019 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8020 lt_cv_path_mainfest_tool=yes
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8025 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8026 if test yes != "$lt_cv_path_mainfest_tool"; then
8036 rhapsody* | darwin*)
8037 if test -n "$ac_tool_prefix"; then
8038 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8039 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8041 $as_echo_n "checking for $ac_word... " >&6; }
8042 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8043 $as_echo_n "(cached) " >&6
8045 if test -n "$DSYMUTIL"; then
8046 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052 test -z "$as_dir" && as_dir=.
8053 for ac_exec_ext in '' $ac_executable_extensions; do
8054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8055 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8066 if test -n "$DSYMUTIL"; then
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8068 $as_echo "$DSYMUTIL" >&6; }
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8071 $as_echo "no" >&6; }
8076 if test -z "$ac_cv_prog_DSYMUTIL"; then
8077 ac_ct_DSYMUTIL=$DSYMUTIL
8078 # Extract the first word of "dsymutil", so it can be a program name with args.
8079 set dummy dsymutil; ac_word=$2
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8081 $as_echo_n "checking for $ac_word... " >&6; }
8082 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8083 $as_echo_n "(cached) " >&6
8085 if test -n "$ac_ct_DSYMUTIL"; then
8086 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8092 test -z "$as_dir" && as_dir=.
8093 for ac_exec_ext in '' $ac_executable_extensions; do
8094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8095 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8105 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8106 if test -n "$ac_ct_DSYMUTIL"; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8108 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111 $as_echo "no" >&6; }
8114 if test "x$ac_ct_DSYMUTIL" = x; then
8117 case $cross_compiling:$ac_tool_warned in
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8121 ac_tool_warned=yes ;;
8123 DSYMUTIL=$ac_ct_DSYMUTIL
8126 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8129 if test -n "$ac_tool_prefix"; then
8130 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8131 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8133 $as_echo_n "checking for $ac_word... " >&6; }
8134 if ${ac_cv_prog_NMEDIT+:} false; then :
8135 $as_echo_n "(cached) " >&6
8137 if test -n "$NMEDIT"; then
8138 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8147 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8157 NMEDIT=$ac_cv_prog_NMEDIT
8158 if test -n "$NMEDIT"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8160 $as_echo "$NMEDIT" >&6; }
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8163 $as_echo "no" >&6; }
8168 if test -z "$ac_cv_prog_NMEDIT"; then
8169 ac_ct_NMEDIT=$NMEDIT
8170 # Extract the first word of "nmedit", so it can be a program name with args.
8171 set dummy nmedit; ac_word=$2
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8173 $as_echo_n "checking for $ac_word... " >&6; }
8174 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8175 $as_echo_n "(cached) " >&6
8177 if test -n "$ac_ct_NMEDIT"; then
8178 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184 test -z "$as_dir" && as_dir=.
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8187 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8197 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8198 if test -n "$ac_ct_NMEDIT"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8200 $as_echo "$ac_ct_NMEDIT" >&6; }
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8206 if test "x$ac_ct_NMEDIT" = x; then
8209 case $cross_compiling:$ac_tool_warned in
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8213 ac_tool_warned=yes ;;
8215 NMEDIT=$ac_ct_NMEDIT
8218 NMEDIT="$ac_cv_prog_NMEDIT"
8221 if test -n "$ac_tool_prefix"; then
8222 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8223 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8225 $as_echo_n "checking for $ac_word... " >&6; }
8226 if ${ac_cv_prog_LIPO+:} false; then :
8227 $as_echo_n "(cached) " >&6
8229 if test -n "$LIPO"; then
8230 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 test -z "$as_dir" && as_dir=.
8237 for ac_exec_ext in '' $ac_executable_extensions; do
8238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8239 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 LIPO=$ac_cv_prog_LIPO
8250 if test -n "$LIPO"; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8252 $as_echo "$LIPO" >&6; }
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8255 $as_echo "no" >&6; }
8260 if test -z "$ac_cv_prog_LIPO"; then
8262 # Extract the first word of "lipo", so it can be a program name with args.
8263 set dummy lipo; ac_word=$2
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8265 $as_echo_n "checking for $ac_word... " >&6; }
8266 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8267 $as_echo_n "(cached) " >&6
8269 if test -n "$ac_ct_LIPO"; then
8270 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 test -z "$as_dir" && as_dir=.
8277 for ac_exec_ext in '' $ac_executable_extensions; do
8278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8279 ac_cv_prog_ac_ct_LIPO="lipo"
8280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8289 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8290 if test -n "$ac_ct_LIPO"; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8292 $as_echo "$ac_ct_LIPO" >&6; }
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8295 $as_echo "no" >&6; }
8298 if test "x$ac_ct_LIPO" = x; then
8301 case $cross_compiling:$ac_tool_warned in
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8305 ac_tool_warned=yes ;;
8310 LIPO="$ac_cv_prog_LIPO"
8313 if test -n "$ac_tool_prefix"; then
8314 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8315 set dummy ${ac_tool_prefix}otool; ac_word=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8317 $as_echo_n "checking for $ac_word... " >&6; }
8318 if ${ac_cv_prog_OTOOL+:} false; then :
8319 $as_echo_n "(cached) " >&6
8321 if test -n "$OTOOL"; then
8322 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 test -z "$as_dir" && as_dir=.
8329 for ac_exec_ext in '' $ac_executable_extensions; do
8330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8331 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8341 OTOOL=$ac_cv_prog_OTOOL
8342 if test -n "$OTOOL"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8344 $as_echo "$OTOOL" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8347 $as_echo "no" >&6; }
8352 if test -z "$ac_cv_prog_OTOOL"; then
8354 # Extract the first word of "otool", so it can be a program name with args.
8355 set dummy otool; ac_word=$2
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8357 $as_echo_n "checking for $ac_word... " >&6; }
8358 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8359 $as_echo_n "(cached) " >&6
8361 if test -n "$ac_ct_OTOOL"; then
8362 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8368 test -z "$as_dir" && as_dir=.
8369 for ac_exec_ext in '' $ac_executable_extensions; do
8370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8371 ac_cv_prog_ac_ct_OTOOL="otool"
8372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8381 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8382 if test -n "$ac_ct_OTOOL"; then
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8384 $as_echo "$ac_ct_OTOOL" >&6; }
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387 $as_echo "no" >&6; }
8390 if test "x$ac_ct_OTOOL" = x; then
8393 case $cross_compiling:$ac_tool_warned in
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8397 ac_tool_warned=yes ;;
8402 OTOOL="$ac_cv_prog_OTOOL"
8405 if test -n "$ac_tool_prefix"; then
8406 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8407 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8409 $as_echo_n "checking for $ac_word... " >&6; }
8410 if ${ac_cv_prog_OTOOL64+:} false; then :
8411 $as_echo_n "(cached) " >&6
8413 if test -n "$OTOOL64"; then
8414 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420 test -z "$as_dir" && as_dir=.
8421 for ac_exec_ext in '' $ac_executable_extensions; do
8422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8423 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433 OTOOL64=$ac_cv_prog_OTOOL64
8434 if test -n "$OTOOL64"; then
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8436 $as_echo "$OTOOL64" >&6; }
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8439 $as_echo "no" >&6; }
8444 if test -z "$ac_cv_prog_OTOOL64"; then
8445 ac_ct_OTOOL64=$OTOOL64
8446 # Extract the first word of "otool64", so it can be a program name with args.
8447 set dummy otool64; ac_word=$2
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8449 $as_echo_n "checking for $ac_word... " >&6; }
8450 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8451 $as_echo_n "(cached) " >&6
8453 if test -n "$ac_ct_OTOOL64"; then
8454 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8460 test -z "$as_dir" && as_dir=.
8461 for ac_exec_ext in '' $ac_executable_extensions; do
8462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8463 ac_cv_prog_ac_ct_OTOOL64="otool64"
8464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8473 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8474 if test -n "$ac_ct_OTOOL64"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8476 $as_echo "$ac_ct_OTOOL64" >&6; }
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8479 $as_echo "no" >&6; }
8482 if test "x$ac_ct_OTOOL64" = x; then
8485 case $cross_compiling:$ac_tool_warned in
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8489 ac_tool_warned=yes ;;
8491 OTOOL64=$ac_ct_OTOOL64
8494 OTOOL64="$ac_cv_prog_OTOOL64"
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8524 $as_echo_n "checking for -single_module linker flag... " >&6; }
8525 if ${lt_cv_apple_cc_single_mod+:} false; then :
8526 $as_echo_n "(cached) " >&6
8528 lt_cv_apple_cc_single_mod=no
8529 if test -z "$LT_MULTI_MODULE"; then
8530 # By default we will add the -single_module flag. You can override
8531 # by either setting the environment variable LT_MULTI_MODULE
8532 # non-empty at configure time, or by adding -multi_module to the
8534 rm -rf libconftest.dylib*
8535 echo "int foo(void){return 1;}" > conftest.c
8536 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8537 -dynamiclib -Wl,-single_module conftest.c" >&5
8538 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8539 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8541 # If there is a non-empty error log, and "single_module"
8542 # appears in it, assume the flag caused a linker warning
8543 if test -s conftest.err && $GREP single_module conftest.err; then
8544 cat conftest.err >&5
8545 # Otherwise, if the output was created with a 0 exit code from
8546 # the compiler, it worked.
8547 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8548 lt_cv_apple_cc_single_mod=yes
8550 cat conftest.err >&5
8552 rm -rf libconftest.dylib*
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8557 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8560 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8561 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8562 $as_echo_n "(cached) " >&6
8564 lt_cv_ld_exported_symbols_list=no
8565 save_LDFLAGS=$LDFLAGS
8566 echo "_main" > conftest.sym
8567 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8579 if ac_fn_c_try_link "$LINENO"; then :
8580 lt_cv_ld_exported_symbols_list=yes
8582 lt_cv_ld_exported_symbols_list=no
8584 rm -f core conftest.err conftest.$ac_objext \
8585 conftest$ac_exeext conftest.$ac_ext
8586 LDFLAGS=$save_LDFLAGS
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8590 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8593 $as_echo_n "checking for -force_load linker flag... " >&6; }
8594 if ${lt_cv_ld_force_load+:} false; then :
8595 $as_echo_n "(cached) " >&6
8597 lt_cv_ld_force_load=no
8598 cat > conftest.c << _LT_EOF
8599 int forced_loaded() { return 2;}
8601 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8602 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8603 echo "$AR cru libconftest.a conftest.o" >&5
8604 $AR cru libconftest.a conftest.o 2>&5
8605 echo "$RANLIB libconftest.a" >&5
8606 $RANLIB libconftest.a 2>&5
8607 cat > conftest.c << _LT_EOF
8608 int main() { return 0;}
8610 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8611 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8613 if test -s conftest.err && $GREP force_load conftest.err; then
8614 cat conftest.err >&5
8615 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8616 lt_cv_ld_force_load=yes
8618 cat conftest.err >&5
8620 rm -f conftest.err libconftest.a conftest conftest.c
8621 rm -rf conftest.dSYM
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8625 $as_echo "$lt_cv_ld_force_load" >&6; }
8627 rhapsody* | darwin1.[012])
8628 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8630 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8631 darwin*) # darwin 5.x on
8632 # if running on 10.5 or later, the deployment target defaults
8633 # to the OS version, if on x86, and 10.4, the deployment
8634 # target defaults to 10.4. Don't you love it?
8635 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8636 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8637 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8639 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8641 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8645 if test yes = "$lt_cv_apple_cc_single_mod"; then
8646 _lt_dar_single_mod='$single_module'
8648 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8649 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8651 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8653 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8654 _lt_dsymutil='~$DSYMUTIL $lib || :'
8661 # func_munge_path_list VARIABLE PATH
8662 # -----------------------------------
8663 # VARIABLE is name of variable containing _space_ separated list of
8664 # directories to be munged by the contents of PATH, which is string
8667 # string "DIR[ DIR]" will be prepended to VARIABLE
8669 # string "DIR[ DIR]" will be appended to VARIABLE
8670 # "DIRP[:DIRP]::[DIRA:]DIRA"
8671 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8672 # "DIRA[ DIRA]" will be appended to VARIABLE
8674 # VARIABLE will be replaced by "DIR[ DIR]"
8675 func_munge_path_list ()
8681 eval $1=\"`$ECHO $2 |
$SED 's/:/ /g'` \S|@1\"
8684 eval $1=\"\$$1 `$ECHO $2 |
$SED 's/:/ /g'`\"
8687 eval $1=\"\$$1\ `$ECHO $2 |
$SED -e 's/.*:://' -e 's/:/ /g'`\"
8688 eval $1=\"`$ECHO $2 |
$SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8691 eval $1=\"`$ECHO $2 |
$SED 's/:/ /g'`\"
8697 ac_cpp='$CPP $CPPFLAGS'
8698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8702 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8703 # On Suns, sometimes $CPP names a directory.
8704 if test -n "$CPP" && test -d "$CPP"; then
8707 if test -z "$CPP"; then
8708 if ${ac_cv_prog_CPP+:} false; then :
8709 $as_echo_n "(cached) " >&6
8711 # Double quotes because CPP needs to be expanded
8712 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8715 for ac_c_preproc_warn_flag in '' yes
8717 # Use a header file that comes with gcc, so configuring glibc
8718 # with a fresh cross-compiler works.
8719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8720 # <limits.h> exists even on freestanding compilers.
8721 # On the NeXT, cc -E runs the code through the compiler's parser,
8722 # not just through cpp. "Syntax error" is here to catch this case.
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8726 # include <limits.h>
8728 # include <assert.h>
8732 if ac_fn_c_try_cpp "$LINENO"; then :
8735 # Broken: fails on valid input.
8738 rm -f conftest.err conftest.i conftest.$ac_ext
8740 # OK, works on sane cases. Now check whether nonexistent headers
8741 # can be detected and how.
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 #include <ac_nonexistent.h>
8746 if ac_fn_c_try_cpp "$LINENO"; then :
8747 # Broken: success on invalid input.
8750 # Passes both tests.
8754 rm -f conftest.err conftest.i conftest.$ac_ext
8757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8758 rm -f conftest.i conftest.err conftest.
$ac_ext
8759 if $ac_preproc_ok; then :
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8772 $as_echo "$CPP" >&6; }
8774 for ac_c_preproc_warn_flag
in '' yes
8776 # Use a header file that comes with gcc, so configuring glibc
8777 # with a fresh cross-compiler works.
8778 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8779 # <limits.h> exists even on freestanding compilers.
8780 # On the NeXT, cc -E runs the code through the compiler's parser,
8781 # not just through cpp. "Syntax error" is here to catch this case.
8782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8783 /* end confdefs.h. */
8785 # include <limits.h>
8787 # include <assert.h>
8791 if ac_fn_c_try_cpp
"$LINENO"; then :
8794 # Broken: fails on valid input.
8797 rm -f conftest.err conftest.i conftest.
$ac_ext
8799 # OK, works on sane cases. Now check whether nonexistent headers
8800 # can be detected and how.
8801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8803 #include <ac_nonexistent.h>
8805 if ac_fn_c_try_cpp
"$LINENO"; then :
8806 # Broken: success on invalid input.
8809 # Passes both tests.
8813 rm -f conftest.err conftest.i conftest.
$ac_ext
8816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8817 rm -f conftest.i conftest.err conftest.
$ac_ext
8818 if $ac_preproc_ok; then :
8821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8823 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
8824 See \`config.log' for more details" "$LINENO" 5; }
8828 ac_cpp
='$CPP $CPPFLAGS'
8829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8835 $as_echo_n "checking for ANSI C header files... " >&6; }
8836 if ${ac_cv_header_stdc+:} false
; then :
8837 $as_echo_n "(cached) " >&6
8839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8854 if ac_fn_c_try_compile
"$LINENO"; then :
8855 ac_cv_header_stdc
=yes
8857 ac_cv_header_stdc
=no
8859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8861 if test $ac_cv_header_stdc = yes; then
8862 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8864 /* end confdefs.h. */
8868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8869 $EGREP "memchr" >/dev
/null
2>&1; then :
8872 ac_cv_header_stdc
=no
8878 if test $ac_cv_header_stdc = yes; then
8879 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8886 $EGREP "free" >/dev
/null
2>&1; then :
8889 ac_cv_header_stdc
=no
8895 if test $ac_cv_header_stdc = yes; then
8896 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8897 if test "$cross_compiling" = yes; then :
8900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8901 /* end confdefs.h. */
8904 #if ((' ' & 0x0FF) == 0x020)
8905 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8906 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8908 # define ISLOWER(c) \
8909 (('a' <= (c) && (c) <= 'i') \
8910 || ('j' <= (c) && (c) <= 'r') \
8911 || ('s' <= (c) && (c) <= 'z'))
8912 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8915 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8920 for (i = 0; i < 256; i++)
8921 if (XOR (islower (i), ISLOWER (i))
8922 || toupper (i) != TOUPPER (i))
8927 if ac_fn_c_try_run
"$LINENO"; then :
8930 ac_cv_header_stdc
=no
8932 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8933 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8939 $as_echo "$ac_cv_header_stdc" >&6; }
8940 if test $ac_cv_header_stdc = yes; then
8942 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8946 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8947 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8948 inttypes.h stdint.h unistd.h
8950 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8951 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8953 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8954 cat >>confdefs.h
<<_ACEOF
8955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8963 for ac_header
in dlfcn.h
8965 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8967 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8968 cat >>confdefs.h
<<_ACEOF
8969 #define HAVE_DLFCN_H 1
8977 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8978 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8979 # is not polluted with repeated "-I."
8980 am__isrc
=' -I$(srcdir)'
8981 # test to see if srcdir already configured
8982 if test -f $srcdir/config.status
; then
8983 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8987 # test whether we have cygpath
8988 if test -z "$CYGPATH_W"; then
8989 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
8990 CYGPATH_W
='cygpath -w'
8997 # Define the identity of the package.
8999 VERSION
='2014-11-24'
9002 cat >>confdefs.h
<<_ACEOF
9003 #define PACKAGE "$PACKAGE"
9007 cat >>confdefs.h
<<_ACEOF
9008 #define VERSION "$VERSION"
9011 # Some tools Automake needs.
9013 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9016 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
9019 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9022 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
9025 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
9027 # For better backward compatibility. To be removed once Automake 1.9.x
9028 # dies out for good. For more background, see:
9029 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9030 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9031 mkdir_p
='$(MKDIR_P)'
9033 # We need awk for the "check" target (and possibly the TAP driver). The
9034 # system "awk" is bad on some platforms.
9035 # Always define AMTAR for backward compatibility. Yes, it's still used
9036 # in the wild :-( We should find a proper way to deprecate it ...
9040 # We'll loop over all known methods to create a tar archive until one works.
9041 _am_tools
='gnutar pax cpio none'
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
9046 $as_echo_n "checking how to create a pax tar archive... " >&6; }
9048 # Go ahead even if we have the value already cached. We do so because we
9049 # need to set the values for the 'am__tar' and 'am__untar' variables.
9050 _am_tools
=${am_cv_prog_tar_pax-$_am_tools}
9052 for _am_tool
in $_am_tools; do
9055 for _am_tar
in tar gnutar gtar
; do
9056 { echo "$as_me:$LINENO: $_am_tar --version" >&5
9057 ($_am_tar --version) >&5 2>&5
9059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060 (exit $ac_status); } && break
9062 am__tar
="$_am_tar --format=posix -chf - "'"$$tardir"'
9063 am__tar_
="$_am_tar --format=posix -chf - "'"$tardir"'
9064 am__untar
="$_am_tar -xf -"
9067 # Must skip GNU tar: if it does not support --format= it doesn't create
9068 # ustar tarball either.
9069 (tar --version) >/dev
/null
2>&1 && continue
9070 am__tar
='tar chf - "$$tardir"'
9071 am__tar_
='tar chf - "$tardir"'
9072 am__untar
='tar xf -'
9075 am__tar
='pax -L -x pax -w "$$tardir"'
9076 am__tar_
='pax -L -x pax -w "$tardir"'
9080 am__tar
='find "$$tardir" -print | cpio -o -H pax -L'
9081 am__tar_
='find "$tardir" -print | cpio -o -H pax -L'
9082 am__untar
='cpio -i -H pax -d'
9091 # If the value was cached, stop now. We just wanted to have am__tar
9092 # and am__untar set.
9093 test -n "${am_cv_prog_tar_pax}" && break
9095 # tar/untar a dummy directory, and stop if the command works.
9098 echo GrepMe
> conftest.dir
/file
9099 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
9100 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); }
9105 if test -s conftest.
tar; then
9106 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
9107 ($am__untar <conftest.
tar) >&5 2>&5
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); }
9111 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
9112 (cat conftest.dir
/file) >&5 2>&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); }
9116 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
9121 if ${am_cv_prog_tar_pax+:} false
; then :
9122 $as_echo_n "(cached) " >&6
9124 am_cv_prog_tar_pax
=$_am_tool
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
9128 $as_echo "$am_cv_prog_tar_pax" >&6; }
9134 depcc
="$CC" am_compiler_list
=
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
9137 $as_echo_n "checking dependency style of $depcc... " >&6; }
9138 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
9139 $as_echo_n "(cached) " >&6
9141 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9142 # We make a subdir and do the tests there. Otherwise we can end up
9143 # making bogus files that we don't know about and never remove. For
9144 # instance it was reported that on HP-UX the gcc test will end up
9145 # making a dummy file named 'D' -- because '-MD' means "put the output
9149 # Copy depcomp to subdir because otherwise we won't find it if we're
9150 # using a relative directory.
9151 cp "$am_depcomp" conftest.dir
9153 # We will build objects and dependencies in a subdirectory because
9154 # it helps to detect inapplicable dependency modes. For instance
9155 # both Tru64's cc and ICC support -MD to output dependencies as a
9156 # side effect of compilation, but ICC will put the dependencies in
9157 # the current directory while Tru64 will put them in the object
9161 am_cv_CC_dependencies_compiler_type
=none
9162 if test "$am_compiler_list" = ""; then
9163 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9166 case " $depcc " in #(
9167 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
9170 for depmode
in $am_compiler_list; do
9171 # Setup a source with many dependencies, because some compilers
9172 # like to wrap large dependency lists on column 80 (with \), and
9173 # we should not choose a depcomp mode which is confused by this.
9175 # We need to recreate these files for each test, as the compiler may
9176 # overwrite some of them when testing with obscure command lines.
9177 # This happens at least with the AIX C compiler.
9179 for i
in 1 2 3 4 5 6; do
9180 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
9181 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
9182 # Solaris 10 /bin/sh.
9183 echo '/* dummy */' > sub
/conftst
$i.h
9185 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9187 # We check with '-c' and '-o' for the sake of the "dashmstdout"
9188 # mode. It turns out that the SunPro C++ compiler does not properly
9189 # handle '-M -o', and we need to detect this. Also, some Intel
9190 # versions had trouble with output in subdirs.
9191 am__obj
=sub
/conftest.
${OBJEXT-o}
9192 am__minus_obj
="-o $am__obj"
9195 # This depmode causes a compiler race in universal mode.
9196 test "$am__universal" = false ||
continue
9199 # After this tag, mechanisms are not by side-effect, so they'll
9200 # only be used when explicitly requested.
9201 if test "x$enable_dependency_tracking" = xyes
; then
9207 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
9208 # This compiler won't grok '-c -o', but also, the minuso test has
9209 # not run yet. These depmodes are late enough in the game, and
9210 # so weak that their functioning should not be impacted.
9211 am__obj
=conftest.
${OBJEXT-o}
9216 if depmode
=$depmode \
9217 source=sub
/conftest.c object
=$am__obj \
9218 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
9219 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
9220 >/dev
/null
2>conftest.err
&&
9221 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
9222 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
9223 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
9224 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
9225 # icc doesn't choke on unknown options, it will just issue warnings
9226 # or remarks (even with -Werror). So we grep stderr for any message
9227 # that says an option was ignored or not supported.
9228 # When given -MP, icc 7.0 and 7.1 complain thusly:
9229 # icc: Command line warning: ignoring option '-M'; no argument required
9230 # The diagnosis changed in icc 8.0:
9231 # icc: Command line remark: option '-MP' not supported
9232 if (grep 'ignoring option' conftest.err ||
9233 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
9234 am_cv_CC_dependencies_compiler_type
=$depmode
9243 am_cv_CC_dependencies_compiler_type
=none
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
9248 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
9249 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
9252 test "x$enable_dependency_tracking" != xno \
9253 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
9255 am__fastdepCC_FALSE
='#'
9257 am__fastdepCC_TRUE
='#'
9258 am__fastdepCC_FALSE
=
9263 # POSIX will say in a future version that running "rm -f" with no argument
9264 # is OK; and we want to be able to make that assumption in our Makefile
9265 # recipes. So use an aggressive probe to check that the usage we want is
9266 # actually supported "in the wild" to an acceptable degree.
9267 # See automake bug#10828.
9268 # To make any issue more visible, cause the running configure to be aborted
9269 # by default if the 'rm' program in use doesn't match our expectations; the
9270 # user can still override this though.
9271 if rm -f && rm -fr && rm -rf; then : OK
; else
9275 Your 'rm' program seems unable to run without file operands specified
9276 on the command line, even when the '-f' option is present. This is contrary
9277 to the behaviour of most rm programs out there, and not conforming with
9278 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
9280 Please tell bug-automake@gnu.org about your system, including the value
9281 of your $PATH and any error possibly output before this message. This
9282 can help us improve future automake versions.
9285 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
9286 echo 'Configuration will proceed anyway, since you have set the' >&2
9287 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
9291 Aborting the configuration process, to ensure you take notice of the issue.
9293 You can download and install GNU coreutils to get an 'rm' implementation
9294 that behaves properly: <http://www.gnu.org/software/coreutils/>.
9296 If you want to complete the configuration process using your problematic
9297 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
9298 to "yes", and re-run configure.
9301 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9307 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9308 # Check whether --enable-maintainer-mode was given.
9309 if test "${enable_maintainer_mode+set}" = set; then :
9310 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
9312 USE_MAINTAINER_MODE
=no
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9316 $as_echo "$USE_MAINTAINER_MODE" >&6; }
9317 if test $USE_MAINTAINER_MODE = yes; then
9318 MAINTAINER_MODE_TRUE
=
9319 MAINTAINER_MODE_FALSE
='#'
9321 MAINTAINER_MODE_TRUE
='#'
9322 MAINTAINER_MODE_FALSE
=
9325 MAINT
=$MAINTAINER_MODE_TRUE
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
9329 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
9330 if ${kb_cv_c_prototypes+:} false
; then :
9331 $as_echo_n "(cached) " >&6
9333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9334 /* end confdefs.h. */
9339 extern void foo(int i,...);
9344 if ac_fn_c_try_link
"$LINENO"; then :
9345 kb_cv_c_prototypes
=yes
9347 kb_cv_c_prototypes
=no
9349 rm -f core conftest.err conftest.
$ac_objext \
9350 conftest
$ac_exeext conftest.
$ac_ext
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
9353 $as_echo "$kb_cv_c_prototypes" >&6; }
9354 if test "x$kb_cv_c_prototypes" = xno
; then
9355 as_fn_error $?
"Sorry, your compiler does not understand prototypes." "$LINENO" 5
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
9358 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
9359 if ${kpse_cv_warning_cflags+:} false
; then :
9360 $as_echo_n "(cached) " >&6
9362 if test "x$GCC" = xyes
; then
9363 kpse_cv_warning_cflags
=
9364 if test "x$enable_compiler_warnings" != xno
; then
9365 kpse_cv_warning_cflags
="-Wimplicit -Wreturn-type"
9366 case `$CC -dumpversion` in #(
9368 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
9372 case `$CC -dumpversion` in #(
9374 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
9378 if test "x$enable_compiler_warnings" != xmin
; then
9379 kpse_cv_warning_cflags
="-Wall -Wunused $kpse_cv_warning_cflags"
9380 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
9381 if test "x$enable_compiler_warnings" != xyes
; then
9382 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
9383 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
9384 case `$CC -dumpversion` in #(
9386 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
9390 if test "x$enable_compiler_warnings" != xmax
; then
9391 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wshadow"
9396 elif test "x$enable_compiler_warnings" = xno
; then
9397 kpse_cv_warning_cflags
=
9399 kpse_cv_warning_cflags
= # FIXME: warning flags for non-GNU C compilers
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
9403 $as_echo "$kpse_cv_warning_cflags" >&6; }
9404 WARNING_CFLAGS
=$kpse_cv_warning_cflags
9418 enable_win32_dll
=yes
9421 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
9422 if test -n "$ac_tool_prefix"; then
9423 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9424 set dummy
${ac_tool_prefix}as
; ac_word
=$2
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9426 $as_echo_n "checking for $ac_word... " >&6; }
9427 if ${ac_cv_prog_AS+:} false
; then :
9428 $as_echo_n "(cached) " >&6
9430 if test -n "$AS"; then
9431 ac_cv_prog_AS
="$AS" # Let the user override the test.
9433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9437 test -z "$as_dir" && as_dir
=.
9438 for ac_exec_ext
in '' $ac_executable_extensions; do
9439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9440 ac_cv_prog_AS
="${ac_tool_prefix}as"
9441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9451 if test -n "$AS"; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9453 $as_echo "$AS" >&6; }
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9456 $as_echo "no" >&6; }
9461 if test -z "$ac_cv_prog_AS"; then
9463 # Extract the first word of "as", so it can be a program name with args.
9464 set dummy as
; ac_word
=$2
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9466 $as_echo_n "checking for $ac_word... " >&6; }
9467 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
9468 $as_echo_n "(cached) " >&6
9470 if test -n "$ac_ct_AS"; then
9471 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
9473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9477 test -z "$as_dir" && as_dir
=.
9478 for ac_exec_ext
in '' $ac_executable_extensions; do
9479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9480 ac_cv_prog_ac_ct_AS
="as"
9481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9490 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
9491 if test -n "$ac_ct_AS"; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9493 $as_echo "$ac_ct_AS" >&6; }
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9496 $as_echo "no" >&6; }
9499 if test "x$ac_ct_AS" = x
; then
9502 case $cross_compiling:$ac_tool_warned in
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9506 ac_tool_warned
=yes ;;
9514 if test -n "$ac_tool_prefix"; then
9515 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9516 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9518 $as_echo_n "checking for $ac_word... " >&6; }
9519 if ${ac_cv_prog_DLLTOOL+:} false
; then :
9520 $as_echo_n "(cached) " >&6
9522 if test -n "$DLLTOOL"; then
9523 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9529 test -z "$as_dir" && as_dir
=.
9530 for ac_exec_ext
in '' $ac_executable_extensions; do
9531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9532 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9542 DLLTOOL
=$ac_cv_prog_DLLTOOL
9543 if test -n "$DLLTOOL"; then
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9545 $as_echo "$DLLTOOL" >&6; }
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9548 $as_echo "no" >&6; }
9553 if test -z "$ac_cv_prog_DLLTOOL"; then
9554 ac_ct_DLLTOOL
=$DLLTOOL
9555 # Extract the first word of "dlltool", so it can be a program name with args.
9556 set dummy dlltool
; ac_word
=$2
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9558 $as_echo_n "checking for $ac_word... " >&6; }
9559 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
9560 $as_echo_n "(cached) " >&6
9562 if test -n "$ac_ct_DLLTOOL"; then
9563 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9569 test -z "$as_dir" && as_dir
=.
9570 for ac_exec_ext
in '' $ac_executable_extensions; do
9571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9572 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9582 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9583 if test -n "$ac_ct_DLLTOOL"; then
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9585 $as_echo "$ac_ct_DLLTOOL" >&6; }
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9588 $as_echo "no" >&6; }
9591 if test "x$ac_ct_DLLTOOL" = x
; then
9594 case $cross_compiling:$ac_tool_warned in
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9598 ac_tool_warned
=yes ;;
9600 DLLTOOL
=$ac_ct_DLLTOOL
9603 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9606 if test -n "$ac_tool_prefix"; then
9607 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9608 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9610 $as_echo_n "checking for $ac_word... " >&6; }
9611 if ${ac_cv_prog_OBJDUMP+:} false
; then :
9612 $as_echo_n "(cached) " >&6
9614 if test -n "$OBJDUMP"; then
9615 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
9617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9621 test -z "$as_dir" && as_dir
=.
9622 for ac_exec_ext
in '' $ac_executable_extensions; do
9623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9624 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
9625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9634 OBJDUMP
=$ac_cv_prog_OBJDUMP
9635 if test -n "$OBJDUMP"; then
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9637 $as_echo "$OBJDUMP" >&6; }
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9640 $as_echo "no" >&6; }
9645 if test -z "$ac_cv_prog_OBJDUMP"; then
9646 ac_ct_OBJDUMP
=$OBJDUMP
9647 # Extract the first word of "objdump", so it can be a program name with args.
9648 set dummy objdump
; ac_word
=$2
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9650 $as_echo_n "checking for $ac_word... " >&6; }
9651 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
9652 $as_echo_n "(cached) " >&6
9654 if test -n "$ac_ct_OBJDUMP"; then
9655 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
9657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9661 test -z "$as_dir" && as_dir
=.
9662 for ac_exec_ext
in '' $ac_executable_extensions; do
9663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9664 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
9665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9674 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
9675 if test -n "$ac_ct_OBJDUMP"; then
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9677 $as_echo "$ac_ct_OBJDUMP" >&6; }
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9680 $as_echo "no" >&6; }
9683 if test "x$ac_ct_OBJDUMP" = x
; then
9686 case $cross_compiling:$ac_tool_warned in
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9690 ac_tool_warned
=yes ;;
9692 OBJDUMP
=$ac_ct_OBJDUMP
9695 OBJDUMP
="$ac_cv_prog_OBJDUMP"
9701 test -z "$AS" && AS
=as
9707 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9713 test -z "$OBJDUMP" && OBJDUMP
=objdump
9725 # Check whether --enable-shared was given.
9726 if test "${enable_shared+set}" = set; then :
9727 enableval
=$enable_shared; p
=${PACKAGE-default}
9729 yes) enable_shared
=yes ;;
9730 no
) enable_shared
=no
;;
9733 # Look at the argument we got. We use all the common list separators.
9734 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9735 for pkg
in $enableval; do
9737 if test "X$pkg" = "X$p"; then
9756 # Check whether --enable-static was given.
9757 if test "${enable_static+set}" = set; then :
9758 enableval
=$enable_static; p
=${PACKAGE-default}
9760 yes) enable_static
=yes ;;
9761 no
) enable_static
=no
;;
9764 # Look at the argument we got. We use all the common list separators.
9765 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9766 for pkg
in $enableval; do
9768 if test "X$pkg" = "X$p"; then
9788 # Check whether --with-pic was given.
9789 if test "${with_pic+set}" = set; then :
9790 withval
=$with_pic; lt_p
=${PACKAGE-default}
9792 yes|no
) pic_mode
=$withval ;;
9795 # Look at the argument we got. We use all the common list separators.
9796 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9797 for lt_pkg
in $withval; do
9799 if test "X$lt_pkg" = "X$lt_p"; then
9817 # Check whether --enable-fast-install was given.
9818 if test "${enable_fast_install+set}" = set; then :
9819 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9821 yes) enable_fast_install
=yes ;;
9822 no
) enable_fast_install
=no
;;
9824 enable_fast_install
=no
9825 # Look at the argument we got. We use all the common list separators.
9826 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9827 for pkg
in $enableval; do
9829 if test "X$pkg" = "X$p"; then
9830 enable_fast_install
=yes
9837 enable_fast_install
=yes
9847 shared_archive_member_spec
=
9848 case $host,$enable_shared in
9849 power
*-*-aix[5-9]*,yes)
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9851 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9853 # Check whether --with-aix-soname was given.
9854 if test "${with_aix_soname+set}" = set; then :
9855 withval
=$with_aix_soname; case $withval in
9859 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9862 lt_cv_with_aix_soname
=$with_aix_soname
9864 if ${lt_cv_with_aix_soname+:} false
; then :
9865 $as_echo_n "(cached) " >&6
9867 lt_cv_with_aix_soname
=aix
9870 with_aix_soname
=$lt_cv_with_aix_soname
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9874 $as_echo "$with_aix_soname" >&6; }
9875 if test aix
!= "$with_aix_soname"; then
9876 # For the AIX way of multilib, we name the shared archive member
9877 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9878 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9879 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9880 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9881 if test 64 = "${OBJECT_MODE-32}"; then
9882 shared_archive_member_spec
=shr_64
9884 shared_archive_member_spec
=shr
9902 # This can be used to rebuild libtool when needed
9903 LIBTOOL_DEPS
=$ltmain
9905 # Always use our own libtool.
9906 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9937 test -z "$LN_S" && LN_S
="ln -s"
9952 if test -n "${ZSH_VERSION+set}"; then
9953 setopt NO_GLOB_SUBST
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9957 $as_echo_n "checking for objdir... " >&6; }
9958 if ${lt_cv_objdir+:} false
; then :
9959 $as_echo_n "(cached) " >&6
9961 rm -f .libs
2>/dev
/null
9962 mkdir .libs
2>/dev
/null
9963 if test -d .libs
; then
9966 # MS-DOS does not allow filenames that begin with a dot.
9969 rmdir .libs
2>/dev
/null
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9972 $as_echo "$lt_cv_objdir" >&6; }
9973 objdir
=$lt_cv_objdir
9979 cat >>confdefs.h
<<_ACEOF
9980 #define LT_OBJDIR "$lt_cv_objdir/"
9988 # AIX sometimes has problems with the GCC collect2 program. For some
9989 # reason, if we set the COLLECT_NAMES environment variable, the problems
9990 # vanish in a puff of smoke.
9991 if test set != "${COLLECT_NAMES+set}"; then
9993 export COLLECT_NAMES
10000 can_build_shared
=yes
10002 # All known linkers require a '.a' archive for static linking (except MSVC,
10003 # which needs '.lib').
10006 with_gnu_ld
=$lt_cv_prog_gnu_ld
10011 # Set sane defaults for various variables
10012 test -z "$CC" && CC
=cc
10013 test -z "$LTCC" && LTCC
=$CC
10014 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10015 test -z "$LD" && LD
=ld
10016 test -z "$ac_objext" && ac_objext
=o
10018 func_cc_basename
$compiler
10019 cc_basename
=$func_cc_basename_result
10022 # Only perform the check for file, if the check method requires it
10023 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10024 case $deplibs_check_method in
10026 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10028 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10029 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10030 $as_echo_n "(cached) " >&6
10034 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10037 lt_save_MAGIC_CMD
=$MAGIC_CMD
10038 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10039 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10040 for ac_dir
in $ac_dummy; do
10042 test -z "$ac_dir" && ac_dir
=.
10043 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10044 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
10045 if test -n "$file_magic_test_file"; then
10046 case $deplibs_check_method in
10048 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10049 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10050 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10051 $EGREP "$file_magic_regex" > /dev
/null
; then
10056 *** Warning: the command libtool uses to detect shared libraries,
10057 *** $file_magic_cmd, produces output that libtool cannot recognize.
10058 *** The result is that libtool may fail to recognize shared libraries
10059 *** as such. This will affect the creation of libtool libraries that
10060 *** depend on shared libraries, but programs linked with such libtool
10061 *** libraries will work regardless of this problem. Nevertheless, you
10062 *** may want to report the problem to your system manager and/or to
10063 *** bug-libtool@gnu.org
10073 MAGIC_CMD
=$lt_save_MAGIC_CMD
10078 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10079 if test -n "$MAGIC_CMD"; then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10081 $as_echo "$MAGIC_CMD" >&6; }
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10084 $as_echo "no" >&6; }
10091 if test -z "$lt_cv_path_MAGIC_CMD"; then
10092 if test -n "$ac_tool_prefix"; then
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10094 $as_echo_n "checking for file... " >&6; }
10095 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10096 $as_echo_n "(cached) " >&6
10100 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10103 lt_save_MAGIC_CMD
=$MAGIC_CMD
10104 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10105 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10106 for ac_dir
in $ac_dummy; do
10108 test -z "$ac_dir" && ac_dir
=.
10109 if test -f "$ac_dir/file"; then
10110 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
10111 if test -n "$file_magic_test_file"; then
10112 case $deplibs_check_method in
10114 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10115 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10116 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10117 $EGREP "$file_magic_regex" > /dev
/null
; then
10122 *** Warning: the command libtool uses to detect shared libraries,
10123 *** $file_magic_cmd, produces output that libtool cannot recognize.
10124 *** The result is that libtool may fail to recognize shared libraries
10125 *** as such. This will affect the creation of libtool libraries that
10126 *** depend on shared libraries, but programs linked with such libtool
10127 *** libraries will work regardless of this problem. Nevertheless, you
10128 *** may want to report the problem to your system manager and/or to
10129 *** bug-libtool@gnu.org
10139 MAGIC_CMD
=$lt_save_MAGIC_CMD
10144 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10145 if test -n "$MAGIC_CMD"; then
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10147 $as_echo "$MAGIC_CMD" >&6; }
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10150 $as_echo "no" >&6; }
10163 # Use C for the default configuration in the libtool script
10167 ac_cpp
='$CPP $CPPFLAGS'
10168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10173 # Source file extension for C test sources.
10176 # Object file extension for compiled C test sources.
10180 # Code to be used in simple compile tests
10181 lt_simple_compile_test_code
="int some_variable = 0;"
10183 # Code to be used in simple link tests
10184 lt_simple_link_test_code
='int main(){return(0);}'
10192 # If no C compiler was specified, use CC.
10195 # If no C compiler flags were specified, use CFLAGS.
10196 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10198 # Allow CC to be a program name with arguments.
10201 # Save the default compiler, since it gets overwritten when the other
10202 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10203 compiler_DEFAULT
=$CC
10205 # save warnings/boilerplate of simple test code
10206 ac_outfile
=conftest.
$ac_objext
10207 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10208 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10209 _lt_compiler_boilerplate
=`cat conftest.err`
10212 ac_outfile
=conftest.
$ac_objext
10213 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10214 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10215 _lt_linker_boilerplate
=`cat conftest.err`
10220 ## There is no encapsulation within the following macros, do not change
10221 ## the running order or otherwise move them around unless you know exactly
10222 ## what you are doing...
10223 if test -n "$compiler"; then
10225 lt_prog_compiler_no_builtin_flag
=
10227 if test yes = "$GCC"; then
10228 case $cc_basename in
10230 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10232 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10236 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10237 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
10238 $as_echo_n "(cached) " >&6
10240 lt_cv_prog_compiler_rtti_exceptions
=no
10241 ac_outfile
=conftest.
$ac_objext
10242 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10243 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10244 # Insert the option either (1) after the last *FLAGS variable, or
10245 # (2) before a word containing "conftest.", or (3) at the end.
10246 # Note that $ac_compile itself does not contain backslashes and begins
10247 # with a dollar sign (not a hyphen), so the echo should work correctly.
10248 # The option is referenced via a variable to avoid confusing sed.
10249 lt_compile
=`echo "$ac_compile" | $SED \
10250 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10251 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10252 -e 's:$: $lt_compiler_flag:'`
10253 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10254 (eval "$lt_compile" 2>conftest.err
)
10256 cat conftest.err
>&5
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 if (exit $ac_status) && test -s "$ac_outfile"; then
10259 # The compiler can only warn and ignore the option if not recognized
10260 # So say no if there are warnings other than the usual output.
10261 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10262 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10263 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10264 lt_cv_prog_compiler_rtti_exceptions
=yes
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10271 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10273 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10274 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10286 lt_prog_compiler_wl
=
10287 lt_prog_compiler_pic
=
10288 lt_prog_compiler_static
=
10291 if test yes = "$GCC"; then
10292 lt_prog_compiler_wl
='-Wl,'
10293 lt_prog_compiler_static
='-static'
10297 # All AIX code is PIC.
10298 if test ia64
= "$host_cpu"; then
10299 # AIX 5 now supports IA64 processor
10300 lt_prog_compiler_static
='-Bstatic'
10302 lt_prog_compiler_pic
='-fPIC'
10308 # see comment about AmigaOS4 .so support
10309 lt_prog_compiler_pic
='-fPIC'
10312 # FIXME: we need at least 68020 code to build shared libraries, but
10313 # adding the '-m68020' flag to GCC prevents building anything better,
10315 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10320 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10321 # PIC is the default for these OSes.
10324 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10325 # This hack is so that the source file can tell whether it is being
10326 # built for inclusion in a dll (and should export symbols for example).
10327 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10328 # (--disable-auto-import) libraries
10329 lt_prog_compiler_pic
='-DDLL_EXPORT'
10332 lt_prog_compiler_static
='$wl-static'
10337 darwin
* | rhapsody
*)
10338 # PIC is the default on this platform
10339 # Common symbols not allowed in MH_DYLIB files
10340 lt_prog_compiler_pic
='-fno-common'
10344 # PIC is the default for Haiku.
10345 # The "-static" flag exists, but is broken.
10346 lt_prog_compiler_static
=
10350 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10351 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10352 # sets the default TLS model and affects inlining.
10358 lt_prog_compiler_pic
='-fPIC'
10364 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10365 # Instead, we relocate shared libraries at runtime.
10369 # Just because we use GCC doesn't mean we suddenly get shared libraries
10370 # on systems that don't support them.
10371 lt_prog_compiler_can_build_shared
=no
10376 # QNX uses GNU C++, but need to define -shared option too, otherwise
10377 # it will coredump.
10378 lt_prog_compiler_pic
='-fPIC -shared'
10382 if test -d /usr
/nec
; then
10383 lt_prog_compiler_pic
=-Kconform_pic
10388 lt_prog_compiler_pic
='-fPIC'
10392 case $cc_basename in
10393 nvcc
*) # Cuda Compiler Driver 2.2
10394 lt_prog_compiler_wl
='-Xlinker '
10395 if test -n "$lt_prog_compiler_pic"; then
10396 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
10401 # PORTME Check for flag to pass linker flags through the system compiler.
10404 lt_prog_compiler_wl
='-Wl,'
10405 if test ia64
= "$host_cpu"; then
10406 # AIX 5 now supports IA64 processor
10407 lt_prog_compiler_static
='-Bstatic'
10409 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10413 darwin
* | rhapsody
*)
10414 # PIC is the default on this platform
10415 # Common symbols not allowed in MH_DYLIB files
10416 lt_prog_compiler_pic
='-fno-common'
10417 case $cc_basename in
10419 # NAG Fortran compiler
10420 lt_prog_compiler_wl
='-Wl,-Wl,,'
10421 lt_prog_compiler_pic
='-PIC'
10422 lt_prog_compiler_static
='-Bstatic'
10427 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10428 # This hack is so that the source file can tell whether it is being
10429 # built for inclusion in a dll (and should export symbols for example).
10430 lt_prog_compiler_pic
='-DDLL_EXPORT'
10433 lt_prog_compiler_static
='$wl-static'
10438 hpux9
* | hpux10
* | hpux11
*)
10439 lt_prog_compiler_wl
='-Wl,'
10440 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10441 # not for PA HP-UX.
10447 lt_prog_compiler_pic
='+Z'
10450 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10451 lt_prog_compiler_static
='$wl-a ${wl}archive'
10454 irix5
* | irix6
* | nonstopux
*)
10455 lt_prog_compiler_wl
='-Wl,'
10456 # PIC (with -KPIC) is the default.
10457 lt_prog_compiler_static
='-non_shared'
10460 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10461 case $cc_basename in
10462 # old Intel for x86_64, which still supported -KPIC.
10464 lt_prog_compiler_wl
='-Wl,'
10465 lt_prog_compiler_pic
='-KPIC'
10466 lt_prog_compiler_static
='-static'
10468 # icc used to be incompatible with GCC.
10469 # ICC 10 doesn't accept -KPIC any more.
10471 lt_prog_compiler_wl
='-Wl,'
10472 lt_prog_compiler_pic
='-fPIC'
10473 lt_prog_compiler_static
='-static'
10475 # Lahey Fortran 8.1.
10477 lt_prog_compiler_wl
='-Wl,'
10478 lt_prog_compiler_pic
='--shared'
10479 lt_prog_compiler_static
='--static'
10482 # NAG Fortran compiler
10483 lt_prog_compiler_wl
='-Wl,-Wl,,'
10484 lt_prog_compiler_pic
='-PIC'
10485 lt_prog_compiler_static
='-Bstatic'
10488 # Fabrice Bellard et al's Tiny C Compiler
10489 lt_prog_compiler_wl
='-Wl,'
10490 lt_prog_compiler_pic
='-fPIC'
10491 lt_prog_compiler_static
='-static'
10493 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10494 # Portland Group compilers (*not* the Pentium gcc compiler,
10495 # which looks to be a dead project)
10496 lt_prog_compiler_wl
='-Wl,'
10497 lt_prog_compiler_pic
='-fpic'
10498 lt_prog_compiler_static
='-Bstatic'
10501 lt_prog_compiler_wl
='-Wl,'
10502 # All Alpha code is PIC.
10503 lt_prog_compiler_static
='-non_shared'
10505 xl
* | bgxl
* | bgf
* | mpixl
*)
10506 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10507 lt_prog_compiler_wl
='-Wl,'
10508 lt_prog_compiler_pic
='-qpic'
10509 lt_prog_compiler_static
='-qstaticlink'
10512 case `$CC -V 2>&1 | sed 5q` in
10513 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
10514 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10515 lt_prog_compiler_pic
='-KPIC'
10516 lt_prog_compiler_static
='-Bstatic'
10517 lt_prog_compiler_wl
=''
10519 *Sun\ F
* |
*Sun
*Fortran
*)
10520 lt_prog_compiler_pic
='-KPIC'
10521 lt_prog_compiler_static
='-Bstatic'
10522 lt_prog_compiler_wl
='-Qoption ld '
10526 lt_prog_compiler_pic
='-KPIC'
10527 lt_prog_compiler_static
='-Bstatic'
10528 lt_prog_compiler_wl
='-Wl,'
10530 *Intel
*\
[CF
]*Compiler
*)
10531 lt_prog_compiler_wl
='-Wl,'
10532 lt_prog_compiler_pic
='-fPIC'
10533 lt_prog_compiler_static
='-static'
10536 lt_prog_compiler_wl
='-Wl,'
10537 lt_prog_compiler_pic
='-fpic'
10538 lt_prog_compiler_static
='-Bstatic'
10546 lt_prog_compiler_pic
='-KPIC'
10547 lt_prog_compiler_static
='-Bstatic'
10551 # QNX uses GNU C++, but need to define -shared option too, otherwise
10552 # it will coredump.
10553 lt_prog_compiler_pic
='-fPIC -shared'
10556 osf3
* | osf4
* | osf5
*)
10557 lt_prog_compiler_wl
='-Wl,'
10558 # All OSF/1 code is PIC.
10559 lt_prog_compiler_static
='-non_shared'
10563 lt_prog_compiler_static
='-non_shared'
10567 lt_prog_compiler_pic
='-KPIC'
10568 lt_prog_compiler_static
='-Bstatic'
10569 case $cc_basename in
10570 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10571 lt_prog_compiler_wl
='-Qoption ld ';;
10573 lt_prog_compiler_wl
='-Wl,';;
10578 lt_prog_compiler_wl
='-Qoption ld '
10579 lt_prog_compiler_pic
='-PIC'
10580 lt_prog_compiler_static
='-Bstatic'
10583 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10584 lt_prog_compiler_wl
='-Wl,'
10585 lt_prog_compiler_pic
='-KPIC'
10586 lt_prog_compiler_static
='-Bstatic'
10590 if test -d /usr
/nec
; then
10591 lt_prog_compiler_pic
='-Kconform_pic'
10592 lt_prog_compiler_static
='-Bstatic'
10596 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10597 lt_prog_compiler_wl
='-Wl,'
10598 lt_prog_compiler_pic
='-KPIC'
10599 lt_prog_compiler_static
='-Bstatic'
10603 lt_prog_compiler_wl
='-Wl,'
10604 lt_prog_compiler_can_build_shared
=no
10608 lt_prog_compiler_pic
='-pic'
10609 lt_prog_compiler_static
='-Bstatic'
10613 lt_prog_compiler_can_build_shared
=no
10619 # For platforms that do not support PIC, -DPIC is meaningless:
10621 lt_prog_compiler_pic
=
10624 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10629 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10630 if ${lt_cv_prog_compiler_pic+:} false
; then :
10631 $as_echo_n "(cached) " >&6
10633 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10636 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10637 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10640 # Check to make sure the PIC flag actually works.
10642 if test -n "$lt_prog_compiler_pic"; then
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10644 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10645 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10646 $as_echo_n "(cached) " >&6
10648 lt_cv_prog_compiler_pic_works
=no
10649 ac_outfile
=conftest.
$ac_objext
10650 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10651 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10652 # Insert the option either (1) after the last *FLAGS variable, or
10653 # (2) before a word containing "conftest.", or (3) at the end.
10654 # Note that $ac_compile itself does not contain backslashes and begins
10655 # with a dollar sign (not a hyphen), so the echo should work correctly.
10656 # The option is referenced via a variable to avoid confusing sed.
10657 lt_compile
=`echo "$ac_compile" | $SED \
10658 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10659 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10660 -e 's:$: $lt_compiler_flag:'`
10661 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10662 (eval "$lt_compile" 2>conftest.err
)
10664 cat conftest.err
>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 if (exit $ac_status) && test -s "$ac_outfile"; then
10667 # The compiler can only warn and ignore the option if not recognized
10668 # So say no if there are warnings other than the usual output.
10669 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10670 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10671 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10672 lt_cv_prog_compiler_pic_works
=yes
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10679 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10681 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10682 case $lt_prog_compiler_pic in
10684 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10687 lt_prog_compiler_pic
=
10688 lt_prog_compiler_can_build_shared
=no
10704 # Check to make sure the static flag actually works.
10706 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10708 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10709 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10710 $as_echo_n "(cached) " >&6
10712 lt_cv_prog_compiler_static_works
=no
10713 save_LDFLAGS
=$LDFLAGS
10714 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10715 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10716 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10717 # The linker can only warn and ignore the option if not recognized
10718 # So say no if there are warnings
10719 if test -s conftest.err
; then
10720 # Append any errors to the config.log.
10721 cat conftest.err
1>&5
10722 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10723 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10724 if diff conftest.exp conftest.er2
>/dev
/null
; then
10725 lt_cv_prog_compiler_static_works
=yes
10728 lt_cv_prog_compiler_static_works
=yes
10732 LDFLAGS
=$save_LDFLAGS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10736 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10738 if test yes = "$lt_cv_prog_compiler_static_works"; then
10741 lt_prog_compiler_static
=
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10751 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10752 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10753 $as_echo_n "(cached) " >&6
10755 lt_cv_prog_compiler_c_o
=no
10756 $RM -r conftest
2>/dev
/null
10760 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10762 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10763 # Insert the option either (1) after the last *FLAGS variable, or
10764 # (2) before a word containing "conftest.", or (3) at the end.
10765 # Note that $ac_compile itself does not contain backslashes and begins
10766 # with a dollar sign (not a hyphen), so the echo should work correctly.
10767 lt_compile
=`echo "$ac_compile" | $SED \
10768 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10769 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10770 -e 's:$: $lt_compiler_flag:'`
10771 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10772 (eval "$lt_compile" 2>out
/conftest.err
)
10774 cat out
/conftest.err
>&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10778 # The compiler can only warn and ignore the option if not recognized
10779 # So say no if there are warnings
10780 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10781 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10782 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10783 lt_cv_prog_compiler_c_o
=yes
10788 # SGI C++ compiler will create directory out/ii_files/ for
10789 # template instantiation
10790 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10791 $RM out
/* && rmdir out
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10798 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10806 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10807 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10808 $as_echo_n "(cached) " >&6
10810 lt_cv_prog_compiler_c_o
=no
10811 $RM -r conftest
2>/dev
/null
10815 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10817 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10818 # Insert the option either (1) after the last *FLAGS variable, or
10819 # (2) before a word containing "conftest.", or (3) at the end.
10820 # Note that $ac_compile itself does not contain backslashes and begins
10821 # with a dollar sign (not a hyphen), so the echo should work correctly.
10822 lt_compile
=`echo "$ac_compile" | $SED \
10823 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10824 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10825 -e 's:$: $lt_compiler_flag:'`
10826 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10827 (eval "$lt_compile" 2>out
/conftest.err
)
10829 cat out
/conftest.err
>&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10833 # The compiler can only warn and ignore the option if not recognized
10834 # So say no if there are warnings
10835 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10836 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10837 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10838 lt_cv_prog_compiler_c_o
=yes
10843 # SGI C++ compiler will create directory out/ii_files/ for
10844 # template instantiation
10845 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10846 $RM out
/* && rmdir out
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10853 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10858 hard_links
=nottested
10859 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10860 # do not overwrite the value of need_locks provided by the user
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10862 $as_echo_n "checking if we can lock with hard links... " >&6; }
10865 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10867 ln conftest.a conftest.b
2>&5 || hard_links
=no
10868 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10870 $as_echo "$hard_links" >&6; }
10871 if test no
= "$hard_links"; then
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10873 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10886 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10889 allow_undefined_flag
=
10890 always_export_symbols
=no
10892 archive_expsym_cmds
=
10893 compiler_needs_object
=no
10894 enable_shared_with_static_runtimes
=no
10895 export_dynamic_flag_spec
=
10896 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10897 hardcode_automatic
=no
10899 hardcode_direct_absolute
=no
10900 hardcode_libdir_flag_spec
=
10901 hardcode_libdir_separator
=
10902 hardcode_minus_L
=no
10903 hardcode_shlibpath_var
=unsupported
10905 link_all_deplibs
=unknown
10907 module_expsym_cmds
=
10908 old_archive_from_new_cmds
=
10909 old_archive_from_expsyms_cmds
=
10910 thread_safe_flag_spec
=
10911 whole_archive_flag_spec
=
10912 # include_expsyms should be a list of space-separated symbols to be *always*
10913 # included in the symbol list
10915 # exclude_expsyms can be an extended regexp of symbols to exclude
10916 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10917 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10918 # as well as any symbol that contains 'd'.
10919 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10920 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10921 # platforms (ab)use it in PIC code, but their linkers get confused if
10922 # the symbol is explicitly referenced. Since portable code cannot
10923 # rely on this symbol name, it's probably fine to never include it in
10924 # preloaded symbol tables.
10925 # Exclude shared library initialization/finalization symbols.
10926 extract_expsyms_cmds
=
10929 cygwin
* | mingw
* | pw32
* | cegcc
*)
10930 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10931 # When not using gcc, we currently assume that we are using
10932 # Microsoft Visual C++.
10933 if test yes != "$GCC"; then
10938 # we just hope/assume this is gcc and not c89 (= MSVC++)
10941 openbsd
* | bitrig
*)
10948 # On some targets, GNU ld is compatible enough with the native linker
10949 # that we're better off using the native interface for both.
10950 lt_use_gnu_ld_interface
=no
10951 if test yes = "$with_gnu_ld"; then
10954 # The AIX port of GNU ld has always aspired to compatibility
10955 # with the native linker. However, as the warning in the GNU ld
10956 # block says, versions before 2.19.5* couldn't really create working
10957 # shared libraries, regardless of the interface used.
10958 case `$LD -v 2>&1` in
10959 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10960 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10961 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10963 lt_use_gnu_ld_interface
=yes
10968 lt_use_gnu_ld_interface
=yes
10973 if test yes = "$lt_use_gnu_ld_interface"; then
10974 # If archive_cmds runs LD, not CC, wlarc should be empty
10977 # Set some defaults for GNU ld with shared library support. These
10978 # are reset later if shared libraries are not supported. Putting them
10979 # here allows them to be overridden if necessary.
10980 runpath_var
=LD_RUN_PATH
10981 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10982 export_dynamic_flag_spec
='$wl--export-dynamic'
10983 # ancient GNU ld didn't support --whole-archive et. al.
10984 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10985 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10987 whole_archive_flag_spec
=
10989 supports_anon_versioning
=no
10990 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10991 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10992 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10993 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10994 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10995 *\
2.11.
*) ;; # other 2.11 versions
10996 *) supports_anon_versioning
=yes ;;
10999 # See if GNU ld supports shared libraries.
11002 # On AIX/PPC, the GNU linker is very broken
11003 if test ia64
!= "$host_cpu"; then
11007 *** Warning: the GNU linker, at least up to release 2.19, is reported
11008 *** to be unable to reliably create shared libraries on AIX.
11009 *** Therefore, libtool is disabling shared libraries support. If you
11010 *** really care for shared libraries, you may want to install binutils
11011 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11012 *** You will then need to restart the configuration process.
11021 # see comment about AmigaOS4 .so support
11022 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11023 archive_expsym_cmds
=''
11026 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)'
11027 hardcode_libdir_flag_spec
='-L$libdir'
11028 hardcode_minus_L
=yes
11034 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11035 allow_undefined_flag
=unsupported
11036 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11037 # support --undefined. This deserves some investigation. FIXME
11038 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11044 cygwin
* | mingw
* | pw32
* | cegcc
*)
11045 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11046 # as there is no search path for DLLs.
11047 hardcode_libdir_flag_spec
='-L$libdir'
11048 export_dynamic_flag_spec
='$wl--export-all-symbols'
11049 allow_undefined_flag
=unsupported
11050 always_export_symbols
=no
11051 enable_shared_with_static_runtimes
=yes
11052 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'
11053 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11055 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11056 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11057 # If the export-symbols file already is a .def file, use it as
11058 # is; otherwise, prepend EXPORTS...
11059 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11060 cp $export_symbols $output_objdir/$soname.def;
11062 echo EXPORTS > $output_objdir/$soname.def;
11063 cat $export_symbols >> $output_objdir/$soname.def;
11065 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11072 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11073 link_all_deplibs
=yes
11077 hardcode_libdir_flag_spec
='-L$libdir'
11078 hardcode_minus_L
=yes
11079 allow_undefined_flag
=unsupported
11081 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11082 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11083 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11084 $ECHO EXPORTS >> $output_objdir/$libname.def~
11085 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11086 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11087 emximp -o $lib $output_objdir/$libname.def'
11088 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11089 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11090 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11091 $ECHO EXPORTS >> $output_objdir/$libname.def~
11092 prefix_cmds="$SED"~
11093 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11094 prefix_cmds="$prefix_cmds -e 1d";
11096 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11097 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11098 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11099 emximp -o $lib $output_objdir/$libname.def'
11100 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11101 enable_shared_with_static_runtimes
=yes
11106 hardcode_shlibpath_var
=no
11107 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11108 export_dynamic_flag_spec
='$wl-E'
11109 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11110 # Instead, shared libraries are loaded at an image base (0x10000000 by
11111 # default) and relocated if they conflict, which is a slow very memory
11112 # consuming and fragmenting process. To avoid this, we pick a random,
11113 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11114 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11115 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11116 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'
11119 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11121 if test linux-dietlibc
= "$host_os"; then
11122 case $cc_basename in
11123 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11126 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11127 && test no
= "$tmp_diet"
11129 tmp_addflag
=' $pic_flag'
11130 tmp_sharedflag
='-shared'
11131 case $cc_basename,$host_cpu in
11132 pgcc
*) # Portland Group C compiler
11133 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'
11134 tmp_addflag
=' $pic_flag'
11136 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11137 # Portland Group f77 and f90 compilers
11138 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'
11139 tmp_addflag
=' $pic_flag -Mnomain' ;;
11140 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11141 tmp_addflag
=' -i_dynamic' ;;
11142 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11143 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11144 ifc
* | ifort
*) # Intel Fortran compiler
11145 tmp_addflag
=' -nofor_main' ;;
11146 lf95
*) # Lahey Fortran 8.1
11147 whole_archive_flag_spec
=
11148 tmp_sharedflag
='--shared' ;;
11149 nagfor
*) # NAGFOR 5.3
11150 tmp_sharedflag
='-Wl,-shared' ;;
11151 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11152 tmp_sharedflag
='-qmkshrobj'
11154 nvcc
*) # Cuda Compiler Driver 2.2
11155 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'
11156 compiler_needs_object
=yes
11159 case `$CC -V 2>&1 | sed 5q` in
11160 *Sun\ C
*) # Sun C 5.9
11161 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'
11162 compiler_needs_object
=yes
11163 tmp_sharedflag
='-G' ;;
11164 *Sun\ F
*) # Sun Fortran 8.3
11165 tmp_sharedflag
='-G' ;;
11167 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11169 if test yes = "$supports_anon_versioning"; then
11170 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11171 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11172 echo "local: *; };" >> $output_objdir/$libname.ver~
11173 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11176 case $cc_basename in
11178 export_dynamic_flag_spec
='-rdynamic'
11180 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11181 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11182 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11183 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11184 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11185 if test yes = "$supports_anon_versioning"; then
11186 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11187 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11188 echo "local: *; };" >> $output_objdir/$libname.ver~
11189 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11199 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11200 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11203 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11204 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11209 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11213 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11214 *** create shared libraries on Solaris systems. Therefore, libtool
11215 *** is disabling shared libraries support. We urge you to upgrade GNU
11216 *** binutils to release 2.9.1 or newer. Another option is to modify
11217 *** your PATH or compiler configuration so that the native linker is
11218 *** used, and then restart.
11221 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11222 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11223 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11229 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11230 case `$LD -v 2>&1` in
11231 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11235 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11236 *** reliably create shared libraries on SCO systems. Therefore, libtool
11237 *** is disabling shared libraries support. We urge you to upgrade GNU
11238 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11239 *** your PATH or compiler configuration so that the native linker is
11240 *** used, and then restart.
11245 # For security reasons, it is highly recommended that you always
11246 # use absolute paths for naming shared libraries, and exclude the
11247 # DT_RUNPATH tag from executables and libraries. But doing so
11248 # requires that you compile everything twice, which is a pain.
11249 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11250 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11251 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11252 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11261 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11263 hardcode_direct
=yes
11264 hardcode_shlibpath_var
=no
11268 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11269 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11270 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11277 if test no
= "$ld_shlibs"; then
11279 hardcode_libdir_flag_spec
=
11280 export_dynamic_flag_spec
=
11281 whole_archive_flag_spec
=
11284 # PORTME fill in a description of your system's linker (not GNU ld)
11287 allow_undefined_flag
=unsupported
11288 always_export_symbols
=yes
11289 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'
11290 # Note: this linker hardcodes the directories in LIBPATH if there
11291 # are no directories specified by -L.
11292 hardcode_minus_L
=yes
11293 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11294 # Neither direct hardcoding nor static linking is supported with a
11296 hardcode_direct
=unsupported
11301 if test ia64
= "$host_cpu"; then
11302 # On IA64, the linker does run time linking by default, so we don't
11303 # have to do anything special.
11304 aix_use_runtimelinking
=no
11305 exp_sym_flag
='-Bexport'
11308 # If we're using GNU nm, then we don't want the "-C" option.
11309 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11310 # Without the "-l" option, or with the "-B" option, AIX nm treats
11311 # weak defined symbols like other global defined symbols, whereas
11312 # GNU nm marks them as "W".
11313 # While the 'weak' keyword is ignored in the Export File, we need
11314 # it in the Import File for the 'aix-soname' feature, so we have
11315 # to replace the "-B" option with "-P" for AIX nm.
11316 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11317 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'
11319 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'
11321 aix_use_runtimelinking
=no
11323 # Test if we are trying to use run time linking or normal
11324 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11325 # have runtime linking enabled, and use it for executables.
11326 # For shared libraries, we enable/disable runtime linking
11327 # depending on the kind of the shared library created -
11328 # when "with_aix_soname,aix_use_runtimelinking" is:
11329 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11330 # "aix,yes" lib.so shared, rtl:yes, for executables
11331 # lib.a static archive
11332 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11333 # lib.a(lib.so.V) shared, rtl:no, for executables
11334 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11335 # lib.a(lib.so.V) shared, rtl:no
11336 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11337 # lib.a static archive
11338 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11339 for ld_flag
in $LDFLAGS; do
11340 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
11341 aix_use_runtimelinking
=yes
11345 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
11346 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11347 # so we don't have lib.a shared libs to link our executables.
11348 # We have to force runtime linking in this case.
11349 aix_use_runtimelinking
=yes
11350 LDFLAGS
="$LDFLAGS -Wl,-brtl"
11355 exp_sym_flag
='-bexport'
11356 no_entry_flag
='-bnoentry'
11359 # When large executables or shared objects are built, AIX ld can
11360 # have problems creating the table of contents. If linking a library
11361 # or program results in "error TOC overflow" add -mminimal-toc to
11362 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11363 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11366 hardcode_direct
=yes
11367 hardcode_direct_absolute
=yes
11368 hardcode_libdir_separator
=':'
11369 link_all_deplibs
=yes
11370 file_list_spec
='$wl-f,'
11371 case $with_aix_soname,$aix_use_runtimelinking in
11372 aix
,*) ;; # traditional, no import file
11373 svr4
,* |
*,yes) # use import file
11374 # The Import File defines what to hardcode.
11376 hardcode_direct_absolute
=no
11380 if test yes = "$GCC"; then
11381 case $host_os in aix4.
[012]|aix4.
[012].
*)
11382 # We only want to do this on AIX 4.2 and lower, the check
11383 # below for broken collect2 doesn't work under 4.3+
11384 collect2name
=`$CC -print-prog-name=collect2`
11385 if test -f "$collect2name" &&
11386 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11388 # We have reworked collect2
11391 # We have old collect2
11392 hardcode_direct
=unsupported
11393 # It fails to find uninstalled libraries when the uninstalled
11394 # path is not listed in the libpath. Setting hardcode_minus_L
11395 # to unsupported forces relinking
11396 hardcode_minus_L
=yes
11397 hardcode_libdir_flag_spec
='-L$libdir'
11398 hardcode_libdir_separator
=
11402 shared_flag
='-shared'
11403 if test yes = "$aix_use_runtimelinking"; then
11404 shared_flag
="$shared_flag "'$wl-G'
11406 # Need to ensure runtime linking is disabled for the traditional
11407 # shared library, or the linker may eventually find shared libraries
11408 # /with/ Import File - we do not want to mix them.
11409 shared_flag_aix
='-shared'
11410 shared_flag_svr4
='-shared $wl-G'
11413 if test ia64
= "$host_cpu"; then
11414 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11415 # chokes on -Wl,-G. The following line is correct:
11418 if test yes = "$aix_use_runtimelinking"; then
11419 shared_flag
='$wl-G'
11421 shared_flag
='$wl-bM:SRE'
11423 shared_flag_aix
='$wl-bM:SRE'
11424 shared_flag_svr4
='$wl-G'
11428 export_dynamic_flag_spec
='$wl-bexpall'
11429 # It seems that -bexpall does not export symbols beginning with
11430 # underscore (_), so it is better to generate a list of symbols to export.
11431 always_export_symbols
=yes
11432 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11433 # Warning - without using the other runtime loading flags (-brtl),
11434 # -berok will link without error, but may produce a broken library.
11435 allow_undefined_flag
='-berok'
11436 # Determine the default libpath from the value encoded in an
11437 # empty executable.
11438 if test set = "${lt_cv_aix_libpath+set}"; then
11439 aix_libpath
=$lt_cv_aix_libpath
11441 if ${lt_cv_aix_libpath_+:} false
; then :
11442 $as_echo_n "(cached) " >&6
11444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11455 if ac_fn_c_try_link
"$LINENO"; then :
11457 lt_aix_libpath_sed
='
11458 /Import File Strings/,/^$/ {
11460 s/^0 *\([^ ]*\) *$/\1/
11464 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11465 # Check for a 64-bit object if we didn't find anything.
11466 if test -z "$lt_cv_aix_libpath_"; then
11467 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11470 rm -f core conftest.err conftest.
$ac_objext \
11471 conftest
$ac_exeext conftest.
$ac_ext
11472 if test -z "$lt_cv_aix_libpath_"; then
11473 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11478 aix_libpath
=$lt_cv_aix_libpath_
11481 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11482 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
11484 if test ia64
= "$host_cpu"; then
11485 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
11486 allow_undefined_flag
="-z nodefs"
11487 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"
11489 # Determine the default libpath from the value encoded in an
11490 # empty executable.
11491 if test set = "${lt_cv_aix_libpath+set}"; then
11492 aix_libpath
=$lt_cv_aix_libpath
11494 if ${lt_cv_aix_libpath_+:} false
; then :
11495 $as_echo_n "(cached) " >&6
11497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11508 if ac_fn_c_try_link
"$LINENO"; then :
11510 lt_aix_libpath_sed
='
11511 /Import File Strings/,/^$/ {
11513 s/^0 *\([^ ]*\) *$/\1/
11517 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11518 # Check for a 64-bit object if we didn't find anything.
11519 if test -z "$lt_cv_aix_libpath_"; then
11520 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11523 rm -f core conftest.err conftest.
$ac_objext \
11524 conftest
$ac_exeext conftest.
$ac_ext
11525 if test -z "$lt_cv_aix_libpath_"; then
11526 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11531 aix_libpath
=$lt_cv_aix_libpath_
11534 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11535 # Warning - without using the other run time loading flags,
11536 # -berok will link without error, but may produce a broken library.
11537 no_undefined_flag
=' $wl-bernotok'
11538 allow_undefined_flag
=' $wl-berok'
11539 if test yes = "$with_gnu_ld"; then
11540 # We only use this code for GNU lds that support --whole-archive.
11541 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11543 # Exported symbols can be pulled into shared objects from archives
11544 whole_archive_flag_spec
='$convenience'
11546 archive_cmds_need_lc
=yes
11547 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11548 # -brtl affects multiple linker settings, -berok does not and is overridden later
11549 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11550 if test svr4
!= "$with_aix_soname"; then
11551 # This is similar to how AIX traditionally builds its shared libraries.
11552 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'
11554 if test aix
!= "$with_aix_soname"; then
11555 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'
11557 # used by -dlpreopen to get the symbols
11558 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11560 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11568 # see comment about AmigaOS4 .so support
11569 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11570 archive_expsym_cmds
=''
11573 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)'
11574 hardcode_libdir_flag_spec
='-L$libdir'
11575 hardcode_minus_L
=yes
11581 export_dynamic_flag_spec
=-rdynamic
11584 cygwin
* | mingw
* | pw32
* | cegcc
*)
11585 # When not using gcc, we currently assume that we are using
11586 # Microsoft Visual C++.
11587 # hardcode_libdir_flag_spec is actually meaningless, as there is
11588 # no search path for DLLs.
11589 case $cc_basename in
11592 hardcode_libdir_flag_spec
=' '
11593 allow_undefined_flag
=unsupported
11594 always_export_symbols
=yes
11596 # Tell ltmain to make .lib files, not .a files.
11598 # Tell ltmain to make .dll files, not .so files.
11600 # FIXME: Setting linknames here is a bad hack.
11601 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11602 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11603 cp "$export_symbols" "$output_objdir/$soname.def";
11604 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11606 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11608 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11610 # The linker will not automatically build a static lib if we build a DLL.
11611 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11612 enable_shared_with_static_runtimes
=yes
11613 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11614 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11616 old_postinstall_cmds
='chmod 644 $oldlib'
11617 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11618 lt_tool_outputfile="@TOOL_OUTPUT@"~
11619 case $lt_outputfile in
11622 lt_outputfile=$lt_outputfile.exe
11623 lt_tool_outputfile=$lt_tool_outputfile.exe
11626 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11627 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11628 $RM "$lt_outputfile.manifest";
11632 # Assume MSVC wrapper
11633 hardcode_libdir_flag_spec
=' '
11634 allow_undefined_flag
=unsupported
11635 # Tell ltmain to make .lib files, not .a files.
11637 # Tell ltmain to make .dll files, not .so files.
11639 # FIXME: Setting linknames here is a bad hack.
11640 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11641 # The linker will automatically build a .lib file if we build a DLL.
11642 old_archive_from_new_cmds
='true'
11643 # FIXME: Should let the user specify the lib program.
11644 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11645 enable_shared_with_static_runtimes
=yes
11650 darwin
* | rhapsody
*)
11653 archive_cmds_need_lc
=no
11655 hardcode_automatic
=yes
11656 hardcode_shlibpath_var
=unsupported
11657 if test yes = "$lt_cv_ld_force_load"; then
11658 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\"`'
11661 whole_archive_flag_spec
=''
11663 link_all_deplibs
=yes
11664 allow_undefined_flag
=$_lt_dar_allow_undefined
11665 case $cc_basename in
11666 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11667 *) _lt_dar_can_shared
=$GCC ;;
11669 if test yes = "$_lt_dar_can_shared"; then
11670 output_verbose_link_cmd
=func_echo_all
11671 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11672 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11673 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"
11674 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"
11683 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11684 hardcode_libdir_flag_spec
='-L$libdir'
11685 hardcode_shlibpath_var
=no
11688 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11689 # support. Future versions do this automatically, but an explicit c++rt0.o
11690 # does not break anything, and helps significantly (at the cost of a little
11693 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11694 hardcode_libdir_flag_spec
='-R$libdir'
11695 hardcode_direct
=yes
11696 hardcode_shlibpath_var
=no
11699 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11701 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11702 hardcode_direct
=yes
11703 hardcode_minus_L
=yes
11704 hardcode_shlibpath_var
=no
11707 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11708 freebsd
* | dragonfly
*)
11709 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11710 hardcode_libdir_flag_spec
='-R$libdir'
11711 hardcode_direct
=yes
11712 hardcode_shlibpath_var
=no
11716 if test yes = "$GCC"; then
11717 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'
11719 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'
11721 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11722 hardcode_libdir_separator
=:
11723 hardcode_direct
=yes
11725 # hardcode_minus_L: Not really in the search PATH,
11726 # but as the default location of the library.
11727 hardcode_minus_L
=yes
11728 export_dynamic_flag_spec
='$wl-E'
11732 if test yes,no
= "$GCC,$with_gnu_ld"; then
11733 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11735 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11737 if test no
= "$with_gnu_ld"; then
11738 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11739 hardcode_libdir_separator
=:
11740 hardcode_direct
=yes
11741 hardcode_direct_absolute
=yes
11742 export_dynamic_flag_spec
='$wl-E'
11743 # hardcode_minus_L: Not really in the search PATH,
11744 # but as the default location of the library.
11745 hardcode_minus_L
=yes
11750 if test yes,no
= "$GCC,$with_gnu_ld"; then
11753 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11756 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11759 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11765 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11768 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11772 # Older versions of the 11.00 compiler do not understand -b yet
11773 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11775 $as_echo_n "checking if $CC understands -b... " >&6; }
11776 if ${lt_cv_prog_compiler__b+:} false
; then :
11777 $as_echo_n "(cached) " >&6
11779 lt_cv_prog_compiler__b
=no
11780 save_LDFLAGS
=$LDFLAGS
11781 LDFLAGS
="$LDFLAGS -b"
11782 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11783 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11784 # The linker can only warn and ignore the option if not recognized
11785 # So say no if there are warnings
11786 if test -s conftest.err
; then
11787 # Append any errors to the config.log.
11788 cat conftest.err
1>&5
11789 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11790 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11791 if diff conftest.exp conftest.er2
>/dev
/null
; then
11792 lt_cv_prog_compiler__b
=yes
11795 lt_cv_prog_compiler__b
=yes
11799 LDFLAGS
=$save_LDFLAGS
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11803 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11805 if test yes = "$lt_cv_prog_compiler__b"; then
11806 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11808 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11814 if test no
= "$with_gnu_ld"; then
11815 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11816 hardcode_libdir_separator
=:
11821 hardcode_shlibpath_var
=no
11824 hardcode_direct
=yes
11825 hardcode_direct_absolute
=yes
11826 export_dynamic_flag_spec
='$wl-E'
11828 # hardcode_minus_L: Not really in the search PATH,
11829 # but as the default location of the library.
11830 hardcode_minus_L
=yes
11836 irix5
* | irix6
* | nonstopux
*)
11837 if test yes = "$GCC"; then
11838 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'
11839 # Try to use the -exported_symbol ld option, if it does not
11840 # work, assume that -exports_file does not work either and
11841 # implicitly export all symbols.
11842 # This should be the same for all languages, so no per-tag cache variable.
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11844 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11845 if ${lt_cv_irix_exported_symbol+:} false
; then :
11846 $as_echo_n "(cached) " >&6
11848 save_LDFLAGS
=$LDFLAGS
11849 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11852 int foo (void) { return 0; }
11854 if ac_fn_c_try_link
"$LINENO"; then :
11855 lt_cv_irix_exported_symbol
=yes
11857 lt_cv_irix_exported_symbol
=no
11859 rm -f core conftest.err conftest.
$ac_objext \
11860 conftest
$ac_exeext conftest.
$ac_ext
11861 LDFLAGS
=$save_LDFLAGS
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11864 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11865 if test yes = "$lt_cv_irix_exported_symbol"; then
11866 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'
11869 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'
11870 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'
11872 archive_cmds_need_lc
='no'
11873 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11874 hardcode_libdir_separator
=:
11876 link_all_deplibs
=yes
11880 case $cc_basename in
11882 # Fabrice Bellard et al's Tiny C Compiler
11884 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11890 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11891 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11893 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11895 hardcode_libdir_flag_spec
='-R$libdir'
11896 hardcode_direct
=yes
11897 hardcode_shlibpath_var
=no
11901 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11902 hardcode_direct
=yes
11903 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11904 hardcode_libdir_separator
=:
11905 hardcode_shlibpath_var
=no
11911 openbsd
* | bitrig
*)
11912 if test -f /usr
/libexec
/ld.so
; then
11913 hardcode_direct
=yes
11914 hardcode_shlibpath_var
=no
11915 hardcode_direct_absolute
=yes
11916 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11917 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11918 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11919 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11920 export_dynamic_flag_spec
='$wl-E'
11922 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11923 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11931 hardcode_libdir_flag_spec
='-L$libdir'
11932 hardcode_minus_L
=yes
11933 allow_undefined_flag
=unsupported
11935 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11936 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11937 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11938 $ECHO EXPORTS >> $output_objdir/$libname.def~
11939 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11940 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11941 emximp -o $lib $output_objdir/$libname.def'
11942 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11943 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11944 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11945 $ECHO EXPORTS >> $output_objdir/$libname.def~
11946 prefix_cmds="$SED"~
11947 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11948 prefix_cmds="$prefix_cmds -e 1d";
11950 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11951 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11952 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11953 emximp -o $lib $output_objdir/$libname.def'
11954 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11955 enable_shared_with_static_runtimes
=yes
11959 if test yes = "$GCC"; then
11960 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11961 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'
11963 allow_undefined_flag
=' -expect_unresolved \*'
11964 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'
11966 archive_cmds_need_lc
='no'
11967 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11968 hardcode_libdir_separator
=:
11971 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11972 if test yes = "$GCC"; then
11973 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11974 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'
11975 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11977 allow_undefined_flag
=' -expect_unresolved \*'
11978 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'
11979 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~
11980 $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'
11982 # Both c and cxx compiler support -rpath directly
11983 hardcode_libdir_flag_spec
='-rpath $libdir'
11985 archive_cmds_need_lc
='no'
11986 hardcode_libdir_separator
=:
11990 no_undefined_flag
=' -z defs'
11991 if test yes = "$GCC"; then
11993 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11994 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11995 $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'
11997 case `$CC -V 2>&1` in
12000 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12001 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12002 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12006 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12007 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12008 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12012 hardcode_libdir_flag_spec
='-R$libdir'
12013 hardcode_shlibpath_var
=no
12015 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12017 # The compiler driver will combine and reorder linker options,
12018 # but understands '-z linker_flag'. GCC discards it without '$wl',
12019 # but is careful enough not to reorder.
12020 # Supported since Solaris 2.6 (maybe 2.5.1?)
12021 if test yes = "$GCC"; then
12022 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12024 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12028 link_all_deplibs
=yes
12032 if test sequent
= "$host_vendor"; then
12033 # Use $CC to link under sequent, because it throws in some extra .o
12034 # files that make .init and .fini sections work.
12035 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12037 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12039 hardcode_libdir_flag_spec
='-L$libdir'
12040 hardcode_direct
=yes
12041 hardcode_minus_L
=yes
12042 hardcode_shlibpath_var
=no
12046 case $host_vendor in
12048 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12049 hardcode_direct
=yes # is this really true???
12052 ## LD is ld it makes a PLAMLIB
12053 ## CC just makes a GrossModule.
12054 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12055 reload_cmds
='$CC -r -o $output$reload_objs'
12059 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12060 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12063 runpath_var
='LD_RUN_PATH'
12064 hardcode_shlibpath_var
=no
12068 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12069 hardcode_shlibpath_var
=no
12070 export_dynamic_flag_spec
='-Bexport'
12074 if test -d /usr
/nec
; then
12075 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12076 hardcode_shlibpath_var
=no
12077 runpath_var
=LD_RUN_PATH
12078 hardcode_runpath_var
=yes
12083 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12084 no_undefined_flag
='$wl-z,text'
12085 archive_cmds_need_lc
=no
12086 hardcode_shlibpath_var
=no
12087 runpath_var
='LD_RUN_PATH'
12089 if test yes = "$GCC"; then
12090 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12091 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12093 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12094 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12098 sysv5
* | sco3.2v5
* | sco5v6
*)
12099 # Note: We CANNOT use -z defs as we might desire, because we do not
12100 # link with -lc, and that would cause any symbols used from libc to
12101 # always be unresolved, which means just about no library would
12102 # ever link correctly. If we're not using GNU ld we use -z text
12103 # though, which does catch some bad symbols but isn't as heavy-handed
12105 no_undefined_flag
='$wl-z,text'
12106 allow_undefined_flag
='$wl-z,nodefs'
12107 archive_cmds_need_lc
=no
12108 hardcode_shlibpath_var
=no
12109 hardcode_libdir_flag_spec
='$wl-R,$libdir'
12110 hardcode_libdir_separator
=':'
12111 link_all_deplibs
=yes
12112 export_dynamic_flag_spec
='$wl-Bexport'
12113 runpath_var
='LD_RUN_PATH'
12115 if test yes = "$GCC"; then
12116 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12117 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12119 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12120 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12125 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12126 hardcode_libdir_flag_spec
='-L$libdir'
12127 hardcode_shlibpath_var
=no
12135 if test sni
= "$host_vendor"; then
12137 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12138 export_dynamic_flag_spec
='$wl-Blargedynsym'
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12145 $as_echo "$ld_shlibs" >&6; }
12146 test no
= "$ld_shlibs" && can_build_shared
=no
12148 with_gnu_ld
=$with_gnu_ld
12165 # Do we need to explicitly link libc?
12167 case "x$archive_cmds_need_lc" in
12169 # Assume -lc should be added
12170 archive_cmds_need_lc
=yes
12172 if test yes,yes = "$GCC,$enable_shared"; then
12173 case $archive_cmds in
12175 # FIXME: we may have to deal with multi-command sequences.
12178 # Test whether the compiler implicitly links with -lc since on some
12179 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12180 # to ld, don't add -lc before -lgcc.
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12182 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12183 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
12184 $as_echo_n "(cached) " >&6
12187 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12190 (eval $ac_compile) 2>&5
12192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12193 test $ac_status = 0; } 2>conftest.err
; then
12196 libobjs
=conftest.
$ac_objext
12198 wl
=$lt_prog_compiler_wl
12199 pic_flag
=$lt_prog_compiler_pic
12205 lt_save_allow_undefined_flag
=$allow_undefined_flag
12206 allow_undefined_flag
=
12207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12208 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12211 test $ac_status = 0; }
12213 lt_cv_archive_cmds_need_lc
=no
12215 lt_cv_archive_cmds_need_lc
=yes
12217 allow_undefined_flag
=$lt_save_allow_undefined_flag
12219 cat conftest.err
1>&5
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12225 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12226 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12385 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12387 if test yes = "$GCC"; then
12389 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
12390 *) lt_awk_arg
='/^libraries:/' ;;
12393 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
12394 *) lt_sed_strip_eq
='s|=/|/|g' ;;
12396 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12397 case $lt_search_path_spec in
12399 # if the path contains ";" then we assume it to be the separator
12400 # otherwise default to the standard path separator (i.e. ":") - it is
12401 # assumed that no part of a normal pathname contains ";" but that should
12402 # okay in the real world where ";" in dirpaths is itself problematic.
12403 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12406 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12409 # Ok, now we have the path, separated by spaces, we can step through it
12410 # and add multilib dir if necessary...
12411 lt_tmp_lt_search_path_spec
=
12412 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12413 # ...but if some path component already ends with the multilib dir we assume
12414 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12415 case "$lt_multi_os_dir; $lt_search_path_spec " in
12416 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
12420 for lt_sys_path
in $lt_search_path_spec; do
12421 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12422 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12423 elif test -n "$lt_multi_os_dir"; then
12424 test -d "$lt_sys_path" && \
12425 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12428 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12429 BEGIN {RS = " "; FS = "/|\n";} {
12432 for (lt_i = NF; lt_i > 0; lt_i--) {
12433 if ($lt_i != "" && $lt_i != ".") {
12434 if ($lt_i == "..") {
12437 if (lt_count == 0) {
12438 lt_foo = "/" $lt_i lt_foo;
12445 if (lt_foo != "") { lt_freq[lt_foo]++; }
12446 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12448 # AWK program above erroneously prepends '/' to C:/dos/paths
12451 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12452 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12454 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12456 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12458 library_names_spec
=
12459 libname_spec
='lib$name'
12463 postuninstall_cmds
=
12467 shlibpath_overrides_runpath
=unknown
12469 dynamic_linker
="$host_os ld.so"
12470 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12471 need_lib_prefix
=unknown
12472 hardcode_into_libs
=no
12474 # when you set need_version to no, make sure it does not cause -set_version
12475 # flags to be left without arguments
12476 need_version
=unknown
12482 version_type
=linux
# correct to gnu/linux during the next big refactor
12483 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
12484 shlibpath_var
=LIBPATH
12486 # AIX 3 has no versioning support, so we append a major version to the name.
12487 soname_spec
='$libname$release$shared_ext$major'
12491 version_type
=linux
# correct to gnu/linux during the next big refactor
12494 hardcode_into_libs
=yes
12495 if test ia64
= "$host_cpu"; then
12496 # AIX 5 supports IA64
12497 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12498 shlibpath_var
=LD_LIBRARY_PATH
12500 # With GCC up to 2.95.x, collect2 would create an import file
12501 # for dependence libraries. The import file would start with
12502 # the line '#! .'. This would cause the generated library to
12503 # depend on '.', always an invalid library. This was fixed in
12504 # development snapshots of GCC prior to 3.0.
12506 aix4 | aix4.
[01] | aix4.
[01].
*)
12507 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12509 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
12512 can_build_shared
=no
12516 # Using Import Files as archive members, it is possible to support
12517 # filename-based versioning of shared library archives on AIX. While
12518 # this would work for both with and without runtime linking, it will
12519 # prevent static linking of such archives. So we do filename-based
12520 # shared library versioning with .so extension only, which is used
12521 # when both runtime linking and shared linking is enabled.
12522 # Unfortunately, runtime linking may impact performance, so we do
12523 # not want this to be the default eventually. Also, we use the
12524 # versioned .so libs for executables only if there is the -brtl
12525 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12526 # To allow for filename-based versioning support, we need to create
12527 # libNAME.so.V as an archive file, containing:
12528 # *) an Import File, referring to the versioned filename of the
12529 # archive as well as the shared archive member, telling the
12530 # bitwidth (32 or 64) of that shared object, and providing the
12531 # list of exported symbols of that shared object, eventually
12532 # decorated with the 'weak' keyword
12533 # *) the shared object with the F_LOADONLY flag set, to really avoid
12534 # it being seen by the linker.
12535 # At run time we better use the real file rather than another symlink,
12536 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12538 case $with_aix_soname,$aix_use_runtimelinking in
12539 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12540 # soname into executable. Probably we can add versioning support to
12541 # collect2, so additional links can be useful in future.
12542 aix
,yes) # traditional libtool
12543 dynamic_linker
='AIX unversionable lib.so'
12544 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12545 # instead of lib<name>.a to let people know that these are not
12546 # typical AIX shared libraries.
12547 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12549 aix
,no
) # traditional AIX only
12550 dynamic_linker
='AIX lib.a(lib.so.V)'
12551 # We preserve .a as extension for shared libraries through AIX4.2
12552 # and later when we are not doing run time linking.
12553 library_names_spec
='$libname$release.a $libname.a'
12554 soname_spec
='$libname$release$shared_ext$major'
12556 svr4
,*) # full svr4 only
12557 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12558 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12559 # We do not specify a path in Import Files, so LIBPATH fires.
12560 shlibpath_overrides_runpath
=yes
12562 *,yes) # both, prefer svr4
12563 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12564 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12565 # unpreferred sharedlib libNAME.a needs extra handling
12566 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"'
12567 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"'
12568 # We do not specify a path in Import Files, so LIBPATH fires.
12569 shlibpath_overrides_runpath
=yes
12571 *,no
) # both, prefer aix
12572 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12573 library_names_spec
='$libname$release.a $libname.a'
12574 soname_spec
='$libname$release$shared_ext$major'
12575 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12576 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)'
12577 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"'
12580 shlibpath_var
=LIBPATH
12587 # Since July 2007 AmigaOS4 officially supports .so libraries.
12588 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12589 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12592 library_names_spec
='$libname.ixlibrary $libname.a'
12593 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12594 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'
12600 library_names_spec
='$libname$shared_ext'
12601 dynamic_linker
="$host_os ld.so"
12602 shlibpath_var
=LIBRARY_PATH
12606 version_type
=linux
# correct to gnu/linux during the next big refactor
12608 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12609 soname_spec
='$libname$release$shared_ext$major'
12610 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12611 shlibpath_var
=LD_LIBRARY_PATH
12612 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12613 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12614 # the default ld.so.conf also contains /usr/contrib/lib and
12615 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12616 # libtool to hard-code these into programs
12619 cygwin
* | mingw
* | pw32
* | cegcc
*)
12620 version_type
=windows
12625 case $GCC,$cc_basename in
12628 library_names_spec
='$libname.dll.a'
12629 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12630 postinstall_cmds
='base_file=`basename \$file`~
12631 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12632 dldir=$destdir/`dirname \$dlpath`~
12633 test -d \$dldir || mkdir -p \$dldir~
12634 $install_prog $dir/$dlname \$dldir/$dlname~
12635 chmod a+x \$dldir/$dlname~
12636 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12637 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12639 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12640 dlpath=$dir/\$dldll~
12642 shlibpath_overrides_runpath
=yes
12646 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12647 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12649 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12652 # MinGW DLLs use traditional 'lib' prefix
12653 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12656 # pw32 DLLs use 'pw' prefix rather than 'lib'
12657 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12660 dynamic_linker
='Win32 ld.exe'
12665 libname_spec
='$name'
12666 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12667 library_names_spec
='$libname.dll.lib'
12671 sys_lib_search_path_spec
=
12674 for lt_path
in $LIB
12677 # Let DOS variable expansion print the short 8.3 style file name.
12678 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12679 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12682 # Convert to MSYS style.
12683 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12686 # Convert to unix form, then to dos form, then back to unix form
12687 # but this time dos style (no spaces!) so that the unix form looks
12688 # like /cygdrive/c/PROGRA~1:/cygdr...
12689 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12690 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12691 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12694 sys_lib_search_path_spec
=$LIB
12695 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12696 # It is most probably a Windows format PATH.
12697 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12699 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12701 # FIXME: find the short name or the path components, as spaces are
12702 # common. (e.g. "Program Files" -> "PROGRA~1")
12706 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12707 postinstall_cmds
='base_file=`basename \$file`~
12708 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12709 dldir=$destdir/`dirname \$dlpath`~
12710 test -d \$dldir || mkdir -p \$dldir~
12711 $install_prog $dir/$dlname \$dldir/$dlname'
12712 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12713 dlpath=$dir/\$dldll~
12715 shlibpath_overrides_runpath
=yes
12716 dynamic_linker
='Win32 link.exe'
12720 # Assume MSVC wrapper
12721 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12722 dynamic_linker
='Win32 ld.exe'
12725 # FIXME: first we should search . and the directory the executable is in
12729 darwin
* | rhapsody
*)
12730 dynamic_linker
="$host_os dyld"
12731 version_type
=darwin
12734 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12735 soname_spec
='$libname$release$major$shared_ext'
12736 shlibpath_overrides_runpath
=yes
12737 shlibpath_var
=DYLD_LIBRARY_PATH
12738 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12740 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12741 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12745 version_type
=linux
# correct to gnu/linux during the next big refactor
12748 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12749 soname_spec
='$libname$release$shared_ext$major'
12750 shlibpath_var
=LD_LIBRARY_PATH
12753 freebsd
* | dragonfly
*)
12754 # DragonFly does not have aout. When/if they implement a new
12755 # versioning mechanism, adjust this.
12756 if test -x /usr
/bin
/objformat
; then
12757 objformat
=`/usr/bin/objformat`
12760 freebsd
[23].
*) objformat
=aout
;;
12761 *) objformat
=elf
;;
12764 version_type
=freebsd-
$objformat
12765 case $version_type in
12767 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12768 soname_spec
='$libname$release$shared_ext$major'
12773 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12777 shlibpath_var
=LD_LIBRARY_PATH
12780 shlibpath_overrides_runpath
=yes
12782 freebsd3.
[01]* | freebsdelf3.
[01]*)
12783 shlibpath_overrides_runpath
=yes
12784 hardcode_into_libs
=yes
12786 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12787 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12788 shlibpath_overrides_runpath
=no
12789 hardcode_into_libs
=yes
12791 *) # from 4.6 on, and DragonFly
12792 shlibpath_overrides_runpath
=yes
12793 hardcode_into_libs
=yes
12799 version_type
=linux
# correct to gnu/linux during the next big refactor
12802 dynamic_linker
="$host_os runtime_loader"
12803 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12804 soname_spec
='$libname$release$shared_ext$major'
12805 shlibpath_var
=LIBRARY_PATH
12806 shlibpath_overrides_runpath
=no
12807 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12808 hardcode_into_libs
=yes
12811 hpux9
* | hpux10
* | hpux11
*)
12812 # Give a soname corresponding to the major version so that dld.sl refuses to
12813 # link against other versions.
12820 hardcode_into_libs
=yes
12821 dynamic_linker
="$host_os dld.so"
12822 shlibpath_var
=LD_LIBRARY_PATH
12823 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12824 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12825 soname_spec
='$libname$release$shared_ext$major'
12826 if test 32 = "$HPUX_IA64_MODE"; then
12827 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12828 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12830 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12831 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12836 hardcode_into_libs
=yes
12837 dynamic_linker
="$host_os dld.sl"
12838 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12839 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12840 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12841 soname_spec
='$libname$release$shared_ext$major'
12842 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12843 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12847 dynamic_linker
="$host_os dld.sl"
12848 shlibpath_var
=SHLIB_PATH
12849 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12850 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12851 soname_spec
='$libname$release$shared_ext$major'
12854 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12855 postinstall_cmds
='chmod 555 $lib'
12856 # or fails outright, so override atomically:
12857 install_override_mode
=555
12861 version_type
=linux
# correct to gnu/linux during the next big refactor
12864 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12865 soname_spec
='$libname$release$shared_ext$major'
12866 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12867 shlibpath_var
=LD_LIBRARY_PATH
12868 shlibpath_overrides_runpath
=no
12869 hardcode_into_libs
=yes
12872 irix5
* | irix6
* | nonstopux
*)
12874 nonstopux
*) version_type
=nonstopux
;;
12876 if test yes = "$lt_cv_prog_gnu_ld"; then
12877 version_type
=linux
# correct to gnu/linux during the next big refactor
12884 soname_spec
='$libname$release$shared_ext$major'
12885 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12887 irix5
* | nonstopux
*)
12888 libsuff
= shlibsuff
=
12891 case $LD in # libtool.m4 will add one of these switches to LD
12892 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12893 libsuff
= shlibsuff
= libmagic
=32-bit;;
12894 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12895 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12896 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12897 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12898 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12902 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12903 shlibpath_overrides_runpath
=no
12904 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12905 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12906 hardcode_into_libs
=yes
12909 # No shared lib support for Linux oldld, aout, or coff.
12910 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12915 version_type
=none
# Android doesn't support versioned libraries.
12918 library_names_spec
='$libname$release$shared_ext'
12919 soname_spec
='$libname$release$shared_ext'
12921 shlibpath_var
=LD_LIBRARY_PATH
12922 shlibpath_overrides_runpath
=yes
12924 # This implies no fast_install, which is unacceptable.
12925 # Some rework will be needed to allow for fast_install
12926 # before this can be enabled.
12927 hardcode_into_libs
=yes
12929 dynamic_linker
='Android linker'
12930 # Don't embed -rpath directories since the linker doesn't support them.
12931 hardcode_libdir_flag_spec
='-L$libdir'
12934 # This must be glibc/ELF.
12935 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12936 version_type
=linux
# correct to gnu/linux during the next big refactor
12939 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12940 soname_spec
='$libname$release$shared_ext$major'
12941 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12942 shlibpath_var
=LD_LIBRARY_PATH
12943 shlibpath_overrides_runpath
=no
12945 # Some binutils ld are patched to set DT_RUNPATH
12946 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12947 $as_echo_n "(cached) " >&6
12949 lt_cv_shlibpath_overrides_runpath
=no
12950 save_LDFLAGS
=$LDFLAGS
12951 save_libdir
=$libdir
12952 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12953 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12965 if ac_fn_c_try_link
"$LINENO"; then :
12966 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12967 lt_cv_shlibpath_overrides_runpath
=yes
12970 rm -f core conftest.err conftest.
$ac_objext \
12971 conftest
$ac_exeext conftest.
$ac_ext
12972 LDFLAGS
=$save_LDFLAGS
12973 libdir
=$save_libdir
12977 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12979 # This implies no fast_install, which is unacceptable.
12980 # Some rework will be needed to allow for fast_install
12981 # before this can be enabled.
12982 hardcode_into_libs
=yes
12984 # Ideally, we could use ldconfig to report *all* directores which are
12985 # searched for libraries, however this is still not possible. Aside from not
12986 # being certain /sbin/ldconfig is available, command
12987 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12988 # even though it is searched at run-time. Try to do the best guess by
12989 # appending ld.so.conf contents (and includes) to the search path.
12990 if test -f /etc
/ld.so.conf
; then
12991 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' ' '`
12992 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12995 # We used to test for /lib/ld.so.1 and disable shared libraries on
12996 # powerpc, because MkLinux only supported shared libraries with the
12997 # GNU dynamic linker. Since this was broken with cross compilers,
12998 # most powerpc-linux boxes support dynamic linking these days and
12999 # people can always --disable-shared, the test was removed, and we
13000 # assume the GNU/Linux dynamic linker is in use.
13001 dynamic_linker
='GNU/Linux ld.so'
13008 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13009 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13010 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13011 dynamic_linker
='NetBSD (a.out) ld.so'
13013 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13014 soname_spec
='$libname$release$shared_ext$major'
13015 dynamic_linker
='NetBSD ld.elf_so'
13017 shlibpath_var
=LD_LIBRARY_PATH
13018 shlibpath_overrides_runpath
=yes
13019 hardcode_into_libs
=yes
13023 version_type
=linux
# correct to gnu/linux during the next big refactor
13024 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13025 shlibpath_var
=LD_LIBRARY_PATH
13026 shlibpath_overrides_runpath
=yes
13033 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13034 soname_spec
='$libname$release$shared_ext$major'
13035 shlibpath_var
=LD_LIBRARY_PATH
13036 shlibpath_overrides_runpath
=no
13037 hardcode_into_libs
=yes
13038 dynamic_linker
='ldqnx.so'
13041 openbsd
* | bitrig
*)
13043 sys_lib_dlsearch_path_spec
=/usr
/lib
13045 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13050 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13051 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13052 shlibpath_var
=LD_LIBRARY_PATH
13053 shlibpath_overrides_runpath
=yes
13057 libname_spec
='$name'
13058 version_type
=windows
13062 # OS/2 can only load a DLL with a base name of 8 characters or less.
13063 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
13064 v=$($ECHO $release$versuffix | tr -d .-);
13065 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13066 $ECHO $n$v`$shared_ext'
13067 library_names_spec
='${libname}_dll.$libext'
13068 dynamic_linker
='OS/2 ld.exe'
13069 shlibpath_var
=BEGINLIBPATH
13070 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13071 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13072 postinstall_cmds
='base_file=`basename \$file`~
13073 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13074 dldir=$destdir/`dirname \$dlpath`~
13075 test -d \$dldir || mkdir -p \$dldir~
13076 $install_prog $dir/$dlname \$dldir/$dlname~
13077 chmod a+x \$dldir/$dlname~
13078 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13079 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13081 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13082 dlpath=$dir/\$dldll~
13086 osf3
* | osf4
* | osf5
*)
13090 soname_spec
='$libname$release$shared_ext$major'
13091 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13092 shlibpath_var
=LD_LIBRARY_PATH
13093 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13094 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13102 version_type
=linux
# correct to gnu/linux during the next big refactor
13105 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13106 soname_spec
='$libname$release$shared_ext$major'
13107 shlibpath_var
=LD_LIBRARY_PATH
13108 shlibpath_overrides_runpath
=yes
13109 hardcode_into_libs
=yes
13110 # ldd complains unless libraries are executable
13111 postinstall_cmds
='chmod +x $lib'
13116 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13117 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13118 shlibpath_var
=LD_LIBRARY_PATH
13119 shlibpath_overrides_runpath
=yes
13120 if test yes = "$with_gnu_ld"; then
13127 version_type
=linux
# correct to gnu/linux during the next big refactor
13128 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13129 soname_spec
='$libname$release$shared_ext$major'
13130 shlibpath_var
=LD_LIBRARY_PATH
13131 case $host_vendor in
13133 shlibpath_overrides_runpath
=no
13135 runpath_var
=LD_RUN_PATH
13143 shlibpath_overrides_runpath
=no
13144 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13150 if test -d /usr
/nec
; then
13151 version_type
=linux
# correct to gnu/linux during the next big refactor
13152 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13153 soname_spec
='$libname$shared_ext.$major'
13154 shlibpath_var
=LD_LIBRARY_PATH
13158 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13162 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13163 soname_spec
='$libname$release$shared_ext$major'
13164 shlibpath_var
=LD_LIBRARY_PATH
13165 shlibpath_overrides_runpath
=yes
13166 hardcode_into_libs
=yes
13167 if test yes = "$with_gnu_ld"; then
13168 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13170 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13173 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13177 sys_lib_dlsearch_path_spec
='/usr/lib'
13181 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13182 version_type
=linux
# correct to gnu/linux during the next big refactor
13185 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13186 shlibpath_var
=LD_LIBRARY_PATH
13187 shlibpath_overrides_runpath
=no
13188 hardcode_into_libs
=yes
13192 version_type
=linux
# correct to gnu/linux during the next big refactor
13193 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13194 soname_spec
='$libname$release$shared_ext$major'
13195 shlibpath_var
=LD_LIBRARY_PATH
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13203 $as_echo "$dynamic_linker" >&6; }
13204 test no
= "$dynamic_linker" && can_build_shared
=no
13206 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13207 if test yes = "$GCC"; then
13208 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13211 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13212 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
13215 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13216 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
13219 # lt_cv_sys_lib... is unaugmented for libtool script decls...
13220 lt_cv_sys_lib_dlsearch_path_spec
=$sys_lib_dlsearch_path_spec
13222 # ..but sys_lib_... needs LT_SYS_LIBRARY_PATH munging for
13223 # LT_SYS_DLSEARCH_PATH macro in ltdl.m4 to work with the correct paths:
13224 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13318 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13320 if test -n "$hardcode_libdir_flag_spec" ||
13321 test -n "$runpath_var" ||
13322 test yes = "$hardcode_automatic"; then
13324 # We can hardcode non-existent directories.
13325 if test no
!= "$hardcode_direct" &&
13326 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13327 # have to relink, otherwise we might link with an installed library
13328 # when we should be linking with a yet-to-be-installed one
13329 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13330 test no
!= "$hardcode_minus_L"; then
13331 # Linking always hardcodes the temporary library directory.
13332 hardcode_action
=relink
13334 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13335 hardcode_action
=immediate
13338 # We cannot hardcode anything, or else we can only hardcode existing
13340 hardcode_action
=unsupported
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13343 $as_echo "$hardcode_action" >&6; }
13345 if test relink
= "$hardcode_action" ||
13346 test yes = "$inherit_rpath"; then
13347 # Fast installation is not supported
13348 enable_fast_install
=no
13349 elif test yes = "$shlibpath_overrides_runpath" ||
13350 test no
= "$enable_shared"; then
13351 # Fast installation is not necessary
13352 enable_fast_install
=needless
13360 if test yes != "$enable_dlopen"; then
13361 enable_dlopen
=unknown
13362 enable_dlopen_self
=unknown
13363 enable_dlopen_self_static
=unknown
13370 lt_cv_dlopen
=load_add_on
13372 lt_cv_dlopen_self
=yes
13375 mingw
* | pw32
* | cegcc
*)
13376 lt_cv_dlopen
=LoadLibrary
13381 lt_cv_dlopen
=dlopen
13386 # if libdl is installed we need to link against it
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13388 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13389 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13390 $as_echo_n "(cached) " >&6
13392 ac_check_lib_save_LIBS
=$LIBS
13394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13412 if ac_fn_c_try_link
"$LINENO"; then :
13413 ac_cv_lib_dl_dlopen
=yes
13415 ac_cv_lib_dl_dlopen
=no
13417 rm -f core conftest.err conftest.
$ac_objext \
13418 conftest
$ac_exeext conftest.
$ac_ext
13419 LIBS
=$ac_check_lib_save_LIBS
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13422 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13423 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13424 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13429 lt_cv_dlopen_self
=yes
13436 # Don't try to run any link tests for TPF. We know it's impossible
13437 # because TPF is a cross-compiler, and we know how we open DSOs.
13438 lt_cv_dlopen
=dlopen
13440 lt_cv_dlopen_self
=no
13444 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13445 if test "x$ac_cv_func_shl_load" = xyes
; then :
13446 lt_cv_dlopen
=shl_load
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13449 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13450 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13451 $as_echo_n "(cached) " >&6
13453 ac_check_lib_save_LIBS
=$LIBS
13455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13458 /* Override any GCC internal prototype to avoid an error.
13459 Use char because int might match the return type of a GCC
13460 builtin and then its argument prototype would still apply. */
13468 return shl_load ();
13473 if ac_fn_c_try_link
"$LINENO"; then :
13474 ac_cv_lib_dld_shl_load
=yes
13476 ac_cv_lib_dld_shl_load
=no
13478 rm -f core conftest.err conftest.
$ac_objext \
13479 conftest
$ac_exeext conftest.
$ac_ext
13480 LIBS
=$ac_check_lib_save_LIBS
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13483 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13484 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13485 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
13487 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13488 if test "x$ac_cv_func_dlopen" = xyes
; then :
13489 lt_cv_dlopen
=dlopen
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13492 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13493 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13494 $as_echo_n "(cached) " >&6
13496 ac_check_lib_save_LIBS
=$LIBS
13498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13499 /* end confdefs.h. */
13501 /* Override any GCC internal prototype to avoid an error.
13502 Use char because int might match the return type of a GCC
13503 builtin and then its argument prototype would still apply. */
13516 if ac_fn_c_try_link
"$LINENO"; then :
13517 ac_cv_lib_dl_dlopen
=yes
13519 ac_cv_lib_dl_dlopen
=no
13521 rm -f core conftest.err conftest.
$ac_objext \
13522 conftest
$ac_exeext conftest.
$ac_ext
13523 LIBS
=$ac_check_lib_save_LIBS
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13526 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13527 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13528 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13531 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13532 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13533 $as_echo_n "(cached) " >&6
13535 ac_check_lib_save_LIBS
=$LIBS
13536 LIBS
="-lsvld $LIBS"
13537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13540 /* Override any GCC internal prototype to avoid an error.
13541 Use char because int might match the return type of a GCC
13542 builtin and then its argument prototype would still apply. */
13555 if ac_fn_c_try_link
"$LINENO"; then :
13556 ac_cv_lib_svld_dlopen
=yes
13558 ac_cv_lib_svld_dlopen
=no
13560 rm -f core conftest.err conftest.
$ac_objext \
13561 conftest
$ac_exeext conftest.
$ac_ext
13562 LIBS
=$ac_check_lib_save_LIBS
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13565 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13566 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13567 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13570 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13571 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13572 $as_echo_n "(cached) " >&6
13574 ac_check_lib_save_LIBS
=$LIBS
13576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13579 /* Override any GCC internal prototype to avoid an error.
13580 Use char because int might match the return type of a GCC
13581 builtin and then its argument prototype would still apply. */
13589 return dld_link ();
13594 if ac_fn_c_try_link
"$LINENO"; then :
13595 ac_cv_lib_dld_dld_link
=yes
13597 ac_cv_lib_dld_dld_link
=no
13599 rm -f core conftest.err conftest.
$ac_objext \
13600 conftest
$ac_exeext conftest.
$ac_ext
13601 LIBS
=$ac_check_lib_save_LIBS
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13604 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13605 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13606 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13627 if test no
= "$lt_cv_dlopen"; then
13633 case $lt_cv_dlopen in
13635 save_CPPFLAGS
=$CPPFLAGS
13636 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13638 save_LDFLAGS
=$LDFLAGS
13639 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13642 LIBS
="$lt_cv_dlopen_libs $LIBS"
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13645 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13646 if ${lt_cv_dlopen_self+:} false
; then :
13647 $as_echo_n "(cached) " >&6
13649 if test yes = "$cross_compiling"; then :
13650 lt_cv_dlopen_self
=cross
13652 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13653 lt_status
=$lt_dlunknown
13654 cat > conftest.
$ac_ext <<_LT_EOF
13655 #line $LINENO "configure"
13656 #include "confdefs.h"
13665 # define LT_DLGLOBAL RTLD_GLOBAL
13668 # define LT_DLGLOBAL DL_GLOBAL
13670 # define LT_DLGLOBAL 0
13674 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13675 find out it does not work in some platform. */
13676 #ifndef LT_DLLAZY_OR_NOW
13678 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13681 # define LT_DLLAZY_OR_NOW DL_LAZY
13684 # define LT_DLLAZY_OR_NOW RTLD_NOW
13687 # define LT_DLLAZY_OR_NOW DL_NOW
13689 # define LT_DLLAZY_OR_NOW 0
13696 /* When -fvisibility=hidden is used, assume the code has been annotated
13697 correspondingly for the symbols needed. */
13698 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13699 int fnord () __attribute__((visibility("default")));
13702 int fnord () { return 42; }
13705 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13706 int status = $lt_dlunknown;
13710 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13713 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13714 else puts (dlerror ());
13716 /* dlclose (self); */
13724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13725 (eval $ac_link) 2>&5
13727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13728 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13729 (.
/conftest
; exit; ) >&5 2>/dev
/null
13731 case x
$lt_status in
13732 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13733 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13734 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13737 # compilation failed
13738 lt_cv_dlopen_self
=no
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13746 $as_echo "$lt_cv_dlopen_self" >&6; }
13748 if test yes = "$lt_cv_dlopen_self"; then
13749 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13751 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13752 if ${lt_cv_dlopen_self_static+:} false
; then :
13753 $as_echo_n "(cached) " >&6
13755 if test yes = "$cross_compiling"; then :
13756 lt_cv_dlopen_self_static
=cross
13758 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13759 lt_status
=$lt_dlunknown
13760 cat > conftest.
$ac_ext <<_LT_EOF
13761 #line $LINENO "configure"
13762 #include "confdefs.h"
13771 # define LT_DLGLOBAL RTLD_GLOBAL
13774 # define LT_DLGLOBAL DL_GLOBAL
13776 # define LT_DLGLOBAL 0
13780 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13781 find out it does not work in some platform. */
13782 #ifndef LT_DLLAZY_OR_NOW
13784 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13787 # define LT_DLLAZY_OR_NOW DL_LAZY
13790 # define LT_DLLAZY_OR_NOW RTLD_NOW
13793 # define LT_DLLAZY_OR_NOW DL_NOW
13795 # define LT_DLLAZY_OR_NOW 0
13802 /* When -fvisibility=hidden is used, assume the code has been annotated
13803 correspondingly for the symbols needed. */
13804 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13805 int fnord () __attribute__((visibility("default")));
13808 int fnord () { return 42; }
13811 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13812 int status = $lt_dlunknown;
13816 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13819 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13820 else puts (dlerror ());
13822 /* dlclose (self); */
13830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13831 (eval $ac_link) 2>&5
13833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13834 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13835 (.
/conftest
; exit; ) >&5 2>/dev
/null
13837 case x
$lt_status in
13838 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13839 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13840 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13843 # compilation failed
13844 lt_cv_dlopen_self_static
=no
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13852 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13855 CPPFLAGS
=$save_CPPFLAGS
13856 LDFLAGS
=$save_LDFLAGS
13861 case $lt_cv_dlopen_self in
13862 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13863 *) enable_dlopen_self
=unknown
;;
13866 case $lt_cv_dlopen_self_static in
13867 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13868 *) enable_dlopen_self_static
=unknown
;;
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13891 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13892 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13893 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13894 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13896 $as_echo "yes" >&6; }
13898 # FIXME - insert some real tests, host_os isn't really good enough
13901 if test -n "$STRIP"; then
13902 striplib
="$STRIP -x"
13903 old_striplib
="$STRIP -S"
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13905 $as_echo "yes" >&6; }
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13908 $as_echo "no" >&6; }
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13913 $as_echo "no" >&6; }
13929 # Report what library types will actually be built
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13931 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13933 $as_echo "$can_build_shared" >&6; }
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13936 $as_echo_n "checking whether to build shared libraries... " >&6; }
13937 test no
= "$can_build_shared" && enable_shared
=no
13939 # On AIX, shared libraries and static libraries use the same namespace, and
13940 # are all built from PIC.
13943 test yes = "$enable_shared" && enable_static
=no
13944 if test -n "$RANLIB"; then
13945 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13946 postinstall_cmds
='$RANLIB $lib'
13951 if test ia64
!= "$host_cpu"; then
13952 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13953 yes,aix
,yes) ;; # shared object as lib.so file only
13954 yes,svr4
,*) ;; # shared object as lib.so archive member only
13955 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13961 $as_echo "$enable_shared" >&6; }
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13964 $as_echo_n "checking whether to build static libraries... " >&6; }
13965 # Make sure either enable_shared or enable_static is yes.
13966 test yes = "$enable_shared" || enable_static
=yes
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13968 $as_echo "$enable_static" >&6; }
13975 ac_cpp
='$CPP $CPPFLAGS'
13976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13996 ac_config_commands
="$ac_config_commands libtool"
14001 # Only expand once:
14004 # Check whether --enable-largefile was given.
14005 if test "${enable_largefile+set}" = set; then :
14006 enableval
=$enable_largefile;
14009 if test "$enable_largefile" != no
; then
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14012 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14013 if ${ac_cv_sys_largefile_CC+:} false
; then :
14014 $as_echo_n "(cached) " >&6
14016 ac_cv_sys_largefile_CC
=no
14017 if test "$GCC" != yes; then
14020 # IRIX 6.2 and later do not support large files by default,
14021 # so use the C compiler's -n32 option if that helps.
14022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14024 #include <sys/types.h>
14025 /* Check that off_t can represent 2**63 - 1 correctly.
14026 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14027 since some C++ compilers masquerading as C compilers
14028 incorrectly reject 9223372036854775807. */
14029 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14030 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14031 && LARGE_OFF_T % 2147483647 == 1)
14041 if ac_fn_c_try_compile
"$LINENO"; then :
14044 rm -f core conftest.err conftest.
$ac_objext
14046 if ac_fn_c_try_compile
"$LINENO"; then :
14047 ac_cv_sys_largefile_CC
=' -n32'; break
14049 rm -f core conftest.err conftest.
$ac_objext
14053 rm -f conftest.
$ac_ext
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14057 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14058 if test "$ac_cv_sys_largefile_CC" != no
; then
14059 CC
=$CC$ac_cv_sys_largefile_CC
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14063 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14064 if ${ac_cv_sys_file_offset_bits+:} false
; then :
14065 $as_echo_n "(cached) " >&6
14068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14070 #include <sys/types.h>
14071 /* Check that off_t can represent 2**63 - 1 correctly.
14072 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14073 since some C++ compilers masquerading as C compilers
14074 incorrectly reject 9223372036854775807. */
14075 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14076 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14077 && LARGE_OFF_T % 2147483647 == 1)
14087 if ac_fn_c_try_compile
"$LINENO"; then :
14088 ac_cv_sys_file_offset_bits
=no
; break
14090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14092 /* end confdefs.h. */
14093 #define _FILE_OFFSET_BITS 64
14094 #include <sys/types.h>
14095 /* Check that off_t can represent 2**63 - 1 correctly.
14096 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14097 since some C++ compilers masquerading as C compilers
14098 incorrectly reject 9223372036854775807. */
14099 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14100 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14101 && LARGE_OFF_T % 2147483647 == 1)
14111 if ac_fn_c_try_compile
"$LINENO"; then :
14112 ac_cv_sys_file_offset_bits
=64; break
14114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14115 ac_cv_sys_file_offset_bits
=unknown
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14120 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14121 case $ac_cv_sys_file_offset_bits in #(
14124 cat >>confdefs.h
<<_ACEOF
14125 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14130 if test $ac_cv_sys_file_offset_bits = unknown
; then
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14132 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14133 if ${ac_cv_sys_large_files+:} false
; then :
14134 $as_echo_n "(cached) " >&6
14137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14139 #include <sys/types.h>
14140 /* Check that off_t can represent 2**63 - 1 correctly.
14141 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14142 since some C++ compilers masquerading as C compilers
14143 incorrectly reject 9223372036854775807. */
14144 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14145 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14146 && LARGE_OFF_T % 2147483647 == 1)
14156 if ac_fn_c_try_compile
"$LINENO"; then :
14157 ac_cv_sys_large_files
=no
; break
14159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14162 #define _LARGE_FILES 1
14163 #include <sys/types.h>
14164 /* Check that off_t can represent 2**63 - 1 correctly.
14165 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14166 since some C++ compilers masquerading as C compilers
14167 incorrectly reject 9223372036854775807. */
14168 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14169 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14170 && LARGE_OFF_T % 2147483647 == 1)
14180 if ac_fn_c_try_compile
"$LINENO"; then :
14181 ac_cv_sys_large_files
=1; break
14183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14184 ac_cv_sys_large_files
=unknown
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14189 $as_echo "$ac_cv_sys_large_files" >&6; }
14190 case $ac_cv_sys_large_files in #(
14193 cat >>confdefs.h
<<_ACEOF
14194 #define _LARGE_FILES $ac_cv_sys_large_files
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
14205 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
14206 if ${ac_cv_sys_largefile_source+:} false
; then :
14207 $as_echo_n "(cached) " >&6
14210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14212 #include <sys/types.h> /* for off_t */
14217 int (*fp) (FILE *, off_t, int) = fseeko;
14218 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
14223 if ac_fn_c_try_link
"$LINENO"; then :
14224 ac_cv_sys_largefile_source
=no
; break
14226 rm -f core conftest.err conftest.
$ac_objext \
14227 conftest
$ac_exeext conftest.
$ac_ext
14228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14230 #define _LARGEFILE_SOURCE 1
14231 #include <sys/types.h> /* for off_t */
14236 int (*fp) (FILE *, off_t, int) = fseeko;
14237 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
14242 if ac_fn_c_try_link
"$LINENO"; then :
14243 ac_cv_sys_largefile_source
=1; break
14245 rm -f core conftest.err conftest.
$ac_objext \
14246 conftest
$ac_exeext conftest.
$ac_ext
14247 ac_cv_sys_largefile_source
=unknown
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
14252 $as_echo "$ac_cv_sys_largefile_source" >&6; }
14253 case $ac_cv_sys_largefile_source in #(
14256 cat >>confdefs.h
<<_ACEOF
14257 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
14263 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
14264 # in glibc 2.1.3, but that breaks too many other things.
14265 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
14266 if test $ac_cv_sys_largefile_source != unknown
; then
14268 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
14272 ac_header_dirent
=no
14273 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
14274 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
14276 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
14277 if eval \
${$as_ac_Header+:} false
; then :
14278 $as_echo_n "(cached) " >&6
14280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 #include <sys/types.h>
14294 if ac_fn_c_try_compile
"$LINENO"; then :
14295 eval "$as_ac_Header=yes"
14297 eval "$as_ac_Header=no"
14299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14301 eval ac_res
=\$
$as_ac_Header
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14303 $as_echo "$ac_res" >&6; }
14304 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14305 cat >>confdefs.h
<<_ACEOF
14306 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
14309 ac_header_dirent
=$ac_hdr; break
14313 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
14314 if test $ac_header_dirent = dirent.h
; then
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14316 $as_echo_n "checking for library containing opendir... " >&6; }
14317 if ${ac_cv_search_opendir+:} false
; then :
14318 $as_echo_n "(cached) " >&6
14320 ac_func_search_save_LIBS
=$LIBS
14321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14324 /* Override any GCC internal prototype to avoid an error.
14325 Use char because int might match the return type of a GCC
14326 builtin and then its argument prototype would still apply. */
14339 for ac_lib
in '' dir
; do
14340 if test -z "$ac_lib"; then
14341 ac_res
="none required"
14344 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14346 if ac_fn_c_try_link
"$LINENO"; then :
14347 ac_cv_search_opendir
=$ac_res
14349 rm -f core conftest.err conftest.
$ac_objext \
14351 if ${ac_cv_search_opendir+:} false
; then :
14355 if ${ac_cv_search_opendir+:} false
; then :
14358 ac_cv_search_opendir
=no
14360 rm conftest.
$ac_ext
14361 LIBS
=$ac_func_search_save_LIBS
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14364 $as_echo "$ac_cv_search_opendir" >&6; }
14365 ac_res
=$ac_cv_search_opendir
14366 if test "$ac_res" != no
; then :
14367 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14373 $as_echo_n "checking for library containing opendir... " >&6; }
14374 if ${ac_cv_search_opendir+:} false
; then :
14375 $as_echo_n "(cached) " >&6
14377 ac_func_search_save_LIBS
=$LIBS
14378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply. */
14396 for ac_lib
in '' x
; do
14397 if test -z "$ac_lib"; then
14398 ac_res
="none required"
14401 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14403 if ac_fn_c_try_link
"$LINENO"; then :
14404 ac_cv_search_opendir
=$ac_res
14406 rm -f core conftest.err conftest.
$ac_objext \
14408 if ${ac_cv_search_opendir+:} false
; then :
14412 if ${ac_cv_search_opendir+:} false
; then :
14415 ac_cv_search_opendir
=no
14417 rm conftest.
$ac_ext
14418 LIBS
=$ac_func_search_save_LIBS
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14421 $as_echo "$ac_cv_search_opendir" >&6; }
14422 ac_res
=$ac_cv_search_opendir
14423 if test "$ac_res" != no
; then :
14424 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14431 $as_echo_n "checking for ANSI C header files... " >&6; }
14432 if ${ac_cv_header_stdc+:} false
; then :
14433 $as_echo_n "(cached) " >&6
14435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14437 #include <stdlib.h>
14438 #include <stdarg.h>
14439 #include <string.h>
14450 if ac_fn_c_try_compile
"$LINENO"; then :
14451 ac_cv_header_stdc
=yes
14453 ac_cv_header_stdc
=no
14455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14457 if test $ac_cv_header_stdc = yes; then
14458 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14461 #include <string.h>
14464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14465 $EGREP "memchr" >/dev
/null
2>&1; then :
14468 ac_cv_header_stdc
=no
14474 if test $ac_cv_header_stdc = yes; then
14475 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14478 #include <stdlib.h>
14481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14482 $EGREP "free" >/dev
/null
2>&1; then :
14485 ac_cv_header_stdc
=no
14491 if test $ac_cv_header_stdc = yes; then
14492 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14493 if test "$cross_compiling" = yes; then :
14496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14499 #include <stdlib.h>
14500 #if ((' ' & 0x0FF) == 0x020)
14501 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14502 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14504 # define ISLOWER(c) \
14505 (('a' <= (c) && (c) <= 'i') \
14506 || ('j' <= (c) && (c) <= 'r') \
14507 || ('s' <= (c) && (c) <= 'z'))
14508 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14511 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14516 for (i = 0; i < 256; i++)
14517 if (XOR (islower (i), ISLOWER (i))
14518 || toupper (i) != TOUPPER (i))
14523 if ac_fn_c_try_run
"$LINENO"; then :
14526 ac_cv_header_stdc
=no
14528 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14529 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14535 $as_echo "$ac_cv_header_stdc" >&6; }
14536 if test $ac_cv_header_stdc = yes; then
14538 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
14543 $as_echo_n "checking whether closedir returns void... " >&6; }
14544 if ${ac_cv_func_closedir_void+:} false
; then :
14545 $as_echo_n "(cached) " >&6
14547 if test "$cross_compiling" = yes; then :
14548 ac_cv_func_closedir_void
=yes
14550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14552 $ac_includes_default
14553 #include <$ac_header_dirent>
14554 #ifndef __cplusplus
14561 return closedir (opendir (".")) != 0;
14566 if ac_fn_c_try_run
"$LINENO"; then :
14567 ac_cv_func_closedir_void
=no
14569 ac_cv_func_closedir_void
=yes
14571 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14572 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
14577 $as_echo "$ac_cv_func_closedir_void" >&6; }
14578 if test $ac_cv_func_closedir_void = yes; then
14580 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
14584 for ac_header
in assert.h float.h limits.h
pwd.h stdlib.h sys
/param.h
14586 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14587 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14588 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14589 cat >>confdefs.h
<<_ACEOF
14590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14597 for ac_func
in putenv strcasecmp strtol strstr
14599 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14600 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14601 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14602 cat >>confdefs.h
<<_ACEOF
14603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14609 for ac_func
in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr
14611 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14612 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14613 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14614 cat >>confdefs.h
<<_ACEOF
14615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14622 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14623 if ${ac_cv_c_const+:} false
; then :
14624 $as_echo_n "(cached) " >&6
14626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14633 #ifndef __cplusplus
14634 /* Ultrix mips cc rejects this sort of thing. */
14635 typedef int charset[2];
14636 const charset cs = { 0, 0 };
14637 /* SunOS 4.1.1 cc rejects this. */
14638 char const *const *pcpcc;
14640 /* NEC SVR4.0.2 mips cc rejects this. */
14641 struct point {int x, y;};
14642 static struct point const zero = {0,0};
14643 /* AIX XL C 1.02.0.0 rejects this.
14644 It does not let you subtract one const X* pointer from another in
14645 an arm of an if-expression whose if-part is not a constant
14647 const char *g = "string";
14648 pcpcc = &g + (g ? g-g : 0);
14649 /* HPUX 7.0 cc rejects these. */
14651 ppc = (char**) pcpcc;
14652 pcpcc = (char const *const *) ppc;
14653 { /* SCO 3.2v4 cc rejects this sort of thing. */
14656 char const *s = 0 ? (char *) 0 : (char const *) 0;
14661 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14662 int x[] = {25, 17};
14663 const int *foo = &x[0];
14666 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14667 typedef const int *iptr;
14671 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14672 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14673 struct s { int j; const int *ap[3]; } bx;
14674 struct s *b = &bx; b->j = 5;
14676 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14677 const int foo = 10;
14678 if (!foo) return 0;
14680 return !cs[0] && !zero.x;
14687 if ac_fn_c_try_compile
"$LINENO"; then :
14692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14695 $as_echo "$ac_cv_c_const" >&6; }
14696 if test $ac_cv_c_const = no
; then
14698 $as_echo "#define const /**/" >>confdefs.h
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14703 $as_echo_n "checking for inline... " >&6; }
14704 if ${ac_cv_c_inline+:} false
; then :
14705 $as_echo_n "(cached) " >&6
14708 for ac_kw
in inline __inline__ __inline
; do
14709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14711 #ifndef __cplusplus
14713 static $ac_kw foo_t static_foo () {return 0; }
14714 $ac_kw foo_t foo () {return 0; }
14718 if ac_fn_c_try_compile
"$LINENO"; then :
14719 ac_cv_c_inline
=$ac_kw
14721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14722 test "$ac_cv_c_inline" != no
&& break
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14727 $as_echo "$ac_cv_c_inline" >&6; }
14729 case $ac_cv_c_inline in
14732 case $ac_cv_c_inline in
14734 *) ac_val
=$ac_cv_c_inline;;
14736 cat >>confdefs.h
<<_ACEOF
14737 #ifndef __cplusplus
14738 #define inline $ac_val
14744 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14745 if test "x$ac_cv_type_size_t" = xyes
; then :
14749 cat >>confdefs.h
<<_ACEOF
14750 #define size_t unsigned int
14755 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
14756 case $ac_cv_c_int64_t in #(
14760 cat >>confdefs.h
<<_ACEOF
14761 #define int64_t $ac_cv_c_int64_t
14766 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
14767 case $ac_cv_c_uint64_t in #(
14771 $as_echo "#define _UINT64_T 1" >>confdefs.h
14774 cat >>confdefs.h
<<_ACEOF
14775 #define uint64_t $ac_cv_c_uint64_t
14780 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
14782 as_fn_error $?
"Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
14786 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14787 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14789 cat >>confdefs.h
<<_ACEOF
14790 #define HAVE_STRUCT_STAT_ST_MTIM 1
14797 if test "x$host_alias" != x
&& test "x$build_alias" = x
; then :
14798 as_fn_error $?
"when cross-compiling you must specify both --host and --build." "$LINENO" 5
14800 eval kpse_build_alias
=\
${build_alias-$build}
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14806 $as_echo_n "checking for X... " >&6; }
14809 # Check whether --with-x was given.
14810 if test "${with_x+set}" = set; then :
14814 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14815 if test "x$with_x" = xno
; then
14816 # The user explicitly disabled X.
14819 case $x_includes,$x_libraries in #(
14820 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14821 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14822 $as_echo_n "(cached) " >&6
14824 # One or both of the vars are not set, and there is no cached value.
14825 ac_x_includes
=no ac_x_libraries
=no
14826 rm -f -r conftest.dir
14827 if mkdir conftest.dir
; then
14829 cat >Imakefile
<<'_ACEOF'
14831 @echo incroot='${INCROOT}'
14833 @echo usrlibdir='${USRLIBDIR}'
14835 @echo libdir='${LIBDIR}'
14837 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14838 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14839 for ac_var
in incroot usrlibdir libdir
; do
14840 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14842 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14843 for ac_extension
in a so sl dylib la dll
; do
14844 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14845 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14846 ac_im_usrlibdir
=$ac_im_libdir; break
14849 # Screen out bogus values from the imake configuration. They are
14850 # bogus both because they are the default anyway, and because
14851 # using them would break gcc on systems where it needs fixed includes.
14852 case $ac_im_incroot in
14853 /usr
/include
) ac_x_includes
= ;;
14854 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14856 case $ac_im_usrlibdir in
14857 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14858 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14862 rm -f -r conftest.dir
14865 # Standard set of common directories for X headers.
14866 # Check X11 before X11Rn because it is often a symlink to the current release.
14880 /usr/local/X11/include
14881 /usr/local/X11R7/include
14882 /usr/local/X11R6/include
14883 /usr/local/X11R5/include
14884 /usr/local/X11R4/include
14886 /usr/local/include/X11
14887 /usr/local/include/X11R7
14888 /usr/local/include/X11R6
14889 /usr/local/include/X11R5
14890 /usr/local/include/X11R4
14894 /usr/XFree86/include/X11
14898 /usr/unsupported/include
14899 /usr/athena/include
14900 /usr/local/x11r5/include
14901 /usr/lpp/Xamples/include
14903 /usr/openwin/include
14904 /usr/openwin/share/include'
14906 if test "$ac_x_includes" = no
; then
14907 # Guess where to find include files, by looking for Xlib.h.
14908 # First, try using that file with no special directory specified.
14909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14911 #include <X11/Xlib.h>
14913 if ac_fn_c_try_cpp
"$LINENO"; then :
14914 # We can compile using X headers with no special include directory.
14917 for ac_dir
in $ac_x_header_dirs; do
14918 if test -r "$ac_dir/X11/Xlib.h"; then
14919 ac_x_includes
=$ac_dir
14924 rm -f conftest.err conftest.i conftest.
$ac_ext
14925 fi # $ac_x_includes = no
14927 if test "$ac_x_libraries" = no
; then
14928 # Check for the libraries.
14929 # See if we find them without any special options.
14930 # Don't add to $LIBS permanently.
14933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h. */
14935 #include <X11/Xlib.h>
14944 if ac_fn_c_try_link
"$LINENO"; then :
14946 # We can link X programs with no special library path.
14950 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14952 # Don't even attempt the hair of trying to link an X program!
14953 for ac_extension
in a so sl dylib la dll
; do
14954 if test -r "$ac_dir/libX11.$ac_extension"; then
14955 ac_x_libraries
=$ac_dir
14961 rm -f core conftest.err conftest.
$ac_objext \
14962 conftest
$ac_exeext conftest.
$ac_ext
14963 fi # $ac_x_libraries = no
14965 case $ac_x_includes,$ac_x_libraries in #(
14966 no
,* |
*,no |
*\'*)
14967 # Didn't find X, or a directory has "'" in its name.
14968 ac_cv_have_x
="have_x=no";; #(
14970 # Record where we found X for the cache.
14971 ac_cv_have_x
="have_x=yes\
14972 ac_x_includes='$ac_x_includes'\
14973 ac_x_libraries='$ac_x_libraries'"
14979 eval "$ac_cv_have_x"
14982 if test "$have_x" != yes; then
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14984 $as_echo "$have_x" >&6; }
14987 # If each of the values was on the command line, it overrides each guess.
14988 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14989 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14990 # Update the cache value to reflect the command line values.
14991 ac_cv_have_x
="have_x=yes\
14992 ac_x_includes='$x_includes'\
14993 ac_x_libraries='$x_libraries'"
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14995 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14998 if test "$no_x" = yes; then
14999 # Not all programs may use this symbol, but it does not hurt to define it.
15001 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
15003 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
15005 if test -n "$x_includes"; then
15006 X_CFLAGS
="$X_CFLAGS -I$x_includes"
15009 # It would also be nice to do this for all -L options, not just this one.
15010 if test -n "$x_libraries"; then
15011 X_LIBS
="$X_LIBS -L$x_libraries"
15012 # For Solaris; some versions of Sun CC require a space after -R and
15013 # others require no space. Words are not sufficient . . . .
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
15015 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
15016 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
15017 ac_xsave_c_werror_flag
=$ac_c_werror_flag
15018 ac_c_werror_flag
=yes
15019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15020 /* end confdefs.h. */
15030 if ac_fn_c_try_link
"$LINENO"; then :
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15032 $as_echo "no" >&6; }
15033 X_LIBS
="$X_LIBS -R$x_libraries"
15035 LIBS
="$ac_xsave_LIBS -R $x_libraries"
15036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15047 if ac_fn_c_try_link
"$LINENO"; then :
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15049 $as_echo "yes" >&6; }
15050 X_LIBS
="$X_LIBS -R $x_libraries"
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
15053 $as_echo "neither works" >&6; }
15055 rm -f core conftest.err conftest.
$ac_objext \
15056 conftest
$ac_exeext conftest.
$ac_ext
15058 rm -f core conftest.err conftest.
$ac_objext \
15059 conftest
$ac_exeext conftest.
$ac_ext
15060 ac_c_werror_flag
=$ac_xsave_c_werror_flag
15061 LIBS
=$ac_xsave_LIBS
15064 # Check for system-dependent libraries X programs must link with.
15065 # Do this before checking for the system-independent R6 libraries
15066 # (-lICE), since we may need -lsocket or whatever for X linking.
15068 if test "$ISC" = yes; then
15069 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
15071 # Martyn Johnson says this is needed for Ultrix, if the X
15072 # libraries were built with DECnet support. And Karl Berry says
15073 # the Alpha needs dnet_stub (dnet does not exist).
15074 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
15075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15078 /* Override any GCC internal prototype to avoid an error.
15079 Use char because int might match the return type of a GCC
15080 builtin and then its argument prototype would still apply. */
15084 char XOpenDisplay ();
15088 return XOpenDisplay ();
15093 if ac_fn_c_try_link
"$LINENO"; then :
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
15097 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
15098 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
15099 $as_echo_n "(cached) " >&6
15101 ac_check_lib_save_LIBS
=$LIBS
15102 LIBS
="-ldnet $LIBS"
15103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15106 /* Override any GCC internal prototype to avoid an error.
15107 Use char because int might match the return type of a GCC
15108 builtin and then its argument prototype would still apply. */
15116 return dnet_ntoa ();
15121 if ac_fn_c_try_link
"$LINENO"; then :
15122 ac_cv_lib_dnet_dnet_ntoa
=yes
15124 ac_cv_lib_dnet_dnet_ntoa
=no
15126 rm -f core conftest.err conftest.
$ac_objext \
15127 conftest
$ac_exeext conftest.
$ac_ext
15128 LIBS
=$ac_check_lib_save_LIBS
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
15131 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
15132 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
15133 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
15136 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
15138 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
15139 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
15140 $as_echo_n "(cached) " >&6
15142 ac_check_lib_save_LIBS
=$LIBS
15143 LIBS
="-ldnet_stub $LIBS"
15144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15147 /* Override any GCC internal prototype to avoid an error.
15148 Use char because int might match the return type of a GCC
15149 builtin and then its argument prototype would still apply. */
15157 return dnet_ntoa ();
15162 if ac_fn_c_try_link
"$LINENO"; then :
15163 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
15165 ac_cv_lib_dnet_stub_dnet_ntoa
=no
15167 rm -f core conftest.err conftest.
$ac_objext \
15168 conftest
$ac_exeext conftest.
$ac_ext
15169 LIBS
=$ac_check_lib_save_LIBS
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
15172 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
15173 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
15174 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
15179 rm -f core conftest.err conftest.
$ac_objext \
15180 conftest
$ac_exeext conftest.
$ac_ext
15181 LIBS
="$ac_xsave_LIBS"
15183 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
15184 # to get the SysV transport functions.
15185 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
15187 # The nsl library prevents programs from opening the X display
15188 # on Irix 5.2, according to T.E. Dickey.
15189 # The functions gethostbyname, getservbyname, and inet_addr are
15190 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
15191 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
15192 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
15196 if test $ac_cv_func_gethostbyname = no
; then
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
15198 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
15199 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
15200 $as_echo_n "(cached) " >&6
15202 ac_check_lib_save_LIBS
=$LIBS
15204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15205 /* end confdefs.h. */
15207 /* Override any GCC internal prototype to avoid an error.
15208 Use char because int might match the return type of a GCC
15209 builtin and then its argument prototype would still apply. */
15213 char gethostbyname ();
15217 return gethostbyname ();
15222 if ac_fn_c_try_link
"$LINENO"; then :
15223 ac_cv_lib_nsl_gethostbyname
=yes
15225 ac_cv_lib_nsl_gethostbyname
=no
15227 rm -f core conftest.err conftest.
$ac_objext \
15228 conftest
$ac_exeext conftest.
$ac_ext
15229 LIBS
=$ac_check_lib_save_LIBS
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
15232 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
15233 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
15234 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15237 if test $ac_cv_lib_nsl_gethostbyname = no
; then
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
15239 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
15240 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
15241 $as_echo_n "(cached) " >&6
15243 ac_check_lib_save_LIBS
=$LIBS
15245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15246 /* end confdefs.h. */
15248 /* Override any GCC internal prototype to avoid an error.
15249 Use char because int might match the return type of a GCC
15250 builtin and then its argument prototype would still apply. */
15254 char gethostbyname ();
15258 return gethostbyname ();
15263 if ac_fn_c_try_link
"$LINENO"; then :
15264 ac_cv_lib_bsd_gethostbyname
=yes
15266 ac_cv_lib_bsd_gethostbyname
=no
15268 rm -f core conftest.err conftest.
$ac_objext \
15269 conftest
$ac_exeext conftest.
$ac_ext
15270 LIBS
=$ac_check_lib_save_LIBS
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
15273 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
15274 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
15275 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
15281 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15282 # socket/setsockopt and other routines are undefined under SCO ODT
15283 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15284 # on later versions), says Simon Leinen: it contains gethostby*
15285 # variants that don't use the name server (or something). -lsocket
15286 # must be given before -lnsl if both are needed. We assume that
15287 # if connect needs -lnsl, so does gethostbyname.
15288 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
15289 if test "x$ac_cv_func_connect" = xyes
; then :
15293 if test $ac_cv_func_connect = no
; then
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
15295 $as_echo_n "checking for connect in -lsocket... " >&6; }
15296 if ${ac_cv_lib_socket_connect+:} false
; then :
15297 $as_echo_n "(cached) " >&6
15299 ac_check_lib_save_LIBS
=$LIBS
15300 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15304 /* Override any GCC internal prototype to avoid an error.
15305 Use char because int might match the return type of a GCC
15306 builtin and then its argument prototype would still apply. */
15319 if ac_fn_c_try_link
"$LINENO"; then :
15320 ac_cv_lib_socket_connect
=yes
15322 ac_cv_lib_socket_connect
=no
15324 rm -f core conftest.err conftest.
$ac_objext \
15325 conftest
$ac_exeext conftest.
$ac_ext
15326 LIBS
=$ac_check_lib_save_LIBS
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
15329 $as_echo "$ac_cv_lib_socket_connect" >&6; }
15330 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
15331 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15336 # Guillermo Gomez says -lposix is necessary on A/UX.
15337 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
15338 if test "x$ac_cv_func_remove" = xyes
; then :
15342 if test $ac_cv_func_remove = no
; then
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
15344 $as_echo_n "checking for remove in -lposix... " >&6; }
15345 if ${ac_cv_lib_posix_remove+:} false
; then :
15346 $as_echo_n "(cached) " >&6
15348 ac_check_lib_save_LIBS
=$LIBS
15349 LIBS
="-lposix $LIBS"
15350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15351 /* end confdefs.h. */
15353 /* Override any GCC internal prototype to avoid an error.
15354 Use char because int might match the return type of a GCC
15355 builtin and then its argument prototype would still apply. */
15368 if ac_fn_c_try_link
"$LINENO"; then :
15369 ac_cv_lib_posix_remove
=yes
15371 ac_cv_lib_posix_remove
=no
15373 rm -f core conftest.err conftest.
$ac_objext \
15374 conftest
$ac_exeext conftest.
$ac_ext
15375 LIBS
=$ac_check_lib_save_LIBS
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
15378 $as_echo "$ac_cv_lib_posix_remove" >&6; }
15379 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
15380 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15385 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15386 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
15387 if test "x$ac_cv_func_shmat" = xyes
; then :
15391 if test $ac_cv_func_shmat = no
; then
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
15393 $as_echo_n "checking for shmat in -lipc... " >&6; }
15394 if ${ac_cv_lib_ipc_shmat+:} false
; then :
15395 $as_echo_n "(cached) " >&6
15397 ac_check_lib_save_LIBS
=$LIBS
15399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15402 /* Override any GCC internal prototype to avoid an error.
15403 Use char because int might match the return type of a GCC
15404 builtin and then its argument prototype would still apply. */
15417 if ac_fn_c_try_link
"$LINENO"; then :
15418 ac_cv_lib_ipc_shmat
=yes
15420 ac_cv_lib_ipc_shmat
=no
15422 rm -f core conftest.err conftest.
$ac_objext \
15423 conftest
$ac_exeext conftest.
$ac_ext
15424 LIBS
=$ac_check_lib_save_LIBS
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
15427 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
15428 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
15429 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15435 # Check for libraries that X11R6 Xt/Xaw programs need.
15436 ac_save_LDFLAGS
=$LDFLAGS
15437 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15438 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15439 # check for ICE first), but we must link in the order -lSM -lICE or
15440 # we get undefined symbols. So assume we have SM if we have ICE.
15441 # These have to be linked with before -lX11, unlike the other
15442 # libraries we check for below, so use a different variable.
15443 # John Interrante, Karl Berry
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
15445 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
15446 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
15447 $as_echo_n "(cached) " >&6
15449 ac_check_lib_save_LIBS
=$LIBS
15450 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15454 /* Override any GCC internal prototype to avoid an error.
15455 Use char because int might match the return type of a GCC
15456 builtin and then its argument prototype would still apply. */
15460 char IceConnectionNumber ();
15464 return IceConnectionNumber ();
15469 if ac_fn_c_try_link
"$LINENO"; then :
15470 ac_cv_lib_ICE_IceConnectionNumber
=yes
15472 ac_cv_lib_ICE_IceConnectionNumber
=no
15474 rm -f core conftest.err conftest.
$ac_objext \
15475 conftest
$ac_exeext conftest.
$ac_ext
15476 LIBS
=$ac_check_lib_save_LIBS
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
15479 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
15480 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
15481 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15484 LDFLAGS
=$ac_save_LDFLAGS
15490 ac_cpp
='$CXXCPP $CPPFLAGS'
15491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15494 if test -z "$CXX"; then
15495 if test -n "$CCC"; then
15498 if test -n "$ac_tool_prefix"; then
15499 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15501 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15502 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15504 $as_echo_n "checking for $ac_word... " >&6; }
15505 if ${ac_cv_prog_CXX+:} false
; then :
15506 $as_echo_n "(cached) " >&6
15508 if test -n "$CXX"; then
15509 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15512 for as_dir
in $PATH
15515 test -z "$as_dir" && as_dir
=.
15516 for ac_exec_ext
in '' $ac_executable_extensions; do
15517 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15518 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15528 CXX
=$ac_cv_prog_CXX
15529 if test -n "$CXX"; then
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
15531 $as_echo "$CXX" >&6; }
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15534 $as_echo "no" >&6; }
15538 test -n "$CXX" && break
15541 if test -z "$CXX"; then
15543 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15545 # Extract the first word of "$ac_prog", so it can be a program name with args.
15546 set dummy
$ac_prog; ac_word
=$2
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15548 $as_echo_n "checking for $ac_word... " >&6; }
15549 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
15550 $as_echo_n "(cached) " >&6
15552 if test -n "$ac_ct_CXX"; then
15553 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15556 for as_dir
in $PATH
15559 test -z "$as_dir" && as_dir
=.
15560 for ac_exec_ext
in '' $ac_executable_extensions; do
15561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15562 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15572 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15573 if test -n "$ac_ct_CXX"; then
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15575 $as_echo "$ac_ct_CXX" >&6; }
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15578 $as_echo "no" >&6; }
15582 test -n "$ac_ct_CXX" && break
15585 if test "x$ac_ct_CXX" = x
; then
15588 case $cross_compiling:$ac_tool_warned in
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15592 ac_tool_warned
=yes ;;
15600 # Provide some information about the compiler.
15601 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
15604 for ac_option
in --version -v -V -qversion; do
15605 { { ac_try
="$ac_compiler $ac_option >&5"
15606 case "(($ac_try" in
15607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15608 *) ac_try_echo=$ac_try;;
15610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15611 $as_echo "$ac_try_echo"; } >&5
15612 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15614 if test -s conftest.err; then
15616 ... rest of stderr output deleted ...
15617 10q' conftest.err >conftest.er1
15618 cat conftest.er1 >&5
15620 rm -f conftest.er1 conftest.err
15621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15622 test $ac_status = 0; }
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
15626 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15627 if ${ac_cv_cxx_compiler_gnu+:} false; then :
15628 $as_echo_n "(cached) " >&6
15630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15631 /* end confdefs.h. */
15644 if ac_fn_cxx_try_compile "$LINENO"; then :
15645 ac_compiler_gnu=yes
15649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15650 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
15654 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15655 if test $ac_compiler_gnu = yes; then
15660 ac_test_CXXFLAGS=${CXXFLAGS+set}
15661 ac_save_CXXFLAGS=$CXXFLAGS
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
15663 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
15664 if ${ac_cv_prog_cxx_g+:} false; then :
15665 $as_echo_n "(cached) " >&6
15667 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15668 ac_cxx_werror_flag=yes
15669 ac_cv_prog_cxx_g=no
15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h. */
15682 if ac_fn_cxx_try_compile "$LINENO"; then :
15683 ac_cv_prog_cxx_g=yes
15686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15687 /* end confdefs.h. */
15697 if ac_fn_cxx_try_compile "$LINENO"; then :
15700 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15713 if ac_fn_cxx_try_compile "$LINENO"; then :
15714 ac_cv_prog_cxx_g=yes
15716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15721 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
15724 $as_echo "$ac_cv_prog_cxx_g" >&6; }
15725 if test "$ac_test_CXXFLAGS" = set; then
15726 CXXFLAGS=$ac_save_CXXFLAGS
15727 elif test $ac_cv_prog_cxx_g = yes; then
15728 if test "$GXX" = yes; then
15734 if test "$GXX" = yes; then
15741 ac_cpp='$CPP $CPPFLAGS'
15742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15746 depcc="$CXX" am_compiler_list=
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15749 $as_echo_n "checking dependency style of $depcc... " >&6; }
15750 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
15751 $as_echo_n "(cached) " >&6
15753 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15754 # We make a subdir and do the tests there. Otherwise we can end up
15755 # making bogus files that we don't know about and never remove. For
15756 # instance it was reported that on HP-UX the gcc test will end up
15757 # making a dummy file named 'D' -- because '-MD' means "put the output
15759 rm -rf conftest.dir
15761 # Copy depcomp to subdir because otherwise we won't find it if we're
15762 # using a relative directory.
15763 cp "$am_depcomp" conftest.dir
15765 # We will build objects and dependencies in a subdirectory because
15766 # it helps to detect inapplicable dependency modes. For instance
15767 # both Tru64's cc and ICC support -MD to output dependencies as a
15768 # side effect of compilation, but ICC will put the dependencies in
15769 # the current directory while Tru64 will put them in the object
15773 am_cv_CXX_dependencies_compiler_type=none
15774 if test "$am_compiler_list" = ""; then
15775 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
15777 am__universal=false
15778 case " $depcc " in #(
15779 *\ -arch\ *\ -arch\ *) am__universal=true ;;
15782 for depmode in $am_compiler_list; do
15783 # Setup a source with many dependencies, because some compilers
15784 # like to wrap large dependency lists on column 80 (with \), and
15785 # we should not choose a depcomp mode which is confused by this.
15787 # We need to recreate these files for each test, as the compiler may
15788 # overwrite some of them when testing with obscure command lines.
15789 # This happens at least with the AIX C compiler.
15791 for i in 1 2 3 4 5 6; do
15792 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15793 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
15794 # Solaris 10 /bin/sh.
15795 echo '/* dummy */' > sub/conftst$i.h
15797 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15799 # We check with '-c' and '-o' for the sake of the "dashmstdout"
15800 # mode. It turns out that the SunPro C++ compiler does not properly
15801 # handle '-M -o', and we need to detect this. Also, some Intel
15802 # versions had trouble with output in subdirs.
15803 am__obj=sub/conftest.${OBJEXT-o}
15804 am__minus_obj="-o $am__obj"
15807 # This depmode causes a compiler race in universal mode.
15808 test "$am__universal" = false || continue
15811 # After this tag, mechanisms are not by side-effect, so they'll
15812 # only be used when explicitly requested.
15813 if test "x$enable_dependency_tracking" = xyes; then
15819 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
15820 # This compiler won't grok '-c -o', but also, the minuso test has
15821 # not run yet. These depmodes are late enough in the game, and
15822 # so weak that their functioning should not be impacted.
15823 am__obj=conftest.${OBJEXT-o}
15828 if depmode=$depmode \
15829 source=sub/conftest.c object=$am__obj \
15830 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15831 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15832 >/dev/null 2>conftest.err &&
15833 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15834 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15835 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15836 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15837 # icc doesn't choke on unknown options, it will just issue warnings
15838 # or remarks (even with -Werror). So we grep stderr for any message
15839 # that says an option was ignored or not supported.
15840 # When given -MP, icc 7.0 and 7.1 complain thusly:
15841 # icc: Command line warning: ignoring option '-M'; no argument required
15842 # The diagnosis changed in icc 8.0:
15843 # icc: Command line remark: option '-MP' not supported
15844 if (grep 'ignoring option' conftest.err ||
15845 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15846 am_cv_CXX_dependencies_compiler_type=$depmode
15853 rm -rf conftest.dir
15855 am_cv_CXX_dependencies_compiler_type=none
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15860 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15861 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15864 test "x$enable_dependency_tracking" != xno \
15865 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15866 am__fastdepCXX_TRUE=
15867 am__fastdepCXX_FALSE='#'
15869 am__fastdepCXX_TRUE='#'
15870 am__fastdepCXX_FALSE=
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
15874 $as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
15875 if ${kpse_cv_warning_cxxflags+:} false; then :
15876 $as_echo_n "(cached) " >&6
15878 if test "x$GXX" = xyes; then
15879 kpse_cv_warning_cxxflags=
15880 kpse_warn_strings="-Wno-write-strings"
15881 if test "x$enable_compiler_warnings" != xno; then
15882 kpse_cv_warning_cxxflags="-Wreturn-type"
15883 case `$CXX -dumpversion` in #(
15884 3.* | 4.[012345].*) :
15885 kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #(
15889 case `$CXX -dumpversion` in #(
15891 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #(
15895 if test "x$enable_compiler_warnings" != xmin; then
15896 kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags"
15897 if test "x$enable_compiler_warnings" != xyes; then
15898 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
15899 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align"
15900 kpse_warn_strings="-Wwrite-strings"
15901 if test "x$enable_compiler_warnings" != xmax; then
15902 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow"
15907 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings"
15908 elif test "x$enable_compiler_warnings" = xno; then
15909 kpse_cv_warning_cxxflags=
15911 kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5
15915 $as_echo "$kpse_cv_warning_cxxflags" >&6; }
15916 WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags
15922 func_stripname_cnf ()
15925 .*) func_stripname_result=`$ECHO "$3" |
$SED "s%^$1%%; s%\\\\$2\$%%"`;;
15926 *) func_stripname_result=`$ECHO "$3" |
$SED "s%^$1%%; s%$2\$%%"`;;
15928 } # func_stripname_cnf
15930 if test -n "$CXX" && ( test no != "$CXX" &&
15931 ( (test g++ = "$CXX" && `g
++ -v >/dev
/null
2>&1` ) ||
15932 (test g++ != "$CXX"))); then
15934 ac_cpp='$CXXCPP $CPPFLAGS'
15935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
15939 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15940 if test -z "$CXXCPP"; then
15941 if ${ac_cv_prog_CXXCPP+:} false; then :
15942 $as_echo_n "(cached) " >&6
15944 # Double quotes because CXXCPP needs to be expanded
15945 for CXXCPP in "$CXX -E" "/lib/cpp"
15947 ac_preproc_ok=false
15948 for ac_cxx_preproc_warn_flag in '' yes
15950 # Use a header file that comes with gcc, so configuring glibc
15951 # with a fresh cross-compiler works.
15952 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15953 # <limits.h> exists even on freestanding compilers.
15954 # On the NeXT, cc -E runs the code through the compiler's parser,
15955 # not just through cpp. "Syntax error" is here to catch this case.
15956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15957 /* end confdefs.h. */
15959 # include <limits.h>
15961 # include <assert.h>
15965 if ac_fn_cxx_try_cpp "$LINENO"; then :
15968 # Broken: fails on valid input.
15971 rm -f conftest.err conftest.i conftest.$ac_ext
15973 # OK, works on sane cases. Now check whether nonexistent headers
15974 # can be detected and how.
15975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15976 /* end confdefs.h. */
15977 #include <ac_nonexistent.h>
15979 if ac_fn_cxx_try_cpp "$LINENO"; then :
15980 # Broken: success on invalid input.
15983 # Passes both tests.
15987 rm -f conftest.err conftest.i conftest.$ac_ext
15990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15991 rm -f conftest.i conftest.err conftest.
$ac_ext
15992 if $ac_preproc_ok; then :
15997 ac_cv_prog_CXXCPP
=$CXXCPP
16000 CXXCPP
=$ac_cv_prog_CXXCPP
16002 ac_cv_prog_CXXCPP
=$CXXCPP
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
16005 $as_echo "$CXXCPP" >&6; }
16006 ac_preproc_ok
=false
16007 for ac_cxx_preproc_warn_flag
in '' yes
16009 # Use a header file that comes with gcc, so configuring glibc
16010 # with a fresh cross-compiler works.
16011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16012 # <limits.h> exists even on freestanding compilers.
16013 # On the NeXT, cc -E runs the code through the compiler's parser,
16014 # not just through cpp. "Syntax error" is here to catch this case.
16015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16018 # include <limits.h>
16020 # include <assert.h>
16024 if ac_fn_cxx_try_cpp
"$LINENO"; then :
16027 # Broken: fails on valid input.
16030 rm -f conftest.err conftest.i conftest.
$ac_ext
16032 # OK, works on sane cases. Now check whether nonexistent headers
16033 # can be detected and how.
16034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16035 /* end confdefs.h. */
16036 #include <ac_nonexistent.h>
16038 if ac_fn_cxx_try_cpp
"$LINENO"; then :
16039 # Broken: success on invalid input.
16042 # Passes both tests.
16046 rm -f conftest.err conftest.i conftest.
$ac_ext
16049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16050 rm -f conftest.i conftest.err conftest.
$ac_ext
16051 if $ac_preproc_ok; then :
16054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16056 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
16057 See \`config.log' for more details" "$LINENO" 5; }
16061 ac_cpp
='$CPP $CPPFLAGS'
16062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16067 _lt_caught_CXX_error
=yes
16071 ac_cpp
='$CXXCPP $CPPFLAGS'
16072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16076 archive_cmds_need_lc_CXX
=no
16077 allow_undefined_flag_CXX
=
16078 always_export_symbols_CXX
=no
16079 archive_expsym_cmds_CXX
=
16080 compiler_needs_object_CXX
=no
16081 export_dynamic_flag_spec_CXX
=
16082 hardcode_direct_CXX
=no
16083 hardcode_direct_absolute_CXX
=no
16084 hardcode_libdir_flag_spec_CXX
=
16085 hardcode_libdir_separator_CXX
=
16086 hardcode_minus_L_CXX
=no
16087 hardcode_shlibpath_var_CXX
=unsupported
16088 hardcode_automatic_CXX
=no
16089 inherit_rpath_CXX
=no
16091 module_expsym_cmds_CXX
=
16092 link_all_deplibs_CXX
=unknown
16093 old_archive_cmds_CXX
=$old_archive_cmds
16094 reload_flag_CXX
=$reload_flag
16095 reload_cmds_CXX
=$reload_cmds
16096 no_undefined_flag_CXX
=
16097 whole_archive_flag_spec_CXX
=
16098 enable_shared_with_static_runtimes_CXX
=no
16100 # Source file extension for C++ test sources.
16103 # Object file extension for compiled C++ test sources.
16107 # No sense in running all these tests if we already determined that
16108 # the CXX compiler isn't working. Some variables (like enable_shared)
16109 # are currently assumed to apply to all compilers on this platform,
16110 # and will be corrupted by setting them based on a non-working compiler.
16111 if test yes != "$_lt_caught_CXX_error"; then
16112 # Code to be used in simple compile tests
16113 lt_simple_compile_test_code
="int some_variable = 0;"
16115 # Code to be used in simple link tests
16116 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
16118 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16125 # If no C compiler was specified, use CC.
16128 # If no C compiler flags were specified, use CFLAGS.
16129 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16131 # Allow CC to be a program name with arguments.
16135 # save warnings/boilerplate of simple test code
16136 ac_outfile
=conftest.
$ac_objext
16137 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16138 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16139 _lt_compiler_boilerplate
=`cat conftest.err`
16142 ac_outfile
=conftest.
$ac_objext
16143 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16144 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16145 _lt_linker_boilerplate
=`cat conftest.err`
16149 # Allow CC to be a program name with arguments.
16151 lt_save_CFLAGS
=$CFLAGS
16155 lt_save_with_gnu_ld
=$with_gnu_ld
16156 lt_save_path_LD
=$lt_cv_path_LD
16157 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16158 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
16160 $as_unset lt_cv_prog_gnu_ld
16162 if test -n "${lt_cv_path_LDCXX+set}"; then
16163 lt_cv_path_LD
=$lt_cv_path_LDCXX
16165 $as_unset lt_cv_path_LD
16167 test -z "${LDCXX+set}" || LD
=$LDCXX
16172 func_cc_basename
$compiler
16173 cc_basename
=$func_cc_basename_result
16176 if test -n "$compiler"; then
16177 # We don't want -fno-exception when compiling C++ code, so set the
16178 # no_builtin_flag separately
16179 if test yes = "$GXX"; then
16180 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
16182 lt_prog_compiler_no_builtin_flag_CXX
=
16185 if test yes = "$GXX"; then
16186 # Set up default GNU C++ configuration
16190 # Check whether --with-gnu-ld was given.
16191 if test "${with_gnu_ld+set}" = set; then :
16192 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
16198 if test yes = "$GCC"; then
16199 # Check if gcc -print-prog-name=ld gives a path.
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16201 $as_echo_n "checking for ld used by $CC... " >&6; }
16204 # gcc leaves a trailing carriage return, which upsets mingw
16205 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16207 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16210 # Accept absolute paths.
16212 re_direlt
='/[^/][^/]*/\.\./'
16213 # Canonicalize the pathname of ld
16214 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16215 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
16216 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16218 test -z "$LD" && LD
=$ac_prog
16221 # If it fails, then pretend we aren't using GCC.
16225 # If it is relative, then search for the first ld in PATH.
16226 with_gnu_ld
=unknown
16229 elif test yes = "$with_gnu_ld"; then
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16231 $as_echo_n "checking for GNU ld... " >&6; }
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16234 $as_echo_n "checking for non-GNU ld... " >&6; }
16236 if ${lt_cv_path_LD+:} false
; then :
16237 $as_echo_n "(cached) " >&6
16239 if test -z "$LD"; then
16240 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
16241 for ac_dir
in $PATH; do
16243 test -z "$ac_dir" && ac_dir
=.
16244 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16245 lt_cv_path_LD
=$ac_dir/$ac_prog
16246 # Check to see if the program is GNU ld. I'd rather use --version,
16247 # but apparently some variants of GNU ld only accept -v.
16248 # Break only if it was the GNU/non-GNU ld that we prefer.
16249 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16250 *GNU
* |
*'with BFD'*)
16251 test no
!= "$with_gnu_ld" && break
16254 test yes != "$with_gnu_ld" && break
16261 lt_cv_path_LD
=$LD # Let the user override the test with a path.
16266 if test -n "$LD"; then
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16268 $as_echo "$LD" >&6; }
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16271 $as_echo "no" >&6; }
16273 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16275 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16276 if ${lt_cv_prog_gnu_ld+:} false
; then :
16277 $as_echo_n "(cached) " >&6
16279 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16280 case `$LD -v 2>&1 </dev/null` in
16281 *GNU
* |
*'with BFD'*)
16282 lt_cv_prog_gnu_ld
=yes
16285 lt_cv_prog_gnu_ld
=no
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16290 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
16291 with_gnu_ld
=$lt_cv_prog_gnu_ld
16299 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16300 # archiving commands below assume that GNU ld is being used.
16301 if test yes = "$with_gnu_ld"; then
16302 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16303 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'
16305 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16306 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
16308 # If archive_cmds runs LD, not CC, wlarc should be empty
16309 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16310 # investigate it a little bit more. (MM)
16313 # ancient GNU ld didn't support --whole-archive et. al.
16314 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
16315 $GREP 'no-whole-archive' > /dev
/null
; then
16316 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16318 whole_archive_flag_spec_CXX
=
16324 # A generic and very simple default shared library creation
16325 # command for GNU C++ for the case where it uses the native
16326 # linker, instead of GNU ld. If possible, this setting should
16327 # overridden to take advantage of the native linker features on
16328 # the platform it is being used on.
16329 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16332 # Commands to make compiler produce verbose output that lists
16333 # what "hidden" libraries, object files and flags are used when
16334 # linking a shared library.
16335 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16343 # PORTME: fill in a description of your system's C++ link characteristics
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16345 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16349 # FIXME: insert proper C++ library support
16353 if test ia64
= "$host_cpu"; then
16354 # On IA64, the linker does run time linking by default, so we don't
16355 # have to do anything special.
16356 aix_use_runtimelinking
=no
16357 exp_sym_flag
='-Bexport'
16360 aix_use_runtimelinking
=no
16362 # Test if we are trying to use run time linking or normal
16363 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16364 # have runtime linking enabled, and use it for executables.
16365 # For shared libraries, we enable/disable runtime linking
16366 # depending on the kind of the shared library created -
16367 # when "with_aix_soname,aix_use_runtimelinking" is:
16368 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
16369 # "aix,yes" lib.so shared, rtl:yes, for executables
16370 # lib.a static archive
16371 # "both,no" lib.so.V(shr.o) shared, rtl:yes
16372 # lib.a(lib.so.V) shared, rtl:no, for executables
16373 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
16374 # lib.a(lib.so.V) shared, rtl:no
16375 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
16376 # lib.a static archive
16377 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16378 for ld_flag
in $LDFLAGS; do
16381 aix_use_runtimelinking
=yes
16386 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
16387 # With aix-soname=svr4, we create the lib.so.V shared archives only,
16388 # so we don't have lib.a shared libs to link our executables.
16389 # We have to force runtime linking in this case.
16390 aix_use_runtimelinking
=yes
16391 LDFLAGS
="$LDFLAGS -Wl,-brtl"
16396 exp_sym_flag
='-bexport'
16397 no_entry_flag
='-bnoentry'
16400 # When large executables or shared objects are built, AIX ld can
16401 # have problems creating the table of contents. If linking a library
16402 # or program results in "error TOC overflow" add -mminimal-toc to
16403 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16404 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16406 archive_cmds_CXX
=''
16407 hardcode_direct_CXX
=yes
16408 hardcode_direct_absolute_CXX
=yes
16409 hardcode_libdir_separator_CXX
=':'
16410 link_all_deplibs_CXX
=yes
16411 file_list_spec_CXX
='$wl-f,'
16412 case $with_aix_soname,$aix_use_runtimelinking in
16413 aix
,*) ;; # no import file
16414 svr4
,* |
*,yes) # use import file
16415 # The Import File defines what to hardcode.
16416 hardcode_direct_CXX
=no
16417 hardcode_direct_absolute_CXX
=no
16421 if test yes = "$GXX"; then
16422 case $host_os in aix4.
[012]|aix4.
[012].
*)
16423 # We only want to do this on AIX 4.2 and lower, the check
16424 # below for broken collect2 doesn't work under 4.3+
16425 collect2name
=`$CC -print-prog-name=collect2`
16426 if test -f "$collect2name" &&
16427 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
16429 # We have reworked collect2
16432 # We have old collect2
16433 hardcode_direct_CXX
=unsupported
16434 # It fails to find uninstalled libraries when the uninstalled
16435 # path is not listed in the libpath. Setting hardcode_minus_L
16436 # to unsupported forces relinking
16437 hardcode_minus_L_CXX
=yes
16438 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16439 hardcode_libdir_separator_CXX
=
16442 shared_flag
='-shared'
16443 if test yes = "$aix_use_runtimelinking"; then
16444 shared_flag
=$shared_flag' $wl-G'
16446 # Need to ensure runtime linking is disabled for the traditional
16447 # shared library, or the linker may eventually find shared libraries
16448 # /with/ Import File - we do not want to mix them.
16449 shared_flag_aix
='-shared'
16450 shared_flag_svr4
='-shared $wl-G'
16453 if test ia64
= "$host_cpu"; then
16454 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16455 # chokes on -Wl,-G. The following line is correct:
16458 if test yes = "$aix_use_runtimelinking"; then
16459 shared_flag
='$wl-G'
16461 shared_flag
='$wl-bM:SRE'
16463 shared_flag_aix
='$wl-bM:SRE'
16464 shared_flag_svr4
='$wl-G'
16468 export_dynamic_flag_spec_CXX
='$wl-bexpall'
16469 # It seems that -bexpall does not export symbols beginning with
16470 # underscore (_), so it is better to generate a list of symbols to
16472 always_export_symbols_CXX
=yes
16473 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
16474 # Warning - without using the other runtime loading flags (-brtl),
16475 # -berok will link without error, but may produce a broken library.
16476 # The "-G" linker flag allows undefined symbols.
16477 no_undefined_flag_CXX
='-bernotok'
16478 # Determine the default libpath from the value encoded in an empty
16480 if test set = "${lt_cv_aix_libpath+set}"; then
16481 aix_libpath
=$lt_cv_aix_libpath
16483 if ${lt_cv_aix_libpath__CXX+:} false
; then :
16484 $as_echo_n "(cached) " >&6
16486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h. */
16497 if ac_fn_cxx_try_link
"$LINENO"; then :
16499 lt_aix_libpath_sed
='
16500 /Import File Strings/,/^$/ {
16502 s/^0 *\([^ ]*\) *$/\1/
16506 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16507 # Check for a 64-bit object if we didn't find anything.
16508 if test -z "$lt_cv_aix_libpath__CXX"; then
16509 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16512 rm -f core conftest.err conftest.
$ac_objext \
16513 conftest
$ac_exeext conftest.
$ac_ext
16514 if test -z "$lt_cv_aix_libpath__CXX"; then
16515 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
16520 aix_libpath
=$lt_cv_aix_libpath__CXX
16523 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
16525 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
16527 if test ia64
= "$host_cpu"; then
16528 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
16529 allow_undefined_flag_CXX
="-z nodefs"
16530 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"
16532 # Determine the default libpath from the value encoded in an
16533 # empty executable.
16534 if test set = "${lt_cv_aix_libpath+set}"; then
16535 aix_libpath
=$lt_cv_aix_libpath
16537 if ${lt_cv_aix_libpath__CXX+:} false
; then :
16538 $as_echo_n "(cached) " >&6
16540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16541 /* end confdefs.h. */
16551 if ac_fn_cxx_try_link
"$LINENO"; then :
16553 lt_aix_libpath_sed
='
16554 /Import File Strings/,/^$/ {
16556 s/^0 *\([^ ]*\) *$/\1/
16560 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16561 # Check for a 64-bit object if we didn't find anything.
16562 if test -z "$lt_cv_aix_libpath__CXX"; then
16563 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16566 rm -f core conftest.err conftest.
$ac_objext \
16567 conftest
$ac_exeext conftest.
$ac_ext
16568 if test -z "$lt_cv_aix_libpath__CXX"; then
16569 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
16574 aix_libpath
=$lt_cv_aix_libpath__CXX
16577 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
16578 # Warning - without using the other run time loading flags,
16579 # -berok will link without error, but may produce a broken library.
16580 no_undefined_flag_CXX
=' $wl-bernotok'
16581 allow_undefined_flag_CXX
=' $wl-berok'
16582 if test yes = "$with_gnu_ld"; then
16583 # We only use this code for GNU lds that support --whole-archive.
16584 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
16586 # Exported symbols can be pulled into shared objects from archives
16587 whole_archive_flag_spec_CXX
='$convenience'
16589 archive_cmds_need_lc_CXX
=yes
16590 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
16591 # -brtl affects multiple linker settings, -berok does not and is overridden later
16592 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
16593 if test svr4
!= "$with_aix_soname"; then
16594 # This is similar to how AIX traditionally builds its shared
16595 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
16596 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'
16598 if test aix
!= "$with_aix_soname"; then
16599 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'
16601 # used by -dlpreopen to get the symbols
16602 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
16604 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
16610 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16611 allow_undefined_flag_CXX
=unsupported
16612 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16613 # support --undefined. This deserves some investigation. FIXME
16614 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16621 case $cc_basename in
16623 # FIXME: insert proper C++ library support
16629 cygwin
* | mingw
* | pw32
* | cegcc
*)
16630 case $GXX,$cc_basename in
16633 # hardcode_libdir_flag_spec is actually meaningless, as there is
16634 # no search path for DLLs.
16635 hardcode_libdir_flag_spec_CXX
=' '
16636 allow_undefined_flag_CXX
=unsupported
16637 always_export_symbols_CXX
=yes
16638 file_list_spec_CXX
='@'
16639 # Tell ltmain to make .lib files, not .a files.
16641 # Tell ltmain to make .dll files, not .so files.
16643 # FIXME: Setting linknames here is a bad hack.
16644 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
16645 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16646 cp "$export_symbols" "$output_objdir/$soname.def";
16647 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
16649 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
16651 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
16653 # The linker will not automatically build a static lib if we build a DLL.
16654 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
16655 enable_shared_with_static_runtimes_CXX
=yes
16657 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
16658 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
16659 lt_tool_outputfile="@TOOL_OUTPUT@"~
16660 case $lt_outputfile in
16663 lt_outputfile=$lt_outputfile.exe
16664 lt_tool_outputfile=$lt_tool_outputfile.exe
16667 func_to_tool_file "$lt_outputfile"~
16668 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
16669 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
16670 $RM "$lt_outputfile.manifest";
16675 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16676 # as there is no search path for DLLs.
16677 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16678 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
16679 allow_undefined_flag_CXX
=unsupported
16680 always_export_symbols_CXX
=no
16681 enable_shared_with_static_runtimes_CXX
=yes
16683 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
16684 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'
16685 # If the export-symbols file already is a .def file, use it as
16686 # is; otherwise, prepend EXPORTS...
16687 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
16688 cp $export_symbols $output_objdir/$soname.def;
16690 echo EXPORTS > $output_objdir/$soname.def;
16691 cat $export_symbols >> $output_objdir/$soname.def;
16693 $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'
16700 darwin
* | rhapsody
*)
16703 archive_cmds_need_lc_CXX
=no
16704 hardcode_direct_CXX
=no
16705 hardcode_automatic_CXX
=yes
16706 hardcode_shlibpath_var_CXX
=unsupported
16707 if test yes = "$lt_cv_ld_force_load"; then
16708 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\"`'
16711 whole_archive_flag_spec_CXX
=''
16713 link_all_deplibs_CXX
=yes
16714 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
16715 case $cc_basename in
16716 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
16717 *) _lt_dar_can_shared
=$GCC ;;
16719 if test yes = "$_lt_dar_can_shared"; then
16720 output_verbose_link_cmd
=func_echo_all
16721 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"
16722 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
16723 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"
16724 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"
16725 if test yes != "$lt_cv_apple_cc_single_mod"; then
16726 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"
16727 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"
16737 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16738 hardcode_minus_L_CXX
=yes
16739 allow_undefined_flag_CXX
=unsupported
16741 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16742 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16743 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16744 $ECHO EXPORTS >> $output_objdir/$libname.def~
16745 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
16746 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16747 emximp -o $lib $output_objdir/$libname.def'
16748 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16749 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16750 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16751 $ECHO EXPORTS >> $output_objdir/$libname.def~
16752 prefix_cmds="$SED"~
16753 if test EXPORTS = "`$SED 1q $export_symbols`"; then
16754 prefix_cmds="$prefix_cmds -e 1d";
16756 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
16757 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
16758 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16759 emximp -o $lib $output_objdir/$libname.def'
16760 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
16761 enable_shared_with_static_runtimes_CXX
=yes
16765 case $cc_basename in
16767 # FIXME: insert proper C++ library support
16771 # Green Hills C++ Compiler
16772 # FIXME: insert proper C++ library support
16776 # FIXME: insert proper C++ library support
16783 # C++ shared libraries reported to be fairly broken before
16789 archive_cmds_need_lc_CXX
=no
16792 freebsd
* | dragonfly
*)
16793 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16799 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16800 link_all_deplibs_CXX
=yes
16804 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
16805 hardcode_libdir_separator_CXX
=:
16806 export_dynamic_flag_spec_CXX
='$wl-E'
16807 hardcode_direct_CXX
=yes
16808 hardcode_minus_L_CXX
=yes # Not in the search PATH,
16809 # but as the default
16810 # location of the library.
16812 case $cc_basename in
16814 # FIXME: insert proper C++ library support
16818 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'
16819 # Commands to make compiler produce verbose output that lists
16820 # what "hidden" libraries, object files and flags are used when
16821 # linking a shared library.
16823 # There doesn't appear to be a way to prevent this compiler from
16824 # explicitly linking system object files so we need to strip them
16825 # from the output so that they don't get included in the library
16827 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"'
16830 if test yes = "$GXX"; then
16831 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'
16833 # FIXME: insert proper C++ library support
16841 if test no
= "$with_gnu_ld"; then
16842 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
16843 hardcode_libdir_separator_CXX
=:
16849 export_dynamic_flag_spec_CXX
='$wl-E'
16855 hardcode_direct_CXX
=no
16856 hardcode_shlibpath_var_CXX
=no
16859 hardcode_direct_CXX
=yes
16860 hardcode_direct_absolute_CXX
=yes
16861 hardcode_minus_L_CXX
=yes # Not in the search PATH,
16862 # but as the default
16863 # location of the library.
16867 case $cc_basename in
16869 # FIXME: insert proper C++ library support
16875 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16878 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16881 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16884 # Commands to make compiler produce verbose output that lists
16885 # what "hidden" libraries, object files and flags are used when
16886 # linking a shared library.
16888 # There doesn't appear to be a way to prevent this compiler from
16889 # explicitly linking system object files so we need to strip them
16890 # from the output so that they don't get included in the library
16892 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"'
16895 if test yes = "$GXX"; then
16896 if test no
= "$with_gnu_ld"; then
16899 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16902 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16905 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'
16910 # FIXME: insert proper C++ library support
16918 hardcode_direct_CXX
=no
16919 hardcode_shlibpath_var_CXX
=no
16920 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16921 export_dynamic_flag_spec_CXX
='$wl-E'
16922 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16923 # Instead, shared libraries are loaded at an image base (0x10000000 by
16924 # default) and relocated if they conflict, which is a slow very memory
16925 # consuming and fragmenting process. To avoid this, we pick a random,
16926 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16927 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16928 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'
16929 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'
16932 case $cc_basename in
16935 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'
16937 # Archives containing C++ object files must be created using
16938 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16939 # necessary to make sure instantiated templates are included
16941 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
16944 if test yes = "$GXX"; then
16945 if test no
= "$with_gnu_ld"; then
16946 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'
16948 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'
16951 link_all_deplibs_CXX
=yes
16954 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16955 hardcode_libdir_separator_CXX
=:
16956 inherit_rpath_CXX
=yes
16959 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16960 case $cc_basename in
16962 # Kuck and Associates, Inc. (KAI) C++ Compiler
16964 # KCC will only create a shared library if the output file
16965 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16966 # to its proper name (with version) after linking.
16967 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'
16968 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'
16969 # Commands to make compiler produce verbose output that lists
16970 # what "hidden" libraries, object files and flags are used when
16971 # linking a shared library.
16973 # There doesn't appear to be a way to prevent this compiler from
16974 # explicitly linking system object files so we need to strip them
16975 # from the output so that they don't get included in the library
16977 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"'
16979 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16980 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
16982 # Archives containing C++ object files must be created using
16983 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16984 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
16989 # version 8.0 and above of icpc choke on multiply defined symbols
16990 # if we add $predep_objects and $postdep_objects, however 7.1 and
16991 # earlier do not add the objects themselves.
16992 case `$CC -V 2>&1` in
16994 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16995 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'
16997 *) # Version 8.0 or newer
17000 ia64
*) tmp_idyn
=' -i_dynamic';;
17002 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17003 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'
17006 archive_cmds_need_lc_CXX
=no
17007 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
17008 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17009 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
17012 # Portland Group C++ compiler
17014 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
17015 prelink_cmds_CXX
='tpldir=Template.dir~
17017 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
17018 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
17019 old_archive_cmds_CXX
='tpldir=Template.dir~
17021 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
17022 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
17024 archive_cmds_CXX
='tpldir=Template.dir~
17026 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17027 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17028 archive_expsym_cmds_CXX
='tpldir=Template.dir~
17030 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17031 $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'
17033 *) # Version 6 and above use weak symbols
17034 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17035 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'
17039 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
17040 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17041 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'
17045 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17046 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'
17048 runpath_var
=LD_RUN_PATH
17049 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
17050 hardcode_libdir_separator_CXX
=:
17052 # Commands to make compiler produce verbose output that lists
17053 # what "hidden" libraries, object files and flags are used when
17054 # linking a shared library.
17056 # There doesn't appear to be a way to prevent this compiler from
17057 # explicitly linking system object files so we need to strip them
17058 # from the output so that they don't get included in the library
17060 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'
17062 xl
* | mpixl
* | bgxl
*)
17063 # IBM XL 8.0 on PPC, with GNU ld
17064 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17065 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17066 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17067 if test yes = "$supports_anon_versioning"; then
17068 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
17069 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17070 echo "local: *; };" >> $output_objdir/$libname.ver~
17071 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
17075 case `$CC -V 2>&1 | sed 5q` in
17078 no_undefined_flag_CXX
=' -zdefs'
17079 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17080 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'
17081 hardcode_libdir_flag_spec_CXX
='-R$libdir'
17082 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'
17083 compiler_needs_object_CXX
=yes
17085 # Not sure whether something based on
17086 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
17088 output_verbose_link_cmd
='func_echo_all'
17090 # Archives containing C++ object files must be created using
17091 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17092 # necessary to make sure instantiated templates are included
17094 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
17102 # FIXME: insert proper C++ library support
17107 # FIXME: insert proper C++ library support
17112 case $cc_basename in
17114 # FIXME: insert proper C++ library support
17118 # FIXME: insert proper C++ library support
17125 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17126 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17128 hardcode_libdir_flag_spec_CXX
='-R$libdir'
17129 hardcode_direct_CXX
=yes
17130 hardcode_shlibpath_var_CXX
=no
17132 # Workaround some broken pre-1.5 toolchains
17133 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17140 openbsd
* | bitrig
*)
17141 if test -f /usr
/libexec
/ld.so
; then
17142 hardcode_direct_CXX
=yes
17143 hardcode_shlibpath_var_CXX
=no
17144 hardcode_direct_absolute_CXX
=yes
17145 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17146 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
17147 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
17148 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
17149 export_dynamic_flag_spec_CXX
='$wl-E'
17150 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
17152 output_verbose_link_cmd
=func_echo_all
17158 osf3
* | osf4
* | osf5
*)
17159 case $cc_basename in
17161 # Kuck and Associates, Inc. (KAI) C++ Compiler
17163 # KCC will only create a shared library if the output file
17164 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17165 # to its proper name (with version) after linking.
17166 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'
17168 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
17169 hardcode_libdir_separator_CXX
=:
17171 # Archives containing C++ object files must be created using
17172 # the KAI C++ compiler.
17174 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
17175 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
17179 # Rational C++ 2.4.1
17180 # FIXME: insert proper C++ library support
17186 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
17187 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'
17188 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17191 allow_undefined_flag_CXX
=' -expect_unresolved \*'
17192 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'
17193 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17194 echo "-hidden">> $lib.exp~
17195 $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~
17197 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
17201 hardcode_libdir_separator_CXX
=:
17203 # Commands to make compiler produce verbose output that lists
17204 # what "hidden" libraries, object files and flags are used when
17205 # linking a shared library.
17207 # There doesn't appear to be a way to prevent this compiler from
17208 # explicitly linking system object files so we need to strip them
17209 # from the output so that they don't get included in the library
17211 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"'
17214 if test yes,no
= "$GXX,$with_gnu_ld"; then
17215 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
17218 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'
17221 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'
17225 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17226 hardcode_libdir_separator_CXX
=:
17228 # Commands to make compiler produce verbose output that lists
17229 # what "hidden" libraries, object files and flags are used when
17230 # linking a shared library.
17231 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17234 # FIXME: insert proper C++ library support
17242 # FIXME: insert proper C++ library support
17247 case $cc_basename in
17250 # FIXME: insert proper C++ library support
17255 # FIXME: insert proper C++ library support
17259 # FIXME: insert proper C++ library support
17266 case $cc_basename in
17268 # Sun C++ 4.2, 5.x and Centerline C++
17269 archive_cmds_need_lc_CXX
=yes
17270 no_undefined_flag_CXX
=' -zdefs'
17271 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17272 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17273 $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'
17275 hardcode_libdir_flag_spec_CXX
='-R$libdir'
17276 hardcode_shlibpath_var_CXX
=no
17278 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17280 # The compiler driver will combine and reorder linker options,
17281 # but understands '-z linker_flag'.
17282 # Supported since Solaris 2.6 (maybe 2.5.1?)
17283 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
17286 link_all_deplibs_CXX
=yes
17288 output_verbose_link_cmd
='func_echo_all'
17290 # Archives containing C++ object files must be created using
17291 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17292 # necessary to make sure instantiated templates are included
17294 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
17297 # Green Hills C++ Compiler
17298 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17300 # The C++ compiler must be used to create the archive.
17301 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17304 # GNU C++ compiler with Solaris linker
17305 if test yes,no
= "$GXX,$with_gnu_ld"; then
17306 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
17307 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
17308 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17309 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17310 $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'
17312 # Commands to make compiler produce verbose output that lists
17313 # what "hidden" libraries, object files and flags are used when
17314 # linking a shared library.
17315 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17317 # g++ 2.7 appears to require '-G' NOT '-shared' on this
17319 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
17320 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17321 $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'
17323 # Commands to make compiler produce verbose output that lists
17324 # what "hidden" libraries, object files and flags are used when
17325 # linking a shared library.
17326 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17329 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
17331 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17333 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
17341 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17342 no_undefined_flag_CXX
='$wl-z,text'
17343 archive_cmds_need_lc_CXX
=no
17344 hardcode_shlibpath_var_CXX
=no
17345 runpath_var
='LD_RUN_PATH'
17347 case $cc_basename in
17349 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17350 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17353 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17354 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17359 sysv5
* | sco3.2v5
* | sco5v6
*)
17360 # Note: We CANNOT use -z defs as we might desire, because we do not
17361 # link with -lc, and that would cause any symbols used from libc to
17362 # always be unresolved, which means just about no library would
17363 # ever link correctly. If we're not using GNU ld we use -z text
17364 # though, which does catch some bad symbols but isn't as heavy-handed
17366 no_undefined_flag_CXX
='$wl-z,text'
17367 allow_undefined_flag_CXX
='$wl-z,nodefs'
17368 archive_cmds_need_lc_CXX
=no
17369 hardcode_shlibpath_var_CXX
=no
17370 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
17371 hardcode_libdir_separator_CXX
=':'
17372 link_all_deplibs_CXX
=yes
17373 export_dynamic_flag_spec_CXX
='$wl-Bexport'
17374 runpath_var
='LD_RUN_PATH'
17376 case $cc_basename in
17378 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17379 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17380 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
17381 '"$old_archive_cmds_CXX"
17382 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
17383 '"$reload_cmds_CXX"
17386 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17387 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17393 case $cc_basename in
17395 # NonStop-UX NCC 3.20
17396 # FIXME: insert proper C++ library support
17400 # FIXME: insert proper C++ library support
17407 # FIXME: insert proper C++ library support
17412 # FIXME: insert proper C++ library support
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17418 $as_echo "$ld_shlibs_CXX" >&6; }
17419 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
17425 ## There is no encapsulation within the following macros, do not change
17426 ## the running order or otherwise move them around unless you know exactly
17427 ## what you are doing...
17428 # Dependencies to place before and after the object being linked:
17429 predep_objects_CXX
=
17430 postdep_objects_CXX
=
17433 compiler_lib_search_path_CXX
=
17435 cat > conftest.
$ac_ext <<_LT_EOF
17439 Foo (void) { a = 0; }
17446 _lt_libdeps_save_CFLAGS
=$CFLAGS
17447 case "$CC $CFLAGS " in #(
17448 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
17449 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
17450 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
17453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17454 (eval $ac_compile) 2>&5
17456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17457 test $ac_status = 0; }; then
17458 # Parse the compiler output and extract the necessary
17459 # objects, libraries and library flags.
17461 # Sentinel used to keep track of whether or not we are before
17462 # the conftest object file.
17463 pre_test_object_deps_done
=no
17465 for p
in `eval "$output_verbose_link_cmd"`; do
17469 # Some compilers place space between "-{L,R}" and the path.
17470 # Remove the space.
17471 if test x-L
= "$p" ||
17472 test x-R
= "$p"; then
17477 # Expand the sysroot to ease extracting the directories later.
17478 if test -z "$prev"; then
17480 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
17481 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
17482 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
17486 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
17488 if test no
= "$pre_test_object_deps_done"; then
17491 # Internal compiler library paths should come after those
17492 # provided the user. The postdeps already come after the
17493 # user supplied libs so there is no need to process them.
17494 if test -z "$compiler_lib_search_path_CXX"; then
17495 compiler_lib_search_path_CXX
=$prev$p
17497 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
17500 # The "-l" case would never come before the object being
17501 # linked, so don't bother handling this case.
17504 if test -z "$postdeps_CXX"; then
17505 postdeps_CXX
=$prev$p
17507 postdeps_CXX
="${postdeps_CXX} $prev$p"
17513 *.lto.
$objext) ;; # Ignore GCC LTO objects
17515 # This assumes that the test object file only shows up
17516 # once in the compiler output.
17517 if test "$p" = "conftest.$objext"; then
17518 pre_test_object_deps_done
=yes
17522 if test no
= "$pre_test_object_deps_done"; then
17523 if test -z "$predep_objects_CXX"; then
17524 predep_objects_CXX
=$p
17526 predep_objects_CXX
="$predep_objects_CXX $p"
17529 if test -z "$postdep_objects_CXX"; then
17530 postdep_objects_CXX
=$p
17532 postdep_objects_CXX
="$postdep_objects_CXX $p"
17537 *) ;; # Ignore the rest.
17545 echo "libtool.m4: error: problem compiling CXX test program"
17548 $RM -f confest.
$objext
17549 CFLAGS
=$_lt_libdeps_save_CFLAGS
17551 # PORTME: override above test on systems where it is broken
17554 # Interix 3.5 installs completely hosed .la files for C++, so rather than
17555 # hack all around it, let's just trust "g++" to DTRT.
17556 predep_objects_CXX
=
17557 postdep_objects_CXX
=
17563 case " $postdeps_CXX " in
17564 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
17566 compiler_lib_search_dirs_CXX
=
17567 if test -n "${compiler_lib_search_path_CXX}"; then
17568 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
17601 lt_prog_compiler_wl_CXX
=
17602 lt_prog_compiler_pic_CXX
=
17603 lt_prog_compiler_static_CXX
=
17606 # C++ specific cases for pic, static, wl, etc.
17607 if test yes = "$GXX"; then
17608 lt_prog_compiler_wl_CXX
='-Wl,'
17609 lt_prog_compiler_static_CXX
='-static'
17613 # All AIX code is PIC.
17614 if test ia64
= "$host_cpu"; then
17615 # AIX 5 now supports IA64 processor
17616 lt_prog_compiler_static_CXX
='-Bstatic'
17618 lt_prog_compiler_pic_CXX
='-fPIC'
17624 # see comment about AmigaOS4 .so support
17625 lt_prog_compiler_pic_CXX
='-fPIC'
17628 # FIXME: we need at least 68020 code to build shared libraries, but
17629 # adding the '-m68020' flag to GCC prevents building anything better,
17631 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
17636 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17637 # PIC is the default for these OSes.
17639 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
17640 # This hack is so that the source file can tell whether it is being
17641 # built for inclusion in a dll (and should export symbols for example).
17642 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17643 # (--disable-auto-import) libraries
17644 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
17647 lt_prog_compiler_static_CXX
='$wl-static'
17651 darwin
* | rhapsody
*)
17652 # PIC is the default on this platform
17653 # Common symbols not allowed in MH_DYLIB files
17654 lt_prog_compiler_pic_CXX
='-fno-common'
17657 # DJGPP does not support shared libraries at all
17658 lt_prog_compiler_pic_CXX
=
17661 # PIC is the default for Haiku.
17662 # The "-static" flag exists, but is broken.
17663 lt_prog_compiler_static_CXX
=
17666 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17667 # Instead, we relocate shared libraries at runtime.
17670 if test -d /usr
/nec
; then
17671 lt_prog_compiler_pic_CXX
=-Kconform_pic
17675 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17676 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17677 # sets the default TLS model and affects inlining.
17682 lt_prog_compiler_pic_CXX
='-fPIC'
17687 # QNX uses GNU C++, but need to define -shared option too, otherwise
17688 # it will coredump.
17689 lt_prog_compiler_pic_CXX
='-fPIC -shared'
17692 lt_prog_compiler_pic_CXX
='-fPIC'
17698 # All AIX code is PIC.
17699 if test ia64
= "$host_cpu"; then
17700 # AIX 5 now supports IA64 processor
17701 lt_prog_compiler_static_CXX
='-Bstatic'
17703 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
17707 case $cc_basename in
17709 # Green Hills C++ Compiler
17710 # _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"
17714 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
17715 # This hack is so that the source file can tell whether it is being
17716 # built for inclusion in a dll (and should export symbols for example).
17717 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
17720 case $cc_basename in
17722 lt_prog_compiler_pic_CXX
='-KPIC'
17725 # Green Hills C++ Compiler
17726 lt_prog_compiler_pic_CXX
='-pic'
17732 freebsd
* | dragonfly
*)
17733 # FreeBSD uses GNU C++
17735 hpux9
* | hpux10
* | hpux11
*)
17736 case $cc_basename in
17738 lt_prog_compiler_wl_CXX
='-Wl,'
17739 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
17740 if test ia64
!= "$host_cpu"; then
17741 lt_prog_compiler_pic_CXX
='+Z'
17745 lt_prog_compiler_wl_CXX
='-Wl,'
17746 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
17752 lt_prog_compiler_pic_CXX
='+Z'
17761 # This is c89, which is MS Visual C++ (no shared libs)
17762 # Anyone wants to do a port?
17764 irix5
* | irix6
* | nonstopux
*)
17765 case $cc_basename in
17767 lt_prog_compiler_wl_CXX
='-Wl,'
17768 lt_prog_compiler_static_CXX
='-non_shared'
17769 # CC pic flag -KPIC is the default.
17775 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17776 case $cc_basename in
17779 lt_prog_compiler_wl_CXX
='--backend -Wl,'
17780 lt_prog_compiler_pic_CXX
='-fPIC'
17783 # old Intel C++ for x86_64, which still supported -KPIC.
17784 lt_prog_compiler_wl_CXX
='-Wl,'
17785 lt_prog_compiler_pic_CXX
='-KPIC'
17786 lt_prog_compiler_static_CXX
='-static'
17789 # Intel C++, used to be incompatible with GCC.
17790 # ICC 10 doesn't accept -KPIC any more.
17791 lt_prog_compiler_wl_CXX
='-Wl,'
17792 lt_prog_compiler_pic_CXX
='-fPIC'
17793 lt_prog_compiler_static_CXX
='-static'
17796 # Portland Group C++ compiler
17797 lt_prog_compiler_wl_CXX
='-Wl,'
17798 lt_prog_compiler_pic_CXX
='-fpic'
17799 lt_prog_compiler_static_CXX
='-Bstatic'
17803 # Make sure the PIC flag is empty. It appears that all Alpha
17804 # Linux and Compaq Tru64 Unix objects are PIC.
17805 lt_prog_compiler_pic_CXX
=
17806 lt_prog_compiler_static_CXX
='-non_shared'
17808 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
17809 # IBM XL 8.0, 9.0 on PPC and BlueGene
17810 lt_prog_compiler_wl_CXX
='-Wl,'
17811 lt_prog_compiler_pic_CXX
='-qpic'
17812 lt_prog_compiler_static_CXX
='-qstaticlink'
17815 case `$CC -V 2>&1 | sed 5q` in
17818 lt_prog_compiler_pic_CXX
='-KPIC'
17819 lt_prog_compiler_static_CXX
='-Bstatic'
17820 lt_prog_compiler_wl_CXX
='-Qoption ld '
17831 case $cc_basename in
17833 lt_prog_compiler_pic_CXX
='-W c,exportall'
17842 # QNX uses GNU C++, but need to define -shared option too, otherwise
17843 # it will coredump.
17844 lt_prog_compiler_pic_CXX
='-fPIC -shared'
17846 osf3
* | osf4
* | osf5
*)
17847 case $cc_basename in
17849 lt_prog_compiler_wl_CXX
='--backend -Wl,'
17852 # Rational C++ 2.4.1
17853 lt_prog_compiler_pic_CXX
='-pic'
17856 # Digital/Compaq C++
17857 lt_prog_compiler_wl_CXX
='-Wl,'
17858 # Make sure the PIC flag is empty. It appears that all Alpha
17859 # Linux and Compaq Tru64 Unix objects are PIC.
17860 lt_prog_compiler_pic_CXX
=
17861 lt_prog_compiler_static_CXX
='-non_shared'
17870 case $cc_basename in
17872 # Sun C++ 4.2, 5.x and Centerline C++
17873 lt_prog_compiler_pic_CXX
='-KPIC'
17874 lt_prog_compiler_static_CXX
='-Bstatic'
17875 lt_prog_compiler_wl_CXX
='-Qoption ld '
17878 # Green Hills C++ Compiler
17879 lt_prog_compiler_pic_CXX
='-PIC'
17886 case $cc_basename in
17889 lt_prog_compiler_pic_CXX
='-pic'
17890 lt_prog_compiler_static_CXX
='-Bstatic'
17894 lt_prog_compiler_pic_CXX
='-pic'
17900 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17901 case $cc_basename in
17903 lt_prog_compiler_wl_CXX
='-Wl,'
17904 lt_prog_compiler_pic_CXX
='-KPIC'
17905 lt_prog_compiler_static_CXX
='-Bstatic'
17910 case $cc_basename in
17912 # NonStop-UX NCC 3.20
17913 lt_prog_compiler_pic_CXX
='-KPIC'
17922 lt_prog_compiler_can_build_shared_CXX
=no
17928 # For platforms that do not support PIC, -DPIC is meaningless:
17930 lt_prog_compiler_pic_CXX
=
17933 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17938 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17939 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
17940 $as_echo_n "(cached) " >&6
17942 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
17945 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
17946 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
17949 # Check to make sure the PIC flag actually works.
17951 if test -n "$lt_prog_compiler_pic_CXX"; then
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17953 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17954 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
17955 $as_echo_n "(cached) " >&6
17957 lt_cv_prog_compiler_pic_works_CXX
=no
17958 ac_outfile
=conftest.
$ac_objext
17959 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17960 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
17961 # Insert the option either (1) after the last *FLAGS variable, or
17962 # (2) before a word containing "conftest.", or (3) at the end.
17963 # Note that $ac_compile itself does not contain backslashes and begins
17964 # with a dollar sign (not a hyphen), so the echo should work correctly.
17965 # The option is referenced via a variable to avoid confusing sed.
17966 lt_compile
=`echo "$ac_compile" | $SED \
17967 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17968 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17969 -e 's:$: $lt_compiler_flag:'`
17970 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17971 (eval "$lt_compile" 2>conftest.err
)
17973 cat conftest.err
>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 if (exit $ac_status) && test -s "$ac_outfile"; then
17976 # The compiler can only warn and ignore the option if not recognized
17977 # So say no if there are warnings other than the usual output.
17978 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17979 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17980 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17981 lt_cv_prog_compiler_pic_works_CXX
=yes
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17988 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17990 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
17991 case $lt_prog_compiler_pic_CXX in
17993 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
17996 lt_prog_compiler_pic_CXX
=
17997 lt_prog_compiler_can_build_shared_CXX
=no
18007 # Check to make sure the static flag actually works.
18009 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18011 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18012 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
18013 $as_echo_n "(cached) " >&6
18015 lt_cv_prog_compiler_static_works_CXX
=no
18016 save_LDFLAGS
=$LDFLAGS
18017 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18018 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
18019 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18020 # The linker can only warn and ignore the option if not recognized
18021 # So say no if there are warnings
18022 if test -s conftest.err
; then
18023 # Append any errors to the config.log.
18024 cat conftest.err
1>&5
18025 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
18026 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18027 if diff conftest.exp conftest.er2
>/dev
/null
; then
18028 lt_cv_prog_compiler_static_works_CXX
=yes
18031 lt_cv_prog_compiler_static_works_CXX
=yes
18035 LDFLAGS
=$save_LDFLAGS
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
18039 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
18041 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
18044 lt_prog_compiler_static_CXX
=
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18051 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18052 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
18053 $as_echo_n "(cached) " >&6
18055 lt_cv_prog_compiler_c_o_CXX
=no
18056 $RM -r conftest
2>/dev
/null
18060 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18062 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18063 # Insert the option either (1) after the last *FLAGS variable, or
18064 # (2) before a word containing "conftest.", or (3) at the end.
18065 # Note that $ac_compile itself does not contain backslashes and begins
18066 # with a dollar sign (not a hyphen), so the echo should work correctly.
18067 lt_compile
=`echo "$ac_compile" | $SED \
18068 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18069 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18070 -e 's:$: $lt_compiler_flag:'`
18071 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18072 (eval "$lt_compile" 2>out
/conftest.err
)
18074 cat out
/conftest.err
>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18078 # The compiler can only warn and ignore the option if not recognized
18079 # So say no if there are warnings
18080 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
18081 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18082 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18083 lt_cv_prog_compiler_c_o_CXX
=yes
18088 # SGI C++ compiler will create directory out/ii_files/ for
18089 # template instantiation
18090 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
18091 $RM out
/* && rmdir out
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18098 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18103 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18104 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
18105 $as_echo_n "(cached) " >&6
18107 lt_cv_prog_compiler_c_o_CXX
=no
18108 $RM -r conftest
2>/dev
/null
18112 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18114 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18115 # Insert the option either (1) after the last *FLAGS variable, or
18116 # (2) before a word containing "conftest.", or (3) at the end.
18117 # Note that $ac_compile itself does not contain backslashes and begins
18118 # with a dollar sign (not a hyphen), so the echo should work correctly.
18119 lt_compile
=`echo "$ac_compile" | $SED \
18120 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18121 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18122 -e 's:$: $lt_compiler_flag:'`
18123 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18124 (eval "$lt_compile" 2>out
/conftest.err
)
18126 cat out
/conftest.err
>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18130 # The compiler can only warn and ignore the option if not recognized
18131 # So say no if there are warnings
18132 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
18133 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18134 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18135 lt_cv_prog_compiler_c_o_CXX
=yes
18140 # SGI C++ compiler will create directory out/ii_files/ for
18141 # template instantiation
18142 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
18143 $RM out
/* && rmdir out
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18150 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18155 hard_links
=nottested
18156 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
18157 # do not overwrite the value of need_locks provided by the user
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
18159 $as_echo_n "checking if we can lock with hard links... " >&6; }
18162 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18164 ln conftest.a conftest.b
2>&5 || hard_links
=no
18165 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
18167 $as_echo "$hard_links" >&6; }
18168 if test no
= "$hard_links"; then
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
18170 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18180 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18182 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18183 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18186 # If we're using GNU nm, then we don't want the "-C" option.
18187 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
18188 # Without the "-l" option, or with the "-B" option, AIX nm treats
18189 # weak defined symbols like other global defined symbols, whereas
18190 # GNU nm marks them as "W".
18191 # While the 'weak' keyword is ignored in the Export File, we need
18192 # it in the Import File for the 'aix-soname' feature, so we have
18193 # to replace the "-B" option with "-P" for AIX nm.
18194 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
18195 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'
18197 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'
18201 export_symbols_cmds_CXX
=$ltdll_cmds
18203 cygwin
* | mingw
* | cegcc
*)
18204 case $cc_basename in
18206 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
18209 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'
18210 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
18215 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18220 $as_echo "$ld_shlibs_CXX" >&6; }
18221 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
18223 with_gnu_ld_CXX
=$with_gnu_ld
18231 # Do we need to explicitly link libc?
18233 case "x$archive_cmds_need_lc_CXX" in
18235 # Assume -lc should be added
18236 archive_cmds_need_lc_CXX
=yes
18238 if test yes,yes = "$GCC,$enable_shared"; then
18239 case $archive_cmds_CXX in
18241 # FIXME: we may have to deal with multi-command sequences.
18244 # Test whether the compiler implicitly links with -lc since on some
18245 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18246 # to ld, don't add -lc before -lgcc.
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18248 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18249 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
18250 $as_echo_n "(cached) " >&6
18253 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18255 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18256 (eval $ac_compile) 2>&5
18258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18259 test $ac_status = 0; } 2>conftest.err
; then
18262 libobjs
=conftest.
$ac_objext
18264 wl
=$lt_prog_compiler_wl_CXX
18265 pic_flag
=$lt_prog_compiler_pic_CXX
18271 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
18272 allow_undefined_flag_CXX
=
18273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18274 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18277 test $ac_status = 0; }
18279 lt_cv_archive_cmds_need_lc_CXX
=no
18281 lt_cv_archive_cmds_need_lc_CXX
=yes
18283 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
18285 cat conftest.err
1>&5
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
18291 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
18292 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18361 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18363 library_names_spec
=
18364 libname_spec
='lib$name'
18368 postuninstall_cmds
=
18372 shlibpath_overrides_runpath
=unknown
18374 dynamic_linker
="$host_os ld.so"
18375 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18376 need_lib_prefix
=unknown
18377 hardcode_into_libs
=no
18379 # when you set need_version to no, make sure it does not cause -set_version
18380 # flags to be left without arguments
18381 need_version
=unknown
18387 version_type
=linux
# correct to gnu/linux during the next big refactor
18388 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
18389 shlibpath_var
=LIBPATH
18391 # AIX 3 has no versioning support, so we append a major version to the name.
18392 soname_spec
='$libname$release$shared_ext$major'
18396 version_type
=linux
# correct to gnu/linux during the next big refactor
18399 hardcode_into_libs
=yes
18400 if test ia64
= "$host_cpu"; then
18401 # AIX 5 supports IA64
18402 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
18403 shlibpath_var
=LD_LIBRARY_PATH
18405 # With GCC up to 2.95.x, collect2 would create an import file
18406 # for dependence libraries. The import file would start with
18407 # the line '#! .'. This would cause the generated library to
18408 # depend on '.', always an invalid library. This was fixed in
18409 # development snapshots of GCC prior to 3.0.
18411 aix4 | aix4.
[01] | aix4.
[01].
*)
18412 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18414 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
18417 can_build_shared
=no
18421 # Using Import Files as archive members, it is possible to support
18422 # filename-based versioning of shared library archives on AIX. While
18423 # this would work for both with and without runtime linking, it will
18424 # prevent static linking of such archives. So we do filename-based
18425 # shared library versioning with .so extension only, which is used
18426 # when both runtime linking and shared linking is enabled.
18427 # Unfortunately, runtime linking may impact performance, so we do
18428 # not want this to be the default eventually. Also, we use the
18429 # versioned .so libs for executables only if there is the -brtl
18430 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
18431 # To allow for filename-based versioning support, we need to create
18432 # libNAME.so.V as an archive file, containing:
18433 # *) an Import File, referring to the versioned filename of the
18434 # archive as well as the shared archive member, telling the
18435 # bitwidth (32 or 64) of that shared object, and providing the
18436 # list of exported symbols of that shared object, eventually
18437 # decorated with the 'weak' keyword
18438 # *) the shared object with the F_LOADONLY flag set, to really avoid
18439 # it being seen by the linker.
18440 # At run time we better use the real file rather than another symlink,
18441 # but for link time we create the symlink libNAME.so -> libNAME.so.V
18443 case $with_aix_soname,$aix_use_runtimelinking in
18444 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
18445 # soname into executable. Probably we can add versioning support to
18446 # collect2, so additional links can be useful in future.
18447 aix
,yes) # traditional libtool
18448 dynamic_linker
='AIX unversionable lib.so'
18449 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18450 # instead of lib<name>.a to let people know that these are not
18451 # typical AIX shared libraries.
18452 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18454 aix
,no
) # traditional AIX only
18455 dynamic_linker
='AIX lib.a(lib.so.V)'
18456 # We preserve .a as extension for shared libraries through AIX4.2
18457 # and later when we are not doing run time linking.
18458 library_names_spec
='$libname$release.a $libname.a'
18459 soname_spec
='$libname$release$shared_ext$major'
18461 svr4
,*) # full svr4 only
18462 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
18463 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
18464 # We do not specify a path in Import Files, so LIBPATH fires.
18465 shlibpath_overrides_runpath
=yes
18467 *,yes) # both, prefer svr4
18468 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
18469 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
18470 # unpreferred sharedlib libNAME.a needs extra handling
18471 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"'
18472 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"'
18473 # We do not specify a path in Import Files, so LIBPATH fires.
18474 shlibpath_overrides_runpath
=yes
18476 *,no
) # both, prefer aix
18477 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
18478 library_names_spec
='$libname$release.a $libname.a'
18479 soname_spec
='$libname$release$shared_ext$major'
18480 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
18481 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)'
18482 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"'
18485 shlibpath_var
=LIBPATH
18492 # Since July 2007 AmigaOS4 officially supports .so libraries.
18493 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18494 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18497 library_names_spec
='$libname.ixlibrary $libname.a'
18498 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18499 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'
18505 library_names_spec
='$libname$shared_ext'
18506 dynamic_linker
="$host_os ld.so"
18507 shlibpath_var
=LIBRARY_PATH
18511 version_type
=linux
# correct to gnu/linux during the next big refactor
18513 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18514 soname_spec
='$libname$release$shared_ext$major'
18515 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18516 shlibpath_var
=LD_LIBRARY_PATH
18517 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18518 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18519 # the default ld.so.conf also contains /usr/contrib/lib and
18520 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18521 # libtool to hard-code these into programs
18524 cygwin
* | mingw
* | pw32
* | cegcc
*)
18525 version_type
=windows
18530 case $GCC,$cc_basename in
18533 library_names_spec
='$libname.dll.a'
18534 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18535 postinstall_cmds
='base_file=`basename \$file`~
18536 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18537 dldir=$destdir/`dirname \$dlpath`~
18538 test -d \$dldir || mkdir -p \$dldir~
18539 $install_prog $dir/$dlname \$dldir/$dlname~
18540 chmod a+x \$dldir/$dlname~
18541 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18542 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18544 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18545 dlpath=$dir/\$dldll~
18547 shlibpath_overrides_runpath
=yes
18551 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18552 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18556 # MinGW DLLs use traditional 'lib' prefix
18557 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18560 # pw32 DLLs use 'pw' prefix rather than 'lib'
18561 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18564 dynamic_linker
='Win32 ld.exe'
18569 libname_spec
='$name'
18570 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
18571 library_names_spec
='$libname.dll.lib'
18575 sys_lib_search_path_spec
=
18578 for lt_path
in $LIB
18581 # Let DOS variable expansion print the short 8.3 style file name.
18582 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
18583 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
18586 # Convert to MSYS style.
18587 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18590 # Convert to unix form, then to dos form, then back to unix form
18591 # but this time dos style (no spaces!) so that the unix form looks
18592 # like /cygdrive/c/PROGRA~1:/cygdr...
18593 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
18594 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
18595 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18598 sys_lib_search_path_spec
=$LIB
18599 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
18600 # It is most probably a Windows format PATH.
18601 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18603 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18605 # FIXME: find the short name or the path components, as spaces are
18606 # common. (e.g. "Program Files" -> "PROGRA~1")
18610 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18611 postinstall_cmds
='base_file=`basename \$file`~
18612 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18613 dldir=$destdir/`dirname \$dlpath`~
18614 test -d \$dldir || mkdir -p \$dldir~
18615 $install_prog $dir/$dlname \$dldir/$dlname'
18616 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18617 dlpath=$dir/\$dldll~
18619 shlibpath_overrides_runpath
=yes
18620 dynamic_linker
='Win32 link.exe'
18624 # Assume MSVC wrapper
18625 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
18626 dynamic_linker
='Win32 ld.exe'
18629 # FIXME: first we should search . and the directory the executable is in
18633 darwin
* | rhapsody
*)
18634 dynamic_linker
="$host_os dyld"
18635 version_type
=darwin
18638 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
18639 soname_spec
='$libname$release$major$shared_ext'
18640 shlibpath_overrides_runpath
=yes
18641 shlibpath_var
=DYLD_LIBRARY_PATH
18642 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18644 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18648 version_type
=linux
# correct to gnu/linux during the next big refactor
18651 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18652 soname_spec
='$libname$release$shared_ext$major'
18653 shlibpath_var
=LD_LIBRARY_PATH
18656 freebsd
* | dragonfly
*)
18657 # DragonFly does not have aout. When/if they implement a new
18658 # versioning mechanism, adjust this.
18659 if test -x /usr
/bin
/objformat
; then
18660 objformat
=`/usr/bin/objformat`
18663 freebsd
[23].
*) objformat
=aout
;;
18664 *) objformat
=elf
;;
18667 version_type
=freebsd-
$objformat
18668 case $version_type in
18670 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18671 soname_spec
='$libname$release$shared_ext$major'
18676 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18680 shlibpath_var
=LD_LIBRARY_PATH
18683 shlibpath_overrides_runpath
=yes
18685 freebsd3.
[01]* | freebsdelf3.
[01]*)
18686 shlibpath_overrides_runpath
=yes
18687 hardcode_into_libs
=yes
18689 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18690 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18691 shlibpath_overrides_runpath
=no
18692 hardcode_into_libs
=yes
18694 *) # from 4.6 on, and DragonFly
18695 shlibpath_overrides_runpath
=yes
18696 hardcode_into_libs
=yes
18702 version_type
=linux
# correct to gnu/linux during the next big refactor
18705 dynamic_linker
="$host_os runtime_loader"
18706 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18707 soname_spec
='$libname$release$shared_ext$major'
18708 shlibpath_var
=LIBRARY_PATH
18709 shlibpath_overrides_runpath
=no
18710 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
18711 hardcode_into_libs
=yes
18714 hpux9
* | hpux10
* | hpux11
*)
18715 # Give a soname corresponding to the major version so that dld.sl refuses to
18716 # link against other versions.
18723 hardcode_into_libs
=yes
18724 dynamic_linker
="$host_os dld.so"
18725 shlibpath_var
=LD_LIBRARY_PATH
18726 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18727 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18728 soname_spec
='$libname$release$shared_ext$major'
18729 if test 32 = "$HPUX_IA64_MODE"; then
18730 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18731 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
18733 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18734 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
18739 hardcode_into_libs
=yes
18740 dynamic_linker
="$host_os dld.sl"
18741 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18742 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18743 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18744 soname_spec
='$libname$release$shared_ext$major'
18745 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18746 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18750 dynamic_linker
="$host_os dld.sl"
18751 shlibpath_var
=SHLIB_PATH
18752 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18753 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18754 soname_spec
='$libname$release$shared_ext$major'
18757 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18758 postinstall_cmds
='chmod 555 $lib'
18759 # or fails outright, so override atomically:
18760 install_override_mode
=555
18764 version_type
=linux
# correct to gnu/linux during the next big refactor
18767 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18768 soname_spec
='$libname$release$shared_ext$major'
18769 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18770 shlibpath_var
=LD_LIBRARY_PATH
18771 shlibpath_overrides_runpath
=no
18772 hardcode_into_libs
=yes
18775 irix5
* | irix6
* | nonstopux
*)
18777 nonstopux
*) version_type
=nonstopux
;;
18779 if test yes = "$lt_cv_prog_gnu_ld"; then
18780 version_type
=linux
# correct to gnu/linux during the next big refactor
18787 soname_spec
='$libname$release$shared_ext$major'
18788 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
18790 irix5
* | nonstopux
*)
18791 libsuff
= shlibsuff
=
18794 case $LD in # libtool.m4 will add one of these switches to LD
18795 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18796 libsuff
= shlibsuff
= libmagic
=32-bit;;
18797 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18798 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18799 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18800 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18801 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18805 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18806 shlibpath_overrides_runpath
=no
18807 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
18808 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
18809 hardcode_into_libs
=yes
18812 # No shared lib support for Linux oldld, aout, or coff.
18813 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18818 version_type
=none
# Android doesn't support versioned libraries.
18821 library_names_spec
='$libname$release$shared_ext'
18822 soname_spec
='$libname$release$shared_ext'
18824 shlibpath_var
=LD_LIBRARY_PATH
18825 shlibpath_overrides_runpath
=yes
18827 # This implies no fast_install, which is unacceptable.
18828 # Some rework will be needed to allow for fast_install
18829 # before this can be enabled.
18830 hardcode_into_libs
=yes
18832 dynamic_linker
='Android linker'
18833 # Don't embed -rpath directories since the linker doesn't support them.
18834 hardcode_libdir_flag_spec_CXX
='-L$libdir'
18837 # This must be glibc/ELF.
18838 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
18839 version_type
=linux
# correct to gnu/linux during the next big refactor
18842 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18843 soname_spec
='$libname$release$shared_ext$major'
18844 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18845 shlibpath_var
=LD_LIBRARY_PATH
18846 shlibpath_overrides_runpath
=no
18848 # Some binutils ld are patched to set DT_RUNPATH
18849 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
18850 $as_echo_n "(cached) " >&6
18852 lt_cv_shlibpath_overrides_runpath
=no
18853 save_LDFLAGS
=$LDFLAGS
18854 save_libdir
=$libdir
18855 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
18856 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
18857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18868 if ac_fn_cxx_try_link
"$LINENO"; then :
18869 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
18870 lt_cv_shlibpath_overrides_runpath
=yes
18873 rm -f core conftest.err conftest.
$ac_objext \
18874 conftest
$ac_exeext conftest.
$ac_ext
18875 LDFLAGS
=$save_LDFLAGS
18876 libdir
=$save_libdir
18880 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
18882 # This implies no fast_install, which is unacceptable.
18883 # Some rework will be needed to allow for fast_install
18884 # before this can be enabled.
18885 hardcode_into_libs
=yes
18887 # Ideally, we could use ldconfig to report *all* directores which are
18888 # searched for libraries, however this is still not possible. Aside from not
18889 # being certain /sbin/ldconfig is available, command
18890 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
18891 # even though it is searched at run-time. Try to do the best guess by
18892 # appending ld.so.conf contents (and includes) to the search path.
18893 if test -f /etc
/ld.so.conf
; then
18894 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' ' '`
18895 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18898 # We used to test for /lib/ld.so.1 and disable shared libraries on
18899 # powerpc, because MkLinux only supported shared libraries with the
18900 # GNU dynamic linker. Since this was broken with cross compilers,
18901 # most powerpc-linux boxes support dynamic linking these days and
18902 # people can always --disable-shared, the test was removed, and we
18903 # assume the GNU/Linux dynamic linker is in use.
18904 dynamic_linker
='GNU/Linux ld.so'
18911 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18912 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18913 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18914 dynamic_linker
='NetBSD (a.out) ld.so'
18916 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18917 soname_spec
='$libname$release$shared_ext$major'
18918 dynamic_linker
='NetBSD ld.elf_so'
18920 shlibpath_var
=LD_LIBRARY_PATH
18921 shlibpath_overrides_runpath
=yes
18922 hardcode_into_libs
=yes
18926 version_type
=linux
# correct to gnu/linux during the next big refactor
18927 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18928 shlibpath_var
=LD_LIBRARY_PATH
18929 shlibpath_overrides_runpath
=yes
18936 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18937 soname_spec
='$libname$release$shared_ext$major'
18938 shlibpath_var
=LD_LIBRARY_PATH
18939 shlibpath_overrides_runpath
=no
18940 hardcode_into_libs
=yes
18941 dynamic_linker
='ldqnx.so'
18944 openbsd
* | bitrig
*)
18946 sys_lib_dlsearch_path_spec
=/usr
/lib
18948 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
18953 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18954 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18955 shlibpath_var
=LD_LIBRARY_PATH
18956 shlibpath_overrides_runpath
=yes
18960 libname_spec
='$name'
18961 version_type
=windows
18965 # OS/2 can only load a DLL with a base name of 8 characters or less.
18966 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
18967 v=$($ECHO $release$versuffix | tr -d .-);
18968 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
18969 $ECHO $n$v`$shared_ext'
18970 library_names_spec
='${libname}_dll.$libext'
18971 dynamic_linker
='OS/2 ld.exe'
18972 shlibpath_var
=BEGINLIBPATH
18973 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18974 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18975 postinstall_cmds
='base_file=`basename \$file`~
18976 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
18977 dldir=$destdir/`dirname \$dlpath`~
18978 test -d \$dldir || mkdir -p \$dldir~
18979 $install_prog $dir/$dlname \$dldir/$dlname~
18980 chmod a+x \$dldir/$dlname~
18981 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18982 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18984 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
18985 dlpath=$dir/\$dldll~
18989 osf3
* | osf4
* | osf5
*)
18993 soname_spec
='$libname$release$shared_ext$major'
18994 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18995 shlibpath_var
=LD_LIBRARY_PATH
18996 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18997 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19005 version_type
=linux
# correct to gnu/linux during the next big refactor
19008 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19009 soname_spec
='$libname$release$shared_ext$major'
19010 shlibpath_var
=LD_LIBRARY_PATH
19011 shlibpath_overrides_runpath
=yes
19012 hardcode_into_libs
=yes
19013 # ldd complains unless libraries are executable
19014 postinstall_cmds
='chmod +x $lib'
19019 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19020 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19021 shlibpath_var
=LD_LIBRARY_PATH
19022 shlibpath_overrides_runpath
=yes
19023 if test yes = "$with_gnu_ld"; then
19030 version_type
=linux
# correct to gnu/linux during the next big refactor
19031 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19032 soname_spec
='$libname$release$shared_ext$major'
19033 shlibpath_var
=LD_LIBRARY_PATH
19034 case $host_vendor in
19036 shlibpath_overrides_runpath
=no
19038 runpath_var
=LD_RUN_PATH
19046 shlibpath_overrides_runpath
=no
19047 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19053 if test -d /usr
/nec
; then
19054 version_type
=linux
# correct to gnu/linux during the next big refactor
19055 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
19056 soname_spec
='$libname$shared_ext.$major'
19057 shlibpath_var
=LD_LIBRARY_PATH
19061 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19065 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
19066 soname_spec
='$libname$release$shared_ext$major'
19067 shlibpath_var
=LD_LIBRARY_PATH
19068 shlibpath_overrides_runpath
=yes
19069 hardcode_into_libs
=yes
19070 if test yes = "$with_gnu_ld"; then
19071 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19073 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19076 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19080 sys_lib_dlsearch_path_spec
='/usr/lib'
19084 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
19085 version_type
=linux
# correct to gnu/linux during the next big refactor
19088 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19089 shlibpath_var
=LD_LIBRARY_PATH
19090 shlibpath_overrides_runpath
=no
19091 hardcode_into_libs
=yes
19095 version_type
=linux
# correct to gnu/linux during the next big refactor
19096 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19097 soname_spec
='$libname$release$shared_ext$major'
19098 shlibpath_var
=LD_LIBRARY_PATH
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19106 $as_echo "$dynamic_linker" >&6; }
19107 test no
= "$dynamic_linker" && can_build_shared
=no
19109 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19110 if test yes = "$GCC"; then
19111 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19114 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
19115 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
19118 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
19119 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
19122 # lt_cv_sys_lib... is unaugmented for libtool script decls...
19123 lt_cv_sys_lib_dlsearch_path_spec
=$sys_lib_dlsearch_path_spec
19125 # ..but sys_lib_... needs LT_SYS_LIBRARY_PATH munging for
19126 # LT_SYS_DLSEARCH_PATH macro in ltdl.m4 to work with the correct paths:
19127 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19167 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19168 hardcode_action_CXX
=
19169 if test -n "$hardcode_libdir_flag_spec_CXX" ||
19170 test -n "$runpath_var_CXX" ||
19171 test yes = "$hardcode_automatic_CXX"; then
19173 # We can hardcode non-existent directories.
19174 if test no
!= "$hardcode_direct_CXX" &&
19175 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19176 # have to relink, otherwise we might link with an installed library
19177 # when we should be linking with a yet-to-be-installed one
19178 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
19179 test no
!= "$hardcode_minus_L_CXX"; then
19180 # Linking always hardcodes the temporary library directory.
19181 hardcode_action_CXX
=relink
19183 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19184 hardcode_action_CXX
=immediate
19187 # We cannot hardcode anything, or else we can only hardcode existing
19189 hardcode_action_CXX
=unsupported
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
19192 $as_echo "$hardcode_action_CXX" >&6; }
19194 if test relink
= "$hardcode_action_CXX" ||
19195 test yes = "$inherit_rpath_CXX"; then
19196 # Fast installation is not supported
19197 enable_fast_install
=no
19198 elif test yes = "$shlibpath_overrides_runpath" ||
19199 test no
= "$enable_shared"; then
19200 # Fast installation is not necessary
19201 enable_fast_install
=needless
19210 fi # test -n "$compiler"
19213 CFLAGS
=$lt_save_CFLAGS
19217 with_gnu_ld
=$lt_save_with_gnu_ld
19218 lt_cv_path_LDCXX
=$lt_cv_path_LD
19219 lt_cv_path_LD
=$lt_save_path_LD
19220 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
19221 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
19222 fi # test yes != "$_lt_caught_CXX_error"
19225 ac_cpp
='$CPP $CPPFLAGS'
19226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
19233 $as_echo_n "checking whether ln -s works... " >&6; }
19235 if test "$LN_S" = "ln -s"; then
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19237 $as_echo "yes" >&6; }
19239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
19240 $as_echo "no, using $LN_S" >&6; }
19244 # Check whether --with-ln-s was given.
19245 if test "${with_ln_s+set}" = set; then :
19246 withval
=$with_ln_s;
19248 if test "x$LN_S" != "xln -s" && test "x$kpse_cv_have_win32" = xno
&& test "x$with_ln_s" != xno
; then
19249 as_fn_error $?
"You could use \`--without-ln-s' to build without working \`ln -s'" "$LINENO" 5
19252 if test "x$enable_native_texlive_build" = xyes
; then
19253 if test "x$datarootdir" = 'x${prefix}/share'; then
19254 datarootdir
='${prefix}'
19255 ac_configure_args
="$ac_configure_args '--datarootdir=$datarootdir'"
19257 if test "x$mandir" = 'x${datarootdir}/man'; then
19258 mandir
='${prefix}/texmf-dist/doc/man'
19259 ac_configure_args
="$ac_configure_args '--mandir=$mandir'"
19261 if test "x$infodir" = 'x${datarootdir}/info'; then
19262 infodir
='${prefix}/texmf-dist/doc/info'
19263 ac_configure_args
="$ac_configure_args '--infodir=$infodir'"
19267 if test "x$enable_web2c" = xyes
&& test "x$with_system_kpathsea" = xyes
; then
19268 if test "x$with_kpathsea_includes" = x
; then
19269 list
="/usr/include /usr/local/include"
19271 list
=$with_kpathsea_includes
19274 for ac_dir
in $list; do
19275 if test -r "$ac_dir/kpathsea/paths.h"; then
19280 if test "x$found" = xno
; then
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: You requested to build \`web2c' using an installed \`kpathsea' version," >&5
19282 $as_echo "$as_me: You requested to build \`web2c' using an installed \`kpathsea' version," >&6;}
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: which requires to locate the <kpathsea/paths.h> header file." >&5
19284 $as_echo "$as_me: which requires to locate the <kpathsea/paths.h> header file." >&6;}
19285 as_fn_error $?
"Sorry, not found under any of: $list *****" "$LINENO" 5
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TeX specific libraries to build" >&5
19292 $as_echo_n "checking for TeX specific libraries to build... " >&6; }
19295 if test -x $srcdir/texk
/kpathsea
/configure
; then
19296 test "x$with_system_kpathsea" != xyes
&& test "x$need_kpathsea" = xyes
&& MAKE_SUBDIRS
="texk/kpathsea $MAKE_SUBDIRS"
19297 CONF_SUBDIRS
="texk/kpathsea $CONF_SUBDIRS"
19299 subdirs
="$subdirs texk/kpathsea"
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE_SUBDIRS" >&5
19305 $as_echo "$MAKE_SUBDIRS" >&6; }
19307 kpse_save_CPPFLAGS
=$CPPFLAGS
19308 kpse_save_LIBS
=$LIBS
19312 if test "x$with_kpathsea_includes" != x
&& test "x$with_kpathsea_includes" != xyes
; then
19313 KPATHSEA_INCLUDES
="-I$with_kpathsea_includes"
19315 KPATHSEA_LIBS
="-lkpathsea"
19316 if test "x$with_kpathsea_libdir" != x
&& test "x$with_kpathsea_libdir" != xyes
; then
19317 KPATHSEA_LIBS
="-L$with_kpathsea_libdir $KPATHSEA_LIBS"
19320 if test "x$with_ptexenc_includes" != x
&& test "x$with_ptexenc_includes" != xyes
; then
19321 PTEXENC_INCLUDES
="-I$with_ptexenc_includes"
19323 PTEXENC_LIBS
="-lptexenc"
19324 if test "x$with_ptexenc_libdir" != x
&& test "x$with_ptexenc_libdir" != xyes
; then
19325 PTEXENC_LIBS
="-L$with_ptexenc_libdir $PTEXENC_LIBS"
19328 if test "x$with_zlib_includes" != x
&& test "x$with_zlib_includes" != xyes
; then
19329 ZLIB_INCLUDES
="-I$with_zlib_includes"
19332 if test "x$with_zlib_libdir" != x
&& test "x$with_zlib_libdir" != xyes
; then
19333 ZLIB_LIBS
="-L$with_zlib_libdir $ZLIB_LIBS"
19336 if test "x$with_libpaper_includes" != x
&& test "x$with_libpaper_includes" != xyes
; then
19337 LIBPAPER_INCLUDES
="-I$with_libpaper_includes"
19339 LIBPAPER_LIBS
="-lpaper"
19340 if test "x$with_libpaper_libdir" != x
&& test "x$with_libpaper_libdir" != xyes
; then
19341 LIBPAPER_LIBS
="-L$with_libpaper_libdir $LIBPAPER_LIBS"
19344 if test -n "$ac_tool_prefix"; then
19345 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19346 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19348 $as_echo_n "checking for $ac_word... " >&6; }
19349 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
19350 $as_echo_n "(cached) " >&6
19352 if test -n "$PKG_CONFIG"; then
19353 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
19355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19356 for as_dir
in $PATH
19359 test -z "$as_dir" && as_dir
=.
19360 for ac_exec_ext
in '' $ac_executable_extensions; do
19361 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19362 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
19363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19372 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
19373 if test -n "$PKG_CONFIG"; then
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19375 $as_echo "$PKG_CONFIG" >&6; }
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19378 $as_echo "no" >&6; }
19383 if test -z "$ac_cv_prog_PKG_CONFIG"; then
19384 ac_ct_PKG_CONFIG
=$PKG_CONFIG
19385 # Extract the first word of "pkg-config", so it can be a program name with args.
19386 set dummy pkg-config
; ac_word
=$2
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19388 $as_echo_n "checking for $ac_word... " >&6; }
19389 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false
; then :
19390 $as_echo_n "(cached) " >&6
19392 if test -n "$ac_ct_PKG_CONFIG"; then
19393 ac_cv_prog_ac_ct_PKG_CONFIG
="$ac_ct_PKG_CONFIG" # Let the user override the test.
19395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19396 for as_dir
in $PATH
19399 test -z "$as_dir" && as_dir
=.
19400 for ac_exec_ext
in '' $ac_executable_extensions; do
19401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19402 ac_cv_prog_ac_ct_PKG_CONFIG
="pkg-config"
19403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19412 ac_ct_PKG_CONFIG
=$ac_cv_prog_ac_ct_PKG_CONFIG
19413 if test -n "$ac_ct_PKG_CONFIG"; then
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
19415 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19418 $as_echo "no" >&6; }
19421 if test "x$ac_ct_PKG_CONFIG" = x
; then
19424 case $cross_compiling:$ac_tool_warned in
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19428 ac_tool_warned
=yes ;;
19430 PKG_CONFIG
=$ac_ct_PKG_CONFIG
19433 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
19436 if $PKG_CONFIG libpng
; then
19437 LIBPNG_INCLUDES
=`$PKG_CONFIG libpng --cflags`
19438 LIBPNG_LIBS
=`$PKG_CONFIG libpng --libs`
19439 elif test "x$need_libpng:$with_system_libpng" = xyes
:yes; then
19440 as_fn_error $?
"did not find libpng" "$LINENO" 5
19443 if test -n "$ac_tool_prefix"; then
19444 # Extract the first word of "${ac_tool_prefix}freetype-config", so it can be a program name with args.
19445 set dummy
${ac_tool_prefix}freetype-config
; ac_word
=$2
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19447 $as_echo_n "checking for $ac_word... " >&6; }
19448 if ${ac_cv_prog_FT2_CONFIG+:} false
; then :
19449 $as_echo_n "(cached) " >&6
19451 if test -n "$FT2_CONFIG"; then
19452 ac_cv_prog_FT2_CONFIG
="$FT2_CONFIG" # Let the user override the test.
19454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19455 for as_dir
in $PATH
19458 test -z "$as_dir" && as_dir
=.
19459 for ac_exec_ext
in '' $ac_executable_extensions; do
19460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19461 ac_cv_prog_FT2_CONFIG
="${ac_tool_prefix}freetype-config"
19462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19471 FT2_CONFIG
=$ac_cv_prog_FT2_CONFIG
19472 if test -n "$FT2_CONFIG"; then
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
19474 $as_echo "$FT2_CONFIG" >&6; }
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19477 $as_echo "no" >&6; }
19482 if test -z "$ac_cv_prog_FT2_CONFIG"; then
19483 ac_ct_FT2_CONFIG
=$FT2_CONFIG
19484 # Extract the first word of "freetype-config", so it can be a program name with args.
19485 set dummy freetype-config
; ac_word
=$2
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19487 $as_echo_n "checking for $ac_word... " >&6; }
19488 if ${ac_cv_prog_ac_ct_FT2_CONFIG+:} false
; then :
19489 $as_echo_n "(cached) " >&6
19491 if test -n "$ac_ct_FT2_CONFIG"; then
19492 ac_cv_prog_ac_ct_FT2_CONFIG
="$ac_ct_FT2_CONFIG" # Let the user override the test.
19494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19495 for as_dir
in $PATH
19498 test -z "$as_dir" && as_dir
=.
19499 for ac_exec_ext
in '' $ac_executable_extensions; do
19500 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19501 ac_cv_prog_ac_ct_FT2_CONFIG
="freetype-config"
19502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19511 ac_ct_FT2_CONFIG
=$ac_cv_prog_ac_ct_FT2_CONFIG
19512 if test -n "$ac_ct_FT2_CONFIG"; then
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FT2_CONFIG" >&5
19514 $as_echo "$ac_ct_FT2_CONFIG" >&6; }
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19517 $as_echo "no" >&6; }
19520 if test "x$ac_ct_FT2_CONFIG" = x
; then
19523 case $cross_compiling:$ac_tool_warned in
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19527 ac_tool_warned
=yes ;;
19529 FT2_CONFIG
=$ac_ct_FT2_CONFIG
19532 FT2_CONFIG
="$ac_cv_prog_FT2_CONFIG"
19534 if $FT2_CONFIG --ftversion >/dev
/null
2>&1; then
19535 FREETYPE2_INCLUDES
=`$FT2_CONFIG --cflags`
19536 FREETYPE2_LIBS
=`$FT2_CONFIG --libs`
19537 elif test "x$need_freetype2:$with_system_freetype2" = xyes
:yes; then
19538 as_fn_error $?
"did not find freetype-config required for system freetype2 library" "$LINENO" 5
19541 if test "x$with_gd_includes" != x
&& test "x$with_gd_includes" != xyes
; then
19542 GD_INCLUDES
="-I$with_gd_includes"
19545 if test "x$with_gd_libdir" != x
&& test "x$with_gd_libdir" != xyes
; then
19546 GD_LIBS
="-L$with_gd_libdir $GD_LIBS"
19549 if test "x$with_potrace_includes" != x
&& test "x$with_potrace_includes" != xyes
; then
19550 POTRACE_INCLUDES
="-I$with_potrace_includes"
19552 POTRACE_LIBS
="-lpotrace"
19553 if test "x$with_potrace_libdir" != x
&& test "x$with_potrace_libdir" != xyes
; then
19554 POTRACE_LIBS
="-L$with_potrace_libdir $POTRACE_LIBS"
19557 if $PKG_CONFIG pixman-1
--atleast-version=0.18; then
19558 PIXMAN_INCLUDES
=`$PKG_CONFIG pixman-1 --cflags`
19559 PIXMAN_LIBS
=`$PKG_CONFIG pixman-1 --libs`
19560 elif test "x$need_pixman:$with_system_pixman" = xyes
:yes; then
19561 as_fn_error $?
"did not find pixman-0.18 or better" "$LINENO" 5
19564 if $PKG_CONFIG cairo
--atleast-version=1.12; then
19565 CAIRO_INCLUDES
=`$PKG_CONFIG cairo --cflags`
19566 CAIRO_LIBS
=`$PKG_CONFIG cairo --libs`
19567 elif test "x$need_cairo:$with_system_cairo" = xyes
:yes; then
19568 as_fn_error $?
"did not find cairo-1.12 or better" "$LINENO" 5
19571 if test "x$with_gmp_includes" != x
&& test "x$with_gmp_includes" != xyes
; then
19572 GMP_INCLUDES
="-I$with_gmp_includes"
19575 if test "x$with_gmp_libdir" != x
&& test "x$with_gmp_libdir" != xyes
; then
19576 GMP_LIBS
="-L$with_gmp_libdir $GMP_LIBS"
19579 if test "x$with_mpfr_includes" != x
&& test "x$with_mpfr_includes" != xyes
; then
19580 MPFR_INCLUDES
="-I$with_mpfr_includes"
19583 if test "x$with_mpfr_libdir" != x
&& test "x$with_mpfr_libdir" != xyes
; then
19584 MPFR_LIBS
="-L$with_mpfr_libdir $MPFR_LIBS"
19587 if $PKG_CONFIG poppler
--atleast-version=0.18; then
19588 POPPLER_VERSION
='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
19589 POPPLER_INCLUDES
="$POPPLER_VERSION `$PKG_CONFIG poppler --cflags`"
19590 POPPLER_LIBS
=`$PKG_CONFIG poppler --libs`
19591 elif test "x$need_poppler:$with_system_poppler" = xyes
:yes; then
19592 as_fn_error $?
"did not find poppler-0.18 or better" "$LINENO" 5
19595 if $PKG_CONFIG poppler
--atleast-version=0.12; then
19596 POPPLER_VERSION
='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
19597 XPDF_INCLUDES
="$POPPLER_VERSION `$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 if $PKG_CONFIG zziplib
--atleast-version=0.12; then
19604 ZZIPLIB_INCLUDES
=`$PKG_CONFIG zziplib --cflags`
19605 ZZIPLIB_LIBS
=`$PKG_CONFIG zziplib --libs`
19606 elif test "x$need_zziplib:$with_system_zziplib" = xyes
:yes; then
19607 as_fn_error $?
"did not find zziplib-0.12 or better" "$LINENO" 5
19610 if $PKG_CONFIG graphite2
; then
19611 GRAPHITE2_INCLUDES
=`$PKG_CONFIG graphite2 --cflags`
19612 GRAPHITE2_LIBS
=`$PKG_CONFIG graphite2 --libs`
19613 elif test "x$need_graphite2:$with_system_graphite2" = xyes
:yes; then
19614 as_fn_error $?
"did not find graphite2" "$LINENO" 5
19617 if test "x$with_teckit_includes" != x
&& test "x$with_teckit_includes" != xyes
; then
19618 TECKIT_INCLUDES
="-I$with_teckit_includes"
19620 TECKIT_LIBS
="-lTECkit"
19621 if test "x$with_teckit_libdir" != x
&& test "x$with_teckit_libdir" != xyes
; then
19622 TECKIT_LIBS
="-L$with_teckit_libdir $TECKIT_LIBS"
19625 if test -n "$ac_tool_prefix"; then
19626 # Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args.
19627 set dummy
${ac_tool_prefix}icu-config
; ac_word
=$2
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19629 $as_echo_n "checking for $ac_word... " >&6; }
19630 if ${ac_cv_prog_ICU_CONFIG+:} false
; then :
19631 $as_echo_n "(cached) " >&6
19633 if test -n "$ICU_CONFIG"; then
19634 ac_cv_prog_ICU_CONFIG
="$ICU_CONFIG" # Let the user override the test.
19636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19637 for as_dir
in $PATH
19640 test -z "$as_dir" && as_dir
=.
19641 for ac_exec_ext
in '' $ac_executable_extensions; do
19642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19643 ac_cv_prog_ICU_CONFIG
="${ac_tool_prefix}icu-config"
19644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19653 ICU_CONFIG
=$ac_cv_prog_ICU_CONFIG
19654 if test -n "$ICU_CONFIG"; then
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5
19656 $as_echo "$ICU_CONFIG" >&6; }
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19659 $as_echo "no" >&6; }
19664 if test -z "$ac_cv_prog_ICU_CONFIG"; then
19665 ac_ct_ICU_CONFIG
=$ICU_CONFIG
19666 # Extract the first word of "icu-config", so it can be a program name with args.
19667 set dummy icu-config
; ac_word
=$2
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19669 $as_echo_n "checking for $ac_word... " >&6; }
19670 if ${ac_cv_prog_ac_ct_ICU_CONFIG+:} false
; then :
19671 $as_echo_n "(cached) " >&6
19673 if test -n "$ac_ct_ICU_CONFIG"; then
19674 ac_cv_prog_ac_ct_ICU_CONFIG
="$ac_ct_ICU_CONFIG" # Let the user override the test.
19676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19677 for as_dir
in $PATH
19680 test -z "$as_dir" && as_dir
=.
19681 for ac_exec_ext
in '' $ac_executable_extensions; do
19682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19683 ac_cv_prog_ac_ct_ICU_CONFIG
="icu-config"
19684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19693 ac_ct_ICU_CONFIG
=$ac_cv_prog_ac_ct_ICU_CONFIG
19694 if test -n "$ac_ct_ICU_CONFIG"; then
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5
19696 $as_echo "$ac_ct_ICU_CONFIG" >&6; }
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19699 $as_echo "no" >&6; }
19702 if test "x$ac_ct_ICU_CONFIG" = x
; then
19705 case $cross_compiling:$ac_tool_warned in
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19709 ac_tool_warned
=yes ;;
19711 ICU_CONFIG
=$ac_ct_ICU_CONFIG
19714 ICU_CONFIG
="$ac_cv_prog_ICU_CONFIG"
19716 if $ICU_CONFIG --version >/dev
/null
2>&1; then
19717 ICU_INCLUDES
=`$ICU_CONFIG --cppflags`
19718 # Work around bug in icu-config version 4.4
19719 ICU_LIBS
=`$ICU_CONFIG --ldflags-searchpath `
19720 ICU_LIBS
="$ICU_LIBS `$ICU_CONFIG --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 2014-11-24, 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 2014-11-24
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 lt_cv_sys_lib_dlsearch_path_spec='`$ECHO "$lt_cv_sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20923 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20924 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20925 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20926 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20927 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20928 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20929 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20930 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20931 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20932 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20933 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20934 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20935 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20936 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20937 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20938 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20939 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20940 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20941 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20942 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20943 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20944 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20945 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20946 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20947 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20948 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20949 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20950 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20951 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20952 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20953 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20954 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20955 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20956 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20957 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20958 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20959 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20960 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20961 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20962 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20963 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20964 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20965 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20966 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20967 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20968 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20969 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20970 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20971 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20972 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20973 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20974 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20975 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20976 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20977 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20978 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20979 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20980 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20981 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20982 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20985 LTCFLAGS='$LTCFLAGS'
20986 compiler='$compiler_DEFAULT'
20988 # A function that is used when there is no print builtin or printf.
20989 func_fallback_echo ()
20991 eval 'cat <<_LTECHO_EOF
20996 # Quote evaled strings.
21013 deplibs_check_method \
21017 sharedlib_from_linklib_cmd \
21020 archiver_list_spec \
21026 lt_cv_sys_global_symbol_pipe \
21027 lt_cv_sys_global_symbol_to_cdecl \
21028 lt_cv_sys_global_symbol_to_import \
21029 lt_cv_sys_global_symbol_to_c_name_address \
21030 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21031 lt_cv_nm_interface \
21032 nm_file_list_spec \
21033 lt_cv_truncate_bin \
21034 lt_prog_compiler_no_builtin_flag \
21035 lt_prog_compiler_pic \
21036 lt_prog_compiler_wl \
21037 lt_prog_compiler_static \
21038 lt_cv_prog_compiler_c_o \
21047 export_dynamic_flag_spec \
21048 whole_archive_flag_spec \
21049 compiler_needs_object \
21051 allow_undefined_flag \
21052 no_undefined_flag \
21053 hardcode_libdir_flag_spec \
21054 hardcode_libdir_separator \
21058 variables_saved_for_relink \
21060 library_names_spec \
21062 install_override_mode \
21066 compiler_lib_search_dirs \
21071 compiler_lib_search_path \
21075 lt_prog_compiler_no_builtin_flag_CXX \
21076 lt_prog_compiler_pic_CXX \
21077 lt_prog_compiler_wl_CXX \
21078 lt_prog_compiler_static_CXX \
21079 lt_cv_prog_compiler_c_o_CXX \
21080 export_dynamic_flag_spec_CXX \
21081 whole_archive_flag_spec_CXX \
21082 compiler_needs_object_CXX \
21084 allow_undefined_flag_CXX \
21085 no_undefined_flag_CXX \
21086 hardcode_libdir_flag_spec_CXX \
21087 hardcode_libdir_separator_CXX \
21088 exclude_expsyms_CXX \
21089 include_expsyms_CXX \
21090 file_list_spec_CXX \
21091 compiler_lib_search_dirs_CXX \
21092 predep_objects_CXX \
21093 postdep_objects_CXX \
21096 compiler_lib_search_path_CXX; do
21097 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21098 *[\\\\\\\`\\"\\\$]*)
21099 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21102 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21107 # Double-quote double-evaled strings.
21108 for var in reload_cmds \
21109 old_postinstall_cmds \
21110 old_postuninstall_cmds \
21112 extract_expsyms_cmds \
21113 old_archive_from_new_cmds \
21114 old_archive_from_expsyms_cmds \
21116 archive_expsym_cmds \
21118 module_expsym_cmds \
21119 export_symbols_cmds \
21123 postuninstall_cmds \
21125 sys_lib_search_path_spec \
21126 lt_cv_sys_lib_dlsearch_path_spec \
21128 old_archive_cmds_CXX \
21129 old_archive_from_new_cmds_CXX \
21130 old_archive_from_expsyms_cmds_CXX \
21132 archive_expsym_cmds_CXX \
21134 module_expsym_cmds_CXX \
21135 export_symbols_cmds_CXX \
21137 postlink_cmds_CXX; do
21138 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21139 *[\\\\\\\`\\"\\\$]*)
21140 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21143 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21148 ac_aux_dir='$ac_aux_dir'
21150 # See if we are running on zsh, and set the options that allow our
21151 # commands through without removal of \ escapes INIT.
21152 if test -n "\${ZSH_VERSION+set}"; then
21153 setopt NO_GLOB_SUBST
21164 enable_libtool_hack='$enable_libtool_hack'
21170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21172 # Handling of arguments.
21173 for ac_config_target
in $ac_config_targets
21175 case $ac_config_target in
21176 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21177 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21178 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21179 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
21181 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21186 # If the user did not use the arguments to specify the items to instantiate,
21187 # then the envvar interface is used. Set only those that are not.
21188 # We use the long form for the default assignment because of an extremely
21189 # bizarre bug on SunOS 4.1.3.
21190 if $ac_need_defaults; then
21191 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21192 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21195 # Have a temporary directory for convenience. Make it in the build tree
21196 # simply because there is no reason against having it here, and in addition,
21197 # creating and moving files from /tmp can sometimes cause problems.
21198 # Hook for its removal unless debugging.
21199 # Note that there is a small window in which the directory will not be cleaned:
21200 # after its creation but before its name has been assigned to `$tmp'.
21204 trap 'exit_status=$?
21205 : "${ac_tmp:=$tmp}"
21206 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21208 trap 'as_fn_exit 1' 1 2 13 15
21210 # Create a (secure) tmp directory for tmp files.
21213 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21217 tmp
=.
/conf$$
-$RANDOM
21218 (umask 077 && mkdir
"$tmp")
21219 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21222 # Set up the scripts for CONFIG_FILES section.
21223 # No need to generate them if there are no CONFIG_FILES.
21224 # This happens for instance with `./config.status config.h'.
21225 if test -n "$CONFIG_FILES"; then
21228 ac_cr
=`echo X | tr X '\015'`
21229 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21230 # But we know of no other shell where ac_cr would be empty at this
21231 # point, so we can use a bashism as a fallback.
21232 if test "x$ac_cr" = x
; then
21233 eval ac_cr
=\$
\'\\r
\'
21235 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21236 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21239 ac_cs_awk_cr
=$ac_cr
21242 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21247 echo "cat >conf$$subs.awk <<_ACEOF" &&
21248 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21250 } >conf$$subs.sh ||
21251 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21252 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21254 for ac_last_try in false false false false false :; do
21255 . ./conf$$subs.sh ||
21256 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21258 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21259 if test $ac_delim_n = $ac_delim_num; then
21261 elif $ac_last_try; then
21262 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21264 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21267 rm -f conf$$subs.sh
21269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21270 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21274 s/^/S["/; s
/!.
*/"]=/
21284 s/\(.\{148\}\)..*/\1/
21286 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21291 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21298 s/\(.\{148\}\)..*/\1/
21300 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21304 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21309 ' <conf$$subs.awk | sed '
21314 ' >>$CONFIG_STATUS || ac_write_fail=1
21315 rm -f conf$$subs.awk
21316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21318 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21319 for (key in S) S_is_set[key] = 1
21325 nfields = split(line, field, "@
")
21327 len = length(field[1])
21328 for (i = 2; i < nfields; i++) {
21330 keylen = length(key)
21331 if (S_is_set[key]) {
21333 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21334 len += length(value) + length(field[++i])
21345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21346 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21347 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21350 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21351 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21354 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21355 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21356 # trailing colons and then remove the whole line if VPATH becomes empty
21357 # (actually we leave an empty line to preserve line numbers).
21358 if test "x
$srcdir" = x.; then
21359 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21378 fi # test -n "$CONFIG_FILES"
21381 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
21386 :[FHLC]) ac_mode=$ac_tag; continue;;
21388 case $ac_mode$ac_tag in
21390 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
21391 :[FH]-) ac_tag=-:-;;
21392 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21409 -) ac_f="$ac_tmp/stdin";;
21410 *) # Look for the file first in the build tree, then in the source tree
21411 # (if the path is not absolute). The absolute path cannot be DOS-style,
21412 # because $ac_f cannot contain `:'.
21416 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21418 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21420 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
21421 as_fn_append ac_file_inputs " '$ac_f'"
21424 # Let's still pretend it is `configure' which instantiates (i.e., don't
21425 # use $as_me), people would be surprised to read:
21426 # /* config.h. Generated by config.status. */
21427 configure_input='Generated from '`
21428 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21430 if test x"$ac_file" != x-; then
21431 configure_input="$ac_file.
$configure_input"
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
21433 $as_echo "$as_me: creating
$ac_file" >&6;}
21435 # Neutralize special characters interpreted by sed in replacement strings.
21436 case $configure_input in #(
21437 *\&* | *\|* | *\\* )
21438 ac_sed_conf_input=`$as_echo "$configure_input" |
21439 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21440 *) ac_sed_conf_input=$configure_input;;
21444 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
21445 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
21450 ac_dir=`$as_dirname -- "$ac_file" ||
21451 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21452 X"$ac_file" : 'X\(//\)[^/]' \| \
21453 X"$ac_file" : 'X\(//\)$' \| \
21454 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21455 $as_echo X"$ac_file" |
21456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21460 /^X\(\/\/\)[^/].*/{
21473 as_dir="$ac_dir"; as_fn_mkdir_p
21477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21479 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21480 # A "..
" for each directory in $ac_dir_suffix.
21481 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21482 case $ac_top_builddir_sub in
21483 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21484 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21487 ac_abs_top_builddir=$ac_pwd
21488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21489 # for backward compatibility:
21490 ac_top_builddir=$ac_top_build_prefix
21493 .) # We are building in place.
21495 ac_top_srcdir=$ac_top_builddir_sub
21496 ac_abs_top_srcdir=$ac_pwd ;;
21497 [\\/]* | ?:[\\/]* ) # Absolute name.
21498 ac_srcdir=$srcdir$ac_dir_suffix;
21499 ac_top_srcdir=$srcdir
21500 ac_abs_top_srcdir=$srcdir ;;
21501 *) # Relative name.
21502 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21503 ac_top_srcdir=$ac_top_build_prefix$srcdir
21504 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21516 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21517 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21519 ac_MKDIR_P=$MKDIR_P
21521 [\\/$]* | ?:[\\/]* ) ;;
21522 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21527 # If the template does not know about datarootdir, expand it.
21528 # FIXME: This hack should be removed a few years after 2.60.
21529 ac_datarootdir_hack=; ac_datarootdir_seen=
21540 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
21541 *datarootdir*) ac_datarootdir_seen=yes;;
21542 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
21544 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
21546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21547 ac_datarootdir_hack='
21548 s&@datadir@&$datadir&g
21549 s&@docdir@&$docdir&g
21550 s&@infodir@&$infodir&g
21551 s&@localedir@&$localedir&g
21552 s&@mandir@&$mandir&g
21553 s&\\\${datarootdir}&$datarootdir&g' ;;
21557 # Neutralize VPATH when `$srcdir' = `.'.
21558 # Shell code in configure.ac might set extrasub.
21559 # FIXME: do we really want to maintain this feature?
21560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21561 ac_sed_extra="$ac_vpsub
21564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21566 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21567 s|@configure_input@|
$ac_sed_conf_input|
;t t
21568 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21569 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21570 s
&@srcdir@
&$ac_srcdir&;t t
21571 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21572 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21573 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21574 s
&@builddir@
&$ac_builddir&;t t
21575 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21576 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21577 s
&@INSTALL@
&$ac_INSTALL&;t t
21578 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21579 $ac_datarootdir_hack
21581 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21582 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21584 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21585 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21586 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21587 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21589 which seems to be undefined. Please make sure it is defined" >&5
21590 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21591 which seems to be undefined. Please make sure it is defined" >&2;}
21593 rm -f "$ac_tmp/stdin"
21595 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21596 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21598 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21602 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21603 $as_echo "$as_me: executing $ac_file commands" >&6;}
21608 case $ac_file$ac_mode in
21609 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21610 # Older Autoconf quotes --file arguments for eval, but not when files
21611 # are listed without --file. Let's play safe and only
enable the
eval
21612 # if we detect the quoting.
21613 case $CONFIG_FILES in
21614 *\'*) eval set x
"$CONFIG_FILES" ;;
21615 *) set x
$CONFIG_FILES ;;
21620 # Strip MF so we end up with the name of the file.
21621 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21622 # Check whether this is an Automake generated Makefile or not.
21623 # We used to match only the files named 'Makefile.in', but
21624 # some people rename them; so instead we look at the file content.
21625 # Grep'ing the first line is not enough: some people post-process
21626 # each Makefile.in and add a new line on top of each file to say so.
21627 # Grep'ing the whole file is not good either: AIX grep has a line
21628 # limit of 2048, but all sed's we know have understand at least 4000.
21629 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21630 dirpart
=`$as_dirname -- "$mf" ||
21631 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21632 X"$mf" : 'X\(//\)[^/]' \| \
21633 X"$mf" : 'X\(//\)$' \| \
21634 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21640 /^X\(\/\/\)[^/].*/{
21656 # Extract the definition of DEPDIR, am__include, and am__quote
21657 # from the Makefile without running 'make'.
21658 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21659 test -z "$DEPDIR" && continue
21660 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21661 test -z "$am__include" && continue
21662 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21663 # Find all dependency output files, they are included files with
21664 # $(DEPDIR) in their names. We invoke sed twice because it is the
21665 # simplest approach to changing $(DEPDIR) to its actual value in the
21667 for file in `sed -n "
21668 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21669 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21670 # Make sure the directory exists.
21671 test -f "$dirpart/$file" && continue
21672 fdir
=`$as_dirname -- "$file" ||
21673 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21674 X"$file" : 'X\(//\)[^/]' \| \
21675 X"$file" : 'X\(//\)$' \| \
21676 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21677 $as_echo X"$file" |
21678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21682 /^X\(\/\/\)[^/].*/{
21695 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21696 # echo "creating $dirpart/$file"
21697 echo '# dummy' > "$dirpart/$file"
21704 # See if we are running on zsh, and set the options that allow our
21705 # commands through without removal of \ escapes.
21706 if test -n "${ZSH_VERSION+set}"; then
21707 setopt NO_GLOB_SUBST
21711 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21714 cat <<_LT_EOF >> "$cfgfile"
21716 # Generated automatically by $as_me ($PACKAGE) $VERSION
21717 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21718 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21720 # Provide generalized library-building support services.
21721 # Written by Gordon Matzigkeit, 1996
21723 # Copyright (C) 2014 Free Software Foundation, Inc.
21724 # This is free software; see the source for copying conditions. There is NO
21725 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21727 # GNU Libtool is free software; you can redistribute it and/or modify
21728 # it under the terms of the GNU General Public License as published by
21729 # the Free Software Foundation; either version 2 of of the License, or
21730 # (at your option) any later version.
21732 # As a special exception to the GNU General Public License, if you
21733 # distribute this file as part of a program or library that is built
21734 # using GNU Libtool, you may include this file under the same
21735 # distribution terms that you use for the rest of that program.
21737 # GNU Libtool is distributed in the hope that it will be useful, but
21738 # WITHOUT ANY WARRANTY; without even the implied warranty of
21739 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21740 # GNU General Public License for more details.
21742 # You should have received a copy of the GNU General Public License
21743 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21746 # The names of the tagged configurations supported by this script.
21747 available_tags='CXX '
21749 # Configured defaults for sys_lib_dlsearch_path munging.
21750 : \${LT_SYS_LIBRARY_PATH="$LT_SYS_LIBRARY_PATH"}
21752 # ### BEGIN LIBTOOL CONFIG
21754 # Which release of libtool.m4 was used?
21755 macro_version=$macro_version
21756 macro_revision=$macro_revision
21758 # Assembler program.
21761 # DLL creation program.
21762 DLLTOOL=$lt_DLLTOOL
21764 # Object dumper program.
21765 OBJDUMP=$lt_OBJDUMP
21767 # Whether or not to build shared libraries.
21768 build_libtool_libs=$enable_shared
21770 # Whether or not to build static libraries.
21771 build_old_libs=$enable_static
21773 # What type of objects to build.
21776 # Whether or not to optimize for fast installation.
21777 fast_install=$enable_fast_install
21779 # Shared archive member basename,for filename based shared library versioning on AIX.
21780 shared_archive_member_spec=$shared_archive_member_spec
21782 # Shell to use when invoking shell scripts.
21785 # An echo program that protects backslashes.
21788 # The PATH separator for the build system.
21789 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21792 host_alias=$host_alias
21796 # The build system.
21797 build_alias=$build_alias
21801 # A sed program that does not truncate output.
21804 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21805 Xsed="\$SED -e 1s/^X//"
21807 # A grep program that handles long lines.
21813 # A literal string matcher.
21816 # A BSD- or MS-compatible name lister.
21819 # Whether we need soft or hard links.
21822 # What is the maximum length of a command?
21823 max_cmd_len=$max_cmd_len
21825 # Object file suffix (normally "o").
21828 # Executable file suffix (normally "").
21831 # whether the shell understands "unset".
21834 # turn spaces into newlines.
21837 # turn newlines into spaces.
21840 # convert \$build file names to \$host format.
21841 to_host_file_cmd=$lt_cv_to_host_file_cmd
21843 # convert \$build files to toolchain format.
21844 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21846 # Method to check whether dependent libraries are shared objects.
21847 deplibs_check_method=$lt_deplibs_check_method
21849 # Command to use when deplibs_check_method = "file_magic".
21850 file_magic_cmd=$lt_file_magic_cmd
21852 # How to find potential files when deplibs_check_method = "file_magic".
21853 file_magic_glob=$lt_file_magic_glob
21855 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21856 want_nocaseglob=$lt_want_nocaseglob
21858 # Command to associate shared and link libraries.
21859 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21864 # Flags to create an archive.
21865 AR_FLAGS=$lt_AR_FLAGS
21867 # How to feed a file listing to the archiver.
21868 archiver_list_spec=$lt_archiver_list_spec
21870 # A symbol stripping program.
21873 # Commands used to install an old-style archive.
21875 old_postinstall_cmds=$lt_old_postinstall_cmds
21876 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21878 # Whether to use a lock for old archive extraction.
21879 lock_old_archive_extraction=$lock_old_archive_extraction
21884 # LTCC compiler flags.
21885 LTCFLAGS=$lt_CFLAGS
21887 # Take the output of nm and produce a listing of raw symbols and C names.
21888 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21890 # Transform the output of nm in a proper C declaration.
21891 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21893 # Transform the output of nm into a list of symbols to manually relocate.
21894 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
21896 # Transform the output of nm in a C name address pair.
21897 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21899 # Transform the output of nm in a C name address pair when lib prefix is needed.
21900 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21902 # The name lister interface.
21903 nm_interface=$lt_lt_cv_nm_interface
21905 # Specify filename containing input files for \$NM.
21906 nm_file_list_spec=$lt_nm_file_list_spec
21908 # The root where to search for dependent libraries,and where our libraries should be installed.
21909 lt_sysroot=$lt_sysroot
21911 # Command to truncate a binary pipe.
21912 lt_truncate_bin=$lt_lt_cv_truncate_bin
21914 # The name of the directory that contains temporary libtool files.
21917 # Used to examine libraries when file_magic_cmd begins with "file".
21918 MAGIC_CMD=$MAGIC_CMD
21920 # Must we lock files when doing compilation?
21921 need_locks=$lt_need_locks
21924 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21926 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21927 DSYMUTIL=$lt_DSYMUTIL
21929 # Tool to change global to local symbols on Mac OS X.
21932 # Tool to manipulate fat objects and archives on Mac OS X.
21935 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21938 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21939 OTOOL64=$lt_OTOOL64
21941 # Old archive suffix (normally "a").
21944 # Shared library suffix (normally ".so").
21945 shrext_cmds=$lt_shrext_cmds
21947 # The commands to extract the exported symbol list from a shared archive.
21948 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21950 # Variables whose values should be saved in libtool wrapper scripts and
21951 # restored at link time.
21952 variables_saved_for_relink=$lt_variables_saved_for_relink
21954 # Do we need the "lib" prefix for modules?
21955 need_lib_prefix=$need_lib_prefix
21957 # Do we need a version for libraries?
21958 need_version=$need_version
21960 # Library versioning type.
21961 version_type=$version_type
21963 # Shared library runtime path variable.
21964 runpath_var=$runpath_var
21966 # Shared library path variable.
21967 shlibpath_var=$shlibpath_var
21969 # Is shlibpath searched before the hard-coded library search path?
21970 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21972 # Format of library name prefix.
21973 libname_spec=$lt_libname_spec
21975 # List of archive names. First name is the real one, the rest are links.
21976 # The last name is the one that the linker finds with -lNAME
21977 library_names_spec=$lt_library_names_spec
21979 # The coded name of the library, if different from the real name.
21980 soname_spec=$lt_soname_spec
21982 # Permission mode override for installation of shared libraries.
21983 install_override_mode=$lt_install_override_mode
21985 # Command to use after installation of a shared archive.
21986 postinstall_cmds=$lt_postinstall_cmds
21988 # Command to use after uninstallation of a shared archive.
21989 postuninstall_cmds=$lt_postuninstall_cmds
21991 # Commands used to finish a libtool library installation in a directory.
21992 finish_cmds=$lt_finish_cmds
21994 # As "finish_cmds", except a single script fragment to be evaled but
21996 finish_eval=$lt_finish_eval
21998 # Whether we should hardcode library paths into libraries.
21999 hardcode_into_libs=$hardcode_into_libs
22001 # Compile-time system search path for libraries.
22002 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22004 # Run-time system search path for libraries.
22005 sys_lib_dlsearch_path_spec=$lt_lt_cv_sys_lib_dlsearch_path_spec
22007 # Whether dlopen is supported.
22008 dlopen_support=$enable_dlopen
22010 # Whether dlopen of programs is supported.
22011 dlopen_self=$enable_dlopen_self
22013 # Whether dlopen of statically linked programs is supported.
22014 dlopen_self_static=$enable_dlopen_self_static
22016 # Commands to strip libraries.
22017 old_striplib=$lt_old_striplib
22018 striplib=$lt_striplib
22021 # The linker used to build libraries.
22024 # How to create reloadable object files.
22025 reload_flag=$lt_reload_flag
22026 reload_cmds=$lt_reload_cmds
22028 # Commands used to build an old-style archive.
22029 old_archive_cmds=$lt_old_archive_cmds
22031 # A language specific compiler.
22034 # Is the compiler the GNU compiler?
22037 # Compiler flag to turn off builtin functions.
22038 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22040 # Additional compiler flags for building library objects.
22041 pic_flag=$lt_lt_prog_compiler_pic
22043 # How to pass a linker flag through the compiler.
22044 wl=$lt_lt_prog_compiler_wl
22046 # Compiler flag to prevent dynamic linking.
22047 link_static_flag=$lt_lt_prog_compiler_static
22049 # Does compiler simultaneously support -c and -o options?
22050 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22052 # Whether or not to add -lc for building shared libraries.
22053 build_libtool_need_lc=$archive_cmds_need_lc
22055 # Whether or not to disallow shared libs when runtime libs are static.
22056 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22058 # Compiler flag to allow reflexive dlopens.
22059 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22061 # Compiler flag to generate shared objects directly from archives.
22062 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22064 # Whether the compiler copes with passing no objects directly.
22065 compiler_needs_object=$lt_compiler_needs_object
22067 # Create an old-style archive from a shared archive.
22068 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22070 # Create a temporary old-style archive to link instead of a shared archive.
22071 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22073 # Commands used to build a shared archive.
22074 archive_cmds=$lt_archive_cmds
22075 archive_expsym_cmds=$lt_archive_expsym_cmds
22077 # Commands used to build a loadable module if different from building
22078 # a shared archive.
22079 module_cmds=$lt_module_cmds
22080 module_expsym_cmds=$lt_module_expsym_cmds
22082 # Whether we are building with GNU ld or not.
22083 with_gnu_ld=$lt_with_gnu_ld
22085 # Flag that allows shared libraries with undefined symbols to be built.
22086 allow_undefined_flag=$lt_allow_undefined_flag
22088 # Flag that enforces no undefined symbols.
22089 no_undefined_flag=$lt_no_undefined_flag
22091 # Flag to hardcode \$libdir into a binary during linking.
22092 # This must work even if \$libdir does not exist
22093 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22095 # Whether we need a single "-rpath" flag with a separated argument.
22096 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22098 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22099 # DIR into the resulting binary.
22100 hardcode_direct=$hardcode_direct
22102 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22103 # DIR into the resulting binary and the resulting library dependency is
22104 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
22105 # library is relocated.
22106 hardcode_direct_absolute=$hardcode_direct_absolute
22108 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22109 # into the resulting binary.
22110 hardcode_minus_L=$hardcode_minus_L
22112 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22113 # into the resulting binary.
22114 hardcode_shlibpath_var=$hardcode_shlibpath_var
22116 # Set to "yes" if building a shared library automatically hardcodes DIR
22117 # into the library and all subsequent libraries and executables linked
22119 hardcode_automatic=$hardcode_automatic
22121 # Set to yes if linker adds runtime paths of dependent libraries
22122 # to runtime path list.
22123 inherit_rpath=$inherit_rpath
22125 # Whether libtool must link a program against all its dependency libraries.
22126 link_all_deplibs=$link_all_deplibs
22128 # Set to "yes" if exported symbols are required.
22129 always_export_symbols=$always_export_symbols
22131 # The commands to list exported symbols.
22132 export_symbols_cmds=$lt_export_symbols_cmds
22134 # Symbols that should not be listed in the preloaded symbols.
22135 exclude_expsyms=$lt_exclude_expsyms
22137 # Symbols that must always be exported.
22138 include_expsyms=$lt_include_expsyms
22140 # Commands necessary for linking programs (against libraries) with templates.
22141 prelink_cmds=$lt_prelink_cmds
22143 # Commands necessary for finishing linking programs.
22144 postlink_cmds=$lt_postlink_cmds
22146 # Specify filename containing input files.
22147 file_list_spec=$lt_file_list_spec
22149 # How to hardcode a shared library path into an executable.
22150 hardcode_action=$hardcode_action
22152 # The directories searched by this compiler when creating a shared library.
22153 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22155 # Dependencies to place before and after the objects being linked to
22156 # create a shared library.
22157 predep_objects=$lt_predep_objects
22158 postdep_objects=$lt_postdep_objects
22159 predeps=$lt_predeps
22160 postdeps=$lt_postdeps
22162 # The library search path used internally by the compiler when linking
22163 # a shared library.
22164 compiler_lib_search_path=$lt_compiler_lib_search_path
22166 # ### END LIBTOOL CONFIG
22170 cat <<'_LT_EOF' >> "$cfgfile"
22171 ## -------------------------------------- ##
22172 ## Shell functions shared with configure. ##
22173 ## -------------------------------------- ##
22175 # func_munge_path_list VARIABLE PATH
22176 # -----------------------------------
22177 # VARIABLE is name of variable containing _space_ separated list of
22178 # directories to be munged by the contents of PATH, which is string
22181 # string "DIR[ DIR]" will be prepended to VARIABLE
22183 # string "DIR[ DIR]" will be appended to VARIABLE
22184 # "DIRP[:DIRP]::[DIRA:]DIRA"
22185 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
22186 # "DIRA[ DIRA]" will be appended to VARIABLE
22188 # VARIABLE will be replaced by "DIR[ DIR]"
22189 func_munge_path_list ()
22195 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \S|@1\"
22198 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
22201 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
22202 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
22205 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
22211 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
22212 func_cc_basename ()
22214 for cc_temp in $*""; do
22216 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22217 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22222 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
22230 cat <<\_LT_EOF
>> "$cfgfile"
22231 # AIX sometimes has problems with the GCC collect2 program. For some
22232 # reason, if we set the COLLECT_NAMES environment variable, the problems
22233 # vanish in a puff of smoke.
22234 if test set != "${COLLECT_NAMES+set}"; then
22236 export COLLECT_NAMES
22243 ltmain
=$ac_aux_dir/ltmain.sh
22246 # We use sed instead of cat because bash on DJGPP gets confused if
22247 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22248 # text mode, it properly converts lines to CR/LF. This bash problem
22249 # is reportedly fixed, but why not run on old versions too?
22250 sed '$q' "$ltmain" >> "$cfgfile" \
22251 ||
(rm -f "$cfgfile"; exit 1)
22253 mv -f "$cfgfile" "$ofile" ||
22254 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22258 cat <<_LT_EOF >> "$ofile"
22260 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22262 # The linker used to build libraries.
22265 # How to create reloadable object files.
22266 reload_flag=$lt_reload_flag_CXX
22267 reload_cmds=$lt_reload_cmds_CXX
22269 # Commands used to build an old-style archive.
22270 old_archive_cmds=$lt_old_archive_cmds_CXX
22272 # A language specific compiler.
22273 CC=$lt_compiler_CXX
22275 # Is the compiler the GNU compiler?
22278 # Compiler flag to turn off builtin functions.
22279 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22281 # Additional compiler flags for building library objects.
22282 pic_flag=$lt_lt_prog_compiler_pic_CXX
22284 # How to pass a linker flag through the compiler.
22285 wl=$lt_lt_prog_compiler_wl_CXX
22287 # Compiler flag to prevent dynamic linking.
22288 link_static_flag=$lt_lt_prog_compiler_static_CXX
22290 # Does compiler simultaneously support -c and -o options?
22291 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22293 # Whether or not to add -lc for building shared libraries.
22294 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22296 # Whether or not to disallow shared libs when runtime libs are static.
22297 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22299 # Compiler flag to allow reflexive dlopens.
22300 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22302 # Compiler flag to generate shared objects directly from archives.
22303 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22305 # Whether the compiler copes with passing no objects directly.
22306 compiler_needs_object=$lt_compiler_needs_object_CXX
22308 # Create an old-style archive from a shared archive.
22309 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22311 # Create a temporary old-style archive to link instead of a shared archive.
22312 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22314 # Commands used to build a shared archive.
22315 archive_cmds=$lt_archive_cmds_CXX
22316 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22318 # Commands used to build a loadable module if different from building
22319 # a shared archive.
22320 module_cmds=$lt_module_cmds_CXX
22321 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22323 # Whether we are building with GNU ld or not.
22324 with_gnu_ld=$lt_with_gnu_ld_CXX
22326 # Flag that allows shared libraries with undefined symbols to be built.
22327 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22329 # Flag that enforces no undefined symbols.
22330 no_undefined_flag=$lt_no_undefined_flag_CXX
22332 # Flag to hardcode \$libdir into a binary during linking.
22333 # This must work even if \$libdir does not exist
22334 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22336 # Whether we need a single "-rpath" flag with a separated argument.
22337 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22339 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22340 # DIR into the resulting binary.
22341 hardcode_direct=$hardcode_direct_CXX
22343 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22344 # DIR into the resulting binary and the resulting library dependency is
22345 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
22346 # library is relocated.
22347 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22349 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22350 # into the resulting binary.
22351 hardcode_minus_L=$hardcode_minus_L_CXX
22353 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22354 # into the resulting binary.
22355 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22357 # Set to "yes" if building a shared library automatically hardcodes DIR
22358 # into the library and all subsequent libraries and executables linked
22360 hardcode_automatic=$hardcode_automatic_CXX
22362 # Set to yes if linker adds runtime paths of dependent libraries
22363 # to runtime path list.
22364 inherit_rpath=$inherit_rpath_CXX
22366 # Whether libtool must link a program against all its dependency libraries.
22367 link_all_deplibs=$link_all_deplibs_CXX
22369 # Set to "yes" if exported symbols are required.
22370 always_export_symbols=$always_export_symbols_CXX
22372 # The commands to list exported symbols.
22373 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22375 # Symbols that should not be listed in the preloaded symbols.
22376 exclude_expsyms=$lt_exclude_expsyms_CXX
22378 # Symbols that must always be exported.
22379 include_expsyms=$lt_include_expsyms_CXX
22381 # Commands necessary for linking programs (against libraries) with templates.
22382 prelink_cmds=$lt_prelink_cmds_CXX
22384 # Commands necessary for finishing linking programs.
22385 postlink_cmds=$lt_postlink_cmds_CXX
22387 # Specify filename containing input files.
22388 file_list_spec=$lt_file_list_spec_CXX
22390 # How to hardcode a shared library path into an executable.
22391 hardcode_action=$hardcode_action_CXX
22393 # The directories searched by this compiler when creating a shared library.
22394 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22396 # Dependencies to place before and after the objects being linked to
22397 # create a shared library.
22398 predep_objects=$lt_predep_objects_CXX
22399 postdep_objects=$lt_postdep_objects_CXX
22400 predeps=$lt_predeps_CXX
22401 postdeps=$lt_postdeps_CXX
22403 # The library search path used internally by the compiler when linking
22404 # a shared library.
22405 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22407 # ### END LIBTOOL TAG CONFIG: CXX
22410 ## KPSE_LT_HACK: Prevent libtool from linking dependency_libs
22411 if test "x$enable_libtool_hack" = xyes
; then
22412 $SED '/# Convert "-framework/i\
22413 ## KPSE_LT_HACK: ignore dependency_libs\
22414 test "X$installed" = Xyes && dependency_libs=\
22415 ' "$ofile" >"$cfgfile"
22416 mv "$cfgfile" "$ofile" ||
22417 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22428 ac_clean_files
=$ac_clean_files_save
22430 test $ac_write_fail = 0 ||
22431 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22434 # configure is writing to config.log, and then calls config.status.
22435 # config.status does its own redirection, appending to config.log.
22436 # Unfortunately, on DOS this fails, as config.log is still kept open
22437 # by configure, so config.status won't be able to write to it; its
22438 # output is simply discarded. So we exec the FD to /dev/null,
22439 # effectively closing config.log, so it can be properly (re)opened and
22440 # appended to by config.status. When coming back to configure, we
22441 # need to make the FD available again.
22442 if test "$no_create" != yes; then
22444 ac_config_status_args
=
22445 test "$silent" = yes &&
22446 ac_config_status_args
="$ac_config_status_args --quiet"
22448 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22450 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22451 # would make configure fail if this is the last instruction.
22452 $ac_cs_success || as_fn_exit
1
22456 # CONFIG_SUBDIRS section.
22458 if test "$no_recursion" != yes; then
22460 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22461 # so they do not pile up.
22462 ac_sub_configure_args
=
22464 eval "set x $ac_configure_args"
22468 if test -n "$ac_prev"; then
22473 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
22474 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
22475 ac_prev
=cache_file
;;
22476 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
22477 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
22480 --config-cache |
-C)
22482 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
22484 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
22486 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
22488 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
22490 --disable-option-checking)
22494 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22496 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
22500 # Always prepend --prefix to ensure using the same prefix
22501 # in subdir configurations.
22502 ac_arg
="--prefix=$prefix"
22504 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22506 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
22509 if test "$silent" = yes; then
22510 ac_sub_configure_args
="--silent $ac_sub_configure_args"
22513 # Always prepend --disable-option-checking to silence warnings, since
22514 # different subdirs can have different --enable and --with options.
22515 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
22518 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
22520 # Do not complain, so a configure script can configure whichever
22521 # parts of a large source tree are present.
22522 test -d "$srcdir/$ac_dir" ||
continue
22524 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22525 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22526 $as_echo "$ac_msg" >&6
22527 as_dir
="$ac_dir"; as_fn_mkdir_p
22531 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22533 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22534 # A ".." for each directory in $ac_dir_suffix.
22535 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22536 case $ac_top_builddir_sub in
22537 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22538 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22541 ac_abs_top_builddir
=$ac_pwd
22542 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22543 # for backward compatibility:
22544 ac_top_builddir
=$ac_top_build_prefix
22547 .
) # We are building in place.
22549 ac_top_srcdir
=$ac_top_builddir_sub
22550 ac_abs_top_srcdir
=$ac_pwd ;;
22551 [\\/]* | ?
:[\\/]* ) # Absolute name.
22552 ac_srcdir
=$srcdir$ac_dir_suffix;
22553 ac_top_srcdir
=$srcdir
22554 ac_abs_top_srcdir
=$srcdir ;;
22555 *) # Relative name.
22556 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22557 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22558 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22560 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22565 # Check for guested configure; otherwise get Cygnus style configure.
22566 if test -f "$ac_srcdir/configure.gnu"; then
22567 ac_sub_configure
=$ac_srcdir/configure.gnu
22568 elif test -f "$ac_srcdir/configure"; then
22569 ac_sub_configure
=$ac_srcdir/configure
22570 elif test -f "$ac_srcdir/configure.in"; then
22571 # This should be Cygnus configure.
22572 ac_sub_configure
=$ac_aux_dir/configure
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22575 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22579 # The recursion is here.
22580 if test -n "$ac_sub_configure"; then
22581 # Make the cache file name correct relative to the subdirectory.
22582 case $cache_file in
22583 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
22584 *) # Relative name.
22585 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
22588 { $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
22589 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22590 # The eval makes quoting arguments work.
22591 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22592 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22593 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22599 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22601 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22605 if test -z "$kpse_GNU_make"; then
22606 if test "x$enable_native_texlive_build" = xno
; then
22607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building TeX Live may require GNU make" >&5
22608 $as_echo "$as_me: WARNING: Building TeX Live may require GNU make" >&2;}
22610 as_fn_error $?
"Building TeX Live requires GNU make" "$LINENO" 5
22614 if test "x$cross_compiling" = xyes
; then :
22615 msg_compiling
="cross-compiling on $build_alias for $host_alias"
22617 msg_compiling
="compiling for $kpse_build_alias"
22620 kpse_src
=`cd "$srcdir" && pwd`
22621 msg_compiling
="$msg_compiling
22623 test "x$srcdir" = x. || msg_compiling
="$msg_compiling
22624 from sources in $kpse_src"
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
22626 ** Configuration summary for $PACKAGE_STRING (2015/dev$with_banner_add):
22628 $msg_compiling" >&5
22630 ** Configuration summary for $PACKAGE_STRING (2015/dev$with_banner_add):
22632 $msg_compiling" >&6; }
22633 case $kpse_src$kpse_bld in
22634 *' '*) as_fn_error $?
"Absolute source and/or build path with embedded spaces" "$LINENO" 5;;
22637 cc_version
=`$CC --version 2>/dev/null | sed 1q`
22638 test -n "$cc_version" && cc_version
=" ($cc_version)"
22640 cxx_version
=`$CXX --version 2>/dev/null | sed 1q`
22641 test -n "$cxx_version" && cxx_version
=" ($cxx_version)"
22643 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
22644 C compiler (CC): $CC$cc_version
22645 C++ compiler (CXX): $CXX$cxx_version
22648 enable_native_texlive_build: $enable_native_texlive_build
22649 enable_largefile: $enable_largefile
22650 enable_shared: $enable_shared
22651 enable_multiplatform: $enable_multiplatform
22652 enable_cxx_runtime_hack: $enable_cxx_runtime_hack
22653 enable_libtool_hack: $enable_libtool_hack
22654 enable_compiler_warnings: $enable_compiler_warnings
22657 includedir: $includedir
22658 datarootdir: $datarootdir
22661 exec_prefix: $exec_prefix
22665 ** Next run \`make' to configure and build each library and program.
22668 C compiler (CC): $CC$cc_version
22669 C++ compiler (CXX): $CXX$cxx_version
22672 enable_native_texlive_build: $enable_native_texlive_build
22673 enable_largefile: $enable_largefile
22674 enable_shared: $enable_shared
22675 enable_multiplatform: $enable_multiplatform
22676 enable_cxx_runtime_hack: $enable_cxx_runtime_hack
22677 enable_libtool_hack: $enable_libtool_hack
22678 enable_compiler_warnings: $enable_compiler_warnings
22681 includedir: $includedir
22682 datarootdir: $datarootdir
22685 exec_prefix: $exec_prefix
22689 ** Next run \`make' to configure and build each library and program.