2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for GNU Python Runtime Library 0.1.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status
=$1; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL
=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec
; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo
; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo
; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset
; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
593 for dir
in $PATH /usr
/ucb
; do
595 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho
; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL
=/bin
/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
634 SHELL
="$CONFIG_SHELL"
636 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string
=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
682 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix
=/usr
/local
691 ac_config_libobj_dir
=.
698 # Identity of this package.
699 PACKAGE_NAME
='GNU Python Runtime Library'
700 PACKAGE_TARNAME
='libgpython'
701 PACKAGE_VERSION
='0.1'
702 PACKAGE_STRING
='GNU Python Runtime Library 0.1'
704 PACKAGE_URL
='http://www.gnu.org/software/libgpython/'
706 # Factoring default headers for most tests.
707 ac_includes_default
="\
709 #ifdef HAVE_SYS_TYPES_H
710 # include <sys/types.h>
712 #ifdef HAVE_SYS_STAT_H
713 # include <sys/stat.h>
719 # ifdef HAVE_STDLIB_H
724 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #ifdef HAVE_STRINGS_H
730 # include <strings.h>
732 #ifdef HAVE_INTTYPES_H
733 # include <inttypes.h>
743 ac_subst_vars
='am__EXEEXT_FALSE
765 INSTALL_STRIP_PROGRAM
856 program_transform_name
869 enable_option_checking
877 enable_dependency_tracking
879 ac_precious_vars
='build_alias
894 # Initialize some variables set by options.
896 ac_init_version
=false
897 ac_unrecognized_opts
=
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
908 program_transform_name
=s
,x
,x
,
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir
='${exec_prefix}/bin'
923 sbindir
='${exec_prefix}/sbin'
924 libexecdir
='${exec_prefix}/libexec'
925 datarootdir
='${prefix}/share'
926 datadir
='${datarootdir}'
927 sysconfdir
='${prefix}/etc'
928 sharedstatedir
='${prefix}/com'
929 localstatedir
='${prefix}/var'
930 includedir
='${prefix}/include'
931 oldincludedir
='/usr/include'
932 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
933 infodir
='${datarootdir}/info'
938 libdir
='${exec_prefix}/lib'
939 localedir
='${datarootdir}/locale'
940 mandir
='${datarootdir}/man'
946 # If the previous option needs an argument, assign it.
947 if test -n "$ac_prev"; then
948 eval $ac_prev=\
$ac_option
954 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
959 # Accept the important Cygnus configure options, so we can diagnose typos.
961 case $ac_dashdash$ac_option in
965 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
967 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
970 -build |
--build |
--buil |
--bui |
--bu)
971 ac_prev
=build_alias
;;
972 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
973 build_alias
=$ac_optarg ;;
975 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
976 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
977 ac_prev
=cache_file
;;
978 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
979 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
980 cache_file
=$ac_optarg ;;
983 cache_file
=config.cache
;;
985 -datadir |
--datadir |
--datadi |
--datad)
987 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
988 datadir
=$ac_optarg ;;
990 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
991 |
--dataroo |
--dataro |
--datar)
992 ac_prev
=datarootdir
;;
993 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
994 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
995 datarootdir
=$ac_optarg ;;
997 -disable-* |
--disable-*)
998 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1001 as_fn_error $?
"invalid feature name: $ac_useropt"
1002 ac_useropt_orig
=$ac_useropt
1003 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 case $ac_user_opts in
1006 "enable_
$ac_useropt"
1008 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1009 ac_unrecognized_sep
=', ';;
1011 eval enable_
$ac_useropt=no
;;
1013 -docdir |
--docdir |
--docdi |
--doc |
--do)
1015 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1016 docdir
=$ac_optarg ;;
1018 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1020 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1021 dvidir
=$ac_optarg ;;
1023 -enable-* |
--enable-*)
1024 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1027 as_fn_error $?
"invalid feature name: $ac_useropt"
1028 ac_useropt_orig
=$ac_useropt
1029 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1032 "enable_
$ac_useropt"
1034 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1035 ac_unrecognized_sep
=', ';;
1037 eval enable_
$ac_useropt=\
$ac_optarg ;;
1039 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1040 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1041 |
--exec |
--exe |
--ex)
1042 ac_prev
=exec_prefix
;;
1043 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1044 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1045 |
--exec=* |
--exe=* |
--ex=*)
1046 exec_prefix
=$ac_optarg ;;
1048 -gas |
--gas |
--ga |
--g)
1049 # Obsolete; use --with-gas.
1052 -help |
--help |
--hel |
--he |
-h)
1053 ac_init_help
=long
;;
1054 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1055 ac_init_help
=recursive
;;
1056 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1057 ac_init_help
=short
;;
1059 -host |
--host |
--hos |
--ho)
1060 ac_prev
=host_alias
;;
1061 -host=* |
--host=* |
--hos=* |
--ho=*)
1062 host_alias
=$ac_optarg ;;
1064 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1066 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1068 htmldir
=$ac_optarg ;;
1070 -includedir |
--includedir |
--includedi |
--included |
--include \
1071 |
--includ |
--inclu |
--incl |
--inc)
1072 ac_prev
=includedir
;;
1073 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1074 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1075 includedir
=$ac_optarg ;;
1077 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1079 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1080 infodir
=$ac_optarg ;;
1082 -libdir |
--libdir |
--libdi |
--libd)
1084 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1085 libdir
=$ac_optarg ;;
1087 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1088 |
--libexe |
--libex |
--libe)
1089 ac_prev
=libexecdir
;;
1090 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1091 |
--libexe=* |
--libex=* |
--libe=*)
1092 libexecdir
=$ac_optarg ;;
1094 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1095 ac_prev
=localedir
;;
1096 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1097 localedir
=$ac_optarg ;;
1099 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1100 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1101 ac_prev
=localstatedir
;;
1102 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1103 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1104 localstatedir
=$ac_optarg ;;
1106 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1108 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1109 mandir
=$ac_optarg ;;
1111 -nfp |
--nfp |
--nf)
1112 # Obsolete; use --without-fp.
1115 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1116 |
--no-cr |
--no-c |
-n)
1119 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1120 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1123 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1124 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1125 |
--oldin |
--oldi |
--old |
--ol |
--o)
1126 ac_prev
=oldincludedir
;;
1127 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1128 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1129 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1130 oldincludedir
=$ac_optarg ;;
1132 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1134 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1135 prefix
=$ac_optarg ;;
1137 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1138 |
--program-pre |
--program-pr |
--program-p)
1139 ac_prev
=program_prefix
;;
1140 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1141 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1142 program_prefix
=$ac_optarg ;;
1144 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1145 |
--program-suf |
--program-su |
--program-s)
1146 ac_prev
=program_suffix
;;
1147 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1148 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1149 program_suffix
=$ac_optarg ;;
1151 -program-transform-name |
--program-transform-name \
1152 |
--program-transform-nam |
--program-transform-na \
1153 |
--program-transform-n |
--program-transform- \
1154 |
--program-transform |
--program-transfor \
1155 |
--program-transfo |
--program-transf \
1156 |
--program-trans |
--program-tran \
1157 |
--progr-tra |
--program-tr |
--program-t)
1158 ac_prev
=program_transform_name
;;
1159 -program-transform-name=* |
--program-transform-name=* \
1160 |
--program-transform-nam=* |
--program-transform-na=* \
1161 |
--program-transform-n=* |
--program-transform-=* \
1162 |
--program-transform=* |
--program-transfor=* \
1163 |
--program-transfo=* |
--program-transf=* \
1164 |
--program-trans=* |
--program-tran=* \
1165 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1166 program_transform_name
=$ac_optarg ;;
1168 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1170 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1171 pdfdir
=$ac_optarg ;;
1173 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1175 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1178 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1179 |
-silent |
--silent |
--silen |
--sile |
--sil)
1182 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1184 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1186 sbindir
=$ac_optarg ;;
1188 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1189 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1190 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1192 ac_prev
=sharedstatedir
;;
1193 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1194 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1195 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1197 sharedstatedir
=$ac_optarg ;;
1199 -site |
--site |
--sit)
1201 -site=* |
--site=* |
--sit=*)
1204 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1206 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1207 srcdir
=$ac_optarg ;;
1209 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1210 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1211 ac_prev
=sysconfdir
;;
1212 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1213 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1214 sysconfdir
=$ac_optarg ;;
1216 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1217 ac_prev
=target_alias
;;
1218 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1219 target_alias
=$ac_optarg ;;
1221 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1224 -version |
--version |
--versio |
--versi |
--vers |
-V)
1225 ac_init_version
=: ;;
1228 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1231 as_fn_error $?
"invalid package name: $ac_useropt"
1232 ac_useropt_orig
=$ac_useropt
1233 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1234 case $ac_user_opts in
1238 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1239 ac_unrecognized_sep
=', ';;
1241 eval with_
$ac_useropt=\
$ac_optarg ;;
1243 -without-* |
--without-*)
1244 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1245 # Reject names that are not valid shell variable names.
1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1247 as_fn_error $?
"invalid package name: $ac_useropt"
1248 ac_useropt_orig
=$ac_useropt
1249 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250 case $ac_user_opts in
1254 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1255 ac_unrecognized_sep
=', ';;
1257 eval with_
$ac_useropt=no
;;
1260 # Obsolete; use --with-x.
1263 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1264 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1265 ac_prev
=x_includes
;;
1266 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1267 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1268 x_includes
=$ac_optarg ;;
1270 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1271 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1272 ac_prev
=x_libraries
;;
1273 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1274 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1275 x_libraries
=$ac_optarg ;;
1277 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1278 Try \`$0 --help' for more information"
1282 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1283 # Reject names that are not valid shell variable names.
1284 case $ac_envvar in #(
1285 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1286 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1288 eval $ac_envvar=\
$ac_optarg
1289 export $ac_envvar ;;
1292 # FIXME: should be removed in autoconf 3.0.
1293 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1294 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1295 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1296 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1302 if test -n "$ac_prev"; then
1303 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1304 as_fn_error $?
"missing argument to $ac_option"
1307 if test -n "$ac_unrecognized_opts"; then
1308 case $enable_option_checking in
1310 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1311 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1315 # Check all directory arguments for consistency.
1316 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1317 datadir sysconfdir sharedstatedir localstatedir includedir \
1318 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1319 libdir localedir mandir
1321 eval ac_val
=\$
$ac_var
1322 # Remove trailing slashes.
1325 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1326 eval $ac_var=\
$ac_val;;
1328 # Be sure to have absolute directory names.
1330 [\\/$
]* | ?
:[\\/]* ) continue;;
1331 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1333 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1336 # There might be people who depend on the old broken behavior: `$host'
1337 # used to hold the argument of --host etc.
1338 # FIXME: To remove some day.
1341 target
=$target_alias
1343 # FIXME: To remove some day.
1344 if test "x$host_alias" != x
; then
1345 if test "x$build_alias" = x
; then
1346 cross_compiling
=maybe
1347 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1348 If a cross compiler is detected then cross compile mode will be used" >&2
1349 elif test "x$build_alias" != "x$host_alias"; then
1355 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1357 test "$silent" = yes && exec 6>/dev
/null
1360 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1361 ac_ls_di
=`ls -di .` &&
1362 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1363 as_fn_error $?
"working directory cannot be determined"
1364 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1365 as_fn_error $?
"pwd does not report name of working directory"
1368 # Find the source files, if location was not specified.
1369 if test -z "$srcdir"; then
1370 ac_srcdir_defaulted
=yes
1371 # Try the directory containing this script, then the parent directory.
1372 ac_confdir
=`$as_dirname -- "$as_myself" ||
1373 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1374 X"$as_myself" : 'X\(//\)[^/]' \| \
1375 X"$as_myself" : 'X\(//\)$' \| \
1376 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1377 $as_echo X"$as_myself" |
1378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1400 ac_srcdir_defaulted
=no
1402 if test ! -r "$srcdir/$ac_unique_file"; then
1403 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1404 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1406 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1408 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1410 # When building in place, set srcdir=.
1411 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 # Remove unnecessary trailing slashes from srcdir.
1415 # Double slashes in file names in object file debugging info
1416 # mess up M-x gdb in Emacs.
1418 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1420 for ac_var
in $ac_precious_vars; do
1421 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1422 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1423 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1424 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1428 # Report the --help message.
1430 if test "$ac_init_help" = "long"; then
1431 # Omit some internal or obsolete options to make the list less imposing.
1432 # This message is too long to be a string in the A/UX 3.1 sh.
1434 \`configure' configures GNU Python Runtime Library 0.1 to adapt to many kinds of systems.
1436 Usage: $0 [OPTION]... [VAR=VALUE]...
1438 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1439 VAR=VALUE. See below for descriptions of some of the useful variables.
1441 Defaults for the options are specified in brackets.
1444 -h, --help display this help and exit
1445 --help=short display options specific to this package
1446 --help=recursive display the short help of all the included packages
1447 -V, --version display version information and exit
1448 -q, --quiet, --silent do not print \`checking ...' messages
1449 --cache-file=FILE cache test results in FILE [disabled]
1450 -C, --config-cache alias for \`--cache-file=config.cache'
1451 -n, --no-create do not create output files
1452 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1454 Installation directories:
1455 --prefix=PREFIX install architecture-independent files in PREFIX
1456 [$ac_default_prefix]
1457 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 By default, \`make install' will install all the files in
1461 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1462 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1463 for instance \`--prefix=\$HOME'.
1465 For better control, use the options below.
1467 Fine tuning of the installation directories:
1468 --bindir=DIR user executables [EPREFIX/bin]
1469 --sbindir=DIR system admin executables [EPREFIX/sbin]
1470 --libexecdir=DIR program executables [EPREFIX/libexec]
1471 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1472 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1473 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1474 --libdir=DIR object code libraries [EPREFIX/lib]
1475 --includedir=DIR C header files [PREFIX/include]
1476 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1477 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1478 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1479 --infodir=DIR info documentation [DATAROOTDIR/info]
1480 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1481 --mandir=DIR man documentation [DATAROOTDIR/man]
1482 --docdir=DIR documentation root [DATAROOTDIR/doc/libgpython]
1483 --htmldir=DIR html documentation [DOCDIR]
1484 --dvidir=DIR dvi documentation [DOCDIR]
1485 --pdfdir=DIR pdf documentation [DOCDIR]
1486 --psdir=DIR ps documentation [DOCDIR]
1492 --program-prefix=PREFIX prepend PREFIX to installed program names
1493 --program-suffix=SUFFIX append SUFFIX to installed program names
1494 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1497 --build=BUILD configure
for building on BUILD
[guessed
]
1498 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1502 if test -n "$ac_init_help"; then
1503 case $ac_init_help in
1504 short | recursive
) echo "Configuration of GNU Python Runtime Library 0.1:";;
1509 --disable-option-checking ignore unrecognized
--enable/--with options
1510 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1511 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1512 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1513 --enable-static[=PKGS
] build static libraries
[default
=yes]
1514 --enable-fast-install[=PKGS
]
1515 optimize
for fast installation
[default
=yes]
1516 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1517 --disable-dependency-tracking speeds up one-time build
1518 --enable-dependency-tracking do not reject slow dependency extractors
1521 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1522 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1523 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1525 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1526 --with-libgpython-debug=yes
/no
1527 With Debug symbols
, default no.
1529 Some influential environment variables
:
1530 CC C compiler
command
1531 CFLAGS C compiler flags
1532 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1533 nonstandard directory
<lib dir
>
1534 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1535 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1536 you have headers
in a nonstandard directory
<include dir
>
1538 CXX C
++ compiler
command
1539 CXXFLAGS C
++ compiler flags
1540 CXXCPP C
++ preprocessor
1542 Use these variables to override the choices made by
`configure' or to help
1543 it to find libraries and programs with nonstandard names/locations.
1545 Report bugs to the package provider.
1546 GNU Python Runtime Library home page: <http://www.gnu.org/software/libgpython/>.
1547 General help using GNU software: <http://www.gnu.org/gethelp/>.
1552 if test "$ac_init_help" = "recursive"; then
1553 # If there are subdirs, report their specific --help.
1554 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1555 test -d "$ac_dir" ||
1556 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1561 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1563 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1564 # A ".." for each directory in $ac_dir_suffix.
1565 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1566 case $ac_top_builddir_sub in
1567 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1568 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1571 ac_abs_top_builddir=$ac_pwd
1572 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1573 # for backward compatibility:
1574 ac_top_builddir=$ac_top_build_prefix
1577 .) # We are building in place.
1579 ac_top_srcdir=$ac_top_builddir_sub
1580 ac_abs_top_srcdir=$ac_pwd ;;
1581 [\\/]* | ?:[\\/]* ) # Absolute name.
1582 ac_srcdir=$srcdir$ac_dir_suffix;
1583 ac_top_srcdir=$srcdir
1584 ac_abs_top_srcdir=$srcdir ;;
1586 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1587 ac_top_srcdir=$ac_top_build_prefix$srcdir
1588 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1590 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1592 cd "$ac_dir" || { ac_status=$?; continue; }
1593 # Check for guested configure.
1594 if test -f "$ac_srcdir/configure.gnu"; then
1596 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1597 elif test -f "$ac_srcdir/configure"; then
1599 $SHELL "$ac_srcdir/configure" --help=recursive
1601 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1603 cd "$ac_pwd" || { ac_status=$?; break; }
1607 test -n "$ac_init_help" && exit $ac_status
1608 if $ac_init_version; then
1610 GNU Python Runtime Library configure 0.1
1611 generated by GNU Autoconf 2.67
1613 Copyright (C) 2010 Free Software Foundation, Inc.
1614 This configure script is free software; the Free Software Foundation
1615 gives unlimited permission to copy, distribute and modify it.
1620 ## ------------------------ ##
1621 ## Autoconf initialization. ##
1622 ## ------------------------ ##
1624 # ac_fn_c_try_compile LINENO
1625 # --------------------------
1626 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1627 ac_fn_c_try_compile ()
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 rm -f conftest.$ac_objext
1631 if { { ac_try="$ac_compile"
1633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1634 *) ac_try_echo
=$ac_try;;
1636 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_compile") 2>conftest.err
1640 if test -s conftest.err
; then
1641 grep -v '^ *+' conftest.err
>conftest.er1
1642 cat conftest.er1
>&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } && {
1647 test -z "$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1649 } && test -s conftest.
$ac_objext; then :
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.
$ac_ext >&5
1657 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1658 as_fn_set_status
$ac_retval
1660 } # ac_fn_c_try_compile
1662 # ac_fn_c_try_cpp LINENO
1663 # ----------------------
1664 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1667 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1668 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1677 if test -s conftest.err; then
1678 grep -v '^ *+' conftest.err >conftest.er1
1679 cat conftest.er1 >&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } > conftest.i && {
1684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1685 test ! -s conftest.err
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 as_fn_set_status $ac_retval
1699 # ac_fn_cxx_try_compile LINENO
1700 # ----------------------------
1701 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1702 ac_fn_cxx_try_compile ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 rm -f conftest.$ac_objext
1706 if { { ac_try="$ac_compile"
1708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1709 *) ac_try_echo
=$ac_try;;
1711 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_compile") 2>conftest.err
1715 if test -s conftest.err
; then
1716 grep -v '^ *+' conftest.err
>conftest.er1
1717 cat conftest.er1
>&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_cxx_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest.
$ac_objext; then :
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.
$ac_ext >&5
1732 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1733 as_fn_set_status
$ac_retval
1735 } # ac_fn_cxx_try_compile
1737 # ac_fn_c_try_link LINENO
1738 # -----------------------
1739 # Try to link conftest.$ac_ext, and return whether this succeeded.
1742 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1743 rm -f conftest.
$ac_objext conftest
$ac_exeext
1744 if { { ac_try
="$ac_link"
1746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1747 *) ac_try_echo=$ac_try;;
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_link") 2>conftest.err
1753 if test -s conftest.err; then
1754 grep -v '^ *+' conftest.err >conftest.er1
1755 cat conftest.er1 >&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } && {
1760 test -z "$ac_c_werror_flag" ||
1761 test ! -s conftest.err
1762 } && test -s conftest$ac_exeext && {
1763 test "$cross_compiling" = yes ||
1764 $as_test_x conftest$ac_exeext
1768 $as_echo "$as_me: failed program was:" >&5
1769 sed 's/^/| /' conftest.$ac_ext >&5
1773 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1774 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1775 # interfere with the next link command; also delete a directory that is
1776 # left behind by Apple's compiler. We do this before executing the actions.
1777 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1779 as_fn_set_status $ac_retval
1781 } # ac_fn_c_try_link
1783 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1784 # -------------------------------------------------------
1785 # Tests whether HEADER exists and can be compiled using the include files in
1786 # INCLUDES, setting the cache variable VAR accordingly.
1787 ac_fn_c_check_header_compile ()
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1791 $as_echo_n "checking for $2... " >&6; }
1792 if eval "test \"\${$3+set}\"" = set; then :
1793 $as_echo_n "(cached) " >&6
1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1796 /* end confdefs.h. */
1800 if ac_fn_c_try_compile "$LINENO"; then :
1805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1809 $as_echo "$ac_res" >&6; }
1810 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 } # ac_fn_c_check_header_compile
1814 # ac_fn_c_try_run LINENO
1815 # ----------------------
1816 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1817 # that executables *can* be run.
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 if { { ac_try="$ac_link"
1823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1824 *) ac_try_echo
=$ac_try;;
1826 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_link") 2>&5
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1832 { { case "(($ac_try" in
1833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_try") 2>&5
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; }; }; then :
1844 $as_echo "$as_me: program exited with status $ac_status" >&5
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.$ac_ext >&5
1848 ac_retval=$ac_status
1850 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1851 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1852 as_fn_set_status $ac_retval
1856 # ac_fn_c_check_func LINENO FUNC VAR
1857 # ----------------------------------
1858 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1859 ac_fn_c_check_func ()
1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863 $as_echo_n "checking for $2... " >&6; }
1864 if eval "test \"\${$3+set}\"" = set; then :
1865 $as_echo_n "(cached) " >&6
1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h. */
1869 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1871 #define $2 innocuous_$2
1873 /* System header to define __stub macros and hopefully few prototypes,
1874 which can conflict with char $2 (); below.
1875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1876 <limits.h> exists even on freestanding compilers. */
1879 # include <limits.h>
1881 # include <assert.h>
1886 /* Override any GCC internal prototype to avoid an error.
1887 Use char because int might match the return type of a GCC
1888 builtin and then its argument prototype would still apply. */
1893 /* The GNU C library defines this for functions which it implements
1894 to always fail with ENOSYS. Some functions are actually named
1895 something starting with __ and the normal name is an alias. */
1896 #if defined __stub_$2 || defined __stub___$2
1908 if ac_fn_c_try_link "$LINENO"; then :
1913 rm -f core conftest.err conftest.$ac_objext \
1914 conftest$ac_exeext conftest.$ac_ext
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918 $as_echo "$ac_res" >&6; }
1919 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1921 } # ac_fn_c_check_func
1923 # ac_fn_cxx_try_cpp LINENO
1924 # ------------------------
1925 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1926 ac_fn_cxx_try_cpp ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 if { { ac_try="$ac_cpp conftest.$ac_ext"
1931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1932 *) ac_try_echo
=$ac_try;;
1934 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 $as_echo "$ac_try_echo"; } >&5
1936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1938 if test -s conftest.err
; then
1939 grep -v '^ *+' conftest.err
>conftest.er1
1940 cat conftest.er1
>&5
1941 mv -f conftest.er1 conftest.err
1943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1944 test $ac_status = 0; } > conftest.i
&& {
1945 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1946 test ! -s conftest.err
1950 $as_echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.
$ac_ext >&5
1955 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1956 as_fn_set_status
$ac_retval
1958 } # ac_fn_cxx_try_cpp
1960 # ac_fn_cxx_try_link LINENO
1961 # -------------------------
1962 # Try to link conftest.$ac_ext, and return whether this succeeded.
1963 ac_fn_cxx_try_link
()
1965 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1966 rm -f conftest.
$ac_objext conftest
$ac_exeext
1967 if { { ac_try
="$ac_link"
1969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1970 *) ac_try_echo=$ac_try;;
1972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1973 $as_echo "$ac_try_echo"; } >&5
1974 (eval "$ac_link") 2>conftest.err
1976 if test -s conftest.err; then
1977 grep -v '^ *+' conftest.err >conftest.er1
1978 cat conftest.er1 >&5
1979 mv -f conftest.er1 conftest.err
1981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1982 test $ac_status = 0; } && {
1983 test -z "$ac_cxx_werror_flag" ||
1984 test ! -s conftest.err
1985 } && test -s conftest$ac_exeext && {
1986 test "$cross_compiling" = yes ||
1987 $as_test_x conftest$ac_exeext
1991 $as_echo "$as_me: failed program was:" >&5
1992 sed 's/^/| /' conftest.$ac_ext >&5
1996 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1997 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1998 # interfere with the next link command; also delete a directory that is
1999 # left behind by Apple's compiler. We do this before executing the actions.
2000 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2002 as_fn_set_status $ac_retval
2004 } # ac_fn_cxx_try_link
2006 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2007 # --------------------------------------------
2008 # Tries to find the compile-time value of EXPR in a program that includes
2009 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2011 ac_fn_c_compute_int ()
2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014 if test "$cross_compiling" = yes; then
2015 # Depending upon the size, compute the lo and hi bounds.
2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2022 static int test_array [1 - 2 * !(($2) >= 0)];
2029 if ac_fn_c_try_compile "$LINENO"; then :
2032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2033 /* end confdefs.h. */
2038 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2045 if ac_fn_c_try_compile "$LINENO"; then :
2046 ac_hi=$ac_mid; break
2048 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2049 if test $ac_lo -le $ac_mid; then
2053 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h. */
2064 static int test_array [1 - 2 * !(($2) < 0)];
2071 if ac_fn_c_try_compile "$LINENO"; then :
2074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2075 /* end confdefs.h. */
2080 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2087 if ac_fn_c_try_compile "$LINENO"; then :
2088 ac_lo=$ac_mid; break
2090 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2091 if test $ac_mid -le $ac_hi; then
2095 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2105 # Binary search between lo and hi bounds.
2106 while test "x$ac_lo" != "x$ac_hi"; do
2107 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109 /* end confdefs.h. */
2114 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2121 if ac_fn_c_try_compile "$LINENO"; then :
2124 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2134 /* end confdefs.h. */
2136 static long int longval () { return $2; }
2137 static unsigned long int ulongval () { return $2; }
2144 FILE *f = fopen ("conftest.val", "w");
2149 long int i = longval ();
2152 fprintf (f, "%ld", i);
2156 unsigned long int i = ulongval ();
2159 fprintf (f, "%lu", i);
2161 /* Do not output a trailing newline, as this causes \r\n confusion
2162 on some platforms. */
2163 return ferror (f) || fclose (f) != 0;
2169 if ac_fn_c_try_run "$LINENO"; then :
2170 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2175 conftest.$ac_objext conftest.beam conftest.$ac_ext
2179 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2180 as_fn_set_status $ac_retval
2182 } # ac_fn_c_compute_int
2184 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2185 # -------------------------------------------
2186 # Tests whether TYPE exists after having included INCLUDES, setting cache
2187 # variable VAR accordingly.
2188 ac_fn_c_check_type ()
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2192 $as_echo_n "checking for $2... " >&6; }
2193 if eval "test \"\${$3+set}\"" = set; then :
2194 $as_echo_n "(cached) " >&6
2197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2198 /* end confdefs.h. */
2209 if ac_fn_c_try_compile "$LINENO"; then :
2210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2211 /* end confdefs.h. */
2222 if ac_fn_c_try_compile "$LINENO"; then :
2227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2233 $as_echo "$ac_res" >&6; }
2234 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2236 } # ac_fn_c_check_type
2238 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2239 # -------------------------------------------------------
2240 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2241 # the include files in INCLUDES and setting the cache variable VAR
2243 ac_fn_c_check_header_mongrel ()
2245 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2246 if eval "test \"\${$3+set}\"" = set; then :
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2248 $as_echo_n "checking for $2... " >&6; }
2249 if eval "test \"\${$3+set}\"" = set; then :
2250 $as_echo_n "(cached) " >&6
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2254 $as_echo "$ac_res" >&6; }
2256 # Is the header compilable?
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2258 $as_echo_n "checking $2 usability... " >&6; }
2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2264 if ac_fn_c_try_compile "$LINENO"; then :
2265 ac_header_compiler=yes
2267 ac_header_compiler=no
2269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2271 $as_echo "$ac_header_compiler" >&6; }
2273 # Is the header present?
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2275 $as_echo_n "checking $2 presence... " >&6; }
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2280 if ac_fn_c_try_cpp "$LINENO"; then :
2281 ac_header_preproc=yes
2283 ac_header_preproc=no
2285 rm -f conftest.err conftest.i conftest.$ac_ext
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2287 $as_echo "$ac_header_preproc" >&6; }
2289 # So? What about this header?
2290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2293 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2295 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2299 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2301 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2303 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2305 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2307 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2311 $as_echo_n "checking for $2... " >&6; }
2312 if eval "test \"\${$3+set}\"" = set; then :
2313 $as_echo_n "(cached) " >&6
2315 eval "$3=\$ac_header_compiler"
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2319 $as_echo "$ac_res" >&6; }
2321 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2323 } # ac_fn_c_check_header_mongrel
2324 cat >config.log <<_ACEOF
2325 This file contains any messages produced by compilers while
2326 running configure, to aid debugging if configure makes a mistake.
2328 It was created by GNU Python Runtime Library $as_me 0.1, which was
2329 generated by GNU Autoconf 2.67. Invocation command line was
2341 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2342 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2343 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2344 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2345 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2347 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2348 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2350 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2351 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2352 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2353 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2354 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2355 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2356 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir=.
2365 $as_echo "PATH: $as_dir"
2381 # Keep a trace of the command line.
2382 # Strip out --no-create and --no-recursion so they do not pile up.
2383 # Strip out --silent because we don't want to record it for future runs.
2384 # Also quote any args containing shell meta-characters.
2385 # Make two passes to allow for proper duplicate-argument suppression.
2389 ac_must_keep_next=false
2395 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2396 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2397 | -silent | --silent | --silen | --sile | --sil)
2400 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2403 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2405 as_fn_append ac_configure_args1 " '$ac_arg'"
2406 if test $ac_must_keep_next = true; then
2407 ac_must_keep_next=false # Got value, back to normal.
2410 *=* | --config-cache | -C | -disable-* | --disable-* \
2411 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2412 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2413 | -with-* | --with-* | -without-* | --without-* | --x)
2414 case "$ac_configure_args0 " in
2415 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2418 -* ) ac_must_keep_next=true ;;
2421 as_fn_append ac_configure_args " '$ac_arg'"
2426 { ac_configure_args0=; unset ac_configure_args0;}
2427 { ac_configure_args1=; unset ac_configure_args1;}
2429 # When interrupted or exit'd, cleanup temporary files, and complete
2430 # config.log. We remove comments because anyway the quotes in there
2431 # would cause problems or look ugly.
2432 # WARNING: Use '\'' to represent an apostrophe within the trap.
2433 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2434 trap 'exit_status=$?
2435 # Save into config.log some information that might help in debugging.
2439 $as_echo "## ---------------- ##
2440 ## Cache variables. ##
2441 ## ---------------- ##"
2443 # The following way of writing the cache mishandles newlines in values,
2445 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2446 eval ac_val=\$$ac_var
2450 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2451 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2454 _ | IFS | as_nl) ;; #(
2455 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2456 *) { eval $ac_var=; unset $ac_var;} ;;
2461 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2462 *${as_nl}ac_space=\ *)
2464 "s/'\''/'\''\\\\'\'''\''/g;
2465 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2468 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2475 $as_echo "## ----------------- ##
2476 ## Output variables. ##
2477 ## ----------------- ##"
2479 for ac_var in $ac_subst_vars
2481 eval ac_val=\$$ac_var
2483 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2485 $as_echo "$ac_var='\''$ac_val'\''"
2489 if test -n "$ac_subst_files"; then
2490 $as_echo "## ------------------- ##
2491 ## File substitutions. ##
2492 ## ------------------- ##"
2494 for ac_var in $ac_subst_files
2496 eval ac_val=\$$ac_var
2498 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2500 $as_echo "$ac_var='\''$ac_val'\''"
2505 if test -s confdefs.h; then
2506 $as_echo "## ----------- ##
2513 test "$ac_signal" != 0 &&
2514 $as_echo "$as_me: caught signal $ac_signal"
2515 $as_echo "$as_me: exit $exit_status"
2517 rm -f core *.core core.conftest.* &&
2518 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2521 for ac_signal in 1 2 13 15; do
2522 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2526 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2527 rm -f -r conftest* confdefs.h
2529 $as_echo "/* confdefs.h */" > confdefs.h
2531 # Predefined preprocessor variables.
2533 cat >>confdefs.h <<_ACEOF
2534 #define PACKAGE_NAME "$PACKAGE_NAME"
2537 cat >>confdefs.h <<_ACEOF
2538 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2541 cat >>confdefs.h <<_ACEOF
2542 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2545 cat >>confdefs.h <<_ACEOF
2546 #define PACKAGE_STRING "$PACKAGE_STRING"
2549 cat >>confdefs.h <<_ACEOF
2550 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2553 cat >>confdefs.h <<_ACEOF
2554 #define PACKAGE_URL "$PACKAGE_URL"
2558 # Let the site file select an alternate cache file if it wants to.
2559 # Prefer an explicitly selected file to automatically selected ones.
2562 if test -n "$CONFIG_SITE"; then
2563 # We do not want a PATH search for config.site.
2564 case $CONFIG_SITE in #((
2565 -*) ac_site_file1=./$CONFIG_SITE;;
2566 */*) ac_site_file1=$CONFIG_SITE;;
2567 *) ac_site_file1=./$CONFIG_SITE;;
2569 elif test "x$prefix" != xNONE; then
2570 ac_site_file1=$prefix/share/config.site
2571 ac_site_file2=$prefix/etc/config.site
2573 ac_site_file1=$ac_default_prefix/share/config.site
2574 ac_site_file2=$ac_default_prefix/etc/config.site
2576 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2578 test "x$ac_site_file" = xNONE && continue
2579 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2581 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2582 sed 's/^/| /' "$ac_site_file" >&5
2584 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2586 as_fn_error $? "failed to load site
script $ac_site_file
2587 See \
`config.log' for more details" "$LINENO" 5 ; }
2591 if test -r "$cache_file"; then
2592 # Some versions of bash will fail to source /dev/null (special files
2593 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2594 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2596 $as_echo "$as_me: loading cache $cache_file" >&6;}
2598 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2599 *) . "./$cache_file";;
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2604 $as_echo "$as_me: creating cache $cache_file" >&6;}
2608 as_fn_append ac_header_list " utime.h"
2609 # Check that the precious variables saved in the cache have kept the same
2611 ac_cache_corrupted=false
2612 for ac_var in $ac_precious_vars; do
2613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2614 eval ac_new_set=\$ac_env_${ac_var}_set
2615 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2616 eval ac_new_val=\$ac_env_${ac_var}_value
2617 case $ac_old_set,$ac_new_set in
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2620 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2621 ac_cache_corrupted=: ;;
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2624 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2625 ac_cache_corrupted=: ;;
2628 if test "x$ac_old_val" != "x$ac_new_val"; then
2629 # differences in whitespace do not lead to failure.
2630 ac_old_val_w=`echo x
$ac_old_val`
2631 ac_new_val_w=`echo x
$ac_new_val`
2632 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2634 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2635 ac_cache_corrupted=:
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2638 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2639 eval $ac_var=\$ac_old_val
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2642 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2644 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2647 # Pass precious variables to config.status.
2648 if test "$ac_new_set" = set; then
2650 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2651 *) ac_arg=$ac_var=$ac_new_val ;;
2653 case " $ac_configure_args " in
2654 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2655 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2659 if $ac_cache_corrupted; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2663 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2664 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2666 ## -------------------- ##
2667 ## Main body of script. ##
2668 ## -------------------- ##
2671 ac_cpp='$CPP $CPPFLAGS'
2672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2677 ac_config_headers="$ac_config_headers config.h"
2681 for ac_dir in config "$srcdir"/config; do
2682 if test -f "$ac_dir/install-sh"; then
2684 ac_install_sh="$ac_aux_dir/install-sh -c"
2686 elif test -f "$ac_dir/install.sh"; then
2688 ac_install_sh="$ac_aux_dir/install.sh -c"
2690 elif test -f "$ac_dir/shtool"; then
2692 ac_install_sh="$ac_aux_dir/shtool install -c"
2696 if test -z "$ac_aux_dir"; then
2697 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2700 # These three variables are undocumented and unsupported,
2701 # and are intended to be withdrawn in a future Autoconf release.
2702 # They can cause serious problems if a builder's source tree is in a directory
2703 # whose full name contains unusual characters.
2704 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2705 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2706 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2711 $as_echo_n "checking whether build environment is sane... " >&6; }
2714 echo timestamp > conftest.file
2715 # Reject unsafe characters in $srcdir or the absolute working directory
2716 # name. Accept space and tab only in the latter.
2720 *[\\\"\#\$\&\'\`$am_lf]*)
2721 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5 ;;
2724 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2725 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2728 # Do `set' in a subshell so we don't clobber the current shell's
2729 # arguments. Must try -L first in case configure is actually a
2730 # symlink; some systems play weird games with the mod time of symlinks
2731 # (eg FreeBSD returns the mod time of the symlink's containing
2734 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2735 if test "$*" = "X"; then
2737 set X
`ls -t "$srcdir/configure" conftest.file`
2740 if test "$*" != "X $srcdir/configure conftest.file" \
2741 && test "$*" != "X conftest.file $srcdir/configure"; then
2743 # If neither matched, then we have a broken ls. This can happen
2744 # if, for instance, CONFIG_SHELL is bash and it inherits a
2745 # broken ls alias from the environment. This has actually
2746 # happened. Such a system could not be considered "sane".
2747 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2748 alias in your environment" "$LINENO" 5
2751 test "$2" = conftest.
file
2757 as_fn_error $?
"newly created file is older than distributed files!
2758 Check your system clock" "$LINENO" 5
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2761 $as_echo "yes" >&6; }
2763 for ac_prog
in gawk mawk nawk
awk
2765 # Extract the first word of "$ac_prog", so it can be a program name with args.
2766 set dummy
$ac_prog; ac_word
=$2
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if test "${ac_cv_prog_AWK+set}" = set; then :
2770 $as_echo_n "(cached) " >&6
2772 if test -n "$AWK"; then
2773 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir
=.
2780 for ac_exec_ext
in '' $ac_executable_extensions; do
2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782 ac_cv_prog_AWK
="$ac_prog"
2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 if test -n "$AWK"; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2795 $as_echo "$AWK" >&6; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2802 test -n "$AWK" && break
2806 ac_cpp
='$CPP $CPPFLAGS'
2807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2810 if test -n "$ac_tool_prefix"; then
2811 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2812 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814 $as_echo_n "checking for $ac_word... " >&6; }
2815 if test "${ac_cv_prog_CC+set}" = set; then :
2816 $as_echo_n "(cached) " >&6
2818 if test -n "$CC"; then
2819 ac_cv_prog_CC
="$CC" # Let the user override the test.
2821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir
=.
2826 for ac_exec_ext
in '' $ac_executable_extensions; do
2827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2828 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 if test -n "$CC"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2841 $as_echo "$CC" >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844 $as_echo "no" >&6; }
2849 if test -z "$ac_cv_prog_CC"; then
2851 # Extract the first word of "gcc", so it can be a program name with args.
2852 set dummy gcc
; ac_word
=$2
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2854 $as_echo_n "checking for $ac_word... " >&6; }
2855 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2856 $as_echo_n "(cached) " >&6
2858 if test -n "$ac_ct_CC"; then
2859 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2865 test -z "$as_dir" && as_dir
=.
2866 for ac_exec_ext
in '' $ac_executable_extensions; do
2867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2868 ac_cv_prog_ac_ct_CC
="gcc"
2869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2879 if test -n "$ac_ct_CC"; then
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2881 $as_echo "$ac_ct_CC" >&6; }
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2884 $as_echo "no" >&6; }
2887 if test "x$ac_ct_CC" = x
; then
2890 case $cross_compiling:$ac_tool_warned in
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2894 ac_tool_warned
=yes ;;
2902 if test -z "$CC"; then
2903 if test -n "$ac_tool_prefix"; then
2904 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2905 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2907 $as_echo_n "checking for $ac_word... " >&6; }
2908 if test "${ac_cv_prog_CC+set}" = set; then :
2909 $as_echo_n "(cached) " >&6
2911 if test -n "$CC"; then
2912 ac_cv_prog_CC
="$CC" # Let the user override the test.
2914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2918 test -z "$as_dir" && as_dir
=.
2919 for ac_exec_ext
in '' $ac_executable_extensions; do
2920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2921 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2932 if test -n "$CC"; then
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2934 $as_echo "$CC" >&6; }
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2937 $as_echo "no" >&6; }
2943 if test -z "$CC"; then
2944 # Extract the first word of "cc", so it can be a program name with args.
2945 set dummy cc
; ac_word
=$2
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2947 $as_echo_n "checking for $ac_word... " >&6; }
2948 if test "${ac_cv_prog_CC+set}" = set; then :
2949 $as_echo_n "(cached) " >&6
2951 if test -n "$CC"; then
2952 ac_cv_prog_CC
="$CC" # Let the user override the test.
2955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2959 test -z "$as_dir" && as_dir
=.
2960 for ac_exec_ext
in '' $ac_executable_extensions; do
2961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2962 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2963 ac_prog_rejected
=yes
2967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2974 if test $ac_prog_rejected = yes; then
2975 # We found a bogon in the path, so make sure we never use it.
2976 set dummy
$ac_cv_prog_CC
2978 if test $# != 0; then
2979 # We chose a different compiler from the bogus one.
2980 # However, it has the same basename, so the bogon will be chosen
2981 # first if we set CC to just the basename; use the full file name.
2983 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2989 if test -n "$CC"; then
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2991 $as_echo "$CC" >&6; }
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994 $as_echo "no" >&6; }
2999 if test -z "$CC"; then
3000 if test -n "$ac_tool_prefix"; then
3001 for ac_prog
in cl.exe
3003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3004 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006 $as_echo_n "checking for $ac_word... " >&6; }
3007 if test "${ac_cv_prog_CC+set}" = set; then :
3008 $as_echo_n "(cached) " >&6
3010 if test -n "$CC"; then
3011 ac_cv_prog_CC
="$CC" # Let the user override the test.
3013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3017 test -z "$as_dir" && as_dir
=.
3018 for ac_exec_ext
in '' $ac_executable_extensions; do
3019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3020 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 if test -n "$CC"; then
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3033 $as_echo "$CC" >&6; }
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036 $as_echo "no" >&6; }
3040 test -n "$CC" && break
3043 if test -z "$CC"; then
3045 for ac_prog
in cl.exe
3047 # Extract the first word of "$ac_prog", so it can be a program name with args.
3048 set dummy
$ac_prog; ac_word
=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3052 $as_echo_n "(cached) " >&6
3054 if test -n "$ac_ct_CC"; then
3055 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir
=.
3062 for ac_exec_ext
in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064 ac_cv_prog_ac_ct_CC
="$ac_prog"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3075 if test -n "$ac_ct_CC"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3077 $as_echo "$ac_ct_CC" >&6; }
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3084 test -n "$ac_ct_CC" && break
3087 if test "x$ac_ct_CC" = x
; then
3090 case $cross_compiling:$ac_tool_warned in
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3094 ac_tool_warned
=yes ;;
3103 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3105 as_fn_error $?
"no acceptable C compiler found in \$PATH
3106 See \`config.log' for more details" "$LINENO" 5 ; }
3108 # Provide some information about the compiler.
3109 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3112 for ac_option
in --version -v -V -qversion; do
3113 { { ac_try
="$ac_compiler $ac_option >&5"
3115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3119 $as_echo "$ac_try_echo"; } >&5
3120 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3122 if test -s conftest.err; then
3124 ... rest of stderr output deleted ...
3125 10q' conftest.err >conftest.er1
3126 cat conftest.er1 >&5
3128 rm -f conftest.er1 conftest.err
3129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130 test $ac_status = 0; }
3133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h. */
3144 ac_clean_files_save=$ac_clean_files
3145 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3146 # Try to create an executable without -o first, disregard a.out.
3147 # It will help us diagnose broken compilers, and finding out an intuition
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3150 $as_echo_n "checking whether the C compiler works... " >&6; }
3151 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3153 # The possible output files:
3154 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3157 for ac_file in $ac_files
3160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3161 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3166 if { { ac_try="$ac_link_default"
3168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3169 *) ac_try_echo
=$ac_try;;
3171 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3172 $as_echo "$ac_try_echo"; } >&5
3173 (eval "$ac_link_default") 2>&5
3175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3176 test $ac_status = 0; }; then :
3177 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3178 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3179 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3180 # so that the user can short-circuit this test for compilers unknown to
3182 for ac_file
in $ac_files ''
3184 test -f "$ac_file" ||
continue
3186 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3189 # We found the default executable, but exeext='' is most
3193 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3195 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3197 # We set ac_cv_exeext here because the later test for it is not
3198 # safe: cross compilers may not add the suffix if given an `-o'
3199 # argument, so we may need to know it at that point already.
3200 # Even if this section looks crufty: it has the advantage of
3207 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3212 if test -z "$ac_file"; then :
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214 $as_echo "no" >&6; }
3215 $as_echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.
$ac_ext >&5
3218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220 as_fn_error
77 "C compiler cannot create executables
3221 See \`config.log' for more details" "$LINENO" 5 ; }
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3224 $as_echo "yes" >&6; }
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3227 $as_echo_n "checking for C compiler default output file name... " >&6; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3229 $as_echo "$ac_file" >&6; }
3230 ac_exeext
=$ac_cv_exeext
3232 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3233 ac_clean_files
=$ac_clean_files_save
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3235 $as_echo_n "checking for suffix of executables... " >&6; }
3236 if { { ac_try
="$ac_link"
3238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3242 $as_echo "$ac_try_echo"; } >&5
3243 (eval "$ac_link") 2>&5
3245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3246 test $ac_status = 0; }; then :
3247 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3248 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3249 # work properly (i.e., refer to `conftest.exe'), while it won't with
3251 for ac_file
in conftest.exe conftest conftest.
*; do
3252 test -f "$ac_file" ||
continue
3254 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3255 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3263 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3264 See \`config.log' for more details" "$LINENO" 5 ; }
3266 rm -f conftest conftest
$ac_cv_exeext
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3268 $as_echo "$ac_cv_exeext" >&6; }
3270 rm -f conftest.
$ac_ext
3271 EXEEXT
=$ac_cv_exeext
3273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3279 FILE *f = fopen ("conftest.out", "w");
3280 return ferror (f) || fclose (f) != 0;
3286 ac_clean_files
="$ac_clean_files conftest.out"
3287 # Check that the compiler produces executables we can run. If not, either
3288 # the compiler is broken, or we cross compile.
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3290 $as_echo_n "checking whether we are cross compiling... " >&6; }
3291 if test "$cross_compiling" != yes; then
3292 { { ac_try
="$ac_link"
3294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299 (eval "$ac_link") 2>&5
3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3302 test $ac_status = 0; }
3303 if { ac_try='./conftest$ac_cv_exeext'
3304 { { case "(($ac_try" in
3305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3306 *) ac_try_echo
=$ac_try;;
3308 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309 $as_echo "$ac_try_echo"; } >&5
3310 (eval "$ac_try") 2>&5
3312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3313 test $ac_status = 0; }; }; then
3316 if test "$cross_compiling" = maybe
; then
3319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321 as_fn_error $?
"cannot run C compiled programs.
3322 If you meant to cross compile, use \`--host'.
3323 See \`config.log' for more details" "$LINENO" 5 ; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3328 $as_echo "$cross_compiling" >&6; }
3330 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3331 ac_clean_files
=$ac_clean_files_save
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3333 $as_echo_n "checking for suffix of object files... " >&6; }
3334 if test "${ac_cv_objext+set}" = set; then :
3335 $as_echo_n "(cached) " >&6
3337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3348 rm -f conftest.o conftest.obj
3349 if { { ac_try
="$ac_compile"
3351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3352 *) ac_try_echo=$ac_try;;
3354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3355 $as_echo "$ac_try_echo"; } >&5
3356 (eval "$ac_compile") 2>&5
3358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3359 test $ac_status = 0; }; then :
3360 for ac_file in conftest.o conftest.obj conftest.*; do
3361 test -f "$ac_file" || continue;
3363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3364 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3369 $as_echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.$ac_ext >&5
3372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3374 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3375 See \
`config.log' for more details" "$LINENO" 5 ; }
3377 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3380 $as_echo "$ac_cv_objext" >&6; }
3381 OBJEXT=$ac_cv_objext
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3384 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3385 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3386 $as_echo_n "(cached) " >&6
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3402 if ac_fn_c_try_compile "$LINENO"; then :
3407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3408 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3412 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3413 if test $ac_compiler_gnu = yes; then
3418 ac_test_CFLAGS=${CFLAGS+set}
3419 ac_save_CFLAGS=$CFLAGS
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3421 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3422 if test "${ac_cv_prog_cc_g+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3425 ac_save_c_werror_flag=$ac_c_werror_flag
3426 ac_c_werror_flag=yes
3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3440 if ac_fn_c_try_compile "$LINENO"; then :
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3455 if ac_fn_c_try_compile "$LINENO"; then :
3458 ac_c_werror_flag=$ac_save_c_werror_flag
3460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3461 /* end confdefs.h. */
3471 if ac_fn_c_try_compile "$LINENO"; then :
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 ac_c_werror_flag=$ac_save_c_werror_flag
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3482 $as_echo "$ac_cv_prog_cc_g" >&6; }
3483 if test "$ac_test_CFLAGS" = set; then
3484 CFLAGS=$ac_save_CFLAGS
3485 elif test $ac_cv_prog_cc_g = yes; then
3486 if test "$GCC" = yes; then
3492 if test "$GCC" = yes; then
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3499 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3500 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3501 $as_echo_n "(cached) " >&6
3503 ac_cv_prog_cc_c89=no
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3509 #include <sys/types.h>
3510 #include <sys/stat.h>
3511 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3512 struct buf { int x; };
3513 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3514 static char *e (p, i)
3520 static char *f (char * (*g) (char **, int), char **p, ...)
3525 s = g (p, va_arg (v,int));
3530 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3531 function prototypes and stuff, but not '\xHH' hex character constants.
3532 These don't provoke an error unfortunately, instead are silently treated
3533 as 'x'. The following induces an error, until -std is added to get
3534 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3535 array size at least. It's necessary to write '\x00'==0 to get something
3536 that's true only with -std. */
3537 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3539 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3540 inside strings and character constants. */
3542 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3544 int test (int i, double x);
3545 struct s1 {int (*f) (int a);};
3546 struct s2 {int (*f) (double a);};
3547 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3553 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3558 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3559 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3561 CC="$ac_save_CC $ac_arg"
3562 if ac_fn_c_try_compile "$LINENO"; then :
3563 ac_cv_prog_cc_c89=$ac_arg
3565 rm -f core conftest.err conftest.$ac_objext
3566 test "x$ac_cv_prog_cc_c89" != "xno" && break
3568 rm -f conftest.$ac_ext
3573 case "x$ac_cv_prog_cc_c89" in
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3576 $as_echo "none needed" >&6; } ;;
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3579 $as_echo "unsupported" >&6; } ;;
3581 CC="$CC $ac_cv_prog_cc_c89"
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3583 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3585 if test "x$ac_cv_prog_cc_c89" != xno; then :
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 ac_cpp='$CPP $CPPFLAGS'
3597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3601 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3602 # On Suns, sometimes $CPP names a directory.
3603 if test -n "$CPP" && test -d "$CPP"; then
3606 if test -z "$CPP"; then
3607 if test "${ac_cv_prog_CPP+set}" = set; then :
3608 $as_echo_n "(cached) " >&6
3610 # Double quotes because CPP needs to be expanded
3611 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3614 for ac_c_preproc_warn_flag in '' yes
3616 # Use a header file that comes with gcc, so configuring glibc
3617 # with a fresh cross-compiler works.
3618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3619 # <limits.h> exists even on freestanding compilers.
3620 # On the NeXT, cc -E runs the code through the compiler's parser,
3621 # not just through cpp. "Syntax error" is here to catch this case.
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3625 # include <limits.h>
3627 # include <assert.h>
3631 if ac_fn_c_try_cpp "$LINENO"; then :
3634 # Broken: fails on valid input.
3637 rm -f conftest.err conftest.i conftest.$ac_ext
3639 # OK, works on sane cases. Now check whether nonexistent headers
3640 # can be detected and how.
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3643 #include <ac_nonexistent.h>
3645 if ac_fn_c_try_cpp "$LINENO"; then :
3646 # Broken: success on invalid input.
3649 # Passes both tests.
3653 rm -f conftest.err conftest.i conftest.$ac_ext
3656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3657 rm -f conftest.i conftest.err conftest.
$ac_ext
3658 if $ac_preproc_ok; then :
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3671 $as_echo "$CPP" >&6; }
3673 for ac_c_preproc_warn_flag
in '' yes
3675 # Use a header file that comes with gcc, so configuring glibc
3676 # with a fresh cross-compiler works.
3677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3678 # <limits.h> exists even on freestanding compilers.
3679 # On the NeXT, cc -E runs the code through the compiler's parser,
3680 # not just through cpp. "Syntax error" is here to catch this case.
3681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3684 # include <limits.h>
3686 # include <assert.h>
3690 if ac_fn_c_try_cpp
"$LINENO"; then :
3693 # Broken: fails on valid input.
3696 rm -f conftest.err conftest.i conftest.
$ac_ext
3698 # OK, works on sane cases. Now check whether nonexistent headers
3699 # can be detected and how.
3700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3702 #include <ac_nonexistent.h>
3704 if ac_fn_c_try_cpp
"$LINENO"; then :
3705 # Broken: success on invalid input.
3708 # Passes both tests.
3712 rm -f conftest.err conftest.i conftest.
$ac_ext
3715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3716 rm -f conftest.i conftest.err conftest.
$ac_ext
3717 if $ac_preproc_ok; then :
3720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3722 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3723 See \`config.log' for more details" "$LINENO" 5 ; }
3727 ac_cpp
='$CPP $CPPFLAGS'
3728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3732 # Find a good install program. We prefer a C program (faster),
3733 # so one script is as good as another. But avoid the broken or
3734 # incompatible versions:
3735 # SysV /etc/install, /usr/sbin/install
3736 # SunOS /usr/etc/install
3737 # IRIX /sbin/install
3739 # AmigaOS /C/install, which installs bootblocks on floppy discs
3740 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3741 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3742 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3743 # OS/2's system install, which has a completely different semantic
3744 # ./install, which can be erroneously created by make from ./install.sh.
3745 # Reject install programs that cannot install multiple files.
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3747 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3748 if test -z "$INSTALL"; then
3749 if test "${ac_cv_path_install+set}" = set; then :
3750 $as_echo_n "(cached) " >&6
3752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir
=.
3757 # Account for people who put trailing slashes in PATH elements.
3758 case $as_dir/ in #((
3759 .
/ | .
// |
/[cC
]/* | \
3760 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3761 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3764 # OSF1 and SCO ODT 3.0 have their own names for install.
3765 # Don't use installbsd from OSF since it installs stuff as root
3767 for ac_prog
in ginstall scoinst
install; do
3768 for ac_exec_ext
in '' $ac_executable_extensions; do
3769 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3770 if test $ac_prog = install &&
3771 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3772 # AIX install. It has an incompatible calling convention.
3774 elif test $ac_prog = install &&
3775 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3776 # program-specific install script used by HP pwplus--don't use.
3779 rm -rf conftest.one conftest.two conftest.dir
3780 echo one
> conftest.one
3781 echo two
> conftest.two
3783 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3784 test -s conftest.one
&& test -s conftest.two
&&
3785 test -s conftest.dir
/conftest.one
&&
3786 test -s conftest.dir
/conftest.two
3788 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3801 rm -rf conftest.one conftest.two conftest.dir
3804 if test "${ac_cv_path_install+set}" = set; then
3805 INSTALL
=$ac_cv_path_install
3807 # As a last resort, use the slow shell script. Don't cache a
3808 # value for INSTALL within a source directory, because that will
3809 # break other packages using the cache if that directory is
3810 # removed, or if the value is a relative name.
3811 INSTALL
=$ac_install_sh
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3815 $as_echo "$INSTALL" >&6; }
3817 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3818 # It thinks the first close brace ends the variable substitution.
3819 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3821 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3823 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3826 $as_echo_n "checking whether ln -s works... " >&6; }
3828 if test "$LN_S" = "ln -s"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3830 $as_echo "yes" >&6; }
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3833 $as_echo "no, using $LN_S" >&6; }
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3837 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3839 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3840 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3841 $as_echo_n "(cached) " >&6
3843 cat >conftest.
make <<\_ACEOF
3846 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3848 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3849 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3851 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3853 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3857 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3859 $as_echo "yes" >&6; }
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3864 SET_MAKE
="MAKE=${MAKE-make}"
3867 if test -n "$ac_tool_prefix"; then
3868 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3869 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3873 $as_echo_n "(cached) " >&6
3875 if test -n "$RANLIB"; then
3876 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3882 test -z "$as_dir" && as_dir
=.
3883 for ac_exec_ext
in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3895 RANLIB
=$ac_cv_prog_RANLIB
3896 if test -n "$RANLIB"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3898 $as_echo "$RANLIB" >&6; }
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3906 if test -z "$ac_cv_prog_RANLIB"; then
3907 ac_ct_RANLIB
=$RANLIB
3908 # Extract the first word of "ranlib", so it can be a program name with args.
3909 set dummy ranlib
; ac_word
=$2
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3911 $as_echo_n "checking for $ac_word... " >&6; }
3912 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3913 $as_echo_n "(cached) " >&6
3915 if test -n "$ac_ct_RANLIB"; then
3916 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3922 test -z "$as_dir" && as_dir
=.
3923 for ac_exec_ext
in '' $ac_executable_extensions; do
3924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3925 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3936 if test -n "$ac_ct_RANLIB"; then
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3938 $as_echo "$ac_ct_RANLIB" >&6; }
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3941 $as_echo "no" >&6; }
3944 if test "x$ac_ct_RANLIB" = x
; then
3947 case $cross_compiling:$ac_tool_warned in
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3951 ac_tool_warned
=yes ;;
3953 RANLIB
=$ac_ct_RANLIB
3956 RANLIB
="$ac_cv_prog_RANLIB"
3959 for ac_prog
in ar aal
3961 # Extract the first word of "$ac_prog", so it can be a program name with args.
3962 set dummy
$ac_prog; ac_word
=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if test "${ac_cv_prog_AR+set}" = set; then :
3966 $as_echo_n "(cached) " >&6
3968 if test -n "$AR"; then
3969 ac_cv_prog_AR
="$AR" # Let the user override the test.
3971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir
=.
3976 for ac_exec_ext
in '' $ac_executable_extensions; do
3977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3978 ac_cv_prog_AR
="$ac_prog"
3979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 if test -n "$AR"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3991 $as_echo "$AR" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3998 test -n "$AR" && break
4000 test -n "$AR" || AR
="ar"
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4003 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4004 if test "${ac_cv_prog_cc_c99+set}" = set; then :
4005 $as_echo_n "(cached) " >&6
4007 ac_cv_prog_cc_c99
=no
4009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4012 #include <stdbool.h>
4017 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4018 #define debug(...) fprintf (stderr, __VA_ARGS__)
4019 #define showlist(...) puts (#__VA_ARGS__)
4020 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4022 test_varargs_macros (void)
4027 debug ("X = %d\n", x);
4028 showlist (The first, second, and third items.);
4029 report (x>y, "x is %d but y is %d", x, y);
4032 // Check long long types.
4033 #define BIG64 18446744073709551615ull
4034 #define BIG32 4294967295ul
4035 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4037 your preprocessor is broken;
4041 your preprocessor is broken;
4043 static long long int bignum = -9223372036854775807LL;
4044 static unsigned long long int ubignum = BIG64;
4046 struct incomplete_array
4054 const wchar_t *name;
4058 typedef const char *ccp;
4061 test_restrict (ccp restrict text)
4063 // See if C++-style comments work.
4064 // Iterate through items via the restricted pointer.
4065 // Also check for declarations in for loops.
4066 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4071 // Check varargs and va_copy.
4073 test_varargs (const char *format, ...)
4076 va_start (args, format);
4078 va_copy (args_copy, args);
4089 str = va_arg (args_copy, const char *);
4092 number = va_arg (args_copy, int);
4095 fnumber = va_arg (args_copy, double);
4110 _Bool success = false;
4113 if (test_restrict ("String literal") == 0)
4115 char *restrict newvar = "Another string";
4118 test_varargs ("s, d' f .", "string", 65, 34.234);
4119 test_varargs_macros ();
4121 // Check flexible array members.
4122 struct incomplete_array *ia =
4123 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4125 for (int i = 0; i < ia->datasize; ++i)
4126 ia->data[i] = i * 1.234;
4128 // Check named initializers.
4129 struct named_init ni = {
4131 .name = L"Test wide string",
4132 .average = 543.34343,
4137 int dynamic_array[ni.number];
4138 dynamic_array[ni.number - 1] = 543;
4140 // work around unused variable warnings
4141 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4142 || dynamic_array[ni.number - 1] != 543);
4148 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
4150 CC
="$ac_save_CC $ac_arg"
4151 if ac_fn_c_try_compile
"$LINENO"; then :
4152 ac_cv_prog_cc_c99
=$ac_arg
4154 rm -f core conftest.err conftest.
$ac_objext
4155 test "x$ac_cv_prog_cc_c99" != "xno" && break
4157 rm -f conftest.
$ac_ext
4162 case "x$ac_cv_prog_cc_c99" in
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4165 $as_echo "none needed" >&6; } ;;
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4168 $as_echo "unsupported" >&6; } ;;
4170 CC
="$CC $ac_cv_prog_cc_c99"
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4172 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4174 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4180 ac_cpp
='$CXXCPP $CPPFLAGS'
4181 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4182 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4183 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4184 if test -z "$CXX"; then
4185 if test -n "$CCC"; then
4188 if test -n "$ac_tool_prefix"; then
4189 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4191 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4192 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4194 $as_echo_n "checking for $ac_word... " >&6; }
4195 if test "${ac_cv_prog_CXX+set}" = set; then :
4196 $as_echo_n "(cached) " >&6
4198 if test -n "$CXX"; then
4199 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4205 test -z "$as_dir" && as_dir
=.
4206 for ac_exec_ext
in '' $ac_executable_extensions; do
4207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4208 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 if test -n "$CXX"; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4221 $as_echo "$CXX" >&6; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4224 $as_echo "no" >&6; }
4228 test -n "$CXX" && break
4231 if test -z "$CXX"; then
4233 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4235 # Extract the first word of "$ac_prog", so it can be a program name with args.
4236 set dummy
$ac_prog; ac_word
=$2
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4238 $as_echo_n "checking for $ac_word... " >&6; }
4239 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4240 $as_echo_n "(cached) " >&6
4242 if test -n "$ac_ct_CXX"; then
4243 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4249 test -z "$as_dir" && as_dir
=.
4250 for ac_exec_ext
in '' $ac_executable_extensions; do
4251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4252 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4262 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4263 if test -n "$ac_ct_CXX"; then
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4265 $as_echo "$ac_ct_CXX" >&6; }
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4268 $as_echo "no" >&6; }
4272 test -n "$ac_ct_CXX" && break
4275 if test "x$ac_ct_CXX" = x
; then
4278 case $cross_compiling:$ac_tool_warned in
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4282 ac_tool_warned
=yes ;;
4290 # Provide some information about the compiler.
4291 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4294 for ac_option
in --version -v -V -qversion; do
4295 { { ac_try
="$ac_compiler $ac_option >&5"
4297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4301 $as_echo "$ac_try_echo"; } >&5
4302 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4304 if test -s conftest.err; then
4306 ... rest of stderr output deleted ...
4307 10q' conftest.err >conftest.er1
4308 cat conftest.er1 >&5
4310 rm -f conftest.er1 conftest.err
4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4316 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4317 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4318 $as_echo_n "(cached) " >&6
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4334 if ac_fn_cxx_try_compile "$LINENO"; then :
4339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4344 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4345 if test $ac_compiler_gnu = yes; then
4350 ac_test_CXXFLAGS=${CXXFLAGS+set}
4351 ac_save_CXXFLAGS=$CXXFLAGS
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4353 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4354 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4355 $as_echo_n "(cached) " >&6
4357 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4358 ac_cxx_werror_flag=yes
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4372 if ac_fn_cxx_try_compile "$LINENO"; then :
4373 ac_cv_prog_cxx_g=yes
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4387 if ac_fn_cxx_try_compile "$LINENO"; then :
4390 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4403 if ac_fn_cxx_try_compile "$LINENO"; then :
4404 ac_cv_prog_cxx_g=yes
4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4414 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4415 if test "$ac_test_CXXFLAGS" = set; then
4416 CXXFLAGS=$ac_save_CXXFLAGS
4417 elif test $ac_cv_prog_cxx_g = yes; then
4418 if test "$GXX" = yes; then
4424 if test "$GXX" = yes; then
4431 ac_cpp='$CPP $CPPFLAGS'
4432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4446 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4451 macro_version='2.2.6b'
4452 macro_revision='1.3017'
4466 ltmain="$ac_aux_dir/ltmain.sh"
4468 # Make sure we can run config.sub.
4469 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4470 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4473 $as_echo_n "checking build system type... " >&6; }
4474 if test "${ac_cv_build+set}" = set; then :
4475 $as_echo_n "(cached) " >&6
4477 ac_build_alias=$build_alias
4478 test "x$ac_build_alias" = x &&
4479 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4480 test "x$ac_build_alias" = x &&
4481 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4482 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4483 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4487 $as_echo "$ac_cv_build" >&6; }
4488 case $ac_cv_build in
4490 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4493 ac_save_IFS=$IFS; IFS='-'
4499 # Remember, the first character of IFS is used to create $*,
4500 # except with old shells:
4503 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4507 $as_echo_n "checking host system type... " >&6; }
4508 if test "${ac_cv_host+set}" = set; then :
4509 $as_echo_n "(cached) " >&6
4511 if test "x$host_alias" = x; then
4512 ac_cv_host=$ac_cv_build
4514 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4515 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4520 $as_echo "$ac_cv_host" >&6; }
4523 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4526 ac_save_IFS=$IFS; IFS='-'
4532 # Remember, the first character of IFS is used to create $*,
4533 # except with old shells:
4536 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4540 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4541 if test "${ac_cv_path_SED+set}" = set; then :
4542 $as_echo_n "(cached) " >&6
4544 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4545 for ac_i in 1 2 3 4 5 6 7; do
4546 ac_script="$ac_script$as_nl$ac_script"
4548 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4549 { ac_script=; unset ac_script;}
4550 if test -z "$SED"; then
4551 ac_path_SED_found=false
4552 # Loop through the user's path and test for each of PROGNAME-LIST
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 test -z "$as_dir" && as_dir=.
4558 for ac_prog in sed gsed; do
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4561 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4562 # Check for GNU ac_path_SED and select it if it is found.
4563 # Check for GNU $ac_path_SED
4564 case `"$ac_path_SED" --version 2>&1` in
4566 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4569 $as_echo_n 0123456789 >"conftest.in"
4572 cat "conftest.in" "conftest.in" >"conftest.tmp"
4573 mv "conftest.tmp" "conftest.in"
4574 cp "conftest.in" "conftest.nl"
4575 $as_echo '' >> "conftest.nl"
4576 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4577 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4578 as_fn_arith $ac_count + 1 && ac_count=$as_val
4579 if test $ac_count -gt ${ac_path_SED_max-0}; then
4580 # Best one so far, save it but keep looking for a better one
4581 ac_cv_path_SED="$ac_path_SED"
4582 ac_path_SED_max=$ac_count
4584 # 10*(2^10) chars as input seems more than enough
4585 test $ac_count -gt 10 && break
4587 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4590 $ac_path_SED_found && break 3
4595 if test -z "$ac_cv_path_SED"; then
4596 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4604 $as_echo "$ac_cv_path_SED" >&6; }
4605 SED="$ac_cv_path_SED"
4608 test -z "$SED" && SED=sed
4609 Xsed="$SED -e 1s/^X//"
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4622 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4623 if test "${ac_cv_path_GREP+set}" = set; then :
4624 $as_echo_n "(cached) " >&6
4626 if test -z "$GREP"; then
4627 ac_path_GREP_found=false
4628 # Loop through the user's path and test for each of PROGNAME-LIST
4629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4630 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4633 test -z "$as_dir" && as_dir=.
4634 for ac_prog in grep ggrep; do
4635 for ac_exec_ext in '' $ac_executable_extensions; do
4636 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4637 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4638 # Check for GNU ac_path_GREP and select it if it is found.
4639 # Check for GNU $ac_path_GREP
4640 case `"$ac_path_GREP" --version 2>&1` in
4642 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4645 $as_echo_n 0123456789 >"conftest.in"
4648 cat "conftest.in" "conftest.in" >"conftest.tmp"
4649 mv "conftest.tmp" "conftest.in"
4650 cp "conftest.in" "conftest.nl"
4651 $as_echo 'GREP' >> "conftest.nl"
4652 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4653 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4654 as_fn_arith $ac_count + 1 && ac_count=$as_val
4655 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4656 # Best one so far, save it but keep looking for a better one
4657 ac_cv_path_GREP="$ac_path_GREP"
4658 ac_path_GREP_max=$ac_count
4660 # 10*(2^10) chars as input seems more than enough
4661 test $ac_count -gt 10 && break
4663 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4666 $ac_path_GREP_found && break 3
4671 if test -z "$ac_cv_path_GREP"; then
4672 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4675 ac_cv_path_GREP=$GREP
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4680 $as_echo "$ac_cv_path_GREP" >&6; }
4681 GREP="$ac_cv_path_GREP"
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4685 $as_echo_n "checking for egrep... " >&6; }
4686 if test "${ac_cv_path_EGREP+set}" = set; then :
4687 $as_echo_n "(cached) " >&6
4689 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4690 then ac_cv_path_EGREP="$GREP -E"
4692 if test -z "$EGREP"; then
4693 ac_path_EGREP_found=false
4694 # Loop through the user's path and test for each of PROGNAME-LIST
4695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4699 test -z "$as_dir" && as_dir=.
4700 for ac_prog in egrep; do
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4703 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4704 # Check for GNU ac_path_EGREP and select it if it is found.
4705 # Check for GNU $ac_path_EGREP
4706 case `"$ac_path_EGREP" --version 2>&1` in
4708 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4711 $as_echo_n 0123456789 >"conftest.in"
4714 cat "conftest.in" "conftest.in" >"conftest.tmp"
4715 mv "conftest.tmp" "conftest.in"
4716 cp "conftest.in" "conftest.nl"
4717 $as_echo 'EGREP' >> "conftest.nl"
4718 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4719 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4720 as_fn_arith $ac_count + 1 && ac_count=$as_val
4721 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4722 # Best one so far, save it but keep looking for a better one
4723 ac_cv_path_EGREP="$ac_path_EGREP"
4724 ac_path_EGREP_max=$ac_count
4726 # 10*(2^10) chars as input seems more than enough
4727 test $ac_count -gt 10 && break
4729 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4732 $ac_path_EGREP_found && break 3
4737 if test -z "$ac_cv_path_EGREP"; then
4738 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4741 ac_cv_path_EGREP=$EGREP
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4747 $as_echo "$ac_cv_path_EGREP" >&6; }
4748 EGREP="$ac_cv_path_EGREP"
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4752 $as_echo_n "checking for fgrep... " >&6; }
4753 if test "${ac_cv_path_FGREP+set}" = set; then :
4754 $as_echo_n "(cached) " >&6
4756 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4757 then ac_cv_path_FGREP="$GREP -F"
4759 if test -z "$FGREP"; then
4760 ac_path_FGREP_found=false
4761 # Loop through the user's path and test for each of PROGNAME-LIST
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4766 test -z "$as_dir" && as_dir=.
4767 for ac_prog in fgrep; do
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4770 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4771 # Check for GNU ac_path_FGREP and select it if it is found.
4772 # Check for GNU $ac_path_FGREP
4773 case `"$ac_path_FGREP" --version 2>&1` in
4775 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4778 $as_echo_n 0123456789 >"conftest.in"
4781 cat "conftest.in" "conftest.in" >"conftest.tmp"
4782 mv "conftest.tmp" "conftest.in"
4783 cp "conftest.in" "conftest.nl"
4784 $as_echo 'FGREP' >> "conftest.nl"
4785 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4786 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4787 as_fn_arith $ac_count + 1 && ac_count=$as_val
4788 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4789 # Best one so far, save it but keep looking for a better one
4790 ac_cv_path_FGREP="$ac_path_FGREP"
4791 ac_path_FGREP_max=$ac_count
4793 # 10*(2^10) chars as input seems more than enough
4794 test $ac_count -gt 10 && break
4796 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4799 $ac_path_FGREP_found && break 3
4804 if test -z "$ac_cv_path_FGREP"; then
4805 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4808 ac_cv_path_FGREP=$FGREP
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4814 $as_echo "$ac_cv_path_FGREP" >&6; }
4815 FGREP="$ac_cv_path_FGREP"
4818 test -z "$GREP" && GREP=grep
4838 # Check whether --with-gnu-ld was given.
4839 if test "${with_gnu_ld+set}" = set; then :
4840 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4846 if test "$GCC" = yes; then
4847 # Check if gcc -print-prog-name=ld gives a path.
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4849 $as_echo_n "checking for ld used by $CC... " >&6; }
4852 # gcc leaves a trailing carriage return which upsets mingw
4853 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4855 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4858 # Accept absolute paths.
4860 re_direlt='/[^/][^/]*/\.\./'
4861 # Canonicalize the pathname of ld
4862 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4863 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4864 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4866 test -z "$LD" && LD="$ac_prog"
4869 # If it fails, then pretend we aren't using GCC.
4873 # If it is relative, then search for the first ld in PATH.
4877 elif test "$with_gnu_ld" = yes; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4879 $as_echo_n "checking for GNU ld... " >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4882 $as_echo_n "checking for non-GNU ld... " >&6; }
4884 if test "${lt_cv_path_LD+set}" = set; then :
4885 $as_echo_n "(cached) " >&6
4887 if test -z "$LD"; then
4888 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4889 for ac_dir in $PATH; do
4891 test -z "$ac_dir" && ac_dir=.
4892 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4893 lt_cv_path_LD="$ac_dir/$ac_prog"
4894 # Check to see if the program is GNU ld. I'd rather use --version,
4895 # but apparently some variants of GNU ld only accept -v.
4896 # Break only if it was the GNU/non-GNU ld that we prefer.
4897 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4898 *GNU* | *'with BFD'*)
4899 test "$with_gnu_ld" != no && break
4902 test "$with_gnu_ld" != yes && break
4909 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4914 if test -n "$LD"; then
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4916 $as_echo "$LD" >&6; }
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4921 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4923 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4924 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4927 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4928 case `$LD -v 2>&1 </dev
/null
` in
4929 *GNU* | *'with BFD'*)
4930 lt_cv_prog_gnu_ld=yes
4933 lt_cv_prog_gnu_ld=no
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4938 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4939 with_gnu_ld=$lt_cv_prog_gnu_ld
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4950 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4951 if test "${lt_cv_path_NM+set}" = set; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -n "$NM"; then
4955 # Let the user override the test.
4958 lt_nm_to_check="${ac_tool_prefix}nm"
4959 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4960 lt_nm_to_check="$lt_nm_to_check nm"
4962 for lt_tmp_nm in $lt_nm_to_check; do
4963 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4964 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4966 test -z "$ac_dir" && ac_dir=.
4967 tmp_nm="$ac_dir/$lt_tmp_nm"
4968 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4969 # Check to see if the nm accepts a BSD-compat flag.
4970 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
4971 # nm: unknown option "B" ignored
4972 # Tru64's nm complains that
/dev
/null is an invalid object
file
4973 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4974 */dev
/null
* |
*'Invalid file or object type'*)
4975 lt_cv_path_NM
="$tmp_nm -B"
4979 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4981 lt_cv_path_NM
="$tmp_nm -p"
4985 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4986 continue # so that we can try to find one that supports BSD flags
4995 : ${lt_cv_path_NM=no}
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4999 $as_echo "$lt_cv_path_NM" >&6; }
5000 if test "$lt_cv_path_NM" != "no"; then
5003 # Didn't find any BSD compatible name lister, look for dumpbin.
5004 if test -n "$ac_tool_prefix"; then
5005 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5007 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5008 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 $as_echo_n "checking for $ac_word... " >&6; }
5011 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5012 $as_echo_n "(cached) " >&6
5014 if test -n "$DUMPBIN"; then
5015 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5021 test -z "$as_dir" && as_dir
=.
5022 for ac_exec_ext
in '' $ac_executable_extensions; do
5023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5024 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 DUMPBIN
=$ac_cv_prog_DUMPBIN
5035 if test -n "$DUMPBIN"; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5037 $as_echo "$DUMPBIN" >&6; }
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5044 test -n "$DUMPBIN" && break
5047 if test -z "$DUMPBIN"; then
5048 ac_ct_DUMPBIN
=$DUMPBIN
5049 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5051 # Extract the first word of "$ac_prog", so it can be a program name with args.
5052 set dummy
$ac_prog; ac_word
=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5058 if test -n "$ac_ct_DUMPBIN"; then
5059 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5065 test -z "$as_dir" && as_dir
=.
5066 for ac_exec_ext
in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5079 if test -n "$ac_ct_DUMPBIN"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5081 $as_echo "$ac_ct_DUMPBIN" >&6; }
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5088 test -n "$ac_ct_DUMPBIN" && break
5091 if test "x$ac_ct_DUMPBIN" = x
; then
5094 case $cross_compiling:$ac_tool_warned in
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5098 ac_tool_warned
=yes ;;
5100 DUMPBIN
=$ac_ct_DUMPBIN
5105 if test "$DUMPBIN" != ":"; then
5109 test -z "$NM" && NM
=nm
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5117 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5118 if test "${lt_cv_nm_interface+set}" = set; then :
5119 $as_echo_n "(cached) " >&6
5121 lt_cv_nm_interface
="BSD nm"
5122 echo "int some_variable = 0;" > conftest.
$ac_ext
5123 (eval echo "\"\$as_me:5123: $ac_compile\"" >&5)
5124 (eval "$ac_compile" 2>conftest.err
)
5125 cat conftest.err
>&5
5126 (eval echo "\"\$as_me:5126: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5127 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5128 cat conftest.err
>&5
5129 (eval echo "\"\$as_me:5129: output\"" >&5)
5130 cat conftest.out
>&5
5131 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5132 lt_cv_nm_interface
="MS dumpbin"
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5137 $as_echo "$lt_cv_nm_interface" >&6; }
5139 # find the maximum length of command line arguments
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5141 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5142 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5143 $as_echo_n "(cached) " >&6
5150 # On DJGPP, this test can blow up pretty badly due to problems in libc
5151 # (any single argument exceeding 2000 bytes causes a buffer overrun
5152 # during glob expansion). Even if it were fixed, the result of this
5153 # check would be larger than it should be.
5154 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5158 # Under GNU Hurd, this test is not required because there is
5159 # no limit to the length of command line arguments.
5160 # Libtool will interpret -1 as no limit whatsoever
5161 lt_cv_sys_max_cmd_len
=-1;
5164 cygwin
* | mingw
* | cegcc
*)
5165 # On Win9x/ME, this test blows up -- it succeeds, but takes
5166 # about 5 minutes as the teststring grows exponentially.
5167 # Worse, since 9x/ME are not pre-emptively multitasking,
5168 # you end up with a "frozen" computer, even though with patience
5169 # the test eventually succeeds (with a max line length of 256k).
5170 # Instead, let's just punt: use the minimum linelength reported by
5171 # all of the supported platforms: 8192 (on NT/2K/XP).
5172 lt_cv_sys_max_cmd_len
=8192;
5176 # On AmigaOS with pdksh, this test takes hours, literally.
5177 # So we just punt and use a minimum line length of 8192.
5178 lt_cv_sys_max_cmd_len
=8192;
5181 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5182 # This has been around since 386BSD, at least. Likely further.
5183 if test -x /sbin
/sysctl
; then
5184 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5185 elif test -x /usr
/sbin
/sysctl
; then
5186 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5188 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5190 # And add a safety zone
5191 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5192 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5196 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5197 lt_cv_sys_max_cmd_len
=196608
5201 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5202 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5203 # nice to cause kernel panics so lets avoid the loop below.
5204 # First set a reasonable default.
5205 lt_cv_sys_max_cmd_len
=16384
5207 if test -x /sbin
/sysconfig
; then
5208 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5209 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5214 lt_cv_sys_max_cmd_len
=102400
5216 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5217 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5218 if test -n "$kargmax"; then
5219 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5221 lt_cv_sys_max_cmd_len
=32768
5225 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5226 if test -n "$lt_cv_sys_max_cmd_len"; then
5227 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5228 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5230 # Make teststring a little bigger before we do anything with it.
5231 # a 1K string should be a reasonable start.
5232 for i
in 1 2 3 4 5 6 7 8 ; do
5233 teststring
=$teststring$teststring
5235 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5236 # If test is not a shell built-in, we'll probably end up computing a
5237 # maximum length that is only half of the actual maximum length, but
5239 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5240 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5241 test $i != 17 # 1/2 MB should be enough
5244 teststring
=$teststring$teststring
5246 # Only check the string length outside the loop.
5247 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5249 # Add a significant safety factor because C++ compilers can tack on
5250 # massive amounts of additional arguments before passing them to the
5251 # linker. It appears as though 1/2 is a usable value.
5252 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5259 if test -n $lt_cv_sys_max_cmd_len ; then
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5261 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5264 $as_echo "none" >&6; }
5266 max_cmd_len
=$lt_cv_sys_max_cmd_len
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5278 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5279 # Try some XSI features
5282 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5284 && eval 'test $(( 1 + 1 )) -eq 2 \
5285 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5288 $as_echo "$xsi_shell" >&6; }
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5292 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5294 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5296 && lt_shell_append=yes
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5298 $as_echo "$lt_shell_append" >&6; }
5301 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5311 # test EBCDIC or ASCII
5312 case `echo X|tr X '\101'` in
5313 A) # ASCII based system
5314 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5315 lt_SP2NL='tr \040 \012'
5316 lt_NL2SP='tr \015\012 \040\040'
5318 *) # EBCDIC based system
5319 lt_SP2NL='tr \100 \n'
5320 lt_NL2SP='tr \r\n \100\100'
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5333 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5334 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5335 $as_echo_n "(cached
) " >&6
5337 lt_cv_ld_reload_flag='-r'
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5340 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5341 reload_flag=$lt_cv_ld_reload_flag
5342 case $reload_flag in
5344 *) reload_flag=" $reload_flag" ;;
5346 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5349 if test "$GCC" = yes; then
5350 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5352 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5365 if test -n "$ac_tool_prefix"; then
5366 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5367 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5369 $as_echo_n "checking
for $ac_word...
" >&6; }
5370 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5371 $as_echo_n "(cached
) " >&6
5373 if test -n "$OBJDUMP"; then
5374 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380 test -z "$as_dir" && as_dir=.
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5383 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5393 OBJDUMP=$ac_cv_prog_OBJDUMP
5394 if test -n "$OBJDUMP"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5396 $as_echo "$OBJDUMP" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5399 $as_echo "no
" >&6; }
5404 if test -z "$ac_cv_prog_OBJDUMP"; then
5405 ac_ct_OBJDUMP=$OBJDUMP
5406 # Extract the first word of "objdump
", so it can be a program name with args.
5407 set dummy objdump; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5409 $as_echo_n "checking
for $ac_word...
" >&6; }
5410 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5411 $as_echo_n "(cached
) " >&6
5413 if test -n "$ac_ct_OBJDUMP"; then
5414 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5423 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5433 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5434 if test -n "$ac_ct_OBJDUMP"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5436 $as_echo "$ac_ct_OBJDUMP" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5439 $as_echo "no
" >&6; }
5442 if test "x
$ac_ct_OBJDUMP" = x; then
5445 case $cross_compiling:$ac_tool_warned in
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5448 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5449 ac_tool_warned=yes ;;
5451 OBJDUMP=$ac_ct_OBJDUMP
5454 OBJDUMP="$ac_cv_prog_OBJDUMP"
5457 test -z "$OBJDUMP" && OBJDUMP=objdump
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5468 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5469 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5470 $as_echo_n "(cached
) " >&6
5472 lt_cv_file_magic_cmd='$MAGIC_CMD'
5473 lt_cv_file_magic_test_file=
5474 lt_cv_deplibs_check_method='unknown'
5475 # Need to set the preceding variable on all platforms that support
5476 # interlibrary dependencies.
5477 # 'none' -- dependencies not supported.
5478 # `unknown' -- same as none, but documents that we really don't know.
5479 # 'pass_all' -- all dependencies passed with no checks.
5480 # 'test_compile' -- check by making test program.
5481 # 'file_magic [[regex]]' -- check by looking for files in library path
5482 # which responds to the $file_magic_cmd with a given extended regex.
5483 # If you have `file' or equivalent on your system and you're not sure
5484 # whether `pass_all' will *always* work, you probably want this one.
5488 lt_cv_deplibs_check_method=pass_all
5492 lt_cv_deplibs_check_method=pass_all
5496 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5497 lt_cv_file_magic_cmd='/usr/bin/file -L'
5498 lt_cv_file_magic_test_file=/shlib/libc.so
5502 # func_win32_libid is a shell function defined in ltmain.sh
5503 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5504 lt_cv_file_magic_cmd='func_win32_libid'
5508 # Base MSYS/MinGW do not provide the 'file' command needed by
5509 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5510 # unless we find 'file', for example because we are cross-compiling.
5511 if ( file / ) >/dev/null 2>&1; then
5512 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5513 lt_cv_file_magic_cmd='func_win32_libid'
5515 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5516 lt_cv_file_magic_cmd='$OBJDUMP -f'
5521 # use the weaker test based on 'objdump'. See mingw*.
5522 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5523 lt_cv_file_magic_cmd='$OBJDUMP -f'
5526 darwin* | rhapsody*)
5527 lt_cv_deplibs_check_method=pass_all
5530 freebsd* | dragonfly*)
5531 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5534 # Not sure whether the presence of OpenBSD here was a mistake.
5535 # Let's accept both of them until this is cleared up.
5536 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5537 lt_cv_file_magic_cmd=/usr/bin/file
5538 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5542 lt_cv_deplibs_check_method=pass_all
5547 lt_cv_deplibs_check_method=pass_all
5550 hpux10.20* | hpux11*)
5551 lt_cv_file_magic_cmd=/usr/bin/file
5554 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5555 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5558 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5559 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5562 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5563 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5569 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5570 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5573 irix5* | irix6* | nonstopux*)
5575 *-32|*"-32 ") libmagic=32-bit;;
5576 *-n32|*"-n32 ") libmagic=N32;;
5577 *-64|*"-64 ") libmagic=64-bit;;
5578 *) libmagic=never-match;;
5580 lt_cv_deplibs_check_method=pass_all
5583 # This must be Linux ELF.
5584 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5585 lt_cv_deplibs_check_method=pass_all
5588 netbsd* | netbsdelf*-gnu)
5589 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5590 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5592 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5597 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5598 lt_cv_file_magic_cmd=/usr/bin/file
5599 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5603 lt_cv_deplibs_check_method=pass_all
5607 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5608 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5610 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5614 osf3* | osf4* | osf5*)
5615 lt_cv_deplibs_check_method=pass_all
5619 lt_cv_deplibs_check_method=pass_all
5623 lt_cv_deplibs_check_method=pass_all
5626 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5627 lt_cv_deplibs_check_method=pass_all
5631 case $host_vendor in
5633 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]'
5634 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5637 lt_cv_deplibs_check_method=pass_all
5640 lt_cv_file_magic_cmd='/bin/file'
5641 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5644 lt_cv_file_magic_cmd='/bin/file'
5645 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5646 lt_cv_file_magic_test_file=/lib/libc.so
5649 lt_cv_deplibs_check_method=pass_all
5652 lt_cv_deplibs_check_method=pass_all
5658 lt_cv_deplibs_check_method=pass_all
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5664 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5665 file_magic_cmd=$lt_cv_file_magic_cmd
5666 deplibs_check_method=$lt_cv_deplibs_check_method
5667 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5680 if test -n "$ac_tool_prefix"; then
5681 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5682 set dummy ${ac_tool_prefix}ar; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5684 $as_echo_n "checking
for $ac_word...
" >&6; }
5685 if test "${ac_cv_prog_AR+set}" = set; then :
5686 $as_echo_n "(cached
) " >&6
5688 if test -n "$AR"; then
5689 ac_cv_prog_AR="$AR" # Let the user override the test.
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5698 ac_cv_prog_AR="${ac_tool_prefix}ar"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5709 if test -n "$AR"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5711 $as_echo "$AR" >&6; }
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5714 $as_echo "no
" >&6; }
5719 if test -z "$ac_cv_prog_AR"; then
5721 # Extract the first word of "ar", so it can be a program name with args.
5722 set dummy ar; ac_word=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5724 $as_echo_n "checking
for $ac_word...
" >&6; }
5725 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5726 $as_echo_n "(cached
) " >&6
5728 if test -n "$ac_ct_AR"; then
5729 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5738 ac_cv_prog_ac_ct_AR="ar"
5739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5748 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5749 if test -n "$ac_ct_AR"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5751 $as_echo "$ac_ct_AR" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5754 $as_echo "no
" >&6; }
5757 if test "x
$ac_ct_AR" = x; then
5760 case $cross_compiling:$ac_tool_warned in
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5763 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5764 ac_tool_warned=yes ;;
5772 test -z "$AR" && AR=ar
5773 test -z "$AR_FLAGS" && AR_FLAGS=cru
5785 if test -n "$ac_tool_prefix"; then
5786 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5787 set dummy ${ac_tool_prefix}strip; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5789 $as_echo_n "checking
for $ac_word...
" >&6; }
5790 if test "${ac_cv_prog_STRIP+set}" = set; then :
5791 $as_echo_n "(cached
) " >&6
5793 if test -n "$STRIP"; then
5794 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5803 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5813 STRIP=$ac_cv_prog_STRIP
5814 if test -n "$STRIP"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5816 $as_echo "$STRIP" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5819 $as_echo "no
" >&6; }
5824 if test -z "$ac_cv_prog_STRIP"; then
5826 # Extract the first word of "strip
", so it can be a program name with args.
5827 set dummy strip; ac_word=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5829 $as_echo_n "checking
for $ac_word...
" >&6; }
5830 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5831 $as_echo_n "(cached
) " >&6
5833 if test -n "$ac_ct_STRIP"; then
5834 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_ac_ct_STRIP="strip
"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5853 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5854 if test -n "$ac_ct_STRIP"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5856 $as_echo "$ac_ct_STRIP" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5859 $as_echo "no
" >&6; }
5862 if test "x
$ac_ct_STRIP" = x; then
5865 case $cross_compiling:$ac_tool_warned in
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5868 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5869 ac_tool_warned=yes ;;
5874 STRIP="$ac_cv_prog_STRIP"
5877 test -z "$STRIP" && STRIP=:
5884 if test -n "$ac_tool_prefix"; then
5885 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5888 $as_echo_n "checking
for $ac_word...
" >&6; }
5889 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5890 $as_echo_n "(cached
) " >&6
5892 if test -n "$RANLIB"; then
5893 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 test -z "$as_dir" && as_dir=.
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5902 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5912 RANLIB=$ac_cv_prog_RANLIB
5913 if test -n "$RANLIB"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5915 $as_echo "$RANLIB" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5918 $as_echo "no
" >&6; }
5923 if test -z "$ac_cv_prog_RANLIB"; then
5924 ac_ct_RANLIB=$RANLIB
5925 # Extract the first word of "ranlib
", so it can be a program name with args.
5926 set dummy ranlib; ac_word=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5928 $as_echo_n "checking
for $ac_word...
" >&6; }
5929 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5930 $as_echo_n "(cached
) " >&6
5932 if test -n "$ac_ct_RANLIB"; then
5933 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5942 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5952 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5953 if test -n "$ac_ct_RANLIB"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5955 $as_echo "$ac_ct_RANLIB" >&6; }
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5958 $as_echo "no
" >&6; }
5961 if test "x
$ac_ct_RANLIB" = x; then
5964 case $cross_compiling:$ac_tool_warned in
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5967 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5968 ac_tool_warned=yes ;;
5970 RANLIB=$ac_ct_RANLIB
5973 RANLIB="$ac_cv_prog_RANLIB"
5976 test -z "$RANLIB" && RANLIB=:
5983 # Determine commands to create old-style static archives.
5984 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5985 old_postinstall_cmds='chmod 644 $oldlib'
5986 old_postuninstall_cmds=
5988 if test -n "$RANLIB"; then
5991 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5994 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5997 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6033 # If no C compiler was specified, use CC.
6036 # If no C compiler flags were specified, use CFLAGS.
6037 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6039 # Allow CC to be a program name with arguments.
6043 # Check for command to grab the raw symbol name followed by C symbol from nm.
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6045 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6046 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6047 $as_echo_n "(cached
) " >&6
6050 # These are sane defaults that work on at least a few old systems.
6051 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6053 # Character class describing NM global symbol codes.
6054 symcode='[BCDEGRST]'
6056 # Regexp to match symbols that can be accessed directly from C.
6057 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6059 # Define system-specific variables.
6064 cygwin* | mingw* | pw32* | cegcc*)
6065 symcode='[ABCDGISTW]'
6068 if test "$host_cpu" = ia64; then
6069 symcode='[ABCDEGRST]'
6073 symcode='[BCDEGRST]'
6076 symcode='[BCDEGQRST]'
6087 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6095 # If we're using GNU nm, then use its standard symbol codes.
6096 case `$NM -V 2>&1` in
6097 *GNU* | *'with BFD'*)
6098 symcode='[ABCDGIRSTW]' ;;
6101 # Transform an extracted symbol line into a proper C declaration.
6102 # Some systems (esp. on ia64) link data and code symbols differently,
6103 # so use this general approach.
6104 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6106 # Transform an extracted symbol line into symbol name and symbol address
6107 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6108 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6110 # Handle CRLF in mingw tool chain
6114 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6118 # Try without a prefix underscore, then with it.
6119 for ac_symprfx in "" "_
"; do
6121 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6122 symxfrm="\\1 $ac_symprfx\\2 \\2"
6124 # Write the raw and C identifiers.
6125 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6126 # Fake it for dumpbin and say T for any non-static function
6127 # and D for any global variable.
6128 # Also find C++ and __fastcall symbols from MSVC++,
6129 # which start with @ or ?.
6130 lt_cv_sys_global_symbol_pipe="$AWK '"\
6131 " {last_section=section; section=\$ 3};"\
6132 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6133 " \$ 0!~/External *\|/{next};"\
6134 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6135 " {if(hide[section]) next};"\
6136 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6137 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6138 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6139 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6140 " ' prfx
=^
$ac_symprfx"
6142 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6145 # Check to see that the pipe works correctly.
6149 cat > conftest.$ac_ext <<_LT_EOF
6154 void nm_test_func(void);
6155 void nm_test_func(void){}
6159 int main(){nm_test_var='a';nm_test_func();return(0);}
6162 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6163 (eval $ac_compile) 2>&5
6165 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6166 test $ac_status = 0; }; then
6167 # Now try to grab the symbols.
6169 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6170 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6172 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6173 test $ac_status = 0; } && test -s "$nlist"; then
6174 # Try sorting and uniquifying the output.
6175 if sort "$nlist" | uniq > "$nlist"T; then
6176 mv -f "$nlist"T "$nlist"
6181 # Make sure that we snagged all the symbols we need.
6182 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6183 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6184 cat <<_LT_EOF > conftest.$ac_ext
6190 # Now generate the symbol file.
6191 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6193 cat <<_LT_EOF >> conftest.$ac_ext
6195 /* The mapping between symbol names and symbols. */
6200 lt__PROGRAM__LTX_preloaded_symbols[] =
6202 { "@PROGRAM@
", (void *) 0 },
6204 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6205 cat <<\_LT_EOF >> conftest.$ac_ext
6209 /* This works around a problem in FreeBSD linker */
6210 #ifdef FREEBSD_WORKAROUND
6211 static const void *lt_preloaded_setup() {
6212 return lt__PROGRAM__LTX_preloaded_symbols;
6220 # Now try linking the two files.
6221 mv conftest.$ac_objext conftstm.$ac_objext
6222 lt_save_LIBS="$LIBS"
6223 lt_save_CFLAGS="$CFLAGS"
6224 LIBS="conftstm.
$ac_objext"
6225 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6226 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6227 (eval $ac_link) 2>&5
6229 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6230 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6233 LIBS="$lt_save_LIBS"
6234 CFLAGS="$lt_save_CFLAGS"
6236 echo "cannot
find nm_test_func
in $nlist" >&5
6239 echo "cannot
find nm_test_var
in $nlist" >&5
6242 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6245 echo "$progname: failed program was
:" >&5
6246 cat conftest.$ac_ext >&5
6248 rm -rf conftest* conftst*
6250 # Do not use the global_symbol_pipe unless it works.
6251 if test "$pipe_works" = yes; then
6254 lt_cv_sys_global_symbol_pipe=
6260 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6261 lt_cv_sys_global_symbol_to_cdecl=
6263 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6265 $as_echo "failed
" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6268 $as_echo "ok
" >&6; }
6293 # Check whether --enable-libtool-lock was given.
6294 if test "${enable_libtool_lock+set}" = set; then :
6295 enableval=$enable_libtool_lock;
6298 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6300 # Some flags need to be propagated to the compiler or linker for good
6304 # Find out which ABI we are using.
6305 echo 'int i;' > conftest.$ac_ext
6306 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6307 (eval $ac_compile) 2>&5
6309 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6310 test $ac_status = 0; }; then
6311 case `/usr/bin/file conftest.$ac_objext` in
6323 # Find out which ABI we are using.
6324 echo '#line 6324 "configure
"' > conftest.$ac_ext
6325 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6326 (eval $ac_compile) 2>&5
6328 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6329 test $ac_status = 0; }; then
6330 if test "$lt_cv_prog_gnu_ld" = yes; then
6331 case `/usr/bin/file conftest.$ac_objext` in
6333 LD="${LD-ld} -melf32bsmip"
6336 LD="${LD-ld} -melf32bmipn32"
6339 LD="${LD-ld} -melf64bmip"
6343 case `/usr/bin/file conftest.$ac_objext` in
6359 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6360 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6361 # Find out which ABI we are using.
6362 echo 'int i;' > conftest.$ac_ext
6363 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6364 (eval $ac_compile) 2>&5
6366 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6367 test $ac_status = 0; }; then
6368 case `/usr/bin/file conftest.o` in
6371 x86_64-*kfreebsd*-gnu)
6372 LD="${LD-ld} -m elf_i386_fbsd
"
6375 LD="${LD-ld} -m elf_i386
"
6377 ppc64-*linux*|powerpc64-*linux*)
6378 LD="${LD-ld} -m elf32ppclinux
"
6381 LD="${LD-ld} -m elf_s390
"
6384 LD="${LD-ld} -m elf32_sparc
"
6390 x86_64-*kfreebsd*-gnu)
6391 LD="${LD-ld} -m elf_x86_64_fbsd
"
6394 LD="${LD-ld} -m elf_x86_64
"
6396 ppc*-*linux*|powerpc*-*linux*)
6397 LD="${LD-ld} -m elf64ppc
"
6399 s390*-*linux*|s390*-*tpf*)
6400 LD="${LD-ld} -m elf64_s390
"
6403 LD="${LD-ld} -m elf64_sparc
"
6413 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6414 SAVE_CFLAGS="$CFLAGS"
6415 CFLAGS="$CFLAGS -belf"
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6417 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6418 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6419 $as_echo_n "(cached
) " >&6
6422 ac_cpp='$CPP $CPPFLAGS'
6423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6428 /* end confdefs.h. */
6438 if ac_fn_c_try_link "$LINENO"; then :
6439 lt_cv_cc_needs_belf=yes
6441 lt_cv_cc_needs_belf=no
6443 rm -f core conftest.err conftest.$ac_objext \
6444 conftest$ac_exeext conftest.$ac_ext
6446 ac_cpp='$CPP $CPPFLAGS'
6447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6453 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6454 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6455 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6456 CFLAGS="$SAVE_CFLAGS"
6460 # Find out which ABI we are using.
6461 echo 'int i;' > conftest.$ac_ext
6462 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6463 (eval $ac_compile) 2>&5
6465 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6466 test $ac_status = 0; }; then
6467 case `/usr/bin/file conftest.o` in
6469 case $lt_cv_prog_gnu_ld in
6470 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6472 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6484 need_locks="$enable_libtool_lock"
6488 rhapsody* | darwin*)
6489 if test -n "$ac_tool_prefix"; then
6490 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6491 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6493 $as_echo_n "checking
for $ac_word...
" >&6; }
6494 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6495 $as_echo_n "(cached
) " >&6
6497 if test -n "$DSYMUTIL"; then
6498 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504 test -z "$as_dir" && as_dir=.
6505 for ac_exec_ext in '' $ac_executable_extensions; do
6506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6507 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6517 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6518 if test -n "$DSYMUTIL"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6520 $as_echo "$DSYMUTIL" >&6; }
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6523 $as_echo "no
" >&6; }
6528 if test -z "$ac_cv_prog_DSYMUTIL"; then
6529 ac_ct_DSYMUTIL=$DSYMUTIL
6530 # Extract the first word of "dsymutil
", so it can be a program name with args.
6531 set dummy dsymutil; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6533 $as_echo_n "checking
for $ac_word...
" >&6; }
6534 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6535 $as_echo_n "(cached
) " >&6
6537 if test -n "$ac_ct_DSYMUTIL"; then
6538 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6557 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6558 if test -n "$ac_ct_DSYMUTIL"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6560 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6563 $as_echo "no
" >&6; }
6566 if test "x
$ac_ct_DSYMUTIL" = x; then
6569 case $cross_compiling:$ac_tool_warned in
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6572 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6573 ac_tool_warned=yes ;;
6575 DSYMUTIL=$ac_ct_DSYMUTIL
6578 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6581 if test -n "$ac_tool_prefix"; then
6582 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6583 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6585 $as_echo_n "checking
for $ac_word...
" >&6; }
6586 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6587 $as_echo_n "(cached
) " >&6
6589 if test -n "$NMEDIT"; then
6590 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 test -z "$as_dir" && as_dir=.
6597 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6600 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6609 NMEDIT=$ac_cv_prog_NMEDIT
6610 if test -n "$NMEDIT"; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6612 $as_echo "$NMEDIT" >&6; }
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6615 $as_echo "no
" >&6; }
6620 if test -z "$ac_cv_prog_NMEDIT"; then
6621 ac_ct_NMEDIT=$NMEDIT
6622 # Extract the first word of "nmedit
", so it can be a program name with args.
6623 set dummy nmedit; ac_word=$2
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6625 $as_echo_n "checking
for $ac_word...
" >&6; }
6626 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6627 $as_echo_n "(cached
) " >&6
6629 if test -n "$ac_ct_NMEDIT"; then
6630 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 test -z "$as_dir" && as_dir=.
6637 for ac_exec_ext in '' $ac_executable_extensions; do
6638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6639 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6649 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6650 if test -n "$ac_ct_NMEDIT"; then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6652 $as_echo "$ac_ct_NMEDIT" >&6; }
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6655 $as_echo "no
" >&6; }
6658 if test "x
$ac_ct_NMEDIT" = x; then
6661 case $cross_compiling:$ac_tool_warned in
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6664 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6665 ac_tool_warned=yes ;;
6667 NMEDIT=$ac_ct_NMEDIT
6670 NMEDIT="$ac_cv_prog_NMEDIT"
6673 if test -n "$ac_tool_prefix"; then
6674 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6675 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6677 $as_echo_n "checking
for $ac_word...
" >&6; }
6678 if test "${ac_cv_prog_LIPO+set}" = set; then :
6679 $as_echo_n "(cached
) " >&6
6681 if test -n "$LIPO"; then
6682 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 test -z "$as_dir" && as_dir=.
6689 for ac_exec_ext in '' $ac_executable_extensions; do
6690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6691 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6701 LIPO=$ac_cv_prog_LIPO
6702 if test -n "$LIPO"; then
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6704 $as_echo "$LIPO" >&6; }
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6707 $as_echo "no
" >&6; }
6712 if test -z "$ac_cv_prog_LIPO"; then
6714 # Extract the first word of "lipo
", so it can be a program name with args.
6715 set dummy lipo; ac_word=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6717 $as_echo_n "checking
for $ac_word...
" >&6; }
6718 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6719 $as_echo_n "(cached
) " >&6
6721 if test -n "$ac_ct_LIPO"; then
6722 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 test -z "$as_dir" && as_dir=.
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6731 ac_cv_prog_ac_ct_LIPO="lipo
"
6732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6741 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6742 if test -n "$ac_ct_LIPO"; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6744 $as_echo "$ac_ct_LIPO" >&6; }
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6747 $as_echo "no
" >&6; }
6750 if test "x
$ac_ct_LIPO" = x; then
6753 case $cross_compiling:$ac_tool_warned in
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6756 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6757 ac_tool_warned=yes ;;
6762 LIPO="$ac_cv_prog_LIPO"
6765 if test -n "$ac_tool_prefix"; then
6766 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6767 set dummy ${ac_tool_prefix}otool; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6769 $as_echo_n "checking
for $ac_word...
" >&6; }
6770 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6771 $as_echo_n "(cached
) " >&6
6773 if test -n "$OTOOL"; then
6774 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6783 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6793 OTOOL=$ac_cv_prog_OTOOL
6794 if test -n "$OTOOL"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6796 $as_echo "$OTOOL" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6799 $as_echo "no
" >&6; }
6804 if test -z "$ac_cv_prog_OTOOL"; then
6806 # Extract the first word of "otool
", so it can be a program name with args.
6807 set dummy otool; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6809 $as_echo_n "checking
for $ac_word...
" >&6; }
6810 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6811 $as_echo_n "(cached
) " >&6
6813 if test -n "$ac_ct_OTOOL"; then
6814 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823 ac_cv_prog_ac_ct_OTOOL="otool
"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6833 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6834 if test -n "$ac_ct_OTOOL"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6836 $as_echo "$ac_ct_OTOOL" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6839 $as_echo "no
" >&6; }
6842 if test "x
$ac_ct_OTOOL" = x; then
6845 case $cross_compiling:$ac_tool_warned in
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6848 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6849 ac_tool_warned=yes ;;
6854 OTOOL="$ac_cv_prog_OTOOL"
6857 if test -n "$ac_tool_prefix"; then
6858 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6859 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6861 $as_echo_n "checking
for $ac_word...
" >&6; }
6862 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6863 $as_echo_n "(cached
) " >&6
6865 if test -n "$OTOOL64"; then
6866 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6872 test -z "$as_dir" && as_dir=.
6873 for ac_exec_ext in '' $ac_executable_extensions; do
6874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6875 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6885 OTOOL64=$ac_cv_prog_OTOOL64
6886 if test -n "$OTOOL64"; then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6888 $as_echo "$OTOOL64" >&6; }
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6891 $as_echo "no
" >&6; }
6896 if test -z "$ac_cv_prog_OTOOL64"; then
6897 ac_ct_OTOOL64=$OTOOL64
6898 # Extract the first word of "otool64
", so it can be a program name with args.
6899 set dummy otool64; ac_word=$2
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6901 $as_echo_n "checking
for $ac_word...
" >&6; }
6902 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6903 $as_echo_n "(cached
) " >&6
6905 if test -n "$ac_ct_OTOOL64"; then
6906 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 test -z "$as_dir" && as_dir=.
6913 for ac_exec_ext in '' $ac_executable_extensions; do
6914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6915 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6925 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6926 if test -n "$ac_ct_OTOOL64"; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6928 $as_echo "$ac_ct_OTOOL64" >&6; }
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6931 $as_echo "no
" >&6; }
6934 if test "x
$ac_ct_OTOOL64" = x; then
6937 case $cross_compiling:$ac_tool_warned in
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6940 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6941 ac_tool_warned=yes ;;
6943 OTOOL64=$ac_ct_OTOOL64
6946 OTOOL64="$ac_cv_prog_OTOOL64"
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6976 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6977 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6978 $as_echo_n "(cached
) " >&6
6980 lt_cv_apple_cc_single_mod=no
6981 if test -z "${LT_MULTI_MODULE}"; then
6982 # By default we will add the -single_module flag. You can override
6983 # by either setting the environment variable LT_MULTI_MODULE
6984 # non-empty at configure time, or by adding -multi_module to the
6986 rm -rf libconftest.dylib*
6987 echo "int foo
(void
){return 1;}" > conftest.c
6988 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6989 -dynamiclib -Wl,-single_module conftest.c
" >&5
6990 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6991 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6993 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6994 lt_cv_apple_cc_single_mod=yes
6996 cat conftest.err >&5
6998 rm -rf libconftest.dylib*
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7003 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7005 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7006 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7007 $as_echo_n "(cached
) " >&6
7009 lt_cv_ld_exported_symbols_list=no
7010 save_LDFLAGS=$LDFLAGS
7011 echo "_main
" > conftest.sym
7012 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7014 /* end confdefs.h. */
7024 if ac_fn_c_try_link "$LINENO"; then :
7025 lt_cv_ld_exported_symbols_list=yes
7027 lt_cv_ld_exported_symbols_list=no
7029 rm -f core conftest.err conftest.$ac_objext \
7030 conftest$ac_exeext conftest.$ac_ext
7031 LDFLAGS="$save_LDFLAGS"
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7035 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7037 rhapsody* | darwin1.[012])
7038 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7040 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7041 darwin*) # darwin 5.x on
7042 # if running on 10.5 or later, the deployment target defaults
7043 # to the OS version, if on x86, and 10.4, the deployment
7044 # target defaults to 10.4. Don't you love it?
7045 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7046 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7047 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7049 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7051 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7055 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7056 _lt_dar_single_mod='$single_module'
7058 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7059 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7061 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7063 if test "$DSYMUTIL" != ":"; then
7064 _lt_dsymutil='~$DSYMUTIL $lib || :'
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7073 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7074 if test "${ac_cv_header_stdc+set}" = set; then :
7075 $as_echo_n "(cached
) " >&6
7077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h. */
7092 if ac_fn_c_try_compile "$LINENO"; then :
7093 ac_cv_header_stdc=yes
7095 ac_cv_header_stdc=no
7097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7099 if test $ac_cv_header_stdc = yes; then
7100 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7102 /* end confdefs.h. */
7106 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7107 $EGREP "memchr
" >/dev/null 2>&1; then :
7110 ac_cv_header_stdc=no
7116 if test $ac_cv_header_stdc = yes; then
7117 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7119 /* end confdefs.h. */
7123 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7124 $EGREP "free
" >/dev/null 2>&1; then :
7127 ac_cv_header_stdc=no
7133 if test $ac_cv_header_stdc = yes; then
7134 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7135 if test "$cross_compiling" = yes; then :
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139 /* end confdefs.h. */
7142 #if ((' ' & 0x0FF) == 0x020)
7143 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7144 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7146 # define ISLOWER(c) \
7147 (('a' <= (c) && (c) <= 'i') \
7148 || ('j' <= (c) && (c) <= 'r') \
7149 || ('s' <= (c) && (c) <= 'z'))
7150 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7153 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7158 for (i = 0; i < 256; i++)
7159 if (XOR (islower (i), ISLOWER (i))
7160 || toupper (i) != TOUPPER (i))
7165 if ac_fn_c_try_run "$LINENO"; then :
7168 ac_cv_header_stdc=no
7170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7171 conftest.$ac_objext conftest.beam conftest.$ac_ext
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7177 $as_echo "$ac_cv_header_stdc" >&6; }
7178 if test $ac_cv_header_stdc = yes; then
7180 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7184 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7185 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7186 inttypes.h stdint.h unistd.h
7188 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7189 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7191 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7192 cat >>confdefs.h
<<_ACEOF
7193 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7201 for ac_header
in dlfcn.h
7203 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7205 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7206 cat >>confdefs.h
<<_ACEOF
7207 #define HAVE_DLFCN_H 1
7217 ac_cpp
='$CXXCPP $CPPFLAGS'
7218 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7219 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7220 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7221 if test -z "$CXX"; then
7222 if test -n "$CCC"; then
7225 if test -n "$ac_tool_prefix"; then
7226 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7228 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7229 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if test "${ac_cv_prog_CXX+set}" = set; then :
7233 $as_echo_n "(cached) " >&6
7235 if test -n "$CXX"; then
7236 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7242 test -z "$as_dir" && as_dir
=.
7243 for ac_exec_ext
in '' $ac_executable_extensions; do
7244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7245 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 if test -n "$CXX"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7258 $as_echo "$CXX" >&6; }
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7265 test -n "$CXX" && break
7268 if test -z "$CXX"; then
7270 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7272 # Extract the first word of "$ac_prog", so it can be a program name with args.
7273 set dummy
$ac_prog; ac_word
=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7277 $as_echo_n "(cached) " >&6
7279 if test -n "$ac_ct_CXX"; then
7280 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
7282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7286 test -z "$as_dir" && as_dir
=.
7287 for ac_exec_ext
in '' $ac_executable_extensions; do
7288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7289 ac_cv_prog_ac_ct_CXX
="$ac_prog"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
7300 if test -n "$ac_ct_CXX"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7302 $as_echo "$ac_ct_CXX" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7309 test -n "$ac_ct_CXX" && break
7312 if test "x$ac_ct_CXX" = x
; then
7315 case $cross_compiling:$ac_tool_warned in
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7319 ac_tool_warned
=yes ;;
7327 # Provide some information about the compiler.
7328 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7331 for ac_option
in --version -v -V -qversion; do
7332 { { ac_try
="$ac_compiler $ac_option >&5"
7334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7335 *) ac_try_echo=$ac_try;;
7337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7338 $as_echo "$ac_try_echo"; } >&5
7339 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7341 if test -s conftest.err; then
7343 ... rest of stderr output deleted ...
7344 10q' conftest.err >conftest.er1
7345 cat conftest.er1 >&5
7347 rm -f conftest.er1 conftest.err
7348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7349 test $ac_status = 0; }
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7353 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7354 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7355 $as_echo_n "(cached) " >&6
7357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7358 /* end confdefs.h. */
7371 if ac_fn_cxx_try_compile "$LINENO"; then :
7376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7377 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7381 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7382 if test $ac_compiler_gnu = yes; then
7387 ac_test_CXXFLAGS=${CXXFLAGS+set}
7388 ac_save_CXXFLAGS=$CXXFLAGS
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7390 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7391 if test "${ac_cv_prog_cxx_g+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7394 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7395 ac_cxx_werror_flag=yes
7398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7399 /* end confdefs.h. */
7409 if ac_fn_cxx_try_compile "$LINENO"; then :
7410 ac_cv_prog_cxx_g=yes
7413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7414 /* end confdefs.h. */
7424 if ac_fn_cxx_try_compile "$LINENO"; then :
7427 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7430 /* end confdefs.h. */
7440 if ac_fn_cxx_try_compile "$LINENO"; then :
7441 ac_cv_prog_cxx_g=yes
7443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7448 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7451 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7452 if test "$ac_test_CXXFLAGS" = set; then
7453 CXXFLAGS=$ac_save_CXXFLAGS
7454 elif test $ac_cv_prog_cxx_g = yes; then
7455 if test "$GXX" = yes; then
7461 if test "$GXX" = yes; then
7468 ac_cpp='$CPP $CPPFLAGS'
7469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7473 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7474 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
7475 (test "X$CXX" != "Xg++"))) ; then
7477 ac_cpp='$CXXCPP $CPPFLAGS'
7478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7482 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7483 if test -z "$CXXCPP"; then
7484 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7485 $as_echo_n "(cached) " >&6
7487 # Double quotes because CXXCPP needs to be expanded
7488 for CXXCPP in "$CXX -E" "/lib/cpp"
7491 for ac_cxx_preproc_warn_flag in '' yes
7493 # Use a header file that comes with gcc, so configuring glibc
7494 # with a fresh cross-compiler works.
7495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7496 # <limits.h> exists even on freestanding compilers.
7497 # On the NeXT, cc -E runs the code through the compiler's parser,
7498 # not just through cpp. "Syntax error" is here to catch this case.
7499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7500 /* end confdefs.h. */
7502 # include <limits.h>
7504 # include <assert.h>
7508 if ac_fn_cxx_try_cpp "$LINENO"; then :
7511 # Broken: fails on valid input.
7514 rm -f conftest.err conftest.i conftest.$ac_ext
7516 # OK, works on sane cases. Now check whether nonexistent headers
7517 # can be detected and how.
7518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7519 /* end confdefs.h. */
7520 #include <ac_nonexistent.h>
7522 if ac_fn_cxx_try_cpp "$LINENO"; then :
7523 # Broken: success on invalid input.
7526 # Passes both tests.
7530 rm -f conftest.err conftest.i conftest.$ac_ext
7533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7534 rm -f conftest.i conftest.err conftest.
$ac_ext
7535 if $ac_preproc_ok; then :
7540 ac_cv_prog_CXXCPP
=$CXXCPP
7543 CXXCPP
=$ac_cv_prog_CXXCPP
7545 ac_cv_prog_CXXCPP
=$CXXCPP
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7548 $as_echo "$CXXCPP" >&6; }
7550 for ac_cxx_preproc_warn_flag
in '' yes
7552 # Use a header file that comes with gcc, so configuring glibc
7553 # with a fresh cross-compiler works.
7554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7555 # <limits.h> exists even on freestanding compilers.
7556 # On the NeXT, cc -E runs the code through the compiler's parser,
7557 # not just through cpp. "Syntax error" is here to catch this case.
7558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7559 /* end confdefs.h. */
7561 # include <limits.h>
7563 # include <assert.h>
7567 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7570 # Broken: fails on valid input.
7573 rm -f conftest.err conftest.i conftest.
$ac_ext
7575 # OK, works on sane cases. Now check whether nonexistent headers
7576 # can be detected and how.
7577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7578 /* end confdefs.h. */
7579 #include <ac_nonexistent.h>
7581 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7582 # Broken: success on invalid input.
7585 # Passes both tests.
7589 rm -f conftest.err conftest.i conftest.
$ac_ext
7592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7593 rm -f conftest.i conftest.err conftest.
$ac_ext
7594 if $ac_preproc_ok; then :
7597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7599 _lt_caught_CXX_error
=yes; }
7603 ac_cpp
='$CPP $CPPFLAGS'
7604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7609 _lt_caught_CXX_error
=yes
7624 # Check whether --enable-shared was given.
7625 if test "${enable_shared+set}" = set; then :
7626 enableval
=$enable_shared; p
=${PACKAGE-default}
7628 yes) enable_shared
=yes ;;
7629 no
) enable_shared
=no
;;
7632 # Look at the argument we got. We use all the common list separators.
7633 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7634 for pkg
in $enableval; do
7636 if test "X$pkg" = "X$p"; then
7655 # Check whether --enable-static was given.
7656 if test "${enable_static+set}" = set; then :
7657 enableval
=$enable_static; p
=${PACKAGE-default}
7659 yes) enable_static
=yes ;;
7660 no
) enable_static
=no
;;
7663 # Look at the argument we got. We use all the common list separators.
7664 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7665 for pkg
in $enableval; do
7667 if test "X$pkg" = "X$p"; then
7687 # Check whether --with-pic was given.
7688 if test "${with_pic+set}" = set; then :
7689 withval
=$with_pic; pic_mode
="$withval"
7695 test -z "$pic_mode" && pic_mode
=default
7703 # Check whether --enable-fast-install was given.
7704 if test "${enable_fast_install+set}" = set; then :
7705 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7707 yes) enable_fast_install
=yes ;;
7708 no
) enable_fast_install
=no
;;
7710 enable_fast_install
=no
7711 # Look at the argument we got. We use all the common list separators.
7712 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7713 for pkg
in $enableval; do
7715 if test "X$pkg" = "X$p"; then
7716 enable_fast_install
=yes
7723 enable_fast_install
=yes
7736 # This can be used to rebuild libtool when needed
7737 LIBTOOL_DEPS
="$ltmain"
7739 # Always use our own libtool.
7740 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7766 test -z "$LN_S" && LN_S
="ln -s"
7781 if test -n "${ZSH_VERSION+set}" ; then
7782 setopt NO_GLOB_SUBST
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7786 $as_echo_n "checking for objdir... " >&6; }
7787 if test "${lt_cv_objdir+set}" = set; then :
7788 $as_echo_n "(cached) " >&6
7790 rm -f .libs
2>/dev
/null
7791 mkdir .libs
2>/dev
/null
7792 if test -d .libs
; then
7795 # MS-DOS does not allow filenames that begin with a dot.
7798 rmdir .libs
2>/dev
/null
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7801 $as_echo "$lt_cv_objdir" >&6; }
7802 objdir
=$lt_cv_objdir
7808 cat >>confdefs.h
<<_ACEOF
7809 #define LT_OBJDIR "$lt_cv_objdir/"
7830 # AIX sometimes has problems with the GCC collect2 program. For some
7831 # reason, if we set the COLLECT_NAMES environment variable, the problems
7832 # vanish in a puff of smoke.
7833 if test "X${COLLECT_NAMES+set}" != Xset
; then
7835 export COLLECT_NAMES
7840 # Sed substitution that helps us do robust quoting. It backslashifies
7841 # metacharacters that are still active within double-quoted strings.
7842 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7844 # Same as above, but do not quote variable references.
7845 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7847 # Sed substitution to delay expansion of an escaped shell variable in a
7848 # double_quote_subst'ed string.
7849 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7851 # Sed substitution to delay expansion of an escaped single quote.
7852 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7854 # Sed substitution to avoid accidental globbing in evaled expressions
7855 no_glob_subst
='s/\*/\\\*/g'
7859 can_build_shared
=yes
7861 # All known linkers require a `.a' archive for static linking (except MSVC,
7862 # which needs '.lib').
7865 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7868 old_CFLAGS
="$CFLAGS"
7870 # Set sane defaults for various variables
7871 test -z "$CC" && CC
=cc
7872 test -z "$LTCC" && LTCC
=$CC
7873 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7874 test -z "$LD" && LD
=ld
7875 test -z "$ac_objext" && ac_objext
=o
7877 for cc_temp
in $compiler""; do
7879 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7880 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7885 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7888 # Only perform the check for file, if the check method requires it
7889 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7890 case $deplibs_check_method in
7892 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7894 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7895 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7896 $as_echo_n "(cached) " >&6
7900 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7903 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7904 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7905 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7906 for ac_dir
in $ac_dummy; do
7908 test -z "$ac_dir" && ac_dir
=.
7909 if test -f $ac_dir/${ac_tool_prefix}file; then
7910 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7911 if test -n "$file_magic_test_file"; then
7912 case $deplibs_check_method in
7914 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7915 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7916 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7917 $EGREP "$file_magic_regex" > /dev
/null
; then
7922 *** Warning: the command libtool uses to detect shared libraries,
7923 *** $file_magic_cmd, produces output that libtool cannot recognize.
7924 *** The result is that libtool may fail to recognize shared libraries
7925 *** as such. This will affect the creation of libtool libraries that
7926 *** depend on shared libraries, but programs linked with such libtool
7927 *** libraries will work regardless of this problem. Nevertheless, you
7928 *** may want to report the problem to your system manager and/or to
7929 *** bug-libtool@gnu.org
7939 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7944 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7945 if test -n "$MAGIC_CMD"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7947 $as_echo "$MAGIC_CMD" >&6; }
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7957 if test -z "$lt_cv_path_MAGIC_CMD"; then
7958 if test -n "$ac_tool_prefix"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7960 $as_echo_n "checking for file... " >&6; }
7961 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7962 $as_echo_n "(cached) " >&6
7966 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7969 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7970 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7971 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7972 for ac_dir
in $ac_dummy; do
7974 test -z "$ac_dir" && ac_dir
=.
7975 if test -f $ac_dir/file; then
7976 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7977 if test -n "$file_magic_test_file"; then
7978 case $deplibs_check_method in
7980 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7981 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7982 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7983 $EGREP "$file_magic_regex" > /dev
/null
; then
7988 *** Warning: the command libtool uses to detect shared libraries,
7989 *** $file_magic_cmd, produces output that libtool cannot recognize.
7990 *** The result is that libtool may fail to recognize shared libraries
7991 *** as such. This will affect the creation of libtool libraries that
7992 *** depend on shared libraries, but programs linked with such libtool
7993 *** libraries will work regardless of this problem. Nevertheless, you
7994 *** may want to report the problem to your system manager and/or to
7995 *** bug-libtool@gnu.org
8005 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8010 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8011 if test -n "$MAGIC_CMD"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8013 $as_echo "$MAGIC_CMD" >&6; }
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8016 $as_echo "no" >&6; }
8029 # Use C for the default configuration in the libtool script
8033 ac_cpp
='$CPP $CPPFLAGS'
8034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8039 # Source file extension for C test sources.
8042 # Object file extension for compiled C test sources.
8046 # Code to be used in simple compile tests
8047 lt_simple_compile_test_code
="int some_variable = 0;"
8049 # Code to be used in simple link tests
8050 lt_simple_link_test_code
='int main(){return(0);}'
8058 # If no C compiler was specified, use CC.
8061 # If no C compiler flags were specified, use CFLAGS.
8062 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8064 # Allow CC to be a program name with arguments.
8067 # Save the default compiler, since it gets overwritten when the other
8068 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8069 compiler_DEFAULT
=$CC
8071 # save warnings/boilerplate of simple test code
8072 ac_outfile
=conftest.
$ac_objext
8073 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8074 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8075 _lt_compiler_boilerplate
=`cat conftest.err`
8078 ac_outfile
=conftest.
$ac_objext
8079 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8080 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8081 _lt_linker_boilerplate
=`cat conftest.err`
8085 if test -n "$compiler"; then
8087 lt_prog_compiler_no_builtin_flag
=
8089 if test "$GCC" = yes; then
8090 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8093 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8094 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8095 $as_echo_n "(cached) " >&6
8097 lt_cv_prog_compiler_rtti_exceptions
=no
8098 ac_outfile
=conftest.
$ac_objext
8099 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8100 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8101 # Insert the option either (1) after the last *FLAGS variable, or
8102 # (2) before a word containing "conftest.", or (3) at the end.
8103 # Note that $ac_compile itself does not contain backslashes and begins
8104 # with a dollar sign (not a hyphen), so the echo should work correctly.
8105 # The option is referenced via a variable to avoid confusing sed.
8106 lt_compile
=`echo "$ac_compile" | $SED \
8107 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8108 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8109 -e 's:$: $lt_compiler_flag:'`
8110 (eval echo "\"\$as_me:8110: $lt_compile\"" >&5)
8111 (eval "$lt_compile" 2>conftest.err
)
8113 cat conftest.err
>&5
8114 echo "$as_me:8114: \$? = $ac_status" >&5
8115 if (exit $ac_status) && test -s "$ac_outfile"; then
8116 # The compiler can only warn and ignore the option if not recognized
8117 # So say no if there are warnings other than the usual output.
8118 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8119 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8120 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8121 lt_cv_prog_compiler_rtti_exceptions
=yes
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8128 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8130 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8131 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8143 lt_prog_compiler_wl
=
8144 lt_prog_compiler_pic
=
8145 lt_prog_compiler_static
=
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8148 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8150 if test "$GCC" = yes; then
8151 lt_prog_compiler_wl
='-Wl,'
8152 lt_prog_compiler_static
='-static'
8156 # All AIX code is PIC.
8157 if test "$host_cpu" = ia64
; then
8158 # AIX 5 now supports IA64 processor
8159 lt_prog_compiler_static
='-Bstatic'
8166 # see comment about AmigaOS4 .so support
8167 lt_prog_compiler_pic
='-fPIC'
8170 # FIXME: we need at least 68020 code to build shared libraries, but
8171 # adding the `-m68020' flag to GCC prevents building anything better,
8173 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8178 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8179 # PIC is the default for these OSes.
8182 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8183 # This hack is so that the source file can tell whether it is being
8184 # built for inclusion in a dll (and should export symbols for example).
8185 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8186 # (--disable-auto-import) libraries
8187 lt_prog_compiler_pic
='-DDLL_EXPORT'
8190 darwin
* | rhapsody
*)
8191 # PIC is the default on this platform
8192 # Common symbols not allowed in MH_DYLIB files
8193 lt_prog_compiler_pic
='-fno-common'
8197 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8198 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8199 # sets the default TLS model and affects inlining.
8205 lt_prog_compiler_pic
='-fPIC'
8211 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8212 # Instead, we relocate shared libraries at runtime.
8216 # Just because we use GCC doesn't mean we suddenly get shared libraries
8217 # on systems that don't support them.
8218 lt_prog_compiler_can_build_shared
=no
8223 # QNX uses GNU C++, but need to define -shared option too, otherwise
8225 lt_prog_compiler_pic
='-fPIC -shared'
8229 if test -d /usr
/nec
; then
8230 lt_prog_compiler_pic
=-Kconform_pic
8235 lt_prog_compiler_pic
='-fPIC'
8239 # PORTME Check for flag to pass linker flags through the system compiler.
8242 lt_prog_compiler_wl
='-Wl,'
8243 if test "$host_cpu" = ia64
; then
8244 # AIX 5 now supports IA64 processor
8245 lt_prog_compiler_static
='-Bstatic'
8247 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8251 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8252 # This hack is so that the source file can tell whether it is being
8253 # built for inclusion in a dll (and should export symbols for example).
8254 lt_prog_compiler_pic
='-DDLL_EXPORT'
8257 hpux9
* | hpux10
* | hpux11
*)
8258 lt_prog_compiler_wl
='-Wl,'
8259 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8266 lt_prog_compiler_pic
='+Z'
8269 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8270 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8273 irix5
* | irix6
* | nonstopux
*)
8274 lt_prog_compiler_wl
='-Wl,'
8275 # PIC (with -KPIC) is the default.
8276 lt_prog_compiler_static
='-non_shared'
8279 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8280 case $cc_basename in
8281 # old Intel for x86_64 which still supported -KPIC.
8283 lt_prog_compiler_wl
='-Wl,'
8284 lt_prog_compiler_pic
='-KPIC'
8285 lt_prog_compiler_static
='-static'
8287 # icc used to be incompatible with GCC.
8288 # ICC 10 doesn't accept -KPIC any more.
8290 lt_prog_compiler_wl
='-Wl,'
8291 lt_prog_compiler_pic
='-fPIC'
8292 lt_prog_compiler_static
='-static'
8294 # Lahey Fortran 8.1.
8296 lt_prog_compiler_wl
='-Wl,'
8297 lt_prog_compiler_pic
='--shared'
8298 lt_prog_compiler_static
='--static'
8300 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8301 # Portland Group compilers (*not* the Pentium gcc compiler,
8302 # which looks to be a dead project)
8303 lt_prog_compiler_wl
='-Wl,'
8304 lt_prog_compiler_pic
='-fpic'
8305 lt_prog_compiler_static
='-Bstatic'
8308 lt_prog_compiler_wl
='-Wl,'
8309 # All Alpha code is PIC.
8310 lt_prog_compiler_static
='-non_shared'
8313 # IBM XL C 8.0/Fortran 10.1 on PPC
8314 lt_prog_compiler_wl
='-Wl,'
8315 lt_prog_compiler_pic
='-qpic'
8316 lt_prog_compiler_static
='-qstaticlink'
8319 case `$CC -V 2>&1 | sed 5q` in
8322 lt_prog_compiler_pic
='-KPIC'
8323 lt_prog_compiler_static
='-Bstatic'
8324 lt_prog_compiler_wl
='-Wl,'
8327 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8328 lt_prog_compiler_pic
='-KPIC'
8329 lt_prog_compiler_static
='-Bstatic'
8330 lt_prog_compiler_wl
=''
8338 lt_prog_compiler_pic
='-KPIC'
8339 lt_prog_compiler_static
='-Bstatic'
8343 # QNX uses GNU C++, but need to define -shared option too, otherwise
8345 lt_prog_compiler_pic
='-fPIC -shared'
8348 osf3
* | osf4
* | osf5
*)
8349 lt_prog_compiler_wl
='-Wl,'
8350 # All OSF/1 code is PIC.
8351 lt_prog_compiler_static
='-non_shared'
8355 lt_prog_compiler_static
='-non_shared'
8359 lt_prog_compiler_pic
='-KPIC'
8360 lt_prog_compiler_static
='-Bstatic'
8361 case $cc_basename in
8363 lt_prog_compiler_wl
='-Qoption ld ';;
8365 lt_prog_compiler_wl
='-Wl,';;
8370 lt_prog_compiler_wl
='-Qoption ld '
8371 lt_prog_compiler_pic
='-PIC'
8372 lt_prog_compiler_static
='-Bstatic'
8375 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8376 lt_prog_compiler_wl
='-Wl,'
8377 lt_prog_compiler_pic
='-KPIC'
8378 lt_prog_compiler_static
='-Bstatic'
8382 if test -d /usr
/nec
;then
8383 lt_prog_compiler_pic
='-Kconform_pic'
8384 lt_prog_compiler_static
='-Bstatic'
8388 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8389 lt_prog_compiler_wl
='-Wl,'
8390 lt_prog_compiler_pic
='-KPIC'
8391 lt_prog_compiler_static
='-Bstatic'
8395 lt_prog_compiler_wl
='-Wl,'
8396 lt_prog_compiler_can_build_shared
=no
8400 lt_prog_compiler_pic
='-pic'
8401 lt_prog_compiler_static
='-Bstatic'
8405 lt_prog_compiler_can_build_shared
=no
8411 # For platforms which do not support PIC, -DPIC is meaningless:
8413 lt_prog_compiler_pic
=
8416 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8420 $as_echo "$lt_prog_compiler_pic" >&6; }
8428 # Check to make sure the PIC flag actually works.
8430 if test -n "$lt_prog_compiler_pic"; then
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8432 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8433 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8434 $as_echo_n "(cached) " >&6
8436 lt_cv_prog_compiler_pic_works
=no
8437 ac_outfile
=conftest.
$ac_objext
8438 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8439 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8440 # Insert the option either (1) after the last *FLAGS variable, or
8441 # (2) before a word containing "conftest.", or (3) at the end.
8442 # Note that $ac_compile itself does not contain backslashes and begins
8443 # with a dollar sign (not a hyphen), so the echo should work correctly.
8444 # The option is referenced via a variable to avoid confusing sed.
8445 lt_compile
=`echo "$ac_compile" | $SED \
8446 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8447 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8448 -e 's:$: $lt_compiler_flag:'`
8449 (eval echo "\"\$as_me:8449: $lt_compile\"" >&5)
8450 (eval "$lt_compile" 2>conftest.err
)
8452 cat conftest.err
>&5
8453 echo "$as_me:8453: \$? = $ac_status" >&5
8454 if (exit $ac_status) && test -s "$ac_outfile"; then
8455 # The compiler can only warn and ignore the option if not recognized
8456 # So say no if there are warnings other than the usual output.
8457 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8458 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8459 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8460 lt_cv_prog_compiler_pic_works
=yes
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8467 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8469 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8470 case $lt_prog_compiler_pic in
8472 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8475 lt_prog_compiler_pic
=
8476 lt_prog_compiler_can_build_shared
=no
8487 # Check to make sure the static flag actually works.
8489 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8491 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8492 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8493 $as_echo_n "(cached) " >&6
8495 lt_cv_prog_compiler_static_works
=no
8496 save_LDFLAGS
="$LDFLAGS"
8497 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8498 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8499 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8500 # The linker can only warn and ignore the option if not recognized
8501 # So say no if there are warnings
8502 if test -s conftest.err
; then
8503 # Append any errors to the config.log.
8504 cat conftest.err
1>&5
8505 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8506 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8507 if diff conftest.exp conftest.er2
>/dev
/null
; then
8508 lt_cv_prog_compiler_static_works
=yes
8511 lt_cv_prog_compiler_static_works
=yes
8515 LDFLAGS
="$save_LDFLAGS"
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8519 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8521 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8524 lt_prog_compiler_static
=
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8534 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8535 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8536 $as_echo_n "(cached) " >&6
8538 lt_cv_prog_compiler_c_o
=no
8539 $RM -r conftest
2>/dev
/null
8543 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8545 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8546 # Insert the option either (1) after the last *FLAGS variable, or
8547 # (2) before a word containing "conftest.", or (3) at the end.
8548 # Note that $ac_compile itself does not contain backslashes and begins
8549 # with a dollar sign (not a hyphen), so the echo should work correctly.
8550 lt_compile
=`echo "$ac_compile" | $SED \
8551 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8552 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8553 -e 's:$: $lt_compiler_flag:'`
8554 (eval echo "\"\$as_me:8554: $lt_compile\"" >&5)
8555 (eval "$lt_compile" 2>out
/conftest.err
)
8557 cat out
/conftest.err
>&5
8558 echo "$as_me:8558: \$? = $ac_status" >&5
8559 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8561 # The compiler can only warn and ignore the option if not recognized
8562 # So say no if there are warnings
8563 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8564 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8565 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8566 lt_cv_prog_compiler_c_o
=yes
8571 # SGI C++ compiler will create directory out/ii_files/ for
8572 # template instantiation
8573 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8574 $RM out
/* && rmdir out
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8581 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8589 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8590 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8591 $as_echo_n "(cached) " >&6
8593 lt_cv_prog_compiler_c_o
=no
8594 $RM -r conftest
2>/dev
/null
8598 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8600 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8601 # Insert the option either (1) after the last *FLAGS variable, or
8602 # (2) before a word containing "conftest.", or (3) at the end.
8603 # Note that $ac_compile itself does not contain backslashes and begins
8604 # with a dollar sign (not a hyphen), so the echo should work correctly.
8605 lt_compile
=`echo "$ac_compile" | $SED \
8606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8608 -e 's:$: $lt_compiler_flag:'`
8609 (eval echo "\"\$as_me:8609: $lt_compile\"" >&5)
8610 (eval "$lt_compile" 2>out
/conftest.err
)
8612 cat out
/conftest.err
>&5
8613 echo "$as_me:8613: \$? = $ac_status" >&5
8614 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8616 # The compiler can only warn and ignore the option if not recognized
8617 # So say no if there are warnings
8618 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8619 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8620 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8621 lt_cv_prog_compiler_c_o
=yes
8626 # SGI C++ compiler will create directory out/ii_files/ for
8627 # template instantiation
8628 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8629 $RM out
/* && rmdir out
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8636 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8641 hard_links
="nottested"
8642 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8643 # do not overwrite the value of need_locks provided by the user
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8645 $as_echo_n "checking if we can lock with hard links... " >&6; }
8648 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8650 ln conftest.a conftest.b
2>&5 || hard_links
=no
8651 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8653 $as_echo "$hard_links" >&6; }
8654 if test "$hard_links" = no
; then
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8656 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8669 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8672 allow_undefined_flag
=
8673 always_export_symbols
=no
8675 archive_expsym_cmds
=
8676 compiler_needs_object
=no
8677 enable_shared_with_static_runtimes
=no
8678 export_dynamic_flag_spec
=
8679 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8680 hardcode_automatic
=no
8682 hardcode_direct_absolute
=no
8683 hardcode_libdir_flag_spec
=
8684 hardcode_libdir_flag_spec_ld
=
8685 hardcode_libdir_separator
=
8687 hardcode_shlibpath_var
=unsupported
8689 link_all_deplibs
=unknown
8692 old_archive_from_new_cmds
=
8693 old_archive_from_expsyms_cmds
=
8694 thread_safe_flag_spec
=
8695 whole_archive_flag_spec
=
8696 # include_expsyms should be a list of space-separated symbols to be *always*
8697 # included in the symbol list
8699 # exclude_expsyms can be an extended regexp of symbols to exclude
8700 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8701 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8702 # as well as any symbol that contains `d'.
8703 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8704 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8705 # platforms (ab)use it in PIC code, but their linkers get confused if
8706 # the symbol is explicitly referenced. Since portable code cannot
8707 # rely on this symbol name, it's probably fine to never include it in
8708 # preloaded symbol tables.
8709 # Exclude shared library initialization/finalization symbols.
8710 extract_expsyms_cmds
=
8713 cygwin
* | mingw
* | pw32
* | cegcc
*)
8714 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8715 # When not using gcc, we currently assume that we are using
8716 # Microsoft Visual C++.
8717 if test "$GCC" != yes; then
8722 # we just hope/assume this is gcc and not c89 (= MSVC++)
8728 linux
* | k
*bsd
*-gnu)
8734 if test "$with_gnu_ld" = yes; then
8735 # If archive_cmds runs LD, not CC, wlarc should be empty
8738 # Set some defaults for GNU ld with shared library support. These
8739 # are reset later if shared libraries are not supported. Putting them
8740 # here allows them to be overridden if necessary.
8741 runpath_var
=LD_RUN_PATH
8742 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8743 export_dynamic_flag_spec
='${wl}--export-dynamic'
8744 # ancient GNU ld didn't support --whole-archive et. al.
8745 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8746 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8748 whole_archive_flag_spec
=
8750 supports_anon_versioning
=no
8751 case `$LD -v 2>&1` in
8752 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8753 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8754 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8755 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8756 *\
2.11.
*) ;; # other 2.11 versions
8757 *) supports_anon_versioning
=yes ;;
8760 # See if GNU ld supports shared libraries.
8763 # On AIX/PPC, the GNU linker is very broken
8764 if test "$host_cpu" != ia64
; then
8768 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8769 *** to be unable to reliably create shared libraries on AIX.
8770 *** Therefore, libtool is disabling shared libraries support. If you
8771 *** really care for shared libraries, you may want to modify your PATH
8772 *** so that a non-GNU linker is found, and then restart.
8781 # see comment about AmigaOS4 .so support
8782 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8783 archive_expsym_cmds
=''
8786 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)'
8787 hardcode_libdir_flag_spec
='-L$libdir'
8788 hardcode_minus_L
=yes
8794 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8795 allow_undefined_flag
=unsupported
8796 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8797 # support --undefined. This deserves some investigation. FIXME
8798 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8804 cygwin
* | mingw
* | pw32
* | cegcc
*)
8805 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8806 # as there is no search path for DLLs.
8807 hardcode_libdir_flag_spec
='-L$libdir'
8808 allow_undefined_flag
=unsupported
8809 always_export_symbols
=no
8810 enable_shared_with_static_runtimes
=yes
8811 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8813 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8814 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8815 # If the export-symbols file already is a .def file (1st line
8816 # is EXPORTS), use it as is; otherwise, prepend...
8817 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8818 cp $export_symbols $output_objdir/$soname.def;
8820 echo EXPORTS > $output_objdir/$soname.def;
8821 cat $export_symbols >> $output_objdir/$soname.def;
8823 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8831 hardcode_shlibpath_var
=no
8832 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8833 export_dynamic_flag_spec
='${wl}-E'
8834 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8835 # Instead, shared libraries are loaded at an image base (0x10000000 by
8836 # default) and relocated if they conflict, which is a slow very memory
8837 # consuming and fragmenting process. To avoid this, we pick a random,
8838 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8839 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8840 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8841 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'
8844 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8846 if test "$host_os" = linux-dietlibc
; then
8847 case $cc_basename in
8848 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8851 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8852 && test "$tmp_diet" = no
8855 tmp_sharedflag
='-shared'
8856 case $cc_basename,$host_cpu in
8857 pgcc
*) # Portland Group C compiler
8858 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8859 tmp_addflag
=' $pic_flag'
8861 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8862 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8863 tmp_addflag
=' $pic_flag -Mnomain' ;;
8864 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8865 tmp_addflag
=' -i_dynamic' ;;
8866 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8867 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8868 ifc
* | ifort
*) # Intel Fortran compiler
8869 tmp_addflag
=' -nofor_main' ;;
8870 lf95
*) # Lahey Fortran 8.1
8871 whole_archive_flag_spec
=
8872 tmp_sharedflag
='--shared' ;;
8873 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8874 tmp_sharedflag
='-qmkshrobj'
8877 case `$CC -V 2>&1 | sed 5q` in
8878 *Sun\ C
*) # Sun C 5.9
8879 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8880 compiler_needs_object
=yes
8881 tmp_sharedflag
='-G' ;;
8882 *Sun\ F
*) # Sun Fortran 8.3
8883 tmp_sharedflag
='-G' ;;
8885 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8887 if test "x$supports_anon_versioning" = xyes
; then
8888 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8889 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8890 echo "local: *; };" >> $output_objdir/$libname.ver~
8891 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8894 case $cc_basename in
8896 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8897 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8898 hardcode_libdir_flag_spec
=
8899 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8900 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8901 if test "x$supports_anon_versioning" = xyes
; then
8902 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8903 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8904 echo "local: *; };" >> $output_objdir/$libname.ver~
8905 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8914 netbsd
* | netbsdelf
*-gnu)
8915 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8916 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8919 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8920 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8925 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8929 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8930 *** create shared libraries on Solaris systems. Therefore, libtool
8931 *** is disabling shared libraries support. We urge you to upgrade GNU
8932 *** binutils to release 2.9.1 or newer. Another option is to modify
8933 *** your PATH or compiler configuration so that the native linker is
8934 *** used, and then restart.
8937 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8938 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8939 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8945 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8946 case `$LD -v 2>&1` in
8947 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8951 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8952 *** reliably create shared libraries on SCO systems. Therefore, libtool
8953 *** is disabling shared libraries support. We urge you to upgrade GNU
8954 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8955 *** your PATH or compiler configuration so that the native linker is
8956 *** used, and then restart.
8961 # For security reasons, it is highly recommended that you always
8962 # use absolute paths for naming shared libraries, and exclude the
8963 # DT_RUNPATH tag from executables and libraries. But doing so
8964 # requires that you compile everything twice, which is a pain.
8965 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8966 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8967 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8968 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8977 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8980 hardcode_shlibpath_var
=no
8984 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8985 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8986 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8993 if test "$ld_shlibs" = no
; then
8995 hardcode_libdir_flag_spec
=
8996 export_dynamic_flag_spec
=
8997 whole_archive_flag_spec
=
9000 # PORTME fill in a description of your system's linker (not GNU ld)
9003 allow_undefined_flag
=unsupported
9004 always_export_symbols
=yes
9005 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'
9006 # Note: this linker hardcodes the directories in LIBPATH if there
9007 # are no directories specified by -L.
9008 hardcode_minus_L
=yes
9009 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9010 # Neither direct hardcoding nor static linking is supported with a
9012 hardcode_direct
=unsupported
9017 if test "$host_cpu" = ia64
; then
9018 # On IA64, the linker does run time linking by default, so we don't
9019 # have to do anything special.
9020 aix_use_runtimelinking
=no
9021 exp_sym_flag
='-Bexport'
9024 # If we're using GNU nm, then we don't want the "-C" option.
9025 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9026 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9027 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9029 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9031 aix_use_runtimelinking
=no
9033 # Test if we are trying to use run time linking or normal
9034 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9035 # need to do runtime linking.
9036 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9037 for ld_flag
in $LDFLAGS; do
9038 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9039 aix_use_runtimelinking
=yes
9046 exp_sym_flag
='-bexport'
9047 no_entry_flag
='-bnoentry'
9050 # When large executables or shared objects are built, AIX ld can
9051 # have problems creating the table of contents. If linking a library
9052 # or program results in "error TOC overflow" add -mminimal-toc to
9053 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9054 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9058 hardcode_direct_absolute
=yes
9059 hardcode_libdir_separator
=':'
9060 link_all_deplibs
=yes
9061 file_list_spec
='${wl}-f,'
9063 if test "$GCC" = yes; then
9064 case $host_os in aix4.
[012]|aix4.
[012].
*)
9065 # We only want to do this on AIX 4.2 and lower, the check
9066 # below for broken collect2 doesn't work under 4.3+
9067 collect2name
=`${CC} -print-prog-name=collect2`
9068 if test -f "$collect2name" &&
9069 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9071 # We have reworked collect2
9074 # We have old collect2
9075 hardcode_direct
=unsupported
9076 # It fails to find uninstalled libraries when the uninstalled
9077 # path is not listed in the libpath. Setting hardcode_minus_L
9078 # to unsupported forces relinking
9079 hardcode_minus_L
=yes
9080 hardcode_libdir_flag_spec
='-L$libdir'
9081 hardcode_libdir_separator
=
9085 shared_flag
='-shared'
9086 if test "$aix_use_runtimelinking" = yes; then
9087 shared_flag
="$shared_flag "'${wl}-G'
9092 if test "$host_cpu" = ia64
; then
9093 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9094 # chokes on -Wl,-G. The following line is correct:
9097 if test "$aix_use_runtimelinking" = yes; then
9098 shared_flag
='${wl}-G'
9100 shared_flag
='${wl}-bM:SRE'
9105 export_dynamic_flag_spec
='${wl}-bexpall'
9106 # It seems that -bexpall does not export symbols beginning with
9107 # underscore (_), so it is better to generate a list of symbols to export.
9108 always_export_symbols
=yes
9109 if test "$aix_use_runtimelinking" = yes; then
9110 # Warning - without using the other runtime loading flags (-brtl),
9111 # -berok will link without error, but may produce a broken library.
9112 allow_undefined_flag
='-berok'
9113 # Determine the default libpath from the value encoded in an
9115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9126 if ac_fn_c_try_link
"$LINENO"; then :
9128 lt_aix_libpath_sed
='
9129 /Import File Strings/,/^$/ {
9135 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9136 # Check for a 64-bit object if we didn't find anything.
9137 if test -z "$aix_libpath"; then
9138 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9141 rm -f core conftest.err conftest.
$ac_objext \
9142 conftest
$ac_exeext conftest.
$ac_ext
9143 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9145 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9146 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9148 if test "$host_cpu" = ia64
; then
9149 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9150 allow_undefined_flag
="-z nodefs"
9151 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"
9153 # Determine the default libpath from the value encoded in an
9155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9166 if ac_fn_c_try_link
"$LINENO"; then :
9168 lt_aix_libpath_sed
='
9169 /Import File Strings/,/^$/ {
9175 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9176 # Check for a 64-bit object if we didn't find anything.
9177 if test -z "$aix_libpath"; then
9178 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9181 rm -f core conftest.err conftest.
$ac_objext \
9182 conftest
$ac_exeext conftest.
$ac_ext
9183 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9185 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9186 # Warning - without using the other run time loading flags,
9187 # -berok will link without error, but may produce a broken library.
9188 no_undefined_flag
=' ${wl}-bernotok'
9189 allow_undefined_flag
=' ${wl}-berok'
9190 # Exported symbols can be pulled into shared objects from archives
9191 whole_archive_flag_spec
='$convenience'
9192 archive_cmds_need_lc
=yes
9193 # This is similar to how AIX traditionally builds its shared libraries.
9194 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9202 # see comment about AmigaOS4 .so support
9203 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9204 archive_expsym_cmds
=''
9207 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)'
9208 hardcode_libdir_flag_spec
='-L$libdir'
9209 hardcode_minus_L
=yes
9215 export_dynamic_flag_spec
=-rdynamic
9218 cygwin
* | mingw
* | pw32
* | cegcc
*)
9219 # When not using gcc, we currently assume that we are using
9220 # Microsoft Visual C++.
9221 # hardcode_libdir_flag_spec is actually meaningless, as there is
9222 # no search path for DLLs.
9223 hardcode_libdir_flag_spec
=' '
9224 allow_undefined_flag
=unsupported
9225 # Tell ltmain to make .lib files, not .a files.
9227 # Tell ltmain to make .dll files, not .so files.
9229 # FIXME: Setting linknames here is a bad hack.
9230 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9231 # The linker will automatically build a .lib file if we build a DLL.
9232 old_archive_from_new_cmds
='true'
9233 # FIXME: Should let the user specify the lib program.
9234 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9235 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9236 enable_shared_with_static_runtimes
=yes
9239 darwin
* | rhapsody
*)
9242 archive_cmds_need_lc
=no
9244 hardcode_automatic
=yes
9245 hardcode_shlibpath_var
=unsupported
9246 whole_archive_flag_spec
=''
9247 link_all_deplibs
=yes
9248 allow_undefined_flag
="$_lt_dar_allow_undefined"
9249 case $cc_basename in
9250 ifort
*) _lt_dar_can_shared
=yes ;;
9251 *) _lt_dar_can_shared
=$GCC ;;
9253 if test "$_lt_dar_can_shared" = "yes"; then
9254 output_verbose_link_cmd
=echo
9255 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9256 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9257 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}"
9258 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}"
9267 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9268 hardcode_libdir_flag_spec
='-L$libdir'
9269 hardcode_shlibpath_var
=no
9276 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9277 # support. Future versions do this automatically, but an explicit c++rt0.o
9278 # does not break anything, and helps significantly (at the cost of a little
9281 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9282 hardcode_libdir_flag_spec
='-R$libdir'
9284 hardcode_shlibpath_var
=no
9287 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9289 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9291 hardcode_minus_L
=yes
9292 hardcode_shlibpath_var
=no
9295 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9296 freebsd
* | dragonfly
*)
9297 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9298 hardcode_libdir_flag_spec
='-R$libdir'
9300 hardcode_shlibpath_var
=no
9304 if test "$GCC" = yes; then
9305 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9307 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9309 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9310 hardcode_libdir_separator
=:
9313 # hardcode_minus_L: Not really in the search PATH,
9314 # but as the default location of the library.
9315 hardcode_minus_L
=yes
9316 export_dynamic_flag_spec
='${wl}-E'
9320 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9321 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9323 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9325 if test "$with_gnu_ld" = no
; then
9326 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9327 hardcode_libdir_flag_spec_ld
='+b $libdir'
9328 hardcode_libdir_separator
=:
9330 hardcode_direct_absolute
=yes
9331 export_dynamic_flag_spec
='${wl}-E'
9332 # hardcode_minus_L: Not really in the search PATH,
9333 # but as the default location of the library.
9334 hardcode_minus_L
=yes
9339 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9342 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9345 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9348 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9354 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9357 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9360 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9364 if test "$with_gnu_ld" = no
; then
9365 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9366 hardcode_libdir_separator
=:
9371 hardcode_shlibpath_var
=no
9375 hardcode_direct_absolute
=yes
9376 export_dynamic_flag_spec
='${wl}-E'
9378 # hardcode_minus_L: Not really in the search PATH,
9379 # but as the default location of the library.
9380 hardcode_minus_L
=yes
9386 irix5
* | irix6
* | nonstopux
*)
9387 if test "$GCC" = yes; then
9388 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9389 # Try to use the -exported_symbol ld option, if it does not
9390 # work, assume that -exports_file does not work either and
9391 # implicitly export all symbols.
9392 save_LDFLAGS
="$LDFLAGS"
9393 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9398 if ac_fn_c_try_link
"$LINENO"; then :
9399 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9402 rm -f core conftest.err conftest.
$ac_objext \
9403 conftest
$ac_exeext conftest.
$ac_ext
9404 LDFLAGS
="$save_LDFLAGS"
9406 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9407 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9409 archive_cmds_need_lc
='no'
9410 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9411 hardcode_libdir_separator
=:
9413 link_all_deplibs
=yes
9416 netbsd
* | netbsdelf
*-gnu)
9417 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9418 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9420 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9422 hardcode_libdir_flag_spec
='-R$libdir'
9424 hardcode_shlibpath_var
=no
9428 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9430 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9431 hardcode_libdir_separator
=:
9432 hardcode_shlibpath_var
=no
9439 if test -f /usr
/libexec
/ld.so
; then
9441 hardcode_shlibpath_var
=no
9442 hardcode_direct_absolute
=yes
9443 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9444 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9445 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9446 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9447 export_dynamic_flag_spec
='${wl}-E'
9450 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9451 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9452 hardcode_libdir_flag_spec
='-R$libdir'
9455 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9456 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9466 hardcode_libdir_flag_spec
='-L$libdir'
9467 hardcode_minus_L
=yes
9468 allow_undefined_flag
=unsupported
9469 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9470 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9474 if test "$GCC" = yes; then
9475 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9476 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9478 allow_undefined_flag
=' -expect_unresolved \*'
9479 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9481 archive_cmds_need_lc
='no'
9482 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9483 hardcode_libdir_separator
=:
9486 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9487 if test "$GCC" = yes; then
9488 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9489 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9490 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9492 allow_undefined_flag
=' -expect_unresolved \*'
9493 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9494 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~
9495 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9497 # Both c and cxx compiler support -rpath directly
9498 hardcode_libdir_flag_spec
='-rpath $libdir'
9500 archive_cmds_need_lc
='no'
9501 hardcode_libdir_separator
=:
9505 no_undefined_flag
=' -z defs'
9506 if test "$GCC" = yes; then
9508 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9509 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9510 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9512 case `$CC -V 2>&1` in
9515 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9516 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9517 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9521 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9522 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9523 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9527 hardcode_libdir_flag_spec
='-R$libdir'
9528 hardcode_shlibpath_var
=no
9530 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9532 # The compiler driver will combine and reorder linker options,
9533 # but understands `-z linker_flag'. GCC discards it without `$wl',
9534 # but is careful enough not to reorder.
9535 # Supported since Solaris 2.6 (maybe 2.5.1?)
9536 if test "$GCC" = yes; then
9537 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9539 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9543 link_all_deplibs
=yes
9547 if test "x$host_vendor" = xsequent
; then
9548 # Use $CC to link under sequent, because it throws in some extra .o
9549 # files that make .init and .fini sections work.
9550 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9552 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9554 hardcode_libdir_flag_spec
='-L$libdir'
9556 hardcode_minus_L
=yes
9557 hardcode_shlibpath_var
=no
9561 case $host_vendor in
9563 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9564 hardcode_direct
=yes # is this really true???
9567 ## LD is ld it makes a PLAMLIB
9568 ## CC just makes a GrossModule.
9569 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9570 reload_cmds
='$CC -r -o $output$reload_objs'
9574 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9575 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9578 runpath_var
='LD_RUN_PATH'
9579 hardcode_shlibpath_var
=no
9583 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9584 hardcode_shlibpath_var
=no
9585 export_dynamic_flag_spec
='-Bexport'
9589 if test -d /usr
/nec
; then
9590 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9591 hardcode_shlibpath_var
=no
9592 runpath_var
=LD_RUN_PATH
9593 hardcode_runpath_var
=yes
9598 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9599 no_undefined_flag
='${wl}-z,text'
9600 archive_cmds_need_lc
=no
9601 hardcode_shlibpath_var
=no
9602 runpath_var
='LD_RUN_PATH'
9604 if test "$GCC" = yes; then
9605 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9606 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9608 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9609 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9613 sysv5
* | sco3.2v5
* | sco5v6
*)
9614 # Note: We can NOT use -z defs as we might desire, because we do not
9615 # link with -lc, and that would cause any symbols used from libc to
9616 # always be unresolved, which means just about no library would
9617 # ever link correctly. If we're not using GNU ld we use -z text
9618 # though, which does catch some bad symbols but isn't as heavy-handed
9620 no_undefined_flag
='${wl}-z,text'
9621 allow_undefined_flag
='${wl}-z,nodefs'
9622 archive_cmds_need_lc
=no
9623 hardcode_shlibpath_var
=no
9624 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9625 hardcode_libdir_separator
=':'
9626 link_all_deplibs
=yes
9627 export_dynamic_flag_spec
='${wl}-Bexport'
9628 runpath_var
='LD_RUN_PATH'
9630 if test "$GCC" = yes; then
9631 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9632 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9634 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9635 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9640 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9641 hardcode_libdir_flag_spec
='-L$libdir'
9642 hardcode_shlibpath_var
=no
9650 if test x
$host_vendor = xsni
; then
9652 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9653 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9660 $as_echo "$ld_shlibs" >&6; }
9661 test "$ld_shlibs" = no
&& can_build_shared
=no
9663 with_gnu_ld
=$with_gnu_ld
9680 # Do we need to explicitly link libc?
9682 case "x$archive_cmds_need_lc" in
9684 # Assume -lc should be added
9685 archive_cmds_need_lc
=yes
9687 if test "$enable_shared" = yes && test "$GCC" = yes; then
9688 case $archive_cmds in
9690 # FIXME: we may have to deal with multi-command sequences.
9693 # Test whether the compiler implicitly links with -lc since on some
9694 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9695 # to ld, don't add -lc before -lgcc.
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9697 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9699 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9701 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9702 (eval $ac_compile) 2>&5
9704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9705 test $ac_status = 0; } 2>conftest.err
; then
9708 libobjs
=conftest.
$ac_objext
9710 wl
=$lt_prog_compiler_wl
9711 pic_flag
=$lt_prog_compiler_pic
9717 lt_save_allow_undefined_flag
=$allow_undefined_flag
9718 allow_undefined_flag
=
9719 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9720 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9723 test $ac_status = 0; }
9725 archive_cmds_need_lc
=no
9727 archive_cmds_need_lc
=yes
9729 allow_undefined_flag
=$lt_save_allow_undefined_flag
9731 cat conftest.err
1>&5
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9735 $as_echo "$archive_cmds_need_lc" >&6; }
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9899 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9901 if test "$GCC" = yes; then
9903 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9904 *) lt_awk_arg
="/^libraries:/" ;;
9906 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9907 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9908 # if the path contains ";" then we assume it to be the separator
9909 # otherwise default to the standard path separator (i.e. ":") - it is
9910 # assumed that no part of a normal pathname contains ";" but that should
9911 # okay in the real world where ";" in dirpaths is itself problematic.
9912 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9914 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9916 # Ok, now we have the path, separated by spaces, we can step through it
9917 # and add multilib dir if necessary.
9918 lt_tmp_lt_search_path_spec
=
9919 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9920 for lt_sys_path
in $lt_search_path_spec; do
9921 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9922 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9924 test -d "$lt_sys_path" && \
9925 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9928 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9929 BEGIN {RS=" "; FS="/|\n";} {
9932 for (lt_i = NF; lt_i > 0; lt_i--) {
9933 if ($lt_i != "" && $lt_i != ".") {
9934 if ($lt_i == "..") {
9937 if (lt_count == 0) {
9938 lt_foo="/" $lt_i lt_foo;
9945 if (lt_foo != "") { lt_freq[lt_foo]++; }
9946 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9948 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9950 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9953 libname_spec
='lib$name'
9961 shlibpath_overrides_runpath
=unknown
9963 dynamic_linker
="$host_os ld.so"
9964 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9965 need_lib_prefix
=unknown
9966 hardcode_into_libs
=no
9968 # when you set need_version to no, make sure it does not cause -set_version
9969 # flags to be left without arguments
9970 need_version
=unknown
9975 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9976 shlibpath_var
=LIBPATH
9978 # AIX 3 has no versioning support, so we append a major version to the name.
9979 soname_spec
='${libname}${release}${shared_ext}$major'
9986 hardcode_into_libs
=yes
9987 if test "$host_cpu" = ia64
; then
9988 # AIX 5 supports IA64
9989 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9990 shlibpath_var
=LD_LIBRARY_PATH
9992 # With GCC up to 2.95.x, collect2 would create an import file
9993 # for dependence libraries. The import file would start with
9994 # the line `#! .'. This would cause the generated library to
9995 # depend on `.', always an invalid library. This was fixed in
9996 # development snapshots of GCC prior to 3.0.
9998 aix4 | aix4.
[01] | aix4.
[01].
*)
9999 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10001 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10004 can_build_shared
=no
10008 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10009 # soname into executable. Probably we can add versioning support to
10010 # collect2, so additional links can be useful in future.
10011 if test "$aix_use_runtimelinking" = yes; then
10012 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10013 # instead of lib<name>.a to let people know that these are not
10014 # typical AIX shared libraries.
10015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10017 # We preserve .a as extension for shared libraries through AIX4.2
10018 # and later when we are not doing run time linking.
10019 library_names_spec
='${libname}${release}.a $libname.a'
10020 soname_spec
='${libname}${release}${shared_ext}$major'
10022 shlibpath_var
=LIBPATH
10029 # Since July 2007 AmigaOS4 officially supports .so libraries.
10030 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10034 library_names_spec
='$libname.ixlibrary $libname.a'
10035 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10036 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
10042 library_names_spec
='${libname}${shared_ext}'
10043 dynamic_linker
="$host_os ld.so"
10044 shlibpath_var
=LIBRARY_PATH
10050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10051 soname_spec
='${libname}${release}${shared_ext}$major'
10052 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10053 shlibpath_var
=LD_LIBRARY_PATH
10054 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10055 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10056 # the default ld.so.conf also contains /usr/contrib/lib and
10057 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10058 # libtool to hard-code these into programs
10061 cygwin
* | mingw
* | pw32
* | cegcc
*)
10062 version_type
=windows
10067 case $GCC,$host_os in
10068 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10069 library_names_spec
='$libname.dll.a'
10070 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10071 postinstall_cmds
='base_file=`basename \${file}`~
10072 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10073 dldir=$destdir/`dirname \$dlpath`~
10074 test -d \$dldir || mkdir -p \$dldir~
10075 $install_prog $dir/$dlname \$dldir/$dlname~
10076 chmod a+x \$dldir/$dlname~
10077 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10078 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10080 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10081 dlpath=$dir/\$dldll~
10083 shlibpath_overrides_runpath
=yes
10087 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10088 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10089 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10092 # MinGW DLLs use traditional 'lib' prefix
10093 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10094 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10095 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10096 # It is most probably a Windows format PATH printed by
10097 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10098 # path with ; separators, and with drive letters. We can handle the
10099 # drive letters (cygwin fileutils understands them), so leave them,
10100 # especially as we might pass files found there to a mingw objdump,
10101 # which wouldn't understand a cygwinified path. Ahh.
10102 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10104 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10108 # pw32 DLLs use 'pw' prefix rather than 'lib'
10109 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10115 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10118 dynamic_linker
='Win32 ld.exe'
10119 # FIXME: first we should search . and the directory the executable is in
10123 darwin
* | rhapsody
*)
10124 dynamic_linker
="$host_os dyld"
10125 version_type
=darwin
10128 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10129 soname_spec
='${libname}${release}${major}$shared_ext'
10130 shlibpath_overrides_runpath
=yes
10131 shlibpath_var
=DYLD_LIBRARY_PATH
10132 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10134 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10135 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10143 soname_spec
='${libname}${release}${shared_ext}$major'
10144 shlibpath_var
=LD_LIBRARY_PATH
10151 freebsd
* | dragonfly
*)
10152 # DragonFly does not have aout. When/if they implement a new
10153 # versioning mechanism, adjust this.
10154 if test -x /usr
/bin
/objformat
; then
10155 objformat
=`/usr/bin/objformat`
10158 freebsd
[123]*) objformat
=aout
;;
10159 *) objformat
=elf
;;
10162 version_type
=freebsd-
$objformat
10163 case $version_type in
10165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10170 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10174 shlibpath_var
=LD_LIBRARY_PATH
10177 shlibpath_overrides_runpath
=yes
10179 freebsd3.
[01]* | freebsdelf3.
[01]*)
10180 shlibpath_overrides_runpath
=yes
10181 hardcode_into_libs
=yes
10183 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10184 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10185 shlibpath_overrides_runpath
=no
10186 hardcode_into_libs
=yes
10188 *) # from 4.6 on, and DragonFly
10189 shlibpath_overrides_runpath
=yes
10190 hardcode_into_libs
=yes
10199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10200 soname_spec
='${libname}${release}${shared_ext}$major'
10201 shlibpath_var
=LD_LIBRARY_PATH
10202 hardcode_into_libs
=yes
10205 hpux9
* | hpux10
* | hpux11
*)
10206 # Give a soname corresponding to the major version so that dld.sl refuses to
10207 # link against other versions.
10214 hardcode_into_libs
=yes
10215 dynamic_linker
="$host_os dld.so"
10216 shlibpath_var
=LD_LIBRARY_PATH
10217 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219 soname_spec
='${libname}${release}${shared_ext}$major'
10220 if test "X$HPUX_IA64_MODE" = X32
; then
10221 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10223 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10225 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10229 hardcode_into_libs
=yes
10230 dynamic_linker
="$host_os dld.sl"
10231 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10232 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10234 soname_spec
='${libname}${release}${shared_ext}$major'
10235 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10236 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10240 dynamic_linker
="$host_os dld.sl"
10241 shlibpath_var
=SHLIB_PATH
10242 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10244 soname_spec
='${libname}${release}${shared_ext}$major'
10247 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10248 postinstall_cmds
='chmod 555 $lib'
10255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10256 soname_spec
='${libname}${release}${shared_ext}$major'
10257 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10258 shlibpath_var
=LD_LIBRARY_PATH
10259 shlibpath_overrides_runpath
=no
10260 hardcode_into_libs
=yes
10263 irix5
* | irix6
* | nonstopux
*)
10265 nonstopux
*) version_type
=nonstopux
;;
10267 if test "$lt_cv_prog_gnu_ld" = yes; then
10275 soname_spec
='${libname}${release}${shared_ext}$major'
10276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10278 irix5
* | nonstopux
*)
10279 libsuff
= shlibsuff
=
10282 case $LD in # libtool.m4 will add one of these switches to LD
10283 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10284 libsuff
= shlibsuff
= libmagic
=32-bit;;
10285 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10286 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10287 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10288 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10289 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10293 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10294 shlibpath_overrides_runpath
=no
10295 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10296 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10297 hardcode_into_libs
=yes
10300 # No shared lib support for Linux oldld, aout, or coff.
10301 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10305 # This must be Linux ELF.
10306 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10311 soname_spec
='${libname}${release}${shared_ext}$major'
10312 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10313 shlibpath_var
=LD_LIBRARY_PATH
10314 shlibpath_overrides_runpath
=no
10315 # Some binutils ld are patched to set DT_RUNPATH
10316 save_LDFLAGS
=$LDFLAGS
10317 save_libdir
=$libdir
10318 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10319 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10331 if ac_fn_c_try_link
"$LINENO"; then :
10332 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10333 shlibpath_overrides_runpath
=yes
10336 rm -f core conftest.err conftest.
$ac_objext \
10337 conftest
$ac_exeext conftest.
$ac_ext
10338 LDFLAGS
=$save_LDFLAGS
10339 libdir
=$save_libdir
10341 # This implies no fast_install, which is unacceptable.
10342 # Some rework will be needed to allow for fast_install
10343 # before this can be enabled.
10344 hardcode_into_libs
=yes
10346 # Append ld.so.conf contents to the search path
10347 if test -f /etc
/ld.so.conf
; then
10348 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;/^$/d' | tr '\n' ' '`
10349 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10352 # We used to test for /lib/ld.so.1 and disable shared libraries on
10353 # powerpc, because MkLinux only supported shared libraries with the
10354 # GNU dynamic linker. Since this was broken with cross compilers,
10355 # most powerpc-linux boxes support dynamic linking these days and
10356 # people can always --disable-shared, the test was removed, and we
10357 # assume the GNU/Linux dynamic linker is in use.
10358 dynamic_linker
='GNU/Linux ld.so'
10365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10366 soname_spec
='${libname}${release}${shared_ext}$major'
10367 shlibpath_var
=LD_LIBRARY_PATH
10368 shlibpath_overrides_runpath
=no
10369 hardcode_into_libs
=yes
10370 dynamic_linker
='NetBSD ld.elf_so'
10377 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10379 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10380 dynamic_linker
='NetBSD (a.out) ld.so'
10382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10383 soname_spec
='${libname}${release}${shared_ext}$major'
10384 dynamic_linker
='NetBSD ld.elf_so'
10386 shlibpath_var
=LD_LIBRARY_PATH
10387 shlibpath_overrides_runpath
=yes
10388 hardcode_into_libs
=yes
10393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10394 shlibpath_var
=LD_LIBRARY_PATH
10395 shlibpath_overrides_runpath
=yes
10402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10403 soname_spec
='${libname}${release}${shared_ext}$major'
10404 shlibpath_var
=LD_LIBRARY_PATH
10405 shlibpath_overrides_runpath
=no
10406 hardcode_into_libs
=yes
10407 dynamic_linker
='ldqnx.so'
10412 sys_lib_dlsearch_path_spec
="/usr/lib"
10414 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10416 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10417 *) need_version
=no
;;
10419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10420 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10421 shlibpath_var
=LD_LIBRARY_PATH
10422 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10424 openbsd2.
[89] | openbsd2.
[89].
*)
10425 shlibpath_overrides_runpath
=no
10428 shlibpath_overrides_runpath
=yes
10432 shlibpath_overrides_runpath
=yes
10437 libname_spec
='$name'
10440 library_names_spec
='$libname${shared_ext} $libname.a'
10441 dynamic_linker
='OS/2 ld.exe'
10442 shlibpath_var
=LIBPATH
10445 osf3
* | osf4
* | osf5
*)
10449 soname_spec
='${libname}${release}${shared_ext}$major'
10450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10451 shlibpath_var
=LD_LIBRARY_PATH
10452 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10453 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10465 soname_spec
='${libname}${release}${shared_ext}$major'
10466 shlibpath_var
=LD_LIBRARY_PATH
10467 shlibpath_overrides_runpath
=yes
10468 hardcode_into_libs
=yes
10469 # ldd complains unless libraries are executable
10470 postinstall_cmds
='chmod +x $lib'
10475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10476 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10477 shlibpath_var
=LD_LIBRARY_PATH
10478 shlibpath_overrides_runpath
=yes
10479 if test "$with_gnu_ld" = yes; then
10487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488 soname_spec
='${libname}${release}${shared_ext}$major'
10489 shlibpath_var
=LD_LIBRARY_PATH
10490 case $host_vendor in
10492 shlibpath_overrides_runpath
=no
10494 runpath_var
=LD_RUN_PATH
10502 shlibpath_overrides_runpath
=no
10503 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10509 if test -d /usr
/nec
;then
10511 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10512 soname_spec
='$libname${shared_ext}.$major'
10513 shlibpath_var
=LD_LIBRARY_PATH
10517 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10518 version_type
=freebsd-elf
10521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10522 soname_spec
='${libname}${release}${shared_ext}$major'
10523 shlibpath_var
=LD_LIBRARY_PATH
10524 shlibpath_overrides_runpath
=yes
10525 hardcode_into_libs
=yes
10526 if test "$with_gnu_ld" = yes; then
10527 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10529 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10532 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10536 sys_lib_dlsearch_path_spec
='/usr/lib'
10540 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10545 shlibpath_var
=LD_LIBRARY_PATH
10546 shlibpath_overrides_runpath
=no
10547 hardcode_into_libs
=yes
10552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553 soname_spec
='${libname}${release}${shared_ext}$major'
10554 shlibpath_var
=LD_LIBRARY_PATH
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10562 $as_echo "$dynamic_linker" >&6; }
10563 test "$dynamic_linker" = no
&& can_build_shared
=no
10565 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10566 if test "$GCC" = yes; then
10567 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10570 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10571 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10573 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10574 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10664 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10666 if test -n "$hardcode_libdir_flag_spec" ||
10667 test -n "$runpath_var" ||
10668 test "X$hardcode_automatic" = "Xyes" ; then
10670 # We can hardcode non-existent directories.
10671 if test "$hardcode_direct" != no
&&
10672 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10673 # have to relink, otherwise we might link with an installed library
10674 # when we should be linking with a yet-to-be-installed one
10675 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10676 test "$hardcode_minus_L" != no
; then
10677 # Linking always hardcodes the temporary library directory.
10678 hardcode_action
=relink
10680 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10681 hardcode_action
=immediate
10684 # We cannot hardcode anything, or else we can only hardcode existing
10686 hardcode_action
=unsupported
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10689 $as_echo "$hardcode_action" >&6; }
10691 if test "$hardcode_action" = relink ||
10692 test "$inherit_rpath" = yes; then
10693 # Fast installation is not supported
10694 enable_fast_install
=no
10695 elif test "$shlibpath_overrides_runpath" = yes ||
10696 test "$enable_shared" = no
; then
10697 # Fast installation is not necessary
10698 enable_fast_install
=needless
10706 if test "x$enable_dlopen" != xyes
; then
10707 enable_dlopen
=unknown
10708 enable_dlopen_self
=unknown
10709 enable_dlopen_self_static
=unknown
10716 lt_cv_dlopen
="load_add_on"
10718 lt_cv_dlopen_self
=yes
10721 mingw
* | pw32
* | cegcc
*)
10722 lt_cv_dlopen
="LoadLibrary"
10727 lt_cv_dlopen
="dlopen"
10732 # if libdl is installed we need to link against it
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10734 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10735 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10736 $as_echo_n "(cached) " >&6
10738 ac_check_lib_save_LIBS
=$LIBS
10740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10741 /* end confdefs.h. */
10743 /* Override any GCC internal prototype to avoid an error.
10744 Use char because int might match the return type of a GCC
10745 builtin and then its argument prototype would still apply. */
10758 if ac_fn_c_try_link
"$LINENO"; then :
10759 ac_cv_lib_dl_dlopen
=yes
10761 ac_cv_lib_dl_dlopen
=no
10763 rm -f core conftest.err conftest.
$ac_objext \
10764 conftest
$ac_exeext conftest.
$ac_ext
10765 LIBS
=$ac_check_lib_save_LIBS
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10768 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10769 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10770 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10773 lt_cv_dlopen
="dyld"
10775 lt_cv_dlopen_self
=yes
10782 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10783 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10784 lt_cv_dlopen
="shl_load"
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10787 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10788 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10789 $as_echo_n "(cached) " >&6
10791 ac_check_lib_save_LIBS
=$LIBS
10793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10806 return shl_load ();
10811 if ac_fn_c_try_link
"$LINENO"; then :
10812 ac_cv_lib_dld_shl_load
=yes
10814 ac_cv_lib_dld_shl_load
=no
10816 rm -f core conftest.err conftest.
$ac_objext \
10817 conftest
$ac_exeext conftest.
$ac_ext
10818 LIBS
=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10821 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10822 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10823 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10825 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10826 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10827 lt_cv_dlopen
="dlopen"
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10830 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10831 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10832 $as_echo_n "(cached) " >&6
10834 ac_check_lib_save_LIBS
=$LIBS
10836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10854 if ac_fn_c_try_link
"$LINENO"; then :
10855 ac_cv_lib_dl_dlopen
=yes
10857 ac_cv_lib_dl_dlopen
=no
10859 rm -f core conftest.err conftest.
$ac_objext \
10860 conftest
$ac_exeext conftest.
$ac_ext
10861 LIBS
=$ac_check_lib_save_LIBS
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10864 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10865 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10866 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10869 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10870 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10871 $as_echo_n "(cached) " >&6
10873 ac_check_lib_save_LIBS
=$LIBS
10874 LIBS
="-lsvld $LIBS"
10875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10893 if ac_fn_c_try_link
"$LINENO"; then :
10894 ac_cv_lib_svld_dlopen
=yes
10896 ac_cv_lib_svld_dlopen
=no
10898 rm -f core conftest.err conftest.
$ac_objext \
10899 conftest
$ac_exeext conftest.
$ac_ext
10900 LIBS
=$ac_check_lib_save_LIBS
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10903 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10904 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10905 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10908 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10909 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10910 $as_echo_n "(cached) " >&6
10912 ac_check_lib_save_LIBS
=$LIBS
10914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10917 /* Override any GCC internal prototype to avoid an error.
10918 Use char because int might match the return type of a GCC
10919 builtin and then its argument prototype would still apply. */
10927 return dld_link ();
10932 if ac_fn_c_try_link
"$LINENO"; then :
10933 ac_cv_lib_dld_dld_link
=yes
10935 ac_cv_lib_dld_dld_link
=no
10937 rm -f core conftest.err conftest.
$ac_objext \
10938 conftest
$ac_exeext conftest.
$ac_ext
10939 LIBS
=$ac_check_lib_save_LIBS
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10942 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10943 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10944 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10965 if test "x$lt_cv_dlopen" != xno
; then
10971 case $lt_cv_dlopen in
10973 save_CPPFLAGS
="$CPPFLAGS"
10974 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10976 save_LDFLAGS
="$LDFLAGS"
10977 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10980 LIBS
="$lt_cv_dlopen_libs $LIBS"
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10983 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10984 if test "${lt_cv_dlopen_self+set}" = set; then :
10985 $as_echo_n "(cached) " >&6
10987 if test "$cross_compiling" = yes; then :
10988 lt_cv_dlopen_self
=cross
10990 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10991 lt_status
=$lt_dlunknown
10992 cat > conftest.
$ac_ext <<_LT_EOF
10993 #line 10993 "configure"
10994 #include "confdefs.h"
11003 # define LT_DLGLOBAL RTLD_GLOBAL
11006 # define LT_DLGLOBAL DL_GLOBAL
11008 # define LT_DLGLOBAL 0
11012 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11013 find out it does not work in some platform. */
11014 #ifndef LT_DLLAZY_OR_NOW
11016 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11019 # define LT_DLLAZY_OR_NOW DL_LAZY
11022 # define LT_DLLAZY_OR_NOW RTLD_NOW
11025 # define LT_DLLAZY_OR_NOW DL_NOW
11027 # define LT_DLLAZY_OR_NOW 0
11034 void fnord() { int i=42;}
11037 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11038 int status = $lt_dlunknown;
11042 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11043 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11044 /* dlclose (self); */
11052 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11053 (eval $ac_link) 2>&5
11055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11056 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11057 (.
/conftest
; exit; ) >&5 2>/dev
/null
11059 case x
$lt_status in
11060 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11061 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11062 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11065 # compilation failed
11066 lt_cv_dlopen_self
=no
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11074 $as_echo "$lt_cv_dlopen_self" >&6; }
11076 if test "x$lt_cv_dlopen_self" = xyes
; then
11077 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11079 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11080 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11081 $as_echo_n "(cached) " >&6
11083 if test "$cross_compiling" = yes; then :
11084 lt_cv_dlopen_self_static
=cross
11086 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11087 lt_status
=$lt_dlunknown
11088 cat > conftest.
$ac_ext <<_LT_EOF
11089 #line 11089 "configure"
11090 #include "confdefs.h"
11099 # define LT_DLGLOBAL RTLD_GLOBAL
11102 # define LT_DLGLOBAL DL_GLOBAL
11104 # define LT_DLGLOBAL 0
11108 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11109 find out it does not work in some platform. */
11110 #ifndef LT_DLLAZY_OR_NOW
11112 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11115 # define LT_DLLAZY_OR_NOW DL_LAZY
11118 # define LT_DLLAZY_OR_NOW RTLD_NOW
11121 # define LT_DLLAZY_OR_NOW DL_NOW
11123 # define LT_DLLAZY_OR_NOW 0
11130 void fnord() { int i=42;}
11133 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11134 int status = $lt_dlunknown;
11138 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11139 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11140 /* dlclose (self); */
11148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11149 (eval $ac_link) 2>&5
11151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11152 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11153 (.
/conftest
; exit; ) >&5 2>/dev
/null
11155 case x
$lt_status in
11156 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11157 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11158 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11161 # compilation failed
11162 lt_cv_dlopen_self_static
=no
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11170 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11173 CPPFLAGS
="$save_CPPFLAGS"
11174 LDFLAGS
="$save_LDFLAGS"
11179 case $lt_cv_dlopen_self in
11180 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11181 *) enable_dlopen_self
=unknown
;;
11184 case $lt_cv_dlopen_self_static in
11185 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11186 *) enable_dlopen_self_static
=unknown
;;
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11209 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11210 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11211 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11212 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11214 $as_echo "yes" >&6; }
11216 # FIXME - insert some real tests, host_os isn't really good enough
11219 if test -n "$STRIP" ; then
11220 striplib
="$STRIP -x"
11221 old_striplib
="$STRIP -S"
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11223 $as_echo "yes" >&6; }
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11226 $as_echo "no" >&6; }
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11231 $as_echo "no" >&6; }
11247 # Report which library types will actually be built
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11249 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11251 $as_echo "$can_build_shared" >&6; }
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11254 $as_echo_n "checking whether to build shared libraries... " >&6; }
11255 test "$can_build_shared" = "no" && enable_shared
=no
11257 # On AIX, shared libraries and static libraries use the same namespace, and
11258 # are all built from PIC.
11261 test "$enable_shared" = yes && enable_static
=no
11262 if test -n "$RANLIB"; then
11263 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11264 postinstall_cmds
='$RANLIB $lib'
11269 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11270 test "$enable_shared" = yes && enable_static
=no
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11275 $as_echo "$enable_shared" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11278 $as_echo_n "checking whether to build static libraries... " >&6; }
11279 # Make sure either enable_shared or enable_static is yes.
11280 test "$enable_shared" = yes || enable_static
=yes
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11282 $as_echo "$enable_static" >&6; }
11289 ac_cpp
='$CPP $CPPFLAGS'
11290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11298 ac_cpp
='$CXXCPP $CPPFLAGS'
11299 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11300 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11301 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11303 archive_cmds_need_lc_CXX
=no
11304 allow_undefined_flag_CXX
=
11305 always_export_symbols_CXX
=no
11306 archive_expsym_cmds_CXX
=
11307 compiler_needs_object_CXX
=no
11308 export_dynamic_flag_spec_CXX
=
11309 hardcode_direct_CXX
=no
11310 hardcode_direct_absolute_CXX
=no
11311 hardcode_libdir_flag_spec_CXX
=
11312 hardcode_libdir_flag_spec_ld_CXX
=
11313 hardcode_libdir_separator_CXX
=
11314 hardcode_minus_L_CXX
=no
11315 hardcode_shlibpath_var_CXX
=unsupported
11316 hardcode_automatic_CXX
=no
11317 inherit_rpath_CXX
=no
11319 module_expsym_cmds_CXX
=
11320 link_all_deplibs_CXX
=unknown
11321 old_archive_cmds_CXX
=$old_archive_cmds
11322 no_undefined_flag_CXX
=
11323 whole_archive_flag_spec_CXX
=
11324 enable_shared_with_static_runtimes_CXX
=no
11326 # Source file extension for C++ test sources.
11329 # Object file extension for compiled C++ test sources.
11333 # No sense in running all these tests if we already determined that
11334 # the CXX compiler isn't working. Some variables (like enable_shared)
11335 # are currently assumed to apply to all compilers on this platform,
11336 # and will be corrupted by setting them based on a non-working compiler.
11337 if test "$_lt_caught_CXX_error" != yes; then
11338 # Code to be used in simple compile tests
11339 lt_simple_compile_test_code
="int some_variable = 0;"
11341 # Code to be used in simple link tests
11342 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11344 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11351 # If no C compiler was specified, use CC.
11354 # If no C compiler flags were specified, use CFLAGS.
11355 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11357 # Allow CC to be a program name with arguments.
11361 # save warnings/boilerplate of simple test code
11362 ac_outfile
=conftest.
$ac_objext
11363 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11364 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11365 _lt_compiler_boilerplate
=`cat conftest.err`
11368 ac_outfile
=conftest.
$ac_objext
11369 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11370 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11371 _lt_linker_boilerplate
=`cat conftest.err`
11375 # Allow CC to be a program name with arguments.
11380 lt_save_with_gnu_ld
=$with_gnu_ld
11381 lt_save_path_LD
=$lt_cv_path_LD
11382 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11383 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11385 $as_unset lt_cv_prog_gnu_ld
11387 if test -n "${lt_cv_path_LDCXX+set}"; then
11388 lt_cv_path_LD
=$lt_cv_path_LDCXX
11390 $as_unset lt_cv_path_LD
11392 test -z "${LDCXX+set}" || LD
=$LDCXX
11396 for cc_temp
in $compiler""; do
11398 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11399 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11404 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11407 if test -n "$compiler"; then
11408 # We don't want -fno-exception when compiling C++ code, so set the
11409 # no_builtin_flag separately
11410 if test "$GXX" = yes; then
11411 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11413 lt_prog_compiler_no_builtin_flag_CXX
=
11416 if test "$GXX" = yes; then
11417 # Set up default GNU C++ configuration
11421 # Check whether --with-gnu-ld was given.
11422 if test "${with_gnu_ld+set}" = set; then :
11423 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11429 if test "$GCC" = yes; then
11430 # Check if gcc -print-prog-name=ld gives a path.
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11432 $as_echo_n "checking for ld used by $CC... " >&6; }
11435 # gcc leaves a trailing carriage return which upsets mingw
11436 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11438 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11441 # Accept absolute paths.
11443 re_direlt
='/[^/][^/]*/\.\./'
11444 # Canonicalize the pathname of ld
11445 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11446 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11447 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11449 test -z "$LD" && LD
="$ac_prog"
11452 # If it fails, then pretend we aren't using GCC.
11456 # If it is relative, then search for the first ld in PATH.
11457 with_gnu_ld
=unknown
11460 elif test "$with_gnu_ld" = yes; then
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11462 $as_echo_n "checking for GNU ld... " >&6; }
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11465 $as_echo_n "checking for non-GNU ld... " >&6; }
11467 if test "${lt_cv_path_LD+set}" = set; then :
11468 $as_echo_n "(cached) " >&6
11470 if test -z "$LD"; then
11471 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11472 for ac_dir
in $PATH; do
11474 test -z "$ac_dir" && ac_dir
=.
11475 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11476 lt_cv_path_LD
="$ac_dir/$ac_prog"
11477 # Check to see if the program is GNU ld. I'd rather use --version,
11478 # but apparently some variants of GNU ld only accept -v.
11479 # Break only if it was the GNU/non-GNU ld that we prefer.
11480 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11481 *GNU
* |
*'with BFD'*)
11482 test "$with_gnu_ld" != no
&& break
11485 test "$with_gnu_ld" != yes && break
11492 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11496 LD
="$lt_cv_path_LD"
11497 if test -n "$LD"; then
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11499 $as_echo "$LD" >&6; }
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11502 $as_echo "no" >&6; }
11504 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11506 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11507 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11508 $as_echo_n "(cached) " >&6
11510 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11511 case `$LD -v 2>&1 </dev/null` in
11512 *GNU
* |
*'with BFD'*)
11513 lt_cv_prog_gnu_ld
=yes
11516 lt_cv_prog_gnu_ld
=no
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11521 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11522 with_gnu_ld
=$lt_cv_prog_gnu_ld
11530 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11531 # archiving commands below assume that GNU ld is being used.
11532 if test "$with_gnu_ld" = yes; then
11533 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11534 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11536 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11537 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11539 # If archive_cmds runs LD, not CC, wlarc should be empty
11540 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11541 # investigate it a little bit more. (MM)
11544 # ancient GNU ld didn't support --whole-archive et. al.
11545 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11546 $GREP 'no-whole-archive' > /dev
/null
; then
11547 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11549 whole_archive_flag_spec_CXX
=
11555 # A generic and very simple default shared library creation
11556 # command for GNU C++ for the case where it uses the native
11557 # linker, instead of GNU ld. If possible, this setting should
11558 # overridden to take advantage of the native linker features on
11559 # the platform it is being used on.
11560 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11563 # Commands to make compiler produce verbose output that lists
11564 # what "hidden" libraries, object files and flags are used when
11565 # linking a shared library.
11566 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11574 # PORTME: fill in a description of your system's C++ link characteristics
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11576 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11580 # FIXME: insert proper C++ library support
11584 if test "$host_cpu" = ia64
; then
11585 # On IA64, the linker does run time linking by default, so we don't
11586 # have to do anything special.
11587 aix_use_runtimelinking
=no
11588 exp_sym_flag
='-Bexport'
11591 aix_use_runtimelinking
=no
11593 # Test if we are trying to use run time linking or normal
11594 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11595 # need to do runtime linking.
11596 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11597 for ld_flag
in $LDFLAGS; do
11600 aix_use_runtimelinking
=yes
11608 exp_sym_flag
='-bexport'
11609 no_entry_flag
='-bnoentry'
11612 # When large executables or shared objects are built, AIX ld can
11613 # have problems creating the table of contents. If linking a library
11614 # or program results in "error TOC overflow" add -mminimal-toc to
11615 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11616 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11618 archive_cmds_CXX
=''
11619 hardcode_direct_CXX
=yes
11620 hardcode_direct_absolute_CXX
=yes
11621 hardcode_libdir_separator_CXX
=':'
11622 link_all_deplibs_CXX
=yes
11623 file_list_spec_CXX
='${wl}-f,'
11625 if test "$GXX" = yes; then
11626 case $host_os in aix4.
[012]|aix4.
[012].
*)
11627 # We only want to do this on AIX 4.2 and lower, the check
11628 # below for broken collect2 doesn't work under 4.3+
11629 collect2name
=`${CC} -print-prog-name=collect2`
11630 if test -f "$collect2name" &&
11631 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11633 # We have reworked collect2
11636 # We have old collect2
11637 hardcode_direct_CXX
=unsupported
11638 # It fails to find uninstalled libraries when the uninstalled
11639 # path is not listed in the libpath. Setting hardcode_minus_L
11640 # to unsupported forces relinking
11641 hardcode_minus_L_CXX
=yes
11642 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11643 hardcode_libdir_separator_CXX
=
11646 shared_flag
='-shared'
11647 if test "$aix_use_runtimelinking" = yes; then
11648 shared_flag
="$shared_flag "'${wl}-G'
11652 if test "$host_cpu" = ia64
; then
11653 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11654 # chokes on -Wl,-G. The following line is correct:
11657 if test "$aix_use_runtimelinking" = yes; then
11658 shared_flag
='${wl}-G'
11660 shared_flag
='${wl}-bM:SRE'
11665 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11666 # It seems that -bexpall does not export symbols beginning with
11667 # underscore (_), so it is better to generate a list of symbols to
11669 always_export_symbols_CXX
=yes
11670 if test "$aix_use_runtimelinking" = yes; then
11671 # Warning - without using the other runtime loading flags (-brtl),
11672 # -berok will link without error, but may produce a broken library.
11673 allow_undefined_flag_CXX
='-berok'
11674 # Determine the default libpath from the value encoded in an empty
11676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11687 if ac_fn_cxx_try_link
"$LINENO"; then :
11689 lt_aix_libpath_sed
='
11690 /Import File Strings/,/^$/ {
11696 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11697 # Check for a 64-bit object if we didn't find anything.
11698 if test -z "$aix_libpath"; then
11699 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11702 rm -f core conftest.err conftest.
$ac_objext \
11703 conftest
$ac_exeext conftest.
$ac_ext
11704 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11706 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11708 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11710 if test "$host_cpu" = ia64
; then
11711 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11712 allow_undefined_flag_CXX
="-z nodefs"
11713 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"
11715 # Determine the default libpath from the value encoded in an
11716 # empty executable.
11717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11728 if ac_fn_cxx_try_link
"$LINENO"; then :
11730 lt_aix_libpath_sed
='
11731 /Import File Strings/,/^$/ {
11737 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11738 # Check for a 64-bit object if we didn't find anything.
11739 if test -z "$aix_libpath"; then
11740 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11743 rm -f core conftest.err conftest.
$ac_objext \
11744 conftest
$ac_exeext conftest.
$ac_ext
11745 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11747 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11748 # Warning - without using the other run time loading flags,
11749 # -berok will link without error, but may produce a broken library.
11750 no_undefined_flag_CXX
=' ${wl}-bernotok'
11751 allow_undefined_flag_CXX
=' ${wl}-berok'
11752 # Exported symbols can be pulled into shared objects from archives
11753 whole_archive_flag_spec_CXX
='$convenience'
11754 archive_cmds_need_lc_CXX
=yes
11755 # This is similar to how AIX traditionally builds its shared
11757 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11763 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11764 allow_undefined_flag_CXX
=unsupported
11765 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11766 # support --undefined. This deserves some investigation. FIXME
11767 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11774 case $cc_basename in
11776 # FIXME: insert proper C++ library support
11782 cygwin
* | mingw
* | pw32
* | cegcc
*)
11783 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11784 # as there is no search path for DLLs.
11785 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11786 allow_undefined_flag_CXX
=unsupported
11787 always_export_symbols_CXX
=no
11788 enable_shared_with_static_runtimes_CXX
=yes
11790 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11791 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'
11792 # If the export-symbols file already is a .def file (1st line
11793 # is EXPORTS), use it as is; otherwise, prepend...
11794 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11795 cp $export_symbols $output_objdir/$soname.def;
11797 echo EXPORTS > $output_objdir/$soname.def;
11798 cat $export_symbols >> $output_objdir/$soname.def;
11800 $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'
11805 darwin
* | rhapsody
*)
11808 archive_cmds_need_lc_CXX
=no
11809 hardcode_direct_CXX
=no
11810 hardcode_automatic_CXX
=yes
11811 hardcode_shlibpath_var_CXX
=unsupported
11812 whole_archive_flag_spec_CXX
=''
11813 link_all_deplibs_CXX
=yes
11814 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11815 case $cc_basename in
11816 ifort
*) _lt_dar_can_shared
=yes ;;
11817 *) _lt_dar_can_shared
=$GCC ;;
11819 if test "$_lt_dar_can_shared" = "yes"; then
11820 output_verbose_link_cmd
=echo
11821 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}"
11822 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11823 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}"
11824 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}"
11825 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11826 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}"
11827 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}"
11837 case $cc_basename in
11839 # FIXME: insert proper C++ library support
11843 # Green Hills C++ Compiler
11844 # FIXME: insert proper C++ library support
11848 # FIXME: insert proper C++ library support
11855 # C++ shared libraries reported to be fairly broken before
11861 archive_cmds_need_lc_CXX
=no
11864 freebsd
* | dragonfly
*)
11865 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11874 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11875 hardcode_libdir_separator_CXX
=:
11876 export_dynamic_flag_spec_CXX
='${wl}-E'
11877 hardcode_direct_CXX
=yes
11878 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11879 # but as the default
11880 # location of the library.
11882 case $cc_basename in
11884 # FIXME: insert proper C++ library support
11888 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11889 # Commands to make compiler produce verbose output that lists
11890 # what "hidden" libraries, object files and flags are used when
11891 # linking a shared library.
11893 # There doesn't appear to be a way to prevent this compiler from
11894 # explicitly linking system object files so we need to strip them
11895 # from the output so that they don't get included in the library
11897 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; $ECHO "X$list" | $Xsed'
11900 if test "$GXX" = yes; then
11901 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11903 # FIXME: insert proper C++ library support
11911 if test $with_gnu_ld = no
; then
11912 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11913 hardcode_libdir_separator_CXX
=:
11919 export_dynamic_flag_spec_CXX
='${wl}-E'
11925 hardcode_direct_CXX
=no
11926 hardcode_shlibpath_var_CXX
=no
11929 hardcode_direct_CXX
=yes
11930 hardcode_direct_absolute_CXX
=yes
11931 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11932 # but as the default
11933 # location of the library.
11937 case $cc_basename in
11939 # FIXME: insert proper C++ library support
11945 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11948 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11951 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11954 # Commands to make compiler produce verbose output that lists
11955 # what "hidden" libraries, object files and flags are used when
11956 # linking a shared library.
11958 # There doesn't appear to be a way to prevent this compiler from
11959 # explicitly linking system object files so we need to strip them
11960 # from the output so that they don't get included in the library
11962 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; $ECHO "X$list" | $Xsed'
11965 if test "$GXX" = yes; then
11966 if test $with_gnu_ld = no
; then
11969 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11972 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11975 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11980 # FIXME: insert proper C++ library support
11988 hardcode_direct_CXX
=no
11989 hardcode_shlibpath_var_CXX
=no
11990 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11991 export_dynamic_flag_spec_CXX
='${wl}-E'
11992 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11993 # Instead, shared libraries are loaded at an image base (0x10000000 by
11994 # default) and relocated if they conflict, which is a slow very memory
11995 # consuming and fragmenting process. To avoid this, we pick a random,
11996 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11997 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11998 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'
11999 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'
12002 case $cc_basename in
12005 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12007 # Archives containing C++ object files must be created using
12008 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12009 # necessary to make sure instantiated templates are included
12011 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12014 if test "$GXX" = yes; then
12015 if test "$with_gnu_ld" = no
; then
12016 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12018 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12021 link_all_deplibs_CXX
=yes
12024 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12025 hardcode_libdir_separator_CXX
=:
12026 inherit_rpath_CXX
=yes
12029 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12030 case $cc_basename in
12032 # Kuck and Associates, Inc. (KAI) C++ Compiler
12034 # KCC will only create a shared library if the output file
12035 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12036 # to its proper name (with version) after linking.
12037 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'
12038 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'
12039 # Commands to make compiler produce verbose output that lists
12040 # what "hidden" libraries, object files and flags are used when
12041 # linking a shared library.
12043 # There doesn't appear to be a way to prevent this compiler from
12044 # explicitly linking system object files so we need to strip them
12045 # from the output so that they don't get included in the library
12047 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; $ECHO "X$list" | $Xsed'
12049 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12050 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12052 # Archives containing C++ object files must be created using
12053 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12054 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12059 # version 8.0 and above of icpc choke on multiply defined symbols
12060 # if we add $predep_objects and $postdep_objects, however 7.1 and
12061 # earlier do not add the objects themselves.
12062 case `$CC -V 2>&1` in
12064 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12065 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'
12067 *) # Version 8.0 or newer
12070 ia64
*) tmp_idyn
=' -i_dynamic';;
12072 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12073 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'
12076 archive_cmds_need_lc_CXX
=no
12077 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12078 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12079 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12082 # Portland Group C++ compiler
12084 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
12085 prelink_cmds_CXX
='tpldir=Template.dir~
12087 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12088 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12089 old_archive_cmds_CXX
='tpldir=Template.dir~
12091 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12092 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12094 archive_cmds_CXX
='tpldir=Template.dir~
12096 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12097 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12098 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12100 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12101 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12103 *) # Version 6 will use weak symbols
12104 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12105 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'
12109 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12110 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12111 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12115 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12116 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'
12118 runpath_var
=LD_RUN_PATH
12119 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12120 hardcode_libdir_separator_CXX
=:
12122 # Commands to make compiler produce verbose output that lists
12123 # what "hidden" libraries, object files and flags are used when
12124 # linking a shared library.
12126 # There doesn't appear to be a way to prevent this compiler from
12127 # explicitly linking system object files so we need to strip them
12128 # from the output so that they don't get included in the library
12130 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12133 # IBM XL 8.0 on PPC, with GNU ld
12134 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12135 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12136 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12137 if test "x$supports_anon_versioning" = xyes
; then
12138 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12139 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12140 echo "local: *; };" >> $output_objdir/$libname.ver~
12141 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12145 case `$CC -V 2>&1 | sed 5q` in
12148 no_undefined_flag_CXX
=' -zdefs'
12149 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12150 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'
12151 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12152 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12153 compiler_needs_object_CXX
=yes
12155 # Not sure whether something based on
12156 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12158 output_verbose_link_cmd
='echo'
12160 # Archives containing C++ object files must be created using
12161 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12162 # necessary to make sure instantiated templates are included
12164 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12172 # FIXME: insert proper C++ library support
12177 # FIXME: insert proper C++ library support
12182 case $cc_basename in
12184 # FIXME: insert proper C++ library support
12188 # FIXME: insert proper C++ library support
12195 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12196 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12198 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12199 hardcode_direct_CXX
=yes
12200 hardcode_shlibpath_var_CXX
=no
12202 # Workaround some broken pre-1.5 toolchains
12203 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12211 # C++ shared libraries are fairly broken
12216 if test -f /usr
/libexec
/ld.so
; then
12217 hardcode_direct_CXX
=yes
12218 hardcode_shlibpath_var_CXX
=no
12219 hardcode_direct_absolute_CXX
=yes
12220 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12221 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12222 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12223 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12224 export_dynamic_flag_spec_CXX
='${wl}-E'
12225 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12227 output_verbose_link_cmd
=echo
12233 osf3
* | osf4
* | osf5
*)
12234 case $cc_basename in
12236 # Kuck and Associates, Inc. (KAI) C++ Compiler
12238 # KCC will only create a shared library if the output file
12239 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12240 # to its proper name (with version) after linking.
12241 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'
12243 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12244 hardcode_libdir_separator_CXX
=:
12246 # Archives containing C++ object files must be created using
12247 # the KAI C++ compiler.
12249 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12250 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12254 # Rational C++ 2.4.1
12255 # FIXME: insert proper C++ library support
12261 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12262 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12263 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12266 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12267 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12268 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12269 echo "-hidden">> $lib.exp~
12270 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12272 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12276 hardcode_libdir_separator_CXX
=:
12278 # Commands to make compiler produce verbose output that lists
12279 # what "hidden" libraries, object files and flags are used when
12280 # linking a shared library.
12282 # There doesn't appear to be a way to prevent this compiler from
12283 # explicitly linking system object files so we need to strip them
12284 # from the output so that they don't get included in the library
12286 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12289 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12290 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12293 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12296 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12300 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12301 hardcode_libdir_separator_CXX
=:
12303 # Commands to make compiler produce verbose output that lists
12304 # what "hidden" libraries, object files and flags are used when
12305 # linking a shared library.
12306 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12309 # FIXME: insert proper C++ library support
12317 # FIXME: insert proper C++ library support
12322 case $cc_basename in
12325 # FIXME: insert proper C++ library support
12330 # FIXME: insert proper C++ library support
12334 # FIXME: insert proper C++ library support
12341 case $cc_basename in
12343 # Sun C++ 4.2, 5.x and Centerline C++
12344 archive_cmds_need_lc_CXX
=yes
12345 no_undefined_flag_CXX
=' -zdefs'
12346 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12347 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12348 $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'
12350 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12351 hardcode_shlibpath_var_CXX
=no
12353 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12355 # The compiler driver will combine and reorder linker options,
12356 # but understands `-z linker_flag'.
12357 # Supported since Solaris 2.6 (maybe 2.5.1?)
12358 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12361 link_all_deplibs_CXX
=yes
12363 output_verbose_link_cmd
='echo'
12365 # Archives containing C++ object files must be created using
12366 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12367 # necessary to make sure instantiated templates are included
12369 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12372 # Green Hills C++ Compiler
12373 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12375 # The C++ compiler must be used to create the archive.
12376 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12379 # GNU C++ compiler with Solaris linker
12380 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12381 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12382 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12383 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12384 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12385 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12387 # Commands to make compiler produce verbose output that lists
12388 # what "hidden" libraries, object files and flags are used when
12389 # linking a shared library.
12390 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12392 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12394 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12395 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12396 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12398 # Commands to make compiler produce verbose output that lists
12399 # what "hidden" libraries, object files and flags are used when
12400 # linking a shared library.
12401 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12404 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12406 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12408 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12416 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12417 no_undefined_flag_CXX
='${wl}-z,text'
12418 archive_cmds_need_lc_CXX
=no
12419 hardcode_shlibpath_var_CXX
=no
12420 runpath_var
='LD_RUN_PATH'
12422 case $cc_basename in
12424 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12425 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12428 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12429 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12434 sysv5
* | sco3.2v5
* | sco5v6
*)
12435 # Note: We can NOT use -z defs as we might desire, because we do not
12436 # link with -lc, and that would cause any symbols used from libc to
12437 # always be unresolved, which means just about no library would
12438 # ever link correctly. If we're not using GNU ld we use -z text
12439 # though, which does catch some bad symbols but isn't as heavy-handed
12441 no_undefined_flag_CXX
='${wl}-z,text'
12442 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12443 archive_cmds_need_lc_CXX
=no
12444 hardcode_shlibpath_var_CXX
=no
12445 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12446 hardcode_libdir_separator_CXX
=':'
12447 link_all_deplibs_CXX
=yes
12448 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12449 runpath_var
='LD_RUN_PATH'
12451 case $cc_basename in
12453 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12454 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12457 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12458 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12464 case $cc_basename in
12466 # NonStop-UX NCC 3.20
12467 # FIXME: insert proper C++ library support
12471 # FIXME: insert proper C++ library support
12478 # FIXME: insert proper C++ library support
12483 # FIXME: insert proper C++ library support
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12489 $as_echo "$ld_shlibs_CXX" >&6; }
12490 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12496 ## There is no encapsulation within the following macros, do not change
12497 ## the running order or otherwise move them around unless you know exactly
12498 ## what you are doing...
12499 # Dependencies to place before and after the object being linked:
12500 predep_objects_CXX
=
12501 postdep_objects_CXX
=
12504 compiler_lib_search_path_CXX
=
12506 cat > conftest.
$ac_ext <<_LT_EOF
12510 Foo (void) { a = 0; }
12516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12517 (eval $ac_compile) 2>&5
12519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12520 test $ac_status = 0; }; then
12521 # Parse the compiler output and extract the necessary
12522 # objects, libraries and library flags.
12524 # Sentinel used to keep track of whether or not we are before
12525 # the conftest object file.
12526 pre_test_object_deps_done
=no
12528 for p
in `eval "$output_verbose_link_cmd"`; do
12532 # Some compilers place space between "-{L,R}" and the path.
12533 # Remove the space.
12534 if test $p = "-L" ||
12535 test $p = "-R"; then
12542 if test "$pre_test_object_deps_done" = no
; then
12545 # Internal compiler library paths should come after those
12546 # provided the user. The postdeps already come after the
12547 # user supplied libs so there is no need to process them.
12548 if test -z "$compiler_lib_search_path_CXX"; then
12549 compiler_lib_search_path_CXX
="${prev}${p}"
12551 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12554 # The "-l" case would never come before the object being
12555 # linked, so don't bother handling this case.
12558 if test -z "$postdeps_CXX"; then
12559 postdeps_CXX
="${prev}${p}"
12561 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12567 # This assumes that the test object file only shows up
12568 # once in the compiler output.
12569 if test "$p" = "conftest.$objext"; then
12570 pre_test_object_deps_done
=yes
12574 if test "$pre_test_object_deps_done" = no
; then
12575 if test -z "$predep_objects_CXX"; then
12576 predep_objects_CXX
="$p"
12578 predep_objects_CXX
="$predep_objects_CXX $p"
12581 if test -z "$postdep_objects_CXX"; then
12582 postdep_objects_CXX
="$p"
12584 postdep_objects_CXX
="$postdep_objects_CXX $p"
12589 *) ;; # Ignore the rest.
12597 echo "libtool.m4: error: problem compiling CXX test program"
12600 $RM -f confest.
$objext
12602 # PORTME: override above test on systems where it is broken
12605 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12606 # hack all around it, let's just trust "g++" to DTRT.
12607 predep_objects_CXX
=
12608 postdep_objects_CXX
=
12613 case `$CC -V 2>&1 | sed 5q` in
12617 # The more standards-conforming stlport4 library is
12618 # incompatible with the Cstd library. Avoid specifying
12619 # it if it's in CXXFLAGS. Ignore libCrun as
12620 # -library=stlport4 depends on it.
12621 case " $CXX $CXXFLAGS " in
12622 *" -library=stlport4 "*)
12623 solaris_use_stlport4
=yes
12627 if test "$solaris_use_stlport4" != yes; then
12628 postdeps_CXX
='-library=Cstd -library=Crun'
12635 case $cc_basename in
12637 # The more standards-conforming stlport4 library is
12638 # incompatible with the Cstd library. Avoid specifying
12639 # it if it's in CXXFLAGS. Ignore libCrun as
12640 # -library=stlport4 depends on it.
12641 case " $CXX $CXXFLAGS " in
12642 *" -library=stlport4 "*)
12643 solaris_use_stlport4
=yes
12647 # Adding this requires a known-good setup of shared libraries for
12648 # Sun compiler versions before 5.6, else PIC objects from an old
12649 # archive will be linked into the output, leading to subtle bugs.
12650 if test "$solaris_use_stlport4" != yes; then
12651 postdeps_CXX
='-library=Cstd -library=Crun'
12659 case " $postdeps_CXX " in
12660 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12662 compiler_lib_search_dirs_CXX
=
12663 if test -n "${compiler_lib_search_path_CXX}"; then
12664 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12697 lt_prog_compiler_wl_CXX
=
12698 lt_prog_compiler_pic_CXX
=
12699 lt_prog_compiler_static_CXX
=
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12702 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12704 # C++ specific cases for pic, static, wl, etc.
12705 if test "$GXX" = yes; then
12706 lt_prog_compiler_wl_CXX
='-Wl,'
12707 lt_prog_compiler_static_CXX
='-static'
12711 # All AIX code is PIC.
12712 if test "$host_cpu" = ia64
; then
12713 # AIX 5 now supports IA64 processor
12714 lt_prog_compiler_static_CXX
='-Bstatic'
12721 # see comment about AmigaOS4 .so support
12722 lt_prog_compiler_pic_CXX
='-fPIC'
12725 # FIXME: we need at least 68020 code to build shared libraries, but
12726 # adding the `-m68020' flag to GCC prevents building anything better,
12728 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12733 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12734 # PIC is the default for these OSes.
12736 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12737 # This hack is so that the source file can tell whether it is being
12738 # built for inclusion in a dll (and should export symbols for example).
12739 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12740 # (--disable-auto-import) libraries
12741 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12743 darwin
* | rhapsody
*)
12744 # PIC is the default on this platform
12745 # Common symbols not allowed in MH_DYLIB files
12746 lt_prog_compiler_pic_CXX
='-fno-common'
12749 # DJGPP does not support shared libraries at all
12750 lt_prog_compiler_pic_CXX
=
12753 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12754 # Instead, we relocate shared libraries at runtime.
12757 if test -d /usr
/nec
; then
12758 lt_prog_compiler_pic_CXX
=-Kconform_pic
12762 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12763 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12764 # sets the default TLS model and affects inlining.
12769 lt_prog_compiler_pic_CXX
='-fPIC'
12774 # QNX uses GNU C++, but need to define -shared option too, otherwise
12775 # it will coredump.
12776 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12779 lt_prog_compiler_pic_CXX
='-fPIC'
12785 # All AIX code is PIC.
12786 if test "$host_cpu" = ia64
; then
12787 # AIX 5 now supports IA64 processor
12788 lt_prog_compiler_static_CXX
='-Bstatic'
12790 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12794 case $cc_basename in
12796 # Green Hills C++ Compiler
12797 # _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"
12802 case $cc_basename in
12804 lt_prog_compiler_pic_CXX
='-KPIC'
12807 # Green Hills C++ Compiler
12808 lt_prog_compiler_pic_CXX
='-pic'
12814 freebsd
* | dragonfly
*)
12815 # FreeBSD uses GNU C++
12817 hpux9
* | hpux10
* | hpux11
*)
12818 case $cc_basename in
12820 lt_prog_compiler_wl_CXX
='-Wl,'
12821 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12822 if test "$host_cpu" != ia64
; then
12823 lt_prog_compiler_pic_CXX
='+Z'
12827 lt_prog_compiler_wl_CXX
='-Wl,'
12828 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12834 lt_prog_compiler_pic_CXX
='+Z'
12843 # This is c89, which is MS Visual C++ (no shared libs)
12844 # Anyone wants to do a port?
12846 irix5
* | irix6
* | nonstopux
*)
12847 case $cc_basename in
12849 lt_prog_compiler_wl_CXX
='-Wl,'
12850 lt_prog_compiler_static_CXX
='-non_shared'
12851 # CC pic flag -KPIC is the default.
12857 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12858 case $cc_basename in
12861 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12862 lt_prog_compiler_pic_CXX
='-fPIC'
12865 # old Intel C++ for x86_64 which still supported -KPIC.
12866 lt_prog_compiler_wl_CXX
='-Wl,'
12867 lt_prog_compiler_pic_CXX
='-KPIC'
12868 lt_prog_compiler_static_CXX
='-static'
12871 # Intel C++, used to be incompatible with GCC.
12872 # ICC 10 doesn't accept -KPIC any more.
12873 lt_prog_compiler_wl_CXX
='-Wl,'
12874 lt_prog_compiler_pic_CXX
='-fPIC'
12875 lt_prog_compiler_static_CXX
='-static'
12878 # Portland Group C++ compiler
12879 lt_prog_compiler_wl_CXX
='-Wl,'
12880 lt_prog_compiler_pic_CXX
='-fpic'
12881 lt_prog_compiler_static_CXX
='-Bstatic'
12885 # Make sure the PIC flag is empty. It appears that all Alpha
12886 # Linux and Compaq Tru64 Unix objects are PIC.
12887 lt_prog_compiler_pic_CXX
=
12888 lt_prog_compiler_static_CXX
='-non_shared'
12891 # IBM XL 8.0 on PPC
12892 lt_prog_compiler_wl_CXX
='-Wl,'
12893 lt_prog_compiler_pic_CXX
='-qpic'
12894 lt_prog_compiler_static_CXX
='-qstaticlink'
12897 case `$CC -V 2>&1 | sed 5q` in
12900 lt_prog_compiler_pic_CXX
='-KPIC'
12901 lt_prog_compiler_static_CXX
='-Bstatic'
12902 lt_prog_compiler_wl_CXX
='-Qoption ld '
12913 case $cc_basename in
12915 lt_prog_compiler_pic_CXX
='-W c,exportall'
12921 netbsd
* | netbsdelf
*-gnu)
12924 # QNX uses GNU C++, but need to define -shared option too, otherwise
12925 # it will coredump.
12926 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12928 osf3
* | osf4
* | osf5
*)
12929 case $cc_basename in
12931 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12934 # Rational C++ 2.4.1
12935 lt_prog_compiler_pic_CXX
='-pic'
12938 # Digital/Compaq C++
12939 lt_prog_compiler_wl_CXX
='-Wl,'
12940 # Make sure the PIC flag is empty. It appears that all Alpha
12941 # Linux and Compaq Tru64 Unix objects are PIC.
12942 lt_prog_compiler_pic_CXX
=
12943 lt_prog_compiler_static_CXX
='-non_shared'
12952 case $cc_basename in
12954 # Sun C++ 4.2, 5.x and Centerline C++
12955 lt_prog_compiler_pic_CXX
='-KPIC'
12956 lt_prog_compiler_static_CXX
='-Bstatic'
12957 lt_prog_compiler_wl_CXX
='-Qoption ld '
12960 # Green Hills C++ Compiler
12961 lt_prog_compiler_pic_CXX
='-PIC'
12968 case $cc_basename in
12971 lt_prog_compiler_pic_CXX
='-pic'
12972 lt_prog_compiler_static_CXX
='-Bstatic'
12976 lt_prog_compiler_pic_CXX
='-pic'
12982 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12983 case $cc_basename in
12985 lt_prog_compiler_wl_CXX
='-Wl,'
12986 lt_prog_compiler_pic_CXX
='-KPIC'
12987 lt_prog_compiler_static_CXX
='-Bstatic'
12992 case $cc_basename in
12994 # NonStop-UX NCC 3.20
12995 lt_prog_compiler_pic_CXX
='-KPIC'
13004 lt_prog_compiler_can_build_shared_CXX
=no
13010 # For platforms which do not support PIC, -DPIC is meaningless:
13012 lt_prog_compiler_pic_CXX
=
13015 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13019 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13024 # Check to make sure the PIC flag actually works.
13026 if test -n "$lt_prog_compiler_pic_CXX"; then
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13028 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13029 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13030 $as_echo_n "(cached) " >&6
13032 lt_cv_prog_compiler_pic_works_CXX
=no
13033 ac_outfile
=conftest.
$ac_objext
13034 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13035 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13036 # Insert the option either (1) after the last *FLAGS variable, or
13037 # (2) before a word containing "conftest.", or (3) at the end.
13038 # Note that $ac_compile itself does not contain backslashes and begins
13039 # with a dollar sign (not a hyphen), so the echo should work correctly.
13040 # The option is referenced via a variable to avoid confusing sed.
13041 lt_compile
=`echo "$ac_compile" | $SED \
13042 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13043 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13044 -e 's:$: $lt_compiler_flag:'`
13045 (eval echo "\"\$as_me:13045: $lt_compile\"" >&5)
13046 (eval "$lt_compile" 2>conftest.err
)
13048 cat conftest.err
>&5
13049 echo "$as_me:13049: \$? = $ac_status" >&5
13050 if (exit $ac_status) && test -s "$ac_outfile"; then
13051 # The compiler can only warn and ignore the option if not recognized
13052 # So say no if there are warnings other than the usual output.
13053 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13054 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13055 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13056 lt_cv_prog_compiler_pic_works_CXX
=yes
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13063 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13065 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13066 case $lt_prog_compiler_pic_CXX in
13068 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13071 lt_prog_compiler_pic_CXX
=
13072 lt_prog_compiler_can_build_shared_CXX
=no
13080 # Check to make sure the static flag actually works.
13082 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13084 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13085 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13086 $as_echo_n "(cached) " >&6
13088 lt_cv_prog_compiler_static_works_CXX
=no
13089 save_LDFLAGS
="$LDFLAGS"
13090 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13091 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13092 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13093 # The linker can only warn and ignore the option if not recognized
13094 # So say no if there are warnings
13095 if test -s conftest.err
; then
13096 # Append any errors to the config.log.
13097 cat conftest.err
1>&5
13098 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13099 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13100 if diff conftest.exp conftest.er2
>/dev
/null
; then
13101 lt_cv_prog_compiler_static_works_CXX
=yes
13104 lt_cv_prog_compiler_static_works_CXX
=yes
13108 LDFLAGS
="$save_LDFLAGS"
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13112 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13114 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13117 lt_prog_compiler_static_CXX
=
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13124 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13125 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13126 $as_echo_n "(cached) " >&6
13128 lt_cv_prog_compiler_c_o_CXX
=no
13129 $RM -r conftest
2>/dev
/null
13133 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13135 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13136 # Insert the option either (1) after the last *FLAGS variable, or
13137 # (2) before a word containing "conftest.", or (3) at the end.
13138 # Note that $ac_compile itself does not contain backslashes and begins
13139 # with a dollar sign (not a hyphen), so the echo should work correctly.
13140 lt_compile
=`echo "$ac_compile" | $SED \
13141 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13142 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13143 -e 's:$: $lt_compiler_flag:'`
13144 (eval echo "\"\$as_me:13144: $lt_compile\"" >&5)
13145 (eval "$lt_compile" 2>out
/conftest.err
)
13147 cat out
/conftest.err
>&5
13148 echo "$as_me:13148: \$? = $ac_status" >&5
13149 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13151 # The compiler can only warn and ignore the option if not recognized
13152 # So say no if there are warnings
13153 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13154 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13155 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13156 lt_cv_prog_compiler_c_o_CXX
=yes
13161 # SGI C++ compiler will create directory out/ii_files/ for
13162 # template instantiation
13163 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13164 $RM out
/* && rmdir out
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13171 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13176 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13177 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13178 $as_echo_n "(cached) " >&6
13180 lt_cv_prog_compiler_c_o_CXX
=no
13181 $RM -r conftest
2>/dev
/null
13185 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13187 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13188 # Insert the option either (1) after the last *FLAGS variable, or
13189 # (2) before a word containing "conftest.", or (3) at the end.
13190 # Note that $ac_compile itself does not contain backslashes and begins
13191 # with a dollar sign (not a hyphen), so the echo should work correctly.
13192 lt_compile
=`echo "$ac_compile" | $SED \
13193 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13194 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13195 -e 's:$: $lt_compiler_flag:'`
13196 (eval echo "\"\$as_me:13196: $lt_compile\"" >&5)
13197 (eval "$lt_compile" 2>out
/conftest.err
)
13199 cat out
/conftest.err
>&5
13200 echo "$as_me:13200: \$? = $ac_status" >&5
13201 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13203 # The compiler can only warn and ignore the option if not recognized
13204 # So say no if there are warnings
13205 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13206 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13207 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13208 lt_cv_prog_compiler_c_o_CXX
=yes
13213 # SGI C++ compiler will create directory out/ii_files/ for
13214 # template instantiation
13215 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13216 $RM out
/* && rmdir out
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13223 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13228 hard_links
="nottested"
13229 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13230 # do not overwrite the value of need_locks provided by the user
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13232 $as_echo_n "checking if we can lock with hard links... " >&6; }
13235 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13237 ln conftest.a conftest.b
2>&5 || hard_links
=no
13238 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13240 $as_echo "$hard_links" >&6; }
13241 if test "$hard_links" = no
; then
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13243 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13253 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13255 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13258 # If we're using GNU nm, then we don't want the "-C" option.
13259 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13260 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13261 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13263 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13267 export_symbols_cmds_CXX
="$ltdll_cmds"
13269 cygwin
* | mingw
* | cegcc
*)
13270 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13272 linux
* | k
*bsd
*-gnu)
13273 link_all_deplibs_CXX
=no
13276 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13279 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13282 $as_echo "$ld_shlibs_CXX" >&6; }
13283 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13285 with_gnu_ld_CXX
=$with_gnu_ld
13293 # Do we need to explicitly link libc?
13295 case "x$archive_cmds_need_lc_CXX" in
13297 # Assume -lc should be added
13298 archive_cmds_need_lc_CXX
=yes
13300 if test "$enable_shared" = yes && test "$GCC" = yes; then
13301 case $archive_cmds_CXX in
13303 # FIXME: we may have to deal with multi-command sequences.
13306 # Test whether the compiler implicitly links with -lc since on some
13307 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13308 # to ld, don't add -lc before -lgcc.
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13310 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13312 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13315 (eval $ac_compile) 2>&5
13317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13318 test $ac_status = 0; } 2>conftest.err
; then
13321 libobjs
=conftest.
$ac_objext
13323 wl
=$lt_prog_compiler_wl_CXX
13324 pic_flag
=$lt_prog_compiler_pic_CXX
13330 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13331 allow_undefined_flag_CXX
=
13332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13333 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13336 test $ac_status = 0; }
13338 archive_cmds_need_lc_CXX
=no
13340 archive_cmds_need_lc_CXX
=yes
13342 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13344 cat conftest.err
1>&5
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13348 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13419 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13421 library_names_spec
=
13422 libname_spec
='lib$name'
13426 postuninstall_cmds
=
13430 shlibpath_overrides_runpath
=unknown
13432 dynamic_linker
="$host_os ld.so"
13433 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13434 need_lib_prefix
=unknown
13435 hardcode_into_libs
=no
13437 # when you set need_version to no, make sure it does not cause -set_version
13438 # flags to be left without arguments
13439 need_version
=unknown
13444 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13445 shlibpath_var
=LIBPATH
13447 # AIX 3 has no versioning support, so we append a major version to the name.
13448 soname_spec
='${libname}${release}${shared_ext}$major'
13455 hardcode_into_libs
=yes
13456 if test "$host_cpu" = ia64
; then
13457 # AIX 5 supports IA64
13458 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13459 shlibpath_var
=LD_LIBRARY_PATH
13461 # With GCC up to 2.95.x, collect2 would create an import file
13462 # for dependence libraries. The import file would start with
13463 # the line `#! .'. This would cause the generated library to
13464 # depend on `.', always an invalid library. This was fixed in
13465 # development snapshots of GCC prior to 3.0.
13467 aix4 | aix4.
[01] | aix4.
[01].
*)
13468 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13470 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13473 can_build_shared
=no
13477 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13478 # soname into executable. Probably we can add versioning support to
13479 # collect2, so additional links can be useful in future.
13480 if test "$aix_use_runtimelinking" = yes; then
13481 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13482 # instead of lib<name>.a to let people know that these are not
13483 # typical AIX shared libraries.
13484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13486 # We preserve .a as extension for shared libraries through AIX4.2
13487 # and later when we are not doing run time linking.
13488 library_names_spec
='${libname}${release}.a $libname.a'
13489 soname_spec
='${libname}${release}${shared_ext}$major'
13491 shlibpath_var
=LIBPATH
13498 # Since July 2007 AmigaOS4 officially supports .so libraries.
13499 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13503 library_names_spec
='$libname.ixlibrary $libname.a'
13504 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13505 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
13511 library_names_spec
='${libname}${shared_ext}'
13512 dynamic_linker
="$host_os ld.so"
13513 shlibpath_var
=LIBRARY_PATH
13519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13520 soname_spec
='${libname}${release}${shared_ext}$major'
13521 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13522 shlibpath_var
=LD_LIBRARY_PATH
13523 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13524 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13525 # the default ld.so.conf also contains /usr/contrib/lib and
13526 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13527 # libtool to hard-code these into programs
13530 cygwin
* | mingw
* | pw32
* | cegcc
*)
13531 version_type
=windows
13536 case $GCC,$host_os in
13537 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13538 library_names_spec
='$libname.dll.a'
13539 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13540 postinstall_cmds
='base_file=`basename \${file}`~
13541 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13542 dldir=$destdir/`dirname \$dlpath`~
13543 test -d \$dldir || mkdir -p \$dldir~
13544 $install_prog $dir/$dlname \$dldir/$dlname~
13545 chmod a+x \$dldir/$dlname~
13546 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13547 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13549 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13550 dlpath=$dir/\$dldll~
13552 shlibpath_overrides_runpath
=yes
13556 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13557 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13558 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13561 # MinGW DLLs use traditional 'lib' prefix
13562 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13563 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13564 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
13565 # It is most probably a Windows format PATH printed by
13566 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13567 # path with ; separators, and with drive letters. We can handle the
13568 # drive letters (cygwin fileutils understands them), so leave them,
13569 # especially as we might pass files found there to a mingw objdump,
13570 # which wouldn't understand a cygwinified path. Ahh.
13571 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13573 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13577 # pw32 DLLs use 'pw' prefix rather than 'lib'
13578 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13584 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13587 dynamic_linker
='Win32 ld.exe'
13588 # FIXME: first we should search . and the directory the executable is in
13592 darwin
* | rhapsody
*)
13593 dynamic_linker
="$host_os dyld"
13594 version_type
=darwin
13597 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13598 soname_spec
='${libname}${release}${major}$shared_ext'
13599 shlibpath_overrides_runpath
=yes
13600 shlibpath_var
=DYLD_LIBRARY_PATH
13601 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13603 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13611 soname_spec
='${libname}${release}${shared_ext}$major'
13612 shlibpath_var
=LD_LIBRARY_PATH
13619 freebsd
* | dragonfly
*)
13620 # DragonFly does not have aout. When/if they implement a new
13621 # versioning mechanism, adjust this.
13622 if test -x /usr
/bin
/objformat
; then
13623 objformat
=`/usr/bin/objformat`
13626 freebsd
[123]*) objformat
=aout
;;
13627 *) objformat
=elf
;;
13630 version_type
=freebsd-
$objformat
13631 case $version_type in
13633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13638 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13642 shlibpath_var
=LD_LIBRARY_PATH
13645 shlibpath_overrides_runpath
=yes
13647 freebsd3.
[01]* | freebsdelf3.
[01]*)
13648 shlibpath_overrides_runpath
=yes
13649 hardcode_into_libs
=yes
13651 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13652 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13653 shlibpath_overrides_runpath
=no
13654 hardcode_into_libs
=yes
13656 *) # from 4.6 on, and DragonFly
13657 shlibpath_overrides_runpath
=yes
13658 hardcode_into_libs
=yes
13667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13668 soname_spec
='${libname}${release}${shared_ext}$major'
13669 shlibpath_var
=LD_LIBRARY_PATH
13670 hardcode_into_libs
=yes
13673 hpux9
* | hpux10
* | hpux11
*)
13674 # Give a soname corresponding to the major version so that dld.sl refuses to
13675 # link against other versions.
13682 hardcode_into_libs
=yes
13683 dynamic_linker
="$host_os dld.so"
13684 shlibpath_var
=LD_LIBRARY_PATH
13685 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13687 soname_spec
='${libname}${release}${shared_ext}$major'
13688 if test "X$HPUX_IA64_MODE" = X32
; then
13689 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13691 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13693 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13697 hardcode_into_libs
=yes
13698 dynamic_linker
="$host_os dld.sl"
13699 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13700 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13702 soname_spec
='${libname}${release}${shared_ext}$major'
13703 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13704 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13708 dynamic_linker
="$host_os dld.sl"
13709 shlibpath_var
=SHLIB_PATH
13710 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13712 soname_spec
='${libname}${release}${shared_ext}$major'
13715 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13716 postinstall_cmds
='chmod 555 $lib'
13723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13724 soname_spec
='${libname}${release}${shared_ext}$major'
13725 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13726 shlibpath_var
=LD_LIBRARY_PATH
13727 shlibpath_overrides_runpath
=no
13728 hardcode_into_libs
=yes
13731 irix5
* | irix6
* | nonstopux
*)
13733 nonstopux
*) version_type
=nonstopux
;;
13735 if test "$lt_cv_prog_gnu_ld" = yes; then
13743 soname_spec
='${libname}${release}${shared_ext}$major'
13744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13746 irix5
* | nonstopux
*)
13747 libsuff
= shlibsuff
=
13750 case $LD in # libtool.m4 will add one of these switches to LD
13751 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13752 libsuff
= shlibsuff
= libmagic
=32-bit;;
13753 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13754 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13755 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13756 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13757 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13761 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13762 shlibpath_overrides_runpath
=no
13763 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13764 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13765 hardcode_into_libs
=yes
13768 # No shared lib support for Linux oldld, aout, or coff.
13769 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13773 # This must be Linux ELF.
13774 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13779 soname_spec
='${libname}${release}${shared_ext}$major'
13780 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13781 shlibpath_var
=LD_LIBRARY_PATH
13782 shlibpath_overrides_runpath
=no
13783 # Some binutils ld are patched to set DT_RUNPATH
13784 save_LDFLAGS
=$LDFLAGS
13785 save_libdir
=$libdir
13786 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13787 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13789 /* end confdefs.h. */
13799 if ac_fn_cxx_try_link
"$LINENO"; then :
13800 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13801 shlibpath_overrides_runpath
=yes
13804 rm -f core conftest.err conftest.
$ac_objext \
13805 conftest
$ac_exeext conftest.
$ac_ext
13806 LDFLAGS
=$save_LDFLAGS
13807 libdir
=$save_libdir
13809 # This implies no fast_install, which is unacceptable.
13810 # Some rework will be needed to allow for fast_install
13811 # before this can be enabled.
13812 hardcode_into_libs
=yes
13814 # Append ld.so.conf contents to the search path
13815 if test -f /etc
/ld.so.conf
; then
13816 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;/^$/d' | tr '\n' ' '`
13817 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13820 # We used to test for /lib/ld.so.1 and disable shared libraries on
13821 # powerpc, because MkLinux only supported shared libraries with the
13822 # GNU dynamic linker. Since this was broken with cross compilers,
13823 # most powerpc-linux boxes support dynamic linking these days and
13824 # people can always --disable-shared, the test was removed, and we
13825 # assume the GNU/Linux dynamic linker is in use.
13826 dynamic_linker
='GNU/Linux ld.so'
13833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13834 soname_spec
='${libname}${release}${shared_ext}$major'
13835 shlibpath_var
=LD_LIBRARY_PATH
13836 shlibpath_overrides_runpath
=no
13837 hardcode_into_libs
=yes
13838 dynamic_linker
='NetBSD ld.elf_so'
13845 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13847 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13848 dynamic_linker
='NetBSD (a.out) ld.so'
13850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13851 soname_spec
='${libname}${release}${shared_ext}$major'
13852 dynamic_linker
='NetBSD ld.elf_so'
13854 shlibpath_var
=LD_LIBRARY_PATH
13855 shlibpath_overrides_runpath
=yes
13856 hardcode_into_libs
=yes
13861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13862 shlibpath_var
=LD_LIBRARY_PATH
13863 shlibpath_overrides_runpath
=yes
13870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13871 soname_spec
='${libname}${release}${shared_ext}$major'
13872 shlibpath_var
=LD_LIBRARY_PATH
13873 shlibpath_overrides_runpath
=no
13874 hardcode_into_libs
=yes
13875 dynamic_linker
='ldqnx.so'
13880 sys_lib_dlsearch_path_spec
="/usr/lib"
13882 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13884 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13885 *) need_version
=no
;;
13887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13888 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13889 shlibpath_var
=LD_LIBRARY_PATH
13890 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13892 openbsd2.
[89] | openbsd2.
[89].
*)
13893 shlibpath_overrides_runpath
=no
13896 shlibpath_overrides_runpath
=yes
13900 shlibpath_overrides_runpath
=yes
13905 libname_spec
='$name'
13908 library_names_spec
='$libname${shared_ext} $libname.a'
13909 dynamic_linker
='OS/2 ld.exe'
13910 shlibpath_var
=LIBPATH
13913 osf3
* | osf4
* | osf5
*)
13917 soname_spec
='${libname}${release}${shared_ext}$major'
13918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13919 shlibpath_var
=LD_LIBRARY_PATH
13920 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13921 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13933 soname_spec
='${libname}${release}${shared_ext}$major'
13934 shlibpath_var
=LD_LIBRARY_PATH
13935 shlibpath_overrides_runpath
=yes
13936 hardcode_into_libs
=yes
13937 # ldd complains unless libraries are executable
13938 postinstall_cmds
='chmod +x $lib'
13943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13944 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13945 shlibpath_var
=LD_LIBRARY_PATH
13946 shlibpath_overrides_runpath
=yes
13947 if test "$with_gnu_ld" = yes; then
13955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13956 soname_spec
='${libname}${release}${shared_ext}$major'
13957 shlibpath_var
=LD_LIBRARY_PATH
13958 case $host_vendor in
13960 shlibpath_overrides_runpath
=no
13962 runpath_var
=LD_RUN_PATH
13970 shlibpath_overrides_runpath
=no
13971 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13977 if test -d /usr
/nec
;then
13979 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13980 soname_spec
='$libname${shared_ext}.$major'
13981 shlibpath_var
=LD_LIBRARY_PATH
13985 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13986 version_type
=freebsd-elf
13989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13990 soname_spec
='${libname}${release}${shared_ext}$major'
13991 shlibpath_var
=LD_LIBRARY_PATH
13992 shlibpath_overrides_runpath
=yes
13993 hardcode_into_libs
=yes
13994 if test "$with_gnu_ld" = yes; then
13995 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13997 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14000 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14004 sys_lib_dlsearch_path_spec
='/usr/lib'
14008 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14013 shlibpath_var
=LD_LIBRARY_PATH
14014 shlibpath_overrides_runpath
=no
14015 hardcode_into_libs
=yes
14020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14021 soname_spec
='${libname}${release}${shared_ext}$major'
14022 shlibpath_var
=LD_LIBRARY_PATH
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14030 $as_echo "$dynamic_linker" >&6; }
14031 test "$dynamic_linker" = no
&& can_build_shared
=no
14033 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14034 if test "$GCC" = yes; then
14035 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14038 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14039 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14041 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14042 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14081 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14082 hardcode_action_CXX
=
14083 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14084 test -n "$runpath_var_CXX" ||
14085 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14087 # We can hardcode non-existent directories.
14088 if test "$hardcode_direct_CXX" != no
&&
14089 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14090 # have to relink, otherwise we might link with an installed library
14091 # when we should be linking with a yet-to-be-installed one
14092 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14093 test "$hardcode_minus_L_CXX" != no
; then
14094 # Linking always hardcodes the temporary library directory.
14095 hardcode_action_CXX
=relink
14097 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14098 hardcode_action_CXX
=immediate
14101 # We cannot hardcode anything, or else we can only hardcode existing
14103 hardcode_action_CXX
=unsupported
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14106 $as_echo "$hardcode_action_CXX" >&6; }
14108 if test "$hardcode_action_CXX" = relink ||
14109 test "$inherit_rpath_CXX" = yes; then
14110 # Fast installation is not supported
14111 enable_fast_install
=no
14112 elif test "$shlibpath_overrides_runpath" = yes ||
14113 test "$enable_shared" = no
; then
14114 # Fast installation is not necessary
14115 enable_fast_install
=needless
14124 fi # test -n "$compiler"
14130 with_gnu_ld
=$lt_save_with_gnu_ld
14131 lt_cv_path_LDCXX
=$lt_cv_path_LD
14132 lt_cv_path_LD
=$lt_save_path_LD
14133 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14134 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14135 fi # test "$_lt_caught_CXX_error" != yes
14138 ac_cpp
='$CPP $CPPFLAGS'
14139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14155 ac_config_commands
="$ac_config_commands libtool"
14160 # Only expand once:
14165 if test "x$CC" != xcc
; then
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
14167 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
14170 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
14172 set dummy
$CC; ac_cc
=`$as_echo "$2" |
14173 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
14174 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
14175 $as_echo_n "(cached) " >&6
14177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14188 # Make sure it works both with $CC and with simple cc.
14189 # We do the test twice because some compilers refuse to overwrite an
14190 # existing .o file with -o, though they will create one.
14191 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
14193 if { { case "(($ac_try" in
14194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14195 *) ac_try_echo=$ac_try;;
14197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14198 $as_echo "$ac_try_echo"; } >&5
14199 (eval "$ac_try") 2>&5
14201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14202 test $ac_status = 0; } &&
14203 test -f conftest2.$ac_objext && { { case "(($ac_try" in
14204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14205 *) ac_try_echo
=$ac_try;;
14207 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14208 $as_echo "$ac_try_echo"; } >&5
14209 (eval "$ac_try") 2>&5
14211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14212 test $ac_status = 0; };
14214 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
14215 if test "x$CC" != xcc
; then
14216 # Test first that cc exists at all.
14217 if { ac_try
='cc -c conftest.$ac_ext >&5'
14218 { { case "(($ac_try" in
14219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14220 *) ac_try_echo=$ac_try;;
14222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14223 $as_echo "$ac_try_echo"; } >&5
14224 (eval "$ac_try") 2>&5
14226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14227 test $ac_status = 0; }; }; then
14228 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
14230 if { { case "(($ac_try" in
14231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14232 *) ac_try_echo
=$ac_try;;
14234 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14235 $as_echo "$ac_try_echo"; } >&5
14236 (eval "$ac_try") 2>&5
14238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14239 test $ac_status = 0; } &&
14240 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
14241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14242 *) ac_try_echo=$ac_try;;
14244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14245 $as_echo "$ac_try_echo"; } >&5
14246 (eval "$ac_try") 2>&5
14248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14249 test $ac_status = 0; };
14254 # cc exists but doesn't like -o.
14255 eval ac_cv_prog_cc_${ac_cc}_c_o=no
14260 eval ac_cv_prog_cc_${ac_cc}_c_o=no
14262 rm -f core conftest*
14265 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14267 $as_echo "yes" >&6; }
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14270 $as_echo "no" >&6; }
14272 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
14276 # expand $ac_aux_dir to an absolute path
14277 am_aux_dir=`cd $ac_aux_dir && pwd`
14279 # FIXME: we rely on the cache variable name because
14280 # there is no other way.
14282 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
14283 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
14284 if test "$am_t" != yes; then
14285 # Losing compiler, so override with the script.
14286 # FIXME: It is wrong to rewrite CC.
14287 # But if we don't then we get into trouble of one sort or another.
14288 # A longer-term fix would be to have automake use am__CC in this case,
14289 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
14290 CC="$am_aux_dir/compile $CC"
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14296 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14297 if test "${ac_cv_c_bigendian+set}" = set; then :
14298 $as_echo_n "(cached) " >&6
14300 ac_cv_c_bigendian=unknown
14301 # See if we're dealing with a universal compiler.
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14304 #ifndef __APPLE_CC__
14305 not a universal capable compiler
14310 if ac_fn_c_try_compile "$LINENO"; then :
14312 # Check for potential -arch flags. It is not universal unless
14313 # there are at least two -arch flags with different values.
14316 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14317 if test -n "$ac_prev"; then
14319 i?86 | x86_64 | ppc | ppc64)
14320 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
14323 ac_cv_c_bigendian=universal
14329 elif test "x$ac_word" = "x-arch"; then
14334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14335 if test $ac_cv_c_bigendian = unknown; then
14336 # See if sys/param.h defines the BYTE_ORDER macro.
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 #include <sys/types.h>
14340 #include <sys/param.h>
14345 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14346 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14348 bogus endian macros
14355 if ac_fn_c_try_compile "$LINENO"; then :
14356 # It does; now see whether it defined to BIG_ENDIAN or not.
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 #include <sys/types.h>
14360 #include <sys/param.h>
14365 #if BYTE_ORDER != BIG_ENDIAN
14373 if ac_fn_c_try_compile "$LINENO"; then :
14374 ac_cv_c_bigendian=yes
14376 ac_cv_c_bigendian=no
14378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14382 if test $ac_cv_c_bigendian = unknown; then
14383 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14385 /* end confdefs.h. */
14386 #include <limits.h>
14391 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14392 bogus endian macros
14399 if ac_fn_c_try_compile "$LINENO"; then :
14400 # It does; now see whether it defined to _BIG_ENDIAN or not.
14401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14403 #include <limits.h>
14408 #ifndef _BIG_ENDIAN
14416 if ac_fn_c_try_compile "$LINENO"; then :
14417 ac_cv_c_bigendian=yes
14419 ac_cv_c_bigendian=no
14421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14425 if test $ac_cv_c_bigendian = unknown; then
14426 # Compile a test program.
14427 if test "$cross_compiling" = yes; then :
14428 # Try to guess by grepping values from an object file.
14429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14430 /* end confdefs.h. */
14431 short int ascii_mm[] =
14432 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14433 short int ascii_ii[] =
14434 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14435 int use_ascii (int i) {
14436 return ascii_mm[i] + ascii_ii[i];
14438 short int ebcdic_ii[] =
14439 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14440 short int ebcdic_mm[] =
14441 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14442 int use_ebcdic (int i) {
14443 return ebcdic_mm[i] + ebcdic_ii[i];
14450 return use_ascii (foo) == use_ebcdic (foo);
14455 if ac_fn_c_try_compile "$LINENO"; then :
14456 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14457 ac_cv_c_bigendian=yes
14459 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14460 if test "$ac_cv_c_bigendian" = unknown; then
14461 ac_cv_c_bigendian=no
14463 # finding both strings is unlikely to happen, but who knows?
14464 ac_cv_c_bigendian=unknown
14468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14472 $ac_includes_default
14477 /* Are we little or big endian? From Harbison&Steele. */
14481 char c[sizeof (long int)];
14484 return u.c[sizeof (long int) - 1] == 1;
14490 if ac_fn_c_try_run "$LINENO"; then :
14491 ac_cv_c_bigendian=no
14493 ac_cv_c_bigendian=yes
14495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14496 conftest.$ac_objext conftest.beam conftest.$ac_ext
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14502 $as_echo "$ac_cv_c_bigendian" >&6; }
14503 case $ac_cv_c_bigendian in #(
14505 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14511 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14515 as_fn_error $? "unknown endianness
14516 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14520 $as_echo_n "checking for inline... " >&6; }
14521 if test "${ac_cv_c_inline+set}" = set; then :
14522 $as_echo_n "(cached) " >&6
14525 for ac_kw in inline __inline__ __inline; do
14526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14527 /* end confdefs.h. */
14528 #ifndef __cplusplus
14530 static $ac_kw foo_t static_foo () {return 0; }
14531 $ac_kw foo_t foo () {return 0; }
14535 if ac_fn_c_try_compile "$LINENO"; then :
14536 ac_cv_c_inline=$ac_kw
14538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14539 test "$ac_cv_c_inline" != no && break
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14544 $as_echo "$ac_cv_c_inline" >&6; }
14546 case $ac_cv_c_inline in
14549 case $ac_cv_c_inline in
14551 *) ac_val=$ac_cv_c_inline;;
14553 cat >>confdefs.h <<_ACEOF
14554 #ifndef __cplusplus
14555 #define inline $ac_val
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
14562 $as_echo_n "checking for working volatile... " >&6; }
14563 if test "${ac_cv_c_volatile+set}" = set; then :
14564 $as_echo_n "(cached) " >&6
14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14574 int * volatile y = (int *) 0;
14580 if ac_fn_c_try_compile "$LINENO"; then :
14581 ac_cv_c_volatile=yes
14583 ac_cv_c_volatile=no
14585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
14588 $as_echo "$ac_cv_c_volatile" >&6; }
14589 if test $ac_cv_c_volatile = no; then
14591 $as_echo "#define volatile /**/" >>confdefs.h
14598 # Just to make sure we dont do debug on default!
14601 # Check whether --with-debug was given.
14602 if test "${with_debug+set}" = set; then :
14603 withval=$with_debug; debug="$withval"
14606 if test "x$debug" == "xyes"; then
14608 $as_echo "#define DEBUG 1" >>confdefs.h
14612 # a lang needs math functions...
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
14614 $as_echo_n "checking for pow in -lm... " >&6; }
14615 if test "${ac_cv_lib_m_pow+set}" = set; then :
14616 $as_echo_n "(cached) " >&6
14618 ac_check_lib_save_LIBS=$LIBS
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14623 /* Override any GCC internal prototype to avoid an error.
14624 Use char because int might match the return type of a GCC
14625 builtin and then its argument prototype would still apply. */
14638 if ac_fn_c_try_link "$LINENO"; then :
14639 ac_cv_lib_m_pow=yes
14643 rm -f core conftest.err conftest.$ac_objext \
14644 conftest$ac_exeext conftest.$ac_ext
14645 LIBS=$ac_check_lib_save_LIBS
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
14648 $as_echo "$ac_cv_lib_m_pow" >&6; }
14649 if test "x$ac_cv_lib_m_pow" = x""yes; then :
14650 cat >>confdefs.h <<_ACEOF
14651 #define HAVE_LIBM 1
14657 as_fn_error $? "System Math library is required!" "$LINENO" 5
14661 # used for constant folding and rounding
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
14663 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
14664 if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then :
14665 $as_echo_n "(cached) " >&6
14667 ac_check_lib_save_LIBS=$LIBS
14669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14672 /* Override any GCC internal prototype to avoid an error.
14673 Use char because int might match the return type of a GCC
14674 builtin and then its argument prototype would still apply. */
14678 char __gmpz_init ();
14682 return __gmpz_init ();
14687 if ac_fn_c_try_link "$LINENO"; then :
14688 ac_cv_lib_gmp___gmpz_init=yes
14690 ac_cv_lib_gmp___gmpz_init=no
14692 rm -f core conftest.err conftest.$ac_objext \
14693 conftest$ac_exeext conftest.$ac_ext
14694 LIBS=$ac_check_lib_save_LIBS
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
14697 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
14698 if test "x$ac_cv_lib_gmp___gmpz_init" = x""yes; then :
14699 cat >>confdefs.h <<_ACEOF
14700 #define HAVE_LIBGMP 1
14706 as_fn_error $? "GNU MP not found, see http://gmplib.org/" "$LINENO" 5
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpfr_init in -lmpfr" >&5
14710 $as_echo_n "checking for mpfr_init in -lmpfr... " >&6; }
14711 if test "${ac_cv_lib_mpfr_mpfr_init_+set}" = set; then :
14712 $as_echo_n "(cached) " >&6
14714 ac_check_lib_save_LIBS=$LIBS
14715 LIBS="-lmpfr $LIBS"
14716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h. */
14719 /* Override any GCC internal prototype to avoid an error.
14720 Use char because int might match the return type of a GCC
14721 builtin and then its argument prototype would still apply. */
14729 return mpfr_init ();
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_lib_mpfr_mpfr_init_=yes
14737 ac_cv_lib_mpfr_mpfr_init_=no
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 LIBS=$ac_check_lib_save_LIBS
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpfr_mpfr_init_" >&5
14744 $as_echo "$ac_cv_lib_mpfr_mpfr_init_" >&6; }
14745 if test "x$ac_cv_lib_mpfr_mpfr_init_" = x""yes; then :
14746 cat >>confdefs.h <<_ACEOF
14747 #define HAVE_LIBMPFR 1
14750 LIBS="-lmpfr $LIBS"
14753 as_fn_error $? "MPFR not found, see http://www.mpfr.org/" "$LINENO" 5
14756 # The cast to long int works around a bug in the HP C Compiler
14757 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14758 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
14759 # This bug is HP SR number 8606223364.
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of mp_limb_t" >&5
14761 $as_echo_n "checking size of mp_limb_t... " >&6; }
14762 if test "${ac_cv_sizeof_mp_limb_t+set}" = set; then :
14763 $as_echo_n "(cached) " >&6
14765 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (mp_limb_t))" "ac_cv_sizeof_mp_limb_t" "#include <gmp.h>
14769 if test "$ac_cv_type_mp_limb_t" = yes; then
14770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14771 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
14772 as_fn_error 77 "cannot compute sizeof (mp_limb_t)
14773 See \`config.log
' for more details" "$LINENO" 5 ; }
14775 ac_cv_sizeof_mp_limb_t=0
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_mp_limb_t" >&5
14781 $as_echo "$ac_cv_sizeof_mp_limb_t" >&6; }
14785 cat >>confdefs.h <<_ACEOF
14786 #define SIZEOF_MP_LIMB_T $ac_cv_sizeof_mp_limb_t
14792 if test "x$vl_cv_lib_readline" = "xno"; then :
14793 as_fn_error $? "libreadline is required for Crules. \
14794 On Debian this can be found in libreadline5-dev. On RedHat \
14795 this can be found in readline-devel." "$LINENO" 5
14797 for ac_func in dlopen
14799 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14800 if test "x$ac_cv_func_dlopen" = x""yes; then :
14801 cat >>confdefs.h <<_ACEOF
14802 #define HAVE_DLOPEN 1
14813 if test -n "$GCC"; then
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
14815 $as_echo_n "checking whether the -Werror option is usable... " >&6; }
14816 if test "${gl_cv_cc_vis_werror+set}" = set; then :
14817 $as_echo_n "(cached) " >&6
14820 gl_save_CFLAGS="$CFLAGS"
14821 CFLAGS="$CFLAGS -Werror"
14822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14833 if ac_fn_c_try_compile "$LINENO"; then :
14834 gl_cv_cc_vis_werror=yes
14836 gl_cv_cc_vis_werror=no
14838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 CFLAGS="$gl_save_CFLAGS"
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
14843 $as_echo "$gl_cv_cc_vis_werror" >&6; }
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
14845 $as_echo_n "checking for simple visibility declarations... " >&6; }
14846 if test "${gl_cv_cc_visibility+set}" = set; then :
14847 $as_echo_n "(cached) " >&6
14850 gl_save_CFLAGS="$CFLAGS"
14851 CFLAGS="$CFLAGS -fvisibility=hidden"
14852 if test $gl_cv_cc_vis_werror = yes; then
14853 CFLAGS="$CFLAGS -Werror"
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14857 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
14858 extern __attribute__((__visibility__("default"))) int exportedvar;
14859 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
14860 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
14861 void dummyfunc (void) {}
14870 if ac_fn_c_try_compile "$LINENO"; then :
14871 gl_cv_cc_visibility=yes
14873 gl_cv_cc_visibility=no
14875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14876 CFLAGS="$gl_save_CFLAGS"
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
14880 $as_echo "$gl_cv_cc_visibility" >&6; }
14881 if test $gl_cv_cc_visibility = yes; then
14882 CFLAG_VISIBILITY="-fvisibility=hidden"
14889 cat >>confdefs.h <<_ACEOF
14890 #define HAVE_VISIBILITY $HAVE_VISIBILITY
14898 # Extract the first word of "mv", so it can be a program name with args.
14899 set dummy mv; ac_word=$2
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14901 $as_echo_n "checking for $ac_word... " >&6; }
14902 if test "${ac_cv_path_MV+set}" = set; then :
14903 $as_echo_n "(cached) " >&6
14907 ac_cv_path_MV="$MV" # Let the user override the test with a path.
14910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14911 for as_dir in $PATH
14914 test -z "$as_dir" && as_dir=.
14915 for ac_exec_ext in '' $ac_executable_extensions; do
14916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14917 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
14918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14925 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
14930 if test -n "$MV"; then
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
14932 $as_echo "$MV" >&6; }
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14935 $as_echo "no" >&6; }
14939 # Extract the first word of "rm", so it can be a program name with args.
14940 set dummy rm; ac_word=$2
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14942 $as_echo_n "checking for $ac_word... " >&6; }
14943 if test "${ac_cv_path_RM+set}" = set; then :
14944 $as_echo_n "(cached) " >&6
14948 ac_cv_path_RM="$RM" # Let the user override the test with a path.
14951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14952 for as_dir in $PATH
14955 test -z "$as_dir" && as_dir=.
14956 for ac_exec_ext in '' $ac_executable_extensions; do
14957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14958 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
14959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14966 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
14971 if test -n "$RM"; then
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
14973 $as_echo "$RM" >&6; }
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14976 $as_echo "no" >&6; }
14980 # Extract the first word of "cp", so it can be a program name with args.
14981 set dummy cp; ac_word=$2
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14983 $as_echo_n "checking for $ac_word... " >&6; }
14984 if test "${ac_cv_path_CP+set}" = set; then :
14985 $as_echo_n "(cached) " >&6
14989 ac_cv_path_CP="$CP" # Let the user override the test with a path.
14992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14993 for as_dir in $PATH
14996 test -z "$as_dir" && as_dir=.
14997 for ac_exec_ext in '' $ac_executable_extensions; do
14998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14999 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
15000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15007 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
15012 if test -n "$CP"; then
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
15014 $as_echo "$CP" >&6; }
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15017 $as_echo "no" >&6; }
15021 # Extract the first word of "sed", so it can be a program name with args.
15022 set dummy sed; ac_word=$2
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15024 $as_echo_n "checking for $ac_word... " >&6; }
15025 if test "${ac_cv_path_SED+set}" = set; then :
15026 $as_echo_n "(cached) " >&6
15030 ac_cv_path_SED="$SED" # Let the user override the test with a path.
15033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15034 for as_dir in $PATH
15037 test -z "$as_dir" && as_dir=.
15038 for ac_exec_ext in '' $ac_executable_extensions; do
15039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15040 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
15041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15048 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
15052 SED=$ac_cv_path_SED
15053 if test -n "$SED"; then
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
15055 $as_echo "$SED" >&6; }
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15058 $as_echo "no" >&6; }
15062 # Extract the first word of "cmp", so it can be a program name with args.
15063 set dummy cmp; ac_word=$2
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15065 $as_echo_n "checking for $ac_word... " >&6; }
15066 if test "${ac_cv_path_CMP+set}" = set; then :
15067 $as_echo_n "(cached) " >&6
15071 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
15074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15075 for as_dir in $PATH
15078 test -z "$as_dir" && as_dir=.
15079 for ac_exec_ext in '' $ac_executable_extensions; do
15080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15081 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
15082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15089 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
15093 CMP=$ac_cv_path_CMP
15094 if test -n "$CMP"; then
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5
15096 $as_echo "$CMP" >&6; }
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15099 $as_echo "no" >&6; }
15103 # Extract the first word of "chmod", so it can be a program name with args.
15104 set dummy chmod; ac_word=$2
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15106 $as_echo_n "checking for $ac_word... " >&6; }
15107 if test "${ac_cv_path_CHMOD+set}" = set; then :
15108 $as_echo_n "(cached) " >&6
15112 ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
15115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15116 for as_dir in $PATH
15119 test -z "$as_dir" && as_dir=.
15120 for ac_exec_ext in '' $ac_executable_extensions; do
15121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15122 ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
15123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15130 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD="chmod"
15134 CHMOD=$ac_cv_path_CHMOD
15135 if test -n "$CHMOD"; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
15137 $as_echo "$CHMOD" >&6; }
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15140 $as_echo "no" >&6; }
15144 # Extract the first word of "hostname", so it can be a program name with args.
15145 set dummy hostname; ac_word=$2
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15147 $as_echo_n "checking for $ac_word... " >&6; }
15148 if test "${ac_cv_path_HOSTNAME+set}" = set; then :
15149 $as_echo_n "(cached) " >&6
15153 ac_cv_path_HOSTNAME="$HOSTNAME" # Let the user override the test with a path.
15156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15157 for as_dir in $PATH
15160 test -z "$as_dir" && as_dir=.
15161 for ac_exec_ext in '' $ac_executable_extensions; do
15162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15163 ac_cv_path_HOSTNAME="$as_dir/$ac_word$ac_exec_ext"
15164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15171 test -z "$ac_cv_path_HOSTNAME" && ac_cv_path_HOSTNAME="hostname"
15175 HOSTNAME=$ac_cv_path_HOSTNAME
15176 if test -n "$HOSTNAME"; then
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOSTNAME" >&5
15178 $as_echo "$HOSTNAME" >&6; }
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15181 $as_echo "no" >&6; }
15186 am__api_version='1.11'
15188 test "$program_prefix" != NONE &&
15189 program_transform_name="s&^&$program_prefix&;$program_transform_name"
15190 # Use a double $ so make ignores it.
15191 test "$program_suffix" != NONE &&
15192 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
15193 # Double any \ or $.
15194 # By default was `s,x,x', remove it
if useless.
15195 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
15196 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
15198 if test x
"${MISSING+set}" != xset
; then
15199 case $am_aux_dir in
15201 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
15203 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
15206 # Use eval to expand $SHELL
15207 if eval "$MISSING --run true"; then
15208 am_missing_run
="$MISSING --run "
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
15212 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
15215 if test x
"${install_sh}" != xset
; then
15216 case $am_aux_dir in
15218 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
15220 install_sh
="\${SHELL} $am_aux_dir/install-sh"
15224 # Installed binaries are usually stripped using `strip' when the user
15225 # run `make install-strip'. However `strip' might not be the right
15226 # tool to use in cross-compilation environments, therefore Automake
15227 # will honor the `STRIP' environment variable to overrule this program.
15228 if test "$cross_compiling" != no
; then
15229 if test -n "$ac_tool_prefix"; then
15230 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15231 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15233 $as_echo_n "checking for $ac_word... " >&6; }
15234 if test "${ac_cv_prog_STRIP+set}" = set; then :
15235 $as_echo_n "(cached) " >&6
15237 if test -n "$STRIP"; then
15238 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15241 for as_dir
in $PATH
15244 test -z "$as_dir" && as_dir
=.
15245 for ac_exec_ext
in '' $ac_executable_extensions; do
15246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15247 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15257 STRIP
=$ac_cv_prog_STRIP
15258 if test -n "$STRIP"; then
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
15260 $as_echo "$STRIP" >&6; }
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15263 $as_echo "no" >&6; }
15268 if test -z "$ac_cv_prog_STRIP"; then
15270 # Extract the first word of "strip", so it can be a program name with args.
15271 set dummy strip
; ac_word
=$2
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15273 $as_echo_n "checking for $ac_word... " >&6; }
15274 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
15275 $as_echo_n "(cached) " >&6
15277 if test -n "$ac_ct_STRIP"; then
15278 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15281 for as_dir
in $PATH
15284 test -z "$as_dir" && as_dir
=.
15285 for ac_exec_ext
in '' $ac_executable_extensions; do
15286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15287 ac_cv_prog_ac_ct_STRIP
="strip"
15288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15297 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15298 if test -n "$ac_ct_STRIP"; then
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
15300 $as_echo "$ac_ct_STRIP" >&6; }
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15303 $as_echo "no" >&6; }
15306 if test "x$ac_ct_STRIP" = x
; then
15309 case $cross_compiling:$ac_tool_warned in
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15313 ac_tool_warned
=yes ;;
15318 STRIP
="$ac_cv_prog_STRIP"
15322 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
15325 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
15326 if test -z "$MKDIR_P"; then
15327 if test "${ac_cv_path_mkdir+set}" = set; then :
15328 $as_echo_n "(cached) " >&6
15330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15331 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
15334 test -z "$as_dir" && as_dir
=.
15335 for ac_prog
in mkdir gmkdir
; do
15336 for ac_exec_ext
in '' $ac_executable_extensions; do
15337 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
15338 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
15339 'mkdir (GNU coreutils) '* | \
15340 'mkdir (coreutils) '* | \
15341 'mkdir (fileutils) '4.1*)
15342 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
15352 test -d .
/--version && rmdir .
/--version
15353 if test "${ac_cv_path_mkdir+set}" = set; then
15354 MKDIR_P
="$ac_cv_path_mkdir -p"
15356 # As a last resort, use the slow shell script. Don't cache a
15357 # value for MKDIR_P within a source directory, because that will
15358 # break other packages using the cache if that directory is
15359 # removed, or if the value is a relative name.
15360 MKDIR_P
="$ac_install_sh -d"
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
15364 $as_echo "$MKDIR_P" >&6; }
15368 [\\/$
]* | ?
:[\\/]*) ;;
15369 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
15372 rm -rf .tst
2>/dev
/null
15373 mkdir .tst
2>/dev
/null
15374 if test -d .tst
; then
15379 rmdir .tst
2>/dev
/null
15381 DEPDIR
="${am__leading_dot}deps"
15383 ac_config_commands
="$ac_config_commands depfiles"
15386 am_make
=${MAKE-make}
15387 cat > confinc
<< 'END'
15389 @
echo this is the am__doit target
15392 # If we don't find an include directive, just comment out the code.
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
15394 $as_echo_n "checking for style of include used by $am_make... " >&6; }
15398 # First try GNU make style include.
15399 echo "include confinc" > confmf
15400 # Ignore all kinds of additional output from `make'.
15401 case `$am_make -s -f confmf 2> /dev/null` in #(
15402 *the\ am__doit\ target
*)
15403 am__include
=include
15408 # Now try BSD make style include.
15409 if test "$am__include" = "#"; then
15410 echo '.include "confinc"' > confmf
15411 case `$am_make -s -f confmf 2> /dev/null` in #(
15412 *the\ am__doit\ target
*)
15413 am__include
=.include
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
15422 $as_echo "$_am_result" >&6; }
15423 rm -f confinc confmf
15425 # Check whether --enable-dependency-tracking was given.
15426 if test "${enable_dependency_tracking+set}" = set; then :
15427 enableval
=$enable_dependency_tracking;
15430 if test "x$enable_dependency_tracking" != xno
; then
15431 am_depcomp
="$ac_aux_dir/depcomp"
15434 if test "x$enable_dependency_tracking" != xno; then
15443 if test "`cd $srcdir && pwd`" != "`pwd`"; then
15444 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
15445 # is not polluted with repeated "-I."
15446 am__isrc
=' -I$(srcdir)'
15447 # test to see if srcdir already configured
15448 if test -f $srcdir/config.status
; then
15449 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
15453 # test whether we have cygpath
15454 if test -z "$CYGPATH_W"; then
15455 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
15456 CYGPATH_W
='cygpath -w'
15463 # Define the identity of the package.
15464 PACKAGE
='libgpython'
15468 cat >>confdefs.h
<<_ACEOF
15469 #define PACKAGE "$PACKAGE"
15473 cat >>confdefs.h
<<_ACEOF
15474 #define VERSION "$VERSION"
15477 # Some tools Automake needs.
15479 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
15482 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
15485 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
15488 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
15491 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
15493 # We need awk for the "check" target. The system "awk" is bad on
15495 # Always define AMTAR for backward compatibility.
15497 AMTAR
=${AMTAR-"${am_missing_run}tar"}
15499 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
15504 depcc
="$CC" am_compiler_list
=
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15507 $as_echo_n "checking dependency style of $depcc... " >&6; }
15508 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
15509 $as_echo_n "(cached) " >&6
15511 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15512 # We make a subdir and do the tests there. Otherwise we can end up
15513 # making bogus files that we don't know about and never remove. For
15514 # instance it was reported that on HP-UX the gcc test will end up
15515 # making a dummy file named `D' -- because `-MD' means `put the output
15518 # Copy depcomp to subdir because otherwise we won't find it if we're
15519 # using a relative directory.
15520 cp "$am_depcomp" conftest.dir
15522 # We will build objects and dependencies in a subdirectory because
15523 # it helps to detect inapplicable dependency modes. For instance
15524 # both Tru64's cc and ICC support -MD to output dependencies as a
15525 # side effect of compilation, but ICC will put the dependencies in
15526 # the current directory while Tru64 will put them in the object
15530 am_cv_CC_dependencies_compiler_type
=none
15531 if test "$am_compiler_list" = ""; then
15532 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15534 am__universal
=false
15535 case " $depcc " in #(
15536 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
15539 for depmode
in $am_compiler_list; do
15540 # Setup a source with many dependencies, because some compilers
15541 # like to wrap large dependency lists on column 80 (with \), and
15542 # we should not choose a depcomp mode which is confused by this.
15544 # We need to recreate these files for each test, as the compiler may
15545 # overwrite some of them when testing with obscure command lines.
15546 # This happens at least with the AIX C compiler.
15548 for i
in 1 2 3 4 5 6; do
15549 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15550 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15551 # Solaris 8's {/usr,}/bin/sh.
15552 touch sub
/conftst
$i.h
15554 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15556 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15557 # mode. It turns out that the SunPro C++ compiler does not properly
15558 # handle `-M -o', and we need to detect this. Also, some Intel
15559 # versions had trouble with output in subdirs
15560 am__obj
=sub
/conftest.
${OBJEXT-o}
15561 am__minus_obj
="-o $am__obj"
15564 # This depmode causes a compiler race in universal mode.
15565 test "$am__universal" = false ||
continue
15568 # after this tag, mechanisms are not by side-effect, so they'll
15569 # only be used when explicitly requested
15570 if test "x$enable_dependency_tracking" = xyes
; then
15576 msvisualcpp | msvcmsys
)
15577 # This compiler won't grok `-c -o', but also, the minuso test has
15578 # not run yet. These depmodes are late enough in the game, and
15579 # so weak that their functioning should not be impacted.
15580 am__obj
=conftest.
${OBJEXT-o}
15585 if depmode
=$depmode \
15586 source=sub
/conftest.c object
=$am__obj \
15587 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15588 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
15589 >/dev
/null
2>conftest.err
&&
15590 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15591 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15592 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
15593 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15594 # icc doesn't choke on unknown options, it will just issue warnings
15595 # or remarks (even with -Werror). So we grep stderr for any message
15596 # that says an option was ignored or not supported.
15597 # When given -MP, icc 7.0 and 7.1 complain thusly:
15598 # icc: Command line warning: ignoring option '-M'; no argument required
15599 # The diagnosis changed in icc 8.0:
15600 # icc: Command line remark: option '-MP' not supported
15601 if (grep 'ignoring option' conftest.err ||
15602 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15603 am_cv_CC_dependencies_compiler_type
=$depmode
15610 rm -rf conftest.dir
15612 am_cv_CC_dependencies_compiler_type
=none
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
15617 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
15618 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
15621 test "x$enable_dependency_tracking" != xno \
15622 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
15623 am__fastdepCC_TRUE
=
15624 am__fastdepCC_FALSE
='#'
15626 am__fastdepCC_TRUE
='#'
15627 am__fastdepCC_FALSE
=
15631 depcc
="$CXX" am_compiler_list
=
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15634 $as_echo_n "checking dependency style of $depcc... " >&6; }
15635 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
15636 $as_echo_n "(cached) " >&6
15638 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15639 # We make a subdir and do the tests there. Otherwise we can end up
15640 # making bogus files that we don't know about and never remove. For
15641 # instance it was reported that on HP-UX the gcc test will end up
15642 # making a dummy file named `D' -- because `-MD' means `put the output
15645 # Copy depcomp to subdir because otherwise we won't find it if we're
15646 # using a relative directory.
15647 cp "$am_depcomp" conftest.dir
15649 # We will build objects and dependencies in a subdirectory because
15650 # it helps to detect inapplicable dependency modes. For instance
15651 # both Tru64's cc and ICC support -MD to output dependencies as a
15652 # side effect of compilation, but ICC will put the dependencies in
15653 # the current directory while Tru64 will put them in the object
15657 am_cv_CXX_dependencies_compiler_type
=none
15658 if test "$am_compiler_list" = ""; then
15659 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15661 am__universal
=false
15662 case " $depcc " in #(
15663 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
15666 for depmode
in $am_compiler_list; do
15667 # Setup a source with many dependencies, because some compilers
15668 # like to wrap large dependency lists on column 80 (with \), and
15669 # we should not choose a depcomp mode which is confused by this.
15671 # We need to recreate these files for each test, as the compiler may
15672 # overwrite some of them when testing with obscure command lines.
15673 # This happens at least with the AIX C compiler.
15675 for i
in 1 2 3 4 5 6; do
15676 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15677 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15678 # Solaris 8's {/usr,}/bin/sh.
15679 touch sub
/conftst
$i.h
15681 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15683 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15684 # mode. It turns out that the SunPro C++ compiler does not properly
15685 # handle `-M -o', and we need to detect this. Also, some Intel
15686 # versions had trouble with output in subdirs
15687 am__obj
=sub
/conftest.
${OBJEXT-o}
15688 am__minus_obj
="-o $am__obj"
15691 # This depmode causes a compiler race in universal mode.
15692 test "$am__universal" = false ||
continue
15695 # after this tag, mechanisms are not by side-effect, so they'll
15696 # only be used when explicitly requested
15697 if test "x$enable_dependency_tracking" = xyes
; then
15703 msvisualcpp | msvcmsys
)
15704 # This compiler won't grok `-c -o', but also, the minuso test has
15705 # not run yet. These depmodes are late enough in the game, and
15706 # so weak that their functioning should not be impacted.
15707 am__obj
=conftest.
${OBJEXT-o}
15712 if depmode
=$depmode \
15713 source=sub
/conftest.c object
=$am__obj \
15714 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15715 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
15716 >/dev
/null
2>conftest.err
&&
15717 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15718 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15719 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
15720 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15721 # icc doesn't choke on unknown options, it will just issue warnings
15722 # or remarks (even with -Werror). So we grep stderr for any message
15723 # that says an option was ignored or not supported.
15724 # When given -MP, icc 7.0 and 7.1 complain thusly:
15725 # icc: Command line warning: ignoring option '-M'; no argument required
15726 # The diagnosis changed in icc 8.0:
15727 # icc: Command line remark: option '-MP' not supported
15728 if (grep 'ignoring option' conftest.err ||
15729 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15730 am_cv_CXX_dependencies_compiler_type
=$depmode
15737 rm -rf conftest.dir
15739 am_cv_CXX_dependencies_compiler_type
=none
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15744 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15745 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
15748 test "x$enable_dependency_tracking" != xno \
15749 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
15750 am__fastdepCXX_TRUE
=
15751 am__fastdepCXX_FALSE
='#'
15753 am__fastdepCXX_TRUE
='#'
15754 am__fastdepCXX_FALSE
=
15760 # The cast to long int works around a bug in the HP C Compiler
15761 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15762 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15763 # This bug is HP SR number 8606223364.
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15765 $as_echo_n "checking size of long... " >&6; }
15766 if test "${ac_cv_sizeof_long+set}" = set; then :
15767 $as_echo_n "(cached) " >&6
15769 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15772 if test "$ac_cv_type_long" = yes; then
15773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15775 as_fn_error
77 "cannot compute sizeof (long)
15776 See \`config.log' for more details" "$LINENO" 5 ; }
15778 ac_cv_sizeof_long
=0
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15784 $as_echo "$ac_cv_sizeof_long" >&6; }
15788 cat >>confdefs.h
<<_ACEOF
15789 #define SIZEOF_LONG $ac_cv_sizeof_long
15793 # The cast to long int works around a bug in the HP C Compiler
15794 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15796 # This bug is HP SR number 8606223364.
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15798 $as_echo_n "checking size of char... " >&6; }
15799 if test "${ac_cv_sizeof_char+set}" = set; then :
15800 $as_echo_n "(cached) " >&6
15802 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15805 if test "$ac_cv_type_char" = yes; then
15806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15808 as_fn_error
77 "cannot compute sizeof (char)
15809 See \`config.log' for more details" "$LINENO" 5 ; }
15811 ac_cv_sizeof_char
=0
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15817 $as_echo "$ac_cv_sizeof_char" >&6; }
15821 cat >>confdefs.h
<<_ACEOF
15822 #define SIZEOF_CHAR $ac_cv_sizeof_char
15826 # The cast to long int works around a bug in the HP C Compiler
15827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15829 # This bug is HP SR number 8606223364.
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15831 $as_echo_n "checking size of int... " >&6; }
15832 if test "${ac_cv_sizeof_int+set}" = set; then :
15833 $as_echo_n "(cached) " >&6
15835 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15838 if test "$ac_cv_type_int" = yes; then
15839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15841 as_fn_error
77 "cannot compute sizeof (int)
15842 See \`config.log' for more details" "$LINENO" 5 ; }
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15850 $as_echo "$ac_cv_sizeof_int" >&6; }
15854 cat >>confdefs.h
<<_ACEOF
15855 #define SIZEOF_INT $ac_cv_sizeof_int
15859 # The cast to long int works around a bug in the HP C Compiler
15860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15862 # This bug is HP SR number 8606223364.
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
15864 $as_echo_n "checking size of void*... " >&6; }
15865 if test "${ac_cv_sizeof_voidp+set}" = set; then :
15866 $as_echo_n "(cached) " >&6
15868 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
15871 if test "$ac_cv_type_voidp" = yes; then
15872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15874 as_fn_error
77 "cannot compute sizeof (void*)
15875 See \`config.log' for more details" "$LINENO" 5 ; }
15877 ac_cv_sizeof_voidp
=0
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
15883 $as_echo "$ac_cv_sizeof_voidp" >&6; }
15887 cat >>confdefs.h
<<_ACEOF
15888 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
15892 # The cast to long int works around a bug in the HP C Compiler
15893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15894 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15895 # This bug is HP SR number 8606223364.
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15897 $as_echo_n "checking size of short... " >&6; }
15898 if test "${ac_cv_sizeof_short+set}" = set; then :
15899 $as_echo_n "(cached) " >&6
15901 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15904 if test "$ac_cv_type_short" = yes; then
15905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15907 as_fn_error
77 "cannot compute sizeof (short)
15908 See \`config.log' for more details" "$LINENO" 5 ; }
15910 ac_cv_sizeof_short
=0
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15916 $as_echo "$ac_cv_sizeof_short" >&6; }
15920 cat >>confdefs.h
<<_ACEOF
15921 #define SIZEOF_SHORT $ac_cv_sizeof_short
15925 # The cast to long int works around a bug in the HP C Compiler
15926 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15927 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15928 # This bug is HP SR number 8606223364.
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
15930 $as_echo_n "checking size of double... " >&6; }
15931 if test "${ac_cv_sizeof_double+set}" = set; then :
15932 $as_echo_n "(cached) " >&6
15934 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
15937 if test "$ac_cv_type_double" = yes; then
15938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15940 as_fn_error
77 "cannot compute sizeof (double)
15941 See \`config.log' for more details" "$LINENO" 5 ; }
15943 ac_cv_sizeof_double
=0
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
15949 $as_echo "$ac_cv_sizeof_double" >&6; }
15953 cat >>confdefs.h
<<_ACEOF
15954 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
15958 # The cast to long int works around a bug in the HP C Compiler
15959 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15960 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15961 # This bug is HP SR number 8606223364.
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
15963 $as_echo_n "checking size of float... " >&6; }
15964 if test "${ac_cv_sizeof_float+set}" = set; then :
15965 $as_echo_n "(cached) " >&6
15967 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
15970 if test "$ac_cv_type_float" = yes; then
15971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15973 as_fn_error
77 "cannot compute sizeof (float)
15974 See \`config.log' for more details" "$LINENO" 5 ; }
15976 ac_cv_sizeof_float
=0
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
15982 $as_echo "$ac_cv_sizeof_float" >&6; }
15986 cat >>confdefs.h
<<_ACEOF
15987 #define SIZEOF_FLOAT $ac_cv_sizeof_float
15991 # The cast to long int works around a bug in the HP C Compiler
15992 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15993 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15994 # This bug is HP SR number 8606223364.
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
15996 $as_echo_n "checking size of size_t... " >&6; }
15997 if test "${ac_cv_sizeof_size_t+set}" = set; then :
15998 $as_echo_n "(cached) " >&6
16000 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
16003 if test "$ac_cv_type_size_t" = yes; then
16004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16006 as_fn_error
77 "cannot compute sizeof (size_t)
16007 See \`config.log' for more details" "$LINENO" 5 ; }
16009 ac_cv_sizeof_size_t
=0
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
16015 $as_echo "$ac_cv_sizeof_size_t" >&6; }
16019 cat >>confdefs.h
<<_ACEOF
16020 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16024 # The cast to long int works around a bug in the HP C Compiler
16025 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16026 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16027 # This bug is HP SR number 8606223364.
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
16029 $as_echo_n "checking size of long int... " >&6; }
16030 if test "${ac_cv_sizeof_long_int+set}" = set; then :
16031 $as_echo_n "(cached) " >&6
16033 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
16036 if test "$ac_cv_type_long_int" = yes; then
16037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16039 as_fn_error
77 "cannot compute sizeof (long int)
16040 See \`config.log' for more details" "$LINENO" 5 ; }
16042 ac_cv_sizeof_long_int
=0
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
16048 $as_echo "$ac_cv_sizeof_long_int" >&6; }
16052 cat >>confdefs.h
<<_ACEOF
16053 #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
16057 # The cast to long int works around a bug in the HP C Compiler
16058 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16059 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16060 # This bug is HP SR number 8606223364.
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
16062 $as_echo_n "checking size of long long... " >&6; }
16063 if test "${ac_cv_sizeof_long_long+set}" = set; then :
16064 $as_echo_n "(cached) " >&6
16066 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
16069 if test "$ac_cv_type_long_long" = yes; then
16070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16072 as_fn_error
77 "cannot compute sizeof (long long)
16073 See \`config.log' for more details" "$LINENO" 5 ; }
16075 ac_cv_sizeof_long_long
=0
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
16081 $as_echo "$ac_cv_sizeof_long_long" >&6; }
16085 cat >>confdefs.h
<<_ACEOF
16086 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16091 # Checks for header files.
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
16093 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
16094 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
16095 $as_echo_n "(cached) " >&6
16097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16098 /* end confdefs.h. */
16099 #include <sys/types.h>
16100 #include <sys/wait.h>
16101 #ifndef WEXITSTATUS
16102 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
16105 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
16113 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
16118 if ac_fn_c_try_compile
"$LINENO"; then :
16119 ac_cv_header_sys_wait_h
=yes
16121 ac_cv_header_sys_wait_h
=no
16123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
16126 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
16127 if test $ac_cv_header_sys_wait_h = yes; then
16129 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
16134 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
16135 if test "${ac_cv_header_stdbool_h+set}" = set; then :
16136 $as_echo_n "(cached) " >&6
16138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16141 #include <stdbool.h>
16143 "error: bool is not defined"
16146 "error: false is not defined"
16149 "error: false is not 0"
16152 "error: true is not defined"
16155 "error: true is not 1"
16157 #ifndef __bool_true_false_are_defined
16158 "error: __bool_true_false_are_defined is not defined"
16161 struct s { _Bool s: 1; _Bool t; } s;
16163 char a[true == 1 ? 1 : -1];
16164 char b[false == 0 ? 1 : -1];
16165 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
16166 char d[(bool) 0.5 == true ? 1 : -1];
16168 char f[(_Bool) 0.0 == false ? 1 : -1];
16170 char h[sizeof (_Bool)];
16171 char i[sizeof s.t];
16172 enum { j = false, k = true, l = false * true, m = true * 256 };
16173 /* The following fails for
16174 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
16176 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
16177 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
16178 # if defined __xlc__ || defined __GNUC__
16179 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
16180 reported by James Lemley on 2005-10-05; see
16181 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
16182 This test is not quite right, since xlc is allowed to
16183 reject this program, as the initializer for xlcbug is
16184 not one of the forms that C requires support for.
16185 However, doing the test right would require a runtime
16186 test, and that would make cross-compilation harder.
16187 Let us hope that IBM fixes the xlc bug, and also adds
16188 support for this kind of constant expression. In the
16189 meantime, this test will reject xlc, which is OK, since
16190 our stdbool.h substitute should suffice. We also test
16191 this with GCC, where it should work, to detect more
16192 quickly whether someone messes up the test in the
16194 char digs[] = "0123456789";
16195 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
16197 /* Catch a bug in an HP-UX C compiler. See
16198 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
16199 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
16210 /* Refer to every declared value, to avoid compiler optimizations. */
16211 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
16212 + !m + !n + !o + !p + !q + !pq);
16218 if ac_fn_c_try_compile
"$LINENO"; then :
16219 ac_cv_header_stdbool_h
=yes
16221 ac_cv_header_stdbool_h
=no
16223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
16226 $as_echo "$ac_cv_header_stdbool_h" >&6; }
16227 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
16228 if test "x$ac_cv_type__Bool" = x
""yes; then :
16230 cat >>confdefs.h
<<_ACEOF
16231 #define HAVE__BOOL 1
16237 if test $ac_cv_header_stdbool_h = yes; then
16239 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16244 $as_echo_n "checking for ANSI C header files... " >&6; }
16245 if test "${ac_cv_header_stdc+set}" = set; then :
16246 $as_echo_n "(cached) " >&6
16248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16249 /* end confdefs.h. */
16250 #include <stdlib.h>
16251 #include <stdarg.h>
16252 #include <string.h>
16263 if ac_fn_c_try_compile
"$LINENO"; then :
16264 ac_cv_header_stdc
=yes
16266 ac_cv_header_stdc
=no
16268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16270 if test $ac_cv_header_stdc = yes; then
16271 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16273 /* end confdefs.h. */
16274 #include <string.h>
16277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16278 $EGREP "memchr" >/dev
/null
2>&1; then :
16281 ac_cv_header_stdc
=no
16287 if test $ac_cv_header_stdc = yes; then
16288 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16291 #include <stdlib.h>
16294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16295 $EGREP "free" >/dev
/null
2>&1; then :
16298 ac_cv_header_stdc
=no
16304 if test $ac_cv_header_stdc = yes; then
16305 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16306 if test "$cross_compiling" = yes; then :
16309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16310 /* end confdefs.h. */
16312 #include <stdlib.h>
16313 #if ((' ' & 0x0FF) == 0x020)
16314 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16315 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16317 # define ISLOWER(c) \
16318 (('a' <= (c) && (c) <= 'i') \
16319 || ('j' <= (c) && (c) <= 'r') \
16320 || ('s' <= (c) && (c) <= 'z'))
16321 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16324 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16329 for (i = 0; i < 256; i++)
16330 if (XOR (islower (i), ISLOWER (i))
16331 || toupper (i) != TOUPPER (i))
16336 if ac_fn_c_try_run
"$LINENO"; then :
16339 ac_cv_header_stdc
=no
16341 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16342 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16348 $as_echo "$ac_cv_header_stdc" >&6; }
16349 if test $ac_cv_header_stdc = yes; then
16351 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16355 for ac_header
in stdlib.h string.h stdarg.h unistd.h \
16356 stdint.h stdio.h getopt.h \
16357 assert.h sys
/types.h signal.h \
16358 fcntl.h pthread.h sys
/wait.h \
16361 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16362 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16363 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16364 cat >>confdefs.h
<<_ACEOF
16365 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16373 # Checks for typedefs, structures, and compiler characteristics.
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16375 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16376 if test "${ac_cv_c_const+set}" = set; then :
16377 $as_echo_n "(cached) " >&6
16379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16385 /* FIXME: Include the comments suggested by Paul. */
16386 #ifndef __cplusplus
16387 /* Ultrix mips cc rejects this. */
16388 typedef int charset[2];
16390 /* SunOS 4.1.1 cc rejects this. */
16391 char const *const *pcpcc;
16393 /* NEC SVR4.0.2 mips cc rejects this. */
16394 struct point {int x, y;};
16395 static struct point const zero = {0,0};
16396 /* AIX XL C 1.02.0.0 rejects this.
16397 It does not let you subtract one const X* pointer from another in
16398 an arm of an if-expression whose if-part is not a constant
16400 const char *g = "string";
16401 pcpcc = &g + (g ? g-g : 0);
16402 /* HPUX 7.0 cc rejects these. */
16404 ppc = (char**) pcpcc;
16405 pcpcc = (char const *const *) ppc;
16406 { /* SCO 3.2v4 cc rejects this. */
16408 char const *s = 0 ? (char *) 0 : (char const *) 0;
16413 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16414 int x[] = {25, 17};
16415 const int *foo = &x[0];
16418 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16419 typedef const int *iptr;
16423 { /* AIX XL C 1.02.0.0 rejects this saying
16424 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16425 struct s { int j; const int *ap[3]; };
16426 struct s *b; b->j = 5;
16428 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16429 const int foo = 10;
16430 if (!foo) return 0;
16432 return !cs[0] && !zero.x;
16439 if ac_fn_c_try_compile
"$LINENO"; then :
16444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16447 $as_echo "$ac_cv_c_const" >&6; }
16448 if test $ac_cv_c_const = no
; then
16450 $as_echo "#define const /**/" >>confdefs.h
16454 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16455 if test "x$ac_cv_type_pid_t" = x
""yes; then :
16459 cat >>confdefs.h
<<_ACEOF
16465 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16466 if test "x$ac_cv_type_size_t" = x
""yes; then :
16470 cat >>confdefs.h
<<_ACEOF
16471 #define size_t unsigned int
16476 for ac_func
in popen fopen fclose sprintf fprintf strdup \
16477 strlen strcpy strcmp getopt_long \
16478 memcpy calloc system sysconf atoi \
16479 getpid execl fork
wait exit atof \
16480 vfprintf memcmp getc fgets pipe \
16483 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16484 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16485 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16486 cat >>confdefs.h
<<_ACEOF
16487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16494 # Checks for library functions.
16495 for ac_header
in stdlib.h
16497 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16498 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
16499 cat >>confdefs.h
<<_ACEOF
16500 #define HAVE_STDLIB_H 1
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16508 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16509 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
16510 $as_echo_n "(cached) " >&6
16512 if test "$cross_compiling" = yes; then :
16513 ac_cv_func_malloc_0_nonnull
=no
16515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16516 /* end confdefs.h. */
16517 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
16518 # include <stdlib.h>
16526 return ! malloc (0);
16531 if ac_fn_c_try_run
"$LINENO"; then :
16532 ac_cv_func_malloc_0_nonnull
=yes
16534 ac_cv_func_malloc_0_nonnull
=no
16536 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16537 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16542 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16543 if test $ac_cv_func_malloc_0_nonnull = yes; then :
16545 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
16548 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
16550 case " $LIBOBJS " in
16551 *" malloc.$ac_objext "* ) ;;
16552 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
16557 $as_echo "#define malloc rpl_malloc" >>confdefs.h
16565 for ac_header
in $ac_header_list
16567 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16568 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16570 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16571 cat >>confdefs.h
<<_ACEOF
16572 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5
16583 $as_echo_n "checking whether utime accepts a null argument... " >&6; }
16584 if test "${ac_cv_func_utime_null+set}" = set; then :
16585 $as_echo_n "(cached) " >&6
16587 rm -f conftest.data
; >conftest.data
16588 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
16589 if test "$cross_compiling" = yes; then :
16590 ac_cv_func_utime_null
='guessing yes'
16592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16594 $ac_includes_default
16595 #ifdef HAVE_UTIME_H
16596 # include <utime.h>
16602 return ! (stat ("conftest.data", &s) == 0
16603 && utime ("conftest.data", 0) == 0
16604 && stat ("conftest.data", &t) == 0
16605 && t.st_mtime >= s.st_mtime
16606 && t.st_mtime - s.st_mtime < 120);
16611 if ac_fn_c_try_run
"$LINENO"; then :
16612 ac_cv_func_utime_null
=yes
16614 ac_cv_func_utime_null
=no
16616 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16617 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_utime_null" >&5
16622 $as_echo "$ac_cv_func_utime_null" >&6; }
16623 if test "x$ac_cv_func_utime_null" != xno
; then
16624 ac_cv_func_utime_null
=yes
16626 $as_echo "#define HAVE_UTIME_NULL 1" >>confdefs.h
16629 rm -f conftest.data
16631 for ac_func
in vprintf
16633 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
16634 if test "x$ac_cv_func_vprintf" = x
""yes; then :
16635 cat >>confdefs.h
<<_ACEOF
16636 #define HAVE_VPRINTF 1
16639 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
16640 if test "x$ac_cv_func__doprnt" = x
""yes; then :
16642 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
16650 ac_config_files
="$ac_config_files Makefile"
16653 cat >confcache
<<\_ACEOF
16654 # This file is a shell script that caches the results of configure
16655 # tests run on this system so they can be shared between configure
16656 # scripts and configure runs, see configure's option --config-cache.
16657 # It is not useful on other systems. If it contains results you don't
16658 # want to keep, you may remove or edit it.
16660 # config.status only pays attention to the cache file if you give it
16661 # the --recheck option to rerun configure.
16663 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16664 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16665 # following values.
16669 # The following way of writing the cache mishandles newlines in values,
16670 # but we know of no workaround that is simple, portable, and efficient.
16671 # So, we kill variables containing newlines.
16672 # Ultrix sh set writes to stderr and can't be redirected directly,
16673 # and sets the high bit in the cache file unless we assign to the vars.
16675 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16676 eval ac_val
=\$
$ac_var
16680 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16681 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16684 _ | IFS | as_nl
) ;; #(
16685 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16686 *) { eval $ac_var=; unset $ac_var;} ;;
16692 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16693 *${as_nl}ac_space
=\
*)
16694 # `set' does not quote correctly, so add quotes: double-quote
16695 # substitution turns \\\\ into \\, and sed turns \\ into \.
16698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16701 # `set' quotes correctly as required by POSIX, so do not add quotes.
16702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16711 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16713 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16715 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16716 if test -w "$cache_file"; then
16717 test "x$cache_file" != "x/dev/null" &&
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16719 $as_echo "$as_me: updating cache $cache_file" >&6;}
16720 cat confcache
>$cache_file
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16723 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16728 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16729 # Let make expand exec_prefix.
16730 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16732 DEFS
=-DHAVE_CONFIG_H
16737 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16738 # 1. Remove the extension, and $U if already installed.
16739 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16740 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16741 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16742 # will be set to the directory where LIBOBJS objects are built.
16743 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16744 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16746 LIBOBJS
=$ac_libobjs
16748 LTLIBOBJS
=$ac_ltlibobjs
16752 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16753 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16756 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16757 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16760 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16761 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
16762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16764 if test -n "$EXEEXT"; then
16766 am__EXEEXT_FALSE
='#'
16768 am__EXEEXT_TRUE
='#'
16773 : ${CONFIG_STATUS=./config.status}
16775 ac_clean_files_save
=$ac_clean_files
16776 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16778 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16780 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16782 # Generated by $as_me.
16783 # Run this file to recreate the current configuration.
16784 # Compiler output produced by configure, useful for debugging
16785 # configure, is in config.log if it exists.
16788 ac_cs_recheck=false
16791 SHELL=\${CONFIG_SHELL-$SHELL}
16794 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16795 ## -------------------- ##
16796 ## M4sh Initialization. ##
16797 ## -------------------- ##
16799 # Be more Bourne compatible
16800 DUALCASE
=1; export DUALCASE
# for MKS sh
16801 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16804 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16805 # is contrary to our usage. Disable this feature.
16806 alias -g '${1+"$@"}'='"$@"'
16807 setopt NO_GLOB_SUBST
16809 case `(set -o) 2>/dev/null` in #(
16821 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16822 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16823 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16824 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16825 # Prefer a ksh shell builtin over an external printf program on Solaris,
16826 # but without wasting forks for bash or zsh.
16827 if test -z "$BASH_VERSION$ZSH_VERSION" \
16828 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16829 as_echo='print
-r --'
16830 as_echo_n='print
-rn --'
16831 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16832 as_echo='printf %s
\n'
16833 as_echo_n='printf %s
'
16835 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16836 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16837 as_echo_n='/usr
/ucb
/echo -n'
16839 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16840 as_echo_n_body='eval
16844 expr "X$arg" : "X\\(.*\\)$as_nl";
16845 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16847 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16849 export as_echo_n_body
16850 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16852 export as_echo_body
16853 as_echo='sh
-c $as_echo_body as_echo
'
16856 # The user is always right.
16857 if test "${PATH_SEPARATOR+set}" != set; then
16859 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16860 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16867 # We need space, tab and new line, in precisely that order. Quoting is
16868 # there to prevent editors from complaining about space-tab.
16869 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16870 # splitting by setting IFS to empty value.)
16873 # Find who we are. Look in the path if we contain no directory separator.
16875 *[\\/]* ) as_myself=$0 ;;
16876 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16877 for as_dir in $PATH
16880 test -z "$as_dir" && as_dir=.
16881 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16887 # We did not find ourselves, most probably we were run as `sh COMMAND'
16888 # in which case we are not to be found in the path.
16889 if test "x$as_myself" = x
; then
16892 if test ! -f "$as_myself"; then
16893 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16897 # Unset variables that we do not need and which cause bugs (e.g. in
16898 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16899 # suppresses any "Segmentation fault" message there. '((' could
16900 # trigger a bug in pdksh 5.2.14.
16901 for as_var
in BASH_ENV ENV MAIL MAILPATH
16902 do eval test x\
${$as_var+set} = xset \
16903 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16916 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16919 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16920 # ----------------------------------------
16921 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16922 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16923 # script with STATUS, using 1 if that was 0.
16926 as_status
=$1; test $as_status -eq 0 && as_status
=1
16928 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16929 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16931 $as_echo "$as_me: error: $2" >&2
16932 as_fn_exit
$as_status
16936 # as_fn_set_status STATUS
16937 # -----------------------
16938 # Set $? to STATUS, without forking.
16939 as_fn_set_status
()
16942 } # as_fn_set_status
16944 # as_fn_exit STATUS
16945 # -----------------
16946 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16950 as_fn_set_status
$1
16956 # Portably unset VAR.
16959 { eval $1=; unset $1;}
16961 as_unset
=as_fn_unset
16962 # as_fn_append VAR VALUE
16963 # ----------------------
16964 # Append the text in VALUE to the end of the definition contained in VAR. Take
16965 # advantage of any shell optimizations that allow amortized linear growth over
16966 # repeated appends, instead of the typical quadratic growth present in naive
16968 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16969 eval 'as_fn_append ()
16980 # as_fn_arith ARG...
16981 # ------------------
16982 # Perform arithmetic evaluation on the ARGs, and store the result in the
16983 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16984 # must be portable across $(()) and expr.
16985 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16986 eval 'as_fn_arith ()
16993 as_val
=`expr "$@" || test $? -eq 1`
16998 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16999 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17005 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17006 as_basename
=basename
17011 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17017 as_me
=`$as_basename -- "$0" ||
17018 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17019 X"$0" : 'X\(//\)$' \| \
17020 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17022 sed '/^.*\/\([^/][^/]*\)\/*$/{
17036 # Avoid depending upon Character Ranges.
17037 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17038 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17039 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17040 as_cr_digits
='0123456789'
17041 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17043 ECHO_C
= ECHO_N
= ECHO_T
=
17044 case `echo -n x` in #(((((
17046 case `echo 'xy\c'` in
17047 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17049 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17056 rm -f conf$$ conf$$.exe conf$$.
file
17057 if test -d conf$$.dir
; then
17058 rm -f conf$$.dir
/conf$$.
file
17061 mkdir conf$$.dir
2>/dev
/null
17063 if (echo >conf$$.
file) 2>/dev
/null
; then
17064 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17066 # ... but there are two gotchas:
17067 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17068 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17069 # In both cases, we have to default to `cp -p'.
17070 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17072 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17080 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17081 rmdir conf$$.dir
2>/dev
/null
17086 # Create "$as_dir" as a directory, including parents if necessary.
17091 -*) as_dir
=.
/$as_dir;;
17093 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17097 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17098 *) as_qdir
=$as_dir;;
17100 as_dirs
="'$as_qdir' $as_dirs"
17101 as_dir
=`$as_dirname -- "$as_dir" ||
17102 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17103 X"$as_dir" : 'X\(//\)[^/]' \| \
17104 X"$as_dir" : 'X\(//\)$' \| \
17105 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17106 $as_echo X"$as_dir" |
17107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17111 /^X\(\/\/\)[^/].*/{
17124 test -d "$as_dir" && break
17126 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17127 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17131 if mkdir
-p .
2>/dev
/null
; then
17132 as_mkdir_p
='mkdir -p "$as_dir"'
17134 test -d .
/-p && rmdir .
/-p
17138 if test -x / >/dev
/null
2>&1; then
17139 as_test_x
='test -x'
17141 if ls -dL / >/dev
/null
2>&1; then
17148 if test -d "$1"; then
17154 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17155 ???[sx]*):;;*)false;;esac;fi
17159 as_executable_p
=$as_test_x
17161 # Sed expression to map a string onto a valid CPP name.
17162 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17164 # Sed expression to map a string onto a valid variable name.
17165 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17169 ## ----------------------------------- ##
17170 ## Main body of $CONFIG_STATUS script. ##
17171 ## ----------------------------------- ##
17173 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17176 # Save the log message, to keep $0 and so on meaningful, and to
17177 # report actual input values of CONFIG_FILES etc. instead of their
17178 # values after options handling.
17180 This file was extended by GNU Python Runtime Library $as_me 0.1, which was
17181 generated by GNU Autoconf 2.67. Invocation command line was
17183 CONFIG_FILES = $CONFIG_FILES
17184 CONFIG_HEADERS = $CONFIG_HEADERS
17185 CONFIG_LINKS = $CONFIG_LINKS
17186 CONFIG_COMMANDS = $CONFIG_COMMANDS
17189 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17194 case $ac_config_files in *"
17195 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17198 case $ac_config_headers in *"
17199 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17204 # Files that config.status was made for.
17205 config_files="$ac_config_files"
17206 config_headers="$ac_config_headers"
17207 config_commands="$ac_config_commands"
17211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17213 \`$as_me' instantiates files and other configuration actions
17214 from templates according to the current configuration. Unless the files
17215 and actions are specified as TAGs, all are instantiated by default.
17217 Usage: $0 [OPTION]... [TAG]...
17219 -h, --help print this help, then exit
17220 -V, --version print version number and configuration settings, then exit
17221 --config print configuration, then exit
17222 -q, --quiet, --silent
17223 do not print progress messages
17224 -d, --debug don't remove temporary files
17225 --recheck update $as_me by reconfiguring in the same conditions
17226 --file=FILE[:TEMPLATE]
17227 instantiate the configuration file FILE
17228 --header=FILE[:TEMPLATE]
17229 instantiate the configuration header FILE
17231 Configuration files:
17234 Configuration headers:
17237 Configuration commands:
17240 Report bugs to the package provider.
17241 GNU Python Runtime Library home page: <http://www.gnu.org/software/libgpython/>.
17242 General help using GNU software: <http://www.gnu.org/gethelp/>."
17245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17246 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17248 GNU Python Runtime Library config.status 0.1
17249 configured by $0, generated by GNU Autoconf 2.67,
17250 with options \\"\$ac_cs_config\\"
17252 Copyright (C) 2010 Free Software Foundation, Inc.
17253 This config.status script is free software; the Free Software Foundation
17254 gives unlimited permission to copy, distribute and modify it."
17261 test -n "\$AWK" || AWK=awk
17264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17265 # The default lists apply if the user does not specify any file.
17271 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17272 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17276 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17288 # Handling of the options.
17289 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17291 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17292 $as_echo "$ac_cs_version"; exit ;;
17293 --config |
--confi |
--conf |
--con |
--co |
--c )
17294 $as_echo "$ac_cs_config"; exit ;;
17295 --debug |
--debu |
--deb |
--de |
--d |
-d )
17297 --file |
--fil |
--fi |
--f )
17300 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17301 '') as_fn_error $?
"missing file argument" ;;
17303 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17304 ac_need_defaults
=false
;;
17305 --header |
--heade |
--head |
--hea )
17308 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17310 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17311 ac_need_defaults
=false
;;
17313 # Conflict between --help and --header
17314 as_fn_error $?
"ambiguous option: \`$1'
17315 Try \`$0 --help' for more information.";;
17316 --help |
--hel |
-h )
17317 $as_echo "$ac_cs_usage"; exit ;;
17318 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17319 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17322 # This is an error.
17323 -*) as_fn_error $?
"unrecognized option: \`$1'
17324 Try \`$0 --help' for more information." ;;
17326 *) as_fn_append ac_config_targets
" $1"
17327 ac_need_defaults
=false
;;
17333 ac_configure_extra_args
=
17335 if $ac_cs_silent; then
17337 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17342 if \$ac_cs_recheck; then
17343 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17345 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17346 CONFIG_SHELL='$SHELL'
17347 export CONFIG_SHELL
17352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17356 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17357 ## Running $as_me. ##
17363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17369 # The HP-UX ksh and POSIX shell print the target directory to stdout
17370 # if CDPATH is set.
17371 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17373 sed_quote_subst='$sed_quote_subst'
17374 double_quote_subst='$double_quote_subst'
17375 delay_variable_subst='$delay_variable_subst'
17376 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17377 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17378 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17379 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17380 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17381 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17382 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17383 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17384 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17385 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17386 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17387 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17388 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17389 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17390 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17391 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17392 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17393 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17394 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17395 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17396 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17397 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17398 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17399 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17400 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17401 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17402 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17403 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17404 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17405 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17406 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17407 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17408 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17409 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17410 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17411 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17412 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17413 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17414 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17415 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17416 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17417 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17418 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17419 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17420 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17421 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17422 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17423 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17424 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17425 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17426 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17427 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17428 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17429 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17430 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17431 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17432 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17433 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17434 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17435 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17436 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17437 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17438 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17439 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17440 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17441 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17442 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17443 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17444 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17445 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17446 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17447 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17448 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17449 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17450 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17451 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17452 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17453 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17454 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17455 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17456 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17457 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17458 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17459 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17460 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17461 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17462 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17463 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17464 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17465 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17466 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17467 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17468 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17469 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17470 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17471 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17472 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17473 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17474 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17475 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17476 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17477 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17478 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17479 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17480 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17481 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17482 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17483 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17484 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17485 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17486 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17487 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17488 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17489 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17490 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17491 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17492 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17493 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17494 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17495 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17496 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17497 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17498 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17499 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17500 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17501 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17502 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17503 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17504 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17505 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17506 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17507 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17508 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17509 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17510 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17511 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17512 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17513 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17514 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17515 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17516 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17517 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17518 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17519 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17520 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17521 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17522 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17523 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17524 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17525 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17526 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17527 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17528 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17529 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17530 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17531 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17532 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17533 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17534 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17535 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17536 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17537 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17538 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17539 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17540 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17541 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17542 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17543 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17544 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17545 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17546 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17549 LTCFLAGS='$LTCFLAGS'
17550 compiler='$compiler_DEFAULT'
17552 # Quote evaled strings.
17564 deplibs_check_method \
17573 lt_cv_sys_global_symbol_pipe \
17574 lt_cv_sys_global_symbol_to_cdecl \
17575 lt_cv_sys_global_symbol_to_c_name_address \
17576 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17579 lt_prog_compiler_no_builtin_flag \
17580 lt_prog_compiler_wl \
17581 lt_prog_compiler_pic \
17582 lt_prog_compiler_static \
17583 lt_cv_prog_compiler_c_o \
17591 export_dynamic_flag_spec \
17592 whole_archive_flag_spec \
17593 compiler_needs_object \
17595 allow_undefined_flag \
17596 no_undefined_flag \
17597 hardcode_libdir_flag_spec \
17598 hardcode_libdir_flag_spec_ld \
17599 hardcode_libdir_separator \
17604 variables_saved_for_relink \
17606 library_names_spec \
17611 compiler_lib_search_dirs \
17616 compiler_lib_search_path \
17619 lt_prog_compiler_no_builtin_flag_CXX \
17620 lt_prog_compiler_wl_CXX \
17621 lt_prog_compiler_pic_CXX \
17622 lt_prog_compiler_static_CXX \
17623 lt_cv_prog_compiler_c_o_CXX \
17624 export_dynamic_flag_spec_CXX \
17625 whole_archive_flag_spec_CXX \
17626 compiler_needs_object_CXX \
17628 allow_undefined_flag_CXX \
17629 no_undefined_flag_CXX \
17630 hardcode_libdir_flag_spec_CXX \
17631 hardcode_libdir_flag_spec_ld_CXX \
17632 hardcode_libdir_separator_CXX \
17633 fix_srcfile_path_CXX \
17634 exclude_expsyms_CXX \
17635 include_expsyms_CXX \
17636 file_list_spec_CXX \
17637 compiler_lib_search_dirs_CXX \
17638 predep_objects_CXX \
17639 postdep_objects_CXX \
17642 compiler_lib_search_path_CXX; do
17643 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17644 *[\\\\\\\`\\"\\\$]*)
17645 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17648 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17653 # Double-quote double-evaled strings.
17654 for var in reload_cmds \
17655 old_postinstall_cmds \
17656 old_postuninstall_cmds \
17658 extract_expsyms_cmds \
17659 old_archive_from_new_cmds \
17660 old_archive_from_expsyms_cmds \
17662 archive_expsym_cmds \
17664 module_expsym_cmds \
17665 export_symbols_cmds \
17668 postuninstall_cmds \
17670 sys_lib_search_path_spec \
17671 sys_lib_dlsearch_path_spec \
17672 old_archive_cmds_CXX \
17673 old_archive_from_new_cmds_CXX \
17674 old_archive_from_expsyms_cmds_CXX \
17676 archive_expsym_cmds_CXX \
17678 module_expsym_cmds_CXX \
17679 export_symbols_cmds_CXX \
17680 prelink_cmds_CXX; do
17681 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17682 *[\\\\\\\`\\"\\\$]*)
17683 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17686 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17691 # Fix-up fallback echo if it was mangled by the above quoting rules.
17693 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17697 ac_aux_dir='$ac_aux_dir'
17698 xsi_shell='$xsi_shell'
17699 lt_shell_append='$lt_shell_append'
17701 # See if we are running on zsh, and set the options which allow our
17702 # commands through without removal of \ escapes INIT.
17703 if test -n "\${ZSH_VERSION+set}" ; then
17704 setopt NO_GLOB_SUBST
17710 TIMESTAMP='$TIMESTAMP'
17718 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17724 # Handling of arguments.
17725 for ac_config_target
in $ac_config_targets
17727 case $ac_config_target in
17728 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17729 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17730 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17731 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17733 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17738 # If the user did not use the arguments to specify the items to instantiate,
17739 # then the envvar interface is used. Set only those that are not.
17740 # We use the long form for the default assignment because of an extremely
17741 # bizarre bug on SunOS 4.1.3.
17742 if $ac_need_defaults; then
17743 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17744 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17745 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17748 # Have a temporary directory for convenience. Make it in the build tree
17749 # simply because there is no reason against having it here, and in addition,
17750 # creating and moving files from /tmp can sometimes cause problems.
17751 # Hook for its removal unless debugging.
17752 # Note that there is a small window in which the directory will not be cleaned:
17753 # after its creation but before its name has been assigned to `$tmp'.
17757 trap 'exit_status=$?
17758 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17760 trap 'as_fn_exit 1' 1 2 13 15
17762 # Create a (secure) tmp directory for tmp files.
17765 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17766 test -n "$tmp" && test -d "$tmp"
17769 tmp
=.
/conf$$
-$RANDOM
17770 (umask 077 && mkdir
"$tmp")
17771 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17773 # Set up the scripts for CONFIG_FILES section.
17774 # No need to generate them if there are no CONFIG_FILES.
17775 # This happens for instance with `./config.status config.h'.
17776 if test -n "$CONFIG_FILES"; then
17779 ac_cr
=`echo X | tr X '\015'`
17780 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17781 # But we know of no other shell where ac_cr would be empty at this
17782 # point, so we can use a bashism as a fallback.
17783 if test "x$ac_cr" = x
; then
17784 eval ac_cr
=\$
\'\\r
\'
17786 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17787 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17790 ac_cs_awk_cr
=$ac_cr
17793 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17798 echo "cat >conf$$subs.awk <<_ACEOF" &&
17799 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17801 } >conf$$subs.sh ||
17802 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17803 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17805 for ac_last_try in false false false false false :; do
17806 . ./conf$$subs.sh ||
17807 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17809 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17810 if test $ac_delim_n = $ac_delim_num; then
17812 elif $ac_last_try; then
17813 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17815 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17818 rm -f conf$$subs.sh
17820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17821 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17825 s/^/S["/; s
/!.
*/"]=/
17835 s/\(.\{148\}\)..*/\1/
17837 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17842 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17849 s/\(.\{148\}\)..*/\1/
17851 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17855 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17860 ' <conf$$subs.awk | sed '
17865 ' >>$CONFIG_STATUS || ac_write_fail=1
17866 rm -f conf$$subs.awk
17867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17869 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17870 for (key in S) S_is_set[key] = 1
17876 nfields = split(line, field, "@
")
17878 len = length(field[1])
17879 for (i = 2; i < nfields; i++) {
17881 keylen = length(key)
17882 if (S_is_set[key]) {
17884 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17885 len += length(value) + length(field[++i])
17896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17897 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17898 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17901 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17902 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17905 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17906 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17907 # trailing colons and then remove the whole line if VPATH becomes empty
17908 # (actually we leave an empty line to preserve line numbers).
17909 if test "x
$srcdir" = x.; then
17910 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17929 fi # test -n "$CONFIG_FILES"
17931 # Set up the scripts for CONFIG_HEADERS section.
17932 # No need to generate them if there are no CONFIG_HEADERS.
17933 # This happens for instance with `./config.status Makefile'.
17934 if test -n "$CONFIG_HEADERS"; then
17935 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17939 # Transform confdefs.h into an awk script `defines.awk', embedded as
17940 # here-document in config.status, that substitutes the proper values into
17941 # config.h.in to produce config.h.
17943 # Create a delimiter string that does not exist in confdefs.h, to ease
17944 # handling of long lines.
17946 for ac_last_try in false false :; do
17947 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17948 if test -z "$ac_t"; then
17950 elif $ac_last_try; then
17951 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17953 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17957 # For the awk script, D is an array of macro values keyed by name,
17958 # likewise P contains macro parameters if any. Preserve backslash
17959 # newline sequences.
17961 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17963 s/.\{148\}/&'"$ac_delim"'/g
17966 s/^[ ]*#[ ]*define[ ][ ]*/ /
17973 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17975 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17979 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17980 D["\
1"]=" \
3\\\\\\n
"\\/p
17982 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17987 s/.\{148\}/&'"$ac_delim"'/g
17992 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17995 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17997 ' <confdefs.h | sed '
17998 s/'"$ac_delim"'/"\\\
17999 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18002 for (key in D) D_is_set[key] = 1
18005 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18007 split(line, arg, " ")
18008 if (arg[1] == "#") {
18012 defundef
= substr
(arg
[1], 2)
18015 split(mac1
, mac2
, "(") #)
18017 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18018 if (D_is_set
[macro
]) {
18019 # Preserve the white space surrounding the "#".
18020 print prefix
"define", macro P
[macro
] D
[macro
]
18023 # Replace #undef with comments. This is necessary, for example,
18024 # in the case of _POSIX_SOURCE, which is predefined and required
18025 # on some systems where configure will not decide to define it.
18026 if (defundef
== "undef") {
18027 print
"/*", prefix defundef
, macro
, "*/"
18035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18036 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18037 fi # test -n "$CONFIG_HEADERS"
18040 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18045 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18047 case $ac_mode$ac_tag in
18049 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
18050 :[FH
]-) ac_tag
=-:-;;
18051 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18068 -) ac_f
="$tmp/stdin";;
18069 *) # Look for the file first in the build tree, then in the source tree
18070 # (if the path is not absolute). The absolute path cannot be DOS-style,
18071 # because $ac_f cannot contain `:'.
18075 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18077 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
18079 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18080 as_fn_append ac_file_inputs
" '$ac_f'"
18083 # Let's still pretend it is `configure' which instantiates (i.e., don't
18084 # use $as_me), people would be surprised to read:
18085 # /* config.h. Generated by config.status. */
18086 configure_input
='Generated from '`
18087 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18089 if test x
"$ac_file" != x-
; then
18090 configure_input
="$ac_file. $configure_input"
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18092 $as_echo "$as_me: creating $ac_file" >&6;}
18094 # Neutralize special characters interpreted by sed in replacement strings.
18095 case $configure_input in #(
18096 *\
&* |
*\|
* |
*\\* )
18097 ac_sed_conf_input
=`$as_echo "$configure_input" |
18098 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18099 *) ac_sed_conf_input
=$configure_input;;
18103 *:-:* |
*:-) cat >"$tmp/stdin" \
18104 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18109 ac_dir
=`$as_dirname -- "$ac_file" ||
18110 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18111 X"$ac_file" : 'X\(//\)[^/]' \| \
18112 X"$ac_file" : 'X\(//\)$' \| \
18113 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18114 $as_echo X"$ac_file" |
18115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18119 /^X\(\/\/\)[^/].*/{
18132 as_dir
="$ac_dir"; as_fn_mkdir_p
18136 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18138 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18139 # A ".." for each directory in $ac_dir_suffix.
18140 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18141 case $ac_top_builddir_sub in
18142 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18143 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18146 ac_abs_top_builddir
=$ac_pwd
18147 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18148 # for backward compatibility:
18149 ac_top_builddir
=$ac_top_build_prefix
18152 .
) # We are building in place.
18154 ac_top_srcdir
=$ac_top_builddir_sub
18155 ac_abs_top_srcdir
=$ac_pwd ;;
18156 [\\/]* | ?
:[\\/]* ) # Absolute name.
18157 ac_srcdir
=$srcdir$ac_dir_suffix;
18158 ac_top_srcdir
=$srcdir
18159 ac_abs_top_srcdir
=$srcdir ;;
18160 *) # Relative name.
18161 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18162 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18163 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18165 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18175 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18176 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18178 ac_MKDIR_P
=$MKDIR_P
18180 [\\/$
]* | ?
:[\\/]* ) ;;
18181 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18186 # If the template does not know about datarootdir, expand it.
18187 # FIXME: This hack should be removed a few years after 2.60.
18188 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18199 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18200 *datarootdir
*) ac_datarootdir_seen
=yes;;
18201 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18203 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18206 ac_datarootdir_hack='
18207 s&@datadir@&$datadir&g
18208 s&@docdir@&$docdir&g
18209 s&@infodir@&$infodir&g
18210 s&@localedir@&$localedir&g
18211 s&@mandir@&$mandir&g
18212 s&\\\${datarootdir}&$datarootdir&g' ;;
18216 # Neutralize VPATH when `$srcdir' = `.'.
18217 # Shell code in configure.ac might set extrasub.
18218 # FIXME: do we really want to maintain this feature?
18219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18220 ac_sed_extra="$ac_vpsub
18223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18225 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18226 s|@configure_input@|
$ac_sed_conf_input|
;t t
18227 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18228 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18229 s
&@srcdir@
&$ac_srcdir&;t t
18230 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18231 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18232 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18233 s
&@builddir@
&$ac_builddir&;t t
18234 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18235 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18236 s
&@INSTALL@
&$ac_INSTALL&;t t
18237 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18238 $ac_datarootdir_hack
18240 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
18241 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18243 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18244 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18245 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18247 which seems to be undefined. Please make sure it is defined" >&5
18248 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18249 which seems to be undefined. Please make sure it is defined" >&2;}
18253 -) cat "$tmp/out" && rm -f "$tmp/out";;
18254 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18256 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18262 if test x"$ac_file" != x-; then
18264 $as_echo "/* $configure_input */" \
18265 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18266 } >"$tmp/config.h" \
18267 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18268 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18270 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18273 mv "$tmp/config.h" "$ac_file" \
18274 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18277 $as_echo "/* $configure_input */" \
18278 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18279 || as_fn_error $? "could not create -" "$LINENO" 5
18281 # Compute "$ac_file"'s index
in $config_headers.
18284 for _am_header
in $config_headers :; do
18285 case $_am_header in
18286 $_am_arg |
$_am_arg:* )
18289 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18292 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18293 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18294 X"$_am_arg" : 'X\(//\)[^/]' \| \
18295 X"$_am_arg" : 'X\(//\)$' \| \
18296 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18297 $as_echo X"$_am_arg" |
18298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18302 /^X\(\/\/\)[^/].*/{
18314 s/.*/./; q'`/stamp-h
$_am_stamp_count
18317 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18318 $as_echo "$as_me: executing $ac_file commands" >&6;}
18323 case $ac_file$ac_mode in
18326 # See if we are running on zsh, and set the options which allow our
18327 # commands through without removal of \ escapes.
18328 if test -n "${ZSH_VERSION+set}" ; then
18329 setopt NO_GLOB_SUBST
18332 cfgfile
="${ofile}T"
18333 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18336 cat <<_LT_EOF >> "$cfgfile"
18339 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18340 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18341 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18342 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18344 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18345 # 2006, 2007, 2008 Free Software Foundation, Inc.
18346 # Written by Gordon Matzigkeit, 1996
18348 # This file is part of GNU Libtool.
18350 # GNU Libtool is free software; you can redistribute it and/or
18351 # modify it under the terms of the GNU General Public License as
18352 # published by the Free Software Foundation; either version 2 of
18353 # the License, or (at your option) any later version.
18355 # As a special exception to the GNU General Public License,
18356 # if you distribute this file as part of a program or library that
18357 # is built using GNU Libtool, you may include this file under the
18358 # same distribution terms that you use for the rest of that program.
18360 # GNU Libtool is distributed in the hope that it will be useful,
18361 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18362 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18363 # GNU General Public License for more details.
18365 # You should have received a copy of the GNU General Public License
18366 # along with GNU Libtool; see the file COPYING. If not, a copy
18367 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18368 # obtained by writing to the Free Software Foundation, Inc.,
18369 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18372 # The names of the tagged configurations supported by this script.
18373 available_tags="CXX "
18375 # ### BEGIN LIBTOOL CONFIG
18377 # Which release of libtool.m4 was used?
18378 macro_version=$macro_version
18379 macro_revision=$macro_revision
18381 # Whether or not to build shared libraries.
18382 build_libtool_libs=$enable_shared
18384 # Whether or not to build static libraries.
18385 build_old_libs=$enable_static
18387 # What type of objects to build.
18390 # Whether or not to optimize for fast installation.
18391 fast_install=$enable_fast_install
18394 host_alias=$host_alias
18398 # The build system.
18399 build_alias=$build_alias
18403 # A sed program that does not truncate output.
18406 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18407 Xsed="\$SED -e 1s/^X//"
18409 # A grep program that handles long lines.
18415 # A literal string matcher.
18418 # A BSD- or MS-compatible name lister.
18421 # Whether we need soft or hard links.
18424 # What is the maximum length of a command?
18425 max_cmd_len=$max_cmd_len
18427 # Object file suffix (normally "o").
18430 # Executable file suffix (normally "").
18433 # whether the shell understands "unset".
18436 # turn spaces into newlines.
18439 # turn newlines into spaces.
18442 # How to create reloadable object files.
18443 reload_flag=$lt_reload_flag
18444 reload_cmds=$lt_reload_cmds
18446 # An object symbol dumper.
18447 OBJDUMP=$lt_OBJDUMP
18449 # Method to check whether dependent libraries are shared objects.
18450 deplibs_check_method=$lt_deplibs_check_method
18452 # Command to use when deplibs_check_method == "file_magic".
18453 file_magic_cmd=$lt_file_magic_cmd
18457 AR_FLAGS=$lt_AR_FLAGS
18459 # A symbol stripping program.
18462 # Commands used to install an old-style archive.
18464 old_postinstall_cmds=$lt_old_postinstall_cmds
18465 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18470 # LTCC compiler flags.
18471 LTCFLAGS=$lt_CFLAGS
18473 # Take the output of nm and produce a listing of raw symbols and C names.
18474 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18476 # Transform the output of nm in a proper C declaration.
18477 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18479 # Transform the output of nm in a C name address pair.
18480 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18482 # Transform the output of nm in a C name address pair when lib prefix is needed.
18483 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18485 # The name of the directory that contains temporary libtool files.
18488 # Shell to use when invoking shell scripts.
18491 # An echo program that does not interpret backslashes.
18494 # Used to examine libraries when file_magic_cmd begins with "file".
18495 MAGIC_CMD=$MAGIC_CMD
18497 # Must we lock files when doing compilation?
18498 need_locks=$lt_need_locks
18500 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18501 DSYMUTIL=$lt_DSYMUTIL
18503 # Tool to change global to local symbols on Mac OS X.
18506 # Tool to manipulate fat objects and archives on Mac OS X.
18509 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18512 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18513 OTOOL64=$lt_OTOOL64
18515 # Old archive suffix (normally "a").
18518 # Shared library suffix (normally ".so").
18519 shrext_cmds=$lt_shrext_cmds
18521 # The commands to extract the exported symbol list from a shared archive.
18522 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18524 # Variables whose values should be saved in libtool wrapper scripts and
18525 # restored at link time.
18526 variables_saved_for_relink=$lt_variables_saved_for_relink
18528 # Do we need the "lib" prefix for modules?
18529 need_lib_prefix=$need_lib_prefix
18531 # Do we need a version for libraries?
18532 need_version=$need_version
18534 # Library versioning type.
18535 version_type=$version_type
18537 # Shared library runtime path variable.
18538 runpath_var=$runpath_var
18540 # Shared library path variable.
18541 shlibpath_var=$shlibpath_var
18543 # Is shlibpath searched before the hard-coded library search path?
18544 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18546 # Format of library name prefix.
18547 libname_spec=$lt_libname_spec
18549 # List of archive names. First name is the real one, the rest are links.
18550 # The last name is the one that the linker finds with -lNAME
18551 library_names_spec=$lt_library_names_spec
18553 # The coded name of the library, if different from the real name.
18554 soname_spec=$lt_soname_spec
18556 # Command to use after installation of a shared archive.
18557 postinstall_cmds=$lt_postinstall_cmds
18559 # Command to use after uninstallation of a shared archive.
18560 postuninstall_cmds=$lt_postuninstall_cmds
18562 # Commands used to finish a libtool library installation in a directory.
18563 finish_cmds=$lt_finish_cmds
18565 # As "finish_cmds", except a single script fragment to be evaled but
18567 finish_eval=$lt_finish_eval
18569 # Whether we should hardcode library paths into libraries.
18570 hardcode_into_libs=$hardcode_into_libs
18572 # Compile-time system search path for libraries.
18573 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18575 # Run-time system search path for libraries.
18576 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18578 # Whether dlopen is supported.
18579 dlopen_support=$enable_dlopen
18581 # Whether dlopen of programs is supported.
18582 dlopen_self=$enable_dlopen_self
18584 # Whether dlopen of statically linked programs is supported.
18585 dlopen_self_static=$enable_dlopen_self_static
18587 # Commands to strip libraries.
18588 old_striplib=$lt_old_striplib
18589 striplib=$lt_striplib
18592 # The linker used to build libraries.
18595 # Commands used to build an old-style archive.
18596 old_archive_cmds=$lt_old_archive_cmds
18598 # A language specific compiler.
18601 # Is the compiler the GNU compiler?
18604 # Compiler flag to turn off builtin functions.
18605 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18607 # How to pass a linker flag through the compiler.
18608 wl=$lt_lt_prog_compiler_wl
18610 # Additional compiler flags for building library objects.
18611 pic_flag=$lt_lt_prog_compiler_pic
18613 # Compiler flag to prevent dynamic linking.
18614 link_static_flag=$lt_lt_prog_compiler_static
18616 # Does compiler simultaneously support -c and -o options?
18617 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18619 # Whether or not to add -lc for building shared libraries.
18620 build_libtool_need_lc=$archive_cmds_need_lc
18622 # Whether or not to disallow shared libs when runtime libs are static.
18623 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18625 # Compiler flag to allow reflexive dlopens.
18626 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18628 # Compiler flag to generate shared objects directly from archives.
18629 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18631 # Whether the compiler copes with passing no objects directly.
18632 compiler_needs_object=$lt_compiler_needs_object
18634 # Create an old-style archive from a shared archive.
18635 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18637 # Create a temporary old-style archive to link instead of a shared archive.
18638 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18640 # Commands used to build a shared archive.
18641 archive_cmds=$lt_archive_cmds
18642 archive_expsym_cmds=$lt_archive_expsym_cmds
18644 # Commands used to build a loadable module if different from building
18645 # a shared archive.
18646 module_cmds=$lt_module_cmds
18647 module_expsym_cmds=$lt_module_expsym_cmds
18649 # Whether we are building with GNU ld or not.
18650 with_gnu_ld=$lt_with_gnu_ld
18652 # Flag that allows shared libraries with undefined symbols to be built.
18653 allow_undefined_flag=$lt_allow_undefined_flag
18655 # Flag that enforces no undefined symbols.
18656 no_undefined_flag=$lt_no_undefined_flag
18658 # Flag to hardcode \$libdir into a binary during linking.
18659 # This must work even if \$libdir does not exist
18660 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18662 # If ld is used when linking, flag to hardcode \$libdir into a binary
18663 # during linking. This must work even if \$libdir does not exist.
18664 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18666 # Whether we need a single "-rpath" flag with a separated argument.
18667 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18669 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18670 # DIR into the resulting binary.
18671 hardcode_direct=$hardcode_direct
18673 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18674 # DIR into the resulting binary and the resulting library dependency is
18675 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18676 # library is relocated.
18677 hardcode_direct_absolute=$hardcode_direct_absolute
18679 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18680 # into the resulting binary.
18681 hardcode_minus_L=$hardcode_minus_L
18683 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18684 # into the resulting binary.
18685 hardcode_shlibpath_var=$hardcode_shlibpath_var
18687 # Set to "yes" if building a shared library automatically hardcodes DIR
18688 # into the library and all subsequent libraries and executables linked
18690 hardcode_automatic=$hardcode_automatic
18692 # Set to yes if linker adds runtime paths of dependent libraries
18693 # to runtime path list.
18694 inherit_rpath=$inherit_rpath
18696 # Whether libtool must link a program against all its dependency libraries.
18697 link_all_deplibs=$link_all_deplibs
18699 # Fix the shell variable \$srcfile for the compiler.
18700 fix_srcfile_path=$lt_fix_srcfile_path
18702 # Set to "yes" if exported symbols are required.
18703 always_export_symbols=$always_export_symbols
18705 # The commands to list exported symbols.
18706 export_symbols_cmds=$lt_export_symbols_cmds
18708 # Symbols that should not be listed in the preloaded symbols.
18709 exclude_expsyms=$lt_exclude_expsyms
18711 # Symbols that must always be exported.
18712 include_expsyms=$lt_include_expsyms
18714 # Commands necessary for linking programs (against libraries) with templates.
18715 prelink_cmds=$lt_prelink_cmds
18717 # Specify filename containing input files.
18718 file_list_spec=$lt_file_list_spec
18720 # How to hardcode a shared library path into an executable.
18721 hardcode_action=$hardcode_action
18723 # The directories searched by this compiler when creating a shared library.
18724 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18726 # Dependencies to place before and after the objects being linked to
18727 # create a shared library.
18728 predep_objects=$lt_predep_objects
18729 postdep_objects=$lt_postdep_objects
18730 predeps=$lt_predeps
18731 postdeps=$lt_postdeps
18733 # The library search path used internally by the compiler when linking
18734 # a shared library.
18735 compiler_lib_search_path=$lt_compiler_lib_search_path
18737 # ### END LIBTOOL CONFIG
18743 cat <<\_LT_EOF
>> "$cfgfile"
18744 # AIX sometimes has problems with the GCC collect2 program. For some
18745 # reason, if we set the COLLECT_NAMES environment variable, the problems
18746 # vanish in a puff of smoke.
18747 if test "X${COLLECT_NAMES+set}" != Xset
; then
18749 export COLLECT_NAMES
18756 ltmain
="$ac_aux_dir/ltmain.sh"
18759 # We use sed instead of cat because bash on DJGPP gets confused if
18760 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18761 # text mode, it properly converts lines to CR/LF. This bash problem
18762 # is reportedly fixed, but why not run on old versions too?
18763 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18764 ||
(rm -f "$cfgfile"; exit 1)
18768 cat << \_LT_EOF
>> "$cfgfile"
18770 # func_dirname file append nondir_replacement
18771 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18772 # otherwise set result to NONDIR_REPLACEMENT.
18776 */*) func_dirname_result
="${1%/*}${2}" ;;
18777 * ) func_dirname_result
="${3}" ;;
18781 # func_basename file
18784 func_basename_result
="${1##*/}"
18787 # func_dirname_and_basename file append nondir_replacement
18788 # perform func_basename and func_dirname in a single function
18790 # dirname: Compute the dirname of FILE. If nonempty,
18791 # add APPEND to the result, otherwise set result
18792 # to NONDIR_REPLACEMENT.
18793 # value returned in "$func_dirname_result"
18794 # basename: Compute filename of FILE.
18795 # value retuned in "$func_basename_result"
18796 # Implementation must be kept synchronized with func_dirname
18797 # and func_basename. For efficiency, we do not delegate to
18798 # those functions but instead duplicate the functionality here.
18799 func_dirname_and_basename
()
18802 */*) func_dirname_result
="${1%/*}${2}" ;;
18803 * ) func_dirname_result
="${3}" ;;
18805 func_basename_result
="${1##*/}"
18808 # func_stripname prefix suffix name
18809 # strip PREFIX and SUFFIX off of NAME.
18810 # PREFIX and SUFFIX must not contain globbing or regex special
18811 # characters, hashes, percent signs, but SUFFIX may contain a leading
18812 # dot (in which case that matches only a dot).
18815 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18816 # positional parameters, so assign one to ordinary parameter first.
18817 func_stripname_result
=${3}
18818 func_stripname_result
=${func_stripname_result#"${1}"}
18819 func_stripname_result
=${func_stripname_result%"${2}"}
18825 func_opt_split_opt
=${1%%=*}
18826 func_opt_split_arg
=${1#*=}
18833 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18834 *) func_lo2o_result
=${1} ;;
18838 # func_xform libobj-or-source
18841 func_xform_result
=${1%.*}.lo
18844 # func_arith arithmetic-term...
18847 func_arith_result
=$
(( $
* ))
18851 # STRING may not start with a hyphen.
18854 func_len_result
=${#1}
18859 *) # Bourne compatible functions.
18860 cat << \_LT_EOF
>> "$cfgfile"
18862 # func_dirname file append nondir_replacement
18863 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18864 # otherwise set result to NONDIR_REPLACEMENT.
18867 # Extract subdirectory from the argument.
18868 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18869 if test "X$func_dirname_result" = "X${1}"; then
18870 func_dirname_result
="${3}"
18872 func_dirname_result
="$func_dirname_result${2}"
18876 # func_basename file
18879 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18883 # func_stripname prefix suffix name
18884 # strip PREFIX and SUFFIX off of NAME.
18885 # PREFIX and SUFFIX must not contain globbing or regex special
18886 # characters, hashes, percent signs, but SUFFIX may contain a leading
18887 # dot (in which case that matches only a dot).
18888 # func_strip_suffix prefix name
18892 .
*) func_stripname_result
=`$ECHO "X${3}" \
18893 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18894 *) func_stripname_result
=`$ECHO "X${3}" \
18895 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18900 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18901 my_sed_long_arg
='1s/^-[^=]*=//'
18906 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18907 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18913 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18916 # func_xform libobj-or-source
18919 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18922 # func_arith arithmetic-term...
18925 func_arith_result
=`expr "$@"`
18929 # STRING may not start with a hyphen.
18932 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18938 case $lt_shell_append in
18940 cat << \_LT_EOF
>> "$cfgfile"
18942 # func_append var value
18943 # Append VALUE to the end of shell variable VAR.
18951 cat << \_LT_EOF
>> "$cfgfile"
18953 # func_append var value
18954 # Append VALUE to the end of shell variable VAR.
18965 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18966 ||
(rm -f "$cfgfile"; exit 1)
18968 mv -f "$cfgfile" "$ofile" ||
18969 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18973 cat <<_LT_EOF >> "$ofile"
18975 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18977 # The linker used to build libraries.
18980 # Commands used to build an old-style archive.
18981 old_archive_cmds=$lt_old_archive_cmds_CXX
18983 # A language specific compiler.
18984 CC=$lt_compiler_CXX
18986 # Is the compiler the GNU compiler?
18989 # Compiler flag to turn off builtin functions.
18990 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18992 # How to pass a linker flag through the compiler.
18993 wl=$lt_lt_prog_compiler_wl_CXX
18995 # Additional compiler flags for building library objects.
18996 pic_flag=$lt_lt_prog_compiler_pic_CXX
18998 # Compiler flag to prevent dynamic linking.
18999 link_static_flag=$lt_lt_prog_compiler_static_CXX
19001 # Does compiler simultaneously support -c and -o options?
19002 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19004 # Whether or not to add -lc for building shared libraries.
19005 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19007 # Whether or not to disallow shared libs when runtime libs are static.
19008 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19010 # Compiler flag to allow reflexive dlopens.
19011 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19013 # Compiler flag to generate shared objects directly from archives.
19014 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19016 # Whether the compiler copes with passing no objects directly.
19017 compiler_needs_object=$lt_compiler_needs_object_CXX
19019 # Create an old-style archive from a shared archive.
19020 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19022 # Create a temporary old-style archive to link instead of a shared archive.
19023 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19025 # Commands used to build a shared archive.
19026 archive_cmds=$lt_archive_cmds_CXX
19027 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19029 # Commands used to build a loadable module if different from building
19030 # a shared archive.
19031 module_cmds=$lt_module_cmds_CXX
19032 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19034 # Whether we are building with GNU ld or not.
19035 with_gnu_ld=$lt_with_gnu_ld_CXX
19037 # Flag that allows shared libraries with undefined symbols to be built.
19038 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19040 # Flag that enforces no undefined symbols.
19041 no_undefined_flag=$lt_no_undefined_flag_CXX
19043 # Flag to hardcode \$libdir into a binary during linking.
19044 # This must work even if \$libdir does not exist
19045 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19047 # If ld is used when linking, flag to hardcode \$libdir into a binary
19048 # during linking. This must work even if \$libdir does not exist.
19049 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19051 # Whether we need a single "-rpath" flag with a separated argument.
19052 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19054 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19055 # DIR into the resulting binary.
19056 hardcode_direct=$hardcode_direct_CXX
19058 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19059 # DIR into the resulting binary and the resulting library dependency is
19060 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19061 # library is relocated.
19062 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19064 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19065 # into the resulting binary.
19066 hardcode_minus_L=$hardcode_minus_L_CXX
19068 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19069 # into the resulting binary.
19070 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19072 # Set to "yes" if building a shared library automatically hardcodes DIR
19073 # into the library and all subsequent libraries and executables linked
19075 hardcode_automatic=$hardcode_automatic_CXX
19077 # Set to yes if linker adds runtime paths of dependent libraries
19078 # to runtime path list.
19079 inherit_rpath=$inherit_rpath_CXX
19081 # Whether libtool must link a program against all its dependency libraries.
19082 link_all_deplibs=$link_all_deplibs_CXX
19084 # Fix the shell variable \$srcfile for the compiler.
19085 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19087 # Set to "yes" if exported symbols are required.
19088 always_export_symbols=$always_export_symbols_CXX
19090 # The commands to list exported symbols.
19091 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19093 # Symbols that should not be listed in the preloaded symbols.
19094 exclude_expsyms=$lt_exclude_expsyms_CXX
19096 # Symbols that must always be exported.
19097 include_expsyms=$lt_include_expsyms_CXX
19099 # Commands necessary for linking programs (against libraries) with templates.
19100 prelink_cmds=$lt_prelink_cmds_CXX
19102 # Specify filename containing input files.
19103 file_list_spec=$lt_file_list_spec_CXX
19105 # How to hardcode a shared library path into an executable.
19106 hardcode_action=$hardcode_action_CXX
19108 # The directories searched by this compiler when creating a shared library.
19109 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19111 # Dependencies to place before and after the objects being linked to
19112 # create a shared library.
19113 predep_objects=$lt_predep_objects_CXX
19114 postdep_objects=$lt_postdep_objects_CXX
19115 predeps=$lt_predeps_CXX
19116 postdeps=$lt_postdeps_CXX
19118 # The library search path used internally by the compiler when linking
19119 # a shared library.
19120 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19122 # ### END LIBTOOL TAG CONFIG: CXX
19126 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19127 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19128 # are listed without --file. Let's play safe and only enable the eval
19129 # if we detect the quoting.
19130 case $CONFIG_FILES in
19131 *\'*) eval set x
"$CONFIG_FILES" ;;
19132 *) set x
$CONFIG_FILES ;;
19137 # Strip MF so we end up with the name of the file.
19138 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19139 # Check whether this is an Automake generated Makefile or not.
19140 # We used to match only the files named `Makefile.in', but
19141 # some people rename them; so instead we look at the file content.
19142 # Grep'ing the first line is not enough: some people post-process
19143 # each Makefile.in and add a new line on top of each file to say so.
19144 # Grep'ing the whole file is not good either: AIX grep has a line
19145 # limit of 2048, but all sed's we know have understand at least 4000.
19146 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19147 dirpart
=`$as_dirname -- "$mf" ||
19148 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19149 X"$mf" : 'X\(//\)[^/]' \| \
19150 X"$mf" : 'X\(//\)$' \| \
19151 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19157 /^X\(\/\/\)[^/].*/{
19173 # Extract the definition of DEPDIR, am__include, and am__quote
19174 # from the Makefile without running `make'.
19175 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19176 test -z "$DEPDIR" && continue
19177 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19178 test -z "am__include" && continue
19179 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19180 # When using ansi2knr, U may be empty or an underscore; expand it
19181 U
=`sed -n 's/^U = //p' < "$mf"`
19182 # Find all dependency output files, they are included files with
19183 # $(DEPDIR) in their names. We invoke sed twice because it is the
19184 # simplest approach to changing $(DEPDIR) to its actual value in the
19186 for file in `sed -n "
19187 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19188 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19189 # Make sure the directory exists.
19190 test -f "$dirpart/$file" && continue
19191 fdir
=`$as_dirname -- "$file" ||
19192 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19193 X"$file" : 'X\(//\)[^/]' \| \
19194 X"$file" : 'X\(//\)$' \| \
19195 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19196 $as_echo X"$file" |
19197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19201 /^X\(\/\/\)[^/].*/{
19214 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19215 # echo "creating $dirpart/$file"
19216 echo '# dummy' > "$dirpart/$file"
19228 ac_clean_files
=$ac_clean_files_save
19230 test $ac_write_fail = 0 ||
19231 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19234 # configure is writing to config.log, and then calls config.status.
19235 # config.status does its own redirection, appending to config.log.
19236 # Unfortunately, on DOS this fails, as config.log is still kept open
19237 # by configure, so config.status won't be able to write to it; its
19238 # output is simply discarded. So we exec the FD to /dev/null,
19239 # effectively closing config.log, so it can be properly (re)opened and
19240 # appended to by config.status. When coming back to configure, we
19241 # need to make the FD available again.
19242 if test "$no_create" != yes; then
19244 ac_config_status_args
=
19245 test "$silent" = yes &&
19246 ac_config_status_args
="$ac_config_status_args --quiet"
19248 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19250 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19251 # would make configure fail if this is the last instruction.
19252 $ac_cs_success || as_fn_exit
1
19254 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19256 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}