2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libseccomp 2.3.1.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='libseccomp'
589 PACKAGE_TARNAME
='libseccomp'
590 PACKAGE_VERSION
='2.3.1'
591 PACKAGE_STRING
='libseccomp 2.3.1'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
708 INSTALL_STRIP_PROGRAM
750 program_transform_name
763 enable_option_checking
765 enable_dependency_tracking
776 ac_precious_vars
='build_alias
788 # Initialize some variables set by options.
790 ac_init_version
=false
791 ac_unrecognized_opts
=
793 # The variables have the same names as the options, with
794 # dashes changed to underlines.
802 program_transform_name
=s
,x
,x
,
810 # Installation directory options.
811 # These are left unexpanded so users can "make install exec_prefix=/foo"
812 # and all the variables that are supposed to be based on exec_prefix
813 # by default will actually change.
814 # Use braces instead of parens because sh, perl, etc. also accept them.
815 # (The list follows the same order as the GNU Coding Standards.)
816 bindir
='${exec_prefix}/bin'
817 sbindir
='${exec_prefix}/sbin'
818 libexecdir
='${exec_prefix}/libexec'
819 datarootdir
='${prefix}/share'
820 datadir
='${datarootdir}'
821 sysconfdir
='${prefix}/etc'
822 sharedstatedir
='${prefix}/com'
823 localstatedir
='${prefix}/var'
824 includedir
='${prefix}/include'
825 oldincludedir
='/usr/include'
826 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
827 infodir
='${datarootdir}/info'
832 libdir
='${exec_prefix}/lib'
833 localedir
='${datarootdir}/locale'
834 mandir
='${datarootdir}/man'
840 # If the previous option needs an argument, assign it.
841 if test -n "$ac_prev"; then
842 eval $ac_prev=\
$ac_option
848 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
859 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
861 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
864 -build |
--build |
--buil |
--bui |
--bu)
865 ac_prev
=build_alias
;;
866 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
867 build_alias
=$ac_optarg ;;
869 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
870 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
871 ac_prev
=cache_file
;;
872 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
873 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
874 cache_file
=$ac_optarg ;;
877 cache_file
=config.cache
;;
879 -datadir |
--datadir |
--datadi |
--datad)
881 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
882 datadir
=$ac_optarg ;;
884 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
885 |
--dataroo |
--dataro |
--datar)
886 ac_prev
=datarootdir
;;
887 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
888 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
889 datarootdir
=$ac_optarg ;;
891 -disable-* |
--disable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error $?
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=no
;;
907 -docdir |
--docdir |
--docdi |
--doc |
--do)
909 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
912 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
914 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
917 -enable-* |
--enable-*)
918 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
921 as_fn_error $?
"invalid feature name: $ac_useropt"
922 ac_useropt_orig
=$ac_useropt
923 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
928 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
929 ac_unrecognized_sep
=', ';;
931 eval enable_
$ac_useropt=\
$ac_optarg ;;
933 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
934 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
935 |
--exec |
--exe |
--ex)
936 ac_prev
=exec_prefix
;;
937 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
938 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
939 |
--exec=* |
--exe=* |
--ex=*)
940 exec_prefix
=$ac_optarg ;;
942 -gas |
--gas |
--ga |
--g)
943 # Obsolete; use --with-gas.
946 -help |
--help |
--hel |
--he |
-h)
948 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
949 ac_init_help
=recursive
;;
950 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
951 ac_init_help
=short
;;
953 -host |
--host |
--hos |
--ho)
954 ac_prev
=host_alias
;;
955 -host=* |
--host=* |
--hos=* |
--ho=*)
956 host_alias
=$ac_optarg ;;
958 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
960 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
962 htmldir
=$ac_optarg ;;
964 -includedir |
--includedir |
--includedi |
--included |
--include \
965 |
--includ |
--inclu |
--incl |
--inc)
966 ac_prev
=includedir
;;
967 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
968 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
969 includedir
=$ac_optarg ;;
971 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
973 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
974 infodir
=$ac_optarg ;;
976 -libdir |
--libdir |
--libdi |
--libd)
978 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
981 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
982 |
--libexe |
--libex |
--libe)
983 ac_prev
=libexecdir
;;
984 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
985 |
--libexe=* |
--libex=* |
--libe=*)
986 libexecdir
=$ac_optarg ;;
988 -localedir |
--localedir |
--localedi |
--localed |
--locale)
990 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
991 localedir
=$ac_optarg ;;
993 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
994 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
995 ac_prev
=localstatedir
;;
996 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
997 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
998 localstatedir
=$ac_optarg ;;
1000 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1002 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1003 mandir
=$ac_optarg ;;
1005 -nfp |
--nfp |
--nf)
1006 # Obsolete; use --without-fp.
1009 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1010 |
--no-cr |
--no-c |
-n)
1013 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1014 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1017 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1018 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1019 |
--oldin |
--oldi |
--old |
--ol |
--o)
1020 ac_prev
=oldincludedir
;;
1021 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1022 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1023 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1024 oldincludedir
=$ac_optarg ;;
1026 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1028 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1029 prefix
=$ac_optarg ;;
1031 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1032 |
--program-pre |
--program-pr |
--program-p)
1033 ac_prev
=program_prefix
;;
1034 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1035 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1036 program_prefix
=$ac_optarg ;;
1038 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1039 |
--program-suf |
--program-su |
--program-s)
1040 ac_prev
=program_suffix
;;
1041 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1042 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1043 program_suffix
=$ac_optarg ;;
1045 -program-transform-name |
--program-transform-name \
1046 |
--program-transform-nam |
--program-transform-na \
1047 |
--program-transform-n |
--program-transform- \
1048 |
--program-transform |
--program-transfor \
1049 |
--program-transfo |
--program-transf \
1050 |
--program-trans |
--program-tran \
1051 |
--progr-tra |
--program-tr |
--program-t)
1052 ac_prev
=program_transform_name
;;
1053 -program-transform-name=* |
--program-transform-name=* \
1054 |
--program-transform-nam=* |
--program-transform-na=* \
1055 |
--program-transform-n=* |
--program-transform-=* \
1056 |
--program-transform=* |
--program-transfor=* \
1057 |
--program-transfo=* |
--program-transf=* \
1058 |
--program-trans=* |
--program-tran=* \
1059 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1060 program_transform_name
=$ac_optarg ;;
1062 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1064 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1065 pdfdir
=$ac_optarg ;;
1067 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1069 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1072 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1073 |
-silent |
--silent |
--silen |
--sile |
--sil)
1076 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1078 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1080 sbindir
=$ac_optarg ;;
1082 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1083 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1084 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1086 ac_prev
=sharedstatedir
;;
1087 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1088 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1089 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1091 sharedstatedir
=$ac_optarg ;;
1093 -site |
--site |
--sit)
1095 -site=* |
--site=* |
--sit=*)
1098 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1100 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1101 srcdir
=$ac_optarg ;;
1103 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1104 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1105 ac_prev
=sysconfdir
;;
1106 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1107 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1108 sysconfdir
=$ac_optarg ;;
1110 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1111 ac_prev
=target_alias
;;
1112 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1113 target_alias
=$ac_optarg ;;
1115 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1118 -version |
--version |
--versio |
--versi |
--vers |
-V)
1119 ac_init_version
=: ;;
1122 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1125 as_fn_error $?
"invalid package name: $ac_useropt"
1126 ac_useropt_orig
=$ac_useropt
1127 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1132 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1133 ac_unrecognized_sep
=', ';;
1135 eval with_
$ac_useropt=\
$ac_optarg ;;
1137 -without-* |
--without-*)
1138 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1141 as_fn_error $?
"invalid package name: $ac_useropt"
1142 ac_useropt_orig
=$ac_useropt
1143 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1148 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149 ac_unrecognized_sep
=', ';;
1151 eval with_
$ac_useropt=no
;;
1154 # Obsolete; use --with-x.
1157 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1158 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1159 ac_prev
=x_includes
;;
1160 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1161 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1162 x_includes
=$ac_optarg ;;
1164 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1165 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1166 ac_prev
=x_libraries
;;
1167 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1168 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1169 x_libraries
=$ac_optarg ;;
1171 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1172 Try \`$0 --help' for more information"
1176 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 case $ac_envvar in #(
1179 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1180 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1182 eval $ac_envvar=\
$ac_optarg
1183 export $ac_envvar ;;
1186 # FIXME: should be removed in autoconf 3.0.
1187 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1188 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1189 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1190 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1196 if test -n "$ac_prev"; then
1197 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1198 as_fn_error $?
"missing argument to $ac_option"
1201 if test -n "$ac_unrecognized_opts"; then
1202 case $enable_option_checking in
1204 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209 # Check all directory arguments for consistency.
1210 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val
=\$
$ac_var
1216 # Remove trailing slashes.
1219 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\
$ac_val;;
1222 # Be sure to have absolute directory names.
1224 [\\/$
]* | ?
:[\\/]* ) continue;;
1225 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1227 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1235 target
=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x
; then
1239 if test "x$build_alias" = x
; then
1240 cross_compiling
=maybe
1241 elif test "x$build_alias" != "x$host_alias"; then
1247 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1249 test "$silent" = yes && exec 6>/dev
/null
1252 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1253 ac_ls_di
=`ls -di .` &&
1254 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1255 as_fn_error $?
"working directory cannot be determined"
1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257 as_fn_error $?
"pwd does not report name of working directory"
1260 # Find the source files, if location was not specified.
1261 if test -z "$srcdir"; then
1262 ac_srcdir_defaulted
=yes
1263 # Try the directory containing this script, then the parent directory.
1264 ac_confdir
=`$as_dirname -- "$as_myself" ||
1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266 X"$as_myself" : 'X\(//\)[^/]' \| \
1267 X"$as_myself" : 'X\(//\)$' \| \
1268 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269 $as_echo X"$as_myself" |
1270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1292 ac_srcdir_defaulted
=no
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1296 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1298 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1300 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1302 # When building in place, set srcdir=.
1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 # Remove unnecessary trailing slashes from srcdir.
1307 # Double slashes in file names in object file debugging info
1308 # mess up M-x gdb in Emacs.
1310 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1312 for ac_var
in $ac_precious_vars; do
1313 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1314 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1315 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1320 # Report the --help message.
1322 if test "$ac_init_help" = "long"; then
1323 # Omit some internal or obsolete options to make the list less imposing.
1324 # This message is too long to be a string in the A/UX 3.1 sh.
1326 \`configure' configures libseccomp 2.3.1 to adapt to many kinds of systems.
1328 Usage: $0 [OPTION]... [VAR=VALUE]...
1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331 VAR=VALUE. See below for descriptions of some of the useful variables.
1333 Defaults for the options are specified in brackets.
1336 -h, --help display this help and exit
1337 --help=short display options specific to this package
1338 --help=recursive display the short help of all the included packages
1339 -V, --version display version information and exit
1340 -q, --quiet, --silent do not print \`checking ...' messages
1341 --cache-file=FILE cache test results in FILE [disabled]
1342 -C, --config-cache alias for \`--cache-file=config.cache'
1343 -n, --no-create do not create output files
1344 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1346 Installation directories:
1347 --prefix=PREFIX install architecture-independent files in PREFIX
1348 [$ac_default_prefix]
1349 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 By default, \`make install' will install all the files in
1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355 for instance \`--prefix=\$HOME'.
1357 For better control, use the options below.
1359 Fine tuning of the installation directories:
1360 --bindir=DIR user executables [EPREFIX/bin]
1361 --sbindir=DIR system admin executables [EPREFIX/sbin]
1362 --libexecdir=DIR program executables [EPREFIX/libexec]
1363 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1364 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1365 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1366 --libdir=DIR object code libraries [EPREFIX/lib]
1367 --includedir=DIR C header files [PREFIX/include]
1368 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1369 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1370 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1371 --infodir=DIR info documentation [DATAROOTDIR/info]
1372 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1373 --mandir=DIR man documentation [DATAROOTDIR/man]
1374 --docdir=DIR documentation root [DATAROOTDIR/doc/libseccomp]
1375 --htmldir=DIR html documentation [DOCDIR]
1376 --dvidir=DIR dvi documentation [DOCDIR]
1377 --pdfdir=DIR pdf documentation [DOCDIR]
1378 --psdir=DIR ps documentation [DOCDIR]
1384 --program-prefix=PREFIX prepend PREFIX to installed program names
1385 --program-suffix=SUFFIX append SUFFIX to installed program names
1386 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1389 --build=BUILD configure
for building on BUILD
[guessed
]
1390 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1394 if test -n "$ac_init_help"; then
1395 case $ac_init_help in
1396 short | recursive
) echo "Configuration of libseccomp 2.3.1:";;
1401 --disable-option-checking ignore unrecognized
--enable/--with options
1402 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1403 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1404 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1405 --disable-silent-rules verbose build output
(undo
: "make V=0")
1406 --enable-dependency-tracking
1407 do not reject slow dependency extractors
1408 --disable-dependency-tracking
1409 speeds up one-time build
1410 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1411 --enable-static[=PKGS
] build static libraries
[default
=yes]
1412 --enable-fast-install[=PKGS
]
1413 optimize
for fast installation
[default
=yes]
1414 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1415 --enable-python build the python bindings
, requires cython
1418 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1419 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1420 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1422 --with-aix-soname=aix|svr4|both
1423 shared library versioning
(aka
"SONAME") variant to
1424 provide on AIX
, [default
=aix
].
1425 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1426 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1427 compiler
's sysroot if not specified).
1429 Some influential environment variables:
1430 CC C compiler command
1431 CFLAGS C compiler flags
1432 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1433 nonstandard directory <lib dir>
1434 LIBS libraries to pass to the linker, e.g. -l<library>
1435 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1436 you have headers in a nonstandard directory <include dir>
1438 User-defined run-time library search path.
1441 Use these variables to override the choices made by `configure' or to
help
1442 it to
find libraries and programs with nonstandard names
/locations.
1444 Report bugs to the package provider.
1449 if test "$ac_init_help" = "recursive"; then
1450 # If there are subdirs, report their specific --help.
1451 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1452 test -d "$ac_dir" ||
1453 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1458 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1460 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1461 # A ".." for each directory in $ac_dir_suffix.
1462 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1463 case $ac_top_builddir_sub in
1464 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1465 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1468 ac_abs_top_builddir
=$ac_pwd
1469 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1470 # for backward compatibility:
1471 ac_top_builddir
=$ac_top_build_prefix
1474 .
) # We are building in place.
1476 ac_top_srcdir
=$ac_top_builddir_sub
1477 ac_abs_top_srcdir
=$ac_pwd ;;
1478 [\\/]* | ?
:[\\/]* ) # Absolute name.
1479 ac_srcdir
=$srcdir$ac_dir_suffix;
1480 ac_top_srcdir
=$srcdir
1481 ac_abs_top_srcdir
=$srcdir ;;
1483 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1485 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1487 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1489 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1490 # Check for guested configure.
1491 if test -f "$ac_srcdir/configure.gnu"; then
1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494 elif test -f "$ac_srcdir/configure"; then
1496 $SHELL "$ac_srcdir/configure" --help=recursive
1498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1504 test -n "$ac_init_help" && exit $ac_status
1505 if $ac_init_version; then
1507 libseccomp configure
2.3.1
1508 generated by GNU Autoconf
2.69
1510 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1511 This configure
script is free software
; the Free Software Foundation
1512 gives unlimited permission to copy
, distribute and modify it.
1517 ## ------------------------ ##
1518 ## Autoconf initialization. ##
1519 ## ------------------------ ##
1521 # ac_fn_c_try_compile LINENO
1522 # --------------------------
1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1524 ac_fn_c_try_compile
()
1526 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1527 rm -f conftest.
$ac_objext
1528 if { { ac_try
="$ac_compile"
1530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1531 *) ac_try_echo=$ac_try;;
1533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_compile") 2>conftest.err
1537 if test -s conftest.err; then
1538 grep -v '^ *+' conftest.err >conftest.er1
1539 cat conftest.er1 >&5
1540 mv -f conftest.er1 conftest.err
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; } && {
1544 test -z "$ac_c_werror_flag" ||
1545 test ! -s conftest.err
1546 } && test -s conftest.$ac_objext; then :
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.$ac_ext >&5
1554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1555 as_fn_set_status $ac_retval
1557 } # ac_fn_c_try_compile
1559 # ac_fn_c_try_link LINENO
1560 # -----------------------
1561 # Try to link conftest.$ac_ext, and return whether this succeeded.
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 rm -f conftest.$ac_objext conftest$ac_exeext
1566 if { { ac_try="$ac_link"
1568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1569 *) ac_try_echo
=$ac_try;;
1571 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_link") 2>conftest.err
1575 if test -s conftest.err
; then
1576 grep -v '^ *+' conftest.err
>conftest.er1
1577 cat conftest.er1
>&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && {
1582 test -z "$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1584 } && test -s conftest
$ac_exeext && {
1585 test "$cross_compiling" = yes ||
1586 test -x conftest
$ac_exeext
1590 $as_echo "$as_me: failed program was:" >&5
1591 sed 's/^/| /' conftest.
$ac_ext >&5
1595 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1596 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1597 # interfere with the next link command; also delete a directory that is
1598 # left behind by Apple's compiler. We do this before executing the actions.
1599 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601 as_fn_set_status
$ac_retval
1603 } # ac_fn_c_try_link
1605 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1606 # -------------------------------------------------------
1607 # Tests whether HEADER exists and can be compiled using the include files in
1608 # INCLUDES, setting the cache variable VAR accordingly.
1609 ac_fn_c_check_header_compile
()
1611 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if eval \
${$3+:} false
; then :
1615 $as_echo_n "(cached) " >&6
1617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1622 if ac_fn_c_try_compile
"$LINENO"; then :
1627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631 $as_echo "$ac_res" >&6; }
1632 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1634 } # ac_fn_c_check_header_compile
1636 # ac_fn_c_try_cpp LINENO
1637 # ----------------------
1638 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1641 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1642 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1651 if test -s conftest.err; then
1652 grep -v '^ *+' conftest.err >conftest.er1
1653 cat conftest.er1 >&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } > conftest.i && {
1658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status $ac_retval
1673 # ac_fn_c_try_run LINENO
1674 # ----------------------
1675 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1676 # that executables *can* be run.
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 if { { ac_try="$ac_link"
1682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1683 *) ac_try_echo
=$ac_try;;
1685 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_link") 2>&5
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1691 { { case "(($ac_try" in
1692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_try") 2>&5
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; }; }; then :
1703 $as_echo "$as_me: program exited with status $ac_status" >&5
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.$ac_ext >&5
1707 ac_retval=$ac_status
1709 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1715 # ac_fn_c_check_func LINENO FUNC VAR
1716 # ----------------------------------
1717 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1718 ac_fn_c_check_func ()
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722 $as_echo_n "checking for $2... " >&6; }
1723 if eval \${$3+:} false; then :
1724 $as_echo_n "(cached) " >&6
1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1728 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1730 #define $2 innocuous_$2
1732 /* System header to define __stub macros and hopefully few prototypes,
1733 which can conflict with char $2 (); below.
1734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1735 <limits.h> exists even on freestanding compilers. */
1738 # include <limits.h>
1740 # include <assert.h>
1745 /* Override any GCC internal prototype to avoid an error.
1746 Use char because int might match the return type of a GCC
1747 builtin and then its argument prototype would still apply. */
1752 /* The GNU C library defines this for functions which it implements
1753 to always fail with ENOSYS. Some functions are actually named
1754 something starting with __ and the normal name is an alias. */
1755 #if defined __stub_$2 || defined __stub___$2
1767 if ac_fn_c_try_link "$LINENO"; then :
1772 rm -f core conftest.err conftest.$ac_objext \
1773 conftest$ac_exeext conftest.$ac_ext
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780 } # ac_fn_c_check_func
1781 cat >config.log <<_ACEOF
1782 This file contains any messages produced by compilers while
1783 running configure, to aid debugging if configure makes a mistake.
1785 It was created by libseccomp $as_me 2.3.1, which was
1786 generated by GNU Autoconf 2.69. Invocation command line was
1798 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1799 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1800 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1801 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1802 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1804 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1805 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1807 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1808 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1809 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1810 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1811 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1812 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1813 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir=.
1822 $as_echo "PATH: $as_dir"
1838 # Keep a trace of the command line.
1839 # Strip out --no-create and --no-recursion so they do not pile up.
1840 # Strip out --silent because we don't want to record it for future runs.
1841 # Also quote any args containing shell meta-characters.
1842 # Make two passes to allow for proper duplicate-argument suppression.
1846 ac_must_keep_next=false
1852 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1853 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1854 | -silent | --silent | --silen | --sile | --sil)
1857 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1860 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1862 as_fn_append ac_configure_args1 " '$ac_arg'"
1863 if test $ac_must_keep_next = true; then
1864 ac_must_keep_next=false # Got value, back to normal.
1867 *=* | --config-cache | -C | -disable-* | --disable-* \
1868 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1869 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1870 | -with-* | --with-* | -without-* | --without-* | --x)
1871 case "$ac_configure_args0 " in
1872 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1875 -* ) ac_must_keep_next=true ;;
1878 as_fn_append ac_configure_args " '$ac_arg'"
1883 { ac_configure_args0=; unset ac_configure_args0;}
1884 { ac_configure_args1=; unset ac_configure_args1;}
1886 # When interrupted or exit'd, cleanup temporary files, and complete
1887 # config.log. We remove comments because anyway the quotes in there
1888 # would cause problems or look ugly.
1889 # WARNING: Use '\'' to represent an apostrophe within the trap.
1890 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1891 trap 'exit_status=$?
1892 # Save into config.log some information that might help in debugging.
1896 $as_echo "## ---------------- ##
1897 ## Cache variables. ##
1898 ## ---------------- ##"
1900 # The following way of writing the cache mishandles newlines in values,
1902 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1903 eval ac_val=\$$ac_var
1907 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1908 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1911 _ | IFS | as_nl) ;; #(
1912 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1913 *) { eval $ac_var=; unset $ac_var;} ;;
1918 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1919 *${as_nl}ac_space=\ *)
1921 "s/'\''/'\''\\\\'\'''\''/g;
1922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1925 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1932 $as_echo "## ----------------- ##
1933 ## Output variables. ##
1934 ## ----------------- ##"
1936 for ac_var in $ac_subst_vars
1938 eval ac_val=\$$ac_var
1940 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1942 $as_echo "$ac_var='\''$ac_val'\''"
1946 if test -n "$ac_subst_files"; then
1947 $as_echo "## ------------------- ##
1948 ## File substitutions. ##
1949 ## ------------------- ##"
1951 for ac_var in $ac_subst_files
1953 eval ac_val=\$$ac_var
1955 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1957 $as_echo "$ac_var='\''$ac_val'\''"
1962 if test -s confdefs.h; then
1963 $as_echo "## ----------- ##
1970 test "$ac_signal" != 0 &&
1971 $as_echo "$as_me: caught signal $ac_signal"
1972 $as_echo "$as_me: exit $exit_status"
1974 rm -f core *.core core.conftest.* &&
1975 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1978 for ac_signal in 1 2 13 15; do
1979 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1983 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1984 rm -f -r conftest* confdefs.h
1986 $as_echo "/* confdefs.h */" > confdefs.h
1988 # Predefined preprocessor variables.
1990 cat >>confdefs.h <<_ACEOF
1991 #define PACKAGE_NAME "$PACKAGE_NAME"
1994 cat >>confdefs.h <<_ACEOF
1995 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1998 cat >>confdefs.h <<_ACEOF
1999 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2002 cat >>confdefs.h <<_ACEOF
2003 #define PACKAGE_STRING "$PACKAGE_STRING"
2006 cat >>confdefs.h <<_ACEOF
2007 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2010 cat >>confdefs.h <<_ACEOF
2011 #define PACKAGE_URL "$PACKAGE_URL"
2015 # Let the site file select an alternate cache file if it wants to.
2016 # Prefer an explicitly selected file to automatically selected ones.
2019 if test -n "$CONFIG_SITE"; then
2020 # We do not want a PATH search for config.site.
2021 case $CONFIG_SITE in #((
2022 -*) ac_site_file1=./$CONFIG_SITE;;
2023 */*) ac_site_file1=$CONFIG_SITE;;
2024 *) ac_site_file1=./$CONFIG_SITE;;
2026 elif test "x$prefix" != xNONE; then
2027 ac_site_file1=$prefix/share/config.site
2028 ac_site_file2=$prefix/etc/config.site
2030 ac_site_file1=$ac_default_prefix/share/config.site
2031 ac_site_file2=$ac_default_prefix/etc/config.site
2033 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2035 test "x$ac_site_file" = xNONE && continue
2036 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2038 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2039 sed 's/^/| /' "$ac_site_file" >&5
2041 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2043 as_fn_error $? "failed to load site
script $ac_site_file
2044 See \
`config.log' for more details" "$LINENO" 5; }
2048 if test -r "$cache_file"; then
2049 # Some versions of bash will fail to source /dev/null (special files
2050 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2051 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2053 $as_echo "$as_me: loading cache $cache_file" >&6;}
2055 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2056 *) . "./$cache_file";;
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2061 $as_echo "$as_me: creating cache $cache_file" >&6;}
2065 as_fn_append ac_header_list " linux/seccomp.h"
2066 # Check that the precious variables saved in the cache have kept the same
2068 ac_cache_corrupted=false
2069 for ac_var in $ac_precious_vars; do
2070 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2071 eval ac_new_set=\$ac_env_${ac_var}_set
2072 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2073 eval ac_new_val=\$ac_env_${ac_var}_value
2074 case $ac_old_set,$ac_new_set in
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2077 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2078 ac_cache_corrupted=: ;;
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2081 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2082 ac_cache_corrupted=: ;;
2085 if test "x$ac_old_val" != "x$ac_new_val"; then
2086 # differences in whitespace do not lead to failure.
2087 ac_old_val_w=`echo x
$ac_old_val`
2088 ac_new_val_w=`echo x
$ac_new_val`
2089 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2091 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2092 ac_cache_corrupted=:
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2095 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2096 eval $ac_var=\$ac_old_val
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2099 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2101 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2104 # Pass precious variables to config.status.
2105 if test "$ac_new_set" = set; then
2107 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2108 *) ac_arg=$ac_var=$ac_new_val ;;
2110 case " $ac_configure_args " in
2111 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2112 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2116 if $ac_cache_corrupted; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2120 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2121 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2123 ## -------------------- ##
2124 ## Main body of script. ##
2125 ## -------------------- ##
2128 ac_cpp='$CPP $CPPFLAGS'
2129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2136 for ac_dir in build-aux "$srcdir"/build-aux; do
2137 if test -f "$ac_dir/install-sh"; then
2139 ac_install_sh="$ac_aux_dir/install-sh -c"
2141 elif test -f "$ac_dir/install.sh"; then
2143 ac_install_sh="$ac_aux_dir/install.sh -c"
2145 elif test -f "$ac_dir/shtool"; then
2147 ac_install_sh="$ac_aux_dir/shtool install -c"
2151 if test -z "$ac_aux_dir"; then
2152 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2155 # These three variables are undocumented and unsupported,
2156 # and are intended to be withdrawn in a future Autoconf release.
2157 # They can cause serious problems if a builder's source tree is in a directory
2158 # whose full name contains unusual characters.
2159 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2160 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2161 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2164 ac_config_headers="$ac_config_headers configure.h"
2169 am__api_version='1.14'
2171 # Find a good install program. We prefer a C program (faster),
2172 # so one script is as good as another. But avoid the broken or
2173 # incompatible versions:
2174 # SysV /etc/install, /usr/sbin/install
2175 # SunOS /usr/etc/install
2176 # IRIX /sbin/install
2178 # AmigaOS /C/install, which installs bootblocks on floppy discs
2179 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2180 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2181 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2182 # OS/2's system install, which has a completely different semantic
2183 # ./install, which can be erroneously created by make from ./install.sh.
2184 # Reject install programs that cannot install multiple files.
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2186 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2187 if test -z "$INSTALL"; then
2188 if ${ac_cv_path_install+:} false; then :
2189 $as_echo_n "(cached) " >&6
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir=.
2196 # Account for people who put trailing slashes in PATH elements.
2197 case $as_dir/ in #((
2198 ./ | .// | /[cC]/* | \
2199 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2200 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2203 # OSF1 and SCO ODT 3.0 have their own names for install.
2204 # Don't use installbsd from OSF since it installs stuff as root
2206 for ac_prog in ginstall scoinst install; do
2207 for ac_exec_ext in '' $ac_executable_extensions; do
2208 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2209 if test $ac_prog = install &&
2210 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2211 # AIX install. It has an incompatible calling convention.
2213 elif test $ac_prog = install &&
2214 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2215 # program-specific install script used by HP pwplus--don't use.
2218 rm -rf conftest.one conftest.two conftest.dir
2219 echo one > conftest.one
2220 echo two > conftest.two
2222 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2223 test -s conftest.one && test -s conftest.two &&
2224 test -s conftest.dir/conftest.one &&
2225 test -s conftest.dir/conftest.two
2227 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2240 rm -rf conftest.one conftest.two conftest.dir
2243 if test "${ac_cv_path_install+set}" = set; then
2244 INSTALL=$ac_cv_path_install
2246 # As a last resort, use the slow shell script. Don't cache a
2247 # value for INSTALL within a source directory, because that will
2248 # break other packages using the cache if that directory is
2249 # removed, or if the value is a relative name.
2250 INSTALL=$ac_install_sh
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2254 $as_echo "$INSTALL" >&6; }
2256 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2257 # It thinks the first close brace ends the variable substitution.
2258 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2260 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2262 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2265 $as_echo_n "checking whether build environment is sane... " >&6; }
2266 # Reject unsafe characters in $srcdir or the absolute working directory
2267 # name. Accept space and tab only in the latter.
2271 *[\\\"\#\$\&\'\`$am_lf]*)
2272 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2275 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2276 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2279 # Do 'set' in a subshell so we don't clobber the current shell's
2280 # arguments. Must try -L first in case configure is actually a
2281 # symlink; some systems play weird games with the mod time of symlinks
2282 # (eg FreeBSD returns the mod time of the symlink's containing
2286 for am_try
in 1 2; do
2287 echo "timestamp, slept: $am_has_slept" > conftest.
file
2288 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2289 if test "$*" = "X"; then
2291 set X
`ls -t "$srcdir/configure" conftest.file`
2293 if test "$*" != "X $srcdir/configure conftest.file" \
2294 && test "$*" != "X conftest.file $srcdir/configure"; then
2296 # If neither matched, then we have a broken ls. This can happen
2297 # if, for instance, CONFIG_SHELL is bash and it inherits a
2298 # broken ls alias from the environment. This has actually
2299 # happened. Such a system could not be considered "sane".
2300 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2301 alias in your environment" "$LINENO" 5
2303 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2310 test "$2" = conftest.
file
2316 as_fn_error $?
"newly created file is older than distributed files!
2317 Check your system clock" "$LINENO" 5
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2320 $as_echo "yes" >&6; }
2321 # If we didn't sleep, we still need to ensure time stamps of config.status and
2322 # generated files are strictly newer.
2324 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2331 test "$program_prefix" != NONE
&&
2332 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2333 # Use a double $ so make ignores it.
2334 test "$program_suffix" != NONE
&&
2335 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2336 # Double any \ or $.
2337 # By default was `s,x,x', remove it if useless.
2338 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2339 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2341 # expand $ac_aux_dir to an absolute path
2342 am_aux_dir
=`cd $ac_aux_dir && pwd`
2344 if test x
"${MISSING+set}" != xset
; then
2347 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2349 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2352 # Use eval to expand $SHELL
2353 if eval "$MISSING --is-lightweight"; then
2354 am_missing_run
="$MISSING "
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2358 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2361 if test x
"${install_sh}" != xset
; then
2364 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2366 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2370 # Installed binaries are usually stripped using 'strip' when the user
2371 # run "make install-strip". However 'strip' might not be the right
2372 # tool to use in cross-compilation environments, therefore Automake
2373 # will honor the 'STRIP' environment variable to overrule this program.
2374 if test "$cross_compiling" != no
; then
2375 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2377 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2379 $as_echo_n "checking for $ac_word... " >&6; }
2380 if ${ac_cv_prog_STRIP+:} false
; then :
2381 $as_echo_n "(cached) " >&6
2383 if test -n "$STRIP"; then
2384 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir
=.
2391 for ac_exec_ext
in '' $ac_executable_extensions; do
2392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2393 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 STRIP
=$ac_cv_prog_STRIP
2404 if test -n "$STRIP"; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2406 $as_echo "$STRIP" >&6; }
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2409 $as_echo "no" >&6; }
2414 if test -z "$ac_cv_prog_STRIP"; then
2416 # Extract the first word of "strip", so it can be a program name with args.
2417 set dummy strip
; ac_word
=$2
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2419 $as_echo_n "checking for $ac_word... " >&6; }
2420 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2421 $as_echo_n "(cached) " >&6
2423 if test -n "$ac_ct_STRIP"; then
2424 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir
=.
2431 for ac_exec_ext
in '' $ac_executable_extensions; do
2432 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2433 ac_cv_prog_ac_ct_STRIP
="strip"
2434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2444 if test -n "$ac_ct_STRIP"; then
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2446 $as_echo "$ac_ct_STRIP" >&6; }
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2449 $as_echo "no" >&6; }
2452 if test "x$ac_ct_STRIP" = x
; then
2455 case $cross_compiling:$ac_tool_warned in
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2459 ac_tool_warned
=yes ;;
2464 STRIP
="$ac_cv_prog_STRIP"
2468 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2471 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2472 if test -z "$MKDIR_P"; then
2473 if ${ac_cv_path_mkdir+:} false
; then :
2474 $as_echo_n "(cached) " >&6
2476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2477 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2480 test -z "$as_dir" && as_dir
=.
2481 for ac_prog
in mkdir gmkdir
; do
2482 for ac_exec_ext
in '' $ac_executable_extensions; do
2483 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2484 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2485 'mkdir (GNU coreutils) '* | \
2486 'mkdir (coreutils) '* | \
2487 'mkdir (fileutils) '4.1*)
2488 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2498 test -d .
/--version && rmdir .
/--version
2499 if test "${ac_cv_path_mkdir+set}" = set; then
2500 MKDIR_P
="$ac_cv_path_mkdir -p"
2502 # As a last resort, use the slow shell script. Don't cache a
2503 # value for MKDIR_P within a source directory, because that will
2504 # break other packages using the cache if that directory is
2505 # removed, or if the value is a relative name.
2506 MKDIR_P
="$ac_install_sh -d"
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2510 $as_echo "$MKDIR_P" >&6; }
2512 for ac_prog
in gawk mawk nawk
awk
2514 # Extract the first word of "$ac_prog", so it can be a program name with args.
2515 set dummy
$ac_prog; ac_word
=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if ${ac_cv_prog_AWK+:} false
; then :
2519 $as_echo_n "(cached) " >&6
2521 if test -n "$AWK"; then
2522 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir
=.
2529 for ac_exec_ext
in '' $ac_executable_extensions; do
2530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2531 ac_cv_prog_AWK
="$ac_prog"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 if test -n "$AWK"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2544 $as_echo "$AWK" >&6; }
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2551 test -n "$AWK" && break
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2555 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2557 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2558 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2559 $as_echo_n "(cached) " >&6
2561 cat >conftest.
make <<\_ACEOF
2564 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2566 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2567 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2569 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2571 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2575 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2577 $as_echo "yes" >&6; }
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 $as_echo "no" >&6; }
2582 SET_MAKE
="MAKE=${MAKE-make}"
2585 rm -rf .tst
2>/dev
/null
2586 mkdir .tst
2>/dev
/null
2587 if test -d .tst
; then
2592 rmdir .tst
2>/dev
/null
2594 # Check whether --enable-silent-rules was given.
2595 if test "${enable_silent_rules+set}" = set; then :
2596 enableval
=$enable_silent_rules;
2599 case $enable_silent_rules in # (((
2600 yes) AM_DEFAULT_VERBOSITY
=0;;
2601 no
) AM_DEFAULT_VERBOSITY
=1;;
2602 *) AM_DEFAULT_VERBOSITY
=1;;
2604 am_make
=${MAKE-make}
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2606 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2607 if ${am_cv_make_support_nested_variables+:} false
; then :
2608 $as_echo_n "(cached) " >&6
2610 if $as_echo 'TRUE=$(BAR$(V))
2616 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2617 am_cv_make_support_nested_variables
=yes
2619 am_cv_make_support_nested_variables
=no
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2623 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2624 if test $am_cv_make_support_nested_variables = yes; then
2626 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2628 AM_V
=$AM_DEFAULT_VERBOSITY
2629 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2633 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2634 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2635 # is not polluted with repeated "-I."
2636 am__isrc
=' -I$(srcdir)'
2637 # test to see if srcdir already configured
2638 if test -f $srcdir/config.status
; then
2639 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2643 # test whether we have cygpath
2644 if test -z "$CYGPATH_W"; then
2645 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2646 CYGPATH_W
='cygpath -w'
2653 # Define the identity of the package.
2654 PACKAGE
='libseccomp'
2658 cat >>confdefs.h
<<_ACEOF
2659 #define PACKAGE "$PACKAGE"
2663 cat >>confdefs.h
<<_ACEOF
2664 #define VERSION "$VERSION"
2667 # Some tools Automake needs.
2669 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2672 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2675 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2678 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2681 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2683 # For better backward compatibility. To be removed once Automake 1.9.x
2684 # dies out for good. For more background, see:
2685 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2686 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2687 mkdir_p
='$(MKDIR_P)'
2689 # We need awk for the "check" target. The system "awk" is bad on
2691 # Always define AMTAR for backward compatibility. Yes, it's still used
2692 # in the wild :-( We should find a proper way to deprecate it ...
2696 # We'll loop over all known methods to create a tar archive until one works.
2697 _am_tools
='gnutar pax cpio none'
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2702 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2704 # Go ahead even if we have the value already cached. We do so because we
2705 # need to set the values for the 'am__tar' and 'am__untar' variables.
2706 _am_tools
=${am_cv_prog_tar_pax-$_am_tools}
2708 for _am_tool
in $_am_tools; do
2711 for _am_tar
in tar gnutar gtar
; do
2712 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2713 ($_am_tar --version) >&5 2>&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); } && break
2718 am__tar
="$_am_tar --format=posix -chf - "'"$$tardir"'
2719 am__tar_
="$_am_tar --format=posix -chf - "'"$tardir"'
2720 am__untar
="$_am_tar -xf -"
2723 # Must skip GNU tar: if it does not support --format= it doesn't create
2724 # ustar tarball either.
2725 (tar --version) >/dev
/null
2>&1 && continue
2726 am__tar
='tar chf - "$$tardir"'
2727 am__tar_
='tar chf - "$tardir"'
2728 am__untar
='tar xf -'
2731 am__tar
='pax -L -x pax -w "$$tardir"'
2732 am__tar_
='pax -L -x pax -w "$tardir"'
2736 am__tar
='find "$$tardir" -print | cpio -o -H pax -L'
2737 am__tar_
='find "$tardir" -print | cpio -o -H pax -L'
2738 am__untar
='cpio -i -H pax -d'
2747 # If the value was cached, stop now. We just wanted to have am__tar
2748 # and am__untar set.
2749 test -n "${am_cv_prog_tar_pax}" && break
2751 # tar/untar a dummy directory, and stop if the command works.
2754 echo GrepMe
> conftest.dir
/file
2755 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2756 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }
2761 if test -s conftest.
tar; then
2762 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2763 ($am__untar <conftest.
tar) >&5 2>&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }
2767 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2768 (cat conftest.dir
/file) >&5 2>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }
2772 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2777 if ${am_cv_prog_tar_pax+:} false
; then :
2778 $as_echo_n "(cached) " >&6
2780 am_cv_prog_tar_pax
=$_am_tool
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2784 $as_echo "$am_cv_prog_tar_pax" >&6; }
2791 # POSIX will say in a future version that running "rm -f" with no argument
2792 # is OK; and we want to be able to make that assumption in our Makefile
2793 # recipes. So use an aggressive probe to check that the usage we want is
2794 # actually supported "in the wild" to an acceptable degree.
2795 # See automake bug#10828.
2796 # To make any issue more visible, cause the running configure to be aborted
2797 # by default if the 'rm' program in use doesn't match our expectations; the
2798 # user can still override this though.
2799 if rm -f && rm -fr && rm -rf; then : OK
; else
2803 Your 'rm' program seems unable to run without file operands specified
2804 on the command line, even when the '-f' option is present. This is contrary
2805 to the behaviour of most rm programs out there, and not conforming with
2806 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2808 Please tell bug-automake@gnu.org about your system, including the value
2809 of your $PATH and any error possibly output before this message. This
2810 can help us improve future automake versions.
2813 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2814 echo 'Configuration will proceed anyway, since you have set the' >&2
2815 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2819 Aborting the configuration process, to ensure you take notice of the issue.
2821 You can download and install GNU coreutils to get an 'rm' implementation
2822 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2824 If you want to complete the configuration process using your problematic
2825 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2826 to "yes", and re-run configure.
2829 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2834 ac_cpp
='$CPP $CPPFLAGS'
2835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2838 if test -n "$ac_tool_prefix"; then
2839 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2840 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if ${ac_cv_prog_CC+:} false
; then :
2844 $as_echo_n "(cached) " >&6
2846 if test -n "$CC"; then
2847 ac_cv_prog_CC
="$CC" # Let the user override the test.
2849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir
=.
2854 for ac_exec_ext
in '' $ac_executable_extensions; do
2855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2856 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2867 if test -n "$CC"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2869 $as_echo "$CC" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2877 if test -z "$ac_cv_prog_CC"; then
2879 # Extract the first word of "gcc", so it can be a program name with args.
2880 set dummy gcc
; ac_word
=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2884 $as_echo_n "(cached) " >&6
2886 if test -n "$ac_ct_CC"; then
2887 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir
=.
2894 for ac_exec_ext
in '' $ac_executable_extensions; do
2895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2896 ac_cv_prog_ac_ct_CC
="gcc"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2907 if test -n "$ac_ct_CC"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2909 $as_echo "$ac_ct_CC" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2915 if test "x$ac_ct_CC" = x
; then
2918 case $cross_compiling:$ac_tool_warned in
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2922 ac_tool_warned
=yes ;;
2930 if test -z "$CC"; then
2931 if test -n "$ac_tool_prefix"; then
2932 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2933 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_CC+:} false
; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$CC"; then
2940 ac_cv_prog_CC
="$CC" # Let the user override the test.
2942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir
=.
2947 for ac_exec_ext
in '' $ac_executable_extensions; do
2948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2949 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 if test -n "$CC"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2962 $as_echo "$CC" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2971 if test -z "$CC"; then
2972 # Extract the first word of "cc", so it can be a program name with args.
2973 set dummy cc
; ac_word
=$2
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975 $as_echo_n "checking for $ac_word... " >&6; }
2976 if ${ac_cv_prog_CC+:} false
; then :
2977 $as_echo_n "(cached) " >&6
2979 if test -n "$CC"; then
2980 ac_cv_prog_CC
="$CC" # Let the user override the test.
2983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir
=.
2988 for ac_exec_ext
in '' $ac_executable_extensions; do
2989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2991 ac_prog_rejected
=yes
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 if test $ac_prog_rejected = yes; then
3003 # We found a bogon in the path, so make sure we never use it.
3004 set dummy
$ac_cv_prog_CC
3006 if test $# != 0; then
3007 # We chose a different compiler from the bogus one.
3008 # However, it has the same basename, so the bogon will be chosen
3009 # first if we set CC to just the basename; use the full file name.
3011 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3017 if test -n "$CC"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3019 $as_echo "$CC" >&6; }
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 $as_echo "no" >&6; }
3027 if test -z "$CC"; then
3028 if test -n "$ac_tool_prefix"; then
3029 for ac_prog
in cl.exe
3031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3032 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_CC+:} false
; then :
3036 $as_echo_n "(cached) " >&6
3038 if test -n "$CC"; then
3039 ac_cv_prog_CC
="$CC" # Let the user override the test.
3041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir
=.
3046 for ac_exec_ext
in '' $ac_executable_extensions; do
3047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3048 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 if test -n "$CC"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3061 $as_echo "$CC" >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3068 test -n "$CC" && break
3071 if test -z "$CC"; then
3073 for ac_prog
in cl.exe
3075 # Extract the first word of "$ac_prog", so it can be a program name with args.
3076 set dummy
$ac_prog; ac_word
=$2
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078 $as_echo_n "checking for $ac_word... " >&6; }
3079 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3080 $as_echo_n "(cached) " >&6
3082 if test -n "$ac_ct_CC"; then
3083 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3089 test -z "$as_dir" && as_dir
=.
3090 for ac_exec_ext
in '' $ac_executable_extensions; do
3091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3092 ac_cv_prog_ac_ct_CC
="$ac_prog"
3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3103 if test -n "$ac_ct_CC"; then
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3105 $as_echo "$ac_ct_CC" >&6; }
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108 $as_echo "no" >&6; }
3112 test -n "$ac_ct_CC" && break
3115 if test "x$ac_ct_CC" = x
; then
3118 case $cross_compiling:$ac_tool_warned in
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122 ac_tool_warned
=yes ;;
3131 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133 as_fn_error $?
"no acceptable C compiler found in \$PATH
3134 See \`config.log' for more details" "$LINENO" 5; }
3136 # Provide some information about the compiler.
3137 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3140 for ac_option
in --version -v -V -qversion; do
3141 { { ac_try
="$ac_compiler $ac_option >&5"
3143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3144 *) ac_try_echo=$ac_try;;
3146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3147 $as_echo "$ac_try_echo"; } >&5
3148 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3150 if test -s conftest.err; then
3152 ... rest of stderr output deleted ...
3153 10q' conftest.err >conftest.er1
3154 cat conftest.er1 >&5
3156 rm -f conftest.er1 conftest.err
3157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3158 test $ac_status = 0; }
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3172 ac_clean_files_save=$ac_clean_files
3173 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3174 # Try to create an executable without -o first, disregard a.out.
3175 # It will help us diagnose broken compilers, and finding out an intuition
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3178 $as_echo_n "checking whether the C compiler works... " >&6; }
3179 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3181 # The possible output files:
3182 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3185 for ac_file in $ac_files
3188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3189 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3194 if { { ac_try="$ac_link_default"
3196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3197 *) ac_try_echo
=$ac_try;;
3199 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200 $as_echo "$ac_try_echo"; } >&5
3201 (eval "$ac_link_default") 2>&5
3203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3204 test $ac_status = 0; }; then :
3205 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3206 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3207 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3208 # so that the user can short-circuit this test for compilers unknown to
3210 for ac_file
in $ac_files ''
3212 test -f "$ac_file" ||
continue
3214 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3217 # We found the default executable, but exeext='' is most
3221 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3223 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3225 # We set ac_cv_exeext here because the later test for it is not
3226 # safe: cross compilers may not add the suffix if given an `-o'
3227 # argument, so we may need to know it at that point already.
3228 # Even if this section looks crufty: it has the advantage of
3235 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3240 if test -z "$ac_file"; then :
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3243 $as_echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.
$ac_ext >&5
3246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error
77 "C compiler cannot create executables
3249 See \`config.log' for more details" "$LINENO" 5; }
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3252 $as_echo "yes" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3255 $as_echo_n "checking for C compiler default output file name... " >&6; }
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3257 $as_echo "$ac_file" >&6; }
3258 ac_exeext
=$ac_cv_exeext
3260 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3261 ac_clean_files
=$ac_clean_files_save
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3263 $as_echo_n "checking for suffix of executables... " >&6; }
3264 if { { ac_try
="$ac_link"
3266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3270 $as_echo "$ac_try_echo"; } >&5
3271 (eval "$ac_link") 2>&5
3273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3274 test $ac_status = 0; }; then :
3275 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3276 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3277 # work properly (i.e., refer to `conftest.exe'), while it won't with
3279 for ac_file
in conftest.exe conftest conftest.
*; do
3280 test -f "$ac_file" ||
continue
3282 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3283 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3292 See \`config.log' for more details" "$LINENO" 5; }
3294 rm -f conftest conftest
$ac_cv_exeext
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3296 $as_echo "$ac_cv_exeext" >&6; }
3298 rm -f conftest.
$ac_ext
3299 EXEEXT
=$ac_cv_exeext
3301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3307 FILE *f = fopen ("conftest.out", "w");
3308 return ferror (f) || fclose (f) != 0;
3314 ac_clean_files
="$ac_clean_files conftest.out"
3315 # Check that the compiler produces executables we can run. If not, either
3316 # the compiler is broken, or we cross compile.
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3318 $as_echo_n "checking whether we are cross compiling... " >&6; }
3319 if test "$cross_compiling" != yes; then
3320 { { ac_try
="$ac_link"
3322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3326 $as_echo "$ac_try_echo"; } >&5
3327 (eval "$ac_link") 2>&5
3329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3330 test $ac_status = 0; }
3331 if { ac_try='./conftest$ac_cv_exeext'
3332 { { case "(($ac_try" in
3333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3334 *) ac_try_echo
=$ac_try;;
3336 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3337 $as_echo "$ac_try_echo"; } >&5
3338 (eval "$ac_try") 2>&5
3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341 test $ac_status = 0; }; }; then
3344 if test "$cross_compiling" = maybe
; then
3347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 as_fn_error $?
"cannot run C compiled programs.
3350 If you meant to cross compile, use \`--host'.
3351 See \`config.log' for more details" "$LINENO" 5; }
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3356 $as_echo "$cross_compiling" >&6; }
3358 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3359 ac_clean_files
=$ac_clean_files_save
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3361 $as_echo_n "checking for suffix of object files... " >&6; }
3362 if ${ac_cv_objext+:} false
; then :
3363 $as_echo_n "(cached) " >&6
3365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3376 rm -f conftest.o conftest.obj
3377 if { { ac_try
="$ac_compile"
3379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3380 *) ac_try_echo=$ac_try;;
3382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3383 $as_echo "$ac_try_echo"; } >&5
3384 (eval "$ac_compile") 2>&5
3386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3387 test $ac_status = 0; }; then :
3388 for ac_file in conftest.o conftest.obj conftest.*; do
3389 test -f "$ac_file" || continue;
3391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3392 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3397 $as_echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.$ac_ext >&5
3400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3402 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3403 See \
`config.log' for more details" "$LINENO" 5; }
3405 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3408 $as_echo "$ac_cv_objext" >&6; }
3409 OBJEXT=$ac_cv_objext
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3412 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3413 if ${ac_cv_c_compiler_gnu+:} false; then :
3414 $as_echo_n "(cached) " >&6
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3430 if ac_fn_c_try_compile "$LINENO"; then :
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3440 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3441 if test $ac_compiler_gnu = yes; then
3446 ac_test_CFLAGS=${CFLAGS+set}
3447 ac_save_CFLAGS=$CFLAGS
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3449 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3450 if ${ac_cv_prog_cc_g+:} false; then :
3451 $as_echo_n "(cached) " >&6
3453 ac_save_c_werror_flag=$ac_c_werror_flag
3454 ac_c_werror_flag=yes
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3468 if ac_fn_c_try_compile "$LINENO"; then :
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3483 if ac_fn_c_try_compile "$LINENO"; then :
3486 ac_c_werror_flag=$ac_save_c_werror_flag
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3499 if ac_fn_c_try_compile "$LINENO"; then :
3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 ac_c_werror_flag=$ac_save_c_werror_flag
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3510 $as_echo "$ac_cv_prog_cc_g" >&6; }
3511 if test "$ac_test_CFLAGS" = set; then
3512 CFLAGS=$ac_save_CFLAGS
3513 elif test $ac_cv_prog_cc_g = yes; then
3514 if test "$GCC" = yes; then
3520 if test "$GCC" = yes; then
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3527 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3528 if ${ac_cv_prog_cc_c89+:} false; then :
3529 $as_echo_n "(cached) " >&6
3531 ac_cv_prog_cc_c89=no
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3538 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3539 struct buf { int x; };
3540 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3541 static char *e (p, i)
3547 static char *f (char * (*g) (char **, int), char **p, ...)
3552 s = g (p, va_arg (v,int));
3557 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3558 function prototypes and stuff, but not '\xHH' hex character constants.
3559 These don't provoke an error unfortunately, instead are silently treated
3560 as 'x'. The following induces an error, until -std is added to get
3561 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3562 array size at least. It's necessary to write '\x00'==0 to get something
3563 that's true only with -std. */
3564 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3566 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3567 inside strings and character constants. */
3569 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3571 int test (int i, double x);
3572 struct s1 {int (*f) (int a);};
3573 struct s2 {int (*f) (double a);};
3574 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3580 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3585 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3586 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3588 CC="$ac_save_CC $ac_arg"
3589 if ac_fn_c_try_compile "$LINENO"; then :
3590 ac_cv_prog_cc_c89=$ac_arg
3592 rm -f core conftest.err conftest.$ac_objext
3593 test "x$ac_cv_prog_cc_c89" != "xno" && break
3595 rm -f conftest.$ac_ext
3600 case "x$ac_cv_prog_cc_c89" in
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3603 $as_echo "none needed" >&6; } ;;
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3606 $as_echo "unsupported" >&6; } ;;
3608 CC="$CC $ac_cv_prog_cc_c89"
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3610 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3612 if test "x$ac_cv_prog_cc_c89" != xno; then :
3617 ac_cpp='$CPP $CPPFLAGS'
3618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3623 ac_cpp='$CPP $CPPFLAGS'
3624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3628 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3629 if ${am_cv_prog_cc_c_o+:} false; then :
3630 $as_echo_n "(cached) " >&6
3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3633 /* end confdefs.h. */
3643 # Make sure it works both with $CC and with simple cc.
3644 # Following AC_PROG_CC_C_O, we do the test twice because some
3645 # compilers refuse to overwrite an existing .o file with -o,
3646 # though they will create one.
3647 am_cv_prog_cc_c_o=yes
3649 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3650 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); } \
3654 && test -f conftest2.$ac_objext; then
3657 am_cv_prog_cc_c_o=no
3661 rm -f core conftest*
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3665 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3666 if test "$am_cv_prog_cc_c_o" != yes; then
3667 # Losing compiler, so override with the script.
3668 # FIXME: It is wrong to rewrite CC.
3669 # But if we don't then we get into trouble of one sort or another.
3670 # A longer-term fix would be to have automake use am__CC in this case,
3671 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3672 CC="$am_aux_dir/compile $CC"
3675 ac_cpp='$CPP $CPPFLAGS'
3676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 DEPDIR="${am__leading_dot}deps"
3682 ac_config_commands="$ac_config_commands depfiles"
3685 am_make=${MAKE-make}
3686 cat > confinc << 'END'
3688 @echo this is the am__doit target
3691 # If we don't find an include directive, just comment out the code.
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3693 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3697 # First try GNU make style include.
3698 echo "include confinc" > confmf
3699 # Ignore all kinds of additional output from 'make'.
3700 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3701 *the\ am__doit\ target*)
3707 # Now try BSD make style include.
3708 if test "$am__include" = "#"; then
3709 echo '.include "confinc"' > confmf
3710 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3711 *the\ am__doit\ target*)
3712 am__include=.include
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3721 $as_echo "$_am_result" >&6; }
3722 rm -f confinc confmf
3724 # Check whether --enable-dependency-tracking was given.
3725 if test "${enable_dependency_tracking+set}" = set; then :
3726 enableval=$enable_dependency_tracking;
3729 if test "x$enable_dependency_tracking" != xno; then
3730 am_depcomp="$ac_aux_dir/depcomp"
3734 if test "x$enable_dependency_tracking" != xno; then
3744 depcc="$CC" am_compiler_list=
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3747 $as_echo_n "checking dependency style of $depcc... " >&6; }
3748 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3749 $as_echo_n "(cached) " >&6
3751 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3752 # We make a subdir and do the tests there. Otherwise we can end up
3753 # making bogus files that we don't know about and never remove. For
3754 # instance it was reported that on HP-UX the gcc test will end up
3755 # making a dummy file named 'D' -- because '-MD' means "put the output
3759 # Copy depcomp to subdir because otherwise we won't find it if we're
3760 # using a relative directory.
3761 cp "$am_depcomp" conftest.dir
3763 # We will build objects and dependencies in a subdirectory because
3764 # it helps to detect inapplicable dependency modes. For instance
3765 # both Tru64's cc and ICC support -MD to output dependencies as a
3766 # side effect of compilation, but ICC will put the dependencies in
3767 # the current directory while Tru64 will put them in the object
3771 am_cv_CC_dependencies_compiler_type=none
3772 if test "$am_compiler_list" = ""; then
3773 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3776 case " $depcc " in #(
3777 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3780 for depmode in $am_compiler_list; do
3781 # Setup a source with many dependencies, because some compilers
3782 # like to wrap large dependency lists on column 80 (with \), and
3783 # we should not choose a depcomp mode which is confused by this.
3785 # We need to recreate these files for each test, as the compiler may
3786 # overwrite some of them when testing with obscure command lines.
3787 # This happens at least with the AIX C compiler.
3789 for i in 1 2 3 4 5 6; do
3790 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3791 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3792 # Solaris 10 /bin/sh.
3793 echo '/* dummy */' > sub/conftst$i.h
3795 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3797 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3798 # mode. It turns out that the SunPro C++ compiler does not properly
3799 # handle '-M -o', and we need to detect this. Also, some Intel
3800 # versions had trouble with output in subdirs.
3801 am__obj=sub/conftest.${OBJEXT-o}
3802 am__minus_obj="-o $am__obj"
3805 # This depmode causes a compiler race in universal mode.
3806 test "$am__universal" = false || continue
3809 # After this tag, mechanisms are not by side-effect, so they'll
3810 # only be used when explicitly requested.
3811 if test "x$enable_dependency_tracking" = xyes; then
3817 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3818 # This compiler won't grok '-c -o', but also, the minuso test has
3819 # not run yet. These depmodes are late enough in the game, and
3820 # so weak that their functioning should not be impacted.
3821 am__obj=conftest.${OBJEXT-o}
3826 if depmode=$depmode \
3827 source=sub/conftest.c object=$am__obj \
3828 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3829 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3830 >/dev/null 2>conftest.err &&
3831 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3832 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3833 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3834 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3835 # icc doesn't choke on unknown options, it will just issue warnings
3836 # or remarks (even with -Werror). So we grep stderr for any message
3837 # that says an option was ignored or not supported.
3838 # When given -MP, icc 7.0 and 7.1 complain thusly:
3839 # icc: Command line warning: ignoring option '-M'; no argument required
3840 # The diagnosis changed in icc 8.0:
3841 # icc: Command line remark: option '-MP' not supported
3842 if (grep 'ignoring option' conftest.err ||
3843 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3844 am_cv_CC_dependencies_compiler_type=$depmode
3853 am_cv_CC_dependencies_compiler_type=none
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3858 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3859 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3862 test "x$enable_dependency_tracking" != xno \
3863 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3865 am__fastdepCC_FALSE='#'
3867 am__fastdepCC_TRUE='#'
3868 am__fastdepCC_FALSE=
3874 if test -n "$ac_tool_prefix"; then
3875 for ac_prog in ar lib "link -lib"
3877 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3878 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880 $as_echo_n "checking for $ac_word... " >&6; }
3881 if ${ac_cv_prog_AR+:} false; then :
3882 $as_echo_n "(cached) " >&6
3884 if test -n "$AR"; then
3885 ac_cv_prog_AR="$AR" # Let the user override the test.
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 test -z "$as_dir" && as_dir=.
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3894 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 if test -n "$AR"; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3907 $as_echo "$AR" >&6; }
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3910 $as_echo "no" >&6; }
3914 test -n "$AR" && break
3917 if test -z "$AR"; then
3919 for ac_prog in ar lib "link -lib"
3921 # Extract the first word of "$ac_prog", so it can be a program name with args.
3922 set dummy $ac_prog; ac_word=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3926 $as_echo_n "(cached) " >&6
3928 if test -n "$ac_ct_AR"; then
3929 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 test -z "$as_dir" && as_dir=.
3936 for ac_exec_ext in '' $ac_executable_extensions; do
3937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3938 ac_cv_prog_ac_ct_AR="$ac_prog"
3939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3949 if test -n "$ac_ct_AR"; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3951 $as_echo "$ac_ct_AR" >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3958 test -n "$ac_ct_AR" && break
3961 if test "x$ac_ct_AR" = x; then
3964 case $cross_compiling:$ac_tool_warned in
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3968 ac_tool_warned=yes ;;
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3977 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3978 if ${am_cv_ar_interface+:} false; then :
3979 $as_echo_n "(cached) " >&6
3982 ac_cpp='$CPP $CPPFLAGS'
3983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3987 am_cv_ar_interface=ar
3988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3990 int some_variable = 0;
3992 if ac_fn_c_try_compile "$LINENO"; then :
3993 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3994 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3995 (eval $am_ar_try) 2>&5
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }
3999 if test "$ac_status" -eq 0; then
4000 am_cv_ar_interface=ar
4002 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4003 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4004 (eval $am_ar_try) 2>&5
4006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4007 test $ac_status = 0; }
4008 if test "$ac_status" -eq 0; then
4009 am_cv_ar_interface=lib
4011 am_cv_ar_interface=unknown
4014 rm -f conftest.lib libconftest.a
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019 ac_cpp='$CPP $CPPFLAGS'
4020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4026 $as_echo "$am_cv_ar_interface" >&6; }
4028 case $am_cv_ar_interface in
4032 # Microsoft lib, so override with the ar-lib wrapper script.
4033 # FIXME: It is wrong to rewrite AR.
4034 # But if we don't then we get into trouble of one sort or another.
4035 # A longer-term fix would be to have automake use am__AR in this case,
4036 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4038 AR="$am_aux_dir/ar-lib $AR"
4041 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4049 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4054 macro_version='2.4.6'
4055 macro_revision='2.4.6'
4069 ltmain=$ac_aux_dir/ltmain.sh
4071 # Make sure we can run config.sub.
4072 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4073 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4076 $as_echo_n "checking build system type... " >&6; }
4077 if ${ac_cv_build+:} false; then :
4078 $as_echo_n "(cached) " >&6
4080 ac_build_alias=$build_alias
4081 test "x$ac_build_alias" = x &&
4082 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4083 test "x$ac_build_alias" = x &&
4084 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4085 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4086 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4090 $as_echo "$ac_cv_build" >&6; }
4091 case $ac_cv_build in
4093 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4096 ac_save_IFS=$IFS; IFS='-'
4102 # Remember, the first character of IFS is used to create $*,
4103 # except with old shells:
4106 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4110 $as_echo_n "checking host system type... " >&6; }
4111 if ${ac_cv_host+:} false; then :
4112 $as_echo_n "(cached) " >&6
4114 if test "x$host_alias" = x; then
4115 ac_cv_host=$ac_cv_build
4117 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4118 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4123 $as_echo "$ac_cv_host" >&6; }
4126 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4129 ac_save_IFS=$IFS; IFS='-'
4135 # Remember, the first character of IFS is used to create $*,
4136 # except with old shells:
4139 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4142 # Backslashify metacharacters that are still active within
4143 # double-quoted strings.
4144 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4146 # Same as above, but do not quote variable references.
4147 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4149 # Sed substitution to delay expansion of an escaped shell variable in a
4150 # double_quote_subst'ed string.
4151 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4153 # Sed substitution to delay expansion of an escaped single quote.
4154 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4156 # Sed substitution to avoid accidental globbing in evaled expressions
4157 no_glob_subst='s/\*/\\\*/g'
4159 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4160 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4161 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4164 $as_echo_n "checking how to print
strings...
" >&6; }
4165 # Test print first, because it will be a builtin if present.
4166 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4167 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4169 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4172 # Use this function as a fallback that always works.
4173 func_fallback_echo ()
4175 eval 'cat <<_LTECHO_EOF
4179 ECHO='func_fallback_echo'
4182 # func_echo_all arg...
4183 # Invoke $ECHO with all args, space-separated.
4190 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4191 $as_echo "printf" >&6; } ;;
4192 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4193 $as_echo "print
-r" >&6; } ;;
4194 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4195 $as_echo "cat" >&6; } ;;
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4212 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4213 if ${ac_cv_path_SED+:} false; then :
4214 $as_echo_n "(cached
) " >&6
4216 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4217 for ac_i in 1 2 3 4 5 6 7; do
4218 ac_script="$ac_script$as_nl$ac_script"
4220 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4221 { ac_script=; unset ac_script;}
4222 if test -z "$SED"; then
4223 ac_path_SED_found=false
4224 # Loop through the user's path and test for each of PROGNAME-LIST
4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229 test -z "$as_dir" && as_dir=.
4230 for ac_prog in sed gsed; do
4231 for ac_exec_ext in '' $ac_executable_extensions; do
4232 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4233 as_fn_executable_p "$ac_path_SED" || continue
4234 # Check for GNU ac_path_SED and select it if it is found.
4235 # Check for GNU $ac_path_SED
4236 case `"$ac_path_SED" --version 2>&1` in
4238 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4241 $as_echo_n 0123456789 >"conftest.
in"
4244 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4245 mv "conftest.tmp
" "conftest.
in"
4246 cp "conftest.
in" "conftest.
nl"
4247 $as_echo '' >> "conftest.
nl"
4248 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4249 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4250 as_fn_arith $ac_count + 1 && ac_count=$as_val
4251 if test $ac_count -gt ${ac_path_SED_max-0}; then
4252 # Best one so far, save it but keep looking for a better one
4253 ac_cv_path_SED="$ac_path_SED"
4254 ac_path_SED_max=$ac_count
4256 # 10*(2^10) chars as input seems more than enough
4257 test $ac_count -gt 10 && break
4259 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4262 $ac_path_SED_found && break 3
4267 if test -z "$ac_cv_path_SED"; then
4268 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4276 $as_echo "$ac_cv_path_SED" >&6; }
4277 SED="$ac_cv_path_SED"
4280 test -z "$SED" && SED=sed
4281 Xsed="$SED -e 1s
/^X
//"
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4294 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4295 if ${ac_cv_path_GREP+:} false; then :
4296 $as_echo_n "(cached
) " >&6
4298 if test -z "$GREP"; then
4299 ac_path_GREP_found=false
4300 # Loop through the user's path and test for each of PROGNAME-LIST
4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4305 test -z "$as_dir" && as_dir=.
4306 for ac_prog in grep ggrep; do
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4309 as_fn_executable_p "$ac_path_GREP" || continue
4310 # Check for GNU ac_path_GREP and select it if it is found.
4311 # Check for GNU $ac_path_GREP
4312 case `"$ac_path_GREP" --version 2>&1` in
4314 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4317 $as_echo_n 0123456789 >"conftest.
in"
4320 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4321 mv "conftest.tmp
" "conftest.
in"
4322 cp "conftest.
in" "conftest.
nl"
4323 $as_echo 'GREP' >> "conftest.
nl"
4324 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4325 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4326 as_fn_arith $ac_count + 1 && ac_count=$as_val
4327 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4328 # Best one so far, save it but keep looking for a better one
4329 ac_cv_path_GREP="$ac_path_GREP"
4330 ac_path_GREP_max=$ac_count
4332 # 10*(2^10) chars as input seems more than enough
4333 test $ac_count -gt 10 && break
4335 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4338 $ac_path_GREP_found && break 3
4343 if test -z "$ac_cv_path_GREP"; then
4344 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4347 ac_cv_path_GREP=$GREP
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4352 $as_echo "$ac_cv_path_GREP" >&6; }
4353 GREP="$ac_cv_path_GREP"
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4357 $as_echo_n "checking
for egrep...
" >&6; }
4358 if ${ac_cv_path_EGREP+:} false; then :
4359 $as_echo_n "(cached
) " >&6
4361 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4362 then ac_cv_path_EGREP="$GREP -E"
4364 if test -z "$EGREP"; then
4365 ac_path_EGREP_found=false
4366 # Loop through the user's path and test for each of PROGNAME-LIST
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4371 test -z "$as_dir" && as_dir=.
4372 for ac_prog in egrep; do
4373 for ac_exec_ext in '' $ac_executable_extensions; do
4374 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4375 as_fn_executable_p "$ac_path_EGREP" || continue
4376 # Check for GNU ac_path_EGREP and select it if it is found.
4377 # Check for GNU $ac_path_EGREP
4378 case `"$ac_path_EGREP" --version 2>&1` in
4380 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4383 $as_echo_n 0123456789 >"conftest.
in"
4386 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4387 mv "conftest.tmp
" "conftest.
in"
4388 cp "conftest.
in" "conftest.
nl"
4389 $as_echo 'EGREP' >> "conftest.
nl"
4390 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4391 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4392 as_fn_arith $ac_count + 1 && ac_count=$as_val
4393 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4394 # Best one so far, save it but keep looking for a better one
4395 ac_cv_path_EGREP="$ac_path_EGREP"
4396 ac_path_EGREP_max=$ac_count
4398 # 10*(2^10) chars as input seems more than enough
4399 test $ac_count -gt 10 && break
4401 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4404 $ac_path_EGREP_found && break 3
4409 if test -z "$ac_cv_path_EGREP"; then
4410 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4413 ac_cv_path_EGREP=$EGREP
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4419 $as_echo "$ac_cv_path_EGREP" >&6; }
4420 EGREP="$ac_cv_path_EGREP"
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4424 $as_echo_n "checking
for fgrep...
" >&6; }
4425 if ${ac_cv_path_FGREP+:} false; then :
4426 $as_echo_n "(cached
) " >&6
4428 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4429 then ac_cv_path_FGREP="$GREP -F"
4431 if test -z "$FGREP"; then
4432 ac_path_FGREP_found=false
4433 # Loop through the user's path and test for each of PROGNAME-LIST
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4438 test -z "$as_dir" && as_dir=.
4439 for ac_prog in fgrep; do
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4442 as_fn_executable_p "$ac_path_FGREP" || continue
4443 # Check for GNU ac_path_FGREP and select it if it is found.
4444 # Check for GNU $ac_path_FGREP
4445 case `"$ac_path_FGREP" --version 2>&1` in
4447 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4450 $as_echo_n 0123456789 >"conftest.
in"
4453 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4454 mv "conftest.tmp
" "conftest.
in"
4455 cp "conftest.
in" "conftest.
nl"
4456 $as_echo 'FGREP' >> "conftest.
nl"
4457 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4458 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4459 as_fn_arith $ac_count + 1 && ac_count=$as_val
4460 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4461 # Best one so far, save it but keep looking for a better one
4462 ac_cv_path_FGREP="$ac_path_FGREP"
4463 ac_path_FGREP_max=$ac_count
4465 # 10*(2^10) chars as input seems more than enough
4466 test $ac_count -gt 10 && break
4468 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4471 $ac_path_FGREP_found && break 3
4476 if test -z "$ac_cv_path_FGREP"; then
4477 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4480 ac_cv_path_FGREP=$FGREP
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4486 $as_echo "$ac_cv_path_FGREP" >&6; }
4487 FGREP="$ac_cv_path_FGREP"
4490 test -z "$GREP" && GREP=grep
4510 # Check whether --with-gnu-ld was given.
4511 if test "${with_gnu_ld+set}" = set; then :
4512 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4518 if test yes = "$GCC"; then
4519 # Check if gcc -print-prog-name=ld gives a path.
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4521 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4524 # gcc leaves a trailing carriage return, which upsets mingw
4525 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4527 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4530 # Accept absolute paths.
4532 re_direlt='/[^/][^/]*/\.\./'
4533 # Canonicalize the pathname of ld
4534 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4535 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4536 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4538 test -z "$LD" && LD=$ac_prog
4541 # If it fails, then pretend we aren't using GCC.
4545 # If it is relative, then search for the first ld in PATH.
4549 elif test yes = "$with_gnu_ld"; then
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4551 $as_echo_n "checking
for GNU ld...
" >&6; }
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4554 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4556 if ${lt_cv_path_LD+:} false; then :
4557 $as_echo_n "(cached
) " >&6
4559 if test -z "$LD"; then
4560 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4561 for ac_dir in $PATH; do
4563 test -z "$ac_dir" && ac_dir=.
4564 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4565 lt_cv_path_LD=$ac_dir/$ac_prog
4566 # Check to see if the program is GNU ld. I'd rather use --version,
4567 # but apparently some variants of GNU ld only accept -v.
4568 # Break only if it was the GNU/non-GNU ld that we prefer.
4569 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4570 *GNU* | *'with BFD'*)
4571 test no != "$with_gnu_ld" && break
4574 test yes != "$with_gnu_ld" && break
4581 lt_cv_path_LD=$LD # Let the user override the test with a path.
4586 if test -n "$LD"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4588 $as_echo "$LD" >&6; }
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4591 $as_echo "no
" >&6; }
4593 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4595 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4596 if ${lt_cv_prog_gnu_ld+:} false; then :
4597 $as_echo_n "(cached
) " >&6
4599 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4600 case `$LD -v 2>&1 </dev/null` in
4601 *GNU* | *'with BFD'*)
4602 lt_cv_prog_gnu_ld=yes
4605 lt_cv_prog_gnu_ld=no
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4610 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4611 with_gnu_ld=$lt_cv_prog_gnu_ld
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4622 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4623 if ${lt_cv_path_NM+:} false; then :
4624 $as_echo_n "(cached
) " >&6
4626 if test -n "$NM"; then
4627 # Let the user override the test.
4630 lt_nm_to_check=${ac_tool_prefix}nm
4631 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4632 lt_nm_to_check="$lt_nm_to_check nm
"
4634 for lt_tmp_nm in $lt_nm_to_check; do
4635 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4636 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4638 test -z "$ac_dir" && ac_dir=.
4639 tmp_nm=$ac_dir/$lt_tmp_nm
4640 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4641 # Check to see if the nm accepts a BSD-compat flag.
4642 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4643 # nm: unknown option "B
" ignored
4644 # Tru64's nm complains that /dev/null is an invalid object file
4645 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4647 mingw*) lt_bad_file=conftest.nm/nofile ;;
4648 *) lt_bad_file=/dev/null ;;
4650 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4651 *$lt_bad_file* | *'Invalid file or object type'*)
4652 lt_cv_path_NM="$tmp_nm -B"
4656 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4658 lt_cv_path_NM="$tmp_nm -p"
4662 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4663 continue # so that we can try to find one that supports BSD flags
4672 : ${lt_cv_path_NM=no}
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4676 $as_echo "$lt_cv_path_NM" >&6; }
4677 if test no != "$lt_cv_path_NM"; then
4680 # Didn't find any BSD compatible name lister, look for dumpbin.
4681 if test -n "$DUMPBIN"; then :
4682 # Let the user override the test.
4684 if test -n "$ac_tool_prefix"; then
4685 for ac_prog in dumpbin "link
-dump"
4687 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4688 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4690 $as_echo_n "checking
for $ac_word...
" >&6; }
4691 if ${ac_cv_prog_DUMPBIN+:} false; then :
4692 $as_echo_n "(cached
) " >&6
4694 if test -n "$DUMPBIN"; then
4695 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701 test -z "$as_dir" && as_dir=.
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4704 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4705 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4714 DUMPBIN=$ac_cv_prog_DUMPBIN
4715 if test -n "$DUMPBIN"; then
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4717 $as_echo "$DUMPBIN" >&6; }
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4720 $as_echo "no
" >&6; }
4724 test -n "$DUMPBIN" && break
4727 if test -z "$DUMPBIN"; then
4728 ac_ct_DUMPBIN=$DUMPBIN
4729 for ac_prog in dumpbin "link
-dump"
4731 # Extract the first word of "$ac_prog", so it can be a program name with args.
4732 set dummy $ac_prog; ac_word=$2
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4734 $as_echo_n "checking
for $ac_word...
" >&6; }
4735 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4736 $as_echo_n "(cached
) " >&6
4738 if test -n "$ac_ct_DUMPBIN"; then
4739 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 test -z "$as_dir" && as_dir=.
4746 for ac_exec_ext in '' $ac_executable_extensions; do
4747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4748 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4758 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4759 if test -n "$ac_ct_DUMPBIN"; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4761 $as_echo "$ac_ct_DUMPBIN" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4764 $as_echo "no
" >&6; }
4768 test -n "$ac_ct_DUMPBIN" && break
4771 if test "x
$ac_ct_DUMPBIN" = x; then
4774 case $cross_compiling:$ac_tool_warned in
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4777 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4778 ac_tool_warned=yes ;;
4780 DUMPBIN=$ac_ct_DUMPBIN
4784 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4786 DUMPBIN="$DUMPBIN -symbols -headers"
4794 if test : != "$DUMPBIN"; then
4798 test -z "$NM" && NM=nm
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4806 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4807 if ${lt_cv_nm_interface+:} false; then :
4808 $as_echo_n "(cached
) " >&6
4810 lt_cv_nm_interface="BSD nm
"
4811 echo "int some_variable
= 0;" > conftest.$ac_ext
4812 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4813 (eval "$ac_compile" 2>conftest.err)
4814 cat conftest.err >&5
4815 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4816 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4817 cat conftest.err >&5
4818 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4819 cat conftest.out >&5
4820 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4821 lt_cv_nm_interface="MS dumpbin
"
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4826 $as_echo "$lt_cv_nm_interface" >&6; }
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
4829 $as_echo_n "checking whether
ln -s works...
" >&6; }
4831 if test "$LN_S" = "ln -s"; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4833 $as_echo "yes" >&6; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
4836 $as_echo "no
, using
$LN_S" >&6; }
4839 # find the maximum length of command line arguments
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4841 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4842 if ${lt_cv_sys_max_cmd_len+:} false; then :
4843 $as_echo_n "(cached
) " >&6
4850 # On DJGPP, this test can blow up pretty badly due to problems in libc
4851 # (any single argument exceeding 2000 bytes causes a buffer overrun
4852 # during glob expansion). Even if it were fixed, the result of this
4853 # check would be larger than it should be.
4854 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4858 # Under GNU Hurd, this test is not required because there is
4859 # no limit to the length of command line arguments.
4860 # Libtool will interpret -1 as no limit whatsoever
4861 lt_cv_sys_max_cmd_len=-1;
4864 cygwin* | mingw* | cegcc*)
4865 # On Win9x/ME, this test blows up -- it succeeds, but takes
4866 # about 5 minutes as the teststring grows exponentially.
4867 # Worse, since 9x/ME are not pre-emptively multitasking,
4868 # you end up with a "frozen
" computer, even though with patience
4869 # the test eventually succeeds (with a max line length of 256k).
4870 # Instead, let's just punt: use the minimum linelength reported by
4871 # all of the supported platforms: 8192 (on NT/2K/XP).
4872 lt_cv_sys_max_cmd_len=8192;
4876 # On MiNT this can take a long time and run out of memory.
4877 lt_cv_sys_max_cmd_len=8192;
4881 # On AmigaOS with pdksh, this test takes hours, literally.
4882 # So we just punt and use a minimum line length of 8192.
4883 lt_cv_sys_max_cmd_len=8192;
4886 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4887 # This has been around since 386BSD, at least. Likely further.
4888 if test -x /sbin/sysctl; then
4889 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4890 elif test -x /usr/sbin/sysctl; then
4891 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4893 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4895 # And add a safety zone
4896 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4897 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4901 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4902 lt_cv_sys_max_cmd_len=196608
4906 # The test takes a long time on OS/2.
4907 lt_cv_sys_max_cmd_len=8192
4911 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4912 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4913 # nice to cause kernel panics so lets avoid the loop below.
4914 # First set a reasonable default.
4915 lt_cv_sys_max_cmd_len=16384
4917 if test -x /sbin/sysconfig; then
4918 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4919 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4924 lt_cv_sys_max_cmd_len=102400
4926 sysv5* | sco5v6* | sysv4.2uw2*)
4927 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4928 if test -n "$kargmax"; then
4929 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4931 lt_cv_sys_max_cmd_len=32768
4935 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4936 if test -n "$lt_cv_sys_max_cmd_len" && \
4937 test undefined != "$lt_cv_sys_max_cmd_len"; then
4938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4939 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4941 # Make teststring a little bigger before we do anything with it.
4942 # a 1K string should be a reasonable start.
4943 for i in 1 2 3 4 5 6 7 8; do
4944 teststring=$teststring$teststring
4946 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4947 # If test is not a shell built-in, we'll probably end up computing a
4948 # maximum length that is only half of the actual maximum length, but
4950 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4951 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4952 test 17 != "$i" # 1/2 MB should be enough
4955 teststring=$teststring$teststring
4957 # Only check the string length outside the loop.
4958 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4960 # Add a significant safety factor because C++ compilers can tack on
4961 # massive amounts of additional arguments before passing them to the
4962 # linker. It appears as though 1/2 is a usable value.
4963 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4970 if test -n "$lt_cv_sys_max_cmd_len"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4972 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4975 $as_echo "none
" >&6; }
4977 max_cmd_len=$lt_cv_sys_max_cmd_len
4988 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4998 # test EBCDIC or ASCII
4999 case `echo X|tr X '\101'` in
5000 A) # ASCII based system
5001 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5002 lt_SP2NL='tr \040 \012'
5003 lt_NL2SP='tr \015\012 \040\040'
5005 *) # EBCDIC based system
5006 lt_SP2NL='tr \100 \n'
5007 lt_NL2SP='tr \r\n \100\100'
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5020 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5021 if ${lt_cv_to_host_file_cmd+:} false; then :
5022 $as_echo_n "(cached
) " >&6
5027 *-*-mingw* ) # actually msys
5028 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5031 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5033 * ) # otherwise, assume *nix
5034 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5040 *-*-mingw* ) # actually msys
5041 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5044 lt_cv_to_host_file_cmd=func_convert_file_noop
5046 * ) # otherwise, assume *nix
5047 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5051 * ) # unhandled hosts (and "normal
" native builds)
5052 lt_cv_to_host_file_cmd=func_convert_file_noop
5058 to_host_file_cmd=$lt_cv_to_host_file_cmd
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5060 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5067 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5068 if ${lt_cv_to_tool_file_cmd+:} false; then :
5069 $as_echo_n "(cached
) " >&6
5071 #assume ordinary cross tools, or native build.
5072 lt_cv_to_tool_file_cmd=func_convert_file_noop
5076 *-*-mingw* ) # actually msys
5077 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5085 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5087 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5094 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5095 if ${lt_cv_ld_reload_flag+:} false; then :
5096 $as_echo_n "(cached
) " >&6
5098 lt_cv_ld_reload_flag='-r'
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5101 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5102 reload_flag=$lt_cv_ld_reload_flag
5103 case $reload_flag in
5105 *) reload_flag=" $reload_flag" ;;
5107 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5109 cygwin* | mingw* | pw32* | cegcc*)
5110 if test yes != "$GCC"; then
5115 if test yes = "$GCC"; then
5116 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5118 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5133 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5135 $as_echo_n "checking
for $ac_word...
" >&6; }
5136 if ${ac_cv_prog_OBJDUMP+:} false; then :
5137 $as_echo_n "(cached
) " >&6
5139 if test -n "$OBJDUMP"; then
5140 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5159 OBJDUMP=$ac_cv_prog_OBJDUMP
5160 if test -n "$OBJDUMP"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5162 $as_echo "$OBJDUMP" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5165 $as_echo "no
" >&6; }
5170 if test -z "$ac_cv_prog_OBJDUMP"; then
5171 ac_ct_OBJDUMP=$OBJDUMP
5172 # Extract the first word of "objdump
", so it can be a program name with args.
5173 set dummy objdump; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5175 $as_echo_n "checking
for $ac_word...
" >&6; }
5176 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5177 $as_echo_n "(cached
) " >&6
5179 if test -n "$ac_ct_OBJDUMP"; then
5180 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5199 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5200 if test -n "$ac_ct_OBJDUMP"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5202 $as_echo "$ac_ct_OBJDUMP" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5205 $as_echo "no
" >&6; }
5208 if test "x
$ac_ct_OBJDUMP" = x; then
5211 case $cross_compiling:$ac_tool_warned in
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5214 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5215 ac_tool_warned=yes ;;
5217 OBJDUMP=$ac_ct_OBJDUMP
5220 OBJDUMP="$ac_cv_prog_OBJDUMP"
5223 test -z "$OBJDUMP" && OBJDUMP=objdump
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5234 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5235 if ${lt_cv_deplibs_check_method+:} false; then :
5236 $as_echo_n "(cached
) " >&6
5238 lt_cv_file_magic_cmd='$MAGIC_CMD'
5239 lt_cv_file_magic_test_file=
5240 lt_cv_deplibs_check_method='unknown'
5241 # Need to set the preceding variable on all platforms that support
5242 # interlibrary dependencies.
5243 # 'none' -- dependencies not supported.
5244 # 'unknown' -- same as none, but documents that we really don't know.
5245 # 'pass_all' -- all dependencies passed with no checks.
5246 # 'test_compile' -- check by making test program.
5247 # 'file_magic [[regex]]' -- check by looking for files in library path
5248 # that responds to the $file_magic_cmd with a given extended regex.
5249 # If you have 'file' or equivalent on your system and you're not sure
5250 # whether 'pass_all' will *always* work, you probably want this one.
5254 lt_cv_deplibs_check_method=pass_all
5258 lt_cv_deplibs_check_method=pass_all
5262 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5263 lt_cv_file_magic_cmd='/usr/bin/file -L'
5264 lt_cv_file_magic_test_file=/shlib/libc.so
5268 # func_win32_libid is a shell function defined in ltmain.sh
5269 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5270 lt_cv_file_magic_cmd='func_win32_libid'
5274 # Base MSYS/MinGW do not provide the 'file' command needed by
5275 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5276 # unless we find 'file', for example because we are cross-compiling.
5277 if ( file / ) >/dev/null 2>&1; then
5278 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5279 lt_cv_file_magic_cmd='func_win32_libid'
5281 # Keep this pattern in sync with the one in func_win32_libid.
5282 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5283 lt_cv_file_magic_cmd='$OBJDUMP -f'
5288 # use the weaker test based on 'objdump'. See mingw*.
5289 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5290 lt_cv_file_magic_cmd='$OBJDUMP -f'
5293 darwin* | rhapsody*)
5294 lt_cv_deplibs_check_method=pass_all
5297 freebsd* | dragonfly*)
5298 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5301 # Not sure whether the presence of OpenBSD here was a mistake.
5302 # Let's accept both of them until this is cleared up.
5303 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5304 lt_cv_file_magic_cmd=/usr/bin/file
5305 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5309 lt_cv_deplibs_check_method=pass_all
5314 lt_cv_deplibs_check_method=pass_all
5317 hpux10.20* | hpux11*)
5318 lt_cv_file_magic_cmd=/usr/bin/file
5321 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5322 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5325 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5326 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5329 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5330 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5336 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5340 irix5* | irix6* | nonstopux*)
5342 *-32|*"-32 ") libmagic=32-bit;;
5343 *-n32|*"-n32 ") libmagic=N32;;
5344 *-64|*"-64 ") libmagic=64-bit;;
5345 *) libmagic=never-match;;
5347 lt_cv_deplibs_check_method=pass_all
5350 # This must be glibc/ELF.
5351 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5352 lt_cv_deplibs_check_method=pass_all
5356 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5357 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5359 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5364 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5365 lt_cv_file_magic_cmd=/usr/bin/file
5366 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5370 lt_cv_deplibs_check_method=pass_all
5374 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5375 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5377 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5381 osf3* | osf4* | osf5*)
5382 lt_cv_deplibs_check_method=pass_all
5386 lt_cv_deplibs_check_method=pass_all
5390 lt_cv_deplibs_check_method=pass_all
5393 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5394 lt_cv_deplibs_check_method=pass_all
5398 case $host_vendor in
5400 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]'
5401 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5404 lt_cv_deplibs_check_method=pass_all
5407 lt_cv_file_magic_cmd='/bin/file'
5408 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5411 lt_cv_file_magic_cmd='/bin/file'
5412 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5413 lt_cv_file_magic_test_file=/lib/libc.so
5416 lt_cv_deplibs_check_method=pass_all
5419 lt_cv_deplibs_check_method=pass_all
5425 lt_cv_deplibs_check_method=pass_all
5428 lt_cv_deplibs_check_method=pass_all
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5434 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5438 if test "$build" = "$host"; then
5441 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5444 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5450 file_magic_cmd=$lt_cv_file_magic_cmd
5451 deplibs_check_method=$lt_cv_deplibs_check_method
5452 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5475 if test -n "$ac_tool_prefix"; then
5476 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5477 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5479 $as_echo_n "checking
for $ac_word...
" >&6; }
5480 if ${ac_cv_prog_DLLTOOL+:} false; then :
5481 $as_echo_n "(cached
) " >&6
5483 if test -n "$DLLTOOL"; then
5484 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5490 test -z "$as_dir" && as_dir=.
5491 for ac_exec_ext in '' $ac_executable_extensions; do
5492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5493 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5503 DLLTOOL=$ac_cv_prog_DLLTOOL
5504 if test -n "$DLLTOOL"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5506 $as_echo "$DLLTOOL" >&6; }
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5509 $as_echo "no
" >&6; }
5514 if test -z "$ac_cv_prog_DLLTOOL"; then
5515 ac_ct_DLLTOOL=$DLLTOOL
5516 # Extract the first word of "dlltool
", so it can be a program name with args.
5517 set dummy dlltool; ac_word=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5519 $as_echo_n "checking
for $ac_word...
" >&6; }
5520 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5521 $as_echo_n "(cached
) " >&6
5523 if test -n "$ac_ct_DLLTOOL"; then
5524 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 test -z "$as_dir" && as_dir=.
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5543 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5544 if test -n "$ac_ct_DLLTOOL"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5546 $as_echo "$ac_ct_DLLTOOL" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5549 $as_echo "no
" >&6; }
5552 if test "x
$ac_ct_DLLTOOL" = x; then
5555 case $cross_compiling:$ac_tool_warned in
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5558 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5559 ac_tool_warned=yes ;;
5561 DLLTOOL=$ac_ct_DLLTOOL
5564 DLLTOOL="$ac_cv_prog_DLLTOOL"
5567 test -z "$DLLTOOL" && DLLTOOL=dlltool
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5579 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5580 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5581 $as_echo_n "(cached
) " >&6
5583 lt_cv_sharedlib_from_linklib_cmd='unknown'
5586 cygwin* | mingw* | pw32* | cegcc*)
5587 # two different shell functions defined in ltmain.sh;
5588 # decide which one to use based on capabilities of $DLLTOOL
5589 case `$DLLTOOL --help 2>&1` in
5590 *--identify-strict*)
5591 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5594 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5599 # fallback: assume linklib IS sharedlib
5600 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5606 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5607 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5608 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5616 if test -n "$ac_tool_prefix"; then
5619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5620 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5622 $as_echo_n "checking
for $ac_word...
" >&6; }
5623 if ${ac_cv_prog_AR+:} false; then :
5624 $as_echo_n "(cached
) " >&6
5626 if test -n "$AR"; then
5627 ac_cv_prog_AR="$AR" # Let the user override the test.
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 test -z "$as_dir" && as_dir=.
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5636 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5647 if test -n "$AR"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5649 $as_echo "$AR" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5652 $as_echo "no
" >&6; }
5656 test -n "$AR" && break
5659 if test -z "$AR"; then
5663 # Extract the first word of "$ac_prog", so it can be a program name with args.
5664 set dummy $ac_prog; ac_word=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5666 $as_echo_n "checking
for $ac_word...
" >&6; }
5667 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5668 $as_echo_n "(cached
) " >&6
5670 if test -n "$ac_ct_AR"; then
5671 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_ac_ct_AR="$ac_prog"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5690 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5691 if test -n "$ac_ct_AR"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5693 $as_echo "$ac_ct_AR" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5696 $as_echo "no
" >&6; }
5700 test -n "$ac_ct_AR" && break
5703 if test "x
$ac_ct_AR" = x; then
5706 case $cross_compiling:$ac_tool_warned in
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5709 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5710 ac_tool_warned=yes ;;
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5730 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5731 if ${lt_cv_ar_at_file+:} false; then :
5732 $as_echo_n "(cached
) " >&6
5735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5736 /* end confdefs.h. */
5746 if ac_fn_c_try_compile "$LINENO"; then :
5747 echo conftest.$ac_objext > conftest.lst
5748 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5749 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5750 (eval $lt_ar_try) 2>&5
5752 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5753 test $ac_status = 0; }
5754 if test 0 -eq "$ac_status"; then
5755 # Ensure the archiver fails upon bogus file names.
5756 rm -f conftest.$ac_objext libconftest.a
5757 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5758 (eval $lt_ar_try) 2>&5
5760 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5761 test $ac_status = 0; }
5762 if test 0 -ne "$ac_status"; then
5766 rm -f conftest.* libconftest.a
5769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5773 $as_echo "$lt_cv_ar_at_file" >&6; }
5775 if test no = "$lt_cv_ar_at_file"; then
5778 archiver_list_spec=$lt_cv_ar_at_file
5787 if test -n "$ac_tool_prefix"; then
5788 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5789 set dummy ${ac_tool_prefix}strip; ac_word=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5791 $as_echo_n "checking
for $ac_word...
" >&6; }
5792 if ${ac_cv_prog_STRIP+:} false; then :
5793 $as_echo_n "(cached
) " >&6
5795 if test -n "$STRIP"; then
5796 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 test -z "$as_dir" && as_dir=.
5803 for ac_exec_ext in '' $ac_executable_extensions; do
5804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5805 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5815 STRIP=$ac_cv_prog_STRIP
5816 if test -n "$STRIP"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5818 $as_echo "$STRIP" >&6; }
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5821 $as_echo "no
" >&6; }
5826 if test -z "$ac_cv_prog_STRIP"; then
5828 # Extract the first word of "strip
", so it can be a program name with args.
5829 set dummy strip; ac_word=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5831 $as_echo_n "checking
for $ac_word...
" >&6; }
5832 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5833 $as_echo_n "(cached
) " >&6
5835 if test -n "$ac_ct_STRIP"; then
5836 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 test -z "$as_dir" && as_dir=.
5843 for ac_exec_ext in '' $ac_executable_extensions; do
5844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845 ac_cv_prog_ac_ct_STRIP="strip
"
5846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5855 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5856 if test -n "$ac_ct_STRIP"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5858 $as_echo "$ac_ct_STRIP" >&6; }
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5861 $as_echo "no
" >&6; }
5864 if test "x
$ac_ct_STRIP" = x; then
5867 case $cross_compiling:$ac_tool_warned in
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5870 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5871 ac_tool_warned=yes ;;
5876 STRIP="$ac_cv_prog_STRIP"
5879 test -z "$STRIP" && STRIP=:
5886 if test -n "$ac_tool_prefix"; then
5887 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5888 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5890 $as_echo_n "checking
for $ac_word...
" >&6; }
5891 if ${ac_cv_prog_RANLIB+:} false; then :
5892 $as_echo_n "(cached
) " >&6
5894 if test -n "$RANLIB"; then
5895 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5914 RANLIB=$ac_cv_prog_RANLIB
5915 if test -n "$RANLIB"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5917 $as_echo "$RANLIB" >&6; }
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5920 $as_echo "no
" >&6; }
5925 if test -z "$ac_cv_prog_RANLIB"; then
5926 ac_ct_RANLIB=$RANLIB
5927 # Extract the first word of "ranlib
", so it can be a program name with args.
5928 set dummy ranlib; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5930 $as_echo_n "checking
for $ac_word...
" >&6; }
5931 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5932 $as_echo_n "(cached
) " >&6
5934 if test -n "$ac_ct_RANLIB"; then
5935 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5944 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5954 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5955 if test -n "$ac_ct_RANLIB"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5957 $as_echo "$ac_ct_RANLIB" >&6; }
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5960 $as_echo "no
" >&6; }
5963 if test "x
$ac_ct_RANLIB" = x; then
5966 case $cross_compiling:$ac_tool_warned in
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5969 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5970 ac_tool_warned=yes ;;
5972 RANLIB=$ac_ct_RANLIB
5975 RANLIB="$ac_cv_prog_RANLIB"
5978 test -z "$RANLIB" && RANLIB=:
5985 # Determine commands to create old-style static archives.
5986 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5987 old_postinstall_cmds='chmod 644 $oldlib'
5988 old_postuninstall_cmds=
5990 if test -n "$RANLIB"; then
5993 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5996 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5999 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6004 lock_old_archive_extraction=yes ;;
6006 lock_old_archive_extraction=no ;;
6047 # If no C compiler was specified, use CC.
6050 # If no C compiler flags were specified, use CFLAGS.
6051 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6053 # Allow CC to be a program name with arguments.
6057 # Check for command to grab the raw symbol name followed by C symbol from nm.
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6059 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6060 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6061 $as_echo_n "(cached
) " >&6
6064 # These are sane defaults that work on at least a few old systems.
6065 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6067 # Character class describing NM global symbol codes.
6068 symcode='[BCDEGRST]'
6070 # Regexp to match symbols that can be accessed directly from C.
6071 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6073 # Define system-specific variables.
6078 cygwin* | mingw* | pw32* | cegcc*)
6079 symcode='[ABCDGISTW]'
6082 if test ia64 = "$host_cpu"; then
6083 symcode='[ABCDEGRST]'
6087 symcode='[BCDEGRST]'
6090 symcode='[BCDEGQRST]'
6101 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6109 # If we're using GNU nm, then use its standard symbol codes.
6110 case `$NM -V 2>&1` in
6111 *GNU* | *'with BFD'*)
6112 symcode='[ABCDGIRSTW]' ;;
6115 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6116 # Gets list of data symbols to import.
6117 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6118 # Adjust the below global symbol transforms to fixup imported variables.
6119 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6120 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6121 lt_c_name_lib_hook="\
6122 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6123 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6125 # Disable hooks by default.
6126 lt_cv_sys_global_symbol_to_import=
6132 # Transform an extracted symbol line into a proper C declaration.
6133 # Some systems (esp. on ia64) link data and code symbols differently,
6134 # so use this general approach.
6135 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6137 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6138 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6140 # Transform an extracted symbol line into symbol name and symbol address
6141 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6143 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6144 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6146 # Transform an extracted symbol line into symbol name with lib prefix and
6148 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6149 $lt_c_name_lib_hook\
6150 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6151 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6152 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6154 # Handle CRLF in mingw tool chain
6158 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6162 # Try without a prefix underscore, then with it.
6163 for ac_symprfx in "" "_
"; do
6165 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6166 symxfrm="\\1 $ac_symprfx\\2 \\2"
6168 # Write the raw and C identifiers.
6169 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6170 # Fake it for dumpbin and say T for any non-static function,
6171 # D for any global variable and I for any imported variable.
6172 # Also find C++ and __fastcall symbols from MSVC++,
6173 # which start with @ or ?.
6174 lt_cv_sys_global_symbol_pipe="$AWK '"\
6175 " {last_section=section; section=\$ 3};"\
6176 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6177 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6178 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6179 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6180 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6181 " \$ 0!~/External *\|/{next};"\
6182 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6183 " {if(hide[section]) next};"\
6184 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6185 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6186 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6187 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6188 " ' prfx
=^
$ac_symprfx"
6190 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6192 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6194 # Check to see that the pipe works correctly.
6198 cat > conftest.$ac_ext <<_LT_EOF
6203 void nm_test_func(void);
6204 void nm_test_func(void){}
6208 int main(){nm_test_var='a';nm_test_func();return(0);}
6211 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6212 (eval $ac_compile) 2>&5
6214 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6215 test $ac_status = 0; }; then
6216 # Now try to grab the symbols.
6218 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6219 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6221 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6222 test $ac_status = 0; } && test -s "$nlist"; then
6223 # Try sorting and uniquifying the output.
6224 if sort "$nlist" | uniq > "$nlist"T; then
6225 mv -f "$nlist"T "$nlist"
6230 # Make sure that we snagged all the symbols we need.
6231 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6232 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6233 cat <<_LT_EOF > conftest.$ac_ext
6234 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6235 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6236 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6237 relocations are performed -- see ld's documentation on pseudo-relocs. */
6238 # define LT_DLSYM_CONST
6239 #elif defined __osf__
6240 /* This system does not cope well with relocations in const data. */
6241 # define LT_DLSYM_CONST
6243 # define LT_DLSYM_CONST const
6251 # Now generate the symbol file.
6252 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6254 cat <<_LT_EOF >> conftest.$ac_ext
6256 /* The mapping between symbol names and symbols. */
6257 LT_DLSYM_CONST struct {
6261 lt__PROGRAM__LTX_preloaded_symbols[] =
6263 { "@PROGRAM@
", (void *) 0 },
6265 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6266 cat <<\_LT_EOF >> conftest.$ac_ext
6270 /* This works around a problem in FreeBSD linker */
6271 #ifdef FREEBSD_WORKAROUND
6272 static const void *lt_preloaded_setup() {
6273 return lt__PROGRAM__LTX_preloaded_symbols;
6281 # Now try linking the two files.
6282 mv conftest.$ac_objext conftstm.$ac_objext
6283 lt_globsym_save_LIBS=$LIBS
6284 lt_globsym_save_CFLAGS=$CFLAGS
6285 LIBS=conftstm.$ac_objext
6286 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6287 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6288 (eval $ac_link) 2>&5
6290 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6291 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6294 LIBS=$lt_globsym_save_LIBS
6295 CFLAGS=$lt_globsym_save_CFLAGS
6297 echo "cannot
find nm_test_func
in $nlist" >&5
6300 echo "cannot
find nm_test_var
in $nlist" >&5
6303 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6306 echo "$progname: failed program was
:" >&5
6307 cat conftest.$ac_ext >&5
6309 rm -rf conftest* conftst*
6311 # Do not use the global_symbol_pipe unless it works.
6312 if test yes = "$pipe_works"; then
6315 lt_cv_sys_global_symbol_pipe=
6321 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6322 lt_cv_sys_global_symbol_to_cdecl=
6324 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6326 $as_echo "failed
" >&6; }
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6329 $as_echo "ok
" >&6; }
6332 # Response file support.
6333 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6334 nm_file_list_spec='@'
6335 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6336 nm_file_list_spec='@'
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6376 $as_echo_n "checking
for sysroot...
" >&6; }
6378 # Check whether --with-sysroot was given.
6379 if test "${with_sysroot+set}" = set; then :
6380 withval=$with_sysroot;
6387 case $with_sysroot in #(
6389 if test yes = "$GCC"; then
6390 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6394 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6400 $as_echo "$with_sysroot" >&6; }
6401 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6406 $as_echo "${lt_sysroot:-no}" >&6; }
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6413 $as_echo_n "checking
for a working
dd...
" >&6; }
6414 if ${ac_cv_path_lt_DD+:} false; then :
6415 $as_echo_n "(cached
) " >&6
6417 printf 0123456789abcdef0123456789abcdef >conftest.i
6418 cat conftest.i conftest.i >conftest2.i
6420 if test -z "$lt_DD"; then
6421 ac_path_lt_DD_found=false
6422 # Loop through the user's path and test for each of PROGNAME-LIST
6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 test -z "$as_dir" && as_dir=.
6428 for ac_prog in dd; do
6429 for ac_exec_ext in '' $ac_executable_extensions; do
6430 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6431 as_fn_executable_p "$ac_path_lt_DD" || continue
6432 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6433 cmp -s conftest.i conftest.out \
6434 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6436 $ac_path_lt_DD_found && break 3
6441 if test -z "$ac_cv_path_lt_DD"; then
6445 ac_cv_path_lt_DD=$lt_DD
6448 rm -f conftest.i conftest2.i conftest.out
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6451 $as_echo "$ac_cv_path_lt_DD" >&6; }
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6455 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6456 if ${lt_cv_truncate_bin+:} false; then :
6457 $as_echo_n "(cached
) " >&6
6459 printf 0123456789abcdef0123456789abcdef >conftest.i
6460 cat conftest.i conftest.i >conftest2.i
6462 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6463 cmp -s conftest.i conftest.out \
6464 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6466 rm -f conftest.i conftest2.i conftest.out
6467 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6470 $as_echo "$lt_cv_truncate_bin" >&6; }
6478 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6481 for cc_temp in $*""; do
6483 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6484 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6489 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6492 # Check whether --enable-libtool-lock was given.
6493 if test "${enable_libtool_lock+set}" = set; then :
6494 enableval=$enable_libtool_lock;
6497 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6499 # Some flags need to be propagated to the compiler or linker for good
6503 # Find out what ABI is being produced by ac_compile, and set mode
6504 # options accordingly.
6505 echo 'int i;' > conftest.$ac_ext
6506 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6507 (eval $ac_compile) 2>&5
6509 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6510 test $ac_status = 0; }; then
6511 case `/usr/bin/file conftest.$ac_objext` in
6523 # Find out what ABI is being produced by ac_compile, and set linker
6524 # options accordingly.
6525 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6526 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6527 (eval $ac_compile) 2>&5
6529 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6530 test $ac_status = 0; }; then
6531 if test yes = "$lt_cv_prog_gnu_ld"; then
6532 case `/usr/bin/file conftest.$ac_objext` in
6534 LD="${LD-ld} -melf32bsmip"
6537 LD="${LD-ld} -melf32bmipn32"
6540 LD="${LD-ld} -melf64bmip"
6544 case `/usr/bin/file conftest.$ac_objext` in
6561 # Find out what ABI is being produced by ac_compile, and set linker
6562 # options accordingly.
6563 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6564 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6565 (eval $ac_compile) 2>&5
6567 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6568 test $ac_status = 0; }; then
6570 case `/usr/bin/file conftest.$ac_objext` in
6578 case `/usr/bin/file conftest.$ac_objext` in
6580 emul="${emul}btsmip
"
6583 emul="${emul}ltsmip
"
6586 case `/usr/bin/file conftest.$ac_objext` in
6591 LD="${LD-ld} -m $emul"
6596 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6597 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6598 # Find out what ABI is being produced by ac_compile, and set linker
6599 # options accordingly. Note that the listed cases only cover the
6600 # situations where additional linker options are needed (such as when
6601 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6602 # vice versa); the common cases where no linker options are needed do
6603 # not appear in the list.
6604 echo 'int i;' > conftest.$ac_ext
6605 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6606 (eval $ac_compile) 2>&5
6608 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6609 test $ac_status = 0; }; then
6610 case `/usr/bin/file conftest.o` in
6613 x86_64-*kfreebsd*-gnu)
6614 LD="${LD-ld} -m elf_i386_fbsd
"
6617 case `/usr/bin/file conftest.o` in
6619 LD="${LD-ld} -m elf32_x86_64
"
6622 LD="${LD-ld} -m elf_i386
"
6626 powerpc64le-*linux*)
6627 LD="${LD-ld} -m elf32lppclinux
"
6630 LD="${LD-ld} -m elf32ppclinux
"
6633 LD="${LD-ld} -m elf_s390
"
6636 LD="${LD-ld} -m elf32_sparc
"
6642 x86_64-*kfreebsd*-gnu)
6643 LD="${LD-ld} -m elf_x86_64_fbsd
"
6646 LD="${LD-ld} -m elf_x86_64
"
6649 LD="${LD-ld} -m elf64lppc
"
6652 LD="${LD-ld} -m elf64ppc
"
6654 s390*-*linux*|s390*-*tpf*)
6655 LD="${LD-ld} -m elf64_s390
"
6658 LD="${LD-ld} -m elf64_sparc
"
6668 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6670 CFLAGS="$CFLAGS -belf"
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6672 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6673 if ${lt_cv_cc_needs_belf+:} false; then :
6674 $as_echo_n "(cached
) " >&6
6677 ac_cpp='$CPP $CPPFLAGS'
6678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6683 /* end confdefs.h. */
6693 if ac_fn_c_try_link "$LINENO"; then :
6694 lt_cv_cc_needs_belf=yes
6696 lt_cv_cc_needs_belf=no
6698 rm -f core conftest.err conftest.$ac_objext \
6699 conftest$ac_exeext conftest.$ac_ext
6701 ac_cpp='$CPP $CPPFLAGS'
6702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6708 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6709 if test yes != "$lt_cv_cc_needs_belf"; then
6710 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6715 # Find out what ABI is being produced by ac_compile, and set linker
6716 # options accordingly.
6717 echo 'int i;' > conftest.$ac_ext
6718 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6719 (eval $ac_compile) 2>&5
6721 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6722 test $ac_status = 0; }; then
6723 case `/usr/bin/file conftest.o` in
6725 case $lt_cv_prog_gnu_ld in
6728 i?86-*-solaris*|x86_64-*-solaris*)
6729 LD="${LD-ld} -m elf_x86_64
"
6732 LD="${LD-ld} -m elf64_sparc
"
6735 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6736 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6741 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6753 need_locks=$enable_libtool_lock
6755 if test -n "$ac_tool_prefix"; then
6756 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6757 set dummy ${ac_tool_prefix}mt; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6759 $as_echo_n "checking
for $ac_word...
" >&6; }
6760 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6761 $as_echo_n "(cached
) " >&6
6763 if test -n "$MANIFEST_TOOL"; then
6764 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6783 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6784 if test -n "$MANIFEST_TOOL"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6786 $as_echo "$MANIFEST_TOOL" >&6; }
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6789 $as_echo "no
" >&6; }
6794 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6795 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6796 # Extract the first word of "mt
", so it can be a program name with args.
6797 set dummy mt; ac_word=$2
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6799 $as_echo_n "checking
for $ac_word...
" >&6; }
6800 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6801 $as_echo_n "(cached
) " >&6
6803 if test -n "$ac_ct_MANIFEST_TOOL"; then
6804 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6813 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6823 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6824 if test -n "$ac_ct_MANIFEST_TOOL"; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6826 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6829 $as_echo "no
" >&6; }
6832 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6835 case $cross_compiling:$ac_tool_warned in
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6838 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6839 ac_tool_warned=yes ;;
6841 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6844 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6847 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6849 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6850 if ${lt_cv_path_mainfest_tool+:} false; then :
6851 $as_echo_n "(cached
) " >&6
6853 lt_cv_path_mainfest_tool=no
6854 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6855 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6856 cat conftest.err >&5
6857 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6858 lt_cv_path_mainfest_tool=yes
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6863 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6864 if test yes != "$lt_cv_path_mainfest_tool"; then
6874 rhapsody* | darwin*)
6875 if test -n "$ac_tool_prefix"; then
6876 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6877 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6879 $as_echo_n "checking
for $ac_word...
" >&6; }
6880 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6881 $as_echo_n "(cached
) " >&6
6883 if test -n "$DSYMUTIL"; then
6884 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6890 test -z "$as_dir" && as_dir=.
6891 for ac_exec_ext in '' $ac_executable_extensions; do
6892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6893 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6903 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6904 if test -n "$DSYMUTIL"; then
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6906 $as_echo "$DSYMUTIL" >&6; }
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6909 $as_echo "no
" >&6; }
6914 if test -z "$ac_cv_prog_DSYMUTIL"; then
6915 ac_ct_DSYMUTIL=$DSYMUTIL
6916 # Extract the first word of "dsymutil
", so it can be a program name with args.
6917 set dummy dsymutil; ac_word=$2
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6919 $as_echo_n "checking
for $ac_word...
" >&6; }
6920 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6921 $as_echo_n "(cached
) " >&6
6923 if test -n "$ac_ct_DSYMUTIL"; then
6924 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6930 test -z "$as_dir" && as_dir=.
6931 for ac_exec_ext in '' $ac_executable_extensions; do
6932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6933 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6943 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6944 if test -n "$ac_ct_DSYMUTIL"; then
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6946 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6949 $as_echo "no
" >&6; }
6952 if test "x
$ac_ct_DSYMUTIL" = x; then
6955 case $cross_compiling:$ac_tool_warned in
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6958 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6959 ac_tool_warned=yes ;;
6961 DSYMUTIL=$ac_ct_DSYMUTIL
6964 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6967 if test -n "$ac_tool_prefix"; then
6968 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6969 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6971 $as_echo_n "checking
for $ac_word...
" >&6; }
6972 if ${ac_cv_prog_NMEDIT+:} false; then :
6973 $as_echo_n "(cached
) " >&6
6975 if test -n "$NMEDIT"; then
6976 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 test -z "$as_dir" && as_dir=.
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6985 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6995 NMEDIT=$ac_cv_prog_NMEDIT
6996 if test -n "$NMEDIT"; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6998 $as_echo "$NMEDIT" >&6; }
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7001 $as_echo "no
" >&6; }
7006 if test -z "$ac_cv_prog_NMEDIT"; then
7007 ac_ct_NMEDIT=$NMEDIT
7008 # Extract the first word of "nmedit
", so it can be a program name with args.
7009 set dummy nmedit; ac_word=$2
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7011 $as_echo_n "checking
for $ac_word...
" >&6; }
7012 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7013 $as_echo_n "(cached
) " >&6
7015 if test -n "$ac_ct_NMEDIT"; then
7016 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7022 test -z "$as_dir" && as_dir=.
7023 for ac_exec_ext in '' $ac_executable_extensions; do
7024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7025 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7035 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7036 if test -n "$ac_ct_NMEDIT"; then
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7038 $as_echo "$ac_ct_NMEDIT" >&6; }
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7041 $as_echo "no
" >&6; }
7044 if test "x
$ac_ct_NMEDIT" = x; then
7047 case $cross_compiling:$ac_tool_warned in
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7050 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7051 ac_tool_warned=yes ;;
7053 NMEDIT=$ac_ct_NMEDIT
7056 NMEDIT="$ac_cv_prog_NMEDIT"
7059 if test -n "$ac_tool_prefix"; then
7060 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7061 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7063 $as_echo_n "checking
for $ac_word...
" >&6; }
7064 if ${ac_cv_prog_LIPO+:} false; then :
7065 $as_echo_n "(cached
) " >&6
7067 if test -n "$LIPO"; then
7068 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7077 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7078 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7087 LIPO=$ac_cv_prog_LIPO
7088 if test -n "$LIPO"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7090 $as_echo "$LIPO" >&6; }
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7093 $as_echo "no
" >&6; }
7098 if test -z "$ac_cv_prog_LIPO"; then
7100 # Extract the first word of "lipo
", so it can be a program name with args.
7101 set dummy lipo; ac_word=$2
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7103 $as_echo_n "checking
for $ac_word...
" >&6; }
7104 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7105 $as_echo_n "(cached
) " >&6
7107 if test -n "$ac_ct_LIPO"; then
7108 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 test -z "$as_dir" && as_dir=.
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_ac_ct_LIPO="lipo
"
7118 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7127 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7128 if test -n "$ac_ct_LIPO"; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7130 $as_echo "$ac_ct_LIPO" >&6; }
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7133 $as_echo "no
" >&6; }
7136 if test "x
$ac_ct_LIPO" = x; then
7139 case $cross_compiling:$ac_tool_warned in
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7142 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7143 ac_tool_warned=yes ;;
7148 LIPO="$ac_cv_prog_LIPO"
7151 if test -n "$ac_tool_prefix"; then
7152 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7153 set dummy ${ac_tool_prefix}otool; ac_word=$2
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7155 $as_echo_n "checking
for $ac_word...
" >&6; }
7156 if ${ac_cv_prog_OTOOL+:} false; then :
7157 $as_echo_n "(cached
) " >&6
7159 if test -n "$OTOOL"; then
7160 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166 test -z "$as_dir" && as_dir=.
7167 for ac_exec_ext in '' $ac_executable_extensions; do
7168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7169 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7170 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7179 OTOOL=$ac_cv_prog_OTOOL
7180 if test -n "$OTOOL"; then
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7182 $as_echo "$OTOOL" >&6; }
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7185 $as_echo "no
" >&6; }
7190 if test -z "$ac_cv_prog_OTOOL"; then
7192 # Extract the first word of "otool
", so it can be a program name with args.
7193 set dummy otool; ac_word=$2
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7195 $as_echo_n "checking
for $ac_word...
" >&6; }
7196 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7197 $as_echo_n "(cached
) " >&6
7199 if test -n "$ac_ct_OTOOL"; then
7200 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7206 test -z "$as_dir" && as_dir=.
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7209 ac_cv_prog_ac_ct_OTOOL="otool
"
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7219 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7220 if test -n "$ac_ct_OTOOL"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7222 $as_echo "$ac_ct_OTOOL" >&6; }
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7225 $as_echo "no
" >&6; }
7228 if test "x
$ac_ct_OTOOL" = x; then
7231 case $cross_compiling:$ac_tool_warned in
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7234 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7235 ac_tool_warned=yes ;;
7240 OTOOL="$ac_cv_prog_OTOOL"
7243 if test -n "$ac_tool_prefix"; then
7244 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7245 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7247 $as_echo_n "checking
for $ac_word...
" >&6; }
7248 if ${ac_cv_prog_OTOOL64+:} false; then :
7249 $as_echo_n "(cached
) " >&6
7251 if test -n "$OTOOL64"; then
7252 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7261 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7271 OTOOL64=$ac_cv_prog_OTOOL64
7272 if test -n "$OTOOL64"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7274 $as_echo "$OTOOL64" >&6; }
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7277 $as_echo "no
" >&6; }
7282 if test -z "$ac_cv_prog_OTOOL64"; then
7283 ac_ct_OTOOL64=$OTOOL64
7284 # Extract the first word of "otool64
", so it can be a program name with args.
7285 set dummy otool64; ac_word=$2
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7287 $as_echo_n "checking
for $ac_word...
" >&6; }
7288 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7289 $as_echo_n "(cached
) " >&6
7291 if test -n "$ac_ct_OTOOL64"; then
7292 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 test -z "$as_dir" && as_dir=.
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7301 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7311 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7312 if test -n "$ac_ct_OTOOL64"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7314 $as_echo "$ac_ct_OTOOL64" >&6; }
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7317 $as_echo "no
" >&6; }
7320 if test "x
$ac_ct_OTOOL64" = x; then
7323 case $cross_compiling:$ac_tool_warned in
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7326 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7327 ac_tool_warned=yes ;;
7329 OTOOL64=$ac_ct_OTOOL64
7332 OTOOL64="$ac_cv_prog_OTOOL64"
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7362 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7363 if ${lt_cv_apple_cc_single_mod+:} false; then :
7364 $as_echo_n "(cached
) " >&6
7366 lt_cv_apple_cc_single_mod=no
7367 if test -z "$LT_MULTI_MODULE"; then
7368 # By default we will add the -single_module flag. You can override
7369 # by either setting the environment variable LT_MULTI_MODULE
7370 # non-empty at configure time, or by adding -multi_module to the
7372 rm -rf libconftest.dylib*
7373 echo "int foo
(void
){return 1;}" > conftest.c
7374 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7375 -dynamiclib -Wl,-single_module conftest.c
" >&5
7376 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7377 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7379 # If there is a non-empty error log, and "single_module
"
7380 # appears in it, assume the flag caused a linker warning
7381 if test -s conftest.err && $GREP single_module conftest.err; then
7382 cat conftest.err >&5
7383 # Otherwise, if the output was created with a 0 exit code from
7384 # the compiler, it worked.
7385 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7386 lt_cv_apple_cc_single_mod=yes
7388 cat conftest.err >&5
7390 rm -rf libconftest.dylib*
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7395 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7398 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7399 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7400 $as_echo_n "(cached
) " >&6
7402 lt_cv_ld_exported_symbols_list=no
7403 save_LDFLAGS=$LDFLAGS
7404 echo "_main
" > conftest.sym
7405 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7407 /* end confdefs.h. */
7417 if ac_fn_c_try_link "$LINENO"; then :
7418 lt_cv_ld_exported_symbols_list=yes
7420 lt_cv_ld_exported_symbols_list=no
7422 rm -f core conftest.err conftest.$ac_objext \
7423 conftest$ac_exeext conftest.$ac_ext
7424 LDFLAGS=$save_LDFLAGS
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7428 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7431 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7432 if ${lt_cv_ld_force_load+:} false; then :
7433 $as_echo_n "(cached
) " >&6
7435 lt_cv_ld_force_load=no
7436 cat > conftest.c << _LT_EOF
7437 int forced_loaded() { return 2;}
7439 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7440 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7441 echo "$AR cru libconftest.a conftest.o
" >&5
7442 $AR cru libconftest.a conftest.o 2>&5
7443 echo "$RANLIB libconftest.a
" >&5
7444 $RANLIB libconftest.a 2>&5
7445 cat > conftest.c << _LT_EOF
7446 int main() { return 0;}
7448 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7449 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7451 if test -s conftest.err && $GREP force_load conftest.err; then
7452 cat conftest.err >&5
7453 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7454 lt_cv_ld_force_load=yes
7456 cat conftest.err >&5
7458 rm -f conftest.err libconftest.a conftest conftest.c
7459 rm -rf conftest.dSYM
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7463 $as_echo "$lt_cv_ld_force_load" >&6; }
7465 rhapsody* | darwin1.[012])
7466 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7468 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7469 darwin*) # darwin 5.x on
7470 # if running on 10.5 or later, the deployment target defaults
7471 # to the OS version, if on x86, and 10.4, the deployment
7472 # target defaults to 10.4. Don't you love it?
7473 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7474 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7475 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7477 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7479 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7483 if test yes = "$lt_cv_apple_cc_single_mod"; then
7484 _lt_dar_single_mod='$single_module'
7486 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7487 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7489 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7491 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7492 _lt_dsymutil='~$DSYMUTIL $lib || :'
7499 # func_munge_path_list VARIABLE PATH
7500 # -----------------------------------
7501 # VARIABLE is name of variable containing _space_ separated list of
7502 # directories to be munged by the contents of PATH, which is string
7505 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7507 # string "DIR
[ DIR
]" will be appended to VARIABLE
7508 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7509 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7510 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7512 # VARIABLE will be replaced by "DIR
[ DIR
]"
7513 func_munge_path_list ()
7519 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7522 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7525 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7526 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7529 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7535 ac_cpp='$CPP $CPPFLAGS'
7536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7540 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7541 # On Suns, sometimes $CPP names a directory.
7542 if test -n "$CPP" && test -d "$CPP"; then
7545 if test -z "$CPP"; then
7546 if ${ac_cv_prog_CPP+:} false; then :
7547 $as_echo_n "(cached
) " >&6
7549 # Double quotes because CPP needs to be expanded
7550 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7553 for ac_c_preproc_warn_flag in '' yes
7555 # Use a header file that comes with gcc, so configuring glibc
7556 # with a fresh cross-compiler works.
7557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7558 # <limits.h> exists even on freestanding compilers.
7559 # On the NeXT, cc -E runs the code through the compiler's parser,
7560 # not just through cpp. "Syntax error
" is here to catch this case.
7561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7564 # include <limits.h>
7566 # include <assert.h>
7570 if ac_fn_c_try_cpp "$LINENO"; then :
7573 # Broken: fails on valid input.
7576 rm -f conftest.err conftest.i conftest.$ac_ext
7578 # OK, works on sane cases. Now check whether nonexistent headers
7579 # can be detected and how.
7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7582 #include <ac_nonexistent.h>
7584 if ac_fn_c_try_cpp "$LINENO"; then :
7585 # Broken: success on invalid input.
7588 # Passes both tests.
7592 rm -f conftest.err conftest.i conftest.$ac_ext
7595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7596 rm -f conftest.i conftest.err conftest.$ac_ext
7597 if $ac_preproc_ok; then :
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7610 $as_echo "$CPP" >&6; }
7612 for ac_c_preproc_warn_flag in '' yes
7614 # Use a header file that comes with gcc, so configuring glibc
7615 # with a fresh cross-compiler works.
7616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7617 # <limits.h> exists even on freestanding compilers.
7618 # On the NeXT, cc -E runs the code through the compiler's parser,
7619 # not just through cpp. "Syntax error
" is here to catch this case.
7620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621 /* end confdefs.h. */
7623 # include <limits.h>
7625 # include <assert.h>
7629 if ac_fn_c_try_cpp "$LINENO"; then :
7632 # Broken: fails on valid input.
7635 rm -f conftest.err conftest.i conftest.$ac_ext
7637 # OK, works on sane cases. Now check whether nonexistent headers
7638 # can be detected and how.
7639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h. */
7641 #include <ac_nonexistent.h>
7643 if ac_fn_c_try_cpp "$LINENO"; then :
7644 # Broken: success on invalid input.
7647 # Passes both tests.
7651 rm -f conftest.err conftest.i conftest.$ac_ext
7654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7655 rm -f conftest.i conftest.err conftest.$ac_ext
7656 if $ac_preproc_ok; then :
7659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7661 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7662 See \`config.log' for more details
" "$LINENO" 5; }
7666 ac_cpp='$CPP $CPPFLAGS'
7667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7673 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7674 if ${ac_cv_header_stdc+:} false; then :
7675 $as_echo_n "(cached
) " >&6
7677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7678 /* end confdefs.h. */
7692 if ac_fn_c_try_compile "$LINENO"; then :
7693 ac_cv_header_stdc=yes
7695 ac_cv_header_stdc=no
7697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7699 if test $ac_cv_header_stdc = yes; then
7700 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h. */
7706 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7707 $EGREP "memchr
" >/dev/null 2>&1; then :
7710 ac_cv_header_stdc=no
7716 if test $ac_cv_header_stdc = yes; then
7717 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h. */
7723 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7724 $EGREP "free
" >/dev/null 2>&1; then :
7727 ac_cv_header_stdc=no
7733 if test $ac_cv_header_stdc = yes; then
7734 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7735 if test "$cross_compiling" = yes; then :
7738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h. */
7742 #if ((' ' & 0x0FF) == 0x020)
7743 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7744 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7746 # define ISLOWER(c) \
7747 (('a' <= (c) && (c) <= 'i') \
7748 || ('j' <= (c) && (c) <= 'r') \
7749 || ('s' <= (c) && (c) <= 'z'))
7750 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7753 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7758 for (i = 0; i < 256; i++)
7759 if (XOR (islower (i), ISLOWER (i))
7760 || toupper (i) != TOUPPER (i))
7765 if ac_fn_c_try_run "$LINENO"; then :
7768 ac_cv_header_stdc=no
7770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7771 conftest.$ac_objext conftest.beam conftest.$ac_ext
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7777 $as_echo "$ac_cv_header_stdc" >&6; }
7778 if test $ac_cv_header_stdc = yes; then
7780 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7784 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7785 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7786 inttypes.h stdint.h unistd.h
7788 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7789 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7791 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7792 cat >>confdefs.h
<<_ACEOF
7793 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7801 for ac_header
in dlfcn.h
7803 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7805 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7806 cat >>confdefs.h
<<_ACEOF
7807 #define HAVE_DLFCN_H 1
7819 # Check whether --enable-shared was given.
7820 if test "${enable_shared+set}" = set; then :
7821 enableval
=$enable_shared; p
=${PACKAGE-default}
7823 yes) enable_shared
=yes ;;
7824 no
) enable_shared
=no
;;
7827 # Look at the argument we got. We use all the common list separators.
7828 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7829 for pkg
in $enableval; do
7831 if test "X$pkg" = "X$p"; then
7849 # Check whether --with-pic was given.
7850 if test "${with_pic+set}" = set; then :
7851 withval
=$with_pic; lt_p
=${PACKAGE-default}
7853 yes|no
) pic_mode
=$withval ;;
7856 # Look at the argument we got. We use all the common list separators.
7857 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7858 for lt_pkg
in $withval; do
7860 if test "X$lt_pkg" = "X$lt_p"; then
7886 # Check whether --enable-static was given.
7887 if test "${enable_static+set}" = set; then :
7888 enableval
=$enable_static; p
=${PACKAGE-default}
7890 yes) enable_static
=yes ;;
7891 no
) enable_static
=no
;;
7894 # Look at the argument we got. We use all the common list separators.
7895 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7896 for pkg
in $enableval; do
7898 if test "X$pkg" = "X$p"; then
7918 # Check whether --enable-fast-install was given.
7919 if test "${enable_fast_install+set}" = set; then :
7920 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7922 yes) enable_fast_install
=yes ;;
7923 no
) enable_fast_install
=no
;;
7925 enable_fast_install
=no
7926 # Look at the argument we got. We use all the common list separators.
7927 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7928 for pkg
in $enableval; do
7930 if test "X$pkg" = "X$p"; then
7931 enable_fast_install
=yes
7938 enable_fast_install
=yes
7948 shared_archive_member_spec
=
7949 case $host,$enable_shared in
7950 power
*-*-aix[5-9]*,yes)
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7952 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7954 # Check whether --with-aix-soname was given.
7955 if test "${with_aix_soname+set}" = set; then :
7956 withval
=$with_aix_soname; case $withval in
7960 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7963 lt_cv_with_aix_soname
=$with_aix_soname
7965 if ${lt_cv_with_aix_soname+:} false
; then :
7966 $as_echo_n "(cached) " >&6
7968 lt_cv_with_aix_soname
=aix
7971 with_aix_soname
=$lt_cv_with_aix_soname
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7975 $as_echo "$with_aix_soname" >&6; }
7976 if test aix
!= "$with_aix_soname"; then
7977 # For the AIX way of multilib, we name the shared archive member
7978 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7979 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7980 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7981 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7982 if test 64 = "${OBJECT_MODE-32}"; then
7983 shared_archive_member_spec
=shr_64
7985 shared_archive_member_spec
=shr
8003 # This can be used to rebuild libtool when needed
8004 LIBTOOL_DEPS
=$ltmain
8006 # Always use our own libtool.
8007 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8038 test -z "$LN_S" && LN_S
="ln -s"
8053 if test -n "${ZSH_VERSION+set}"; then
8054 setopt NO_GLOB_SUBST
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8058 $as_echo_n "checking for objdir... " >&6; }
8059 if ${lt_cv_objdir+:} false
; then :
8060 $as_echo_n "(cached) " >&6
8062 rm -f .libs
2>/dev
/null
8063 mkdir .libs
2>/dev
/null
8064 if test -d .libs
; then
8067 # MS-DOS does not allow filenames that begin with a dot.
8070 rmdir .libs
2>/dev
/null
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8073 $as_echo "$lt_cv_objdir" >&6; }
8074 objdir
=$lt_cv_objdir
8080 cat >>confdefs.h
<<_ACEOF
8081 #define LT_OBJDIR "$lt_cv_objdir/"
8089 # AIX sometimes has problems with the GCC collect2 program. For some
8090 # reason, if we set the COLLECT_NAMES environment variable, the problems
8091 # vanish in a puff of smoke.
8092 if test set != "${COLLECT_NAMES+set}"; then
8094 export COLLECT_NAMES
8101 can_build_shared
=yes
8103 # All known linkers require a '.a' archive for static linking (except MSVC,
8104 # which needs '.lib').
8107 with_gnu_ld
=$lt_cv_prog_gnu_ld
8112 # Set sane defaults for various variables
8113 test -z "$CC" && CC
=cc
8114 test -z "$LTCC" && LTCC
=$CC
8115 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8116 test -z "$LD" && LD
=ld
8117 test -z "$ac_objext" && ac_objext
=o
8119 func_cc_basename
$compiler
8120 cc_basename
=$func_cc_basename_result
8123 # Only perform the check for file, if the check method requires it
8124 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8125 case $deplibs_check_method in
8127 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8129 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8130 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8131 $as_echo_n "(cached) " >&6
8135 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8138 lt_save_MAGIC_CMD
=$MAGIC_CMD
8139 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8140 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8141 for ac_dir
in $ac_dummy; do
8143 test -z "$ac_dir" && ac_dir
=.
8144 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8145 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8146 if test -n "$file_magic_test_file"; then
8147 case $deplibs_check_method in
8149 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8150 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8151 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8152 $EGREP "$file_magic_regex" > /dev
/null
; then
8157 *** Warning: the command libtool uses to detect shared libraries,
8158 *** $file_magic_cmd, produces output that libtool cannot recognize.
8159 *** The result is that libtool may fail to recognize shared libraries
8160 *** as such. This will affect the creation of libtool libraries that
8161 *** depend on shared libraries, but programs linked with such libtool
8162 *** libraries will work regardless of this problem. Nevertheless, you
8163 *** may want to report the problem to your system manager and/or to
8164 *** bug-libtool@gnu.org
8174 MAGIC_CMD
=$lt_save_MAGIC_CMD
8179 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8180 if test -n "$MAGIC_CMD"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8182 $as_echo "$MAGIC_CMD" >&6; }
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8192 if test -z "$lt_cv_path_MAGIC_CMD"; then
8193 if test -n "$ac_tool_prefix"; then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8195 $as_echo_n "checking for file... " >&6; }
8196 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8197 $as_echo_n "(cached) " >&6
8201 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8204 lt_save_MAGIC_CMD
=$MAGIC_CMD
8205 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8206 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8207 for ac_dir
in $ac_dummy; do
8209 test -z "$ac_dir" && ac_dir
=.
8210 if test -f "$ac_dir/file"; then
8211 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8212 if test -n "$file_magic_test_file"; then
8213 case $deplibs_check_method in
8215 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8216 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8217 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8218 $EGREP "$file_magic_regex" > /dev
/null
; then
8223 *** Warning: the command libtool uses to detect shared libraries,
8224 *** $file_magic_cmd, produces output that libtool cannot recognize.
8225 *** The result is that libtool may fail to recognize shared libraries
8226 *** as such. This will affect the creation of libtool libraries that
8227 *** depend on shared libraries, but programs linked with such libtool
8228 *** libraries will work regardless of this problem. Nevertheless, you
8229 *** may want to report the problem to your system manager and/or to
8230 *** bug-libtool@gnu.org
8240 MAGIC_CMD
=$lt_save_MAGIC_CMD
8245 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8246 if test -n "$MAGIC_CMD"; then
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8248 $as_echo "$MAGIC_CMD" >&6; }
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8251 $as_echo "no" >&6; }
8264 # Use C for the default configuration in the libtool script
8268 ac_cpp
='$CPP $CPPFLAGS'
8269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8274 # Source file extension for C test sources.
8277 # Object file extension for compiled C test sources.
8281 # Code to be used in simple compile tests
8282 lt_simple_compile_test_code
="int some_variable = 0;"
8284 # Code to be used in simple link tests
8285 lt_simple_link_test_code
='int main(){return(0);}'
8293 # If no C compiler was specified, use CC.
8296 # If no C compiler flags were specified, use CFLAGS.
8297 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8299 # Allow CC to be a program name with arguments.
8302 # Save the default compiler, since it gets overwritten when the other
8303 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8304 compiler_DEFAULT
=$CC
8306 # save warnings/boilerplate of simple test code
8307 ac_outfile
=conftest.
$ac_objext
8308 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8309 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8310 _lt_compiler_boilerplate
=`cat conftest.err`
8313 ac_outfile
=conftest.
$ac_objext
8314 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8315 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8316 _lt_linker_boilerplate
=`cat conftest.err`
8321 ## There is no encapsulation within the following macros, do not change
8322 ## the running order or otherwise move them around unless you know exactly
8323 ## what you are doing...
8324 if test -n "$compiler"; then
8326 lt_prog_compiler_no_builtin_flag
=
8328 if test yes = "$GCC"; then
8329 case $cc_basename in
8331 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8333 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8337 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8338 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8339 $as_echo_n "(cached) " >&6
8341 lt_cv_prog_compiler_rtti_exceptions
=no
8342 ac_outfile
=conftest.
$ac_objext
8343 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8344 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8345 # Insert the option either (1) after the last *FLAGS variable, or
8346 # (2) before a word containing "conftest.", or (3) at the end.
8347 # Note that $ac_compile itself does not contain backslashes and begins
8348 # with a dollar sign (not a hyphen), so the echo should work correctly.
8349 # The option is referenced via a variable to avoid confusing sed.
8350 lt_compile
=`echo "$ac_compile" | $SED \
8351 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8352 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8353 -e 's:$: $lt_compiler_flag:'`
8354 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8355 (eval "$lt_compile" 2>conftest.err
)
8357 cat conftest.err
>&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 if (exit $ac_status) && test -s "$ac_outfile"; then
8360 # The compiler can only warn and ignore the option if not recognized
8361 # So say no if there are warnings other than the usual output.
8362 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8363 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8364 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8365 lt_cv_prog_compiler_rtti_exceptions
=yes
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8372 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8374 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8375 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8387 lt_prog_compiler_wl
=
8388 lt_prog_compiler_pic
=
8389 lt_prog_compiler_static
=
8392 if test yes = "$GCC"; then
8393 lt_prog_compiler_wl
='-Wl,'
8394 lt_prog_compiler_static
='-static'
8398 # All AIX code is PIC.
8399 if test ia64
= "$host_cpu"; then
8400 # AIX 5 now supports IA64 processor
8401 lt_prog_compiler_static
='-Bstatic'
8403 lt_prog_compiler_pic
='-fPIC'
8409 # see comment about AmigaOS4 .so support
8410 lt_prog_compiler_pic
='-fPIC'
8413 # FIXME: we need at least 68020 code to build shared libraries, but
8414 # adding the '-m68020' flag to GCC prevents building anything better,
8416 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8421 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8422 # PIC is the default for these OSes.
8425 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8426 # This hack is so that the source file can tell whether it is being
8427 # built for inclusion in a dll (and should export symbols for example).
8428 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8429 # (--disable-auto-import) libraries
8430 lt_prog_compiler_pic
='-DDLL_EXPORT'
8433 lt_prog_compiler_static
='$wl-static'
8438 darwin
* | rhapsody
*)
8439 # PIC is the default on this platform
8440 # Common symbols not allowed in MH_DYLIB files
8441 lt_prog_compiler_pic
='-fno-common'
8445 # PIC is the default for Haiku.
8446 # The "-static" flag exists, but is broken.
8447 lt_prog_compiler_static
=
8451 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8452 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8453 # sets the default TLS model and affects inlining.
8459 lt_prog_compiler_pic
='-fPIC'
8465 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8466 # Instead, we relocate shared libraries at runtime.
8470 # Just because we use GCC doesn't mean we suddenly get shared libraries
8471 # on systems that don't support them.
8472 lt_prog_compiler_can_build_shared
=no
8477 # QNX uses GNU C++, but need to define -shared option too, otherwise
8479 lt_prog_compiler_pic
='-fPIC -shared'
8483 if test -d /usr
/nec
; then
8484 lt_prog_compiler_pic
=-Kconform_pic
8489 lt_prog_compiler_pic
='-fPIC'
8493 case $cc_basename in
8494 nvcc
*) # Cuda Compiler Driver 2.2
8495 lt_prog_compiler_wl
='-Xlinker '
8496 if test -n "$lt_prog_compiler_pic"; then
8497 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8502 # PORTME Check for flag to pass linker flags through the system compiler.
8505 lt_prog_compiler_wl
='-Wl,'
8506 if test ia64
= "$host_cpu"; then
8507 # AIX 5 now supports IA64 processor
8508 lt_prog_compiler_static
='-Bstatic'
8510 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8514 darwin
* | rhapsody
*)
8515 # PIC is the default on this platform
8516 # Common symbols not allowed in MH_DYLIB files
8517 lt_prog_compiler_pic
='-fno-common'
8518 case $cc_basename in
8520 # NAG Fortran compiler
8521 lt_prog_compiler_wl
='-Wl,-Wl,,'
8522 lt_prog_compiler_pic
='-PIC'
8523 lt_prog_compiler_static
='-Bstatic'
8528 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8529 # This hack is so that the source file can tell whether it is being
8530 # built for inclusion in a dll (and should export symbols for example).
8531 lt_prog_compiler_pic
='-DDLL_EXPORT'
8534 lt_prog_compiler_static
='$wl-static'
8539 hpux9
* | hpux10
* | hpux11
*)
8540 lt_prog_compiler_wl
='-Wl,'
8541 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8548 lt_prog_compiler_pic
='+Z'
8551 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8552 lt_prog_compiler_static
='$wl-a ${wl}archive'
8555 irix5
* | irix6
* | nonstopux
*)
8556 lt_prog_compiler_wl
='-Wl,'
8557 # PIC (with -KPIC) is the default.
8558 lt_prog_compiler_static
='-non_shared'
8561 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8562 case $cc_basename in
8563 # old Intel for x86_64, which still supported -KPIC.
8565 lt_prog_compiler_wl
='-Wl,'
8566 lt_prog_compiler_pic
='-KPIC'
8567 lt_prog_compiler_static
='-static'
8569 # icc used to be incompatible with GCC.
8570 # ICC 10 doesn't accept -KPIC any more.
8572 lt_prog_compiler_wl
='-Wl,'
8573 lt_prog_compiler_pic
='-fPIC'
8574 lt_prog_compiler_static
='-static'
8576 # Lahey Fortran 8.1.
8578 lt_prog_compiler_wl
='-Wl,'
8579 lt_prog_compiler_pic
='--shared'
8580 lt_prog_compiler_static
='--static'
8583 # NAG Fortran compiler
8584 lt_prog_compiler_wl
='-Wl,-Wl,,'
8585 lt_prog_compiler_pic
='-PIC'
8586 lt_prog_compiler_static
='-Bstatic'
8589 # Fabrice Bellard et al's Tiny C Compiler
8590 lt_prog_compiler_wl
='-Wl,'
8591 lt_prog_compiler_pic
='-fPIC'
8592 lt_prog_compiler_static
='-static'
8594 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8595 # Portland Group compilers (*not* the Pentium gcc compiler,
8596 # which looks to be a dead project)
8597 lt_prog_compiler_wl
='-Wl,'
8598 lt_prog_compiler_pic
='-fpic'
8599 lt_prog_compiler_static
='-Bstatic'
8602 lt_prog_compiler_wl
='-Wl,'
8603 # All Alpha code is PIC.
8604 lt_prog_compiler_static
='-non_shared'
8606 xl
* | bgxl
* | bgf
* | mpixl
*)
8607 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8608 lt_prog_compiler_wl
='-Wl,'
8609 lt_prog_compiler_pic
='-qpic'
8610 lt_prog_compiler_static
='-qstaticlink'
8613 case `$CC -V 2>&1 | sed 5q` in
8614 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8615 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8616 lt_prog_compiler_pic
='-KPIC'
8617 lt_prog_compiler_static
='-Bstatic'
8618 lt_prog_compiler_wl
=''
8620 *Sun\ F
* |
*Sun
*Fortran
*)
8621 lt_prog_compiler_pic
='-KPIC'
8622 lt_prog_compiler_static
='-Bstatic'
8623 lt_prog_compiler_wl
='-Qoption ld '
8627 lt_prog_compiler_pic
='-KPIC'
8628 lt_prog_compiler_static
='-Bstatic'
8629 lt_prog_compiler_wl
='-Wl,'
8631 *Intel
*\
[CF
]*Compiler
*)
8632 lt_prog_compiler_wl
='-Wl,'
8633 lt_prog_compiler_pic
='-fPIC'
8634 lt_prog_compiler_static
='-static'
8637 lt_prog_compiler_wl
='-Wl,'
8638 lt_prog_compiler_pic
='-fpic'
8639 lt_prog_compiler_static
='-Bstatic'
8647 lt_prog_compiler_pic
='-KPIC'
8648 lt_prog_compiler_static
='-Bstatic'
8652 # QNX uses GNU C++, but need to define -shared option too, otherwise
8654 lt_prog_compiler_pic
='-fPIC -shared'
8657 osf3
* | osf4
* | osf5
*)
8658 lt_prog_compiler_wl
='-Wl,'
8659 # All OSF/1 code is PIC.
8660 lt_prog_compiler_static
='-non_shared'
8664 lt_prog_compiler_static
='-non_shared'
8668 lt_prog_compiler_pic
='-KPIC'
8669 lt_prog_compiler_static
='-Bstatic'
8670 case $cc_basename in
8671 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8672 lt_prog_compiler_wl
='-Qoption ld ';;
8674 lt_prog_compiler_wl
='-Wl,';;
8679 lt_prog_compiler_wl
='-Qoption ld '
8680 lt_prog_compiler_pic
='-PIC'
8681 lt_prog_compiler_static
='-Bstatic'
8684 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8685 lt_prog_compiler_wl
='-Wl,'
8686 lt_prog_compiler_pic
='-KPIC'
8687 lt_prog_compiler_static
='-Bstatic'
8691 if test -d /usr
/nec
; then
8692 lt_prog_compiler_pic
='-Kconform_pic'
8693 lt_prog_compiler_static
='-Bstatic'
8697 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8698 lt_prog_compiler_wl
='-Wl,'
8699 lt_prog_compiler_pic
='-KPIC'
8700 lt_prog_compiler_static
='-Bstatic'
8704 lt_prog_compiler_wl
='-Wl,'
8705 lt_prog_compiler_can_build_shared
=no
8709 lt_prog_compiler_pic
='-pic'
8710 lt_prog_compiler_static
='-Bstatic'
8714 lt_prog_compiler_can_build_shared
=no
8720 # For platforms that do not support PIC, -DPIC is meaningless:
8722 lt_prog_compiler_pic
=
8725 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8730 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8731 if ${lt_cv_prog_compiler_pic+:} false
; then :
8732 $as_echo_n "(cached) " >&6
8734 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8737 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8738 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8741 # Check to make sure the PIC flag actually works.
8743 if test -n "$lt_prog_compiler_pic"; then
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8745 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8746 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8747 $as_echo_n "(cached) " >&6
8749 lt_cv_prog_compiler_pic_works
=no
8750 ac_outfile
=conftest.
$ac_objext
8751 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8752 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8753 # Insert the option either (1) after the last *FLAGS variable, or
8754 # (2) before a word containing "conftest.", or (3) at the end.
8755 # Note that $ac_compile itself does not contain backslashes and begins
8756 # with a dollar sign (not a hyphen), so the echo should work correctly.
8757 # The option is referenced via a variable to avoid confusing sed.
8758 lt_compile
=`echo "$ac_compile" | $SED \
8759 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8760 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8761 -e 's:$: $lt_compiler_flag:'`
8762 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8763 (eval "$lt_compile" 2>conftest.err
)
8765 cat conftest.err
>&5
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 if (exit $ac_status) && test -s "$ac_outfile"; then
8768 # The compiler can only warn and ignore the option if not recognized
8769 # So say no if there are warnings other than the usual output.
8770 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8771 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8772 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8773 lt_cv_prog_compiler_pic_works
=yes
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8780 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8782 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8783 case $lt_prog_compiler_pic in
8785 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8788 lt_prog_compiler_pic
=
8789 lt_prog_compiler_can_build_shared
=no
8805 # Check to make sure the static flag actually works.
8807 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8809 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8810 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8811 $as_echo_n "(cached) " >&6
8813 lt_cv_prog_compiler_static_works
=no
8814 save_LDFLAGS
=$LDFLAGS
8815 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8816 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8817 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8818 # The linker can only warn and ignore the option if not recognized
8819 # So say no if there are warnings
8820 if test -s conftest.err
; then
8821 # Append any errors to the config.log.
8822 cat conftest.err
1>&5
8823 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8824 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8825 if diff conftest.exp conftest.er2
>/dev
/null
; then
8826 lt_cv_prog_compiler_static_works
=yes
8829 lt_cv_prog_compiler_static_works
=yes
8833 LDFLAGS
=$save_LDFLAGS
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8837 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8839 if test yes = "$lt_cv_prog_compiler_static_works"; then
8842 lt_prog_compiler_static
=
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8852 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8853 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8854 $as_echo_n "(cached) " >&6
8856 lt_cv_prog_compiler_c_o
=no
8857 $RM -r conftest
2>/dev
/null
8861 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8863 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8864 # Insert the option either (1) after the last *FLAGS variable, or
8865 # (2) before a word containing "conftest.", or (3) at the end.
8866 # Note that $ac_compile itself does not contain backslashes and begins
8867 # with a dollar sign (not a hyphen), so the echo should work correctly.
8868 lt_compile
=`echo "$ac_compile" | $SED \
8869 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8871 -e 's:$: $lt_compiler_flag:'`
8872 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8873 (eval "$lt_compile" 2>out
/conftest.err
)
8875 cat out
/conftest.err
>&5
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8879 # The compiler can only warn and ignore the option if not recognized
8880 # So say no if there are warnings
8881 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8882 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8883 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8884 lt_cv_prog_compiler_c_o
=yes
8889 # SGI C++ compiler will create directory out/ii_files/ for
8890 # template instantiation
8891 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8892 $RM out
/* && rmdir out
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8899 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8907 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8908 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8909 $as_echo_n "(cached) " >&6
8911 lt_cv_prog_compiler_c_o
=no
8912 $RM -r conftest
2>/dev
/null
8916 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8918 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8919 # Insert the option either (1) after the last *FLAGS variable, or
8920 # (2) before a word containing "conftest.", or (3) at the end.
8921 # Note that $ac_compile itself does not contain backslashes and begins
8922 # with a dollar sign (not a hyphen), so the echo should work correctly.
8923 lt_compile
=`echo "$ac_compile" | $SED \
8924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8926 -e 's:$: $lt_compiler_flag:'`
8927 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8928 (eval "$lt_compile" 2>out
/conftest.err
)
8930 cat out
/conftest.err
>&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8934 # The compiler can only warn and ignore the option if not recognized
8935 # So say no if there are warnings
8936 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8937 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8938 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8939 lt_cv_prog_compiler_c_o
=yes
8944 # SGI C++ compiler will create directory out/ii_files/ for
8945 # template instantiation
8946 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8947 $RM out
/* && rmdir out
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8954 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8959 hard_links
=nottested
8960 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8961 # do not overwrite the value of need_locks provided by the user
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8963 $as_echo_n "checking if we can lock with hard links... " >&6; }
8966 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8968 ln conftest.a conftest.b
2>&5 || hard_links
=no
8969 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8971 $as_echo "$hard_links" >&6; }
8972 if test no
= "$hard_links"; then
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8974 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8987 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8990 allow_undefined_flag
=
8991 always_export_symbols
=no
8993 archive_expsym_cmds
=
8994 compiler_needs_object
=no
8995 enable_shared_with_static_runtimes
=no
8996 export_dynamic_flag_spec
=
8997 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8998 hardcode_automatic
=no
9000 hardcode_direct_absolute
=no
9001 hardcode_libdir_flag_spec
=
9002 hardcode_libdir_separator
=
9004 hardcode_shlibpath_var
=unsupported
9006 link_all_deplibs
=unknown
9009 old_archive_from_new_cmds
=
9010 old_archive_from_expsyms_cmds
=
9011 thread_safe_flag_spec
=
9012 whole_archive_flag_spec
=
9013 # include_expsyms should be a list of space-separated symbols to be *always*
9014 # included in the symbol list
9016 # exclude_expsyms can be an extended regexp of symbols to exclude
9017 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9018 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9019 # as well as any symbol that contains 'd'.
9020 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9021 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9022 # platforms (ab)use it in PIC code, but their linkers get confused if
9023 # the symbol is explicitly referenced. Since portable code cannot
9024 # rely on this symbol name, it's probably fine to never include it in
9025 # preloaded symbol tables.
9026 # Exclude shared library initialization/finalization symbols.
9027 extract_expsyms_cmds
=
9030 cygwin
* | mingw
* | pw32
* | cegcc
*)
9031 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9032 # When not using gcc, we currently assume that we are using
9033 # Microsoft Visual C++.
9034 if test yes != "$GCC"; then
9039 # we just hope/assume this is gcc and not c89 (= MSVC++)
9049 # On some targets, GNU ld is compatible enough with the native linker
9050 # that we're better off using the native interface for both.
9051 lt_use_gnu_ld_interface
=no
9052 if test yes = "$with_gnu_ld"; then
9055 # The AIX port of GNU ld has always aspired to compatibility
9056 # with the native linker. However, as the warning in the GNU ld
9057 # block says, versions before 2.19.5* couldn't really create working
9058 # shared libraries, regardless of the interface used.
9059 case `$LD -v 2>&1` in
9060 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9061 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9062 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9064 lt_use_gnu_ld_interface
=yes
9069 lt_use_gnu_ld_interface
=yes
9074 if test yes = "$lt_use_gnu_ld_interface"; then
9075 # If archive_cmds runs LD, not CC, wlarc should be empty
9078 # Set some defaults for GNU ld with shared library support. These
9079 # are reset later if shared libraries are not supported. Putting them
9080 # here allows them to be overridden if necessary.
9081 runpath_var
=LD_RUN_PATH
9082 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9083 export_dynamic_flag_spec
='$wl--export-dynamic'
9084 # ancient GNU ld didn't support --whole-archive et. al.
9085 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9086 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9088 whole_archive_flag_spec
=
9090 supports_anon_versioning
=no
9091 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9092 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9093 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9094 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9095 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9096 *\
2.11.
*) ;; # other 2.11 versions
9097 *) supports_anon_versioning
=yes ;;
9100 # See if GNU ld supports shared libraries.
9103 # On AIX/PPC, the GNU linker is very broken
9104 if test ia64
!= "$host_cpu"; then
9108 *** Warning: the GNU linker, at least up to release 2.19, is reported
9109 *** to be unable to reliably create shared libraries on AIX.
9110 *** Therefore, libtool is disabling shared libraries support. If you
9111 *** really care for shared libraries, you may want to install binutils
9112 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9113 *** You will then need to restart the configuration process.
9122 # see comment about AmigaOS4 .so support
9123 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9124 archive_expsym_cmds
=''
9127 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)'
9128 hardcode_libdir_flag_spec
='-L$libdir'
9129 hardcode_minus_L
=yes
9135 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9136 allow_undefined_flag
=unsupported
9137 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9138 # support --undefined. This deserves some investigation. FIXME
9139 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9145 cygwin
* | mingw
* | pw32
* | cegcc
*)
9146 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9147 # as there is no search path for DLLs.
9148 hardcode_libdir_flag_spec
='-L$libdir'
9149 export_dynamic_flag_spec
='$wl--export-all-symbols'
9150 allow_undefined_flag
=unsupported
9151 always_export_symbols
=no
9152 enable_shared_with_static_runtimes
=yes
9153 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9154 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9156 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9157 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9158 # If the export-symbols file already is a .def file, use it as
9159 # is; otherwise, prepend EXPORTS...
9160 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9161 cp $export_symbols $output_objdir/$soname.def;
9163 echo EXPORTS > $output_objdir/$soname.def;
9164 cat $export_symbols >> $output_objdir/$soname.def;
9166 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9174 link_all_deplibs
=yes
9178 hardcode_libdir_flag_spec
='-L$libdir'
9179 hardcode_minus_L
=yes
9180 allow_undefined_flag
=unsupported
9182 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9183 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9184 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9185 $ECHO EXPORTS >> $output_objdir/$libname.def~
9186 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9187 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9188 emximp -o $lib $output_objdir/$libname.def'
9189 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9190 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9191 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9192 $ECHO EXPORTS >> $output_objdir/$libname.def~
9194 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9195 prefix_cmds="$prefix_cmds -e 1d";
9197 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9198 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9199 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9200 emximp -o $lib $output_objdir/$libname.def'
9201 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9202 enable_shared_with_static_runtimes
=yes
9207 hardcode_shlibpath_var
=no
9208 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9209 export_dynamic_flag_spec
='$wl-E'
9210 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9211 # Instead, shared libraries are loaded at an image base (0x10000000 by
9212 # default) and relocated if they conflict, which is a slow very memory
9213 # consuming and fragmenting process. To avoid this, we pick a random,
9214 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9215 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9216 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9217 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'
9220 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9222 if test linux-dietlibc
= "$host_os"; then
9223 case $cc_basename in
9224 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9227 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9228 && test no
= "$tmp_diet"
9230 tmp_addflag
=' $pic_flag'
9231 tmp_sharedflag
='-shared'
9232 case $cc_basename,$host_cpu in
9233 pgcc
*) # Portland Group C compiler
9234 whole_archive_flag_spec
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9235 tmp_addflag
=' $pic_flag'
9237 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9238 # Portland Group f77 and f90 compilers
9239 whole_archive_flag_spec
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9240 tmp_addflag
=' $pic_flag -Mnomain' ;;
9241 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9242 tmp_addflag
=' -i_dynamic' ;;
9243 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9244 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9245 ifc
* | ifort
*) # Intel Fortran compiler
9246 tmp_addflag
=' -nofor_main' ;;
9247 lf95
*) # Lahey Fortran 8.1
9248 whole_archive_flag_spec
=
9249 tmp_sharedflag
='--shared' ;;
9250 nagfor
*) # NAGFOR 5.3
9251 tmp_sharedflag
='-Wl,-shared' ;;
9252 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9253 tmp_sharedflag
='-qmkshrobj'
9255 nvcc
*) # Cuda Compiler Driver 2.2
9256 whole_archive_flag_spec
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9257 compiler_needs_object
=yes
9260 case `$CC -V 2>&1 | sed 5q` in
9261 *Sun\ C
*) # Sun C 5.9
9262 whole_archive_flag_spec
='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9263 compiler_needs_object
=yes
9264 tmp_sharedflag
='-G' ;;
9265 *Sun\ F
*) # Sun Fortran 8.3
9266 tmp_sharedflag
='-G' ;;
9268 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9270 if test yes = "$supports_anon_versioning"; then
9271 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9272 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9273 echo "local: *; };" >> $output_objdir/$libname.ver~
9274 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9277 case $cc_basename in
9279 export_dynamic_flag_spec
='-rdynamic'
9281 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9282 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9283 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9284 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9285 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9286 if test yes = "$supports_anon_versioning"; then
9287 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9288 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9289 echo "local: *; };" >> $output_objdir/$libname.ver~
9290 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9300 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9301 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9304 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9305 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9310 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9314 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9315 *** create shared libraries on Solaris systems. Therefore, libtool
9316 *** is disabling shared libraries support. We urge you to upgrade GNU
9317 *** binutils to release 2.9.1 or newer. Another option is to modify
9318 *** your PATH or compiler configuration so that the native linker is
9319 *** used, and then restart.
9322 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9323 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9324 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9330 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9331 case `$LD -v 2>&1` in
9332 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9336 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9337 *** reliably create shared libraries on SCO systems. Therefore, libtool
9338 *** is disabling shared libraries support. We urge you to upgrade GNU
9339 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9340 *** your PATH or compiler configuration so that the native linker is
9341 *** used, and then restart.
9346 # For security reasons, it is highly recommended that you always
9347 # use absolute paths for naming shared libraries, and exclude the
9348 # DT_RUNPATH tag from executables and libraries. But doing so
9349 # requires that you compile everything twice, which is a pain.
9350 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9351 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9352 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9353 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9362 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9365 hardcode_shlibpath_var
=no
9369 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9370 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9371 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9378 if test no
= "$ld_shlibs"; then
9380 hardcode_libdir_flag_spec
=
9381 export_dynamic_flag_spec
=
9382 whole_archive_flag_spec
=
9385 # PORTME fill in a description of your system's linker (not GNU ld)
9388 allow_undefined_flag
=unsupported
9389 always_export_symbols
=yes
9390 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'
9391 # Note: this linker hardcodes the directories in LIBPATH if there
9392 # are no directories specified by -L.
9393 hardcode_minus_L
=yes
9394 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9395 # Neither direct hardcoding nor static linking is supported with a
9397 hardcode_direct
=unsupported
9402 if test ia64
= "$host_cpu"; then
9403 # On IA64, the linker does run time linking by default, so we don't
9404 # have to do anything special.
9405 aix_use_runtimelinking
=no
9406 exp_sym_flag
='-Bexport'
9409 # If we're using GNU nm, then we don't want the "-C" option.
9410 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9411 # Without the "-l" option, or with the "-B" option, AIX nm treats
9412 # weak defined symbols like other global defined symbols, whereas
9413 # GNU nm marks them as "W".
9414 # While the 'weak' keyword is ignored in the Export File, we need
9415 # it in the Import File for the 'aix-soname' feature, so we have
9416 # to replace the "-B" option with "-P" for AIX nm.
9417 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9418 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9420 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9422 aix_use_runtimelinking
=no
9424 # Test if we are trying to use run time linking or normal
9425 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9426 # have runtime linking enabled, and use it for executables.
9427 # For shared libraries, we enable/disable runtime linking
9428 # depending on the kind of the shared library created -
9429 # when "with_aix_soname,aix_use_runtimelinking" is:
9430 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9431 # "aix,yes" lib.so shared, rtl:yes, for executables
9432 # lib.a static archive
9433 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9434 # lib.a(lib.so.V) shared, rtl:no, for executables
9435 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9436 # lib.a(lib.so.V) shared, rtl:no
9437 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9438 # lib.a static archive
9439 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9440 for ld_flag
in $LDFLAGS; do
9441 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9442 aix_use_runtimelinking
=yes
9446 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9447 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9448 # so we don't have lib.a shared libs to link our executables.
9449 # We have to force runtime linking in this case.
9450 aix_use_runtimelinking
=yes
9451 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9456 exp_sym_flag
='-bexport'
9457 no_entry_flag
='-bnoentry'
9460 # When large executables or shared objects are built, AIX ld can
9461 # have problems creating the table of contents. If linking a library
9462 # or program results in "error TOC overflow" add -mminimal-toc to
9463 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9464 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9468 hardcode_direct_absolute
=yes
9469 hardcode_libdir_separator
=':'
9470 link_all_deplibs
=yes
9471 file_list_spec
='$wl-f,'
9472 case $with_aix_soname,$aix_use_runtimelinking in
9473 aix
,*) ;; # traditional, no import file
9474 svr4
,* |
*,yes) # use import file
9475 # The Import File defines what to hardcode.
9477 hardcode_direct_absolute
=no
9481 if test yes = "$GCC"; then
9482 case $host_os in aix4.
[012]|aix4.
[012].
*)
9483 # We only want to do this on AIX 4.2 and lower, the check
9484 # below for broken collect2 doesn't work under 4.3+
9485 collect2name
=`$CC -print-prog-name=collect2`
9486 if test -f "$collect2name" &&
9487 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9489 # We have reworked collect2
9492 # We have old collect2
9493 hardcode_direct
=unsupported
9494 # It fails to find uninstalled libraries when the uninstalled
9495 # path is not listed in the libpath. Setting hardcode_minus_L
9496 # to unsupported forces relinking
9497 hardcode_minus_L
=yes
9498 hardcode_libdir_flag_spec
='-L$libdir'
9499 hardcode_libdir_separator
=
9503 shared_flag
='-shared'
9504 if test yes = "$aix_use_runtimelinking"; then
9505 shared_flag
="$shared_flag "'$wl-G'
9507 # Need to ensure runtime linking is disabled for the traditional
9508 # shared library, or the linker may eventually find shared libraries
9509 # /with/ Import File - we do not want to mix them.
9510 shared_flag_aix
='-shared'
9511 shared_flag_svr4
='-shared $wl-G'
9514 if test ia64
= "$host_cpu"; then
9515 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9516 # chokes on -Wl,-G. The following line is correct:
9519 if test yes = "$aix_use_runtimelinking"; then
9522 shared_flag
='$wl-bM:SRE'
9524 shared_flag_aix
='$wl-bM:SRE'
9525 shared_flag_svr4
='$wl-G'
9529 export_dynamic_flag_spec
='$wl-bexpall'
9530 # It seems that -bexpall does not export symbols beginning with
9531 # underscore (_), so it is better to generate a list of symbols to export.
9532 always_export_symbols
=yes
9533 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9534 # Warning - without using the other runtime loading flags (-brtl),
9535 # -berok will link without error, but may produce a broken library.
9536 allow_undefined_flag
='-berok'
9537 # Determine the default libpath from the value encoded in an
9539 if test set = "${lt_cv_aix_libpath+set}"; then
9540 aix_libpath
=$lt_cv_aix_libpath
9542 if ${lt_cv_aix_libpath_+:} false
; then :
9543 $as_echo_n "(cached) " >&6
9545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9546 /* end confdefs.h. */
9556 if ac_fn_c_try_link
"$LINENO"; then :
9558 lt_aix_libpath_sed
='
9559 /Import File Strings/,/^$/ {
9561 s/^0 *\([^ ]*\) *$/\1/
9565 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9566 # Check for a 64-bit object if we didn't find anything.
9567 if test -z "$lt_cv_aix_libpath_"; then
9568 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9571 rm -f core conftest.err conftest.
$ac_objext \
9572 conftest
$ac_exeext conftest.
$ac_ext
9573 if test -z "$lt_cv_aix_libpath_"; then
9574 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9579 aix_libpath
=$lt_cv_aix_libpath_
9582 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9583 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
9585 if test ia64
= "$host_cpu"; then
9586 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9587 allow_undefined_flag
="-z nodefs"
9588 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"
9590 # Determine the default libpath from the value encoded in an
9592 if test set = "${lt_cv_aix_libpath+set}"; then
9593 aix_libpath
=$lt_cv_aix_libpath
9595 if ${lt_cv_aix_libpath_+:} false
; then :
9596 $as_echo_n "(cached) " >&6
9598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9609 if ac_fn_c_try_link
"$LINENO"; then :
9611 lt_aix_libpath_sed
='
9612 /Import File Strings/,/^$/ {
9614 s/^0 *\([^ ]*\) *$/\1/
9618 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9619 # Check for a 64-bit object if we didn't find anything.
9620 if test -z "$lt_cv_aix_libpath_"; then
9621 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9624 rm -f core conftest.err conftest.
$ac_objext \
9625 conftest
$ac_exeext conftest.
$ac_ext
9626 if test -z "$lt_cv_aix_libpath_"; then
9627 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9632 aix_libpath
=$lt_cv_aix_libpath_
9635 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9636 # Warning - without using the other run time loading flags,
9637 # -berok will link without error, but may produce a broken library.
9638 no_undefined_flag
=' $wl-bernotok'
9639 allow_undefined_flag
=' $wl-berok'
9640 if test yes = "$with_gnu_ld"; then
9641 # We only use this code for GNU lds that support --whole-archive.
9642 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9644 # Exported symbols can be pulled into shared objects from archives
9645 whole_archive_flag_spec
='$convenience'
9647 archive_cmds_need_lc
=yes
9648 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9649 # -brtl affects multiple linker settings, -berok does not and is overridden later
9650 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9651 if test svr4
!= "$with_aix_soname"; then
9652 # This is similar to how AIX traditionally builds its shared libraries.
9653 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9655 if test aix
!= "$with_aix_soname"; then
9656 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9658 # used by -dlpreopen to get the symbols
9659 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9661 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9669 # see comment about AmigaOS4 .so support
9670 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9671 archive_expsym_cmds
=''
9674 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)'
9675 hardcode_libdir_flag_spec
='-L$libdir'
9676 hardcode_minus_L
=yes
9682 export_dynamic_flag_spec
=-rdynamic
9685 cygwin
* | mingw
* | pw32
* | cegcc
*)
9686 # When not using gcc, we currently assume that we are using
9687 # Microsoft Visual C++.
9688 # hardcode_libdir_flag_spec is actually meaningless, as there is
9689 # no search path for DLLs.
9690 case $cc_basename in
9693 hardcode_libdir_flag_spec
=' '
9694 allow_undefined_flag
=unsupported
9695 always_export_symbols
=yes
9697 # Tell ltmain to make .lib files, not .a files.
9699 # Tell ltmain to make .dll files, not .so files.
9701 # FIXME: Setting linknames here is a bad hack.
9702 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9703 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9704 cp "$export_symbols" "$output_objdir/$soname.def";
9705 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9707 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9709 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9711 # The linker will not automatically build a static lib if we build a DLL.
9712 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9713 enable_shared_with_static_runtimes
=yes
9714 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9715 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9717 old_postinstall_cmds
='chmod 644 $oldlib'
9718 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9719 lt_tool_outputfile="@TOOL_OUTPUT@"~
9720 case $lt_outputfile in
9723 lt_outputfile=$lt_outputfile.exe
9724 lt_tool_outputfile=$lt_tool_outputfile.exe
9727 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9728 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9729 $RM "$lt_outputfile.manifest";
9733 # Assume MSVC wrapper
9734 hardcode_libdir_flag_spec
=' '
9735 allow_undefined_flag
=unsupported
9736 # Tell ltmain to make .lib files, not .a files.
9738 # Tell ltmain to make .dll files, not .so files.
9740 # FIXME: Setting linknames here is a bad hack.
9741 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9742 # The linker will automatically build a .lib file if we build a DLL.
9743 old_archive_from_new_cmds
='true'
9744 # FIXME: Should let the user specify the lib program.
9745 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9746 enable_shared_with_static_runtimes
=yes
9751 darwin
* | rhapsody
*)
9754 archive_cmds_need_lc
=no
9756 hardcode_automatic
=yes
9757 hardcode_shlibpath_var
=unsupported
9758 if test yes = "$lt_cv_ld_force_load"; then
9759 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9762 whole_archive_flag_spec
=''
9764 link_all_deplibs
=yes
9765 allow_undefined_flag
=$_lt_dar_allow_undefined
9766 case $cc_basename in
9767 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9768 *) _lt_dar_can_shared
=$GCC ;;
9770 if test yes = "$_lt_dar_can_shared"; then
9771 output_verbose_link_cmd
=func_echo_all
9772 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9773 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9774 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"
9775 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"
9784 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9785 hardcode_libdir_flag_spec
='-L$libdir'
9786 hardcode_shlibpath_var
=no
9789 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9790 # support. Future versions do this automatically, but an explicit c++rt0.o
9791 # does not break anything, and helps significantly (at the cost of a little
9794 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9795 hardcode_libdir_flag_spec
='-R$libdir'
9797 hardcode_shlibpath_var
=no
9800 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9802 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9804 hardcode_minus_L
=yes
9805 hardcode_shlibpath_var
=no
9808 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9809 freebsd
* | dragonfly
*)
9810 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9811 hardcode_libdir_flag_spec
='-R$libdir'
9813 hardcode_shlibpath_var
=no
9817 if test yes = "$GCC"; then
9818 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9820 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9822 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9823 hardcode_libdir_separator
=:
9826 # hardcode_minus_L: Not really in the search PATH,
9827 # but as the default location of the library.
9828 hardcode_minus_L
=yes
9829 export_dynamic_flag_spec
='$wl-E'
9833 if test yes,no
= "$GCC,$with_gnu_ld"; then
9834 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9836 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9838 if test no
= "$with_gnu_ld"; then
9839 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9840 hardcode_libdir_separator
=:
9842 hardcode_direct_absolute
=yes
9843 export_dynamic_flag_spec
='$wl-E'
9844 # hardcode_minus_L: Not really in the search PATH,
9845 # but as the default location of the library.
9846 hardcode_minus_L
=yes
9851 if test yes,no
= "$GCC,$with_gnu_ld"; then
9854 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9857 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9860 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9866 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9869 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9873 # Older versions of the 11.00 compiler do not understand -b yet
9874 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9876 $as_echo_n "checking if $CC understands -b... " >&6; }
9877 if ${lt_cv_prog_compiler__b+:} false
; then :
9878 $as_echo_n "(cached) " >&6
9880 lt_cv_prog_compiler__b
=no
9881 save_LDFLAGS
=$LDFLAGS
9882 LDFLAGS
="$LDFLAGS -b"
9883 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9884 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9885 # The linker can only warn and ignore the option if not recognized
9886 # So say no if there are warnings
9887 if test -s conftest.err
; then
9888 # Append any errors to the config.log.
9889 cat conftest.err
1>&5
9890 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9891 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9892 if diff conftest.exp conftest.er2
>/dev
/null
; then
9893 lt_cv_prog_compiler__b
=yes
9896 lt_cv_prog_compiler__b
=yes
9900 LDFLAGS
=$save_LDFLAGS
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9904 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9906 if test yes = "$lt_cv_prog_compiler__b"; then
9907 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9909 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9915 if test no
= "$with_gnu_ld"; then
9916 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9917 hardcode_libdir_separator
=:
9922 hardcode_shlibpath_var
=no
9926 hardcode_direct_absolute
=yes
9927 export_dynamic_flag_spec
='$wl-E'
9929 # hardcode_minus_L: Not really in the search PATH,
9930 # but as the default location of the library.
9931 hardcode_minus_L
=yes
9937 irix5
* | irix6
* | nonstopux
*)
9938 if test yes = "$GCC"; then
9939 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
9940 # Try to use the -exported_symbol ld option, if it does not
9941 # work, assume that -exports_file does not work either and
9942 # implicitly export all symbols.
9943 # This should be the same for all languages, so no per-tag cache variable.
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9945 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9946 if ${lt_cv_irix_exported_symbol+:} false
; then :
9947 $as_echo_n "(cached) " >&6
9949 save_LDFLAGS
=$LDFLAGS
9950 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9952 /* end confdefs.h. */
9953 int foo (void) { return 0; }
9955 if ac_fn_c_try_link
"$LINENO"; then :
9956 lt_cv_irix_exported_symbol
=yes
9958 lt_cv_irix_exported_symbol
=no
9960 rm -f core conftest.err conftest.
$ac_objext \
9961 conftest
$ac_exeext conftest.
$ac_ext
9962 LDFLAGS
=$save_LDFLAGS
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9965 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9966 if test yes = "$lt_cv_irix_exported_symbol"; then
9967 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
9970 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
9971 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
9973 archive_cmds_need_lc
='no'
9974 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9975 hardcode_libdir_separator
=:
9977 link_all_deplibs
=yes
9981 case $cc_basename in
9983 # Fabrice Bellard et al's Tiny C Compiler
9985 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9991 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9992 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9994 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9996 hardcode_libdir_flag_spec
='-R$libdir'
9998 hardcode_shlibpath_var
=no
10002 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10003 hardcode_direct
=yes
10004 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10005 hardcode_libdir_separator
=:
10006 hardcode_shlibpath_var
=no
10012 openbsd
* | bitrig
*)
10013 if test -f /usr
/libexec
/ld.so
; then
10014 hardcode_direct
=yes
10015 hardcode_shlibpath_var
=no
10016 hardcode_direct_absolute
=yes
10017 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10018 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10020 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10021 export_dynamic_flag_spec
='$wl-E'
10023 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10032 hardcode_libdir_flag_spec
='-L$libdir'
10033 hardcode_minus_L
=yes
10034 allow_undefined_flag
=unsupported
10036 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10037 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10038 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10039 $ECHO EXPORTS >> $output_objdir/$libname.def~
10040 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10041 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10042 emximp -o $lib $output_objdir/$libname.def'
10043 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10044 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10045 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10046 $ECHO EXPORTS >> $output_objdir/$libname.def~
10047 prefix_cmds="$SED"~
10048 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10049 prefix_cmds="$prefix_cmds -e 1d";
10051 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10052 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10053 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10054 emximp -o $lib $output_objdir/$libname.def'
10055 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10056 enable_shared_with_static_runtimes
=yes
10060 if test yes = "$GCC"; then
10061 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10062 archive_cmds
='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10064 allow_undefined_flag
=' -expect_unresolved \*'
10065 archive_cmds
='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10067 archive_cmds_need_lc
='no'
10068 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10069 hardcode_libdir_separator
=:
10072 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10073 if test yes = "$GCC"; then
10074 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10075 archive_cmds
='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10076 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10078 allow_undefined_flag
=' -expect_unresolved \*'
10079 archive_cmds
='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10080 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~
10081 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
10083 # Both c and cxx compiler support -rpath directly
10084 hardcode_libdir_flag_spec
='-rpath $libdir'
10086 archive_cmds_need_lc
='no'
10087 hardcode_libdir_separator
=:
10091 no_undefined_flag
=' -z defs'
10092 if test yes = "$GCC"; then
10094 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10096 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10098 case `$CC -V 2>&1` in
10101 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10102 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10103 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10107 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10108 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10109 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10113 hardcode_libdir_flag_spec
='-R$libdir'
10114 hardcode_shlibpath_var
=no
10116 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10118 # The compiler driver will combine and reorder linker options,
10119 # but understands '-z linker_flag'. GCC discards it without '$wl',
10120 # but is careful enough not to reorder.
10121 # Supported since Solaris 2.6 (maybe 2.5.1?)
10122 if test yes = "$GCC"; then
10123 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10125 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10129 link_all_deplibs
=yes
10133 if test sequent
= "$host_vendor"; then
10134 # Use $CC to link under sequent, because it throws in some extra .o
10135 # files that make .init and .fini sections work.
10136 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10138 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_libdir_flag_spec
='-L$libdir'
10141 hardcode_direct
=yes
10142 hardcode_minus_L
=yes
10143 hardcode_shlibpath_var
=no
10147 case $host_vendor in
10149 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10150 hardcode_direct
=yes # is this really true???
10153 ## LD is ld it makes a PLAMLIB
10154 ## CC just makes a GrossModule.
10155 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10156 reload_cmds
='$CC -r -o $output$reload_objs'
10160 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10161 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10164 runpath_var
='LD_RUN_PATH'
10165 hardcode_shlibpath_var
=no
10169 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10170 hardcode_shlibpath_var
=no
10171 export_dynamic_flag_spec
='-Bexport'
10175 if test -d /usr
/nec
; then
10176 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10177 hardcode_shlibpath_var
=no
10178 runpath_var
=LD_RUN_PATH
10179 hardcode_runpath_var
=yes
10184 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10185 no_undefined_flag
='$wl-z,text'
10186 archive_cmds_need_lc
=no
10187 hardcode_shlibpath_var
=no
10188 runpath_var
='LD_RUN_PATH'
10190 if test yes = "$GCC"; then
10191 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10192 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10194 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10195 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199 sysv5
* | sco3.2v5
* | sco5v6
*)
10200 # Note: We CANNOT use -z defs as we might desire, because we do not
10201 # link with -lc, and that would cause any symbols used from libc to
10202 # always be unresolved, which means just about no library would
10203 # ever link correctly. If we're not using GNU ld we use -z text
10204 # though, which does catch some bad symbols but isn't as heavy-handed
10206 no_undefined_flag
='$wl-z,text'
10207 allow_undefined_flag
='$wl-z,nodefs'
10208 archive_cmds_need_lc
=no
10209 hardcode_shlibpath_var
=no
10210 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10211 hardcode_libdir_separator
=':'
10212 link_all_deplibs
=yes
10213 export_dynamic_flag_spec
='$wl-Bexport'
10214 runpath_var
='LD_RUN_PATH'
10216 if test yes = "$GCC"; then
10217 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10218 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10220 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10221 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10226 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10227 hardcode_libdir_flag_spec
='-L$libdir'
10228 hardcode_shlibpath_var
=no
10236 if test sni
= "$host_vendor"; then
10238 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10239 export_dynamic_flag_spec
='$wl-Blargedynsym'
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10246 $as_echo "$ld_shlibs" >&6; }
10247 test no
= "$ld_shlibs" && can_build_shared
=no
10249 with_gnu_ld
=$with_gnu_ld
10266 # Do we need to explicitly link libc?
10268 case "x$archive_cmds_need_lc" in
10270 # Assume -lc should be added
10271 archive_cmds_need_lc
=yes
10273 if test yes,yes = "$GCC,$enable_shared"; then
10274 case $archive_cmds in
10276 # FIXME: we may have to deal with multi-command sequences.
10279 # Test whether the compiler implicitly links with -lc since on some
10280 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10281 # to ld, don't add -lc before -lgcc.
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10283 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10284 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10285 $as_echo_n "(cached) " >&6
10288 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10291 (eval $ac_compile) 2>&5
10293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10294 test $ac_status = 0; } 2>conftest.err
; then
10297 libobjs
=conftest.
$ac_objext
10299 wl
=$lt_prog_compiler_wl
10300 pic_flag
=$lt_prog_compiler_pic
10306 lt_save_allow_undefined_flag
=$allow_undefined_flag
10307 allow_undefined_flag
=
10308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10309 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10312 test $ac_status = 0; }
10314 lt_cv_archive_cmds_need_lc
=no
10316 lt_cv_archive_cmds_need_lc
=yes
10318 allow_undefined_flag
=$lt_save_allow_undefined_flag
10320 cat conftest.err
1>&5
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10326 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10327 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10486 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10488 if test yes = "$GCC"; then
10490 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10491 *) lt_awk_arg
='/^libraries:/' ;;
10494 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10495 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10497 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10498 case $lt_search_path_spec in
10500 # if the path contains ";" then we assume it to be the separator
10501 # otherwise default to the standard path separator (i.e. ":") - it is
10502 # assumed that no part of a normal pathname contains ";" but that should
10503 # okay in the real world where ";" in dirpaths is itself problematic.
10504 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10507 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10510 # Ok, now we have the path, separated by spaces, we can step through it
10511 # and add multilib dir if necessary...
10512 lt_tmp_lt_search_path_spec
=
10513 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10514 # ...but if some path component already ends with the multilib dir we assume
10515 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10516 case "$lt_multi_os_dir; $lt_search_path_spec " in
10517 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10521 for lt_sys_path
in $lt_search_path_spec; do
10522 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10523 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10524 elif test -n "$lt_multi_os_dir"; then
10525 test -d "$lt_sys_path" && \
10526 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10529 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10530 BEGIN {RS = " "; FS = "/|\n";} {
10533 for (lt_i = NF; lt_i > 0; lt_i--) {
10534 if ($lt_i != "" && $lt_i != ".") {
10535 if ($lt_i == "..") {
10538 if (lt_count == 0) {
10539 lt_foo = "/" $lt_i lt_foo;
10546 if (lt_foo != "") { lt_freq[lt_foo]++; }
10547 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10549 # AWK program above erroneously prepends '/' to C:/dos/paths
10552 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10553 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10555 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10557 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10559 library_names_spec
=
10560 libname_spec
='lib$name'
10564 postuninstall_cmds
=
10568 shlibpath_overrides_runpath
=unknown
10570 dynamic_linker
="$host_os ld.so"
10571 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10572 need_lib_prefix
=unknown
10573 hardcode_into_libs
=no
10575 # when you set need_version to no, make sure it does not cause -set_version
10576 # flags to be left without arguments
10577 need_version
=unknown
10583 version_type
=linux
# correct to gnu/linux during the next big refactor
10584 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10585 shlibpath_var
=LIBPATH
10587 # AIX 3 has no versioning support, so we append a major version to the name.
10588 soname_spec
='$libname$release$shared_ext$major'
10592 version_type
=linux
# correct to gnu/linux during the next big refactor
10595 hardcode_into_libs
=yes
10596 if test ia64
= "$host_cpu"; then
10597 # AIX 5 supports IA64
10598 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10599 shlibpath_var
=LD_LIBRARY_PATH
10601 # With GCC up to 2.95.x, collect2 would create an import file
10602 # for dependence libraries. The import file would start with
10603 # the line '#! .'. This would cause the generated library to
10604 # depend on '.', always an invalid library. This was fixed in
10605 # development snapshots of GCC prior to 3.0.
10607 aix4 | aix4.
[01] | aix4.
[01].
*)
10608 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10610 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10613 can_build_shared
=no
10617 # Using Import Files as archive members, it is possible to support
10618 # filename-based versioning of shared library archives on AIX. While
10619 # this would work for both with and without runtime linking, it will
10620 # prevent static linking of such archives. So we do filename-based
10621 # shared library versioning with .so extension only, which is used
10622 # when both runtime linking and shared linking is enabled.
10623 # Unfortunately, runtime linking may impact performance, so we do
10624 # not want this to be the default eventually. Also, we use the
10625 # versioned .so libs for executables only if there is the -brtl
10626 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10627 # To allow for filename-based versioning support, we need to create
10628 # libNAME.so.V as an archive file, containing:
10629 # *) an Import File, referring to the versioned filename of the
10630 # archive as well as the shared archive member, telling the
10631 # bitwidth (32 or 64) of that shared object, and providing the
10632 # list of exported symbols of that shared object, eventually
10633 # decorated with the 'weak' keyword
10634 # *) the shared object with the F_LOADONLY flag set, to really avoid
10635 # it being seen by the linker.
10636 # At run time we better use the real file rather than another symlink,
10637 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10639 case $with_aix_soname,$aix_use_runtimelinking in
10640 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10641 # soname into executable. Probably we can add versioning support to
10642 # collect2, so additional links can be useful in future.
10643 aix
,yes) # traditional libtool
10644 dynamic_linker
='AIX unversionable lib.so'
10645 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10646 # instead of lib<name>.a to let people know that these are not
10647 # typical AIX shared libraries.
10648 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10650 aix
,no
) # traditional AIX only
10651 dynamic_linker
='AIX lib.a(lib.so.V)'
10652 # We preserve .a as extension for shared libraries through AIX4.2
10653 # and later when we are not doing run time linking.
10654 library_names_spec
='$libname$release.a $libname.a'
10655 soname_spec
='$libname$release$shared_ext$major'
10657 svr4
,*) # full svr4 only
10658 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10659 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10660 # We do not specify a path in Import Files, so LIBPATH fires.
10661 shlibpath_overrides_runpath
=yes
10663 *,yes) # both, prefer svr4
10664 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10665 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10666 # unpreferred sharedlib libNAME.a needs extra handling
10667 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10668 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10669 # We do not specify a path in Import Files, so LIBPATH fires.
10670 shlibpath_overrides_runpath
=yes
10672 *,no
) # both, prefer aix
10673 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10674 library_names_spec
='$libname$release.a $libname.a'
10675 soname_spec
='$libname$release$shared_ext$major'
10676 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10677 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10678 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10681 shlibpath_var
=LIBPATH
10688 # Since July 2007 AmigaOS4 officially supports .so libraries.
10689 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10690 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10693 library_names_spec
='$libname.ixlibrary $libname.a'
10694 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10695 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10701 library_names_spec
='$libname$shared_ext'
10702 dynamic_linker
="$host_os ld.so"
10703 shlibpath_var
=LIBRARY_PATH
10707 version_type
=linux
# correct to gnu/linux during the next big refactor
10709 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10710 soname_spec
='$libname$release$shared_ext$major'
10711 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10712 shlibpath_var
=LD_LIBRARY_PATH
10713 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10714 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10715 # the default ld.so.conf also contains /usr/contrib/lib and
10716 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10717 # libtool to hard-code these into programs
10720 cygwin
* | mingw
* | pw32
* | cegcc
*)
10721 version_type
=windows
10726 case $GCC,$cc_basename in
10729 library_names_spec
='$libname.dll.a'
10730 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10731 postinstall_cmds
='base_file=`basename \$file`~
10732 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10733 dldir=$destdir/`dirname \$dlpath`~
10734 test -d \$dldir || mkdir -p \$dldir~
10735 $install_prog $dir/$dlname \$dldir/$dlname~
10736 chmod a+x \$dldir/$dlname~
10737 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10738 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10740 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10741 dlpath=$dir/\$dldll~
10743 shlibpath_overrides_runpath
=yes
10747 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10748 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10750 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10753 # MinGW DLLs use traditional 'lib' prefix
10754 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10757 # pw32 DLLs use 'pw' prefix rather than 'lib'
10758 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10761 dynamic_linker
='Win32 ld.exe'
10766 libname_spec
='$name'
10767 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10768 library_names_spec
='$libname.dll.lib'
10772 sys_lib_search_path_spec
=
10775 for lt_path
in $LIB
10778 # Let DOS variable expansion print the short 8.3 style file name.
10779 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10780 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10783 # Convert to MSYS style.
10784 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10787 # Convert to unix form, then to dos form, then back to unix form
10788 # but this time dos style (no spaces!) so that the unix form looks
10789 # like /cygdrive/c/PROGRA~1:/cygdr...
10790 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10791 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10792 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10795 sys_lib_search_path_spec
=$LIB
10796 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10797 # It is most probably a Windows format PATH.
10798 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10800 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10802 # FIXME: find the short name or the path components, as spaces are
10803 # common. (e.g. "Program Files" -> "PROGRA~1")
10807 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10808 postinstall_cmds
='base_file=`basename \$file`~
10809 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10810 dldir=$destdir/`dirname \$dlpath`~
10811 test -d \$dldir || mkdir -p \$dldir~
10812 $install_prog $dir/$dlname \$dldir/$dlname'
10813 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10814 dlpath=$dir/\$dldll~
10816 shlibpath_overrides_runpath
=yes
10817 dynamic_linker
='Win32 link.exe'
10821 # Assume MSVC wrapper
10822 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
10823 dynamic_linker
='Win32 ld.exe'
10826 # FIXME: first we should search . and the directory the executable is in
10830 darwin
* | rhapsody
*)
10831 dynamic_linker
="$host_os dyld"
10832 version_type
=darwin
10835 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
10836 soname_spec
='$libname$release$major$shared_ext'
10837 shlibpath_overrides_runpath
=yes
10838 shlibpath_var
=DYLD_LIBRARY_PATH
10839 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10841 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10842 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10846 version_type
=linux
# correct to gnu/linux during the next big refactor
10849 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10850 soname_spec
='$libname$release$shared_ext$major'
10851 shlibpath_var
=LD_LIBRARY_PATH
10854 freebsd
* | dragonfly
*)
10855 # DragonFly does not have aout. When/if they implement a new
10856 # versioning mechanism, adjust this.
10857 if test -x /usr
/bin
/objformat
; then
10858 objformat
=`/usr/bin/objformat`
10861 freebsd
[23].
*) objformat
=aout
;;
10862 *) objformat
=elf
;;
10865 # Handle Gentoo/FreeBSD as it was Linux
10866 case $host_vendor in
10868 version_type
=linux
;;
10870 version_type
=freebsd-
$objformat ;;
10873 case $version_type in
10875 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10876 soname_spec
='$libname$release$shared_ext$major'
10881 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec
='${libname}${release}${shared_ext}$major'
10891 shlibpath_var
=LD_LIBRARY_PATH
10894 shlibpath_overrides_runpath
=yes
10896 freebsd3.
[01]* | freebsdelf3.
[01]*)
10897 shlibpath_overrides_runpath
=yes
10898 hardcode_into_libs
=yes
10900 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10901 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10902 shlibpath_overrides_runpath
=no
10903 hardcode_into_libs
=yes
10905 *) # from 4.6 on, and DragonFly
10906 shlibpath_overrides_runpath
=yes
10907 hardcode_into_libs
=yes
10913 version_type
=linux
# correct to gnu/linux during the next big refactor
10916 dynamic_linker
="$host_os runtime_loader"
10917 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10918 soname_spec
='$libname$release$shared_ext$major'
10919 shlibpath_var
=LIBRARY_PATH
10920 shlibpath_overrides_runpath
=no
10921 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10922 hardcode_into_libs
=yes
10925 hpux9
* | hpux10
* | hpux11
*)
10926 # Give a soname corresponding to the major version so that dld.sl refuses to
10927 # link against other versions.
10934 hardcode_into_libs
=yes
10935 dynamic_linker
="$host_os dld.so"
10936 shlibpath_var
=LD_LIBRARY_PATH
10937 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10938 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10939 soname_spec
='$libname$release$shared_ext$major'
10940 if test 32 = "$HPUX_IA64_MODE"; then
10941 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10942 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10944 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10945 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10950 hardcode_into_libs
=yes
10951 dynamic_linker
="$host_os dld.sl"
10952 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10953 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10954 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10955 soname_spec
='$libname$release$shared_ext$major'
10956 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10957 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10961 dynamic_linker
="$host_os dld.sl"
10962 shlibpath_var
=SHLIB_PATH
10963 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10964 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10965 soname_spec
='$libname$release$shared_ext$major'
10968 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10969 postinstall_cmds
='chmod 555 $lib'
10970 # or fails outright, so override atomically:
10971 install_override_mode
=555
10975 version_type
=linux
# correct to gnu/linux during the next big refactor
10978 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10979 soname_spec
='$libname$release$shared_ext$major'
10980 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10981 shlibpath_var
=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath
=no
10983 hardcode_into_libs
=yes
10986 irix5
* | irix6
* | nonstopux
*)
10988 nonstopux
*) version_type
=nonstopux
;;
10990 if test yes = "$lt_cv_prog_gnu_ld"; then
10991 version_type
=linux
# correct to gnu/linux during the next big refactor
10998 soname_spec
='$libname$release$shared_ext$major'
10999 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11001 irix5
* | nonstopux
*)
11002 libsuff
= shlibsuff
=
11005 case $LD in # libtool.m4 will add one of these switches to LD
11006 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11007 libsuff
= shlibsuff
= libmagic
=32-bit;;
11008 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11009 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11010 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11011 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11012 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11016 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11017 shlibpath_overrides_runpath
=no
11018 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11019 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11020 hardcode_into_libs
=yes
11023 # No shared lib support for Linux oldld, aout, or coff.
11024 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11029 version_type
=none
# Android doesn't support versioned libraries.
11032 library_names_spec
='$libname$release$shared_ext'
11033 soname_spec
='$libname$release$shared_ext'
11035 shlibpath_var
=LD_LIBRARY_PATH
11036 shlibpath_overrides_runpath
=yes
11038 # This implies no fast_install, which is unacceptable.
11039 # Some rework will be needed to allow for fast_install
11040 # before this can be enabled.
11041 hardcode_into_libs
=yes
11043 dynamic_linker
='Android linker'
11044 # Don't embed -rpath directories since the linker doesn't support them.
11045 hardcode_libdir_flag_spec
='-L$libdir'
11048 # This must be glibc/ELF.
11049 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11050 version_type
=linux
# correct to gnu/linux during the next big refactor
11053 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11054 soname_spec
='$libname$release$shared_ext$major'
11055 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11056 shlibpath_var
=LD_LIBRARY_PATH
11057 shlibpath_overrides_runpath
=no
11059 # Some binutils ld are patched to set DT_RUNPATH
11060 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11061 $as_echo_n "(cached) " >&6
11063 lt_cv_shlibpath_overrides_runpath
=no
11064 save_LDFLAGS
=$LDFLAGS
11065 save_libdir
=$libdir
11066 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11067 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11079 if ac_fn_c_try_link
"$LINENO"; then :
11080 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11081 lt_cv_shlibpath_overrides_runpath
=yes
11084 rm -f core conftest.err conftest.
$ac_objext \
11085 conftest
$ac_exeext conftest.
$ac_ext
11086 LDFLAGS
=$save_LDFLAGS
11087 libdir
=$save_libdir
11091 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11093 # This implies no fast_install, which is unacceptable.
11094 # Some rework will be needed to allow for fast_install
11095 # before this can be enabled.
11096 hardcode_into_libs
=yes
11098 # Ideally, we could use ldconfig to report *all* directores which are
11099 # searched for libraries, however this is still not possible. Aside from not
11100 # being certain /sbin/ldconfig is available, command
11101 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11102 # even though it is searched at run-time. Try to do the best guess by
11103 # appending ld.so.conf contents (and includes) to the search path.
11104 if test -f /etc
/ld.so.conf
; then
11105 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11106 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11109 # We used to test for /lib/ld.so.1 and disable shared libraries on
11110 # powerpc, because MkLinux only supported shared libraries with the
11111 # GNU dynamic linker. Since this was broken with cross compilers,
11112 # most powerpc-linux boxes support dynamic linking these days and
11113 # people can always --disable-shared, the test was removed, and we
11114 # assume the GNU/Linux dynamic linker is in use.
11115 dynamic_linker
='GNU/Linux ld.so'
11122 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11123 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11124 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11125 dynamic_linker
='NetBSD (a.out) ld.so'
11127 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11128 soname_spec
='$libname$release$shared_ext$major'
11129 dynamic_linker
='NetBSD ld.elf_so'
11131 shlibpath_var
=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath
=yes
11133 hardcode_into_libs
=yes
11137 version_type
=linux
# correct to gnu/linux during the next big refactor
11138 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11139 shlibpath_var
=LD_LIBRARY_PATH
11140 shlibpath_overrides_runpath
=yes
11147 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11148 soname_spec
='$libname$release$shared_ext$major'
11149 shlibpath_var
=LD_LIBRARY_PATH
11150 shlibpath_overrides_runpath
=no
11151 hardcode_into_libs
=yes
11152 dynamic_linker
='ldqnx.so'
11155 openbsd
* | bitrig
*)
11157 sys_lib_dlsearch_path_spec
=/usr
/lib
11159 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11164 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11165 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11166 shlibpath_var
=LD_LIBRARY_PATH
11167 shlibpath_overrides_runpath
=yes
11171 libname_spec
='$name'
11172 version_type
=windows
11176 # OS/2 can only load a DLL with a base name of 8 characters or less.
11177 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11178 v=$($ECHO $release$versuffix | tr -d .-);
11179 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11180 $ECHO $n$v`$shared_ext'
11181 library_names_spec
='${libname}_dll.$libext'
11182 dynamic_linker
='OS/2 ld.exe'
11183 shlibpath_var
=BEGINLIBPATH
11184 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11185 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11186 postinstall_cmds
='base_file=`basename \$file`~
11187 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11188 dldir=$destdir/`dirname \$dlpath`~
11189 test -d \$dldir || mkdir -p \$dldir~
11190 $install_prog $dir/$dlname \$dldir/$dlname~
11191 chmod a+x \$dldir/$dlname~
11192 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11193 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11195 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11196 dlpath=$dir/\$dldll~
11200 osf3
* | osf4
* | osf5
*)
11204 soname_spec
='$libname$release$shared_ext$major'
11205 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11206 shlibpath_var
=LD_LIBRARY_PATH
11207 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11208 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11216 version_type
=linux
# correct to gnu/linux during the next big refactor
11219 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11220 soname_spec
='$libname$release$shared_ext$major'
11221 shlibpath_var
=LD_LIBRARY_PATH
11222 shlibpath_overrides_runpath
=yes
11223 hardcode_into_libs
=yes
11224 # ldd complains unless libraries are executable
11225 postinstall_cmds
='chmod +x $lib'
11230 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11231 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11232 shlibpath_var
=LD_LIBRARY_PATH
11233 shlibpath_overrides_runpath
=yes
11234 if test yes = "$with_gnu_ld"; then
11241 version_type
=linux
# correct to gnu/linux during the next big refactor
11242 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11243 soname_spec
='$libname$release$shared_ext$major'
11244 shlibpath_var
=LD_LIBRARY_PATH
11245 case $host_vendor in
11247 shlibpath_overrides_runpath
=no
11249 runpath_var
=LD_RUN_PATH
11257 shlibpath_overrides_runpath
=no
11258 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11264 if test -d /usr
/nec
; then
11265 version_type
=linux
# correct to gnu/linux during the next big refactor
11266 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11267 soname_spec
='$libname$shared_ext.$major'
11268 shlibpath_var
=LD_LIBRARY_PATH
11272 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11276 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11277 soname_spec
='$libname$release$shared_ext$major'
11278 shlibpath_var
=LD_LIBRARY_PATH
11279 shlibpath_overrides_runpath
=yes
11280 hardcode_into_libs
=yes
11281 if test yes = "$with_gnu_ld"; then
11282 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11284 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11287 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11291 sys_lib_dlsearch_path_spec
='/usr/lib'
11295 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11296 version_type
=linux
# correct to gnu/linux during the next big refactor
11299 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11300 shlibpath_var
=LD_LIBRARY_PATH
11301 shlibpath_overrides_runpath
=no
11302 hardcode_into_libs
=yes
11306 version_type
=linux
# correct to gnu/linux during the next big refactor
11307 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11308 soname_spec
='$libname$release$shared_ext$major'
11309 shlibpath_var
=LD_LIBRARY_PATH
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11317 $as_echo "$dynamic_linker" >&6; }
11318 test no
= "$dynamic_linker" && can_build_shared
=no
11320 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11321 if test yes = "$GCC"; then
11322 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11325 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11326 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11329 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11330 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11333 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11334 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11336 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11337 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11339 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11340 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11439 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11441 if test -n "$hardcode_libdir_flag_spec" ||
11442 test -n "$runpath_var" ||
11443 test yes = "$hardcode_automatic"; then
11445 # We can hardcode non-existent directories.
11446 if test no
!= "$hardcode_direct" &&
11447 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11448 # have to relink, otherwise we might link with an installed library
11449 # when we should be linking with a yet-to-be-installed one
11450 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11451 test no
!= "$hardcode_minus_L"; then
11452 # Linking always hardcodes the temporary library directory.
11453 hardcode_action
=relink
11455 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11456 hardcode_action
=immediate
11459 # We cannot hardcode anything, or else we can only hardcode existing
11461 hardcode_action
=unsupported
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11464 $as_echo "$hardcode_action" >&6; }
11466 if test relink
= "$hardcode_action" ||
11467 test yes = "$inherit_rpath"; then
11468 # Fast installation is not supported
11469 enable_fast_install
=no
11470 elif test yes = "$shlibpath_overrides_runpath" ||
11471 test no
= "$enable_shared"; then
11472 # Fast installation is not necessary
11473 enable_fast_install
=needless
11481 if test yes != "$enable_dlopen"; then
11482 enable_dlopen
=unknown
11483 enable_dlopen_self
=unknown
11484 enable_dlopen_self_static
=unknown
11491 lt_cv_dlopen
=load_add_on
11493 lt_cv_dlopen_self
=yes
11496 mingw
* | pw32
* | cegcc
*)
11497 lt_cv_dlopen
=LoadLibrary
11502 lt_cv_dlopen
=dlopen
11507 # if libdl is installed we need to link against it
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11509 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11510 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11511 $as_echo_n "(cached) " >&6
11513 ac_check_lib_save_LIBS
=$LIBS
11515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11518 /* Override any GCC internal prototype to avoid an error.
11519 Use char because int might match the return type of a GCC
11520 builtin and then its argument prototype would still apply. */
11533 if ac_fn_c_try_link
"$LINENO"; then :
11534 ac_cv_lib_dl_dlopen
=yes
11536 ac_cv_lib_dl_dlopen
=no
11538 rm -f core conftest.err conftest.
$ac_objext \
11539 conftest
$ac_exeext conftest.
$ac_ext
11540 LIBS
=$ac_check_lib_save_LIBS
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11543 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11544 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11545 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11550 lt_cv_dlopen_self
=yes
11557 # Don't try to run any link tests for TPF. We know it's impossible
11558 # because TPF is a cross-compiler, and we know how we open DSOs.
11559 lt_cv_dlopen
=dlopen
11561 lt_cv_dlopen_self
=no
11565 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11566 if test "x$ac_cv_func_shl_load" = xyes
; then :
11567 lt_cv_dlopen
=shl_load
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11570 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11571 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11572 $as_echo_n "(cached) " >&6
11574 ac_check_lib_save_LIBS
=$LIBS
11576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11579 /* Override any GCC internal prototype to avoid an error.
11580 Use char because int might match the return type of a GCC
11581 builtin and then its argument prototype would still apply. */
11589 return shl_load ();
11594 if ac_fn_c_try_link
"$LINENO"; then :
11595 ac_cv_lib_dld_shl_load
=yes
11597 ac_cv_lib_dld_shl_load
=no
11599 rm -f core conftest.err conftest.
$ac_objext \
11600 conftest
$ac_exeext conftest.
$ac_ext
11601 LIBS
=$ac_check_lib_save_LIBS
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11604 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11605 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11606 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11608 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11609 if test "x$ac_cv_func_dlopen" = xyes
; then :
11610 lt_cv_dlopen
=dlopen
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11613 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11614 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11615 $as_echo_n "(cached) " >&6
11617 ac_check_lib_save_LIBS
=$LIBS
11619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11637 if ac_fn_c_try_link
"$LINENO"; then :
11638 ac_cv_lib_dl_dlopen
=yes
11640 ac_cv_lib_dl_dlopen
=no
11642 rm -f core conftest.err conftest.
$ac_objext \
11643 conftest
$ac_exeext conftest.
$ac_ext
11644 LIBS
=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11647 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11648 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11649 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11652 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11653 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11654 $as_echo_n "(cached) " >&6
11656 ac_check_lib_save_LIBS
=$LIBS
11657 LIBS
="-lsvld $LIBS"
11658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11661 /* Override any GCC internal prototype to avoid an error.
11662 Use char because int might match the return type of a GCC
11663 builtin and then its argument prototype would still apply. */
11676 if ac_fn_c_try_link
"$LINENO"; then :
11677 ac_cv_lib_svld_dlopen
=yes
11679 ac_cv_lib_svld_dlopen
=no
11681 rm -f core conftest.err conftest.
$ac_objext \
11682 conftest
$ac_exeext conftest.
$ac_ext
11683 LIBS
=$ac_check_lib_save_LIBS
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11686 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11687 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11688 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11691 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11692 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11693 $as_echo_n "(cached) " >&6
11695 ac_check_lib_save_LIBS
=$LIBS
11697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h. */
11700 /* Override any GCC internal prototype to avoid an error.
11701 Use char because int might match the return type of a GCC
11702 builtin and then its argument prototype would still apply. */
11710 return dld_link ();
11715 if ac_fn_c_try_link
"$LINENO"; then :
11716 ac_cv_lib_dld_dld_link
=yes
11718 ac_cv_lib_dld_dld_link
=no
11720 rm -f core conftest.err conftest.
$ac_objext \
11721 conftest
$ac_exeext conftest.
$ac_ext
11722 LIBS
=$ac_check_lib_save_LIBS
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11725 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11726 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11727 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11748 if test no
= "$lt_cv_dlopen"; then
11754 case $lt_cv_dlopen in
11756 save_CPPFLAGS
=$CPPFLAGS
11757 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11759 save_LDFLAGS
=$LDFLAGS
11760 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11763 LIBS
="$lt_cv_dlopen_libs $LIBS"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11766 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11767 if ${lt_cv_dlopen_self+:} false
; then :
11768 $as_echo_n "(cached) " >&6
11770 if test yes = "$cross_compiling"; then :
11771 lt_cv_dlopen_self
=cross
11773 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11774 lt_status
=$lt_dlunknown
11775 cat > conftest.
$ac_ext <<_LT_EOF
11776 #line $LINENO "configure"
11777 #include "confdefs.h"
11786 # define LT_DLGLOBAL RTLD_GLOBAL
11789 # define LT_DLGLOBAL DL_GLOBAL
11791 # define LT_DLGLOBAL 0
11795 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11796 find out it does not work in some platform. */
11797 #ifndef LT_DLLAZY_OR_NOW
11799 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11802 # define LT_DLLAZY_OR_NOW DL_LAZY
11805 # define LT_DLLAZY_OR_NOW RTLD_NOW
11808 # define LT_DLLAZY_OR_NOW DL_NOW
11810 # define LT_DLLAZY_OR_NOW 0
11817 /* When -fvisibility=hidden is used, assume the code has been annotated
11818 correspondingly for the symbols needed. */
11819 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11820 int fnord () __attribute__((visibility("default")));
11823 int fnord () { return 42; }
11826 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11827 int status = $lt_dlunknown;
11831 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11834 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11835 else puts (dlerror ());
11837 /* dlclose (self); */
11845 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11846 (eval $ac_link) 2>&5
11848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11849 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11850 (.
/conftest
; exit; ) >&5 2>/dev
/null
11852 case x
$lt_status in
11853 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11854 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11855 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11858 # compilation failed
11859 lt_cv_dlopen_self
=no
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11867 $as_echo "$lt_cv_dlopen_self" >&6; }
11869 if test yes = "$lt_cv_dlopen_self"; then
11870 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11872 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11873 if ${lt_cv_dlopen_self_static+:} false
; then :
11874 $as_echo_n "(cached) " >&6
11876 if test yes = "$cross_compiling"; then :
11877 lt_cv_dlopen_self_static
=cross
11879 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11880 lt_status
=$lt_dlunknown
11881 cat > conftest.
$ac_ext <<_LT_EOF
11882 #line $LINENO "configure"
11883 #include "confdefs.h"
11892 # define LT_DLGLOBAL RTLD_GLOBAL
11895 # define LT_DLGLOBAL DL_GLOBAL
11897 # define LT_DLGLOBAL 0
11901 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11902 find out it does not work in some platform. */
11903 #ifndef LT_DLLAZY_OR_NOW
11905 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11908 # define LT_DLLAZY_OR_NOW DL_LAZY
11911 # define LT_DLLAZY_OR_NOW RTLD_NOW
11914 # define LT_DLLAZY_OR_NOW DL_NOW
11916 # define LT_DLLAZY_OR_NOW 0
11923 /* When -fvisibility=hidden is used, assume the code has been annotated
11924 correspondingly for the symbols needed. */
11925 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11926 int fnord () __attribute__((visibility("default")));
11929 int fnord () { return 42; }
11932 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11933 int status = $lt_dlunknown;
11937 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11940 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11941 else puts (dlerror ());
11943 /* dlclose (self); */
11951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11952 (eval $ac_link) 2>&5
11954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11955 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11956 (.
/conftest
; exit; ) >&5 2>/dev
/null
11958 case x
$lt_status in
11959 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11960 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11961 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11964 # compilation failed
11965 lt_cv_dlopen_self_static
=no
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11973 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11976 CPPFLAGS
=$save_CPPFLAGS
11977 LDFLAGS
=$save_LDFLAGS
11982 case $lt_cv_dlopen_self in
11983 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11984 *) enable_dlopen_self
=unknown
;;
11987 case $lt_cv_dlopen_self_static in
11988 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11989 *) enable_dlopen_self_static
=unknown
;;
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12012 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12013 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12014 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12015 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12017 $as_echo "yes" >&6; }
12019 # FIXME - insert some real tests, host_os isn't really good enough
12022 if test -n "$STRIP"; then
12023 striplib
="$STRIP -x"
12024 old_striplib
="$STRIP -S"
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12026 $as_echo "yes" >&6; }
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12029 $as_echo "no" >&6; }
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12034 $as_echo "no" >&6; }
12050 # Report what library types will actually be built
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12052 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12054 $as_echo "$can_build_shared" >&6; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12057 $as_echo_n "checking whether to build shared libraries... " >&6; }
12058 test no
= "$can_build_shared" && enable_shared
=no
12060 # On AIX, shared libraries and static libraries use the same namespace, and
12061 # are all built from PIC.
12064 test yes = "$enable_shared" && enable_static
=no
12065 if test -n "$RANLIB"; then
12066 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12067 postinstall_cmds
='$RANLIB $lib'
12072 if test ia64
!= "$host_cpu"; then
12073 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12074 yes,aix
,yes) ;; # shared object as lib.so file only
12075 yes,svr4
,*) ;; # shared object as lib.so archive member only
12076 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12082 $as_echo "$enable_shared" >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12085 $as_echo_n "checking whether to build static libraries... " >&6; }
12086 # Make sure either enable_shared or enable_static is yes.
12087 test yes = "$enable_shared" || enable_static
=yes
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12089 $as_echo "$enable_static" >&6; }
12096 ac_cpp
='$CPP $CPPFLAGS'
12097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12117 ac_config_commands
="$ac_config_commands libtool"
12122 # Only expand once:
12126 # Check whether --enable-silent-rules was given.
12127 if test "${enable_silent_rules+set}" = set; then :
12128 enableval
=$enable_silent_rules;
12131 case $enable_silent_rules in # (((
12132 yes) AM_DEFAULT_VERBOSITY
=0;;
12133 no
) AM_DEFAULT_VERBOSITY
=1;;
12134 *) AM_DEFAULT_VERBOSITY
=0;;
12136 am_make
=${MAKE-make}
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12138 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12139 if ${am_cv_make_support_nested_variables+:} false
; then :
12140 $as_echo_n "(cached) " >&6
12142 if $as_echo 'TRUE=$(BAR$(V))
12148 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
12149 am_cv_make_support_nested_variables
=yes
12151 am_cv_make_support_nested_variables
=no
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12155 $as_echo "$am_cv_make_support_nested_variables" >&6; }
12156 if test $am_cv_make_support_nested_variables = yes; then
12158 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
12160 AM_V
=$AM_DEFAULT_VERBOSITY
12161 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
12166 AM_CPPFLAGS="-I\${top_srcdir}/include"
12168 AM_LDFLAGS="-Wl,-z -Wl,relro"
12176 for ac_header in $ac_header_list
12178 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12179 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12181 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12182 cat >>confdefs.h <<_ACEOF
12183 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12194 VERSION_MAJOR=$(echo ${VERSION} | cut -d'.
' -f 1)
12195 VERSION_MINOR=$(echo ${VERSION} | cut -d'.
' -f 2)
12196 VERSION_MICRO=$(echo ${VERSION} | cut -d'.
' -f 3)
12201 # Extract the first word of "cython", so it can be a program name with args.
12202 set dummy cython; ac_word=$2
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12204 $as_echo_n "checking for $ac_word... " >&6; }
12205 if ${ac_cv_prog_have_cython+:} false; then :
12206 $as_echo_n "(cached) " >&6
12208 if test -n "$have_cython"; then
12209 ac_cv_prog_have_cython="$have_cython" # Let the user override the test.
12211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12212 for as_dir in $PATH
12215 test -z "$as_dir" && as_dir=.
12216 for ac_exec_ext in '' $ac_executable_extensions; do
12217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12218 ac_cv_prog_have_cython=""yes""
12219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12226 test -z "$ac_cv_prog_have_cython" && ac_cv_prog_have_cython=""no""
12229 have_cython=$ac_cv_prog_have_cython
12230 if test -n "$have_cython"; then
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_cython" >&5
12232 $as_echo "$have_cython" >&6; }
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12235 $as_echo "no" >&6; }
12239 if test "$have_cython" = yes; then :
12241 $as_echo "checking cython version... $(cython -V 2>&1 | cut -d' ' -f 3)"
12242 CYTHON_VER_MAJ=$(cython -V 2>&1 | cut -d' ' -f 3 | cut -d'.
' -f 1);
12243 CYTHON_VER_MIN=$(cython -V 2>&1 | cut -d' ' -f 3 | cut -d'.
' -f 2);
12252 # Check whether --enable-python was given.
12253 if test "${enable_python+set}" = set; then :
12254 enableval=$enable_python;
12257 if test "$enable_python" = yes; then :
12259 # cython version check
12260 if test "$CYTHON_VER_MAJ" -eq 0 -a "$CYTHON_VER_MIN" -lt 16; then :
12262 as_fn_error $? "python bindings require cython 0.16 or higher" "$LINENO" 5
12267 if test "$enable_python" = yes; then
12268 ENABLE_PYTHON_TRUE=
12269 ENABLE_PYTHON_FALSE='#'
12271 ENABLE_PYTHON_TRUE
='#'
12272 ENABLE_PYTHON_FALSE
=
12276 cat >>confdefs.h
<<_ACEOF
12277 #define ENABLE_PYTHON $(test "$enable_python" = yes && echo 1 || echo 0)
12281 # Extract the first word of "cov-build", so it can be a program name with args.
12282 set dummy cov-build
; ac_word
=$2
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12284 $as_echo_n "checking for $ac_word... " >&6; }
12285 if ${ac_cv_prog_have_coverity+:} false
; then :
12286 $as_echo_n "(cached) " >&6
12288 if test -n "$have_coverity"; then
12289 ac_cv_prog_have_coverity
="$have_coverity" # Let the user override the test.
12291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12292 for as_dir
in $PATH
12295 test -z "$as_dir" && as_dir
=.
12296 for ac_exec_ext
in '' $ac_executable_extensions; do
12297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12298 ac_cv_prog_have_coverity
=""yes""
12299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12306 test -z "$ac_cv_prog_have_coverity" && ac_cv_prog_have_coverity
=""no
""
12309 have_coverity
=$ac_cv_prog_have_coverity
12310 if test -n "$have_coverity"; then
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_coverity" >&5
12312 $as_echo "$have_coverity" >&6; }
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12315 $as_echo "no" >&6; }
12319 if test "$have_coverity" = yes; then
12328 ac_config_files
="$ac_config_files libseccomp.pc include/seccomp.h"
12331 ac_config_files
="$ac_config_files Makefile include/Makefile src/Makefile src/python/Makefile tools/Makefile tests/Makefile doc/Makefile"
12334 cat >confcache
<<\_ACEOF
12335 # This file is a shell script that caches the results of configure
12336 # tests run on this system so they can be shared between configure
12337 # scripts and configure runs, see configure's option --config-cache.
12338 # It is not useful on other systems. If it contains results you don't
12339 # want to keep, you may remove or edit it.
12341 # config.status only pays attention to the cache file if you give it
12342 # the --recheck option to rerun configure.
12344 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12345 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12346 # following values.
12350 # The following way of writing the cache mishandles newlines in values,
12351 # but we know of no workaround that is simple, portable, and efficient.
12352 # So, we kill variables containing newlines.
12353 # Ultrix sh set writes to stderr and can't be redirected directly,
12354 # and sets the high bit in the cache file unless we assign to the vars.
12356 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12357 eval ac_val
=\$
$ac_var
12361 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12362 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12365 _ | IFS | as_nl
) ;; #(
12366 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12367 *) { eval $ac_var=; unset $ac_var;} ;;
12373 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12374 *${as_nl}ac_space
=\
*)
12375 # `set' does not quote correctly, so add quotes: double-quote
12376 # substitution turns \\\\ into \\, and sed turns \\ into \.
12379 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12382 # `set' quotes correctly as required by POSIX, so do not add quotes.
12383 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12392 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12394 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12396 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12397 if test -w "$cache_file"; then
12398 if test "x$cache_file" != "x/dev/null"; then
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12400 $as_echo "$as_me: updating cache $cache_file" >&6;}
12401 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12402 cat confcache
>"$cache_file"
12404 case $cache_file in #(
12406 mv -f confcache
"$cache_file"$$
&&
12407 mv -f "$cache_file"$$
"$cache_file" ;; #(
12409 mv -f confcache
"$cache_file" ;;
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12415 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12420 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12421 # Let make expand exec_prefix.
12422 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12424 DEFS
=-DHAVE_CONFIG_H
12429 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12430 # 1. Remove the extension, and $U if already installed.
12431 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12432 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12433 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12434 # will be set to the directory where LIBOBJS objects are built.
12435 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12436 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12438 LIBOBJS
=$ac_libobjs
12440 LTLIBOBJS
=$ac_ltlibobjs
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12444 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12445 if test -n "$am_sleep_pid"; then
12446 # Hide warnings about reused PIDs.
12447 wait $am_sleep_pid 2>/dev
/null
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12450 $as_echo "done" >&6; }
12451 if test -n "$EXEEXT"; then
12453 am__EXEEXT_FALSE
='#'
12455 am__EXEEXT_TRUE
='#'
12459 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12460 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12463 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12464 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12467 if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
12468 as_fn_error $?
"conditional \"ENABLE_PYTHON\" was never defined.
12469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12471 if test -z "${COVERITY_TRUE}" && test -z "${COVERITY_FALSE}"; then
12472 as_fn_error $?
"conditional \"COVERITY\" was never defined.
12473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12476 : "${CONFIG_STATUS=./config.status}"
12478 ac_clean_files_save
=$ac_clean_files
12479 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12481 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12483 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12485 # Generated by $as_me.
12486 # Run this file to recreate the current configuration.
12487 # Compiler output produced by configure, useful for debugging
12488 # configure, is in config.log if it exists.
12491 ac_cs_recheck=false
12494 SHELL=\${CONFIG_SHELL-$SHELL}
12497 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12498 ## -------------------- ##
12499 ## M4sh Initialization. ##
12500 ## -------------------- ##
12502 # Be more Bourne compatible
12503 DUALCASE
=1; export DUALCASE
# for MKS sh
12504 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12507 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12508 # is contrary to our usage. Disable this feature.
12509 alias -g '${1+"$@"}'='"$@"'
12510 setopt NO_GLOB_SUBST
12512 case `(set -o) 2>/dev/null` in #(
12524 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12525 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12526 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12527 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12528 # Prefer a ksh shell builtin over an external printf program on Solaris,
12529 # but without wasting forks for bash or zsh.
12530 if test -z "$BASH_VERSION$ZSH_VERSION" \
12531 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12532 as_echo='print
-r --'
12533 as_echo_n='print
-rn --'
12534 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12535 as_echo='printf %s
\n'
12536 as_echo_n='printf %s
'
12538 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12539 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12540 as_echo_n='/usr
/ucb
/echo -n'
12542 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12543 as_echo_n_body='eval
12547 expr "X$arg" : "X\\(.*\\)$as_nl";
12548 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12550 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12552 export as_echo_n_body
12553 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12555 export as_echo_body
12556 as_echo='sh
-c $as_echo_body as_echo
'
12559 # The user is always right.
12560 if test "${PATH_SEPARATOR+set}" != set; then
12562 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12563 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12570 # We need space, tab and new line, in precisely that order. Quoting is
12571 # there to prevent editors from complaining about space-tab.
12572 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12573 # splitting by setting IFS to empty value.)
12576 # Find who we are. Look in the path if we contain no directory separator.
12579 *[\\/]* ) as_myself=$0 ;;
12580 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12581 for as_dir in $PATH
12584 test -z "$as_dir" && as_dir=.
12585 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12591 # We did not find ourselves, most probably we were run as `sh COMMAND'
12592 # in which case we are not to be found in the path.
12593 if test "x$as_myself" = x
; then
12596 if test ! -f "$as_myself"; then
12597 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12601 # Unset variables that we do not need and which cause bugs (e.g. in
12602 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12603 # suppresses any "Segmentation fault" message there. '((' could
12604 # trigger a bug in pdksh 5.2.14.
12605 for as_var
in BASH_ENV ENV MAIL MAILPATH
12606 do eval test x\
${$as_var+set} = xset \
12607 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12620 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12623 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12624 # ----------------------------------------
12625 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12626 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12627 # script with STATUS, using 1 if that was 0.
12630 as_status
=$1; test $as_status -eq 0 && as_status
=1
12632 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12633 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12635 $as_echo "$as_me: error: $2" >&2
12636 as_fn_exit
$as_status
12640 # as_fn_set_status STATUS
12641 # -----------------------
12642 # Set $? to STATUS, without forking.
12643 as_fn_set_status
()
12646 } # as_fn_set_status
12648 # as_fn_exit STATUS
12649 # -----------------
12650 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12654 as_fn_set_status
$1
12660 # Portably unset VAR.
12663 { eval $1=; unset $1;}
12665 as_unset
=as_fn_unset
12666 # as_fn_append VAR VALUE
12667 # ----------------------
12668 # Append the text in VALUE to the end of the definition contained in VAR. Take
12669 # advantage of any shell optimizations that allow amortized linear growth over
12670 # repeated appends, instead of the typical quadratic growth present in naive
12672 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12673 eval 'as_fn_append ()
12684 # as_fn_arith ARG...
12685 # ------------------
12686 # Perform arithmetic evaluation on the ARGs, and store the result in the
12687 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12688 # must be portable across $(()) and expr.
12689 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12690 eval 'as_fn_arith ()
12697 as_val
=`expr "$@" || test $? -eq 1`
12702 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12703 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12709 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12710 as_basename
=basename
12715 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12721 as_me
=`$as_basename -- "$0" ||
12722 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12723 X"$0" : 'X\(//\)$' \| \
12724 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12726 sed '/^.*\/\([^/][^/]*\)\/*$/{
12740 # Avoid depending upon Character Ranges.
12741 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12742 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12743 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12744 as_cr_digits
='0123456789'
12745 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12747 ECHO_C
= ECHO_N
= ECHO_T
=
12748 case `echo -n x` in #(((((
12750 case `echo 'xy\c'` in
12751 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12753 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12760 rm -f conf$$ conf$$.exe conf$$.
file
12761 if test -d conf$$.dir
; then
12762 rm -f conf$$.dir
/conf$$.
file
12765 mkdir conf$$.dir
2>/dev
/null
12767 if (echo >conf$$.
file) 2>/dev
/null
; then
12768 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12770 # ... but there are two gotchas:
12771 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12772 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12773 # In both cases, we have to default to `cp -pR'.
12774 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12776 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12784 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12785 rmdir conf$$.dir
2>/dev
/null
12790 # Create "$as_dir" as a directory, including parents if necessary.
12795 -*) as_dir
=.
/$as_dir;;
12797 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12801 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12802 *) as_qdir
=$as_dir;;
12804 as_dirs
="'$as_qdir' $as_dirs"
12805 as_dir
=`$as_dirname -- "$as_dir" ||
12806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12807 X"$as_dir" : 'X\(//\)[^/]' \| \
12808 X"$as_dir" : 'X\(//\)$' \| \
12809 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12810 $as_echo X"$as_dir" |
12811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12815 /^X\(\/\/\)[^/].*/{
12828 test -d "$as_dir" && break
12830 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12831 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12835 if mkdir
-p .
2>/dev
/null
; then
12836 as_mkdir_p
='mkdir -p "$as_dir"'
12838 test -d .
/-p && rmdir .
/-p
12843 # as_fn_executable_p FILE
12844 # -----------------------
12845 # Test if FILE is an executable regular file.
12846 as_fn_executable_p
()
12848 test -f "$1" && test -x "$1"
12849 } # as_fn_executable_p
12850 as_test_x
='test -x'
12851 as_executable_p
=as_fn_executable_p
12853 # Sed expression to map a string onto a valid CPP name.
12854 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12856 # Sed expression to map a string onto a valid variable name.
12857 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12861 ## ----------------------------------- ##
12862 ## Main body of $CONFIG_STATUS script. ##
12863 ## ----------------------------------- ##
12865 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12868 # Save the log message, to keep $0 and so on meaningful, and to
12869 # report actual input values of CONFIG_FILES etc. instead of their
12870 # values after options handling.
12872 This file was extended by libseccomp $as_me 2.3.1, which was
12873 generated by GNU Autoconf 2.69. Invocation command line was
12875 CONFIG_FILES = $CONFIG_FILES
12876 CONFIG_HEADERS = $CONFIG_HEADERS
12877 CONFIG_LINKS = $CONFIG_LINKS
12878 CONFIG_COMMANDS = $CONFIG_COMMANDS
12881 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12886 case $ac_config_files in *"
12887 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12890 case $ac_config_headers in *"
12891 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12896 # Files that config.status was made for.
12897 config_files="$ac_config_files"
12898 config_headers="$ac_config_headers"
12899 config_commands="$ac_config_commands"
12903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12905 \`$as_me' instantiates files and other configuration actions
12906 from templates according to the current configuration. Unless the files
12907 and actions are specified as TAGs, all are instantiated by default.
12909 Usage: $0 [OPTION]... [TAG]...
12911 -h, --help print this help, then exit
12912 -V, --version print version number and configuration settings, then exit
12913 --config print configuration, then exit
12914 -q, --quiet, --silent
12915 do not print progress messages
12916 -d, --debug don't remove temporary files
12917 --recheck update $as_me by reconfiguring in the same conditions
12918 --file=FILE[:TEMPLATE]
12919 instantiate the configuration file FILE
12920 --header=FILE[:TEMPLATE]
12921 instantiate the configuration header FILE
12923 Configuration files:
12926 Configuration headers:
12929 Configuration commands:
12932 Report bugs to the package provider."
12935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12936 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12938 libseccomp config.status 2.3.1
12939 configured by $0, generated by GNU Autoconf 2.69,
12940 with options \\"\$ac_cs_config\\"
12942 Copyright (C) 2012 Free Software Foundation, Inc.
12943 This config.status script is free software; the Free Software Foundation
12944 gives unlimited permission to copy, distribute and modify it."
12951 test -n "\$AWK" || AWK=awk
12954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12955 # The default lists apply if the user does not specify any file.
12961 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12962 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12966 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12978 # Handling of the options.
12979 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12981 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12982 $as_echo "$ac_cs_version"; exit ;;
12983 --config |
--confi |
--conf |
--con |
--co |
--c )
12984 $as_echo "$ac_cs_config"; exit ;;
12985 --debug |
--debu |
--deb |
--de |
--d |
-d )
12987 --file |
--fil |
--fi |
--f )
12990 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12991 '') as_fn_error $?
"missing file argument" ;;
12993 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12994 ac_need_defaults
=false
;;
12995 --header |
--heade |
--head |
--hea )
12998 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13000 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13001 ac_need_defaults
=false
;;
13003 # Conflict between --help and --header
13004 as_fn_error $?
"ambiguous option: \`$1'
13005 Try \`$0 --help' for more information.";;
13006 --help |
--hel |
-h )
13007 $as_echo "$ac_cs_usage"; exit ;;
13008 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13009 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13012 # This is an error.
13013 -*) as_fn_error $?
"unrecognized option: \`$1'
13014 Try \`$0 --help' for more information." ;;
13016 *) as_fn_append ac_config_targets
" $1"
13017 ac_need_defaults
=false
;;
13023 ac_configure_extra_args
=
13025 if $ac_cs_silent; then
13027 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13032 if \$ac_cs_recheck; then
13033 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13035 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13036 CONFIG_SHELL='$SHELL'
13037 export CONFIG_SHELL
13042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13046 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13047 ## Running $as_me. ##
13053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13057 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13060 # The HP-UX ksh and POSIX shell print the target directory to stdout
13061 # if CDPATH is set.
13062 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13064 sed_quote_subst='$sed_quote_subst'
13065 double_quote_subst='$double_quote_subst'
13066 delay_variable_subst='$delay_variable_subst'
13067 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13068 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13069 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13070 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13071 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13072 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13073 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13074 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13075 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13076 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13077 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13078 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13079 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13080 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13081 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13082 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13083 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13084 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13085 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13086 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13087 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13088 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13089 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13090 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13091 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13092 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13093 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13094 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13095 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13096 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13097 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13098 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13099 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13100 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13101 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13102 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13103 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13104 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13105 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13106 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13107 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13108 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13109 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13110 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13111 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13112 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13113 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13114 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13115 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13116 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13117 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13118 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13119 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13120 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13121 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13122 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13123 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13124 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13125 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13126 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13127 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13128 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13129 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13130 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13131 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13132 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13133 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13134 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13135 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13136 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13137 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13138 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13139 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13140 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13141 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13142 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13143 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13144 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13145 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13146 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13147 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13148 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13149 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13150 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13151 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13152 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13153 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13154 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13155 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13156 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13157 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13158 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13159 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13160 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13161 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13162 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13163 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13164 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13165 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13166 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13167 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13168 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13169 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13170 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13171 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13172 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13173 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13174 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13175 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13176 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13177 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13178 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13179 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13180 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13181 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13182 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13183 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13184 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13185 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13186 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13187 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13188 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13189 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13190 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13191 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13192 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13193 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13194 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13195 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13196 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13197 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13198 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13199 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13200 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13201 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13204 LTCFLAGS='$LTCFLAGS'
13205 compiler='$compiler_DEFAULT'
13207 # A function that is used when there is no print builtin or printf.
13208 func_fallback_echo ()
13210 eval 'cat <<_LTECHO_EOF
13215 # Quote evaled strings.
13230 deplibs_check_method \
13235 sharedlib_from_linklib_cmd \
13238 archiver_list_spec \
13244 lt_cv_sys_global_symbol_pipe \
13245 lt_cv_sys_global_symbol_to_cdecl \
13246 lt_cv_sys_global_symbol_to_import \
13247 lt_cv_sys_global_symbol_to_c_name_address \
13248 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13249 lt_cv_nm_interface \
13250 nm_file_list_spec \
13251 lt_cv_truncate_bin \
13252 lt_prog_compiler_no_builtin_flag \
13253 lt_prog_compiler_pic \
13254 lt_prog_compiler_wl \
13255 lt_prog_compiler_static \
13256 lt_cv_prog_compiler_c_o \
13265 export_dynamic_flag_spec \
13266 whole_archive_flag_spec \
13267 compiler_needs_object \
13269 allow_undefined_flag \
13270 no_undefined_flag \
13271 hardcode_libdir_flag_spec \
13272 hardcode_libdir_separator \
13276 variables_saved_for_relink \
13278 library_names_spec \
13280 install_override_mode \
13284 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13285 *[\\\\\\\`\\"\\\$]*)
13286 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13289 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13294 # Double-quote double-evaled strings.
13295 for var in reload_cmds \
13296 old_postinstall_cmds \
13297 old_postuninstall_cmds \
13299 extract_expsyms_cmds \
13300 old_archive_from_new_cmds \
13301 old_archive_from_expsyms_cmds \
13303 archive_expsym_cmds \
13305 module_expsym_cmds \
13306 export_symbols_cmds \
13310 postuninstall_cmds \
13312 sys_lib_search_path_spec \
13313 configure_time_dlsearch_path \
13314 configure_time_lt_sys_library_path; do
13315 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13316 *[\\\\\\\`\\"\\\$]*)
13317 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13320 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13325 ac_aux_dir='$ac_aux_dir'
13327 # See if we are running on zsh, and set the options that allow our
13328 # commands through without removal of \ escapes INIT.
13329 if test -n "\${ZSH_VERSION+set}"; then
13330 setopt NO_GLOB_SUBST
13344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13346 # Handling of arguments.
13347 for ac_config_target
in $ac_config_targets
13349 case $ac_config_target in
13350 "configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS configure.h" ;;
13351 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13352 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13353 "libseccomp.pc") CONFIG_FILES
="$CONFIG_FILES libseccomp.pc" ;;
13354 "include/seccomp.h") CONFIG_FILES
="$CONFIG_FILES include/seccomp.h" ;;
13355 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13356 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
13357 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
13358 "src/python/Makefile") CONFIG_FILES
="$CONFIG_FILES src/python/Makefile" ;;
13359 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
13360 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
13361 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13363 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13368 # If the user did not use the arguments to specify the items to instantiate,
13369 # then the envvar interface is used. Set only those that are not.
13370 # We use the long form for the default assignment because of an extremely
13371 # bizarre bug on SunOS 4.1.3.
13372 if $ac_need_defaults; then
13373 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13374 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13375 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13378 # Have a temporary directory for convenience. Make it in the build tree
13379 # simply because there is no reason against having it here, and in addition,
13380 # creating and moving files from /tmp can sometimes cause problems.
13381 # Hook for its removal unless debugging.
13382 # Note that there is a small window in which the directory will not be cleaned:
13383 # after its creation but before its name has been assigned to `$tmp'.
13387 trap 'exit_status=$?
13388 : "${ac_tmp:=$tmp}"
13389 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13391 trap 'as_fn_exit 1' 1 2 13 15
13393 # Create a (secure) tmp directory for tmp files.
13396 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13400 tmp
=.
/conf$$
-$RANDOM
13401 (umask 077 && mkdir
"$tmp")
13402 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13405 # Set up the scripts for CONFIG_FILES section.
13406 # No need to generate them if there are no CONFIG_FILES.
13407 # This happens for instance with `./config.status config.h'.
13408 if test -n "$CONFIG_FILES"; then
13411 ac_cr
=`echo X | tr X '\015'`
13412 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13413 # But we know of no other shell where ac_cr would be empty at this
13414 # point, so we can use a bashism as a fallback.
13415 if test "x$ac_cr" = x
; then
13416 eval ac_cr
=\$
\'\\r
\'
13418 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13419 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13422 ac_cs_awk_cr
=$ac_cr
13425 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13430 echo "cat >conf$$subs.awk <<_ACEOF" &&
13431 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13433 } >conf$$subs.sh ||
13434 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13435 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13437 for ac_last_try in false false false false false :; do
13438 . ./conf$$subs.sh ||
13439 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13441 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13442 if test $ac_delim_n = $ac_delim_num; then
13444 elif $ac_last_try; then
13445 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13447 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13450 rm -f conf$$subs.sh
13452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13453 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13457 s/^/S["/; s
/!.
*/"]=/
13467 s/\(.\{148\}\)..*/\1/
13469 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13474 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13481 s/\(.\{148\}\)..*/\1/
13483 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13487 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13492 ' <conf$$subs.awk | sed '
13497 ' >>$CONFIG_STATUS || ac_write_fail=1
13498 rm -f conf$$subs.awk
13499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13501 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13502 for (key in S) S_is_set[key] = 1
13508 nfields = split(line, field, "@
")
13510 len = length(field[1])
13511 for (i = 2; i < nfields; i++) {
13513 keylen = length(key)
13514 if (S_is_set[key]) {
13516 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13517 len += length(value) + length(field[++i])
13528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13529 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13530 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13533 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13534 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13537 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13538 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13539 # trailing colons and then remove the whole line if VPATH becomes empty
13540 # (actually we leave an empty line to preserve line numbers).
13541 if test "x
$srcdir" = x.; then
13542 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13561 fi # test -n "$CONFIG_FILES"
13563 # Set up the scripts for CONFIG_HEADERS section.
13564 # No need to generate them if there are no CONFIG_HEADERS.
13565 # This happens for instance with `./config.status Makefile'.
13566 if test -n "$CONFIG_HEADERS"; then
13567 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13571 # Transform confdefs.h into an awk script `defines.awk', embedded as
13572 # here-document in config.status, that substitutes the proper values into
13573 # config.h.in to produce config.h.
13575 # Create a delimiter string that does not exist in confdefs.h, to ease
13576 # handling of long lines.
13578 for ac_last_try in false false :; do
13579 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13580 if test -z "$ac_tt"; then
13582 elif $ac_last_try; then
13583 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13585 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13589 # For the awk script, D is an array of macro values keyed by name,
13590 # likewise P contains macro parameters if any. Preserve backslash
13591 # newline sequences.
13593 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13595 s/.\{148\}/&'"$ac_delim"'/g
13598 s/^[ ]*#[ ]*define[ ][ ]*/ /
13605 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13607 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13611 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13612 D["\
1"]=" \
3\\\\\\n
"\\/p
13614 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13619 s/.\{148\}/&'"$ac_delim"'/g
13624 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13627 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13629 ' <confdefs.h | sed '
13630 s/'"$ac_delim"'/"\\\
13631 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13634 for (key in D) D_is_set[key] = 1
13637 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13639 split(line, arg, " ")
13640 if (arg[1] == "#") {
13644 defundef
= substr
(arg
[1], 2)
13647 split(mac1
, mac2
, "(") #)
13649 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13650 if (D_is_set
[macro
]) {
13651 # Preserve the white space surrounding the "#".
13652 print prefix
"define", macro P
[macro
] D
[macro
]
13655 # Replace #undef with comments. This is necessary, for example,
13656 # in the case of _POSIX_SOURCE, which is predefined and required
13657 # on some systems where configure will not decide to define it.
13658 if (defundef
== "undef") {
13659 print
"/*", prefix defundef
, macro
, "*/"
13667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13668 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13669 fi # test -n "$CONFIG_HEADERS"
13672 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13677 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13679 case $ac_mode$ac_tag in
13681 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13682 :[FH
]-) ac_tag
=-:-;;
13683 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13700 -) ac_f
="$ac_tmp/stdin";;
13701 *) # Look for the file first in the build tree, then in the source tree
13702 # (if the path is not absolute). The absolute path cannot be DOS-style,
13703 # because $ac_f cannot contain `:'.
13707 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13709 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13711 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13712 as_fn_append ac_file_inputs
" '$ac_f'"
13715 # Let's still pretend it is `configure' which instantiates (i.e., don't
13716 # use $as_me), people would be surprised to read:
13717 # /* config.h. Generated by config.status. */
13718 configure_input
='Generated from '`
13719 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13721 if test x
"$ac_file" != x-
; then
13722 configure_input
="$ac_file. $configure_input"
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13724 $as_echo "$as_me: creating $ac_file" >&6;}
13726 # Neutralize special characters interpreted by sed in replacement strings.
13727 case $configure_input in #(
13728 *\
&* |
*\|
* |
*\\* )
13729 ac_sed_conf_input
=`$as_echo "$configure_input" |
13730 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13731 *) ac_sed_conf_input
=$configure_input;;
13735 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13736 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13741 ac_dir
=`$as_dirname -- "$ac_file" ||
13742 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13743 X"$ac_file" : 'X\(//\)[^/]' \| \
13744 X"$ac_file" : 'X\(//\)$' \| \
13745 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13746 $as_echo X"$ac_file" |
13747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13751 /^X\(\/\/\)[^/].*/{
13764 as_dir
="$ac_dir"; as_fn_mkdir_p
13768 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13770 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13771 # A ".." for each directory in $ac_dir_suffix.
13772 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13773 case $ac_top_builddir_sub in
13774 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13775 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13778 ac_abs_top_builddir
=$ac_pwd
13779 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13780 # for backward compatibility:
13781 ac_top_builddir
=$ac_top_build_prefix
13784 .
) # We are building in place.
13786 ac_top_srcdir
=$ac_top_builddir_sub
13787 ac_abs_top_srcdir
=$ac_pwd ;;
13788 [\\/]* | ?
:[\\/]* ) # Absolute name.
13789 ac_srcdir
=$srcdir$ac_dir_suffix;
13790 ac_top_srcdir
=$srcdir
13791 ac_abs_top_srcdir
=$srcdir ;;
13792 *) # Relative name.
13793 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13794 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13795 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13797 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13807 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13808 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13810 ac_MKDIR_P
=$MKDIR_P
13812 [\\/$
]* | ?
:[\\/]* ) ;;
13813 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13818 # If the template does not know about datarootdir, expand it.
13819 # FIXME: This hack should be removed a few years after 2.60.
13820 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13831 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13832 *datarootdir
*) ac_datarootdir_seen
=yes;;
13833 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13835 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13838 ac_datarootdir_hack='
13839 s&@datadir@&$datadir&g
13840 s&@docdir@&$docdir&g
13841 s&@infodir@&$infodir&g
13842 s&@localedir@&$localedir&g
13843 s&@mandir@&$mandir&g
13844 s&\\\${datarootdir}&$datarootdir&g' ;;
13848 # Neutralize VPATH when `$srcdir' = `.'.
13849 # Shell code in configure.ac might set extrasub.
13850 # FIXME: do we really want to maintain this feature?
13851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13852 ac_sed_extra="$ac_vpsub
13855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13857 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13858 s|@configure_input@|
$ac_sed_conf_input|
;t t
13859 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13860 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13861 s
&@srcdir@
&$ac_srcdir&;t t
13862 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13863 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13864 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13865 s
&@builddir@
&$ac_builddir&;t t
13866 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13867 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13868 s
&@INSTALL@
&$ac_INSTALL&;t t
13869 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13870 $ac_datarootdir_hack
13872 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13873 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13875 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13876 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13877 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13878 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13880 which seems to be undefined. Please make sure it is defined" >&5
13881 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13882 which seems to be undefined. Please make sure it is defined" >&2;}
13884 rm -f "$ac_tmp/stdin"
13886 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13887 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13889 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13895 if test x"$ac_file" != x-; then
13897 $as_echo "/* $configure_input */" \
13898 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13899 } >"$ac_tmp/config.h" \
13900 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13901 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13903 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13906 mv "$ac_tmp/config.h" "$ac_file" \
13907 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13910 $as_echo "/* $configure_input */" \
13911 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13912 || as_fn_error $? "could not create -" "$LINENO" 5
13914 # Compute "$ac_file"'s index
in $config_headers.
13917 for _am_header
in $config_headers :; do
13918 case $_am_header in
13919 $_am_arg |
$_am_arg:* )
13922 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13925 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13926 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13927 X"$_am_arg" : 'X\(//\)[^/]' \| \
13928 X"$_am_arg" : 'X\(//\)$' \| \
13929 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13930 $as_echo X"$_am_arg" |
13931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13935 /^X\(\/\/\)[^/].*/{
13947 s/.*/./; q'`/stamp-h
$_am_stamp_count
13950 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13951 $as_echo "$as_me: executing $ac_file commands" >&6;}
13956 case $ac_file$ac_mode in
13957 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13958 # Older Autoconf quotes --file arguments for eval, but not when files
13959 # are listed without --file. Let's play safe and only enable the eval
13960 # if we detect the quoting.
13961 case $CONFIG_FILES in
13962 *\'*) eval set x
"$CONFIG_FILES" ;;
13963 *) set x
$CONFIG_FILES ;;
13968 # Strip MF so we end up with the name of the file.
13969 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13970 # Check whether this is an Automake generated Makefile or not.
13971 # We used to match only the files named 'Makefile.in', but
13972 # some people rename them; so instead we look at the file content.
13973 # Grep'ing the first line is not enough: some people post-process
13974 # each Makefile.in and add a new line on top of each file to say so.
13975 # Grep'ing the whole file is not good either: AIX grep has a line
13976 # limit of 2048, but all sed's we know have understand at least 4000.
13977 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13978 dirpart
=`$as_dirname -- "$mf" ||
13979 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13980 X"$mf" : 'X\(//\)[^/]' \| \
13981 X"$mf" : 'X\(//\)$' \| \
13982 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13988 /^X\(\/\/\)[^/].*/{
14004 # Extract the definition of DEPDIR, am__include, and am__quote
14005 # from the Makefile without running 'make'.
14006 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14007 test -z "$DEPDIR" && continue
14008 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14009 test -z "$am__include" && continue
14010 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14011 # Find all dependency output files, they are included files with
14012 # $(DEPDIR) in their names. We invoke sed twice because it is the
14013 # simplest approach to changing $(DEPDIR) to its actual value in the
14015 for file in `sed -n "
14016 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14017 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14018 # Make sure the directory exists.
14019 test -f "$dirpart/$file" && continue
14020 fdir
=`$as_dirname -- "$file" ||
14021 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14022 X"$file" : 'X\(//\)[^/]' \| \
14023 X"$file" : 'X\(//\)$' \| \
14024 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14025 $as_echo X"$file" |
14026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14030 /^X\(\/\/\)[^/].*/{
14043 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14044 # echo "creating $dirpart/$file"
14045 echo '# dummy' > "$dirpart/$file"
14052 # See if we are running on zsh, and set the options that allow our
14053 # commands through without removal of \ escapes.
14054 if test -n "${ZSH_VERSION+set}"; then
14055 setopt NO_GLOB_SUBST
14059 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14062 cat <<_LT_EOF >> "$cfgfile"
14064 # Generated automatically by $as_me ($PACKAGE) $VERSION
14065 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14066 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14068 # Provide generalized library-building support services.
14069 # Written by Gordon Matzigkeit, 1996
14071 # Copyright (C) 2014 Free Software Foundation, Inc.
14072 # This is free software; see the source for copying conditions. There is NO
14073 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14075 # GNU Libtool is free software; you can redistribute it and/or modify
14076 # it under the terms of the GNU General Public License as published by
14077 # the Free Software Foundation; either version 2 of of the License, or
14078 # (at your option) any later version.
14080 # As a special exception to the GNU General Public License, if you
14081 # distribute this file as part of a program or library that is built
14082 # using GNU Libtool, you may include this file under the same
14083 # distribution terms that you use for the rest of that program.
14085 # GNU Libtool is distributed in the hope that it will be useful, but
14086 # WITHOUT ANY WARRANTY; without even the implied warranty of
14087 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14088 # GNU General Public License for more details.
14090 # You should have received a copy of the GNU General Public License
14091 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14094 # The names of the tagged configurations supported by this script.
14097 # Configured defaults for sys_lib_dlsearch_path munging.
14098 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14100 # ### BEGIN LIBTOOL CONFIG
14102 # Which release of libtool.m4 was used?
14103 macro_version=$macro_version
14104 macro_revision=$macro_revision
14106 # Whether or not to build shared libraries.
14107 build_libtool_libs=$enable_shared
14109 # What type of objects to build.
14112 # Whether or not to build static libraries.
14113 build_old_libs=$enable_static
14115 # Whether or not to optimize for fast installation.
14116 fast_install=$enable_fast_install
14118 # Shared archive member basename,for filename based shared library versioning on AIX.
14119 shared_archive_member_spec=$shared_archive_member_spec
14121 # Shell to use when invoking shell scripts.
14124 # An echo program that protects backslashes.
14127 # The PATH separator for the build system.
14128 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14131 host_alias=$host_alias
14135 # The build system.
14136 build_alias=$build_alias
14140 # A sed program that does not truncate output.
14143 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14144 Xsed="\$SED -e 1s/^X//"
14146 # A grep program that handles long lines.
14152 # A literal string matcher.
14155 # A BSD- or MS-compatible name lister.
14158 # Whether we need soft or hard links.
14161 # What is the maximum length of a command?
14162 max_cmd_len=$max_cmd_len
14164 # Object file suffix (normally "o").
14167 # Executable file suffix (normally "").
14170 # whether the shell understands "unset".
14173 # turn spaces into newlines.
14176 # turn newlines into spaces.
14179 # convert \$build file names to \$host format.
14180 to_host_file_cmd=$lt_cv_to_host_file_cmd
14182 # convert \$build files to toolchain format.
14183 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14185 # An object symbol dumper.
14186 OBJDUMP=$lt_OBJDUMP
14188 # Method to check whether dependent libraries are shared objects.
14189 deplibs_check_method=$lt_deplibs_check_method
14191 # Command to use when deplibs_check_method = "file_magic".
14192 file_magic_cmd=$lt_file_magic_cmd
14194 # How to find potential files when deplibs_check_method = "file_magic".
14195 file_magic_glob=$lt_file_magic_glob
14197 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14198 want_nocaseglob=$lt_want_nocaseglob
14200 # DLL creation program.
14201 DLLTOOL=$lt_DLLTOOL
14203 # Command to associate shared and link libraries.
14204 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14209 # Flags to create an archive.
14210 AR_FLAGS=$lt_AR_FLAGS
14212 # How to feed a file listing to the archiver.
14213 archiver_list_spec=$lt_archiver_list_spec
14215 # A symbol stripping program.
14218 # Commands used to install an old-style archive.
14220 old_postinstall_cmds=$lt_old_postinstall_cmds
14221 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14223 # Whether to use a lock for old archive extraction.
14224 lock_old_archive_extraction=$lock_old_archive_extraction
14229 # LTCC compiler flags.
14230 LTCFLAGS=$lt_CFLAGS
14232 # Take the output of nm and produce a listing of raw symbols and C names.
14233 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14235 # Transform the output of nm in a proper C declaration.
14236 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14238 # Transform the output of nm into a list of symbols to manually relocate.
14239 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14241 # Transform the output of nm in a C name address pair.
14242 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14244 # Transform the output of nm in a C name address pair when lib prefix is needed.
14245 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14247 # The name lister interface.
14248 nm_interface=$lt_lt_cv_nm_interface
14250 # Specify filename containing input files for \$NM.
14251 nm_file_list_spec=$lt_nm_file_list_spec
14253 # The root where to search for dependent libraries,and where our libraries should be installed.
14254 lt_sysroot=$lt_sysroot
14256 # Command to truncate a binary pipe.
14257 lt_truncate_bin=$lt_lt_cv_truncate_bin
14259 # The name of the directory that contains temporary libtool files.
14262 # Used to examine libraries when file_magic_cmd begins with "file".
14263 MAGIC_CMD=$MAGIC_CMD
14265 # Must we lock files when doing compilation?
14266 need_locks=$lt_need_locks
14269 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14271 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14272 DSYMUTIL=$lt_DSYMUTIL
14274 # Tool to change global to local symbols on Mac OS X.
14277 # Tool to manipulate fat objects and archives on Mac OS X.
14280 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14283 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14284 OTOOL64=$lt_OTOOL64
14286 # Old archive suffix (normally "a").
14289 # Shared library suffix (normally ".so").
14290 shrext_cmds=$lt_shrext_cmds
14292 # The commands to extract the exported symbol list from a shared archive.
14293 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14295 # Variables whose values should be saved in libtool wrapper scripts and
14296 # restored at link time.
14297 variables_saved_for_relink=$lt_variables_saved_for_relink
14299 # Do we need the "lib" prefix for modules?
14300 need_lib_prefix=$need_lib_prefix
14302 # Do we need a version for libraries?
14303 need_version=$need_version
14305 # Library versioning type.
14306 version_type=$version_type
14308 # Shared library runtime path variable.
14309 runpath_var=$runpath_var
14311 # Shared library path variable.
14312 shlibpath_var=$shlibpath_var
14314 # Is shlibpath searched before the hard-coded library search path?
14315 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14317 # Format of library name prefix.
14318 libname_spec=$lt_libname_spec
14320 # List of archive names. First name is the real one, the rest are links.
14321 # The last name is the one that the linker finds with -lNAME
14322 library_names_spec=$lt_library_names_spec
14324 # The coded name of the library, if different from the real name.
14325 soname_spec=$lt_soname_spec
14327 # Permission mode override for installation of shared libraries.
14328 install_override_mode=$lt_install_override_mode
14330 # Command to use after installation of a shared archive.
14331 postinstall_cmds=$lt_postinstall_cmds
14333 # Command to use after uninstallation of a shared archive.
14334 postuninstall_cmds=$lt_postuninstall_cmds
14336 # Commands used to finish a libtool library installation in a directory.
14337 finish_cmds=$lt_finish_cmds
14339 # As "finish_cmds", except a single script fragment to be evaled but
14341 finish_eval=$lt_finish_eval
14343 # Whether we should hardcode library paths into libraries.
14344 hardcode_into_libs=$hardcode_into_libs
14346 # Compile-time system search path for libraries.
14347 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14349 # Detected run-time system search path for libraries.
14350 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14352 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14353 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14355 # Whether dlopen is supported.
14356 dlopen_support=$enable_dlopen
14358 # Whether dlopen of programs is supported.
14359 dlopen_self=$enable_dlopen_self
14361 # Whether dlopen of statically linked programs is supported.
14362 dlopen_self_static=$enable_dlopen_self_static
14364 # Commands to strip libraries.
14365 old_striplib=$lt_old_striplib
14366 striplib=$lt_striplib
14369 # The linker used to build libraries.
14372 # How to create reloadable object files.
14373 reload_flag=$lt_reload_flag
14374 reload_cmds=$lt_reload_cmds
14376 # Commands used to build an old-style archive.
14377 old_archive_cmds=$lt_old_archive_cmds
14379 # A language specific compiler.
14382 # Is the compiler the GNU compiler?
14385 # Compiler flag to turn off builtin functions.
14386 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14388 # Additional compiler flags for building library objects.
14389 pic_flag=$lt_lt_prog_compiler_pic
14391 # How to pass a linker flag through the compiler.
14392 wl=$lt_lt_prog_compiler_wl
14394 # Compiler flag to prevent dynamic linking.
14395 link_static_flag=$lt_lt_prog_compiler_static
14397 # Does compiler simultaneously support -c and -o options?
14398 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14400 # Whether or not to add -lc for building shared libraries.
14401 build_libtool_need_lc=$archive_cmds_need_lc
14403 # Whether or not to disallow shared libs when runtime libs are static.
14404 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14406 # Compiler flag to allow reflexive dlopens.
14407 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14409 # Compiler flag to generate shared objects directly from archives.
14410 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14412 # Whether the compiler copes with passing no objects directly.
14413 compiler_needs_object=$lt_compiler_needs_object
14415 # Create an old-style archive from a shared archive.
14416 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14418 # Create a temporary old-style archive to link instead of a shared archive.
14419 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14421 # Commands used to build a shared archive.
14422 archive_cmds=$lt_archive_cmds
14423 archive_expsym_cmds=$lt_archive_expsym_cmds
14425 # Commands used to build a loadable module if different from building
14426 # a shared archive.
14427 module_cmds=$lt_module_cmds
14428 module_expsym_cmds=$lt_module_expsym_cmds
14430 # Whether we are building with GNU ld or not.
14431 with_gnu_ld=$lt_with_gnu_ld
14433 # Flag that allows shared libraries with undefined symbols to be built.
14434 allow_undefined_flag=$lt_allow_undefined_flag
14436 # Flag that enforces no undefined symbols.
14437 no_undefined_flag=$lt_no_undefined_flag
14439 # Flag to hardcode \$libdir into a binary during linking.
14440 # This must work even if \$libdir does not exist
14441 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14443 # Whether we need a single "-rpath" flag with a separated argument.
14444 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14446 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14447 # DIR into the resulting binary.
14448 hardcode_direct=$hardcode_direct
14450 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14451 # DIR into the resulting binary and the resulting library dependency is
14452 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
14453 # library is relocated.
14454 hardcode_direct_absolute=$hardcode_direct_absolute
14456 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14457 # into the resulting binary.
14458 hardcode_minus_L=$hardcode_minus_L
14460 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14461 # into the resulting binary.
14462 hardcode_shlibpath_var=$hardcode_shlibpath_var
14464 # Set to "yes" if building a shared library automatically hardcodes DIR
14465 # into the library and all subsequent libraries and executables linked
14467 hardcode_automatic=$hardcode_automatic
14469 # Set to yes if linker adds runtime paths of dependent libraries
14470 # to runtime path list.
14471 inherit_rpath=$inherit_rpath
14473 # Whether libtool must link a program against all its dependency libraries.
14474 link_all_deplibs=$link_all_deplibs
14476 # Set to "yes" if exported symbols are required.
14477 always_export_symbols=$always_export_symbols
14479 # The commands to list exported symbols.
14480 export_symbols_cmds=$lt_export_symbols_cmds
14482 # Symbols that should not be listed in the preloaded symbols.
14483 exclude_expsyms=$lt_exclude_expsyms
14485 # Symbols that must always be exported.
14486 include_expsyms=$lt_include_expsyms
14488 # Commands necessary for linking programs (against libraries) with templates.
14489 prelink_cmds=$lt_prelink_cmds
14491 # Commands necessary for finishing linking programs.
14492 postlink_cmds=$lt_postlink_cmds
14494 # Specify filename containing input files.
14495 file_list_spec=$lt_file_list_spec
14497 # How to hardcode a shared library path into an executable.
14498 hardcode_action=$hardcode_action
14500 # ### END LIBTOOL CONFIG
14504 cat <<'_LT_EOF' >> "$cfgfile"
14506 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14508 # func_munge_path_list VARIABLE PATH
14509 # -----------------------------------
14510 # VARIABLE is name of variable containing _space_ separated list of
14511 # directories to be munged by the contents of PATH, which is string
14514 # string "DIR[ DIR]" will be prepended to VARIABLE
14516 # string "DIR[ DIR]" will be appended to VARIABLE
14517 # "DIRP[:DIRP]::[DIRA:]DIRA"
14518 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14519 # "DIRA[ DIRA]" will be appended to VARIABLE
14521 # VARIABLE will be replaced by "DIR[ DIR]"
14522 func_munge_path_list ()
14528 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14531 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14534 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14535 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14538 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14544 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
14545 func_cc_basename ()
14547 for cc_temp in $*""; do
14549 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14550 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14555 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14559 # ### END FUNCTIONS SHARED WITH CONFIGURE
14565 cat <<\_LT_EOF
>> "$cfgfile"
14566 # AIX sometimes has problems with the GCC collect2 program. For some
14567 # reason, if we set the COLLECT_NAMES environment variable, the problems
14568 # vanish in a puff of smoke.
14569 if test set != "${COLLECT_NAMES+set}"; then
14571 export COLLECT_NAMES
14578 ltmain
=$ac_aux_dir/ltmain.sh
14581 # We use sed instead of cat because bash on DJGPP gets confused if
14582 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14583 # text mode, it properly converts lines to CR/LF. This bash problem
14584 # is reportedly fixed, but why not run on old versions too?
14585 sed '$q' "$ltmain" >> "$cfgfile" \
14586 ||
(rm -f "$cfgfile"; exit 1)
14588 mv -f "$cfgfile" "$ofile" ||
14589 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14600 ac_clean_files
=$ac_clean_files_save
14602 test $ac_write_fail = 0 ||
14603 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14606 # configure is writing to config.log, and then calls config.status.
14607 # config.status does its own redirection, appending to config.log.
14608 # Unfortunately, on DOS this fails, as config.log is still kept open
14609 # by configure, so config.status won't be able to write to it; its
14610 # output is simply discarded. So we exec the FD to /dev/null,
14611 # effectively closing config.log, so it can be properly (re)opened and
14612 # appended to by config.status. When coming back to configure, we
14613 # need to make the FD available again.
14614 if test "$no_create" != yes; then
14616 ac_config_status_args
=
14617 test "$silent" = yes &&
14618 ac_config_status_args
="$ac_config_status_args --quiet"
14620 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14622 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14623 # would make configure fail if this is the last instruction.
14624 $ac_cs_success || as_fn_exit
1
14626 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14628 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}