2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libssp 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL
=${CONFIG_SHELL-/bin/sh}
533 # Remove one level of quotation (which was required for Make).
534 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 if test "X$1" = X--no-reexec
; then
540 # Discard the --no-reexec flag, and continue.
542 elif test "X$1" = X--fallback-echo
; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo
; then
554 # used as fallback echo
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset
; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
591 for dir
in $PATH /usr
/ucb
; do
593 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
603 if test "X$ECHO" = Xecho
; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
610 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL
=/bin
/ksh
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
626 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
632 SHELL
="$CONFIG_SHELL"
634 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
641 # maybe with a smaller string...
644 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string
=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 # Oops. We lost completely, so just stick with echo.
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev
/null
6>&1
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
686 ac_default_prefix
=/usr
/local
688 ac_config_libobj_dir
=.
695 # Identity of this package.
696 PACKAGE_NAME
='libssp'
697 PACKAGE_TARNAME
='libssp'
698 PACKAGE_VERSION
='1.0'
699 PACKAGE_STRING
='libssp 1.0'
703 ac_unique_file
="ssp.c"
704 # Factoring default headers for most tests.
705 ac_includes_default
="\
707 #ifdef HAVE_SYS_TYPES_H
708 # include <sys/types.h>
710 #ifdef HAVE_SYS_STAT_H
711 # include <sys/stat.h>
717 # ifdef HAVE_STDLIB_H
722 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
727 #ifdef HAVE_STRINGS_H
728 # include <strings.h>
730 #ifdef HAVE_INTTYPES_H
731 # include <inttypes.h>
740 ac_subst_vars
='am__EXEEXT_FALSE
765 ssp_have_usable_vsnprintf
768 LIBSSP_USE_SYMVER_FALSE
769 LIBSSP_USE_SYMVER_TRUE
789 MAINTAINER_MODE_FALSE
799 INSTALL_STRIP_PROGRAM
854 program_transform_name
867 enable_option_checking
868 enable_version_specific_runtime_libs
869 enable_maintainer_mode
871 enable_dependency_tracking
879 ac_precious_vars
='build_alias
886 # Initialize some variables set by options.
888 ac_init_version
=false
889 ac_unrecognized_opts
=
891 # The variables have the same names as the options, with
892 # dashes changed to underlines.
900 program_transform_name
=s
,x
,x
,
908 # Installation directory options.
909 # These are left unexpanded so users can "make install exec_prefix=/foo"
910 # and all the variables that are supposed to be based on exec_prefix
911 # by default will actually change.
912 # Use braces instead of parens because sh, perl, etc. also accept them.
913 # (The list follows the same order as the GNU Coding Standards.)
914 bindir
='${exec_prefix}/bin'
915 sbindir
='${exec_prefix}/sbin'
916 libexecdir
='${exec_prefix}/libexec'
917 datarootdir
='${prefix}/share'
918 datadir
='${datarootdir}'
919 sysconfdir
='${prefix}/etc'
920 sharedstatedir
='${prefix}/com'
921 localstatedir
='${prefix}/var'
922 includedir
='${prefix}/include'
923 oldincludedir
='/usr/include'
924 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
925 infodir
='${datarootdir}/info'
930 libdir
='${exec_prefix}/lib'
931 localedir
='${datarootdir}/locale'
932 mandir
='${datarootdir}/man'
938 # If the previous option needs an argument, assign it.
939 if test -n "$ac_prev"; then
940 eval $ac_prev=\
$ac_option
946 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
950 # Accept the important Cygnus configure options, so we can diagnose typos.
952 case $ac_dashdash$ac_option in
956 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
958 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
961 -build |
--build |
--buil |
--bui |
--bu)
962 ac_prev
=build_alias
;;
963 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
964 build_alias
=$ac_optarg ;;
966 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
967 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
968 ac_prev
=cache_file
;;
969 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
970 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
971 cache_file
=$ac_optarg ;;
974 cache_file
=config.cache
;;
976 -datadir |
--datadir |
--datadi |
--datad)
978 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
979 datadir
=$ac_optarg ;;
981 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
982 |
--dataroo |
--dataro |
--datar)
983 ac_prev
=datarootdir
;;
984 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
985 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
986 datarootdir
=$ac_optarg ;;
988 -disable-* |
--disable-*)
989 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
992 as_fn_error
"invalid feature name: $ac_useropt"
993 ac_useropt_orig
=$ac_useropt
994 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1000 ac_unrecognized_sep
=', ';;
1002 eval enable_
$ac_useropt=no
;;
1004 -docdir |
--docdir |
--docdi |
--doc |
--do)
1006 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1007 docdir
=$ac_optarg ;;
1009 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1011 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1012 dvidir
=$ac_optarg ;;
1014 -enable-* |
--enable-*)
1015 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1018 as_fn_error
"invalid feature name: $ac_useropt"
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_
$ac_useropt"
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval enable_
$ac_useropt=\
$ac_optarg ;;
1030 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1031 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1032 |
--exec |
--exe |
--ex)
1033 ac_prev
=exec_prefix
;;
1034 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1035 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1036 |
--exec=* |
--exe=* |
--ex=*)
1037 exec_prefix
=$ac_optarg ;;
1039 -gas |
--gas |
--ga |
--g)
1040 # Obsolete; use --with-gas.
1043 -help |
--help |
--hel |
--he |
-h)
1044 ac_init_help
=long
;;
1045 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1046 ac_init_help
=recursive
;;
1047 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1048 ac_init_help
=short
;;
1050 -host |
--host |
--hos |
--ho)
1051 ac_prev
=host_alias
;;
1052 -host=* |
--host=* |
--hos=* |
--ho=*)
1053 host_alias
=$ac_optarg ;;
1055 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1057 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1059 htmldir
=$ac_optarg ;;
1061 -includedir |
--includedir |
--includedi |
--included |
--include \
1062 |
--includ |
--inclu |
--incl |
--inc)
1063 ac_prev
=includedir
;;
1064 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1065 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1066 includedir
=$ac_optarg ;;
1068 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1070 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1071 infodir
=$ac_optarg ;;
1073 -libdir |
--libdir |
--libdi |
--libd)
1075 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1076 libdir
=$ac_optarg ;;
1078 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1079 |
--libexe |
--libex |
--libe)
1080 ac_prev
=libexecdir
;;
1081 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1082 |
--libexe=* |
--libex=* |
--libe=*)
1083 libexecdir
=$ac_optarg ;;
1085 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1086 ac_prev
=localedir
;;
1087 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1088 localedir
=$ac_optarg ;;
1090 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1091 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1092 ac_prev
=localstatedir
;;
1093 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1094 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1095 localstatedir
=$ac_optarg ;;
1097 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1099 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1100 mandir
=$ac_optarg ;;
1102 -nfp |
--nfp |
--nf)
1103 # Obsolete; use --without-fp.
1106 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1107 |
--no-cr |
--no-c |
-n)
1110 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1111 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1114 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1115 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1116 |
--oldin |
--oldi |
--old |
--ol |
--o)
1117 ac_prev
=oldincludedir
;;
1118 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1119 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1120 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1121 oldincludedir
=$ac_optarg ;;
1123 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1125 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1126 prefix
=$ac_optarg ;;
1128 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1129 |
--program-pre |
--program-pr |
--program-p)
1130 ac_prev
=program_prefix
;;
1131 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1132 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1133 program_prefix
=$ac_optarg ;;
1135 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1136 |
--program-suf |
--program-su |
--program-s)
1137 ac_prev
=program_suffix
;;
1138 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1139 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1140 program_suffix
=$ac_optarg ;;
1142 -program-transform-name |
--program-transform-name \
1143 |
--program-transform-nam |
--program-transform-na \
1144 |
--program-transform-n |
--program-transform- \
1145 |
--program-transform |
--program-transfor \
1146 |
--program-transfo |
--program-transf \
1147 |
--program-trans |
--program-tran \
1148 |
--progr-tra |
--program-tr |
--program-t)
1149 ac_prev
=program_transform_name
;;
1150 -program-transform-name=* |
--program-transform-name=* \
1151 |
--program-transform-nam=* |
--program-transform-na=* \
1152 |
--program-transform-n=* |
--program-transform-=* \
1153 |
--program-transform=* |
--program-transfor=* \
1154 |
--program-transfo=* |
--program-transf=* \
1155 |
--program-trans=* |
--program-tran=* \
1156 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1157 program_transform_name
=$ac_optarg ;;
1159 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1161 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1162 pdfdir
=$ac_optarg ;;
1164 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1166 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1170 |
-silent |
--silent |
--silen |
--sile |
--sil)
1173 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1175 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1177 sbindir
=$ac_optarg ;;
1179 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1180 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1181 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1183 ac_prev
=sharedstatedir
;;
1184 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1185 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1186 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1188 sharedstatedir
=$ac_optarg ;;
1190 -site |
--site |
--sit)
1192 -site=* |
--site=* |
--sit=*)
1195 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1197 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1198 srcdir
=$ac_optarg ;;
1200 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1201 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1202 ac_prev
=sysconfdir
;;
1203 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1204 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1205 sysconfdir
=$ac_optarg ;;
1207 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1208 ac_prev
=target_alias
;;
1209 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1210 target_alias
=$ac_optarg ;;
1212 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1215 -version |
--version |
--versio |
--versi |
--vers |
-V)
1216 ac_init_version
=: ;;
1219 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1222 as_fn_error
"invalid package name: $ac_useropt"
1223 ac_useropt_orig
=$ac_useropt
1224 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225 case $ac_user_opts in
1229 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1230 ac_unrecognized_sep
=', ';;
1232 eval with_
$ac_useropt=\
$ac_optarg ;;
1234 -without-* |
--without-*)
1235 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1238 as_fn_error
"invalid package name: $ac_useropt"
1239 ac_useropt_orig
=$ac_useropt
1240 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1245 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1246 ac_unrecognized_sep
=', ';;
1248 eval with_
$ac_useropt=no
;;
1251 # Obsolete; use --with-x.
1254 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1255 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1256 ac_prev
=x_includes
;;
1257 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1258 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1259 x_includes
=$ac_optarg ;;
1261 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1262 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1263 ac_prev
=x_libraries
;;
1264 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1265 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1266 x_libraries
=$ac_optarg ;;
1268 -*) as_fn_error
"unrecognized option: \`$ac_option'
1269 Try \`$0 --help' for more information."
1273 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1274 # Reject names that are not valid shell variable names.
1275 case $ac_envvar in #(
1276 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1277 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1279 eval $ac_envvar=\
$ac_optarg
1280 export $ac_envvar ;;
1283 # FIXME: should be removed in autoconf 3.0.
1284 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1285 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1286 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1287 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1293 if test -n "$ac_prev"; then
1294 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1295 as_fn_error
"missing argument to $ac_option"
1298 if test -n "$ac_unrecognized_opts"; then
1299 case $enable_option_checking in
1301 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1302 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1306 # Check all directory arguments for consistency.
1307 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1308 datadir sysconfdir sharedstatedir localstatedir includedir \
1309 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1310 libdir localedir mandir
1312 eval ac_val
=\$
$ac_var
1313 # Remove trailing slashes.
1316 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1317 eval $ac_var=\
$ac_val;;
1319 # Be sure to have absolute directory names.
1321 [\\/$
]* | ?
:[\\/]* ) continue;;
1322 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1324 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1327 # There might be people who depend on the old broken behavior: `$host'
1328 # used to hold the argument of --host etc.
1329 # FIXME: To remove some day.
1332 target
=$target_alias
1334 # FIXME: To remove some day.
1335 if test "x$host_alias" != x
; then
1336 if test "x$build_alias" = x
; then
1337 cross_compiling
=maybe
1338 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1339 If a cross compiler is detected then cross compile mode will be used." >&2
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1348 test "$silent" = yes && exec 6>/dev
/null
1351 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di
=`ls -di .` &&
1353 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error
"working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error
"pwd does not report name of working directory"
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted
=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir
=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted
=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1395 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1397 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 for ac_var
in $ac_precious_vars; do
1412 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1414 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures libssp 1.0 to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/libssp]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1488 --build=BUILD configure
for building on BUILD
[guessed
]
1489 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1490 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1494 if test -n "$ac_init_help"; then
1495 case $ac_init_help in
1496 short | recursive
) echo "Configuration of libssp 1.0:";;
1501 --disable-option-checking ignore unrecognized
--enable/--with options
1502 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1503 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1504 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1505 --enable-maintainer-mode enable make rules and dependencies not useful
1506 (and sometimes confusing
) to the casual installer
1507 --enable-multilib build many library versions
(default
)
1508 --disable-dependency-tracking speeds up one-time build
1509 --enable-dependency-tracking do not reject slow dependency extractors
1510 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1511 --enable-static[=PKGS
] build static libraries
[default
=yes]
1512 --enable-fast-install[=PKGS
]
1513 optimize
for fast installation
[default
=yes]
1514 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1517 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1518 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1519 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1521 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1523 Some influential environment variables
:
1524 CC C compiler
command
1525 CFLAGS C compiler flags
1526 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1527 nonstandard directory
<lib dir
>
1528 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1529 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1530 you have headers
in a nonstandard directory
<include dir
>
1533 Use these variables to override the choices made by
`configure' or to help
1534 it to find libraries and programs with nonstandard names/locations.
1536 Report bugs to the package provider.
1541 if test "$ac_init_help" = "recursive"; then
1542 # If there are subdirs, report their specific --help.
1543 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1544 test -d "$ac_dir" ||
1545 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1553 # A ".." for each directory in $ac_dir_suffix.
1554 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1555 case $ac_top_builddir_sub in
1556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1560 ac_abs_top_builddir=$ac_pwd
1561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1562 # for backward compatibility:
1563 ac_top_builddir=$ac_top_build_prefix
1566 .) # We are building in place.
1568 ac_top_srcdir=$ac_top_builddir_sub
1569 ac_abs_top_srcdir=$ac_pwd ;;
1570 [\\/]* | ?:[\\/]* ) # Absolute name.
1571 ac_srcdir=$srcdir$ac_dir_suffix;
1572 ac_top_srcdir=$srcdir
1573 ac_abs_top_srcdir=$srcdir ;;
1575 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1576 ac_top_srcdir=$ac_top_build_prefix$srcdir
1577 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1581 cd "$ac_dir" || { ac_status=$?; continue; }
1582 # Check for guested configure.
1583 if test -f "$ac_srcdir/configure.gnu"; then
1585 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1586 elif test -f "$ac_srcdir/configure"; then
1588 $SHELL "$ac_srcdir/configure" --help=recursive
1590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592 cd "$ac_pwd" || { ac_status=$?; break; }
1596 test -n "$ac_init_help" && exit $ac_status
1597 if $ac_init_version; then
1599 libssp configure 1.0
1600 generated by GNU Autoconf 2.64
1602 Copyright (C) 2009 Free Software Foundation, Inc.
1603 This configure script is free software; the Free Software Foundation
1604 gives unlimited permission to copy, distribute and modify it.
1609 ## ------------------------ ##
1610 ## Autoconf initialization. ##
1611 ## ------------------------ ##
1613 # ac_fn_c_try_compile LINENO
1614 # --------------------------
1615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1616 ac_fn_c_try_compile ()
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 rm -f conftest.$ac_objext
1620 if { { ac_try="$ac_compile"
1622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1623 *) ac_try_echo
=$ac_try;;
1625 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_compile") 2>conftest.err
1629 if test -s conftest.err
; then
1630 grep -v '^ *+' conftest.err
>conftest.er1
1631 cat conftest.er1
>&5
1632 mv -f conftest.er1 conftest.err
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && {
1636 test -z "$ac_c_werror_flag" ||
1637 test ! -s conftest.err
1638 } && test -s conftest.
$ac_objext; then :
1641 $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.
$ac_ext >&5
1646 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1649 } # ac_fn_c_try_compile
1651 # ac_fn_c_try_cpp LINENO
1652 # ----------------------
1653 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1656 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1657 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1666 if test -s conftest.err; then
1667 grep -v '^ *+' conftest.err >conftest.er1
1668 cat conftest.er1 >&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } >/dev/null && {
1673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1674 test ! -s conftest.err
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1683 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 # ac_fn_c_try_link LINENO
1689 # -----------------------
1690 # Try to link conftest.$ac_ext, and return whether this succeeded.
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 rm -f conftest.$ac_objext conftest$ac_exeext
1695 if { { ac_try="$ac_link"
1697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1698 *) ac_try_echo
=$ac_try;;
1700 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_link") 2>conftest.err
1704 if test -s conftest.err
; then
1705 grep -v '^ *+' conftest.err
>conftest.er1
1706 cat conftest.er1
>&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } && {
1711 test -z "$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1713 } && test -s conftest
$ac_exeext && {
1714 test "$cross_compiling" = yes ||
1715 $as_test_x conftest
$ac_exeext
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.
$ac_ext >&5
1724 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1725 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1726 # interfere with the next link command; also delete a directory that is
1727 # left behind by Apple's compiler. We do this before executing the actions.
1728 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1732 } # ac_fn_c_try_link
1734 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1735 # -------------------------------------------------------
1736 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1737 # the include files in INCLUDES and setting the cache variable VAR
1739 ac_fn_c_check_header_mongrel
()
1741 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1742 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1746 $as_echo_n "(cached) " >&6
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1750 $as_echo "$ac_res" >&6; }
1752 # Is the header compilable?
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1754 $as_echo_n "checking $2 usability... " >&6; }
1755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h. */
1760 if ac_fn_c_try_compile
"$LINENO"; then :
1761 ac_header_compiler
=yes
1763 ac_header_compiler
=no
1765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1767 $as_echo "$ac_header_compiler" >&6; }
1769 # Is the header present?
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1771 $as_echo_n "checking $2 presence... " >&6; }
1772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1776 if ac_fn_c_try_cpp
"$LINENO"; then :
1777 ac_header_preproc
=yes
1779 ac_header_preproc
=no
1781 rm -f conftest.err conftest.
$ac_ext
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1783 $as_echo "$ac_header_preproc" >&6; }
1785 # So? What about this header?
1786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1789 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1791 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1795 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1797 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1799 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1801 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1803 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1809 $as_echo_n "(cached) " >&6
1811 eval "$3=\$ac_header_compiler"
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 $as_echo "$ac_res" >&6; }
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1819 } # ac_fn_c_check_header_mongrel
1821 # ac_fn_c_try_run LINENO
1822 # ----------------------
1823 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1824 # that executables *can* be run.
1827 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1828 if { { ac_try
="$ac_link"
1830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_link") 2>&5
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1839 { { case "(($ac_try" in
1840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1841 *) ac_try_echo
=$ac_try;;
1843 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845 (eval "$ac_try") 2>&5
1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848 test $ac_status = 0; }; }; then :
1851 $as_echo "$as_me: program exited with status $ac_status" >&5
1852 $as_echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.
$ac_ext >&5
1855 ac_retval
=$ac_status
1857 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1863 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1864 # -------------------------------------------------------
1865 # Tests whether HEADER exists and can be compiled using the include files in
1866 # INCLUDES, setting the cache variable VAR accordingly.
1867 ac_fn_c_check_header_compile
()
1869 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1873 $as_echo_n "(cached) " >&6
1875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1880 if ac_fn_c_try_compile
"$LINENO"; then :
1885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1889 $as_echo "$ac_res" >&6; }
1890 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1892 } # ac_fn_c_check_header_compile
1894 # ac_fn_c_check_func LINENO FUNC VAR
1895 # ----------------------------------
1896 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1897 ac_fn_c_check_func
()
1899 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1901 $as_echo_n "checking for $2... " >&6; }
1902 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1903 $as_echo_n "(cached) " >&6
1905 if test x
$gcc_no_link = xyes
; then
1906 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h. */
1910 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1912 #define $2 innocuous_$2
1914 /* System header to define __stub macros and hopefully few prototypes,
1915 which can conflict with char $2 (); below.
1916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1917 <limits.h> exists even on freestanding compilers. */
1920 # include <limits.h>
1922 # include <assert.h>
1927 /* Override any GCC internal prototype to avoid an error.
1928 Use char because int might match the return type of a GCC
1929 builtin and then its argument prototype would still apply. */
1934 /* The GNU C library defines this for functions which it implements
1935 to always fail with ENOSYS. Some functions are actually named
1936 something starting with __ and the normal name is an alias. */
1937 #if defined __stub_$2 || defined __stub___$2
1949 if ac_fn_c_try_link
"$LINENO"; then :
1954 rm -f core conftest.err conftest.
$ac_objext \
1955 conftest
$ac_exeext conftest.
$ac_ext
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959 $as_echo "$ac_res" >&6; }
1960 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1962 } # ac_fn_c_check_func
1963 cat >config.log
<<_ACEOF
1964 This file contains any messages produced by compilers while
1965 running configure, to aid debugging if configure makes a mistake.
1967 It was created by libssp $as_me 1.0, which was
1968 generated by GNU Autoconf 2.64. Invocation command line was
1980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1987 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1989 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1990 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1992 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1993 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1994 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1995 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir
=.
2004 $as_echo "PATH: $as_dir"
2020 # Keep a trace of the command line.
2021 # Strip out --no-create and --no-recursion so they do not pile up.
2022 # Strip out --silent because we don't want to record it for future runs.
2023 # Also quote any args containing shell meta-characters.
2024 # Make two passes to allow for proper duplicate-argument suppression.
2028 ac_must_keep_next
=false
2034 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2035 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2036 |
-silent |
--silent |
--silen |
--sile |
--sil)
2039 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2042 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2044 as_fn_append ac_configure_args1
" '$ac_arg'"
2045 if test $ac_must_keep_next = true
; then
2046 ac_must_keep_next
=false
# Got value, back to normal.
2049 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2050 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2051 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2052 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2053 case "$ac_configure_args0 " in
2054 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2057 -* ) ac_must_keep_next
=true
;;
2060 as_fn_append ac_configure_args
" '$ac_arg'"
2065 { ac_configure_args0
=; unset ac_configure_args0
;}
2066 { ac_configure_args1
=; unset ac_configure_args1
;}
2068 # When interrupted or exit'd, cleanup temporary files, and complete
2069 # config.log. We remove comments because anyway the quotes in there
2070 # would cause problems or look ugly.
2071 # WARNING: Use '\'' to represent an apostrophe within the trap.
2072 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2073 trap 'exit_status=$?
2074 # Save into config.log some information that might help in debugging.
2079 ## ---------------- ##
2080 ## Cache variables. ##
2081 ## ---------------- ##
2084 # The following way of writing the cache mishandles newlines in values,
2086 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2087 eval ac_val=\$$ac_var
2091 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2092 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2095 _ | IFS | as_nl) ;; #(
2096 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2097 *) { eval $ac_var=; unset $ac_var;} ;;
2102 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2103 *${as_nl}ac_space=\ *)
2105 "s/'\''/'\''\\\\'\'''\''/g;
2106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2109 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2117 ## ----------------- ##
2118 ## Output variables. ##
2119 ## ----------------- ##
2122 for ac_var in $ac_subst_vars
2124 eval ac_val=\$$ac_var
2126 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2128 $as_echo "$ac_var='\''$ac_val'\''"
2132 if test -n "$ac_subst_files"; then
2134 ## ------------------- ##
2135 ## File substitutions. ##
2136 ## ------------------- ##
2139 for ac_var
in $ac_subst_files
2141 eval ac_val
=\$
$ac_var
2143 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2145 $as_echo "$ac_var='\''$ac_val'\''"
2150 if test -s confdefs.h; then
2160 test "$ac_signal" != 0 &&
2161 $as_echo "$as_me: caught signal $ac_signal"
2162 $as_echo "$as_me: exit $exit_status"
2164 rm -f core *.core core.conftest.* &&
2165 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2168 for ac_signal
in 1 2 13 15; do
2169 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2174 rm -f -r conftest
* confdefs.h
2176 $as_echo "/* confdefs.h */" > confdefs.h
2178 # Predefined preprocessor variables.
2180 cat >>confdefs.h
<<_ACEOF
2181 #define PACKAGE_NAME "$PACKAGE_NAME"
2184 cat >>confdefs.h
<<_ACEOF
2185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2188 cat >>confdefs.h
<<_ACEOF
2189 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2192 cat >>confdefs.h
<<_ACEOF
2193 #define PACKAGE_STRING "$PACKAGE_STRING"
2196 cat >>confdefs.h
<<_ACEOF
2197 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2200 cat >>confdefs.h
<<_ACEOF
2201 #define PACKAGE_URL "$PACKAGE_URL"
2205 # Let the site file select an alternate cache file if it wants to.
2206 # Prefer an explicitly selected file to automatically selected ones.
2209 if test -n "$CONFIG_SITE"; then
2210 ac_site_file1
=$CONFIG_SITE
2211 elif test "x$prefix" != xNONE
; then
2212 ac_site_file1
=$prefix/share
/config.site
2213 ac_site_file2
=$prefix/etc
/config.site
2215 ac_site_file1
=$ac_default_prefix/share
/config.site
2216 ac_site_file2
=$ac_default_prefix/etc
/config.site
2218 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2220 test "x$ac_site_file" = xNONE
&& continue
2221 if test -r "$ac_site_file"; then
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2223 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2224 sed 's/^/| /' "$ac_site_file" >&5
2229 if test -r "$cache_file"; then
2230 # Some versions of bash will fail to source /dev/null (special
2231 # files actually), so we avoid doing that.
2232 if test -f "$cache_file"; then
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2234 $as_echo "$as_me: loading cache $cache_file" >&6;}
2236 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2237 *) .
"./$cache_file";;
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2242 $as_echo "$as_me: creating cache $cache_file" >&6;}
2246 # Check that the precious variables saved in the cache have kept the same
2248 ac_cache_corrupted
=false
2249 for ac_var
in $ac_precious_vars; do
2250 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2251 eval ac_new_set
=\
$ac_env_${ac_var}_set
2252 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2253 eval ac_new_val
=\
$ac_env_${ac_var}_value
2254 case $ac_old_set,$ac_new_set in
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2257 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2258 ac_cache_corrupted
=: ;;
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2261 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2262 ac_cache_corrupted
=: ;;
2265 if test "x$ac_old_val" != "x$ac_new_val"; then
2266 # differences in whitespace do not lead to failure.
2267 ac_old_val_w
=`echo x $ac_old_val`
2268 ac_new_val_w
=`echo x $ac_new_val`
2269 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2271 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2272 ac_cache_corrupted
=:
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2275 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2276 eval $ac_var=\
$ac_old_val
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2279 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2281 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2284 # Pass precious variables to config.status.
2285 if test "$ac_new_set" = set; then
2287 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2288 *) ac_arg
=$ac_var=$ac_new_val ;;
2290 case " $ac_configure_args " in
2291 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2292 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2296 if $ac_cache_corrupted; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2300 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2301 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2303 ## -------------------- ##
2304 ## Main body of script. ##
2305 ## -------------------- ##
2308 ac_cpp
='$CPP $CPPFLAGS'
2309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2319 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2320 for ac_t
in install-sh
install.sh shtool
; do
2321 if test -f "$ac_dir/$ac_t"; then
2323 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2328 if test -z "$ac_aux_dir"; then
2329 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2332 # These three variables are undocumented and unsupported,
2333 # and are intended to be withdrawn in a future Autoconf release.
2334 # They can cause serious problems if a builder's source tree is in a directory
2335 # whose full name contains unusual characters.
2336 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2337 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2338 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2341 # Make sure we can run config.sub.
2342 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2343 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2346 $as_echo_n "checking build system type... " >&6; }
2347 if test "${ac_cv_build+set}" = set; then :
2348 $as_echo_n "(cached) " >&6
2350 ac_build_alias
=$build_alias
2351 test "x$ac_build_alias" = x
&&
2352 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2353 test "x$ac_build_alias" = x
&&
2354 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2355 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2356 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2360 $as_echo "$ac_cv_build" >&6; }
2361 case $ac_cv_build in
2363 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2366 ac_save_IFS
=$IFS; IFS
='-'
2372 # Remember, the first character of IFS is used to create $*,
2373 # except with old shells:
2376 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2380 $as_echo_n "checking host system type... " >&6; }
2381 if test "${ac_cv_host+set}" = set; then :
2382 $as_echo_n "(cached) " >&6
2384 if test "x$host_alias" = x
; then
2385 ac_cv_host
=$ac_cv_build
2387 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2388 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2393 $as_echo "$ac_cv_host" >&6; }
2396 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2399 ac_save_IFS
=$IFS; IFS
='-'
2405 # Remember, the first character of IFS is used to create $*,
2406 # except with old shells:
2409 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2413 $as_echo_n "checking target system type... " >&6; }
2414 if test "${ac_cv_target+set}" = set; then :
2415 $as_echo_n "(cached) " >&6
2417 if test "x$target_alias" = x
; then
2418 ac_cv_target
=$ac_cv_host
2420 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2421 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2426 $as_echo "$ac_cv_target" >&6; }
2427 case $ac_cv_target in
2429 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2431 target
=$ac_cv_target
2432 ac_save_IFS
=$IFS; IFS
='-'
2438 # Remember, the first character of IFS is used to create $*,
2439 # except with old shells:
2442 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2445 # The aliases save the names the user supplied, while $host etc.
2446 # will get canonicalized.
2447 test -n "$target_alias" &&
2448 test "$program_prefix$program_suffix$program_transform_name" = \
2450 program_prefix
=${target_alias}-
2452 case ${build_alias} in
2453 "") build_noncanonical
=${build} ;;
2454 *) build_noncanonical
=${build_alias} ;;
2457 case ${host_alias} in
2458 "") host_noncanonical
=${build_noncanonical} ;;
2459 *) host_noncanonical
=${host_alias} ;;
2462 case ${target_alias} in
2463 "") target_noncanonical
=${host_noncanonical} ;;
2464 *) target_noncanonical
=${target_alias} ;;
2470 am__api_version
='1.11'
2472 # Find a good install program. We prefer a C program (faster),
2473 # so one script is as good as another. But avoid the broken or
2474 # incompatible versions:
2475 # SysV /etc/install, /usr/sbin/install
2476 # SunOS /usr/etc/install
2477 # IRIX /sbin/install
2479 # AmigaOS /C/install, which installs bootblocks on floppy discs
2480 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2481 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2482 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2483 # OS/2's system install, which has a completely different semantic
2484 # ./install, which can be erroneously created by make from ./install.sh.
2485 # Reject install programs that cannot install multiple files.
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2487 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2488 if test -z "$INSTALL"; then
2489 if test "${ac_cv_path_install+set}" = set; then :
2490 $as_echo_n "(cached) " >&6
2492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir
=.
2497 # Account for people who put trailing slashes in PATH elements.
2498 case $as_dir/ in #((
2499 .
/ | .
// |
/[cC
]/* | \
2500 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2501 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2504 # OSF1 and SCO ODT 3.0 have their own names for install.
2505 # Don't use installbsd from OSF since it installs stuff as root
2507 for ac_prog
in ginstall scoinst
install; do
2508 for ac_exec_ext
in '' $ac_executable_extensions; do
2509 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2510 if test $ac_prog = install &&
2511 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2512 # AIX install. It has an incompatible calling convention.
2514 elif test $ac_prog = install &&
2515 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2516 # program-specific install script used by HP pwplus--don't use.
2519 rm -rf conftest.one conftest.two conftest.dir
2520 echo one
> conftest.one
2521 echo two
> conftest.two
2523 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2524 test -s conftest.one
&& test -s conftest.two
&&
2525 test -s conftest.dir
/conftest.one
&&
2526 test -s conftest.dir
/conftest.two
2528 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2541 rm -rf conftest.one conftest.two conftest.dir
2544 if test "${ac_cv_path_install+set}" = set; then
2545 INSTALL
=$ac_cv_path_install
2547 # As a last resort, use the slow shell script. Don't cache a
2548 # value for INSTALL within a source directory, because that will
2549 # break other packages using the cache if that directory is
2550 # removed, or if the value is a relative name.
2551 INSTALL
=$ac_install_sh
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2555 $as_echo "$INSTALL" >&6; }
2557 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2558 # It thinks the first close brace ends the variable substitution.
2559 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2561 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2563 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2566 $as_echo_n "checking whether build environment is sane... " >&6; }
2569 echo timestamp
> conftest.
file
2570 # Reject unsafe characters in $srcdir or the absolute working directory
2571 # name. Accept space and tab only in the latter.
2575 *[\\\"\
#\$\&\'\`$am_lf]*)
2576 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2579 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2580 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2583 # Do `set' in a subshell so we don't clobber the current shell's
2584 # arguments. Must try -L first in case configure is actually a
2585 # symlink; some systems play weird games with the mod time of symlinks
2586 # (eg FreeBSD returns the mod time of the symlink's containing
2589 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2590 if test "$*" = "X"; then
2592 set X
`ls -t "$srcdir/configure" conftest.file`
2595 if test "$*" != "X $srcdir/configure conftest.file" \
2596 && test "$*" != "X conftest.file $srcdir/configure"; then
2598 # If neither matched, then we have a broken ls. This can happen
2599 # if, for instance, CONFIG_SHELL is bash and it inherits a
2600 # broken ls alias from the environment. This has actually
2601 # happened. Such a system could not be considered "sane".
2602 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2603 alias in your environment" "$LINENO" 5
2606 test "$2" = conftest.
file
2612 as_fn_error
"newly created file is older than distributed files!
2613 Check your system clock" "$LINENO" 5
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2616 $as_echo "yes" >&6; }
2617 test "$program_prefix" != NONE
&&
2618 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2619 # Use a double $ so make ignores it.
2620 test "$program_suffix" != NONE
&&
2621 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2622 # Double any \ or $.
2623 # By default was `s,x,x', remove it if useless.
2624 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2625 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2627 # expand $ac_aux_dir to an absolute path
2628 am_aux_dir
=`cd $ac_aux_dir && pwd`
2630 if test x
"${MISSING+set}" != xset
; then
2633 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2635 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2638 # Use eval to expand $SHELL
2639 if eval "$MISSING --run true"; then
2640 am_missing_run
="$MISSING --run "
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2644 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2647 if test x
"${install_sh}" != xset
; then
2650 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2652 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2656 # Installed binaries are usually stripped using `strip' when the user
2657 # run `make install-strip'. However `strip' might not be the right
2658 # tool to use in cross-compilation environments, therefore Automake
2659 # will honor the `STRIP' environment variable to overrule this program.
2660 if test "$cross_compiling" != no
; then
2661 if test -n "$ac_tool_prefix"; then
2662 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2663 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if test "${ac_cv_prog_STRIP+set}" = set; then :
2667 $as_echo_n "(cached) " >&6
2669 if test -n "$STRIP"; then
2670 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir
=.
2677 for ac_exec_ext
in '' $ac_executable_extensions; do
2678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 STRIP
=$ac_cv_prog_STRIP
2690 if test -n "$STRIP"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2692 $as_echo "$STRIP" >&6; }
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695 $as_echo "no" >&6; }
2700 if test -z "$ac_cv_prog_STRIP"; then
2702 # Extract the first word of "strip", so it can be a program name with args.
2703 set dummy strip
; ac_word
=$2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705 $as_echo_n "checking for $ac_word... " >&6; }
2706 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2707 $as_echo_n "(cached) " >&6
2709 if test -n "$ac_ct_STRIP"; then
2710 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir
=.
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719 ac_cv_prog_ac_ct_STRIP
="strip"
2720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2730 if test -n "$ac_ct_STRIP"; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2732 $as_echo "$ac_ct_STRIP" >&6; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735 $as_echo "no" >&6; }
2738 if test "x$ac_ct_STRIP" = x
; then
2741 case $cross_compiling:$ac_tool_warned in
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2745 ac_tool_warned
=yes ;;
2750 STRIP
="$ac_cv_prog_STRIP"
2754 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2757 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2758 if test -z "$MKDIR_P"; then
2759 if test "${ac_cv_path_mkdir+set}" = set; then :
2760 $as_echo_n "(cached) " >&6
2762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2763 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2766 test -z "$as_dir" && as_dir
=.
2767 for ac_prog
in mkdir gmkdir
; do
2768 for ac_exec_ext
in '' $ac_executable_extensions; do
2769 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2770 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2771 'mkdir (GNU coreutils) '* | \
2772 'mkdir (coreutils) '* | \
2773 'mkdir (fileutils) '4.1*)
2774 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2784 if test "${ac_cv_path_mkdir+set}" = set; then
2785 MKDIR_P
="$ac_cv_path_mkdir -p"
2787 # As a last resort, use the slow shell script. Don't cache a
2788 # value for MKDIR_P within a source directory, because that will
2789 # break other packages using the cache if that directory is
2790 # removed, or if the value is a relative name.
2791 test -d .
/--version && rmdir .
/--version
2792 MKDIR_P
="$ac_install_sh -d"
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2796 $as_echo "$MKDIR_P" >&6; }
2800 [\\/$
]* | ?
:[\\/]*) ;;
2801 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2804 for ac_prog
in gawk mawk nawk
awk
2806 # Extract the first word of "$ac_prog", so it can be a program name with args.
2807 set dummy
$ac_prog; ac_word
=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if test "${ac_cv_prog_AWK+set}" = set; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$AWK"; then
2814 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir
=.
2821 for ac_exec_ext
in '' $ac_executable_extensions; do
2822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823 ac_cv_prog_AWK
="$ac_prog"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 if test -n "$AWK"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2836 $as_echo "$AWK" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2843 test -n "$AWK" && break
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2847 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2849 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2850 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2851 $as_echo_n "(cached) " >&6
2853 cat >conftest.
make <<\_ACEOF
2856 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2858 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2859 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2861 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2863 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2867 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2869 $as_echo "yes" >&6; }
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873 $as_echo "no" >&6; }
2874 SET_MAKE
="MAKE=${MAKE-make}"
2877 rm -rf .tst
2>/dev
/null
2878 mkdir .tst
2>/dev
/null
2879 if test -d .tst
; then
2884 rmdir .tst
2>/dev
/null
2886 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2887 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2888 # is not polluted with repeated "-I."
2889 am__isrc
=' -I$(srcdir)'
2890 # test to see if srcdir already configured
2891 if test -f $srcdir/config.status
; then
2892 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2896 # test whether we have cygpath
2897 if test -z "$CYGPATH_W"; then
2898 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2899 CYGPATH_W
='cygpath -w'
2906 # Define the identity of the package.
2911 cat >>confdefs.h
<<_ACEOF
2912 #define PACKAGE "$PACKAGE"
2916 cat >>confdefs.h
<<_ACEOF
2917 #define VERSION "$VERSION"
2920 # Some tools Automake needs.
2922 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2925 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2928 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2931 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2934 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2936 # We need awk for the "check" target. The system "awk" is bad on
2938 # Always define AMTAR for backward compatibility.
2940 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2942 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2950 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2951 # Check whether --enable-version-specific-runtime-libs was given.
2952 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2953 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2954 yes) version_specific_libs
=yes ;;
2955 no
) version_specific_libs
=no
;;
2956 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2959 version_specific_libs
=no
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2963 $as_echo "$version_specific_libs" >&6; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2967 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2968 # Check whether --enable-maintainer-mode was given.
2969 if test "${enable_maintainer_mode+set}" = set; then :
2970 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2972 USE_MAINTAINER_MODE
=no
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2976 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2977 if test $USE_MAINTAINER_MODE = yes; then
2978 MAINTAINER_MODE_TRUE
=
2979 MAINTAINER_MODE_FALSE
='#'
2981 MAINTAINER_MODE_TRUE
='#'
2982 MAINTAINER_MODE_FALSE
=
2985 MAINT
=$MAINTAINER_MODE_TRUE
2991 # Default to --enable-multilib
2992 # Check whether --enable-multilib was given.
2993 if test "${enable_multilib+set}" = set; then :
2994 enableval
=$enable_multilib; case "$enableval" in
2995 yes) multilib
=yes ;;
2997 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3004 # We may get other options which we leave undocumented:
3005 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3006 # See config-ml.in if you want the gory details.
3008 if test "$srcdir" = "."; then
3009 if test "$with_target_subdir" != "."; then
3010 multi_basedir
="$srcdir/$with_multisrctop../.."
3012 multi_basedir
="$srcdir/$with_multisrctop.."
3015 multi_basedir
="$srcdir/.."
3019 # Even if the default multilib is not a cross compilation,
3020 # it may be that some of the other multilibs are.
3021 if test $cross_compiling = no
&& test $multilib = yes \
3022 && test "x${with_multisubdir}" != x
; then
3023 cross_compiling
=maybe
3026 ac_config_commands
="$ac_config_commands default-1"
3029 target_alias
=${target_alias-$host_alias}
3032 ac_config_headers
="$ac_config_headers config.h"
3036 ac_cpp
='$CPP $CPPFLAGS'
3037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3041 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3042 # We must force CC to /not/ be precious variables; otherwise
3043 # the wrong, non-multilib-adjusted value will be used in multilibs.
3044 # As a side effect, we have to subst CFLAGS ourselves.
3049 ac_cpp
='$CPP $CPPFLAGS'
3050 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3051 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3052 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3053 if test -n "$ac_tool_prefix"; then
3054 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3055 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057 $as_echo_n "checking for $ac_word... " >&6; }
3058 if test "${ac_cv_prog_CC+set}" = set; then :
3059 $as_echo_n "(cached) " >&6
3061 if test -n "$CC"; then
3062 ac_cv_prog_CC
="$CC" # Let the user override the test.
3064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir
=.
3069 for ac_exec_ext
in '' $ac_executable_extensions; do
3070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3071 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 if test -n "$CC"; then
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3084 $as_echo "$CC" >&6; }
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3087 $as_echo "no" >&6; }
3092 if test -z "$ac_cv_prog_CC"; then
3094 # Extract the first word of "gcc", so it can be a program name with args.
3095 set dummy gcc
; ac_word
=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3099 $as_echo_n "(cached) " >&6
3101 if test -n "$ac_ct_CC"; then
3102 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir
=.
3109 for ac_exec_ext
in '' $ac_executable_extensions; do
3110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111 ac_cv_prog_ac_ct_CC
="gcc"
3112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3122 if test -n "$ac_ct_CC"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3124 $as_echo "$ac_ct_CC" >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3130 if test "x$ac_ct_CC" = x
; then
3133 case $cross_compiling:$ac_tool_warned in
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3137 ac_tool_warned
=yes ;;
3145 if test -z "$CC"; then
3146 if test -n "$ac_tool_prefix"; then
3147 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3148 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3150 $as_echo_n "checking for $ac_word... " >&6; }
3151 if test "${ac_cv_prog_CC+set}" = set; then :
3152 $as_echo_n "(cached) " >&6
3154 if test -n "$CC"; then
3155 ac_cv_prog_CC
="$CC" # Let the user override the test.
3157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3161 test -z "$as_dir" && as_dir
=.
3162 for ac_exec_ext
in '' $ac_executable_extensions; do
3163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3164 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175 if test -n "$CC"; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3177 $as_echo "$CC" >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 $as_echo "no" >&6; }
3186 if test -z "$CC"; then
3187 # Extract the first word of "cc", so it can be a program name with args.
3188 set dummy cc
; ac_word
=$2
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if test "${ac_cv_prog_CC+set}" = set; then :
3192 $as_echo_n "(cached) " >&6
3194 if test -n "$CC"; then
3195 ac_cv_prog_CC
="$CC" # Let the user override the test.
3198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3202 test -z "$as_dir" && as_dir
=.
3203 for ac_exec_ext
in '' $ac_executable_extensions; do
3204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3205 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3206 ac_prog_rejected
=yes
3210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3217 if test $ac_prog_rejected = yes; then
3218 # We found a bogon in the path, so make sure we never use it.
3219 set dummy
$ac_cv_prog_CC
3221 if test $# != 0; then
3222 # We chose a different compiler from the bogus one.
3223 # However, it has the same basename, so the bogon will be chosen
3224 # first if we set CC to just the basename; use the full file name.
3226 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3232 if test -n "$CC"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3234 $as_echo "$CC" >&6; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3242 if test -z "$CC"; then
3243 if test -n "$ac_tool_prefix"; then
3244 for ac_prog
in cl.exe
3246 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3247 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if test "${ac_cv_prog_CC+set}" = set; then :
3251 $as_echo_n "(cached) " >&6
3253 if test -n "$CC"; then
3254 ac_cv_prog_CC
="$CC" # Let the user override the test.
3256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir
=.
3261 for ac_exec_ext
in '' $ac_executable_extensions; do
3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274 if test -n "$CC"; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3276 $as_echo "$CC" >&6; }
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3283 test -n "$CC" && break
3286 if test -z "$CC"; then
3288 for ac_prog
in cl.exe
3290 # Extract the first word of "$ac_prog", so it can be a program name with args.
3291 set dummy
$ac_prog; ac_word
=$2
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3293 $as_echo_n "checking for $ac_word... " >&6; }
3294 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3295 $as_echo_n "(cached) " >&6
3297 if test -n "$ac_ct_CC"; then
3298 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3304 test -z "$as_dir" && as_dir
=.
3305 for ac_exec_ext
in '' $ac_executable_extensions; do
3306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3307 ac_cv_prog_ac_ct_CC
="$ac_prog"
3308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3317 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3318 if test -n "$ac_ct_CC"; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3320 $as_echo "$ac_ct_CC" >&6; }
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323 $as_echo "no" >&6; }
3327 test -n "$ac_ct_CC" && break
3330 if test "x$ac_ct_CC" = x
; then
3333 case $cross_compiling:$ac_tool_warned in
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3337 ac_tool_warned
=yes ;;
3346 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348 as_fn_error
"no acceptable C compiler found in \$PATH
3349 See \`config.log' for more details." "$LINENO" 5; }
3351 # Provide some information about the compiler.
3352 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3355 for ac_option
in --version -v -V -qversion; do
3356 { { ac_try
="$ac_compiler $ac_option >&5"
3358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3359 *) ac_try_echo=$ac_try;;
3361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3362 $as_echo "$ac_try_echo"; } >&5
3363 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3365 if test -s conftest.err; then
3367 ... rest of stderr output deleted ...
3368 10q' conftest.err >conftest.er1
3369 cat conftest.er1 >&5
3370 rm -f conftest.er1 conftest.err
3372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3373 test $ac_status = 0; }
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3388 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3389 (eval $ac_link) 2>&5
3391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 test $ac_status = 0; }; then :
3397 if test x$gcc_no_link = xyes; then
3398 # Setting cross_compile will disable run tests; it will
3399 # also disable AC_CHECK_FILE but that's generally
3400 # correct if we can't link.
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3415 ac_clean_files_save=$ac_clean_files
3416 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3417 # Try to create an executable without -o first, disregard a.out.
3418 # It will help us diagnose broken compilers, and finding out an intuition
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3421 $as_echo_n "checking for C compiler default output file name... " >&6; }
3422 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3424 # The possible output files:
3425 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3428 for ac_file in $ac_files
3431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3432 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3437 if { { ac_try="$ac_link_default"
3439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3440 *) ac_try_echo
=$ac_try;;
3442 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3443 $as_echo "$ac_try_echo"; } >&5
3444 (eval "$ac_link_default") 2>&5
3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447 test $ac_status = 0; }; then :
3448 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3449 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3450 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3451 # so that the user can short-circuit this test for compilers unknown to
3453 for ac_file
in $ac_files ''
3455 test -f "$ac_file" ||
continue
3457 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3460 # We found the default executable, but exeext='' is most
3464 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3466 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3468 # We set ac_cv_exeext here because the later test for it is not
3469 # safe: cross compilers may not add the suffix if given an `-o'
3470 # argument, so we may need to know it at that point already.
3471 # Even if this section looks crufty: it has the advantage of
3478 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3484 $as_echo "$ac_file" >&6; }
3485 if test -z "$ac_file"; then :
3486 $as_echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.
$ac_ext >&5
3489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 { as_fn_set_status
77
3492 as_fn_error
"C compiler cannot create executables
3493 See \`config.log' for more details." "$LINENO" 5; }; }
3495 ac_exeext
=$ac_cv_exeext
3497 # Check that the compiler produces executables we can run. If not, either
3498 # the compiler is broken, or we cross compile.
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3500 $as_echo_n "checking whether the C compiler works... " >&6; }
3501 # If not cross compiling, check that we can run a simple program.
3502 if test "$cross_compiling" != yes; then
3503 if { ac_try
='./$ac_file'
3504 { { case "(($ac_try" in
3505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3506 *) ac_try_echo=$ac_try;;
3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3509 $as_echo "$ac_try_echo"; } >&5
3510 (eval "$ac_try") 2>&5
3512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3513 test $ac_status = 0; }; }; then
3516 if test "$cross_compiling" = maybe; then
3519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3521 as_fn_error "cannot run C compiled programs.
3522 If you meant to cross compile
, use \
`--host'.
3523 See \`config.log
' for more details." "$LINENO" 5; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3528 $as_echo "yes" >&6; }
3530 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3531 ac_clean_files=$ac_clean_files_save
3532 # Check that the compiler produces executables we can run. If not, either
3533 # the compiler is broken, or we cross compile.
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3535 $as_echo_n "checking whether we are cross compiling... " >&6; }
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3537 $as_echo "$cross_compiling" >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3540 $as_echo_n "checking for suffix of executables... " >&6; }
3541 if { { ac_try="$ac_link"
3543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544 *) ac_try_echo=$ac_try;;
3546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547 $as_echo "$ac_try_echo"; } >&5
3548 (eval "$ac_link") 2>&5
3550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3551 test $ac_status = 0; }; then :
3552 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3553 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3554 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3556 for ac_file
in conftest.exe conftest conftest.
*; do
3557 test -f "$ac_file" ||
continue
3559 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3560 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3568 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3569 See \`config.log' for more details." "$LINENO" 5; }
3571 rm -f conftest
$ac_cv_exeext
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3573 $as_echo "$ac_cv_exeext" >&6; }
3575 rm -f conftest.
$ac_ext
3576 EXEEXT
=$ac_cv_exeext
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3580 $as_echo_n "checking for suffix of object files... " >&6; }
3581 if test "${ac_cv_objext+set}" = set; then :
3582 $as_echo_n "(cached) " >&6
3584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3595 rm -f conftest.o conftest.obj
3596 if { { ac_try
="$ac_compile"
3598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3602 $as_echo "$ac_try_echo"; } >&5
3603 (eval "$ac_compile") 2>&5
3605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3606 test $ac_status = 0; }; then :
3607 for ac_file in conftest.o conftest.obj conftest.*; do
3608 test -f "$ac_file" || continue;
3610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3611 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3616 $as_echo "$as_me: failed program was:" >&5
3617 sed 's/^/| /' conftest.$ac_ext >&5
3619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error "cannot compute suffix of object files
: cannot compile
3622 See \
`config.log' for more details." "$LINENO" 5; }
3624 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3627 $as_echo "$ac_cv_objext" >&6; }
3628 OBJEXT=$ac_cv_objext
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3631 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3632 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3633 $as_echo_n "(cached) " >&6
3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3649 if ac_fn_c_try_compile "$LINENO"; then :
3654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3659 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3660 if test $ac_compiler_gnu = yes; then
3665 ac_test_CFLAGS=${CFLAGS+set}
3666 ac_save_CFLAGS=$CFLAGS
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3668 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3669 if test "${ac_cv_prog_cc_g+set}" = set; then :
3670 $as_echo_n "(cached) " >&6
3672 ac_save_c_werror_flag=$ac_c_werror_flag
3673 ac_c_werror_flag=yes
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3687 if ac_fn_c_try_compile "$LINENO"; then :
3691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692 /* end confdefs.h. */
3702 if ac_fn_c_try_compile "$LINENO"; then :
3705 ac_c_werror_flag=$ac_save_c_werror_flag
3707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3718 if ac_fn_c_try_compile "$LINENO"; then :
3721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726 ac_c_werror_flag=$ac_save_c_werror_flag
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3729 $as_echo "$ac_cv_prog_cc_g" >&6; }
3730 if test "$ac_test_CFLAGS" = set; then
3731 CFLAGS=$ac_save_CFLAGS
3732 elif test $ac_cv_prog_cc_g = yes; then
3733 if test "$GCC" = yes; then
3739 if test "$GCC" = yes; then
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3746 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3747 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3748 $as_echo_n "(cached) " >&6
3750 ac_cv_prog_cc_c89=no
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3756 #include <sys/types.h>
3757 #include <sys/stat.h>
3758 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3759 struct buf { int x; };
3760 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3761 static char *e (p, i)
3767 static char *f (char * (*g) (char **, int), char **p, ...)
3772 s = g (p, va_arg (v,int));
3777 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3778 function prototypes and stuff, but not '\xHH' hex character constants.
3779 These don't provoke an error unfortunately, instead are silently treated
3780 as 'x'. The following induces an error, until -std is added to get
3781 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3782 array size at least. It's necessary to write '\x00'==0 to get something
3783 that's true only with -std. */
3784 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3786 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3787 inside strings and character constants. */
3789 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3791 int test (int i, double x);
3792 struct s1 {int (*f) (int a);};
3793 struct s2 {int (*f) (double a);};
3794 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3800 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3805 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3806 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3808 CC="$ac_save_CC $ac_arg"
3809 if ac_fn_c_try_compile "$LINENO"; then :
3810 ac_cv_prog_cc_c89=$ac_arg
3812 rm -f core conftest.err conftest.$ac_objext
3813 test "x$ac_cv_prog_cc_c89" != "xno" && break
3815 rm -f conftest.$ac_ext
3820 case "x$ac_cv_prog_cc_c89" in
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3823 $as_echo "none needed" >&6; } ;;
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3826 $as_echo "unsupported" >&6; } ;;
3828 CC="$CC $ac_cv_prog_cc_c89"
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3830 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3832 if test "x$ac_cv_prog_cc_c89" != xno; then :
3837 ac_cpp='$CPP $CPPFLAGS'
3838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841 DEPDIR="${am__leading_dot}deps"
3843 ac_config_commands="$ac_config_commands depfiles"
3846 am_make=${MAKE-make}
3847 cat > confinc << 'END'
3849 @echo this is the am__doit target
3852 # If we don't find an include directive, just comment out the code.
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3854 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3858 # First try GNU make style include.
3859 echo "include confinc" > confmf
3860 # Ignore all kinds of additional output from `make'.
3861 case `$am_make -s -f confmf 2> /dev/null` in #(
3862 *the\ am__doit\ target*)
3868 # Now try BSD make style include.
3869 if test "$am__include" = "#"; then
3870 echo '.include
"confinc"' > confmf
3871 case `$am_make -s -f confmf 2> /dev/null` in #(
3872 *the\ am__doit\ target*)
3873 am__include=.include
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3882 $as_echo "$_am_result" >&6; }
3883 rm -f confinc confmf
3885 # Check whether --enable-dependency-tracking was given.
3886 if test "${enable_dependency_tracking+set}" = set; then :
3887 enableval=$enable_dependency_tracking;
3890 if test "x$enable_dependency_tracking" != xno; then
3891 am_depcomp="$ac_aux_dir/depcomp"
3894 if test "x$enable_dependency_tracking" != xno
; then
3904 depcc
="$CC" am_compiler_list
=
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3907 $as_echo_n "checking dependency style of $depcc... " >&6; }
3908 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3909 $as_echo_n "(cached) " >&6
3911 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3912 # We make a subdir and do the tests there. Otherwise we can end up
3913 # making bogus files that we don't know about and never remove. For
3914 # instance it was reported that on HP-UX the gcc test will end up
3915 # making a dummy file named `D' -- because `-MD' means `put the output
3918 # Copy depcomp to subdir because otherwise we won't find it if we're
3919 # using a relative directory.
3920 cp "$am_depcomp" conftest.dir
3922 # We will build objects and dependencies in a subdirectory because
3923 # it helps to detect inapplicable dependency modes. For instance
3924 # both Tru64's cc and ICC support -MD to output dependencies as a
3925 # side effect of compilation, but ICC will put the dependencies in
3926 # the current directory while Tru64 will put them in the object
3930 am_cv_CC_dependencies_compiler_type
=none
3931 if test "$am_compiler_list" = ""; then
3932 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3935 case " $depcc " in #(
3936 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3939 for depmode
in $am_compiler_list; do
3940 # Setup a source with many dependencies, because some compilers
3941 # like to wrap large dependency lists on column 80 (with \), and
3942 # we should not choose a depcomp mode which is confused by this.
3944 # We need to recreate these files for each test, as the compiler may
3945 # overwrite some of them when testing with obscure command lines.
3946 # This happens at least with the AIX C compiler.
3948 for i
in 1 2 3 4 5 6; do
3949 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3950 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3951 # Solaris 8's {/usr,}/bin/sh.
3952 touch sub
/conftst
$i.h
3954 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3956 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3957 # mode. It turns out that the SunPro C++ compiler does not properly
3958 # handle `-M -o', and we need to detect this. Also, some Intel
3959 # versions had trouble with output in subdirs
3960 am__obj
=sub
/conftest.
${OBJEXT-o}
3961 am__minus_obj
="-o $am__obj"
3964 # This depmode causes a compiler race in universal mode.
3965 test "$am__universal" = false ||
continue
3968 # after this tag, mechanisms are not by side-effect, so they'll
3969 # only be used when explicitly requested
3970 if test "x$enable_dependency_tracking" = xyes
; then
3976 msvisualcpp | msvcmsys
)
3977 # This compiler won't grok `-c -o', but also, the minuso test has
3978 # not run yet. These depmodes are late enough in the game, and
3979 # so weak that their functioning should not be impacted.
3980 am__obj
=conftest.
${OBJEXT-o}
3985 if depmode
=$depmode \
3986 source=sub
/conftest.c object
=$am__obj \
3987 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3988 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3989 >/dev
/null
2>conftest.err
&&
3990 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3991 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3992 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3993 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3994 # icc doesn't choke on unknown options, it will just issue warnings
3995 # or remarks (even with -Werror). So we grep stderr for any message
3996 # that says an option was ignored or not supported.
3997 # When given -MP, icc 7.0 and 7.1 complain thusly:
3998 # icc: Command line warning: ignoring option '-M'; no argument required
3999 # The diagnosis changed in icc 8.0:
4000 # icc: Command line remark: option '-MP' not supported
4001 if (grep 'ignoring option' conftest.err ||
4002 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4003 am_cv_CC_dependencies_compiler_type
=$depmode
4012 am_cv_CC_dependencies_compiler_type
=none
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4017 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4018 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4021 test "x$enable_dependency_tracking" != xno \
4022 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4024 am__fastdepCC_FALSE
='#'
4026 am__fastdepCC_TRUE
='#'
4027 am__fastdepCC_FALSE
=
4035 if test "x$GCC" != "xyes"; then
4036 as_fn_error
"libssp must be built with GCC" "$LINENO" 5
4039 ac_cpp
='$CPP $CPPFLAGS'
4040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4044 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4045 # On Suns, sometimes $CPP names a directory.
4046 if test -n "$CPP" && test -d "$CPP"; then
4049 if test -z "$CPP"; then
4050 if test "${ac_cv_prog_CPP+set}" = set; then :
4051 $as_echo_n "(cached) " >&6
4053 # Double quotes because CPP needs to be expanded
4054 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4057 for ac_c_preproc_warn_flag
in '' yes
4059 # Use a header file that comes with gcc, so configuring glibc
4060 # with a fresh cross-compiler works.
4061 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4062 # <limits.h> exists even on freestanding compilers.
4063 # On the NeXT, cc -E runs the code through the compiler's parser,
4064 # not just through cpp. "Syntax error" is here to catch this case.
4065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4068 # include <limits.h>
4070 # include <assert.h>
4074 if ac_fn_c_try_cpp
"$LINENO"; then :
4077 # Broken: fails on valid input.
4080 rm -f conftest.err conftest.
$ac_ext
4082 # OK, works on sane cases. Now check whether nonexistent headers
4083 # can be detected and how.
4084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h. */
4086 #include <ac_nonexistent.h>
4088 if ac_fn_c_try_cpp
"$LINENO"; then :
4089 # Broken: success on invalid input.
4092 # Passes both tests.
4096 rm -f conftest.err conftest.
$ac_ext
4099 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4100 rm -f conftest.err conftest.
$ac_ext
4101 if $ac_preproc_ok; then :
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4114 $as_echo "$CPP" >&6; }
4116 for ac_c_preproc_warn_flag
in '' yes
4118 # Use a header file that comes with gcc, so configuring glibc
4119 # with a fresh cross-compiler works.
4120 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4121 # <limits.h> exists even on freestanding compilers.
4122 # On the NeXT, cc -E runs the code through the compiler's parser,
4123 # not just through cpp. "Syntax error" is here to catch this case.
4124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4127 # include <limits.h>
4129 # include <assert.h>
4133 if ac_fn_c_try_cpp
"$LINENO"; then :
4136 # Broken: fails on valid input.
4139 rm -f conftest.err conftest.
$ac_ext
4141 # OK, works on sane cases. Now check whether nonexistent headers
4142 # can be detected and how.
4143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4145 #include <ac_nonexistent.h>
4147 if ac_fn_c_try_cpp
"$LINENO"; then :
4148 # Broken: success on invalid input.
4151 # Passes both tests.
4155 rm -f conftest.err conftest.
$ac_ext
4158 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4159 rm -f conftest.err conftest.
$ac_ext
4160 if $ac_preproc_ok; then :
4163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4166 See \`config.log' for more details." "$LINENO" 5; }
4170 ac_cpp
='$CPP $CPPFLAGS'
4171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fstack-protector works" >&5
4177 $as_echo_n "checking whether -fstack-protector works... " >&6; }
4178 save_CFLAGS
="$CFLAGS"
4179 CFLAGS
="$CFLAGS -fstack-protector -Werror"
4181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4184 void __attribute__((noinline)) bar (char *x)
4186 __builtin_memset (x, 0, 64);
4191 char buf[64]; bar (buf);
4196 if ac_fn_c_try_compile
"$LINENO"; then :
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4198 $as_echo "yes" >&6; }
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4204 CFLAGS
="$save_CFLAGS"
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hidden visibility is supported" >&5
4207 $as_echo_n "checking whether hidden visibility is supported... " >&6; }
4208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4211 void __attribute__((visibility ("hidden"))) bar (void) {}
4220 if ac_fn_c_try_compile
"$LINENO"; then :
4225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_hidden" >&5
4227 $as_echo "$ssp_hidden" >&6; }
4228 if test x
$ssp_hidden = xyes
; then
4230 $as_echo "#define HAVE_HIDDEN_VISIBILITY 1" >>confdefs.h
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4235 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4236 cat > conftest.map
<<EOF
4238 global: *foo*; bar; local: *;
4241 save_LDFLAGS
="$LDFLAGS"
4242 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4243 if test x
$gcc_no_link = xyes
; then
4244 # If we cannot link, we cannot build shared libraries, so do not use
4245 # symbol versioning.
4248 if test x
$gcc_no_link = xyes
; then
4249 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4262 if ac_fn_c_try_link
"$LINENO"; then :
4267 rm -f core conftest.err conftest.
$ac_objext \
4268 conftest
$ac_exeext conftest.
$ac_ext
4270 LDFLAGS
="$save_LDFLAGS"
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_use_symver" >&5
4272 $as_echo "$ssp_use_symver" >&6; }
4273 if test "x$ssp_use_symver" = xyes
; then
4274 LIBSSP_USE_SYMVER_TRUE
=
4275 LIBSSP_USE_SYMVER_FALSE
='#'
4277 LIBSSP_USE_SYMVER_TRUE
='#'
4278 LIBSSP_USE_SYMVER_FALSE
=
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4284 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4285 if test "${ac_cv_path_GREP+set}" = set; then :
4286 $as_echo_n "(cached) " >&6
4288 if test -z "$GREP"; then
4289 ac_path_GREP_found
=false
4290 # Loop through the user's path and test for each of PROGNAME-LIST
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4292 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4295 test -z "$as_dir" && as_dir
=.
4296 for ac_prog
in grep ggrep
; do
4297 for ac_exec_ext
in '' $ac_executable_extensions; do
4298 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4299 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4300 # Check for GNU ac_path_GREP and select it if it is found.
4301 # Check for GNU $ac_path_GREP
4302 case `"$ac_path_GREP" --version 2>&1` in
4304 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4307 $as_echo_n 0123456789 >"conftest.in"
4310 cat "conftest.in" "conftest.in" >"conftest.tmp"
4311 mv "conftest.tmp" "conftest.in"
4312 cp "conftest.in" "conftest.nl"
4313 $as_echo 'GREP' >> "conftest.nl"
4314 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4315 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4316 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4317 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4318 # Best one so far, save it but keep looking for a better one
4319 ac_cv_path_GREP
="$ac_path_GREP"
4320 ac_path_GREP_max
=$ac_count
4322 # 10*(2^10) chars as input seems more than enough
4323 test $ac_count -gt 10 && break
4325 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4328 $ac_path_GREP_found && break 3
4333 if test -z "$ac_cv_path_GREP"; then
4334 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4337 ac_cv_path_GREP
=$GREP
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4342 $as_echo "$ac_cv_path_GREP" >&6; }
4343 GREP
="$ac_cv_path_GREP"
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4347 $as_echo_n "checking for egrep... " >&6; }
4348 if test "${ac_cv_path_EGREP+set}" = set; then :
4349 $as_echo_n "(cached) " >&6
4351 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4352 then ac_cv_path_EGREP
="$GREP -E"
4354 if test -z "$EGREP"; then
4355 ac_path_EGREP_found
=false
4356 # Loop through the user's path and test for each of PROGNAME-LIST
4357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4358 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4361 test -z "$as_dir" && as_dir
=.
4362 for ac_prog
in egrep; do
4363 for ac_exec_ext
in '' $ac_executable_extensions; do
4364 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4365 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4366 # Check for GNU ac_path_EGREP and select it if it is found.
4367 # Check for GNU $ac_path_EGREP
4368 case `"$ac_path_EGREP" --version 2>&1` in
4370 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4373 $as_echo_n 0123456789 >"conftest.in"
4376 cat "conftest.in" "conftest.in" >"conftest.tmp"
4377 mv "conftest.tmp" "conftest.in"
4378 cp "conftest.in" "conftest.nl"
4379 $as_echo 'EGREP' >> "conftest.nl"
4380 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4381 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4382 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4383 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4384 # Best one so far, save it but keep looking for a better one
4385 ac_cv_path_EGREP
="$ac_path_EGREP"
4386 ac_path_EGREP_max
=$ac_count
4388 # 10*(2^10) chars as input seems more than enough
4389 test $ac_count -gt 10 && break
4391 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4394 $ac_path_EGREP_found && break 3
4399 if test -z "$ac_cv_path_EGREP"; then
4400 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4403 ac_cv_path_EGREP
=$EGREP
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4409 $as_echo "$ac_cv_path_EGREP" >&6; }
4410 EGREP
="$ac_cv_path_EGREP"
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4414 $as_echo_n "checking for ANSI C header files... " >&6; }
4415 if test "${ac_cv_header_stdc+set}" = set; then :
4416 $as_echo_n "(cached) " >&6
4418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4433 if ac_fn_c_try_compile
"$LINENO"; then :
4434 ac_cv_header_stdc
=yes
4436 ac_cv_header_stdc
=no
4438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4440 if test $ac_cv_header_stdc = yes; then
4441 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4448 $EGREP "memchr" >/dev
/null
2>&1; then :
4451 ac_cv_header_stdc
=no
4457 if test $ac_cv_header_stdc = yes; then
4458 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4465 $EGREP "free" >/dev
/null
2>&1; then :
4468 ac_cv_header_stdc
=no
4474 if test $ac_cv_header_stdc = yes; then
4475 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4476 if test "$cross_compiling" = yes; then :
4479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4483 #if ((' ' & 0x0FF) == 0x020)
4484 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4485 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4487 # define ISLOWER(c) \
4488 (('a' <= (c) && (c) <= 'i') \
4489 || ('j' <= (c) && (c) <= 'r') \
4490 || ('s' <= (c) && (c) <= 'z'))
4491 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4494 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4499 for (i = 0; i < 256; i++)
4500 if (XOR (islower (i), ISLOWER (i))
4501 || toupper (i) != TOUPPER (i))
4506 if ac_fn_c_try_run
"$LINENO"; then :
4509 ac_cv_header_stdc
=no
4511 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4512 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4518 $as_echo "$ac_cv_header_stdc" >&6; }
4519 if test $ac_cv_header_stdc = yes; then
4521 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4525 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4526 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4527 inttypes.h stdint.h unistd.h
4529 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4530 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4532 eval as_val
=\$
$as_ac_Header
4533 if test "x$as_val" = x
""yes; then :
4534 cat >>confdefs.h
<<_ACEOF
4535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4543 for ac_header
in alloca.h malloc.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h
4545 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4546 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4547 eval as_val
=\$
$as_ac_Header
4548 if test "x$as_val" = x
""yes; then :
4549 cat >>confdefs.h
<<_ACEOF
4550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4558 if test x
$gcc_no_link = xyes
; then
4559 # Presume the ISO C functions are available; add target-specific
4560 # configuration here if required.
4561 $as_echo "#define HAVE_STRNCPY 1" >>confdefs.h
4563 $as_echo "#define HAVE_STRNCAT 1" >>confdefs.h
4566 for ac_func
in mempcpy strncpy strncat
4568 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4569 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4570 eval as_val
=\$
$as_ac_var
4571 if test "x$as_val" = x
""yes; then :
4572 cat >>confdefs.h
<<_ACEOF
4573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vsnprintf is usable" >&5
4582 $as_echo_n "checking whether vsnprintf is usable... " >&6; }
4583 if test "$cross_compiling" = yes; then :
4584 ssp_have_usable_vsnprintf
=undef
4586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4592 int foo (char *buf, size_t n, const char *fmt, ...)
4597 ret = vsnprintf (buf, n, fmt, ap);
4604 char buf[8]; memset (buf, 'A', sizeof (buf));
4605 if (foo (buf, 4, ".%s.", "CDEFG") != 7)
4607 return memcmp (buf, ".CD\0AAAA", sizeof (buf)) != 0;
4612 if ac_fn_c_try_run
"$LINENO"; then :
4613 ssp_have_usable_vsnprintf
=define
4615 ssp_have_usable_vsnprintf
=undef
4617 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4618 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4621 if test "x$ssp_have_usable_vsnprintf" = xdefine
; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4623 $as_echo "yes" >&6; }
4625 $as_echo "#define HAVE_USABLE_VSNPRINTF 1" >>confdefs.h
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629 $as_echo "no" >&6; }
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4636 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4641 macro_version
='2.2.6'
4642 macro_revision
='1.3012'
4656 ltmain
="$ac_aux_dir/ltmain.sh"
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4659 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4660 if test "${ac_cv_path_SED+set}" = set; then :
4661 $as_echo_n "(cached) " >&6
4663 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4664 for ac_i
in 1 2 3 4 5 6 7; do
4665 ac_script
="$ac_script$as_nl$ac_script"
4667 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4668 { ac_script
=; unset ac_script
;}
4669 if test -z "$SED"; then
4670 ac_path_SED_found
=false
4671 # Loop through the user's path and test for each of PROGNAME-LIST
4672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4676 test -z "$as_dir" && as_dir
=.
4677 for ac_prog
in sed gsed
; do
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4680 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4681 # Check for GNU ac_path_SED and select it if it is found.
4682 # Check for GNU $ac_path_SED
4683 case `"$ac_path_SED" --version 2>&1` in
4685 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4688 $as_echo_n 0123456789 >"conftest.in"
4691 cat "conftest.in" "conftest.in" >"conftest.tmp"
4692 mv "conftest.tmp" "conftest.in"
4693 cp "conftest.in" "conftest.nl"
4694 $as_echo '' >> "conftest.nl"
4695 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4696 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4697 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4698 if test $ac_count -gt ${ac_path_SED_max-0}; then
4699 # Best one so far, save it but keep looking for a better one
4700 ac_cv_path_SED
="$ac_path_SED"
4701 ac_path_SED_max
=$ac_count
4703 # 10*(2^10) chars as input seems more than enough
4704 test $ac_count -gt 10 && break
4706 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4709 $ac_path_SED_found && break 3
4714 if test -z "$ac_cv_path_SED"; then
4715 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4723 $as_echo "$ac_cv_path_SED" >&6; }
4724 SED
="$ac_cv_path_SED"
4727 test -z "$SED" && SED
=sed
4728 Xsed
="$SED -e 1s/^X//"
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4741 $as_echo_n "checking for fgrep... " >&6; }
4742 if test "${ac_cv_path_FGREP+set}" = set; then :
4743 $as_echo_n "(cached) " >&6
4745 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4746 then ac_cv_path_FGREP
="$GREP -F"
4748 if test -z "$FGREP"; then
4749 ac_path_FGREP_found
=false
4750 # Loop through the user's path and test for each of PROGNAME-LIST
4751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4752 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4755 test -z "$as_dir" && as_dir
=.
4756 for ac_prog
in fgrep
; do
4757 for ac_exec_ext
in '' $ac_executable_extensions; do
4758 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4759 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4760 # Check for GNU ac_path_FGREP and select it if it is found.
4761 # Check for GNU $ac_path_FGREP
4762 case `"$ac_path_FGREP" --version 2>&1` in
4764 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4767 $as_echo_n 0123456789 >"conftest.in"
4770 cat "conftest.in" "conftest.in" >"conftest.tmp"
4771 mv "conftest.tmp" "conftest.in"
4772 cp "conftest.in" "conftest.nl"
4773 $as_echo 'FGREP' >> "conftest.nl"
4774 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4775 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4776 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4777 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4778 # Best one so far, save it but keep looking for a better one
4779 ac_cv_path_FGREP
="$ac_path_FGREP"
4780 ac_path_FGREP_max
=$ac_count
4782 # 10*(2^10) chars as input seems more than enough
4783 test $ac_count -gt 10 && break
4785 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4788 $ac_path_FGREP_found && break 3
4793 if test -z "$ac_cv_path_FGREP"; then
4794 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4797 ac_cv_path_FGREP
=$FGREP
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4803 $as_echo "$ac_cv_path_FGREP" >&6; }
4804 FGREP
="$ac_cv_path_FGREP"
4807 test -z "$GREP" && GREP
=grep
4827 # Check whether --with-gnu-ld was given.
4828 if test "${with_gnu_ld+set}" = set; then :
4829 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4835 if test "$GCC" = yes; then
4836 # Check if gcc -print-prog-name=ld gives a path.
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4838 $as_echo_n "checking for ld used by $CC... " >&6; }
4841 # gcc leaves a trailing carriage return which upsets mingw
4842 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4844 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4847 # Accept absolute paths.
4849 re_direlt
='/[^/][^/]*/\.\./'
4850 # Canonicalize the pathname of ld
4851 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4852 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4853 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4855 test -z "$LD" && LD
="$ac_prog"
4858 # If it fails, then pretend we aren't using GCC.
4862 # If it is relative, then search for the first ld in PATH.
4866 elif test "$with_gnu_ld" = yes; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4868 $as_echo_n "checking for GNU ld... " >&6; }
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4871 $as_echo_n "checking for non-GNU ld... " >&6; }
4873 if test "${lt_cv_path_LD+set}" = set; then :
4874 $as_echo_n "(cached) " >&6
4876 if test -z "$LD"; then
4877 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4878 for ac_dir
in $PATH; do
4880 test -z "$ac_dir" && ac_dir
=.
4881 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4882 lt_cv_path_LD
="$ac_dir/$ac_prog"
4883 # Check to see if the program is GNU ld. I'd rather use --version,
4884 # but apparently some variants of GNU ld only accept -v.
4885 # Break only if it was the GNU/non-GNU ld that we prefer.
4886 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4887 *GNU
* |
*'with BFD'*)
4888 test "$with_gnu_ld" != no
&& break
4891 test "$with_gnu_ld" != yes && break
4898 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4903 if test -n "$LD"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4905 $as_echo "$LD" >&6; }
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4910 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4912 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4913 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4914 $as_echo_n "(cached) " >&6
4916 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4917 case `$LD -v 2>&1 </dev/null` in
4918 *GNU
* |
*'with BFD'*)
4919 lt_cv_prog_gnu_ld
=yes
4922 lt_cv_prog_gnu_ld
=no
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4927 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4928 with_gnu_ld
=$lt_cv_prog_gnu_ld
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4939 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4940 if test "${lt_cv_path_NM+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4943 if test -n "$NM"; then
4944 # Let the user override the test.
4947 lt_nm_to_check
="${ac_tool_prefix}nm"
4948 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4949 lt_nm_to_check
="$lt_nm_to_check nm"
4951 for lt_tmp_nm
in $lt_nm_to_check; do
4952 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4953 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4955 test -z "$ac_dir" && ac_dir
=.
4956 tmp_nm
="$ac_dir/$lt_tmp_nm"
4957 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4958 # Check to see if the nm accepts a BSD-compat flag.
4959 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4960 # nm: unknown option "B" ignored
4961 # Tru64's nm complains that /dev/null is an invalid object file
4962 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4963 */dev
/null
* |
*'Invalid file or object type'*)
4964 lt_cv_path_NM
="$tmp_nm -B"
4968 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4970 lt_cv_path_NM
="$tmp_nm -p"
4974 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4975 continue # so that we can try to find one that supports BSD flags
4984 : ${lt_cv_path_NM=no}
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4988 $as_echo "$lt_cv_path_NM" >&6; }
4989 if test "$lt_cv_path_NM" != "no"; then
4992 # Didn't find any BSD compatible name lister, look for dumpbin.
4993 if test -n "$ac_tool_prefix"; then
4994 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4996 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4997 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5001 $as_echo_n "(cached) " >&6
5003 if test -n "$DUMPBIN"; then
5004 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5010 test -z "$as_dir" && as_dir
=.
5011 for ac_exec_ext
in '' $ac_executable_extensions; do
5012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5013 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 DUMPBIN
=$ac_cv_prog_DUMPBIN
5024 if test -n "$DUMPBIN"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5026 $as_echo "$DUMPBIN" >&6; }
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5033 test -n "$DUMPBIN" && break
5036 if test -z "$DUMPBIN"; then
5037 ac_ct_DUMPBIN
=$DUMPBIN
5038 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5040 # Extract the first word of "$ac_prog", so it can be a program name with args.
5041 set dummy
$ac_prog; ac_word
=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5045 $as_echo_n "(cached) " >&6
5047 if test -n "$ac_ct_DUMPBIN"; then
5048 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5054 test -z "$as_dir" && as_dir
=.
5055 for ac_exec_ext
in '' $ac_executable_extensions; do
5056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5068 if test -n "$ac_ct_DUMPBIN"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5070 $as_echo "$ac_ct_DUMPBIN" >&6; }
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5077 test -n "$ac_ct_DUMPBIN" && break
5080 if test "x$ac_ct_DUMPBIN" = x
; then
5083 case $cross_compiling:$ac_tool_warned in
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5087 ac_tool_warned
=yes ;;
5089 DUMPBIN
=$ac_ct_DUMPBIN
5094 if test "$DUMPBIN" != ":"; then
5098 test -z "$NM" && NM
=nm
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5106 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5107 if test "${lt_cv_nm_interface+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5110 lt_cv_nm_interface
="BSD nm"
5111 echo "int some_variable = 0;" > conftest.
$ac_ext
5112 (eval echo "\"\$as_me:5112: $ac_compile\"" >&5)
5113 (eval "$ac_compile" 2>conftest.err
)
5114 cat conftest.err
>&5
5115 (eval echo "\"\$as_me:5115: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5116 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5117 cat conftest.err
>&5
5118 (eval echo "\"\$as_me:5118: output\"" >&5)
5119 cat conftest.out
>&5
5120 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5121 lt_cv_nm_interface
="MS dumpbin"
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5126 $as_echo "$lt_cv_nm_interface" >&6; }
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5129 $as_echo_n "checking whether ln -s works... " >&6; }
5131 if test "$LN_S" = "ln -s"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5133 $as_echo "yes" >&6; }
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5136 $as_echo "no, using $LN_S" >&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
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; }
6292 # Check whether --enable-libtool-lock was given.
6293 if test "${enable_libtool_lock+set}" = set; then :
6294 enableval=$enable_libtool_lock;
6297 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6299 # Some flags need to be propagated to the compiler or linker for good
6303 # Find out which ABI we are using.
6304 echo 'int i;' > conftest.$ac_ext
6305 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6306 (eval $ac_compile) 2>&5
6308 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6309 test $ac_status = 0; }; then
6310 case `/usr/bin/file conftest.$ac_objext` in
6322 # Find out which ABI we are using.
6323 echo '#line 6323 "configure
"' > conftest.$ac_ext
6324 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6325 (eval $ac_compile) 2>&5
6327 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6328 test $ac_status = 0; }; then
6329 if test "$lt_cv_prog_gnu_ld" = yes; then
6330 case `/usr/bin/file conftest.$ac_objext` in
6332 LD="${LD-ld} -melf32bsmip"
6335 LD="${LD-ld} -melf32bmipn32"
6338 LD="${LD-ld} -melf64bmip"
6342 case `/usr/bin/file conftest.$ac_objext` in
6358 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6359 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6360 # Find out which ABI we are using.
6361 echo 'int i;' > conftest.$ac_ext
6362 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6363 (eval $ac_compile) 2>&5
6365 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6366 test $ac_status = 0; }; then
6367 case `/usr/bin/file conftest.o` in
6370 x86_64-*kfreebsd*-gnu)
6371 LD="${LD-ld} -m elf_i386_fbsd
"
6374 LD="${LD-ld} -m elf_i386
"
6376 ppc64-*linux*|powerpc64-*linux*)
6377 LD="${LD-ld} -m elf32ppclinux
"
6380 LD="${LD-ld} -m elf_s390
"
6383 LD="${LD-ld} -m elf32_sparc
"
6389 x86_64-*kfreebsd*-gnu)
6390 LD="${LD-ld} -m elf_x86_64_fbsd
"
6393 LD="${LD-ld} -m elf_x86_64
"
6395 ppc*-*linux*|powerpc*-*linux*)
6396 LD="${LD-ld} -m elf64ppc
"
6398 s390*-*linux*|s390*-*tpf*)
6399 LD="${LD-ld} -m elf64_s390
"
6402 LD="${LD-ld} -m elf64_sparc
"
6412 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6413 SAVE_CFLAGS="$CFLAGS"
6414 CFLAGS="$CFLAGS -belf"
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6416 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6417 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6418 $as_echo_n "(cached
) " >&6
6421 ac_cpp='$CPP $CPPFLAGS'
6422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6426 if test x$gcc_no_link = xyes; then
6427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6430 /* end confdefs.h. */
6440 if ac_fn_c_try_link "$LINENO"; then :
6441 lt_cv_cc_needs_belf=yes
6443 lt_cv_cc_needs_belf=no
6445 rm -f core conftest.err conftest.$ac_objext \
6446 conftest$ac_exeext conftest.$ac_ext
6448 ac_cpp='$CPP $CPPFLAGS'
6449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6455 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6456 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6457 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6458 CFLAGS="$SAVE_CFLAGS"
6462 # Find out which ABI we are using.
6463 echo 'int i;' > conftest.$ac_ext
6464 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6465 (eval $ac_compile) 2>&5
6467 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6468 test $ac_status = 0; }; then
6469 case `/usr/bin/file conftest.o` in
6471 case $lt_cv_prog_gnu_ld in
6472 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6474 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6486 need_locks="$enable_libtool_lock"
6490 rhapsody* | darwin*)
6491 if test -n "$ac_tool_prefix"; then
6492 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6493 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6495 $as_echo_n "checking
for $ac_word...
" >&6; }
6496 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6497 $as_echo_n "(cached
) " >&6
6499 if test -n "$DSYMUTIL"; then
6500 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506 test -z "$as_dir" && as_dir=.
6507 for ac_exec_ext in '' $ac_executable_extensions; do
6508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6509 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6519 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6520 if test -n "$DSYMUTIL"; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6522 $as_echo "$DSYMUTIL" >&6; }
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6525 $as_echo "no
" >&6; }
6530 if test -z "$ac_cv_prog_DSYMUTIL"; then
6531 ac_ct_DSYMUTIL=$DSYMUTIL
6532 # Extract the first word of "dsymutil
", so it can be a program name with args.
6533 set dummy dsymutil; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6535 $as_echo_n "checking
for $ac_word...
" >&6; }
6536 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6537 $as_echo_n "(cached
) " >&6
6539 if test -n "$ac_ct_DSYMUTIL"; then
6540 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6549 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6559 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6560 if test -n "$ac_ct_DSYMUTIL"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6562 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6565 $as_echo "no
" >&6; }
6568 if test "x
$ac_ct_DSYMUTIL" = x; then
6571 case $cross_compiling:$ac_tool_warned in
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6574 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6575 ac_tool_warned=yes ;;
6577 DSYMUTIL=$ac_ct_DSYMUTIL
6580 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6583 if test -n "$ac_tool_prefix"; then
6584 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6585 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6587 $as_echo_n "checking
for $ac_word...
" >&6; }
6588 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6589 $as_echo_n "(cached
) " >&6
6591 if test -n "$NMEDIT"; then
6592 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598 test -z "$as_dir" && as_dir=.
6599 for ac_exec_ext in '' $ac_executable_extensions; do
6600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6601 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6611 NMEDIT=$ac_cv_prog_NMEDIT
6612 if test -n "$NMEDIT"; then
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6614 $as_echo "$NMEDIT" >&6; }
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6617 $as_echo "no
" >&6; }
6622 if test -z "$ac_cv_prog_NMEDIT"; then
6623 ac_ct_NMEDIT=$NMEDIT
6624 # Extract the first word of "nmedit
", so it can be a program name with args.
6625 set dummy nmedit; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6627 $as_echo_n "checking
for $ac_word...
" >&6; }
6628 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6629 $as_echo_n "(cached
) " >&6
6631 if test -n "$ac_ct_NMEDIT"; then
6632 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 test -z "$as_dir" && as_dir=.
6639 for ac_exec_ext in '' $ac_executable_extensions; do
6640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6651 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6652 if test -n "$ac_ct_NMEDIT"; then
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6654 $as_echo "$ac_ct_NMEDIT" >&6; }
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6657 $as_echo "no
" >&6; }
6660 if test "x
$ac_ct_NMEDIT" = x; then
6663 case $cross_compiling:$ac_tool_warned in
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6666 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6667 ac_tool_warned=yes ;;
6669 NMEDIT=$ac_ct_NMEDIT
6672 NMEDIT="$ac_cv_prog_NMEDIT"
6675 if test -n "$ac_tool_prefix"; then
6676 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6677 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6679 $as_echo_n "checking
for $ac_word...
" >&6; }
6680 if test "${ac_cv_prog_LIPO+set}" = set; then :
6681 $as_echo_n "(cached
) " >&6
6683 if test -n "$LIPO"; then
6684 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6703 LIPO=$ac_cv_prog_LIPO
6704 if test -n "$LIPO"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6706 $as_echo "$LIPO" >&6; }
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6709 $as_echo "no
" >&6; }
6714 if test -z "$ac_cv_prog_LIPO"; then
6716 # Extract the first word of "lipo
", so it can be a program name with args.
6717 set dummy lipo; ac_word=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6719 $as_echo_n "checking
for $ac_word...
" >&6; }
6720 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6721 $as_echo_n "(cached
) " >&6
6723 if test -n "$ac_ct_LIPO"; then
6724 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir=.
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6733 ac_cv_prog_ac_ct_LIPO="lipo
"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6743 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6744 if test -n "$ac_ct_LIPO"; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6746 $as_echo "$ac_ct_LIPO" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6749 $as_echo "no
" >&6; }
6752 if test "x
$ac_ct_LIPO" = x; then
6755 case $cross_compiling:$ac_tool_warned in
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6758 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6759 ac_tool_warned=yes ;;
6764 LIPO="$ac_cv_prog_LIPO"
6767 if test -n "$ac_tool_prefix"; then
6768 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6769 set dummy ${ac_tool_prefix}otool; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6771 $as_echo_n "checking
for $ac_word...
" >&6; }
6772 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6773 $as_echo_n "(cached
) " >&6
6775 if test -n "$OTOOL"; then
6776 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6785 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6795 OTOOL=$ac_cv_prog_OTOOL
6796 if test -n "$OTOOL"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6798 $as_echo "$OTOOL" >&6; }
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6801 $as_echo "no
" >&6; }
6806 if test -z "$ac_cv_prog_OTOOL"; then
6808 # Extract the first word of "otool
", so it can be a program name with args.
6809 set dummy otool; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6811 $as_echo_n "checking
for $ac_word...
" >&6; }
6812 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6813 $as_echo_n "(cached
) " >&6
6815 if test -n "$ac_ct_OTOOL"; then
6816 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 test -z "$as_dir" && as_dir=.
6823 for ac_exec_ext in '' $ac_executable_extensions; do
6824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6825 ac_cv_prog_ac_ct_OTOOL="otool
"
6826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6835 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6836 if test -n "$ac_ct_OTOOL"; then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6838 $as_echo "$ac_ct_OTOOL" >&6; }
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6841 $as_echo "no
" >&6; }
6844 if test "x
$ac_ct_OTOOL" = x; then
6847 case $cross_compiling:$ac_tool_warned in
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6850 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6851 ac_tool_warned=yes ;;
6856 OTOOL="$ac_cv_prog_OTOOL"
6859 if test -n "$ac_tool_prefix"; then
6860 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6861 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6863 $as_echo_n "checking
for $ac_word...
" >&6; }
6864 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6865 $as_echo_n "(cached
) " >&6
6867 if test -n "$OTOOL64"; then
6868 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874 test -z "$as_dir" && as_dir=.
6875 for ac_exec_ext in '' $ac_executable_extensions; do
6876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6877 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6887 OTOOL64=$ac_cv_prog_OTOOL64
6888 if test -n "$OTOOL64"; then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6890 $as_echo "$OTOOL64" >&6; }
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6893 $as_echo "no
" >&6; }
6898 if test -z "$ac_cv_prog_OTOOL64"; then
6899 ac_ct_OTOOL64=$OTOOL64
6900 # Extract the first word of "otool64
", so it can be a program name with args.
6901 set dummy otool64; ac_word=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6903 $as_echo_n "checking
for $ac_word...
" >&6; }
6904 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6905 $as_echo_n "(cached
) " >&6
6907 if test -n "$ac_ct_OTOOL64"; then
6908 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914 test -z "$as_dir" && as_dir=.
6915 for ac_exec_ext in '' $ac_executable_extensions; do
6916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6917 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6927 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6928 if test -n "$ac_ct_OTOOL64"; then
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6930 $as_echo "$ac_ct_OTOOL64" >&6; }
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6933 $as_echo "no
" >&6; }
6936 if test "x
$ac_ct_OTOOL64" = x; then
6939 case $cross_compiling:$ac_tool_warned in
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6942 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6943 ac_tool_warned=yes ;;
6945 OTOOL64=$ac_ct_OTOOL64
6948 OTOOL64="$ac_cv_prog_OTOOL64"
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6978 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6979 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6980 $as_echo_n "(cached
) " >&6
6982 lt_cv_apple_cc_single_mod=no
6983 if test -z "${LT_MULTI_MODULE}"; then
6984 # By default we will add the -single_module flag. You can override
6985 # by either setting the environment variable LT_MULTI_MODULE
6986 # non-empty at configure time, or by adding -multi_module to the
6988 rm -rf libconftest.dylib*
6989 echo "int foo
(void
){return 1;}" > conftest.c
6990 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6991 -dynamiclib -Wl,-single_module conftest.c
" >&5
6992 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6993 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6995 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6996 lt_cv_apple_cc_single_mod=yes
6998 cat conftest.err >&5
7000 rm -rf libconftest.dylib*
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7005 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7007 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7008 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7009 $as_echo_n "(cached
) " >&6
7011 lt_cv_ld_exported_symbols_list=no
7012 save_LDFLAGS=$LDFLAGS
7013 echo "_main
" > conftest.sym
7014 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7015 if test x$gcc_no_link = xyes; then
7016 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7029 if ac_fn_c_try_link "$LINENO"; then :
7030 lt_cv_ld_exported_symbols_list=yes
7032 lt_cv_ld_exported_symbols_list=no
7034 rm -f core conftest.err conftest.$ac_objext \
7035 conftest$ac_exeext conftest.$ac_ext
7036 LDFLAGS="$save_LDFLAGS"
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7040 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7042 rhapsody* | darwin1.[012])
7043 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7045 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7046 darwin*) # darwin 5.x on
7047 # if running on 10.5 or later, the deployment target defaults
7048 # to the OS version, if on x86, and 10.4, the deployment
7049 # target defaults to 10.4. Don't you love it?
7050 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7051 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7052 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7054 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7056 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7060 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7061 _lt_dar_single_mod='$single_module'
7063 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7064 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7066 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7068 if test "$DSYMUTIL" != ":"; then
7069 _lt_dsymutil='~$DSYMUTIL $lib || :'
7076 for ac_header in dlfcn.h
7078 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7080 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7081 cat >>confdefs.h <<_ACEOF
7082 #define HAVE_DLFCN_H 1
7101 # Check whether --enable-shared was given.
7102 if test "${enable_shared+set}" = set; then :
7103 enableval=$enable_shared; p=${PACKAGE-default}
7105 yes) enable_shared=yes ;;
7106 no) enable_shared=no ;;
7109 # Look at the argument we got. We use all the common list separators.
7110 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7111 for pkg in $enableval; do
7113 if test "X
$pkg" = "X
$p"; then
7132 # Check whether --enable-static was given.
7133 if test "${enable_static+set}" = set; then :
7134 enableval=$enable_static; p=${PACKAGE-default}
7136 yes) enable_static=yes ;;
7137 no) enable_static=no ;;
7140 # Look at the argument we got. We use all the common list separators.
7141 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7142 for pkg in $enableval; do
7144 if test "X
$pkg" = "X
$p"; then
7164 # Check whether --with-pic was given.
7165 if test "${with_pic+set}" = set; then :
7166 withval=$with_pic; pic_mode="$withval"
7172 test -z "$pic_mode" && pic_mode=default
7180 # Check whether --enable-fast-install was given.
7181 if test "${enable_fast_install+set}" = set; then :
7182 enableval=$enable_fast_install; p=${PACKAGE-default}
7184 yes) enable_fast_install=yes ;;
7185 no) enable_fast_install=no ;;
7187 enable_fast_install=no
7188 # Look at the argument we got. We use all the common list separators.
7189 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7190 for pkg in $enableval; do
7192 if test "X
$pkg" = "X
$p"; then
7193 enable_fast_install=yes
7200 enable_fast_install=yes
7213 # This can be used to rebuild libtool when needed
7214 LIBTOOL_DEPS="$ltmain"
7216 # Always use our own libtool.
7217 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7243 test -z "$LN_S" && LN_S="ln -s"
7258 if test -n "${ZSH_VERSION+set}" ; then
7259 setopt NO_GLOB_SUBST
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7263 $as_echo_n "checking
for objdir...
" >&6; }
7264 if test "${lt_cv_objdir+set}" = set; then :
7265 $as_echo_n "(cached
) " >&6
7267 rm -f .libs 2>/dev/null
7268 mkdir .libs 2>/dev/null
7269 if test -d .libs; then
7272 # MS-DOS does not allow filenames that begin with a dot.
7275 rmdir .libs 2>/dev/null
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7278 $as_echo "$lt_cv_objdir" >&6; }
7279 objdir=$lt_cv_objdir
7285 cat >>confdefs.h <<_ACEOF
7286 #define LT_OBJDIR "$lt_cv_objdir/"
7307 # AIX sometimes has problems with the GCC collect2 program. For some
7308 # reason, if we set the COLLECT_NAMES environment variable, the problems
7309 # vanish in a puff of smoke.
7310 if test "X
${COLLECT_NAMES+set}" != Xset; then
7312 export COLLECT_NAMES
7317 # Sed substitution that helps us do robust quoting. It backslashifies
7318 # metacharacters that are still active within double-quoted strings.
7319 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7321 # Same as above, but do not quote variable references.
7322 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7324 # Sed substitution to delay expansion of an escaped shell variable in a
7325 # double_quote_subst'ed string.
7326 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7328 # Sed substitution to delay expansion of an escaped single quote.
7329 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7331 # Sed substitution to avoid accidental globbing in evaled expressions
7332 no_glob_subst
='s/\*/\\\*/g'
7336 can_build_shared
=yes
7338 # All known linkers require a `.a' archive for static linking (except MSVC,
7339 # which needs '.lib').
7342 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7345 old_CFLAGS
="$CFLAGS"
7347 # Set sane defaults for various variables
7348 test -z "$CC" && CC
=cc
7349 test -z "$LTCC" && LTCC
=$CC
7350 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7351 test -z "$LD" && LD
=ld
7352 test -z "$ac_objext" && ac_objext
=o
7354 for cc_temp
in $compiler""; do
7356 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7357 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7362 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7365 # Only perform the check for file, if the check method requires it
7366 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7367 case $deplibs_check_method in
7369 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7371 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7372 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7373 $as_echo_n "(cached) " >&6
7377 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7380 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7381 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7382 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7383 for ac_dir
in $ac_dummy; do
7385 test -z "$ac_dir" && ac_dir
=.
7386 if test -f $ac_dir/${ac_tool_prefix}file; then
7387 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7388 if test -n "$file_magic_test_file"; then
7389 case $deplibs_check_method in
7391 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7392 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7393 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7394 $EGREP "$file_magic_regex" > /dev
/null
; then
7399 *** Warning: the command libtool uses to detect shared libraries,
7400 *** $file_magic_cmd, produces output that libtool cannot recognize.
7401 *** The result is that libtool may fail to recognize shared libraries
7402 *** as such. This will affect the creation of libtool libraries that
7403 *** depend on shared libraries, but programs linked with such libtool
7404 *** libraries will work regardless of this problem. Nevertheless, you
7405 *** may want to report the problem to your system manager and/or to
7406 *** bug-libtool@gnu.org
7416 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7421 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7422 if test -n "$MAGIC_CMD"; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7424 $as_echo "$MAGIC_CMD" >&6; }
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 $as_echo "no" >&6; }
7434 if test -z "$lt_cv_path_MAGIC_CMD"; then
7435 if test -n "$ac_tool_prefix"; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7437 $as_echo_n "checking for file... " >&6; }
7438 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7439 $as_echo_n "(cached) " >&6
7443 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7446 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7447 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7448 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7449 for ac_dir
in $ac_dummy; do
7451 test -z "$ac_dir" && ac_dir
=.
7452 if test -f $ac_dir/file; then
7453 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7454 if test -n "$file_magic_test_file"; then
7455 case $deplibs_check_method in
7457 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7458 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7459 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7460 $EGREP "$file_magic_regex" > /dev
/null
; then
7465 *** Warning: the command libtool uses to detect shared libraries,
7466 *** $file_magic_cmd, produces output that libtool cannot recognize.
7467 *** The result is that libtool may fail to recognize shared libraries
7468 *** as such. This will affect the creation of libtool libraries that
7469 *** depend on shared libraries, but programs linked with such libtool
7470 *** libraries will work regardless of this problem. Nevertheless, you
7471 *** may want to report the problem to your system manager and/or to
7472 *** bug-libtool@gnu.org
7482 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7487 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7488 if test -n "$MAGIC_CMD"; then
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7490 $as_echo "$MAGIC_CMD" >&6; }
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7493 $as_echo "no" >&6; }
7506 # Use C for the default configuration in the libtool script
7510 ac_cpp
='$CPP $CPPFLAGS'
7511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7516 # Source file extension for C test sources.
7519 # Object file extension for compiled C test sources.
7523 # Code to be used in simple compile tests
7524 lt_simple_compile_test_code
="int some_variable = 0;"
7526 # Code to be used in simple link tests
7527 lt_simple_link_test_code
='int main(){return(0);}'
7535 # If no C compiler was specified, use CC.
7538 # If no C compiler flags were specified, use CFLAGS.
7539 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7541 # Allow CC to be a program name with arguments.
7544 # Save the default compiler, since it gets overwritten when the other
7545 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7546 compiler_DEFAULT
=$CC
7548 # save warnings/boilerplate of simple test code
7549 ac_outfile
=conftest.
$ac_objext
7550 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7551 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7552 _lt_compiler_boilerplate
=`cat conftest.err`
7555 ac_outfile
=conftest.
$ac_objext
7556 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7557 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7558 _lt_linker_boilerplate
=`cat conftest.err`
7563 ## There is no encapsulation within the following macros, do not change
7564 ## the running order or otherwise move them around unless you know exactly
7565 ## what you are doing...
7566 if test -n "$compiler"; then
7568 lt_prog_compiler_no_builtin_flag
=
7570 if test "$GCC" = yes; then
7571 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7574 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7575 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7578 lt_cv_prog_compiler_rtti_exceptions
=no
7579 ac_outfile
=conftest.
$ac_objext
7580 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7581 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7582 # Insert the option either (1) after the last *FLAGS variable, or
7583 # (2) before a word containing "conftest.", or (3) at the end.
7584 # Note that $ac_compile itself does not contain backslashes and begins
7585 # with a dollar sign (not a hyphen), so the echo should work correctly.
7586 # The option is referenced via a variable to avoid confusing sed.
7587 lt_compile
=`echo "$ac_compile" | $SED \
7588 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7589 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7590 -e 's:$: $lt_compiler_flag:'`
7591 (eval echo "\"\$as_me:7591: $lt_compile\"" >&5)
7592 (eval "$lt_compile" 2>conftest.err
)
7594 cat conftest.err
>&5
7595 echo "$as_me:7595: \$? = $ac_status" >&5
7596 if (exit $ac_status) && test -s "$ac_outfile"; then
7597 # The compiler can only warn and ignore the option if not recognized
7598 # So say no if there are warnings other than the usual output.
7599 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7600 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7601 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7602 lt_cv_prog_compiler_rtti_exceptions
=yes
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7609 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7611 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7612 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7624 lt_prog_compiler_wl
=
7625 lt_prog_compiler_pic
=
7626 lt_prog_compiler_static
=
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7629 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7631 if test "$GCC" = yes; then
7632 lt_prog_compiler_wl
='-Wl,'
7633 lt_prog_compiler_static
='-static'
7637 # All AIX code is PIC.
7638 if test "$host_cpu" = ia64
; then
7639 # AIX 5 now supports IA64 processor
7640 lt_prog_compiler_static
='-Bstatic'
7647 # see comment about AmigaOS4 .so support
7648 lt_prog_compiler_pic
='-fPIC'
7651 # FIXME: we need at least 68020 code to build shared libraries, but
7652 # adding the `-m68020' flag to GCC prevents building anything better,
7654 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7659 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7660 # PIC is the default for these OSes.
7663 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7664 # This hack is so that the source file can tell whether it is being
7665 # built for inclusion in a dll (and should export symbols for example).
7666 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7667 # (--disable-auto-import) libraries
7668 lt_prog_compiler_pic
='-DDLL_EXPORT'
7671 darwin
* | rhapsody
*)
7672 # PIC is the default on this platform
7673 # Common symbols not allowed in MH_DYLIB files
7674 lt_prog_compiler_pic
='-fno-common'
7678 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7679 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7680 # sets the default TLS model and affects inlining.
7686 lt_prog_compiler_pic
='-fPIC'
7692 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7693 # Instead, we relocate shared libraries at runtime.
7697 # Just because we use GCC doesn't mean we suddenly get shared libraries
7698 # on systems that don't support them.
7699 lt_prog_compiler_can_build_shared
=no
7704 # QNX uses GNU C++, but need to define -shared option too, otherwise
7706 lt_prog_compiler_pic
='-fPIC -shared'
7710 if test -d /usr
/nec
; then
7711 lt_prog_compiler_pic
=-Kconform_pic
7716 lt_prog_compiler_pic
='-fPIC'
7720 # PORTME Check for flag to pass linker flags through the system compiler.
7723 lt_prog_compiler_wl
='-Wl,'
7724 if test "$host_cpu" = ia64
; then
7725 # AIX 5 now supports IA64 processor
7726 lt_prog_compiler_static
='-Bstatic'
7728 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7732 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7733 # This hack is so that the source file can tell whether it is being
7734 # built for inclusion in a dll (and should export symbols for example).
7735 lt_prog_compiler_pic
='-DDLL_EXPORT'
7738 hpux9
* | hpux10
* | hpux11
*)
7739 lt_prog_compiler_wl
='-Wl,'
7740 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7747 lt_prog_compiler_pic
='+Z'
7750 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7751 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7754 irix5
* | irix6
* | nonstopux
*)
7755 lt_prog_compiler_wl
='-Wl,'
7756 # PIC (with -KPIC) is the default.
7757 lt_prog_compiler_static
='-non_shared'
7760 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7761 case $cc_basename in
7762 # old Intel for x86_64 which still supported -KPIC.
7764 lt_prog_compiler_wl
='-Wl,'
7765 lt_prog_compiler_pic
='-KPIC'
7766 lt_prog_compiler_static
='-static'
7768 # icc used to be incompatible with GCC.
7769 # ICC 10 doesn't accept -KPIC any more.
7771 lt_prog_compiler_wl
='-Wl,'
7772 lt_prog_compiler_pic
='-fPIC'
7773 lt_prog_compiler_static
='-static'
7775 # Lahey Fortran 8.1.
7777 lt_prog_compiler_wl
='-Wl,'
7778 lt_prog_compiler_pic
='--shared'
7779 lt_prog_compiler_static
='--static'
7781 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7782 # Portland Group compilers (*not* the Pentium gcc compiler,
7783 # which looks to be a dead project)
7784 lt_prog_compiler_wl
='-Wl,'
7785 lt_prog_compiler_pic
='-fpic'
7786 lt_prog_compiler_static
='-Bstatic'
7789 lt_prog_compiler_wl
='-Wl,'
7790 # All Alpha code is PIC.
7791 lt_prog_compiler_static
='-non_shared'
7794 # IBM XL C 8.0/Fortran 10.1 on PPC
7795 lt_prog_compiler_wl
='-Wl,'
7796 lt_prog_compiler_pic
='-qpic'
7797 lt_prog_compiler_static
='-qstaticlink'
7800 case `$CC -V 2>&1 | sed 5q` in
7803 lt_prog_compiler_pic
='-KPIC'
7804 lt_prog_compiler_static
='-Bstatic'
7805 lt_prog_compiler_wl
='-Wl,'
7808 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7809 lt_prog_compiler_pic
='-KPIC'
7810 lt_prog_compiler_static
='-Bstatic'
7811 lt_prog_compiler_wl
=''
7819 lt_prog_compiler_pic
='-KPIC'
7820 lt_prog_compiler_static
='-Bstatic'
7824 # QNX uses GNU C++, but need to define -shared option too, otherwise
7826 lt_prog_compiler_pic
='-fPIC -shared'
7829 osf3
* | osf4
* | osf5
*)
7830 lt_prog_compiler_wl
='-Wl,'
7831 # All OSF/1 code is PIC.
7832 lt_prog_compiler_static
='-non_shared'
7836 lt_prog_compiler_static
='-non_shared'
7840 lt_prog_compiler_pic
='-KPIC'
7841 lt_prog_compiler_static
='-Bstatic'
7842 case $cc_basename in
7844 lt_prog_compiler_wl
='-Qoption ld ';;
7846 lt_prog_compiler_wl
='-Wl,';;
7851 lt_prog_compiler_wl
='-Qoption ld '
7852 lt_prog_compiler_pic
='-PIC'
7853 lt_prog_compiler_static
='-Bstatic'
7856 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7857 lt_prog_compiler_wl
='-Wl,'
7858 lt_prog_compiler_pic
='-KPIC'
7859 lt_prog_compiler_static
='-Bstatic'
7863 if test -d /usr
/nec
;then
7864 lt_prog_compiler_pic
='-Kconform_pic'
7865 lt_prog_compiler_static
='-Bstatic'
7869 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7870 lt_prog_compiler_wl
='-Wl,'
7871 lt_prog_compiler_pic
='-KPIC'
7872 lt_prog_compiler_static
='-Bstatic'
7876 lt_prog_compiler_wl
='-Wl,'
7877 lt_prog_compiler_can_build_shared
=no
7881 lt_prog_compiler_pic
='-pic'
7882 lt_prog_compiler_static
='-Bstatic'
7886 lt_prog_compiler_can_build_shared
=no
7892 # For platforms which do not support PIC, -DPIC is meaningless:
7894 lt_prog_compiler_pic
=
7897 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7901 $as_echo "$lt_prog_compiler_pic" >&6; }
7909 # Check to make sure the PIC flag actually works.
7911 if test -n "$lt_prog_compiler_pic"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7913 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7914 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7915 $as_echo_n "(cached) " >&6
7917 lt_cv_prog_compiler_pic_works
=no
7918 ac_outfile
=conftest.
$ac_objext
7919 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7920 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7921 # Insert the option either (1) after the last *FLAGS variable, or
7922 # (2) before a word containing "conftest.", or (3) at the end.
7923 # Note that $ac_compile itself does not contain backslashes and begins
7924 # with a dollar sign (not a hyphen), so the echo should work correctly.
7925 # The option is referenced via a variable to avoid confusing sed.
7926 lt_compile
=`echo "$ac_compile" | $SED \
7927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7929 -e 's:$: $lt_compiler_flag:'`
7930 (eval echo "\"\$as_me:7930: $lt_compile\"" >&5)
7931 (eval "$lt_compile" 2>conftest.err
)
7933 cat conftest.err
>&5
7934 echo "$as_me:7934: \$? = $ac_status" >&5
7935 if (exit $ac_status) && test -s "$ac_outfile"; then
7936 # The compiler can only warn and ignore the option if not recognized
7937 # So say no if there are warnings other than the usual output.
7938 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7939 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7940 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7941 lt_cv_prog_compiler_pic_works
=yes
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7948 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7950 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7951 case $lt_prog_compiler_pic in
7953 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7956 lt_prog_compiler_pic
=
7957 lt_prog_compiler_can_build_shared
=no
7968 # Check to make sure the static flag actually works.
7970 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7972 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7973 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7974 $as_echo_n "(cached) " >&6
7976 lt_cv_prog_compiler_static_works
=no
7977 save_LDFLAGS
="$LDFLAGS"
7978 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7979 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7980 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7981 # The linker can only warn and ignore the option if not recognized
7982 # So say no if there are warnings
7983 if test -s conftest.err
; then
7984 # Append any errors to the config.log.
7985 cat conftest.err
1>&5
7986 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7987 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7988 if diff conftest.exp conftest.er2
>/dev
/null
; then
7989 lt_cv_prog_compiler_static_works
=yes
7992 lt_cv_prog_compiler_static_works
=yes
7996 LDFLAGS
="$save_LDFLAGS"
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8000 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8002 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8005 lt_prog_compiler_static
=
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8015 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8016 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8017 $as_echo_n "(cached) " >&6
8019 lt_cv_prog_compiler_c_o
=no
8020 $RM -r conftest
2>/dev
/null
8024 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8026 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8027 # Insert the option either (1) after the last *FLAGS variable, or
8028 # (2) before a word containing "conftest.", or (3) at the end.
8029 # Note that $ac_compile itself does not contain backslashes and begins
8030 # with a dollar sign (not a hyphen), so the echo should work correctly.
8031 lt_compile
=`echo "$ac_compile" | $SED \
8032 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8033 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8034 -e 's:$: $lt_compiler_flag:'`
8035 (eval echo "\"\$as_me:8035: $lt_compile\"" >&5)
8036 (eval "$lt_compile" 2>out
/conftest.err
)
8038 cat out
/conftest.err
>&5
8039 echo "$as_me:8039: \$? = $ac_status" >&5
8040 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8042 # The compiler can only warn and ignore the option if not recognized
8043 # So say no if there are warnings
8044 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8045 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8046 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8047 lt_cv_prog_compiler_c_o
=yes
8052 # SGI C++ compiler will create directory out/ii_files/ for
8053 # template instantiation
8054 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8055 $RM out
/* && rmdir out
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8062 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8070 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8071 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8072 $as_echo_n "(cached) " >&6
8074 lt_cv_prog_compiler_c_o
=no
8075 $RM -r conftest
2>/dev
/null
8079 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8081 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8082 # Insert the option either (1) after the last *FLAGS variable, or
8083 # (2) before a word containing "conftest.", or (3) at the end.
8084 # Note that $ac_compile itself does not contain backslashes and begins
8085 # with a dollar sign (not a hyphen), so the echo should work correctly.
8086 lt_compile
=`echo "$ac_compile" | $SED \
8087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8088 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8089 -e 's:$: $lt_compiler_flag:'`
8090 (eval echo "\"\$as_me:8090: $lt_compile\"" >&5)
8091 (eval "$lt_compile" 2>out
/conftest.err
)
8093 cat out
/conftest.err
>&5
8094 echo "$as_me:8094: \$? = $ac_status" >&5
8095 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8097 # The compiler can only warn and ignore the option if not recognized
8098 # So say no if there are warnings
8099 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8100 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8101 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8102 lt_cv_prog_compiler_c_o
=yes
8107 # SGI C++ compiler will create directory out/ii_files/ for
8108 # template instantiation
8109 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8110 $RM out
/* && rmdir out
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8117 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8122 hard_links
="nottested"
8123 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8124 # do not overwrite the value of need_locks provided by the user
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8126 $as_echo_n "checking if we can lock with hard links... " >&6; }
8129 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8131 ln conftest.a conftest.b
2>&5 || hard_links
=no
8132 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8134 $as_echo "$hard_links" >&6; }
8135 if test "$hard_links" = no
; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8137 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8150 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8153 allow_undefined_flag
=
8154 always_export_symbols
=no
8156 archive_expsym_cmds
=
8157 compiler_needs_object
=no
8158 enable_shared_with_static_runtimes
=no
8159 export_dynamic_flag_spec
=
8160 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8161 hardcode_automatic
=no
8163 hardcode_direct_absolute
=no
8164 hardcode_libdir_flag_spec
=
8165 hardcode_libdir_flag_spec_ld
=
8166 hardcode_libdir_separator
=
8168 hardcode_shlibpath_var
=unsupported
8170 link_all_deplibs
=unknown
8173 old_archive_from_new_cmds
=
8174 old_archive_from_expsyms_cmds
=
8175 thread_safe_flag_spec
=
8176 whole_archive_flag_spec
=
8177 # include_expsyms should be a list of space-separated symbols to be *always*
8178 # included in the symbol list
8180 # exclude_expsyms can be an extended regexp of symbols to exclude
8181 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8182 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8183 # as well as any symbol that contains `d'.
8184 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8185 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8186 # platforms (ab)use it in PIC code, but their linkers get confused if
8187 # the symbol is explicitly referenced. Since portable code cannot
8188 # rely on this symbol name, it's probably fine to never include it in
8189 # preloaded symbol tables.
8190 # Exclude shared library initialization/finalization symbols.
8191 extract_expsyms_cmds
=
8194 cygwin
* | mingw
* | pw32
* | cegcc
*)
8195 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8196 # When not using gcc, we currently assume that we are using
8197 # Microsoft Visual C++.
8198 if test "$GCC" != yes; then
8203 # we just hope/assume this is gcc and not c89 (= MSVC++)
8212 if test "$with_gnu_ld" = yes; then
8213 # If archive_cmds runs LD, not CC, wlarc should be empty
8216 # Set some defaults for GNU ld with shared library support. These
8217 # are reset later if shared libraries are not supported. Putting them
8218 # here allows them to be overridden if necessary.
8219 runpath_var
=LD_RUN_PATH
8220 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8221 export_dynamic_flag_spec
='${wl}--export-dynamic'
8222 # ancient GNU ld didn't support --whole-archive et. al.
8223 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8224 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8226 whole_archive_flag_spec
=
8228 supports_anon_versioning
=no
8229 case `$LD -v 2>&1` in
8230 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8231 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8232 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8233 *\
2.11.
*) ;; # other 2.11 versions
8234 *) supports_anon_versioning
=yes ;;
8237 # See if GNU ld supports shared libraries.
8240 # On AIX/PPC, the GNU linker is very broken
8241 if test "$host_cpu" != ia64
; then
8245 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8246 *** to be unable to reliably create shared libraries on AIX.
8247 *** Therefore, libtool is disabling shared libraries support. If you
8248 *** really care for shared libraries, you may want to modify your PATH
8249 *** so that a non-GNU linker is found, and then restart.
8258 # see comment about AmigaOS4 .so support
8259 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8260 archive_expsym_cmds
=''
8263 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)'
8264 hardcode_libdir_flag_spec
='-L$libdir'
8265 hardcode_minus_L
=yes
8271 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8272 allow_undefined_flag
=unsupported
8273 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8274 # support --undefined. This deserves some investigation. FIXME
8275 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8281 cygwin
* | mingw
* | pw32
* | cegcc
*)
8282 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8283 # as there is no search path for DLLs.
8284 hardcode_libdir_flag_spec
='-L$libdir'
8285 allow_undefined_flag
=unsupported
8286 always_export_symbols
=no
8287 enable_shared_with_static_runtimes
=yes
8288 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8290 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8291 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8292 # If the export-symbols file already is a .def file (1st line
8293 # is EXPORTS), use it as is; otherwise, prepend...
8294 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8295 cp $export_symbols $output_objdir/$soname.def;
8297 echo EXPORTS > $output_objdir/$soname.def;
8298 cat $export_symbols >> $output_objdir/$soname.def;
8300 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8308 hardcode_shlibpath_var
=no
8309 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8310 export_dynamic_flag_spec
='${wl}-E'
8311 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8312 # Instead, shared libraries are loaded at an image base (0x10000000 by
8313 # default) and relocated if they conflict, which is a slow very memory
8314 # consuming and fragmenting process. To avoid this, we pick a random,
8315 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8316 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8317 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8318 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'
8321 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8323 if test "$host_os" = linux-dietlibc
; then
8324 case $cc_basename in
8325 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8328 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8329 && test "$tmp_diet" = no
8332 tmp_sharedflag
='-shared'
8333 case $cc_basename,$host_cpu in
8334 pgcc
*) # Portland Group C compiler
8335 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'
8336 tmp_addflag
=' $pic_flag'
8338 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8339 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'
8340 tmp_addflag
=' $pic_flag -Mnomain' ;;
8341 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8342 tmp_addflag
=' -i_dynamic' ;;
8343 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8344 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8345 ifc
* | ifort
*) # Intel Fortran compiler
8346 tmp_addflag
=' -nofor_main' ;;
8347 lf95
*) # Lahey Fortran 8.1
8348 whole_archive_flag_spec
=
8349 tmp_sharedflag
='--shared' ;;
8350 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8351 tmp_sharedflag
='-qmkshrobj'
8354 case `$CC -V 2>&1 | sed 5q` in
8355 *Sun\ C
*) # Sun C 5.9
8356 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'
8357 compiler_needs_object
=yes
8358 tmp_sharedflag
='-G' ;;
8359 *Sun\ F
*) # Sun Fortran 8.3
8360 tmp_sharedflag
='-G' ;;
8362 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8364 if test "x$supports_anon_versioning" = xyes
; then
8365 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8366 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8367 echo "local: *; };" >> $output_objdir/$libname.ver~
8368 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8371 case $cc_basename in
8373 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8374 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8375 hardcode_libdir_flag_spec
=
8376 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8377 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8378 if test "x$supports_anon_versioning" = xyes
; then
8379 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8380 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8381 echo "local: *; };" >> $output_objdir/$libname.ver~
8382 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8392 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8393 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8396 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8397 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8402 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8406 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8407 *** create shared libraries on Solaris systems. Therefore, libtool
8408 *** is disabling shared libraries support. We urge you to upgrade GNU
8409 *** binutils to release 2.9.1 or newer. Another option is to modify
8410 *** your PATH or compiler configuration so that the native linker is
8411 *** used, and then restart.
8414 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8415 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8416 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8422 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8423 case `$LD -v 2>&1` in
8424 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8428 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8429 *** reliably create shared libraries on SCO systems. Therefore, libtool
8430 *** is disabling shared libraries support. We urge you to upgrade GNU
8431 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8432 *** your PATH or compiler configuration so that the native linker is
8433 *** used, and then restart.
8438 # For security reasons, it is highly recommended that you always
8439 # use absolute paths for naming shared libraries, and exclude the
8440 # DT_RUNPATH tag from executables and libraries. But doing so
8441 # requires that you compile everything twice, which is a pain.
8442 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8443 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8444 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8445 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8454 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8457 hardcode_shlibpath_var
=no
8461 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8462 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8463 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8470 if test "$ld_shlibs" = no
; then
8472 hardcode_libdir_flag_spec
=
8473 export_dynamic_flag_spec
=
8474 whole_archive_flag_spec
=
8477 # PORTME fill in a description of your system's linker (not GNU ld)
8480 allow_undefined_flag
=unsupported
8481 always_export_symbols
=yes
8482 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'
8483 # Note: this linker hardcodes the directories in LIBPATH if there
8484 # are no directories specified by -L.
8485 hardcode_minus_L
=yes
8486 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8487 # Neither direct hardcoding nor static linking is supported with a
8489 hardcode_direct
=unsupported
8494 if test "$host_cpu" = ia64
; then
8495 # On IA64, the linker does run time linking by default, so we don't
8496 # have to do anything special.
8497 aix_use_runtimelinking
=no
8498 exp_sym_flag
='-Bexport'
8501 # If we're using GNU nm, then we don't want the "-C" option.
8502 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8503 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8504 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'
8506 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'
8508 aix_use_runtimelinking
=no
8510 # Test if we are trying to use run time linking or normal
8511 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8512 # need to do runtime linking.
8513 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8514 for ld_flag
in $LDFLAGS; do
8515 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8516 aix_use_runtimelinking
=yes
8523 exp_sym_flag
='-bexport'
8524 no_entry_flag
='-bnoentry'
8527 # When large executables or shared objects are built, AIX ld can
8528 # have problems creating the table of contents. If linking a library
8529 # or program results in "error TOC overflow" add -mminimal-toc to
8530 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8531 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8535 hardcode_direct_absolute
=yes
8536 hardcode_libdir_separator
=':'
8537 link_all_deplibs
=yes
8538 file_list_spec
='${wl}-f,'
8540 if test "$GCC" = yes; then
8541 case $host_os in aix4.
[012]|aix4.
[012].
*)
8542 # We only want to do this on AIX 4.2 and lower, the check
8543 # below for broken collect2 doesn't work under 4.3+
8544 collect2name
=`${CC} -print-prog-name=collect2`
8545 if test -f "$collect2name" &&
8546 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8548 # We have reworked collect2
8551 # We have old collect2
8552 hardcode_direct
=unsupported
8553 # It fails to find uninstalled libraries when the uninstalled
8554 # path is not listed in the libpath. Setting hardcode_minus_L
8555 # to unsupported forces relinking
8556 hardcode_minus_L
=yes
8557 hardcode_libdir_flag_spec
='-L$libdir'
8558 hardcode_libdir_separator
=
8562 shared_flag
='-shared'
8563 if test "$aix_use_runtimelinking" = yes; then
8564 shared_flag
="$shared_flag "'${wl}-G'
8568 if test "$host_cpu" = ia64
; then
8569 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8570 # chokes on -Wl,-G. The following line is correct:
8573 if test "$aix_use_runtimelinking" = yes; then
8574 shared_flag
='${wl}-G'
8576 shared_flag
='${wl}-bM:SRE'
8581 export_dynamic_flag_spec
='${wl}-bexpall'
8582 # It seems that -bexpall does not export symbols beginning with
8583 # underscore (_), so it is better to generate a list of symbols to export.
8584 always_export_symbols
=yes
8585 if test "$aix_use_runtimelinking" = yes; then
8586 # Warning - without using the other runtime loading flags (-brtl),
8587 # -berok will link without error, but may produce a broken library.
8588 allow_undefined_flag
='-berok'
8589 # Determine the default libpath from the value encoded in an
8591 if test x
$gcc_no_link = xyes
; then
8592 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8605 if ac_fn_c_try_link
"$LINENO"; then :
8607 lt_aix_libpath_sed
='
8608 /Import File Strings/,/^$/ {
8614 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8615 # Check for a 64-bit object if we didn't find anything.
8616 if test -z "$aix_libpath"; then
8617 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8620 rm -f core conftest.err conftest.
$ac_objext \
8621 conftest
$ac_exeext conftest.
$ac_ext
8622 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8624 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8625 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"
8627 if test "$host_cpu" = ia64
; then
8628 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8629 allow_undefined_flag
="-z nodefs"
8630 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"
8632 # Determine the default libpath from the value encoded in an
8634 if test x
$gcc_no_link = xyes
; then
8635 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8638 /* end confdefs.h. */
8648 if ac_fn_c_try_link
"$LINENO"; then :
8650 lt_aix_libpath_sed
='
8651 /Import File Strings/,/^$/ {
8657 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8658 # Check for a 64-bit object if we didn't find anything.
8659 if test -z "$aix_libpath"; then
8660 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8663 rm -f core conftest.err conftest.
$ac_objext \
8664 conftest
$ac_exeext conftest.
$ac_ext
8665 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8667 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8668 # Warning - without using the other run time loading flags,
8669 # -berok will link without error, but may produce a broken library.
8670 no_undefined_flag
=' ${wl}-bernotok'
8671 allow_undefined_flag
=' ${wl}-berok'
8672 # Exported symbols can be pulled into shared objects from archives
8673 whole_archive_flag_spec
='$convenience'
8674 archive_cmds_need_lc
=yes
8675 # This is similar to how AIX traditionally builds its shared libraries.
8676 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'
8684 # see comment about AmigaOS4 .so support
8685 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8686 archive_expsym_cmds
=''
8689 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)'
8690 hardcode_libdir_flag_spec
='-L$libdir'
8691 hardcode_minus_L
=yes
8697 export_dynamic_flag_spec
=-rdynamic
8700 cygwin
* | mingw
* | pw32
* | cegcc
*)
8701 # When not using gcc, we currently assume that we are using
8702 # Microsoft Visual C++.
8703 # hardcode_libdir_flag_spec is actually meaningless, as there is
8704 # no search path for DLLs.
8705 hardcode_libdir_flag_spec
=' '
8706 allow_undefined_flag
=unsupported
8707 # Tell ltmain to make .lib files, not .a files.
8709 # Tell ltmain to make .dll files, not .so files.
8711 # FIXME: Setting linknames here is a bad hack.
8712 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8713 # The linker will automatically build a .lib file if we build a DLL.
8714 old_archive_from_new_cmds
='true'
8715 # FIXME: Should let the user specify the lib program.
8716 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8717 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8718 enable_shared_with_static_runtimes
=yes
8721 darwin
* | rhapsody
*)
8724 archive_cmds_need_lc
=no
8726 hardcode_automatic
=yes
8727 hardcode_shlibpath_var
=unsupported
8728 whole_archive_flag_spec
=''
8729 link_all_deplibs
=yes
8730 allow_undefined_flag
="$_lt_dar_allow_undefined"
8731 case $cc_basename in
8732 ifort
*) _lt_dar_can_shared
=yes ;;
8733 *) _lt_dar_can_shared
=$GCC ;;
8735 if test "$_lt_dar_can_shared" = "yes"; then
8736 output_verbose_link_cmd
=echo
8737 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8738 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8739 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}"
8740 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}"
8749 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8750 hardcode_libdir_flag_spec
='-L$libdir'
8751 hardcode_shlibpath_var
=no
8758 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8759 # support. Future versions do this automatically, but an explicit c++rt0.o
8760 # does not break anything, and helps significantly (at the cost of a little
8763 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8764 hardcode_libdir_flag_spec
='-R$libdir'
8766 hardcode_shlibpath_var
=no
8769 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8771 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8773 hardcode_minus_L
=yes
8774 hardcode_shlibpath_var
=no
8777 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8778 freebsd
* | dragonfly
*)
8779 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8780 hardcode_libdir_flag_spec
='-R$libdir'
8782 hardcode_shlibpath_var
=no
8786 if test "$GCC" = yes; then
8787 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'
8789 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'
8791 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8792 hardcode_libdir_separator
=:
8795 # hardcode_minus_L: Not really in the search PATH,
8796 # but as the default location of the library.
8797 hardcode_minus_L
=yes
8798 export_dynamic_flag_spec
='${wl}-E'
8802 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8803 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8805 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8807 if test "$with_gnu_ld" = no
; then
8808 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8809 hardcode_libdir_flag_spec_ld
='+b $libdir'
8810 hardcode_libdir_separator
=:
8812 hardcode_direct_absolute
=yes
8813 export_dynamic_flag_spec
='${wl}-E'
8814 # hardcode_minus_L: Not really in the search PATH,
8815 # but as the default location of the library.
8816 hardcode_minus_L
=yes
8821 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8824 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8827 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8830 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8836 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8839 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8842 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8846 if test "$with_gnu_ld" = no
; then
8847 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8848 hardcode_libdir_separator
=:
8853 hardcode_shlibpath_var
=no
8857 hardcode_direct_absolute
=yes
8858 export_dynamic_flag_spec
='${wl}-E'
8860 # hardcode_minus_L: Not really in the search PATH,
8861 # but as the default location of the library.
8862 hardcode_minus_L
=yes
8868 irix5
* | irix6
* | nonstopux
*)
8869 if test "$GCC" = yes; then
8870 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'
8871 # Try to use the -exported_symbol ld option, if it does not
8872 # work, assume that -exports_file does not work either and
8873 # implicitly export all symbols.
8874 save_LDFLAGS
="$LDFLAGS"
8875 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8876 if test x
$gcc_no_link = xyes
; then
8877 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8883 if ac_fn_c_try_link
"$LINENO"; then :
8884 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'
8887 rm -f core conftest.err conftest.
$ac_objext \
8888 conftest
$ac_exeext conftest.
$ac_ext
8889 LDFLAGS
="$save_LDFLAGS"
8891 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'
8892 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'
8894 archive_cmds_need_lc
='no'
8895 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8896 hardcode_libdir_separator
=:
8898 link_all_deplibs
=yes
8902 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8903 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8905 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8907 hardcode_libdir_flag_spec
='-R$libdir'
8909 hardcode_shlibpath_var
=no
8913 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8915 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8916 hardcode_libdir_separator
=:
8917 hardcode_shlibpath_var
=no
8924 if test -f /usr
/libexec
/ld.so
; then
8926 hardcode_shlibpath_var
=no
8927 hardcode_direct_absolute
=yes
8928 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8929 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8930 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8931 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8932 export_dynamic_flag_spec
='${wl}-E'
8935 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8936 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8937 hardcode_libdir_flag_spec
='-R$libdir'
8940 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8941 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8951 hardcode_libdir_flag_spec
='-L$libdir'
8952 hardcode_minus_L
=yes
8953 allow_undefined_flag
=unsupported
8954 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'
8955 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8959 if test "$GCC" = yes; then
8960 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8961 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'
8963 allow_undefined_flag
=' -expect_unresolved \*'
8964 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'
8966 archive_cmds_need_lc
='no'
8967 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8968 hardcode_libdir_separator
=:
8971 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8972 if test "$GCC" = yes; then
8973 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8974 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'
8975 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8977 allow_undefined_flag
=' -expect_unresolved \*'
8978 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'
8979 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~
8980 $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'
8982 # Both c and cxx compiler support -rpath directly
8983 hardcode_libdir_flag_spec
='-rpath $libdir'
8985 archive_cmds_need_lc
='no'
8986 hardcode_libdir_separator
=:
8990 no_undefined_flag
=' -z defs'
8991 if test "$GCC" = yes; then
8993 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8994 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8995 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8997 case `$CC -V 2>&1` in
9000 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9001 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9002 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9006 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9007 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9008 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9012 hardcode_libdir_flag_spec
='-R$libdir'
9013 hardcode_shlibpath_var
=no
9015 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9017 # The compiler driver will combine and reorder linker options,
9018 # but understands `-z linker_flag'. GCC discards it without `$wl',
9019 # but is careful enough not to reorder.
9020 # Supported since Solaris 2.6 (maybe 2.5.1?)
9021 if test "$GCC" = yes; then
9022 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9024 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9028 link_all_deplibs
=yes
9032 if test "x$host_vendor" = xsequent
; then
9033 # Use $CC to link under sequent, because it throws in some extra .o
9034 # files that make .init and .fini sections work.
9035 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9037 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9039 hardcode_libdir_flag_spec
='-L$libdir'
9041 hardcode_minus_L
=yes
9042 hardcode_shlibpath_var
=no
9046 case $host_vendor in
9048 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9049 hardcode_direct
=yes # is this really true???
9052 ## LD is ld it makes a PLAMLIB
9053 ## CC just makes a GrossModule.
9054 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9055 reload_cmds
='$CC -r -o $output$reload_objs'
9059 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9060 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9063 runpath_var
='LD_RUN_PATH'
9064 hardcode_shlibpath_var
=no
9068 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9069 hardcode_shlibpath_var
=no
9070 export_dynamic_flag_spec
='-Bexport'
9074 if test -d /usr
/nec
; then
9075 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9076 hardcode_shlibpath_var
=no
9077 runpath_var
=LD_RUN_PATH
9078 hardcode_runpath_var
=yes
9083 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9084 no_undefined_flag
='${wl}-z,text'
9085 archive_cmds_need_lc
=no
9086 hardcode_shlibpath_var
=no
9087 runpath_var
='LD_RUN_PATH'
9089 if test "$GCC" = yes; then
9090 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9091 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9093 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9094 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9098 sysv5
* | sco3.2v5
* | sco5v6
*)
9099 # Note: We can NOT use -z defs as we might desire, because we do not
9100 # link with -lc, and that would cause any symbols used from libc to
9101 # always be unresolved, which means just about no library would
9102 # ever link correctly. If we're not using GNU ld we use -z text
9103 # though, which does catch some bad symbols but isn't as heavy-handed
9105 no_undefined_flag
='${wl}-z,text'
9106 allow_undefined_flag
='${wl}-z,nodefs'
9107 archive_cmds_need_lc
=no
9108 hardcode_shlibpath_var
=no
9109 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9110 hardcode_libdir_separator
=':'
9111 link_all_deplibs
=yes
9112 export_dynamic_flag_spec
='${wl}-Bexport'
9113 runpath_var
='LD_RUN_PATH'
9115 if test "$GCC" = yes; then
9116 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9117 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9119 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9120 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9125 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9126 hardcode_libdir_flag_spec
='-L$libdir'
9127 hardcode_shlibpath_var
=no
9135 if test x
$host_vendor = xsni
; then
9137 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9138 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9145 $as_echo "$ld_shlibs" >&6; }
9146 test "$ld_shlibs" = no
&& can_build_shared
=no
9148 with_gnu_ld
=$with_gnu_ld
9165 # Do we need to explicitly link libc?
9167 case "x$archive_cmds_need_lc" in
9169 # Assume -lc should be added
9170 archive_cmds_need_lc
=yes
9172 if test "$enable_shared" = yes && test "$GCC" = yes; then
9173 case $archive_cmds in
9175 # FIXME: we may have to deal with multi-command sequences.
9178 # Test whether the compiler implicitly links with -lc since on some
9179 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9180 # to ld, don't add -lc before -lgcc.
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9182 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9183 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9184 $as_echo_n "(cached) " >&6
9187 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9190 (eval $ac_compile) 2>&5
9192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9193 test $ac_status = 0; } 2>conftest.err
; then
9196 libobjs
=conftest.
$ac_objext
9198 wl
=$lt_prog_compiler_wl
9199 pic_flag
=$lt_prog_compiler_pic
9205 lt_save_allow_undefined_flag
=$allow_undefined_flag
9206 allow_undefined_flag
=
9207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9208 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9211 test $ac_status = 0; }
9213 lt_cv_archive_cmds_need_lc
=no
9215 lt_cv_archive_cmds_need_lc
=yes
9217 allow_undefined_flag
=$lt_save_allow_undefined_flag
9219 cat conftest.err
1>&5
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9225 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9226 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9390 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9392 if test "$GCC" = yes; then
9394 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9395 *) lt_awk_arg
="/^libraries:/" ;;
9397 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9398 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9399 # if the path contains ";" then we assume it to be the separator
9400 # otherwise default to the standard path separator (i.e. ":") - it is
9401 # assumed that no part of a normal pathname contains ";" but that should
9402 # okay in the real world where ";" in dirpaths is itself problematic.
9403 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9405 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9407 # Ok, now we have the path, separated by spaces, we can step through it
9408 # and add multilib dir if necessary.
9409 lt_tmp_lt_search_path_spec
=
9410 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9411 for lt_sys_path
in $lt_search_path_spec; do
9412 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9413 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9415 test -d "$lt_sys_path" && \
9416 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9419 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9420 BEGIN {RS=" "; FS="/|\n";} {
9423 for (lt_i = NF; lt_i > 0; lt_i--) {
9424 if ($lt_i != "" && $lt_i != ".") {
9425 if ($lt_i == "..") {
9428 if (lt_count == 0) {
9429 lt_foo="/" $lt_i lt_foo;
9436 if (lt_foo != "") { lt_freq[lt_foo]++; }
9437 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9439 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9441 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9444 libname_spec
='lib$name'
9452 shlibpath_overrides_runpath
=unknown
9454 dynamic_linker
="$host_os ld.so"
9455 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9456 need_lib_prefix
=unknown
9457 hardcode_into_libs
=no
9459 # when you set need_version to no, make sure it does not cause -set_version
9460 # flags to be left without arguments
9461 need_version
=unknown
9466 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9467 shlibpath_var
=LIBPATH
9469 # AIX 3 has no versioning support, so we append a major version to the name.
9470 soname_spec
='${libname}${release}${shared_ext}$major'
9477 hardcode_into_libs
=yes
9478 if test "$host_cpu" = ia64
; then
9479 # AIX 5 supports IA64
9480 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9481 shlibpath_var
=LD_LIBRARY_PATH
9483 # With GCC up to 2.95.x, collect2 would create an import file
9484 # for dependence libraries. The import file would start with
9485 # the line `#! .'. This would cause the generated library to
9486 # depend on `.', always an invalid library. This was fixed in
9487 # development snapshots of GCC prior to 3.0.
9489 aix4 | aix4.
[01] | aix4.
[01].
*)
9490 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9492 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9499 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9500 # soname into executable. Probably we can add versioning support to
9501 # collect2, so additional links can be useful in future.
9502 if test "$aix_use_runtimelinking" = yes; then
9503 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9504 # instead of lib<name>.a to let people know that these are not
9505 # typical AIX shared libraries.
9506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9508 # We preserve .a as extension for shared libraries through AIX4.2
9509 # and later when we are not doing run time linking.
9510 library_names_spec
='${libname}${release}.a $libname.a'
9511 soname_spec
='${libname}${release}${shared_ext}$major'
9513 shlibpath_var
=LIBPATH
9520 # Since July 2007 AmigaOS4 officially supports .so libraries.
9521 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9525 library_names_spec
='$libname.ixlibrary $libname.a'
9526 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9527 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'
9533 library_names_spec
='${libname}${shared_ext}'
9534 dynamic_linker
="$host_os ld.so"
9535 shlibpath_var
=LIBRARY_PATH
9541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9542 soname_spec
='${libname}${release}${shared_ext}$major'
9543 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9544 shlibpath_var
=LD_LIBRARY_PATH
9545 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9546 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9547 # the default ld.so.conf also contains /usr/contrib/lib and
9548 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9549 # libtool to hard-code these into programs
9552 cygwin
* | mingw
* | pw32
* | cegcc
*)
9553 version_type
=windows
9558 case $GCC,$host_os in
9559 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9560 library_names_spec
='$libname.dll.a'
9561 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9562 postinstall_cmds
='base_file=`basename \${file}`~
9563 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9564 dldir=$destdir/`dirname \$dlpath`~
9565 test -d \$dldir || mkdir -p \$dldir~
9566 $install_prog $dir/$dlname \$dldir/$dlname~
9567 chmod a+x \$dldir/$dlname~
9568 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9569 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9571 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9572 dlpath=$dir/\$dldll~
9574 shlibpath_overrides_runpath
=yes
9578 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9579 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9580 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9583 # MinGW DLLs use traditional 'lib' prefix
9584 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9585 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9586 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9587 # It is most probably a Windows format PATH printed by
9588 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9589 # path with ; separators, and with drive letters. We can handle the
9590 # drive letters (cygwin fileutils understands them), so leave them,
9591 # especially as we might pass files found there to a mingw objdump,
9592 # which wouldn't understand a cygwinified path. Ahh.
9593 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9595 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9599 # pw32 DLLs use 'pw' prefix rather than 'lib'
9600 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9606 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9609 dynamic_linker
='Win32 ld.exe'
9610 # FIXME: first we should search . and the directory the executable is in
9614 darwin
* | rhapsody
*)
9615 dynamic_linker
="$host_os dyld"
9619 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9620 soname_spec
='${libname}${release}${major}$shared_ext'
9621 shlibpath_overrides_runpath
=yes
9622 shlibpath_var
=DYLD_LIBRARY_PATH
9623 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9625 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9626 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9634 soname_spec
='${libname}${release}${shared_ext}$major'
9635 shlibpath_var
=LD_LIBRARY_PATH
9642 freebsd
* | dragonfly
*)
9643 # DragonFly does not have aout. When/if they implement a new
9644 # versioning mechanism, adjust this.
9645 if test -x /usr
/bin
/objformat
; then
9646 objformat
=`/usr/bin/objformat`
9649 freebsd
[123]*) objformat
=aout
;;
9653 version_type
=freebsd-
$objformat
9654 case $version_type in
9656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9661 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9665 shlibpath_var
=LD_LIBRARY_PATH
9668 shlibpath_overrides_runpath
=yes
9670 freebsd3.
[01]* | freebsdelf3.
[01]*)
9671 shlibpath_overrides_runpath
=yes
9672 hardcode_into_libs
=yes
9674 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9675 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9676 shlibpath_overrides_runpath
=no
9677 hardcode_into_libs
=yes
9679 *) # from 4.6 on, and DragonFly
9680 shlibpath_overrides_runpath
=yes
9681 hardcode_into_libs
=yes
9690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9691 soname_spec
='${libname}${release}${shared_ext}$major'
9692 shlibpath_var
=LD_LIBRARY_PATH
9693 hardcode_into_libs
=yes
9696 hpux9
* | hpux10
* | hpux11
*)
9697 # Give a soname corresponding to the major version so that dld.sl refuses to
9698 # link against other versions.
9705 hardcode_into_libs
=yes
9706 dynamic_linker
="$host_os dld.so"
9707 shlibpath_var
=LD_LIBRARY_PATH
9708 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9710 soname_spec
='${libname}${release}${shared_ext}$major'
9711 if test "X$HPUX_IA64_MODE" = X32
; then
9712 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9714 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9716 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9720 hardcode_into_libs
=yes
9721 dynamic_linker
="$host_os dld.sl"
9722 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9723 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9725 soname_spec
='${libname}${release}${shared_ext}$major'
9726 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9727 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9731 dynamic_linker
="$host_os dld.sl"
9732 shlibpath_var
=SHLIB_PATH
9733 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9735 soname_spec
='${libname}${release}${shared_ext}$major'
9738 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9739 postinstall_cmds
='chmod 555 $lib'
9746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9747 soname_spec
='${libname}${release}${shared_ext}$major'
9748 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9749 shlibpath_var
=LD_LIBRARY_PATH
9750 shlibpath_overrides_runpath
=no
9751 hardcode_into_libs
=yes
9754 irix5
* | irix6
* | nonstopux
*)
9756 nonstopux
*) version_type
=nonstopux
;;
9758 if test "$lt_cv_prog_gnu_ld" = yes; then
9766 soname_spec
='${libname}${release}${shared_ext}$major'
9767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9769 irix5
* | nonstopux
*)
9773 case $LD in # libtool.m4 will add one of these switches to LD
9774 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9775 libsuff
= shlibsuff
= libmagic
=32-bit;;
9776 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9777 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9778 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9779 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9780 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9784 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9785 shlibpath_overrides_runpath
=no
9786 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9787 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9788 hardcode_into_libs
=yes
9791 # No shared lib support for Linux oldld, aout, or coff.
9792 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9796 # This must be Linux ELF.
9797 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9802 soname_spec
='${libname}${release}${shared_ext}$major'
9803 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9804 shlibpath_var
=LD_LIBRARY_PATH
9805 shlibpath_overrides_runpath
=no
9807 # Some binutils ld are patched to set DT_RUNPATH
9808 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9809 $as_echo_n "(cached) " >&6
9811 lt_cv_shlibpath_overrides_runpath
=no
9812 save_LDFLAGS
=$LDFLAGS
9814 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9815 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9816 if test x
$gcc_no_link = xyes
; then
9817 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9830 if ac_fn_c_try_link
"$LINENO"; then :
9831 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9832 lt_cv_shlibpath_overrides_runpath
=yes
9835 rm -f core conftest.err conftest.
$ac_objext \
9836 conftest
$ac_exeext conftest.
$ac_ext
9837 LDFLAGS
=$save_LDFLAGS
9842 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9844 # This implies no fast_install, which is unacceptable.
9845 # Some rework will be needed to allow for fast_install
9846 # before this can be enabled.
9847 hardcode_into_libs
=yes
9849 # Append ld.so.conf contents to the search path
9850 if test -f /etc
/ld.so.conf
; then
9851 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' ' '`
9852 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9855 # We used to test for /lib/ld.so.1 and disable shared libraries on
9856 # powerpc, because MkLinux only supported shared libraries with the
9857 # GNU dynamic linker. Since this was broken with cross compilers,
9858 # most powerpc-linux boxes support dynamic linking these days and
9859 # people can always --disable-shared, the test was removed, and we
9860 # assume the GNU/Linux dynamic linker is in use.
9861 dynamic_linker
='GNU/Linux ld.so'
9868 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9870 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9871 dynamic_linker
='NetBSD (a.out) ld.so'
9873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9874 soname_spec
='${libname}${release}${shared_ext}$major'
9875 dynamic_linker
='NetBSD ld.elf_so'
9877 shlibpath_var
=LD_LIBRARY_PATH
9878 shlibpath_overrides_runpath
=yes
9879 hardcode_into_libs
=yes
9884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9885 shlibpath_var
=LD_LIBRARY_PATH
9886 shlibpath_overrides_runpath
=yes
9893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9894 soname_spec
='${libname}${release}${shared_ext}$major'
9895 shlibpath_var
=LD_LIBRARY_PATH
9896 shlibpath_overrides_runpath
=no
9897 hardcode_into_libs
=yes
9898 dynamic_linker
='ldqnx.so'
9903 sys_lib_dlsearch_path_spec
="/usr/lib"
9905 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9907 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9908 *) need_version
=no
;;
9910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9911 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9912 shlibpath_var
=LD_LIBRARY_PATH
9913 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9915 openbsd2.
[89] | openbsd2.
[89].
*)
9916 shlibpath_overrides_runpath
=no
9919 shlibpath_overrides_runpath
=yes
9923 shlibpath_overrides_runpath
=yes
9928 libname_spec
='$name'
9931 library_names_spec
='$libname${shared_ext} $libname.a'
9932 dynamic_linker
='OS/2 ld.exe'
9933 shlibpath_var
=LIBPATH
9936 osf3
* | osf4
* | osf5
*)
9940 soname_spec
='${libname}${release}${shared_ext}$major'
9941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9942 shlibpath_var
=LD_LIBRARY_PATH
9943 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9944 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9956 soname_spec
='${libname}${release}${shared_ext}$major'
9957 shlibpath_var
=LD_LIBRARY_PATH
9958 shlibpath_overrides_runpath
=yes
9959 hardcode_into_libs
=yes
9960 # ldd complains unless libraries are executable
9961 postinstall_cmds
='chmod +x $lib'
9966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9967 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9968 shlibpath_var
=LD_LIBRARY_PATH
9969 shlibpath_overrides_runpath
=yes
9970 if test "$with_gnu_ld" = yes; then
9978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9979 soname_spec
='${libname}${release}${shared_ext}$major'
9980 shlibpath_var
=LD_LIBRARY_PATH
9981 case $host_vendor in
9983 shlibpath_overrides_runpath
=no
9985 runpath_var
=LD_RUN_PATH
9993 shlibpath_overrides_runpath
=no
9994 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10000 if test -d /usr
/nec
;then
10002 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10003 soname_spec
='$libname${shared_ext}.$major'
10004 shlibpath_var
=LD_LIBRARY_PATH
10008 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10009 version_type
=freebsd-elf
10012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10013 soname_spec
='${libname}${release}${shared_ext}$major'
10014 shlibpath_var
=LD_LIBRARY_PATH
10015 shlibpath_overrides_runpath
=yes
10016 hardcode_into_libs
=yes
10017 if test "$with_gnu_ld" = yes; then
10018 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10020 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10023 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10027 sys_lib_dlsearch_path_spec
='/usr/lib'
10031 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10036 shlibpath_var
=LD_LIBRARY_PATH
10037 shlibpath_overrides_runpath
=no
10038 hardcode_into_libs
=yes
10043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10044 soname_spec
='${libname}${release}${shared_ext}$major'
10045 shlibpath_var
=LD_LIBRARY_PATH
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10053 $as_echo "$dynamic_linker" >&6; }
10054 test "$dynamic_linker" = no
&& can_build_shared
=no
10056 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10057 if test "$GCC" = yes; then
10058 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10061 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10062 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10064 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10065 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10155 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10157 if test -n "$hardcode_libdir_flag_spec" ||
10158 test -n "$runpath_var" ||
10159 test "X$hardcode_automatic" = "Xyes" ; then
10161 # We can hardcode non-existent directories.
10162 if test "$hardcode_direct" != no
&&
10163 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10164 # have to relink, otherwise we might link with an installed library
10165 # when we should be linking with a yet-to-be-installed one
10166 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10167 test "$hardcode_minus_L" != no
; then
10168 # Linking always hardcodes the temporary library directory.
10169 hardcode_action
=relink
10171 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10172 hardcode_action
=immediate
10175 # We cannot hardcode anything, or else we can only hardcode existing
10177 hardcode_action
=unsupported
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10180 $as_echo "$hardcode_action" >&6; }
10182 if test "$hardcode_action" = relink ||
10183 test "$inherit_rpath" = yes; then
10184 # Fast installation is not supported
10185 enable_fast_install
=no
10186 elif test "$shlibpath_overrides_runpath" = yes ||
10187 test "$enable_shared" = no
; then
10188 # Fast installation is not necessary
10189 enable_fast_install
=needless
10197 if test "x$enable_dlopen" != xyes
; then
10198 enable_dlopen
=unknown
10199 enable_dlopen_self
=unknown
10200 enable_dlopen_self_static
=unknown
10207 lt_cv_dlopen
="load_add_on"
10209 lt_cv_dlopen_self
=yes
10212 mingw
* | pw32
* | cegcc
*)
10213 lt_cv_dlopen
="LoadLibrary"
10218 lt_cv_dlopen
="dlopen"
10223 # if libdl is installed we need to link against it
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10225 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10226 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10227 $as_echo_n "(cached) " >&6
10229 ac_check_lib_save_LIBS
=$LIBS
10231 if test x
$gcc_no_link = xyes
; then
10232 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10237 /* Override any GCC internal prototype to avoid an error.
10238 Use char because int might match the return type of a GCC
10239 builtin and then its argument prototype would still apply. */
10252 if ac_fn_c_try_link
"$LINENO"; then :
10253 ac_cv_lib_dl_dlopen
=yes
10255 ac_cv_lib_dl_dlopen
=no
10257 rm -f core conftest.err conftest.
$ac_objext \
10258 conftest
$ac_exeext conftest.
$ac_ext
10259 LIBS
=$ac_check_lib_save_LIBS
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10262 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10263 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10264 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10267 lt_cv_dlopen
="dyld"
10269 lt_cv_dlopen_self
=yes
10276 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10277 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10278 lt_cv_dlopen
="shl_load"
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10281 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10282 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10283 $as_echo_n "(cached) " >&6
10285 ac_check_lib_save_LIBS
=$LIBS
10287 if test x
$gcc_no_link = xyes
; then
10288 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10293 /* Override any GCC internal prototype to avoid an error.
10294 Use char because int might match the return type of a GCC
10295 builtin and then its argument prototype would still apply. */
10303 return shl_load ();
10308 if ac_fn_c_try_link
"$LINENO"; then :
10309 ac_cv_lib_dld_shl_load
=yes
10311 ac_cv_lib_dld_shl_load
=no
10313 rm -f core conftest.err conftest.
$ac_objext \
10314 conftest
$ac_exeext conftest.
$ac_ext
10315 LIBS
=$ac_check_lib_save_LIBS
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10318 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10319 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10320 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10322 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10323 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10324 lt_cv_dlopen
="dlopen"
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10327 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10328 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10329 $as_echo_n "(cached) " >&6
10331 ac_check_lib_save_LIBS
=$LIBS
10333 if test x
$gcc_no_link = xyes
; then
10334 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10339 /* Override any GCC internal prototype to avoid an error.
10340 Use char because int might match the return type of a GCC
10341 builtin and then its argument prototype would still apply. */
10354 if ac_fn_c_try_link
"$LINENO"; then :
10355 ac_cv_lib_dl_dlopen
=yes
10357 ac_cv_lib_dl_dlopen
=no
10359 rm -f core conftest.err conftest.
$ac_objext \
10360 conftest
$ac_exeext conftest.
$ac_ext
10361 LIBS
=$ac_check_lib_save_LIBS
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10364 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10365 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10366 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10369 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10370 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10371 $as_echo_n "(cached) " >&6
10373 ac_check_lib_save_LIBS
=$LIBS
10374 LIBS
="-lsvld $LIBS"
10375 if test x
$gcc_no_link = xyes
; then
10376 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10381 /* Override any GCC internal prototype to avoid an error.
10382 Use char because int might match the return type of a GCC
10383 builtin and then its argument prototype would still apply. */
10396 if ac_fn_c_try_link
"$LINENO"; then :
10397 ac_cv_lib_svld_dlopen
=yes
10399 ac_cv_lib_svld_dlopen
=no
10401 rm -f core conftest.err conftest.
$ac_objext \
10402 conftest
$ac_exeext conftest.
$ac_ext
10403 LIBS
=$ac_check_lib_save_LIBS
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10406 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10407 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10408 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10411 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10412 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10413 $as_echo_n "(cached) " >&6
10415 ac_check_lib_save_LIBS
=$LIBS
10417 if test x
$gcc_no_link = xyes
; then
10418 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10423 /* Override any GCC internal prototype to avoid an error.
10424 Use char because int might match the return type of a GCC
10425 builtin and then its argument prototype would still apply. */
10433 return dld_link ();
10438 if ac_fn_c_try_link
"$LINENO"; then :
10439 ac_cv_lib_dld_dld_link
=yes
10441 ac_cv_lib_dld_dld_link
=no
10443 rm -f core conftest.err conftest.
$ac_objext \
10444 conftest
$ac_exeext conftest.
$ac_ext
10445 LIBS
=$ac_check_lib_save_LIBS
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10448 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10449 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10450 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10471 if test "x$lt_cv_dlopen" != xno
; then
10477 case $lt_cv_dlopen in
10479 save_CPPFLAGS
="$CPPFLAGS"
10480 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10482 save_LDFLAGS
="$LDFLAGS"
10483 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10486 LIBS
="$lt_cv_dlopen_libs $LIBS"
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10489 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10490 if test "${lt_cv_dlopen_self+set}" = set; then :
10491 $as_echo_n "(cached) " >&6
10493 if test "$cross_compiling" = yes; then :
10494 lt_cv_dlopen_self
=cross
10496 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10497 lt_status
=$lt_dlunknown
10498 cat > conftest.
$ac_ext <<_LT_EOF
10499 #line 10499 "configure"
10500 #include "confdefs.h"
10509 # define LT_DLGLOBAL RTLD_GLOBAL
10512 # define LT_DLGLOBAL DL_GLOBAL
10514 # define LT_DLGLOBAL 0
10518 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10519 find out it does not work in some platform. */
10520 #ifndef LT_DLLAZY_OR_NOW
10522 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10525 # define LT_DLLAZY_OR_NOW DL_LAZY
10528 # define LT_DLLAZY_OR_NOW RTLD_NOW
10531 # define LT_DLLAZY_OR_NOW DL_NOW
10533 # define LT_DLLAZY_OR_NOW 0
10540 void fnord() { int i=42;}
10543 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10544 int status = $lt_dlunknown;
10548 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10549 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10550 /* dlclose (self); */
10558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10559 (eval $ac_link) 2>&5
10561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10562 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10563 (.
/conftest
; exit; ) >&5 2>/dev
/null
10565 case x
$lt_status in
10566 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10567 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10568 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10571 # compilation failed
10572 lt_cv_dlopen_self
=no
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10580 $as_echo "$lt_cv_dlopen_self" >&6; }
10582 if test "x$lt_cv_dlopen_self" = xyes
; then
10583 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10585 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10586 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10587 $as_echo_n "(cached) " >&6
10589 if test "$cross_compiling" = yes; then :
10590 lt_cv_dlopen_self_static
=cross
10592 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10593 lt_status
=$lt_dlunknown
10594 cat > conftest.
$ac_ext <<_LT_EOF
10595 #line 10595 "configure"
10596 #include "confdefs.h"
10605 # define LT_DLGLOBAL RTLD_GLOBAL
10608 # define LT_DLGLOBAL DL_GLOBAL
10610 # define LT_DLGLOBAL 0
10614 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10615 find out it does not work in some platform. */
10616 #ifndef LT_DLLAZY_OR_NOW
10618 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10621 # define LT_DLLAZY_OR_NOW DL_LAZY
10624 # define LT_DLLAZY_OR_NOW RTLD_NOW
10627 # define LT_DLLAZY_OR_NOW DL_NOW
10629 # define LT_DLLAZY_OR_NOW 0
10636 void fnord() { int i=42;}
10639 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10640 int status = $lt_dlunknown;
10644 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10645 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10646 /* dlclose (self); */
10654 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10655 (eval $ac_link) 2>&5
10657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10658 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10659 (.
/conftest
; exit; ) >&5 2>/dev
/null
10661 case x
$lt_status in
10662 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10663 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10664 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10667 # compilation failed
10668 lt_cv_dlopen_self_static
=no
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10676 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10679 CPPFLAGS
="$save_CPPFLAGS"
10680 LDFLAGS
="$save_LDFLAGS"
10685 case $lt_cv_dlopen_self in
10686 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10687 *) enable_dlopen_self
=unknown
;;
10690 case $lt_cv_dlopen_self_static in
10691 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10692 *) enable_dlopen_self_static
=unknown
;;
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10715 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10716 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10717 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10718 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10720 $as_echo "yes" >&6; }
10722 # FIXME - insert some real tests, host_os isn't really good enough
10725 if test -n "$STRIP" ; then
10726 striplib
="$STRIP -x"
10727 old_striplib
="$STRIP -S"
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10729 $as_echo "yes" >&6; }
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10732 $as_echo "no" >&6; }
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10737 $as_echo "no" >&6; }
10753 # Report which library types will actually be built
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10755 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10757 $as_echo "$can_build_shared" >&6; }
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10760 $as_echo_n "checking whether to build shared libraries... " >&6; }
10761 test "$can_build_shared" = "no" && enable_shared
=no
10763 # On AIX, shared libraries and static libraries use the same namespace, and
10764 # are all built from PIC.
10767 test "$enable_shared" = yes && enable_static
=no
10768 if test -n "$RANLIB"; then
10769 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10770 postinstall_cmds
='$RANLIB $lib'
10775 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10776 test "$enable_shared" = yes && enable_static
=no
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10781 $as_echo "$enable_shared" >&6; }
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10784 $as_echo_n "checking whether to build static libraries... " >&6; }
10785 # Make sure either enable_shared or enable_static is yes.
10786 test "$enable_shared" = yes || enable_static
=yes
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10788 $as_echo "$enable_static" >&6; }
10795 ac_cpp
='$CPP $CPPFLAGS'
10796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10814 ac_config_commands
="$ac_config_commands libtool"
10819 # Only expand once:
10825 # Calculate toolexeclibdir
10826 # Also toolexecdir, though it's only used in toolexeclibdir
10827 case ${version_specific_libs} in
10829 # Need the gcc compiler version to know where to install libraries
10830 # and header files if --enable-version-specific-runtime-libs option
10832 toolexecdir
='$(libdir)/gcc/$(target_alias)'
10833 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
10836 if test -n "$with_cross_host" &&
10837 test x
"$with_cross_host" != x
"no"; then
10838 # Install a library built with a cross compiler in tooldir, not libdir.
10839 toolexecdir
='$(exec_prefix)/$(target_alias)'
10840 toolexeclibdir
='$(toolexecdir)/lib'
10842 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
10843 toolexeclibdir
='$(libdir)'
10845 multi_os_directory
=`$CC -print-multi-os-directory`
10846 case $multi_os_directory in
10847 .
) ;; # Avoid trailing /.
10848 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
10855 if test ${multilib} = yes; then
10856 multilib_arg
="--enable-multilib"
10861 ac_config_files
="$ac_config_files Makefile ssp/ssp.h"
10863 cat >confcache
<<\_ACEOF
10864 # This file is a shell script that caches the results of configure
10865 # tests run on this system so they can be shared between configure
10866 # scripts and configure runs, see configure's option --config-cache.
10867 # It is not useful on other systems. If it contains results you don't
10868 # want to keep, you may remove or edit it.
10870 # config.status only pays attention to the cache file if you give it
10871 # the --recheck option to rerun configure.
10873 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10874 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10875 # following values.
10879 # The following way of writing the cache mishandles newlines in values,
10880 # but we know of no workaround that is simple, portable, and efficient.
10881 # So, we kill variables containing newlines.
10882 # Ultrix sh set writes to stderr and can't be redirected directly,
10883 # and sets the high bit in the cache file unless we assign to the vars.
10885 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10886 eval ac_val
=\$
$ac_var
10890 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10891 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10894 _ | IFS | as_nl
) ;; #(
10895 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10896 *) { eval $ac_var=; unset $ac_var;} ;;
10902 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10903 *${as_nl}ac_space
=\
*)
10904 # `set' does not quote correctly, so add quotes: double-quote
10905 # substitution turns \\\\ into \\, and sed turns \\ into \.
10908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10911 # `set' quotes correctly as required by POSIX, so do not add quotes.
10912 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10921 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10923 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10925 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10926 if test -w "$cache_file"; then
10927 test "x$cache_file" != "x/dev/null" &&
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10929 $as_echo "$as_me: updating cache $cache_file" >&6;}
10930 cat confcache
>$cache_file
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10933 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10938 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10939 # Let make expand exec_prefix.
10940 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10942 DEFS
=-DHAVE_CONFIG_H
10946 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10947 # 1. Remove the extension, and $U if already installed.
10948 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10949 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10950 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10951 # will be set to the directory where LIBOBJS objects are built.
10952 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10953 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
10955 LIBOBJS
=$ac_libobjs
10957 LTLIBOBJS
=$ac_ltlibobjs
10960 if test -n "$EXEEXT"; then
10962 am__EXEEXT_FALSE
='#'
10964 am__EXEEXT_TRUE
='#'
10968 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10969 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
10970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10972 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10973 as_fn_error
"conditional \"AMDEP\" was never defined.
10974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10976 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10977 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
10978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10980 if test -z "${LIBSSP_USE_SYMVER_TRUE}" && test -z "${LIBSSP_USE_SYMVER_FALSE}"; then
10981 as_fn_error
"conditional \"LIBSSP_USE_SYMVER\" was never defined.
10982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10985 : ${CONFIG_STATUS=./config.status}
10987 ac_clean_files_save
=$ac_clean_files
10988 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10990 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10992 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10994 # Generated by $as_me.
10995 # Run this file to recreate the current configuration.
10996 # Compiler output produced by configure, useful for debugging
10997 # configure, is in config.log if it exists.
11000 ac_cs_recheck=false
11003 SHELL=\${CONFIG_SHELL-$SHELL}
11006 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11007 ## -------------------- ##
11008 ## M4sh Initialization. ##
11009 ## -------------------- ##
11011 # Be more Bourne compatible
11012 DUALCASE
=1; export DUALCASE
# for MKS sh
11013 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11016 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11017 # is contrary to our usage. Disable this feature.
11018 alias -g '${1+"$@"}'='"$@"'
11019 setopt NO_GLOB_SUBST
11021 case `(set -o) 2>/dev/null` in #(
11033 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11034 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11035 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11036 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11037 # Prefer a ksh shell builtin over an external printf program on Solaris,
11038 # but without wasting forks for bash or zsh.
11039 if test -z "$BASH_VERSION$ZSH_VERSION" \
11040 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11041 as_echo='print
-r --'
11042 as_echo_n='print
-rn --'
11043 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11044 as_echo='printf %s
\n'
11045 as_echo_n='printf %s
'
11047 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11048 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11049 as_echo_n='/usr
/ucb
/echo -n'
11051 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11052 as_echo_n_body='eval
11056 expr "X$arg" : "X\\(.*\\)$as_nl";
11057 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11059 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11061 export as_echo_n_body
11062 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11064 export as_echo_body
11065 as_echo='sh
-c $as_echo_body as_echo
'
11068 # The user is always right.
11069 if test "${PATH_SEPARATOR+set}" != set; then
11071 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11072 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11079 # We need space, tab and new line, in precisely that order. Quoting is
11080 # there to prevent editors from complaining about space-tab.
11081 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11082 # splitting by setting IFS to empty value.)
11085 # Find who we are. Look in the path if we contain no directory separator.
11087 *[\\/]* ) as_myself=$0 ;;
11088 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11089 for as_dir in $PATH
11092 test -z "$as_dir" && as_dir=.
11093 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11099 # We did not find ourselves, most probably we were run as `sh COMMAND'
11100 # in which case we are not to be found in the path.
11101 if test "x$as_myself" = x
; then
11104 if test ! -f "$as_myself"; then
11105 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11109 # Unset variables that we do not need and which cause bugs (e.g. in
11110 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11111 # suppresses any "Segmentation fault" message there. '((' could
11112 # trigger a bug in pdksh 5.2.14.
11113 for as_var
in BASH_ENV ENV MAIL MAILPATH
11114 do eval test x\
${$as_var+set} = xset \
11115 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11128 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11131 # as_fn_error ERROR [LINENO LOG_FD]
11132 # ---------------------------------
11133 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11134 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11135 # script with status $?, using 1 if that was 0.
11138 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11140 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11141 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11143 $as_echo "$as_me: error: $1" >&2
11144 as_fn_exit
$as_status
11148 # as_fn_set_status STATUS
11149 # -----------------------
11150 # Set $? to STATUS, without forking.
11151 as_fn_set_status
()
11154 } # as_fn_set_status
11156 # as_fn_exit STATUS
11157 # -----------------
11158 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11162 as_fn_set_status
$1
11168 # Portably unset VAR.
11171 { eval $1=; unset $1;}
11173 as_unset
=as_fn_unset
11174 # as_fn_append VAR VALUE
11175 # ----------------------
11176 # Append the text in VALUE to the end of the definition contained in VAR. Take
11177 # advantage of any shell optimizations that allow amortized linear growth over
11178 # repeated appends, instead of the typical quadratic growth present in naive
11180 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11181 eval 'as_fn_append ()
11192 # as_fn_arith ARG...
11193 # ------------------
11194 # Perform arithmetic evaluation on the ARGs, and store the result in the
11195 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11196 # must be portable across $(()) and expr.
11197 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11198 eval 'as_fn_arith ()
11205 as_val
=`expr "$@" || test $? -eq 1`
11210 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11211 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11217 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11218 as_basename
=basename
11223 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11229 as_me
=`$as_basename -- "$0" ||
11230 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11231 X"$0" : 'X\(//\)$' \| \
11232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11234 sed '/^.*\/\([^/][^/]*\)\/*$/{
11248 # Avoid depending upon Character Ranges.
11249 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11250 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11251 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11252 as_cr_digits
='0123456789'
11253 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11255 ECHO_C
= ECHO_N
= ECHO_T
=
11256 case `echo -n x` in #(((((
11258 case `echo 'xy\c'` in
11259 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11261 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11268 rm -f conf$$ conf$$.exe conf$$.
file
11269 if test -d conf$$.dir
; then
11270 rm -f conf$$.dir
/conf$$.
file
11273 mkdir conf$$.dir
2>/dev
/null
11275 if (echo >conf$$.
file) 2>/dev
/null
; then
11276 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11278 # ... but there are two gotchas:
11279 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11280 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11281 # In both cases, we have to default to `cp -p'.
11282 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11284 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11292 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11293 rmdir conf$$.dir
2>/dev
/null
11298 # Create "$as_dir" as a directory, including parents if necessary.
11303 -*) as_dir
=.
/$as_dir;;
11305 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11309 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11310 *) as_qdir
=$as_dir;;
11312 as_dirs
="'$as_qdir' $as_dirs"
11313 as_dir
=`$as_dirname -- "$as_dir" ||
11314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11315 X"$as_dir" : 'X\(//\)[^/]' \| \
11316 X"$as_dir" : 'X\(//\)$' \| \
11317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11318 $as_echo X"$as_dir" |
11319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11323 /^X\(\/\/\)[^/].*/{
11336 test -d "$as_dir" && break
11338 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11339 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11343 if mkdir
-p .
2>/dev
/null
; then
11344 as_mkdir_p
='mkdir -p "$as_dir"'
11346 test -d .
/-p && rmdir .
/-p
11350 if test -x / >/dev
/null
2>&1; then
11351 as_test_x
='test -x'
11353 if ls -dL / >/dev
/null
2>&1; then
11360 if test -d "$1"; then
11366 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11367 ???[sx]*):;;*)false;;esac;fi
11371 as_executable_p
=$as_test_x
11373 # Sed expression to map a string onto a valid CPP name.
11374 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11376 # Sed expression to map a string onto a valid variable name.
11377 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11381 ## ----------------------------------- ##
11382 ## Main body of $CONFIG_STATUS script. ##
11383 ## ----------------------------------- ##
11385 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11388 # Save the log message, to keep $0 and so on meaningful, and to
11389 # report actual input values of CONFIG_FILES etc. instead of their
11390 # values after options handling.
11392 This file was extended by libssp $as_me 1.0, which was
11393 generated by GNU Autoconf 2.64. Invocation command line was
11395 CONFIG_FILES = $CONFIG_FILES
11396 CONFIG_HEADERS = $CONFIG_HEADERS
11397 CONFIG_LINKS = $CONFIG_LINKS
11398 CONFIG_COMMANDS = $CONFIG_COMMANDS
11401 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11406 case $ac_config_files in *"
11407 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11410 case $ac_config_headers in *"
11411 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11416 # Files that config.status was made for.
11417 config_files="$ac_config_files"
11418 config_headers="$ac_config_headers"
11419 config_commands="$ac_config_commands"
11423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11425 \`$as_me' instantiates files and other configuration actions
11426 from templates according to the current configuration. Unless the files
11427 and actions are specified as TAGs, all are instantiated by default.
11429 Usage: $0 [OPTION]... [TAG]...
11431 -h, --help print this help, then exit
11432 -V, --version print version number and configuration settings, then exit
11433 -q, --quiet, --silent
11434 do not print progress messages
11435 -d, --debug don't remove temporary files
11436 --recheck update $as_me by reconfiguring in the same conditions
11437 --file=FILE[:TEMPLATE]
11438 instantiate the configuration file FILE
11439 --header=FILE[:TEMPLATE]
11440 instantiate the configuration header FILE
11442 Configuration files:
11445 Configuration headers:
11448 Configuration commands:
11451 Report bugs to the package provider."
11454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11456 libssp config.status 1.0
11457 configured by $0, generated by GNU Autoconf 2.64,
11458 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11460 Copyright (C) 2009 Free Software Foundation, Inc.
11461 This config.status script is free software; the Free Software Foundation
11462 gives unlimited permission to copy, distribute and modify it."
11469 test -n "\$AWK" || AWK=awk
11472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11473 # The default lists apply if the user does not specify any file.
11479 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11480 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11491 # Handling of the options.
11492 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11494 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11495 $as_echo "$ac_cs_version"; exit ;;
11496 --debug |
--debu |
--deb |
--de |
--d |
-d )
11498 --file |
--fil |
--fi |
--f )
11501 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11503 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11504 ac_need_defaults
=false
;;
11505 --header |
--heade |
--head |
--hea )
11508 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11510 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11511 ac_need_defaults
=false
;;
11513 # Conflict between --help and --header
11514 as_fn_error
"ambiguous option: \`$1'
11515 Try \`$0 --help' for more information.";;
11516 --help |
--hel |
-h )
11517 $as_echo "$ac_cs_usage"; exit ;;
11518 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11519 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11522 # This is an error.
11523 -*) as_fn_error
"unrecognized option: \`$1'
11524 Try \`$0 --help' for more information." ;;
11526 *) as_fn_append ac_config_targets
" $1"
11527 ac_need_defaults
=false
;;
11533 ac_configure_extra_args
=
11535 if $ac_cs_silent; then
11537 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11542 if \$ac_cs_recheck; then
11543 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11545 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11546 CONFIG_SHELL='$SHELL'
11547 export CONFIG_SHELL
11552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11556 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11557 ## Running $as_me. ##
11563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11571 with_multisubdir="$with_multisubdir"
11572 with_multisrctop="$with_multisrctop"
11573 with_target_subdir="$with_target_subdir"
11574 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11575 multi_basedir="$multi_basedir"
11576 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11579 GFORTRAN="$GFORTRAN"
11581 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11584 # The HP-UX ksh and POSIX shell print the target directory to stdout
11585 # if CDPATH is set.
11586 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11588 sed_quote_subst='$sed_quote_subst'
11589 double_quote_subst='$double_quote_subst'
11590 delay_variable_subst='$delay_variable_subst'
11591 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11592 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11593 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11594 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11595 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11596 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11597 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11598 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11599 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11600 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11601 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11602 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11603 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11604 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11605 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11606 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11607 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11608 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11609 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11610 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11611 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11612 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11613 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11614 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11615 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11616 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11617 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11618 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11619 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11620 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11621 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11622 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11623 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11624 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11625 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11626 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11627 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11628 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11629 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11630 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11631 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11632 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11633 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11634 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11635 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"`'
11636 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"`'
11637 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11638 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11639 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11640 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11641 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11642 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11643 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11644 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11645 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11646 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11647 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11648 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11649 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11650 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11651 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11652 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11653 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11654 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11655 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11656 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11657 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11658 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11659 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11660 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11661 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11662 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11663 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11664 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11665 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11666 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11667 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11668 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11669 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11670 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11671 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11672 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11673 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11674 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11675 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11676 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11677 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11678 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11679 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11680 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11681 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11682 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11683 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11684 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11685 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11686 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11687 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11688 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11689 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11690 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11691 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11692 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11693 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11694 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11695 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11696 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11697 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11698 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11699 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11700 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11701 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11702 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11703 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11704 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11705 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11706 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11707 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11708 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11711 LTCFLAGS='$LTCFLAGS'
11712 compiler='$compiler_DEFAULT'
11714 # Quote evaled strings.
11726 deplibs_check_method \
11735 lt_cv_sys_global_symbol_pipe \
11736 lt_cv_sys_global_symbol_to_cdecl \
11737 lt_cv_sys_global_symbol_to_c_name_address \
11738 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11741 lt_prog_compiler_no_builtin_flag \
11742 lt_prog_compiler_wl \
11743 lt_prog_compiler_pic \
11744 lt_prog_compiler_static \
11745 lt_cv_prog_compiler_c_o \
11753 export_dynamic_flag_spec \
11754 whole_archive_flag_spec \
11755 compiler_needs_object \
11757 allow_undefined_flag \
11758 no_undefined_flag \
11759 hardcode_libdir_flag_spec \
11760 hardcode_libdir_flag_spec_ld \
11761 hardcode_libdir_separator \
11766 variables_saved_for_relink \
11768 library_names_spec \
11773 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11774 *[\\\\\\\`\\"\\\$]*)
11775 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11778 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11783 # Double-quote double-evaled strings.
11784 for var in reload_cmds \
11785 old_postinstall_cmds \
11786 old_postuninstall_cmds \
11788 extract_expsyms_cmds \
11789 old_archive_from_new_cmds \
11790 old_archive_from_expsyms_cmds \
11792 archive_expsym_cmds \
11794 module_expsym_cmds \
11795 export_symbols_cmds \
11798 postuninstall_cmds \
11800 sys_lib_search_path_spec \
11801 sys_lib_dlsearch_path_spec; do
11802 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11803 *[\\\\\\\`\\"\\\$]*)
11804 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11807 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11812 # Fix-up fallback echo if it was mangled by the above quoting rules.
11814 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11818 ac_aux_dir='$ac_aux_dir'
11819 xsi_shell='$xsi_shell'
11820 lt_shell_append='$lt_shell_append'
11822 # See if we are running on zsh, and set the options which allow our
11823 # commands through without removal of \ escapes INIT.
11824 if test -n "\${ZSH_VERSION+set}" ; then
11825 setopt NO_GLOB_SUBST
11831 TIMESTAMP='$TIMESTAMP'
11840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11842 # Handling of arguments.
11843 for ac_config_target
in $ac_config_targets
11845 case $ac_config_target in
11846 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
11847 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
11848 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11849 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
11850 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11851 "ssp/ssp.h") CONFIG_FILES
="$CONFIG_FILES ssp/ssp.h" ;;
11853 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11858 # If the user did not use the arguments to specify the items to instantiate,
11859 # then the envvar interface is used. Set only those that are not.
11860 # We use the long form for the default assignment because of an extremely
11861 # bizarre bug on SunOS 4.1.3.
11862 if $ac_need_defaults; then
11863 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11864 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11865 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11868 # Have a temporary directory for convenience. Make it in the build tree
11869 # simply because there is no reason against having it here, and in addition,
11870 # creating and moving files from /tmp can sometimes cause problems.
11871 # Hook for its removal unless debugging.
11872 # Note that there is a small window in which the directory will not be cleaned:
11873 # after its creation but before its name has been assigned to `$tmp'.
11877 trap 'exit_status=$?
11878 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11880 trap 'as_fn_exit 1' 1 2 13 15
11882 # Create a (secure) tmp directory for tmp files.
11885 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11886 test -n "$tmp" && test -d "$tmp"
11889 tmp
=.
/conf$$
-$RANDOM
11890 (umask 077 && mkdir
"$tmp")
11891 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11893 # Set up the scripts for CONFIG_FILES section.
11894 # No need to generate them if there are no CONFIG_FILES.
11895 # This happens for instance with `./config.status config.h'.
11896 if test -n "$CONFIG_FILES"; then
11899 ac_cr
=`echo X | tr X '\015'`
11900 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11901 # But we know of no other shell where ac_cr would be empty at this
11902 # point, so we can use a bashism as a fallback.
11903 if test "x$ac_cr" = x
; then
11904 eval ac_cr
=\$
\'\\r
\'
11906 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11907 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11910 ac_cs_awk_cr
=$ac_cr
11913 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11918 echo "cat >conf$$subs.awk <<_ACEOF" &&
11919 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11921 } >conf$$subs.sh ||
11922 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11923 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11925 for ac_last_try in false false false false false :; do
11926 . ./conf$$subs.sh ||
11927 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11929 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11930 if test $ac_delim_n = $ac_delim_num; then
11932 elif $ac_last_try; then
11933 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11935 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11938 rm -f conf$$subs.sh
11940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11941 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11945 s/^/S["/; s
/!.
*/"]=/
11955 s/\(.\{148\}\).*/\1/
11957 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11962 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11969 s/\(.\{148\}\).*/\1/
11971 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11975 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11980 ' <conf$$subs.awk | sed '
11985 ' >>$CONFIG_STATUS || ac_write_fail=1
11986 rm -f conf$$subs.awk
11987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11989 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11990 for (key in S) S_is_set[key] = 1
11996 nfields = split(line, field, "@
")
11998 len = length(field[1])
11999 for (i = 2; i < nfields; i++) {
12001 keylen = length(key)
12002 if (S_is_set[key]) {
12004 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12005 len += length(value) + length(field[++i])
12016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12017 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12018 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12021 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12022 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12025 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12026 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12027 # trailing colons and then remove the whole line if VPATH becomes empty
12028 # (actually we leave an empty line to preserve line numbers).
12029 if test "x
$srcdir" = x.; then
12030 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12031 s/:*\$(srcdir):*/:/
12032 s/:*\${srcdir}:*/:/
12034 s/^\([^=]*=[ ]*\):*/\1/
12040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12041 fi # test -n "$CONFIG_FILES"
12043 # Set up the scripts for CONFIG_HEADERS section.
12044 # No need to generate them if there are no CONFIG_HEADERS.
12045 # This happens for instance with `./config.status Makefile'.
12046 if test -n "$CONFIG_HEADERS"; then
12047 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12051 # Transform confdefs.h into an awk script `defines.awk', embedded as
12052 # here-document in config.status, that substitutes the proper values into
12053 # config.h.in to produce config.h.
12055 # Create a delimiter string that does not exist in confdefs.h, to ease
12056 # handling of long lines.
12058 for ac_last_try in false false :; do
12059 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12060 if test -z "$ac_t"; then
12062 elif $ac_last_try; then
12063 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12065 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12069 # For the awk script, D is an array of macro values keyed by name,
12070 # likewise P contains macro parameters if any. Preserve backslash
12071 # newline sequences.
12073 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12075 s/.\{148\}/&'"$ac_delim"'/g
12078 s/^[ ]*#[ ]*define[ ][ ]*/ /
12085 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12087 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12091 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12092 D["\
1"]=" \
3\\\\\\n
"\\/p
12094 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12099 s/.\{148\}/&'"$ac_delim"'/g
12104 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12107 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12109 ' <confdefs.h | sed '
12110 s/'"$ac_delim"'/"\\\
12111 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12114 for (key in D) D_is_set[key] = 1
12117 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12119 split(line, arg, " ")
12120 if (arg[1] == "#") {
12124 defundef
= substr
(arg
[1], 2)
12127 split(mac1
, mac2
, "(") #)
12129 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12130 if (D_is_set
[macro
]) {
12131 # Preserve the white space surrounding the "#".
12132 print prefix
"define", macro P
[macro
] D
[macro
]
12135 # Replace #undef with comments. This is necessary, for example,
12136 # in the case of _POSIX_SOURCE, which is predefined and required
12137 # on some systems where configure will not decide to define it.
12138 if (defundef
== "undef") {
12139 print
"/*", prefix defundef
, macro
, "*/"
12147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12148 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12149 fi # test -n "$CONFIG_HEADERS"
12152 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12157 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12159 case $ac_mode$ac_tag in
12161 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12162 :[FH
]-) ac_tag
=-:-;;
12163 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12180 -) ac_f
="$tmp/stdin";;
12181 *) # Look for the file first in the build tree, then in the source tree
12182 # (if the path is not absolute). The absolute path cannot be DOS-style,
12183 # because $ac_f cannot contain `:'.
12187 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12189 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12191 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12192 as_fn_append ac_file_inputs
" '$ac_f'"
12195 # Let's still pretend it is `configure' which instantiates (i.e., don't
12196 # use $as_me), people would be surprised to read:
12197 # /* config.h. Generated by config.status. */
12198 configure_input
='Generated from '`
12199 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12201 if test x
"$ac_file" != x-
; then
12202 configure_input
="$ac_file. $configure_input"
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12204 $as_echo "$as_me: creating $ac_file" >&6;}
12206 # Neutralize special characters interpreted by sed in replacement strings.
12207 case $configure_input in #(
12208 *\
&* |
*\|
* |
*\\* )
12209 ac_sed_conf_input
=`$as_echo "$configure_input" |
12210 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12211 *) ac_sed_conf_input
=$configure_input;;
12215 *:-:* |
*:-) cat >"$tmp/stdin" \
12216 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12221 ac_dir
=`$as_dirname -- "$ac_file" ||
12222 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12223 X"$ac_file" : 'X\(//\)[^/]' \| \
12224 X"$ac_file" : 'X\(//\)$' \| \
12225 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12226 $as_echo X"$ac_file" |
12227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12231 /^X\(\/\/\)[^/].*/{
12244 as_dir
="$ac_dir"; as_fn_mkdir_p
12248 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12250 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12251 # A ".." for each directory in $ac_dir_suffix.
12252 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12253 case $ac_top_builddir_sub in
12254 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12255 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12258 ac_abs_top_builddir
=$ac_pwd
12259 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12260 # for backward compatibility:
12261 ac_top_builddir
=$ac_top_build_prefix
12264 .
) # We are building in place.
12266 ac_top_srcdir
=$ac_top_builddir_sub
12267 ac_abs_top_srcdir
=$ac_pwd ;;
12268 [\\/]* | ?
:[\\/]* ) # Absolute name.
12269 ac_srcdir
=$srcdir$ac_dir_suffix;
12270 ac_top_srcdir
=$srcdir
12271 ac_abs_top_srcdir
=$srcdir ;;
12272 *) # Relative name.
12273 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12274 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12275 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12277 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12287 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12288 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12290 ac_MKDIR_P
=$MKDIR_P
12292 [\\/$
]* | ?
:[\\/]* ) ;;
12293 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
12297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12298 # If the template does not know about datarootdir, expand it.
12299 # FIXME: This hack should be removed a few years after 2.60.
12300 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12311 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12312 *datarootdir
*) ac_datarootdir_seen
=yes;;
12313 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12315 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12318 ac_datarootdir_hack='
12319 s&@datadir@&$datadir&g
12320 s&@docdir@&$docdir&g
12321 s&@infodir@&$infodir&g
12322 s&@localedir@&$localedir&g
12323 s&@mandir@&$mandir&g
12324 s&\\\${datarootdir}&$datarootdir&g' ;;
12328 # Neutralize VPATH when `$srcdir' = `.'.
12329 # Shell code in configure.ac might set extrasub.
12330 # FIXME: do we really want to maintain this feature?
12331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12332 ac_sed_extra="$ac_vpsub
12335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12337 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12338 s|@configure_input@|
$ac_sed_conf_input|
;t t
12339 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12340 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12341 s
&@srcdir@
&$ac_srcdir&;t t
12342 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12343 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12344 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12345 s
&@builddir@
&$ac_builddir&;t t
12346 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12347 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12348 s
&@INSTALL@
&$ac_INSTALL&;t t
12349 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12350 $ac_datarootdir_hack
12352 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12353 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12355 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12356 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12357 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12359 which seems to be undefined. Please make sure it is defined." >&5
12360 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12361 which seems to be undefined. Please make sure it is defined." >&2;}
12365 -) cat "$tmp/out" && rm -f "$tmp/out";;
12366 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12368 || as_fn_error "could not create $ac_file" "$LINENO" 5
12374 if test x"$ac_file" != x-; then
12376 $as_echo "/* $configure_input */" \
12377 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12378 } >"$tmp/config.h" \
12379 || as_fn_error "could not create $ac_file" "$LINENO" 5
12380 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12382 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12385 mv "$tmp/config.h" "$ac_file" \
12386 || as_fn_error "could not create $ac_file" "$LINENO" 5
12389 $as_echo "/* $configure_input */" \
12390 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12391 || as_fn_error "could not create -" "$LINENO" 5
12393 # Compute "$ac_file"'s index
in $config_headers.
12396 for _am_header
in $config_headers :; do
12397 case $_am_header in
12398 $_am_arg |
$_am_arg:* )
12401 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12404 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12405 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12406 X"$_am_arg" : 'X\(//\)[^/]' \| \
12407 X"$_am_arg" : 'X\(//\)$' \| \
12408 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12409 $as_echo X"$_am_arg" |
12410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12414 /^X\(\/\/\)[^/].*/{
12426 s/.*/./; q'`/stamp-h
$_am_stamp_count
12429 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12430 $as_echo "$as_me: executing $ac_file commands" >&6;}
12435 case $ac_file$ac_mode in
12437 # Only add multilib support code if we just rebuilt the top-level
12439 case " $CONFIG_FILES " in
12441 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12444 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
12445 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12446 # are listed without --file. Let's play safe and only enable the eval
12447 # if we detect the quoting.
12448 case $CONFIG_FILES in
12449 *\'*) eval set x
"$CONFIG_FILES" ;;
12450 *) set x
$CONFIG_FILES ;;
12455 # Strip MF so we end up with the name of the file.
12456 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12457 # Check whether this is an Automake generated Makefile or not.
12458 # We used to match only the files named `Makefile.in', but
12459 # some people rename them; so instead we look at the file content.
12460 # Grep'ing the first line is not enough: some people post-process
12461 # each Makefile.in and add a new line on top of each file to say so.
12462 # Grep'ing the whole file is not good either: AIX grep has a line
12463 # limit of 2048, but all sed's we know have understand at least 4000.
12464 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
12465 dirpart
=`$as_dirname -- "$mf" ||
12466 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12467 X"$mf" : 'X\(//\)[^/]' \| \
12468 X"$mf" : 'X\(//\)$' \| \
12469 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12475 /^X\(\/\/\)[^/].*/{
12491 # Extract the definition of DEPDIR, am__include, and am__quote
12492 # from the Makefile without running `make'.
12493 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12494 test -z "$DEPDIR" && continue
12495 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12496 test -z "am__include" && continue
12497 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12498 # When using ansi2knr, U may be empty or an underscore; expand it
12499 U
=`sed -n 's/^U = //p' < "$mf"`
12500 # Find all dependency output files, they are included files with
12501 # $(DEPDIR) in their names. We invoke sed twice because it is the
12502 # simplest approach to changing $(DEPDIR) to its actual value in the
12504 for file in `sed -n "
12505 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12506 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12507 # Make sure the directory exists.
12508 test -f "$dirpart/$file" && continue
12509 fdir
=`$as_dirname -- "$file" ||
12510 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12511 X"$file" : 'X\(//\)[^/]' \| \
12512 X"$file" : 'X\(//\)$' \| \
12513 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12514 $as_echo X"$file" |
12515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12519 /^X\(\/\/\)[^/].*/{
12532 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
12533 # echo "creating $dirpart/$file"
12534 echo '# dummy' > "$dirpart/$file"
12541 # See if we are running on zsh, and set the options which allow our
12542 # commands through without removal of \ escapes.
12543 if test -n "${ZSH_VERSION+set}" ; then
12544 setopt NO_GLOB_SUBST
12547 cfgfile
="${ofile}T"
12548 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12551 cat <<_LT_EOF >> "$cfgfile"
12554 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12555 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12556 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12557 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12559 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12560 # 2006, 2007, 2008 Free Software Foundation, Inc.
12561 # Written by Gordon Matzigkeit, 1996
12563 # This file is part of GNU Libtool.
12565 # GNU Libtool is free software; you can redistribute it and/or
12566 # modify it under the terms of the GNU General Public License as
12567 # published by the Free Software Foundation; either version 2 of
12568 # the License, or (at your option) any later version.
12570 # As a special exception to the GNU General Public License,
12571 # if you distribute this file as part of a program or library that
12572 # is built using GNU Libtool, you may include this file under the
12573 # same distribution terms that you use for the rest of that program.
12575 # GNU Libtool is distributed in the hope that it will be useful,
12576 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12577 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12578 # GNU General Public License for more details.
12580 # You should have received a copy of the GNU General Public License
12581 # along with GNU Libtool; see the file COPYING. If not, a copy
12582 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12583 # obtained by writing to the Free Software Foundation, Inc.,
12584 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12587 # The names of the tagged configurations supported by this script.
12590 # ### BEGIN LIBTOOL CONFIG
12592 # Which release of libtool.m4 was used?
12593 macro_version=$macro_version
12594 macro_revision=$macro_revision
12596 # Whether or not to build shared libraries.
12597 build_libtool_libs=$enable_shared
12599 # Whether or not to build static libraries.
12600 build_old_libs=$enable_static
12602 # What type of objects to build.
12605 # Whether or not to optimize for fast installation.
12606 fast_install=$enable_fast_install
12609 host_alias=$host_alias
12613 # The build system.
12614 build_alias=$build_alias
12618 # A sed program that does not truncate output.
12621 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12622 Xsed="\$SED -e 1s/^X//"
12624 # A grep program that handles long lines.
12630 # A literal string matcher.
12633 # A BSD- or MS-compatible name lister.
12636 # Whether we need soft or hard links.
12639 # What is the maximum length of a command?
12640 max_cmd_len=$max_cmd_len
12642 # Object file suffix (normally "o").
12645 # Executable file suffix (normally "").
12648 # whether the shell understands "unset".
12651 # turn spaces into newlines.
12654 # turn newlines into spaces.
12657 # How to create reloadable object files.
12658 reload_flag=$lt_reload_flag
12659 reload_cmds=$lt_reload_cmds
12661 # An object symbol dumper.
12662 OBJDUMP=$lt_OBJDUMP
12664 # Method to check whether dependent libraries are shared objects.
12665 deplibs_check_method=$lt_deplibs_check_method
12667 # Command to use when deplibs_check_method == "file_magic".
12668 file_magic_cmd=$lt_file_magic_cmd
12672 AR_FLAGS=$lt_AR_FLAGS
12674 # A symbol stripping program.
12677 # Commands used to install an old-style archive.
12679 old_postinstall_cmds=$lt_old_postinstall_cmds
12680 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12685 # LTCC compiler flags.
12686 LTCFLAGS=$lt_CFLAGS
12688 # Take the output of nm and produce a listing of raw symbols and C names.
12689 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12691 # Transform the output of nm in a proper C declaration.
12692 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12694 # Transform the output of nm in a C name address pair.
12695 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12697 # Transform the output of nm in a C name address pair when lib prefix is needed.
12698 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12700 # The name of the directory that contains temporary libtool files.
12703 # Shell to use when invoking shell scripts.
12706 # An echo program that does not interpret backslashes.
12709 # Used to examine libraries when file_magic_cmd begins with "file".
12710 MAGIC_CMD=$MAGIC_CMD
12712 # Must we lock files when doing compilation?
12713 need_locks=$lt_need_locks
12715 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12716 DSYMUTIL=$lt_DSYMUTIL
12718 # Tool to change global to local symbols on Mac OS X.
12721 # Tool to manipulate fat objects and archives on Mac OS X.
12724 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12727 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12728 OTOOL64=$lt_OTOOL64
12730 # Old archive suffix (normally "a").
12733 # Shared library suffix (normally ".so").
12734 shrext_cmds=$lt_shrext_cmds
12736 # The commands to extract the exported symbol list from a shared archive.
12737 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12739 # Variables whose values should be saved in libtool wrapper scripts and
12740 # restored at link time.
12741 variables_saved_for_relink=$lt_variables_saved_for_relink
12743 # Do we need the "lib" prefix for modules?
12744 need_lib_prefix=$need_lib_prefix
12746 # Do we need a version for libraries?
12747 need_version=$need_version
12749 # Library versioning type.
12750 version_type=$version_type
12752 # Shared library runtime path variable.
12753 runpath_var=$runpath_var
12755 # Shared library path variable.
12756 shlibpath_var=$shlibpath_var
12758 # Is shlibpath searched before the hard-coded library search path?
12759 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12761 # Format of library name prefix.
12762 libname_spec=$lt_libname_spec
12764 # List of archive names. First name is the real one, the rest are links.
12765 # The last name is the one that the linker finds with -lNAME
12766 library_names_spec=$lt_library_names_spec
12768 # The coded name of the library, if different from the real name.
12769 soname_spec=$lt_soname_spec
12771 # Command to use after installation of a shared archive.
12772 postinstall_cmds=$lt_postinstall_cmds
12774 # Command to use after uninstallation of a shared archive.
12775 postuninstall_cmds=$lt_postuninstall_cmds
12777 # Commands used to finish a libtool library installation in a directory.
12778 finish_cmds=$lt_finish_cmds
12780 # As "finish_cmds", except a single script fragment to be evaled but
12782 finish_eval=$lt_finish_eval
12784 # Whether we should hardcode library paths into libraries.
12785 hardcode_into_libs=$hardcode_into_libs
12787 # Compile-time system search path for libraries.
12788 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12790 # Run-time system search path for libraries.
12791 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12793 # Whether dlopen is supported.
12794 dlopen_support=$enable_dlopen
12796 # Whether dlopen of programs is supported.
12797 dlopen_self=$enable_dlopen_self
12799 # Whether dlopen of statically linked programs is supported.
12800 dlopen_self_static=$enable_dlopen_self_static
12802 # Commands to strip libraries.
12803 old_striplib=$lt_old_striplib
12804 striplib=$lt_striplib
12807 # The linker used to build libraries.
12810 # Commands used to build an old-style archive.
12811 old_archive_cmds=$lt_old_archive_cmds
12813 # A language specific compiler.
12816 # Is the compiler the GNU compiler?
12819 # Compiler flag to turn off builtin functions.
12820 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12822 # How to pass a linker flag through the compiler.
12823 wl=$lt_lt_prog_compiler_wl
12825 # Additional compiler flags for building library objects.
12826 pic_flag=$lt_lt_prog_compiler_pic
12828 # Compiler flag to prevent dynamic linking.
12829 link_static_flag=$lt_lt_prog_compiler_static
12831 # Does compiler simultaneously support -c and -o options?
12832 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12834 # Whether or not to add -lc for building shared libraries.
12835 build_libtool_need_lc=$archive_cmds_need_lc
12837 # Whether or not to disallow shared libs when runtime libs are static.
12838 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12840 # Compiler flag to allow reflexive dlopens.
12841 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12843 # Compiler flag to generate shared objects directly from archives.
12844 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12846 # Whether the compiler copes with passing no objects directly.
12847 compiler_needs_object=$lt_compiler_needs_object
12849 # Create an old-style archive from a shared archive.
12850 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12852 # Create a temporary old-style archive to link instead of a shared archive.
12853 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12855 # Commands used to build a shared archive.
12856 archive_cmds=$lt_archive_cmds
12857 archive_expsym_cmds=$lt_archive_expsym_cmds
12859 # Commands used to build a loadable module if different from building
12860 # a shared archive.
12861 module_cmds=$lt_module_cmds
12862 module_expsym_cmds=$lt_module_expsym_cmds
12864 # Whether we are building with GNU ld or not.
12865 with_gnu_ld=$lt_with_gnu_ld
12867 # Flag that allows shared libraries with undefined symbols to be built.
12868 allow_undefined_flag=$lt_allow_undefined_flag
12870 # Flag that enforces no undefined symbols.
12871 no_undefined_flag=$lt_no_undefined_flag
12873 # Flag to hardcode \$libdir into a binary during linking.
12874 # This must work even if \$libdir does not exist
12875 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12877 # If ld is used when linking, flag to hardcode \$libdir into a binary
12878 # during linking. This must work even if \$libdir does not exist.
12879 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12881 # Whether we need a single "-rpath" flag with a separated argument.
12882 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12884 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12885 # DIR into the resulting binary.
12886 hardcode_direct=$hardcode_direct
12888 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12889 # DIR into the resulting binary and the resulting library dependency is
12890 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12891 # library is relocated.
12892 hardcode_direct_absolute=$hardcode_direct_absolute
12894 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12895 # into the resulting binary.
12896 hardcode_minus_L=$hardcode_minus_L
12898 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12899 # into the resulting binary.
12900 hardcode_shlibpath_var=$hardcode_shlibpath_var
12902 # Set to "yes" if building a shared library automatically hardcodes DIR
12903 # into the library and all subsequent libraries and executables linked
12905 hardcode_automatic=$hardcode_automatic
12907 # Set to yes if linker adds runtime paths of dependent libraries
12908 # to runtime path list.
12909 inherit_rpath=$inherit_rpath
12911 # Whether libtool must link a program against all its dependency libraries.
12912 link_all_deplibs=$link_all_deplibs
12914 # Fix the shell variable \$srcfile for the compiler.
12915 fix_srcfile_path=$lt_fix_srcfile_path
12917 # Set to "yes" if exported symbols are required.
12918 always_export_symbols=$always_export_symbols
12920 # The commands to list exported symbols.
12921 export_symbols_cmds=$lt_export_symbols_cmds
12923 # Symbols that should not be listed in the preloaded symbols.
12924 exclude_expsyms=$lt_exclude_expsyms
12926 # Symbols that must always be exported.
12927 include_expsyms=$lt_include_expsyms
12929 # Commands necessary for linking programs (against libraries) with templates.
12930 prelink_cmds=$lt_prelink_cmds
12932 # Specify filename containing input files.
12933 file_list_spec=$lt_file_list_spec
12935 # How to hardcode a shared library path into an executable.
12936 hardcode_action=$hardcode_action
12938 # ### END LIBTOOL CONFIG
12944 cat <<\_LT_EOF
>> "$cfgfile"
12945 # AIX sometimes has problems with the GCC collect2 program. For some
12946 # reason, if we set the COLLECT_NAMES environment variable, the problems
12947 # vanish in a puff of smoke.
12948 if test "X${COLLECT_NAMES+set}" != Xset
; then
12950 export COLLECT_NAMES
12957 ltmain
="$ac_aux_dir/ltmain.sh"
12960 # We use sed instead of cat because bash on DJGPP gets confused if
12961 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12962 # text mode, it properly converts lines to CR/LF. This bash problem
12963 # is reportedly fixed, but why not run on old versions too?
12964 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12965 ||
(rm -f "$cfgfile"; exit 1)
12969 cat << \_LT_EOF
>> "$cfgfile"
12971 # func_dirname file append nondir_replacement
12972 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12973 # otherwise set result to NONDIR_REPLACEMENT.
12977 */*) func_dirname_result
="${1%/*}${2}" ;;
12978 * ) func_dirname_result
="${3}" ;;
12982 # func_basename file
12985 func_basename_result
="${1##*/}"
12988 # func_dirname_and_basename file append nondir_replacement
12989 # perform func_basename and func_dirname in a single function
12991 # dirname: Compute the dirname of FILE. If nonempty,
12992 # add APPEND to the result, otherwise set result
12993 # to NONDIR_REPLACEMENT.
12994 # value returned in "$func_dirname_result"
12995 # basename: Compute filename of FILE.
12996 # value retuned in "$func_basename_result"
12997 # Implementation must be kept synchronized with func_dirname
12998 # and func_basename. For efficiency, we do not delegate to
12999 # those functions but instead duplicate the functionality here.
13000 func_dirname_and_basename
()
13003 */*) func_dirname_result
="${1%/*}${2}" ;;
13004 * ) func_dirname_result
="${3}" ;;
13006 func_basename_result
="${1##*/}"
13009 # func_stripname prefix suffix name
13010 # strip PREFIX and SUFFIX off of NAME.
13011 # PREFIX and SUFFIX must not contain globbing or regex special
13012 # characters, hashes, percent signs, but SUFFIX may contain a leading
13013 # dot (in which case that matches only a dot).
13016 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13017 # positional parameters, so assign one to ordinary parameter first.
13018 func_stripname_result
=${3}
13019 func_stripname_result
=${func_stripname_result#"${1}"}
13020 func_stripname_result
=${func_stripname_result%"${2}"}
13026 func_opt_split_opt
=${1%%=*}
13027 func_opt_split_arg
=${1#*=}
13034 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13035 *) func_lo2o_result
=${1} ;;
13039 # func_xform libobj-or-source
13042 func_xform_result
=${1%.*}.lo
13045 # func_arith arithmetic-term...
13048 func_arith_result
=$
(( $
* ))
13052 # STRING may not start with a hyphen.
13055 func_len_result
=${#1}
13060 *) # Bourne compatible functions.
13061 cat << \_LT_EOF
>> "$cfgfile"
13063 # func_dirname file append nondir_replacement
13064 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13065 # otherwise set result to NONDIR_REPLACEMENT.
13068 # Extract subdirectory from the argument.
13069 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13070 if test "X$func_dirname_result" = "X${1}"; then
13071 func_dirname_result
="${3}"
13073 func_dirname_result
="$func_dirname_result${2}"
13077 # func_basename file
13080 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
13084 # func_stripname prefix suffix name
13085 # strip PREFIX and SUFFIX off of NAME.
13086 # PREFIX and SUFFIX must not contain globbing or regex special
13087 # characters, hashes, percent signs, but SUFFIX may contain a leading
13088 # dot (in which case that matches only a dot).
13089 # func_strip_suffix prefix name
13093 .
*) func_stripname_result
=`$ECHO "X${3}" \
13094 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13095 *) func_stripname_result
=`$ECHO "X${3}" \
13096 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13101 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13102 my_sed_long_arg
='1s/^-[^=]*=//'
13107 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13108 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13114 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13117 # func_xform libobj-or-source
13120 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13123 # func_arith arithmetic-term...
13126 func_arith_result
=`expr "$@"`
13130 # STRING may not start with a hyphen.
13133 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13139 case $lt_shell_append in
13141 cat << \_LT_EOF
>> "$cfgfile"
13143 # func_append var value
13144 # Append VALUE to the end of shell variable VAR.
13152 cat << \_LT_EOF
>> "$cfgfile"
13154 # func_append var value
13155 # Append VALUE to the end of shell variable VAR.
13166 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13167 ||
(rm -f "$cfgfile"; exit 1)
13169 mv -f "$cfgfile" "$ofile" ||
13170 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13181 ac_clean_files
=$ac_clean_files_save
13183 test $ac_write_fail = 0 ||
13184 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13187 # configure is writing to config.log, and then calls config.status.
13188 # config.status does its own redirection, appending to config.log.
13189 # Unfortunately, on DOS this fails, as config.log is still kept open
13190 # by configure, so config.status won't be able to write to it; its
13191 # output is simply discarded. So we exec the FD to /dev/null,
13192 # effectively closing config.log, so it can be properly (re)opened and
13193 # appended to by config.status. When coming back to configure, we
13194 # need to make the FD available again.
13195 if test "$no_create" != yes; then
13197 ac_config_status_args
=
13198 test "$silent" = yes &&
13199 ac_config_status_args
="$ac_config_status_args --quiet"
13201 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13203 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13204 # would make configure fail if this is the last instruction.
13205 $ac_cs_success || as_fn_exit $?
13207 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13209 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}